/* Notalic website: a bento grid on a deep emerald-black page, with the product itself as
   the hero. Inter throughout, set tight for headings. Emerald #006644 is the brand; its
   bright form #3fd39d is the light on dark. */

@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(/static/fonts/inter-latin-wght-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Readex Pro"; font-weight: 300 700; font-display: swap; src: url(/static/fonts/readex-pro-arabic-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --bg: #050f0b; --bg-2: #08160f;
  --card: #0b1a14; --card-hi: rgba(210, 255, 235, .045);
  --line: rgba(190, 255, 225, .10); --line-2: rgba(190, 255, 225, .18);
  --text: #eef6f2; --muted: #a3b8ae; --soft: #c9d8d0;
  --accent: #3fd39d; --accent-2: #1fb57f; --accent-ink: #03251a; --accent-wash: rgba(63, 211, 157, .12);
  --warn: #ffb4a8; --warn-wash: rgba(255, 120, 100, .14);
  --glow: rgba(63, 211, 157, .22);
  --paper: #f3f6f2; --p-ink: #17231f; --p-muted: #5c6a63; --p-rule: #dde4de;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --h-grad: linear-gradient(180deg, #ffffff 20%, #9fe3c6 110%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px; --ease: cubic-bezier(.2, .7, .2, 1);
  --pencil: var(--muted); /* used by the legal pages */
  color-scheme: dark;
}
/* Light variant (kept for the side-by-side mockup) */
:root[data-theme="light"] {
  --bg: #f7faf8; --bg-2: #eef4f0;
  --card: #ffffff; --card-hi: rgba(0, 102, 68, .02);
  --line: rgba(15, 42, 34, .09); --line-2: rgba(15, 42, 34, .16);
  --text: #0c2219; --muted: #4c6158; --soft: #2c4239;
  --accent: #006644; --accent-2: #00815a; --accent-ink: #ffffff; --accent-wash: rgba(0, 102, 68, .08);
  --warn: #b3261e; --warn-wash: rgba(179, 38, 30, .08);
  --glow: rgba(0, 160, 105, .16);
  --shadow: 0 30px 70px -30px rgba(15, 42, 34, .35);
  --h-grad: linear-gradient(180deg, #0c2219 30%, #006644 120%);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); color: var(--text); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--card-hi); color: var(--text); font: 600 14.5px/1 var(--font); text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-color: transparent; color: var(--accent-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 30px -10px var(--glow), 0 0 0 1px rgba(63, 211, 157, .3); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 40px -10px var(--glow), 0 0 0 1px rgba(63, 211, 157, .5); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { color: var(--accent); }
.btn.big { min-height: 50px; padding: 0 24px; font-size: 16px; border-radius: 14px; }

/* Header: a floating bar */
.top { position: sticky; top: 0; z-index: 30; padding-top: 12px; }
.top-row { display: flex; align-items: center; gap: 28px; min-height: 60px; padding: 0 10px 0 16px; border: 1px solid var(--line); border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(1.4); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 16.5px; letter-spacing: -.01em; }
.brand .logo { --logo-h: 30px; }
.links { display: flex; gap: 26px; }
.links a { color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.links a:hover { color: var(--text); }
.top-cta { margin-left: auto; display: flex; gap: 4px; }
@media (max-width: 960px) { .links { display: none; } }
@media (max-width: 420px) { .top-cta .btn { padding: 0 10px; } .brand .logo { --logo-h: 24px; } }
@media (max-width: 400px) { .brand .logo { --logo-h: 30px; } .brand .logo-word { display: none; } }

/* Hero */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 40px; isolation: isolate; }
.hero-bg { position: absolute; inset: -80px 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 420px at 50% 8%, var(--glow), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(900px 620px at 50% 20%, #000 30%, transparent 75%); mask-image: radial-gradient(900px 620px at 50% 20%, #000 30%, transparent 75%); }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card-hi); color: var(--soft); font-size: 13.5px; font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash), 0 0 12px var(--accent); }
.hero h1 { margin-top: 24px; max-width: 14ch; font-size: clamp(44px, 7.4vw, 92px); line-height: 1; letter-spacing: -.045em; font-weight: 700;
  background: var(--h-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.lede { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 60ch; }
.hero .lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19.5px); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cta-row.center, .hero .cta-row { justify-content: center; }
.fine { color: var(--muted); font-size: 14px; }
.hero .fine { margin-top: 16px; }

/* The product window */
.app { position: relative; margin-top: clamp(48px, 7vw, 80px); border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg-2); box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, .2), 0 -20px 120px -40px var(--glow); overflow: hidden; }
.app::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(63, 211, 157, .7), transparent); }
.app-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.app-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.app-bar span { margin-left: 12px; }
.app-body { display: grid; grid-template-columns: 1.05fr 1fr; }
.pane { position: relative; padding: clamp(16px, 2.4vw, 28px); }
.pane-doc { display: flex; align-items: center; background: radial-gradient(500px 300px at 30% 0%, var(--accent-wash), transparent 70%); border-right: 1px solid var(--line); overflow: hidden; }
.pane-doc .paper { flex: 1; }

.paper { position: relative; background: var(--paper); color: var(--p-ink); border-radius: 6px; padding: 20px 20px 22px; font-size: 12.5px; line-height: 1.35; font-variant-numeric: tabular-nums;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); rotate: -.6deg; }
.paper-head, .paper-meta { display: flex; justify-content: space-between; gap: 12px; }
.paper-head b { display: block; font-size: 13.5px; }
.paper-head span, .paper-meta { color: var(--p-muted); }
.paper-title { text-align: right; }
.paper-title b { letter-spacing: .04em; }
.paper-meta { margin: 12px 0 14px; }
.p-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 30px 40px 58px; gap: 8px; align-items: center; min-height: 32px; border-bottom: 1px solid var(--p-rule); white-space: nowrap; }
.p-row > :nth-child(n+3) { text-align: right; }
.p-row > :nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.p-th { min-height: 26px; color: var(--p-muted); font-weight: 600; border-block: 1.5px solid var(--p-ink); }
.smudge { font-weight: 700; filter: blur(.4px); text-shadow: 1px 0 1px rgba(23, 35, 31, .45); }
.p-smudge { background: rgba(255, 196, 0, .16); }
.paper-total { display: flex; justify-content: flex-end; gap: 16px; align-items: baseline; padding-top: 12px; }
.paper-total span { color: var(--p-muted); }
.paper-total b { font-size: 16px; border-bottom: 3px double var(--p-ink); }
.stamp { position: absolute; left: 22px; bottom: 14px; padding: 4px 9px; border: 2px solid #34509a; border-radius: 3px; color: #34509a; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; text-align: center; rotate: -9deg; opacity: .9; }
.beam { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(63, 211, 157, .22) 70%, rgba(63, 211, 157, .9) 98%, transparent); }

