/* Hisaban website 1.2.1. Direction: "the receipt". The thermal receipt (the object every counter in Oman hands
   over all day) is the one bold element: it prints once in the hero and returns as the plan cards. Everything else
   is quiet: navy ink on paper, real screenshots, teal for actions, amber only for savings and the recommended plan.
   Logical properties only (inline-start / inline-end), so Persian and Arabic flip without extra CSS. */
:root {
  --night: #041a30;
  --ink: #082b4c;
  --ink-2: #1d3a57;
  --slate: #4a5d72;
  --muted: #6b7c8f;
  --teal: #02afa3;
  --teal-700: #00796f;
  --teal-50: #e7f7f5;
  --amber: #d9932b;
  --amber-700: #94600f;
  --amber-50: #fdf3e2;
  --paper: #fbfcfd;
  --rule: #e2e8ef;
  --receipt: #ffffff;
  --receipt-edge: #e9eef3;
  --line-dark: rgba(255, 255, 255, 0.12);
  --wrap: 1180px;
  --radius: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --mono-nums: tabular-nums;
  --shadow: 0 40px 80px -40px rgba(4, 26, 48, 0.55);
  --paper-shadow: 0 1px 0 rgba(8, 43, 76, 0.04), 0 18px 40px -24px rgba(8, 43, 76, 0.35);
}
[lang="fa"] { --font: "Vazirmatn", "Inter", Tahoma, sans-serif; --display: "Vazirmatn", "Inter", sans-serif; }
[lang="ar"] { --font: "Cairo", "Inter", Tahoma, sans-serif; --display: "Cairo", "Inter", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); }
h1, h2, h3 { color: var(--ink); margin: 0 0 0.45em; font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 750; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
/* Arabic and Persian: no tracking, calmer weights and sizes (Cairo and Vazirmatn run larger than Latin faces). */
[dir="rtl"] body { font-size: 17.5px; line-height: 1.85; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; font-weight: 700; }
[dir="rtl"] h1 { font-size: clamp(2rem, 3.8vw, 3.05rem); line-height: 1.35; }
[dir="rtl"] h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.4; }
[dir="rtl"] h3 { font-size: 1.2rem; line-height: 1.5; }
[lang="ar"] h1, [lang="ar"] h2 { font-weight: 700; }
[lang="ar"] strong, [lang="ar"] b { font-weight: 700; }
.num { font-variant-numeric: var(--mono-nums); direction: ltr; unicode-bidi: isolate; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--teal-700); font-weight: 600; font-size: 0.95rem; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 58ch; }
.center .lead { margin-inline: auto; }
.lead-light { color: #c3d1e1; }
.small { font-size: 0.9rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px; border-radius: 12px; font: 600 0.98rem/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; white-space: nowrap; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 1.05rem; }
.btn-primary { background: var(--teal); color: var(--night); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 20px -10px rgba(2, 175, 163, 0.8); }
.btn-primary:hover { background: #14c2b5; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-ghost { border-color: var(--rule); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.3); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions.center { justify-content: center; }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(4, 26, 48, 0.94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line-dark); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.nav-links > a:not(.btn) { color: #cfdbe8; text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.nav-links > a:not(.btn):hover, .nav-links > a[aria-current] { color: #fff; }
.nav-sep { width: 1px; height: 22px; background: var(--line-dark); }
.nav-links .btn { min-height: 40px; padding: 9px 16px; }
.nav-links .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.nav-toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid var(--line-dark); background: transparent; border-radius: var(--radius); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle i { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s ease; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
.langs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-dark); border-radius: 999px; }
.langs a { color: #c3d1e1; text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; line-height: 1.2; }
.langs a[aria-current] { background: rgba(255, 255, 255, 0.14); color: #fff; }
.langs a[lang="fa"] { font-family: "Vazirmatn", Tahoma, sans-serif; }
.langs a[lang="ar"] { font-family: "Cairo", Tahoma, sans-serif; }

/* Hero: copy on one side; the product with a receipt printing beside it on the other. */
.hero { position: relative; overflow: hidden; background: radial-gradient(80% 60% at 78% 85%, rgba(2, 175, 163, 0.22), transparent 70%), linear-gradient(180deg, var(--night) 0%, var(--ink) 100%); color: #fff; padding: 76px 0 0; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.hero h1 { color: #fff; max-width: 13ch; }
[dir="rtl"] .hero h1 { max-width: 16ch; }
.hero h1 .soft { color: #8fb3d2; }
.hero .lead { color: #c3d1e1; }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: #9fb7cf; font-size: 0.92rem; }
.reassure li::before { content: "✓"; color: var(--teal); margin-inline-end: 6px; font-weight: 700; }
.hero-visual { position: relative; padding-bottom: 46px; }
.device { margin: 0; overflow: hidden; background: #0a1a2c; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, 0.14); }
.device-laptop { border-radius: 14px 14px 8px 8px; padding: 8px 8px 0; }
.device-laptop img { border-radius: 7px 7px 0 0; }
.device-phone { position: absolute; width: 25%; inset-inline-start: -6%; bottom: 0; border-radius: 26px; padding: 7px; border: 1px solid rgba(255, 255, 255, 0.25); background: #050d18; }
.device-phone img { border-radius: 20px; }

/* The receipt (hero). Real content, real proportions of an 80 mm slip. */
.receipt { position: absolute; z-index: 2; inset-inline-end: -5%; top: -44px; width: min(198px, 34%); color: #111; font: 500 11.5px/1.42 var(--font); }
.receipt-slot { height: 10px; border-radius: 6px; background: #0d2338; box-shadow: 0 2px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 14px -6px rgba(0, 0, 0, 0.6); position: relative; z-index: 2; margin-inline: -8px; }
.receipt-paper { position: relative; margin-top: -4px; background: var(--receipt); padding: 18px 16px 22px; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.6);
  -webkit-mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 100% / 12px 100% repeat-x;
          mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 100% / 12px 100% repeat-x; }
.receipt-shop { text-align: center; font-weight: 800; font-size: 15px; letter-spacing: 0.01em; }
.receipt-sub { text-align: center; color: #555; font-size: 11px; margin-bottom: 10px; }
.receipt hr { border: 0; border-top: 1px dashed #9aa4ad; margin: 8px 0; }
.receipt-row { display: flex; justify-content: space-between; gap: 10px; }
.receipt-row span:last-child { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.receipt-row small { display: block; color: #666; font-size: 10.5px; }
.receipt-total { display: flex; justify-content: space-between; margin: 10px -4px 8px; padding: 6px 8px; background: #111; color: #fff; font-weight: 800; font-size: 15px; }
.receipt-total span:last-child { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.receipt-qr { display: grid; justify-items: center; gap: 4px; margin-top: 8px; color: #555; font-size: 10.5px; }
.receipt-qr svg { width: 58px; height: 58px; }
.receipt-thanks { text-align: center; font-weight: 700; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .receipt-paper { animation: print 2.2s steps(22, end) 0.5s both; transform-origin: top; }
  @keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-30px); } to { clip-path: inset(0 0 0 0); transform: none; } }
}

/* The row of plain facts under the hero, printed like the bottom of a slip. */
.facts { position: relative; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin: 64px auto 0; padding-block: 22px; border-top: 1px dashed rgba(255, 255, 255, 0.22); color: #c3d1e1; font-size: 0.95rem; font-weight: 500; }
.facts li { display: inline-flex; align-items: baseline; gap: 8px; }
.facts b { color: #fff; font-weight: 700; }

/* Sections */
.sec { padding-block: 104px; }
.sec-tint { background: #f2f6f9; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p { color: var(--slate); font-size: 1.12rem; margin: 0; }
.page-top { height: 8px; background: var(--ink); }

/* Who it's for: photo strip with plain captions, no boxes. */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.who-card { display: flex; flex-direction: column; gap: 14px; }
.who-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 14px; filter: saturate(0.9); }
.who-card h3 { font-size: 1.12rem; margin: 0; }
.who-card p { color: var(--slate); font-size: 0.97rem; margin: 0; }

/* Features: big real screenshots, copy beside them. */
.feature { display: grid; gap: 56px; align-items: center; }
.feature-big { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.4fr); margin-bottom: 96px; }
.feature-rev { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.78fr); }
.feature-rev .feature-copy { order: 2; }
.feature-copy p { color: var(--slate); font-size: 1.07rem; }
.feature h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: #fff; box-shadow: var(--paper-shadow); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-bottom: 96px; }
.feature-card .shot { margin-bottom: 22px; }
.feature-card p { color: var(--slate); }
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-bottom: 96px; border-block: 1px solid var(--rule); }
.notes article { padding: 30px 28px; }
.notes article + article { border-inline-start: 1px solid var(--rule); }
.notes h3 { font-size: 1.12rem; }
.notes p { color: var(--slate); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; }
.ticks li { padding-inline-start: 28px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.52em; width: 14px; height: 8px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.langs-show { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.langs-show figure { margin: 0; }
.langs-show figcaption { margin-top: 12px; color: var(--muted); font-size: 0.93rem; text-align: center; }

/* Made for Oman: one honest ledger of local details. */
.ledger { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.ledger-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.ledger-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px dashed #c6d1dc; }
.ledger-list strong { font-weight: 600; }
.ledger-list span { color: var(--slate); font-size: 0.95rem; text-align: end; }

/* How it works: a real sequence, so it is numbered. */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.step-n { display: block; font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: var(--teal-700); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.steps p { color: var(--slate); margin: 0; }

/* Pricing: plan cards are receipts. */
.price-switch { display: inline-flex; gap: 4px; padding: 4px; margin-top: 26px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; box-shadow: var(--paper-shadow); }
.price-switch button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 10px 18px; border-radius: 10px; font: 600 0.97rem var(--font); color: var(--slate); cursor: pointer; min-height: 44px; }
.price-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.save-chip { padding: 2px 8px; border-radius: 999px; background: var(--amber-50); color: var(--amber-700); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.price-switch button[aria-pressed="true"] .save-chip { background: rgba(217, 147, 43, 0.22); color: #ffd28a; }
.plans { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); grid-template-rows: auto auto auto; gap: 0 22px; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 4px 30px; scrollbar-width: thin; }
.plans-loading { grid-column: 1 / -1; text-align: center; color: var(--muted); }
.plan { display: grid; grid-row: span 3; grid-template-rows: subgrid; scroll-snap-align: start; position: relative; background: var(--receipt); box-shadow: var(--paper-shadow); border-radius: 4px 4px 0 0; padding: 26px 24px 30px;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 100% / 14px 100% repeat-x;
          mask: radial-gradient(circle 6px at 50% 100%, transparent 98%, #000) 0 100% / 14px 100% repeat-x; }
.plan-head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px dashed #b9c5d1; }
.plan-head h3 { margin: 0; font-size: 1.35rem; }
.plan-desc { margin: 0; color: var(--slate); font-size: 0.93rem; line-height: 1.5; }
.plan-stamp { position: absolute; top: 14px; inset-inline-end: 14px; padding: 4px 10px; border: 2px solid var(--amber); border-radius: 6px; color: var(--amber-700); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.02em; transform: rotate(-4deg); background: #fffdf8; }
[dir="rtl"] .plan-stamp { transform: rotate(4deg); letter-spacing: 0; }
.plan-price { padding: 20px 0 18px; border-bottom: 1px dashed #b9c5d1; }
.price-main { display: flex; align-items: baseline; gap: 0; flex-wrap: nowrap; direction: ltr; justify-content: flex-start; margin: 0; }
[dir="rtl"] .price-main { justify-content: flex-end; }
.price-main .int { font-family: var(--display); font-size: 2.9rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-main .dec { font-size: 1.15rem; font-weight: 700; color: var(--ink-2); }
.price-main .cur { font-size: 0.95rem; font-weight: 700; color: var(--muted); margin-left: 7px; }
.price-per { margin: 6px 0 0; color: var(--slate); font-size: 0.92rem; }
.price-was { margin: 10px 0 0; color: var(--muted); font-size: 0.88rem; }
.price-was s { text-decoration-thickness: 1.5px; text-decoration-color: #9aa8b6; }
.price-save { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 6px; background: var(--amber-50); color: var(--amber-700); font-size: 0.85rem; font-weight: 700; }
.price-hint { margin: 10px 0 0; font-size: 0.85rem; color: var(--teal-700); font-weight: 600; }
.plan-body { display: flex; flex-direction: column; padding-top: 18px; }
.plan-lines { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: 0.93rem; }
.plan-lines li { display: flex; align-items: baseline; gap: 8px; }
.plan-lines li .k { flex: 0 1 auto; }
.plan-lines li .dots { flex: 1 1 auto; min-width: 16px; border-bottom: 1.5px dotted #b9c5d1; transform: translateY(-4px); }
.plan-lines li .v { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.plan-lines li.yes .v { color: var(--teal-700); }
.plan-lines li.no { color: #9aa8b6; }
.plan-lines li.no .v { color: #b6c1cc; font-weight: 600; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.is-recommended { border-top: 5px solid var(--amber); padding-top: 22px; background: linear-gradient(180deg, #fffaf0, #fff 140px); }
.plans-nav { display: none; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.plans-nav button { width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
[dir="rtl"] .plans-nav button { transform: scaleX(-1); }
.plans-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 14px; }
.compare { margin-top: 64px; }
.compare h3 { text-align: center; margin-bottom: 18px; }
.compare-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 12px; background: #fff; }
.compare table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.95rem; }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--rule); }
.compare thead th { background: #f2f6f9; color: var(--ink); }
.compare td { font-variant-numeric: tabular-nums; }
.compare td.y { color: var(--teal-700); font-weight: 700; }
.compare td.n { color: #9aa8b6; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); padding: 0 4px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal-700); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--slate); padding-bottom: 20px; margin: 0; max-width: 64ch; }

/* CTA band */
.cta-band { background: radial-gradient(70% 120% at 100% 0%, rgba(2, 175, 163, 0.28), transparent 60%), var(--ink); color: #fff; padding-block: 80px; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #c3d1e1; margin: 0; }
.cta-band .actions { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-wa { margin-top: 32px; padding: 24px; border: 1px solid var(--rule); border-radius: 14px; background: #f2f6f9; }
.contact-card { padding: 32px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; box-shadow: var(--paper-shadow); }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #c6d1dc; border-radius: var(--radius); background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(2, 175, 163, 0.2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #dc2626; }
.hp { position: absolute; inset-inline-start: -9999px; }
.form-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; padding: 12px 14px; border-radius: var(--radius); margin: 0; }
.contact-done { text-align: center; padding: 24px 8px; }
.contact-done h3 { color: var(--teal-700); }

/* Human check: the same SynapseCyber box as Hisaban sign-in */
.cd-captcha-box { position: relative; }
.cd-captcha { display: flex; align-items: center; min-height: 58px; width: 100%; }
.cd-captcha cap-widget { display: block; width: 100%; --cap-widget-width: 100%; --cap-widget-height: 58px; --cap-widget-padding: 14px; --cap-gap: 12px; --cap-background: #fff; --cap-border-color: #8a8f96; --cap-border-radius: 0; --cap-color: var(--ink); --cap-font: inherit; --cap-checkbox-size: 24px; --cap-checkbox-border: 1px solid #8a8f96; --cap-checkbox-border-radius: 0; --cap-checkbox-background: #fff; --cap-checkbox-margin: 2px; --cap-spinner-color: var(--teal-700); --cap-spinner-background-color: var(--rule); --cap-spinner-thickness: 2px; --cap-focus-ring: 0 0 0 3px rgba(2, 175, 163, 0.25); --cap-invalid-border-color: #b42318; --cap-invalid-ring-color: rgb(180 35 24 / .25); }
.cd-powered { position: absolute; inset-inline-end: 12px; bottom: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 0.25em; font-weight: 500; font-size: 9px; line-height: 1; letter-spacing: 0.02em; color: #6b7078; white-space: nowrap; }
.cd-powered a { display: inline-flex; align-items: center; min-height: 24px; margin-block: -7.5px; color: inherit; font-weight: 600; text-decoration: none; }
.cd-powered a:hover, .cd-powered a:focus-visible { color: #3a6be4; }
.img-captcha { display: flex; gap: 10px; align-items: center; }
.img-captcha input { max-width: 180px; }

/* Prose */
.prose p { color: var(--slate); font-size: 1.05rem; }

/* Footer */
.foot { background: var(--night); color: #b3c3d5; padding-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; font-family: var(--font); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: #b3c3d5; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot-brand img { width: 84px; height: auto; margin-bottom: 12px; }
.foot-company { font-size: 0.88rem; color: #8aa0b8; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: 0.88rem; }
.foot-legal { font-size: 0.88rem; font-family: "Inter", system-ui, sans-serif; }
.foot-legal a { color: #fff; font-weight: 600; }
.sticky-cta { display: none; }

/* One page-load moment: the hero product rises once; the receipt prints (both off with reduced motion). */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Tablet */
@media (max-width: 1100px) {
  .plans { grid-auto-columns: calc((100% - 22px) / 2.15); }
  .plans-nav { display: flex; }
}
@media (max-width: 1024px) {
  .hero-in, .feature-big, .feature-rev, .contact, .ledger { grid-template-columns: 1fr; }
  .feature-rev .feature-copy { order: 0; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { max-width: 760px; margin-inline: auto; width: 100%; }
}
/* Phone */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 24px 24px; background: var(--night); border-bottom: 1px solid var(--line-dark); transform: translateY(-120%); visibility: hidden; transition: transform 0.25s ease, visibility 0.25s; max-height: calc(100dvh - 68px); overflow-y: auto; }
  .nav-links.is-open { transform: none; visibility: visible; }
  .nav-links > a:not(.btn) { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
  .nav-sep { display: none; }
  .langs { align-self: flex-start; margin-block: 10px 4px; }
  .nav-links .btn { margin-top: 10px; min-height: 46px; }
  .sec { padding-block: 68px; }
  .hero { padding-top: 48px; }
  .feature-big, .feature-grid, .notes { margin-bottom: 64px; }
  .feature-grid, .steps, .langs-show { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .notes article + article { border-inline-start: 0; border-top: 1px solid var(--rule); }
  .contact-form { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; }
  .sticky-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(4, 26, 48, 0.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); transform: translateY(110%); transition: transform 0.25s ease; }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { flex: 1; }
  .foot { padding-bottom: 72px; }
  .foot-sponsor { display: block; margin-top: 4px; }
}
@media (max-width: 600px) {
  .who { grid-template-columns: 1fr 1fr; gap: 18px; }
  .who-card img { aspect-ratio: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  /* Phones: the receipt beside the product, no second device. */
  .hero-visual { padding: 40px 0 28px; }
  .device-phone { display: none; }
  .receipt { width: 42%; inset-inline-end: -2%; top: 0; font-size: 10px; }
  .receipt-paper { padding: 10px 9px 14px; }
  .receipt-shop { font-size: 12.5px; }
  .receipt-total { font-size: 12px; }
  .receipt-qr, .receipt-sub { display: none; }
  .plans { grid-auto-columns: 84%; }
  .btn-lg { width: 100%; }
  .ledger-list li { grid-template-columns: 1fr; gap: 2px; }
  .ledger-list span { text-align: start; }
}