.pane-order { display: flex; flex-direction: column; gap: 14px; }
.o-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.o-head small { display: block; color: var(--muted); font-size: 12.5px; }
.o-head b { font-size: 18px; letter-spacing: -.01em; }
.o-lines { display: grid; gap: 8px; }
.o-lines li { display: grid; grid-template-columns: 20px 58px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-hi); font-size: 13.5px; }
.o-code { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12.5px; padding-top: 1px; }
.o-desc small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; line-height: 1.4; }
.o-num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.o-flag { border-color: rgba(255, 140, 120, .45) !important; background: var(--warn-wash) !important; }
.o-flag .o-desc small { color: var(--warn); }
.ok, .bad { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; margin-top: 1px; }
.ok { background: var(--accent-wash); box-shadow: inset 0 0 0 1px rgba(63, 211, 157, .5); }
.ok::after { content: ""; width: 7px; height: 4px; border: solid var(--accent); border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -1px; }
.bad { background: var(--warn-wash); box-shadow: inset 0 0 0 1px rgba(255, 140, 120, .6); }
.bad::after { content: "!"; color: var(--warn); font-size: 12px; font-weight: 800; line-height: 1; }
.o-foot { margin-top: auto; display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.o-check { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 13.5px; }
.fake-btn { margin-top: 6px; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: var(--accent-ink); font-weight: 650; font-size: 14.5px; box-shadow: 0 10px 30px -12px var(--glow); }

.chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card-hi); color: var(--soft); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.chip.ok, .chip.warn { width: auto; height: auto; display: inline-flex; margin: 0; box-shadow: none; }
.chip.ok::after, .chip.warn::after { content: none; }
.chip.ok { color: var(--accent); background: var(--accent-wash); border-color: rgba(63, 211, 157, .35); }
.chip.warn { color: var(--warn); background: var(--warn-wash); border-color: rgba(255, 140, 120, .4); }

/* The one load moment: the beam reads the LPO, then the order lines arrive */
@media (prefers-reduced-motion: no-preference) {
  .beam { animation: scan 1.6s cubic-bezier(.4, 0, .2, 1) .5s 1 both; }
  .o-lines li, .o-foot { animation: rise .5s var(--ease) both; animation-delay: calc(1.1s + var(--i, 4) * .18s); }
  .o-flag { animation: rise .5s var(--ease) both, pulse 1.6s ease-out 2.2s 2 !important; animation-delay: calc(1.1s + 2 * .18s), 2.2s !important; }
  @keyframes scan { 0% { opacity: 0; translate: 0 -90px; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; translate: 0 calc(100% + 420px); } }
  @keyframes rise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 140, 120, .45); } 100% { box-shadow: 0 0 0 10px rgba(255, 140, 120, 0); } }
}

.works { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; align-items: center; margin-top: 40px; }
.works p { color: var(--muted); font-size: 13.5px; }
.works ul { display: flex; flex-wrap: wrap; gap: 8px; }
.works li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--soft); font-size: 14px; font-weight: 500; }

@media (max-width: 860px) {
  .app-body { grid-template-columns: 1fr; }
  .pane-doc { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .app-bar span { display: none; }
  .p-row { grid-template-columns: minmax(0, 1fr) 24px 36px 52px; font-size: 11.5px; gap: 6px; }
  .p-row > :first-child { display: none; }
  .paper { padding: 14px; font-size: 11.5px; }
  .paper-head { flex-direction: column; gap: 6px; }
  .paper-title { text-align: left; }
  .stamp { left: auto; right: 14px; top: 12px; bottom: auto; }
  .o-lines li { grid-template-columns: 20px minmax(0, 1fr) auto; }
  .o-code { display: none; }
  .works { grid-template-columns: 1fr; }
}

/* Sections */
.sec { padding: clamp(72px, 10vw, 128px) 0 0; }
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head h2, .calc-card h2, .final h2 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.04em; line-height: 1.02; font-weight: 700; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* Tiles: the one card used everywhere, with a light that follows the pointer */
.tile { position: relative; border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--card-hi), transparent 60%), var(--card); overflow: hidden; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-wash), transparent 60%); }
.tile:hover::before { opacity: 1; }
.tile:hover { border-color: var(--line-2); }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento .tile { padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 260px; }
.bento h3 { font-size: 20px; letter-spacing: -.02em; }
.bento p { color: var(--muted); font-size: 15px; }
.viz { margin-bottom: auto; padding-bottom: 22px; }
.t-read { grid-column: span 4; grid-row: span 2; }
.t-map, .t-flag { grid-column: span 2; }
.t-dup, .t-lang { grid-column: span 3; }
.t-roles, .t-dn, .t-safe { grid-column: span 2; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento .tile { grid-column: span 1; grid-row: auto; } .t-read { grid-column: 1 / -1 !important; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento .tile { min-height: 0; } }

/* Tile drawings */
.docs { position: relative; height: 300px; display: flex; justify-content: center; align-items: center; }
.doc { position: absolute; border: 1px solid rgba(15, 42, 34, .08); width: 150px; height: 196px; padding: 34px 16px 0; border-radius: 10px; background: var(--paper); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); display: flex; flex-direction: column; gap: 10px; }
.doc em { position: absolute; top: 10px; left: 12px; font: 700 11px/1 var(--font); font-style: normal; color: #fff; background: #006644; padding: 4px 7px; border-radius: 5px; }
.doc i { height: 7px; border-radius: 4px; background: #d5ddd7; }
.doc i:nth-child(3) { width: 70%; } .doc i:nth-child(5) { width: 55%; }
.d-pdf { translate: -230px 18px; rotate: -12deg; }
.d-scan { translate: -115px -6px; rotate: -6deg; filter: grayscale(.4) contrast(.9); }
.d-fax { translate: 0 -16px; rotate: 0deg; z-index: 2; background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 3px); background-color: #ecece6; }
.d-photo { translate: 115px -6px; rotate: 7deg; background: #f1e9d8; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), inset 0 -40px 40px -30px rgba(80, 60, 20, .25); }
.d-mail { translate: 230px 18px; rotate: 13deg; }
.d-mail em { background: #34509a; }
.map { display: flex; align-items: center; gap: 0; padding-top: 30px; }
.map .wire { flex: 1; height: 2px; background: linear-gradient(90deg, var(--line-2), var(--accent)); position: relative; }
.map .wire::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--accent); }
.pill { padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card-hi); font-weight: 650; font-size: 15px; font-variant-numeric: tabular-nums; }
.pill.on { border-color: rgba(63, 211, 157, .55); color: var(--accent); background: var(--accent-wash); box-shadow: 0 0 30px -8px var(--glow); }
.fix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; padding-top: 18px; }
.fix s { font-size: 44px; font-weight: 700; color: var(--warn); text-decoration-thickness: 3px; }
.fix span { font-size: 44px; font-weight: 700; color: var(--accent); }
.fix small { flex-basis: 100%; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.alert { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 140, 120, .3); background: var(--warn-wash); font-size: 14.5px; color: var(--soft); margin-top: 18px; }
.lang { display: grid; gap: 6px; padding-top: 10px; }
.lang span { font-size: 30px; font-weight: 650; letter-spacing: -.02em; }
.lang [lang="ar"] { font-family: "Readex Pro", var(--font); color: var(--accent); letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.chips .chip { min-height: 32px; font-size: 13.5px; }
.dn { display: grid; gap: 10px; justify-items: start; padding-top: 18px; font-size: 15px; }
.lock { padding-top: 14px; }
.lock svg { width: 52px; height: 52px; fill: none; stroke: var(--accent); stroke-width: 1.6; filter: drop-shadow(0 0 14px var(--glow)); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.steps li { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-wash); color: var(--accent); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(63, 211, 157, .35); margin-bottom: 14px; }
.steps time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Accuracy */
.acc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 28px; }
.stat b { display: block; font-size: clamp(52px, 6vw, 76px); font-weight: 700; letter-spacing: -.05em; line-height: 1; background: var(--h-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.stat p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.checks { grid-column: 1 / -1; padding: 28px; }
.checks h3 { font-size: 20px; margin-bottom: 14px; }
.checks ul { display: grid; }
.checks li { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 16px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.checks code { font: 500 14px/1.3 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.checks .fine { margin-top: 16px; }
@media (max-width: 760px) { .acc { grid-template-columns: 1fr; } .checks li { grid-template-columns: 1fr auto; } .checks code { grid-row: 2; } }

/* Calculator */
.calc-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding: clamp(24px, 4vw, 48px); }
.calc-card .lede { margin-top: 14px; }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.calc label { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card-hi); color: var(--muted); font-size: 13.5px; line-height: 1.35; transition: border-color .2s; }
.calc label:focus-within { border-color: var(--accent); }
.calc input { width: 100%; padding: 0; border: 0; background: transparent; color: var(--text); font: 650 28px/1.2 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc input:focus { outline: none; }
.result { display: flex; flex-direction: column; justify-content: center; padding: 28px; border-radius: 18px; border: 1px solid rgba(63, 211, 157, .3);
  background: radial-gradient(420px 260px at 50% 0%, var(--accent-wash), transparent 70%), var(--bg-2); }
.r-label { color: var(--muted); font-size: 14px; }
.r-big { display: block; margin-top: 4px; font-size: 22px; font-weight: 600; color: var(--soft); }
.r-big b { font-size: clamp(64px, 8vw, 96px); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--accent); text-shadow: 0 0 40px var(--glow); }
.r-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.r-rows > span { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px; background: var(--card-hi); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.r-rows b { color: var(--text); font-size: 20px; font-variant-numeric: tabular-nums; }
.r-note { margin-top: 16px; color: var(--muted); font-size: 13.5px; }
@media (max-width: 900px) { .calc-card { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .calc { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { padding: 26px; display: flex; flex-direction: column; }
.plan h3 { font-size: 17px; color: var(--soft); }
.price { margin: 14px 0 18px; }
.price b { display: block; font-size: 46px; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.price span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.plan ul { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: 26px; font-size: 14.5px; color: var(--soft); }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); translate: 0 -2px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured { border-color: rgba(63, 211, 157, .55); background: radial-gradient(360px 220px at 50% 0%, var(--accent-wash), transparent 70%), var(--card); box-shadow: 0 0 0 1px rgba(63, 211, 157, .2), 0 30px 80px -30px var(--glow); }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* Questions */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; }
.faq summary { position: relative; display: block; padding: 20px 56px 20px 22px; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 14px; border-top: 2px solid var(--accent); transition: rotate .25s var(--ease); }
.faq summary::after { rotate: 90deg; }
.faq details[open] summary::after { rotate: 0deg; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* Final */
.final { padding-bottom: clamp(72px, 10vw, 128px); }
.final-card { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 8vw, 96px) 24px; border-radius: 28px; border: 1px solid rgba(63, 211, 157, .3);
  background: radial-gradient(600px 300px at 50% 0%, var(--glow), transparent 70%), linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px, var(--bg-2); }
.final-card p { margin: 16px auto 0; max-width: 46ch; color: var(--muted); font-size: 18px; }
.final h2 { max-width: 16ch; margin-inline: auto; }

/* Footer */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; padding-block: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--accent); }

/* Privacy and terms */
.legal { max-width: 760px; padding-block: 56px 80px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 8px; letter-spacing: -.035em; }
.legal-meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 21px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--soft); max-width: 70ch; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li { margin: 6px 0; }
@media (max-width: 600px) {
  .docs { height: 210px; }
  .doc { scale: .62; }
  .d-pdf { translate: -116px 12px; } .d-scan { translate: -58px -4px; } .d-fax { translate: 0 -10px; }
  .d-photo { translate: 58px -4px; } .d-mail { translate: 116px 12px; }
}

/* Light/dark switch */
.theme-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--soft); cursor: pointer; transition: border-color .2s, color .2s; }
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-moon { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-moon { display: block; }
.top-cta { align-items: center; }
@media (max-width: 420px) { .theme-btn { width: 36px; height: 36px; } }
@media (prefers-reduced-motion: no-preference) { body, .tile, .top-row, .btn { transition-property: background-color, border-color, color, box-shadow, transform; transition-duration: .25s; } }
