/* Hirbod homepage. Tokens follow docs/05-visual-identity.md (v3.1 "blue and coral"): no shadows, hairlines and background steps only. */

/* Same stack as the app (hirbod-web fonts.css): IRANYekanX first, Vazirmatn as fallback */
@font-face {
  font-family: 'IRANYekanX';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/iranyekanx-regular.woff2?v=20261102b') format('woff2');
}
@font-face {
  font-family: 'IRANYekanX';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/iranyekanx-bold.woff2?v=20261102b') format('woff2');
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/vazirmatn-arabic.woff2?v=20261102b') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/vazirmatn-latin.woff2?v=20261102b') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  color-scheme: light;
  --page: #F4F7FB; --card: #FFFFFF; --raised: #FFFFFF; --hero: #E4EDFC; --line: #DDE5EF;
  --ink: #0F1E33; --ink-bg: #E6EAF0; --ink-line: #C5CDD8;
  --muted: #4E5E73; --neutral-bg: #EEF2F7;
  --blue: #1D5FD0; --blue-bg: #E4EDFC; --blue-line: #C9DAF7;
  --coral: #B8432A; --coral-bg: #FCEAE4; --coral-line: #F5C9BB;
  --green: #1E7A4C; --green-bg: #E8F6EE; --green-line: #C3E8D2;
  --amber: #6A5A00; --amber-bg: #FAF3CC; --amber-line: #E8DB97;
  --red: #CC1515; --red-bg: #FFE5E5; --red-line: #FFDADA;
  --primary: #1D5FD0; --primary-hover: #1851B3; --on-primary: #FFFFFF;
  --ink-btn: #0F1E33; --on-ink-btn: #FFFFFF;
  --grid: rgba(29, 95, 208, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'IRANYekanX', 'Vazirmatn', Tahoma, system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #0C141F; --card: #13202F; --raised: #182739; --hero: #1A2C47; --line: #22324A;
    --ink: #E5ECF5; --ink-bg: #1F2C3D; --ink-line: #33465F;
    --muted: #A9B8CA; --neutral-bg: #1B2A3D;
    --blue: #72A7FF; --blue-bg: #1A2C47; --blue-line: #2A4266;
    --coral: #FF9A7E; --coral-bg: #3A221C; --coral-line: #5A3328;
    --green: #7EE0AF; --green-bg: #16302A; --green-line: #22493B;
    --amber: #EDDC6A; --amber-bg: #343019; --amber-line: #544B22;
    --red: #FF8F8F; --red-bg: #41262B; --red-line: #5E3238;
    --primary: #72A7FF; --primary-hover: #8DB8FF; --on-primary: #0C141F;
    --ink-btn: #E5ECF5; --on-ink-btn: #0C141F;
    --grid: rgba(114, 167, 255, .06);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0C141F; --card: #13202F; --raised: #182739; --hero: #1A2C47; --line: #22324A;
  --ink: #E5ECF5; --ink-bg: #1F2C3D; --ink-line: #33465F;
  --muted: #A9B8CA; --neutral-bg: #1B2A3D;
  --blue: #72A7FF; --blue-bg: #1A2C47; --blue-line: #2A4266;
  --coral: #FF9A7E; --coral-bg: #3A221C; --coral-line: #5A3328;
  --green: #7EE0AF; --green-bg: #16302A; --green-line: #22493B;
  --amber: #EDDC6A; --amber-bg: #343019; --amber-line: #544B22;
  --red: #FF8F8F; --red-bg: #41262B; --red-line: #5E3238;
  --primary: #72A7FF; --primary-hover: #8DB8FF; --on-primary: #0C141F;
  --ink-btn: #E5ECF5; --on-ink-btn: #0C141F;
  --grid: rgba(114, 167, 255, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 400 16px/1.85 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.4; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue-line); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--primary); color: var(--on-primary); border-radius: 14px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 28px; } }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons: primary is filled blue, every secondary is outlined (never bare text) and at least 44px tall */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-line { border-color: var(--ink-line); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--neutral-bg); border-color: var(--muted); }
.btn-ink { background: var(--ink-btn); color: var(--on-ink-btn); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn .i { width: 18px; height: 18px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 14px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--neutral-bg); border-color: var(--ink-line); }

/* Pills and chips: color always comes with an icon or a word, never a dot alone */
.pill {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1.7; white-space: nowrap;
  background: var(--neutral-bg); color: var(--muted); border: 1px solid var(--line);
}
.pill .i { width: 14px; height: 14px; stroke-width: 2.2; }
.pill-blue { background: var(--blue-bg); color: var(--blue); border-color: var(--blue-line); }
.pill-coral { background: var(--coral-bg); color: var(--coral); border-color: var(--coral-line); }
.pill-green { background: var(--green-bg); color: var(--green); border-color: var(--green-line); }
.pill-amber { background: var(--amber-bg); color: var(--amber); border-color: var(--amber-line); }
.pill-red { background: var(--red-bg); color: var(--red); border-color: var(--red-line); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; }
.brand-mark.sm { width: 22px; height: 22px; }
.brand-word { font-weight: 700; font-size: 21px; letter-spacing: -.2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 24px; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 15px; transition: color .2s, background-color .2s; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--neutral-bg); }
.nav-login { display: none; }
.top-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
#theme .i-to-light { display: none; }
:root[data-theme="dark"] #theme .i-to-light { display: block; }
:root[data-theme="dark"] #theme .i-to-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #theme .i-to-light { display: block; }
  :root:not([data-theme="light"]) #theme .i-to-dark { display: none; }
}
.menu-btn { display: none; }
.menu-btn .i-shut { display: none; }

@media (max-width: 1080px) {
  .nav a:not(.btn) { padding: 8px 8px; font-size: 14px; }
  .nav { margin-inline-start: 8px; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-grid; }
  .top-login { display: none; }
  .nav {
    position: absolute; inset-inline: 12px; top: 74px; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    background: var(--raised); border: 1px solid var(--line); border-radius: 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 16px; color: var(--ink); min-height: 44px; }
  .nav-login { display: inline-flex; margin-top: 8px; }
  .top.open .nav { opacity: 1; visibility: visible; transform: none; }
  .top.open .menu-btn .i-open { display: none; }
  .top.open .menu-btn .i-shut { display: block; }
}
@media (max-width: 420px) {
  .top-cta { padding: 0 14px; }
  .brand-word { font-size: 19px; }
}

/* Hero */
.hero { position: relative; padding: 40px 0 0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -68px 0 0; z-index: -1;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 16px; margin-bottom: 22px;
  border-radius: 999px; border: 1px solid var(--blue-line); background: var(--blue-bg); color: var(--blue);
  font-size: 14px; font-weight: 700;
}
.live-dot, .presence { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); position: relative; display: inline-block; flex: none; }
.live-dot::after, .presence::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--blue);
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

.hero h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.35; letter-spacing: -.5px; }
.hl { position: relative; color: var(--blue); white-space: nowrap; }
.hl svg { position: absolute; inset-inline: 0; bottom: -.1em; width: 100%; height: .28em; overflow: visible; }
.hl path { fill: none; stroke: var(--blue); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .5s var(--ease) forwards; opacity: .55; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }
.motto { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); max-width: 460px; }
.motto li { flex: 1; padding: 12px 16px; display: grid; gap: 0; border-inline-start: 1px solid var(--line); }
.motto li:first-child { border-inline-start: 0; }
.motto b { font-size: 16px; }
.motto span { font-size: 12px; color: var(--muted); }
.motto li:last-child b { color: var(--blue); }

/* Phone demo */
.demo { display: grid; justify-items: center; gap: 16px; }
.phone {
  width: min(100%, 380px); height: 640px; display: flex; flex-direction: column;
  background: var(--page); border: 1px solid var(--ink-line); border-radius: 40px; padding: 10px;
  outline: 8px solid var(--card); outline-offset: 0;
  position: relative; overflow: hidden;
}
.phone::before { content: ""; position: absolute; inset: 0; border-radius: 39px; border: 1px solid var(--line); pointer-events: none; }
.ph-head { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); }
.ph-logo { width: 34px; height: 34px; }
.ph-title { display: grid; line-height: 1.35; }
.ph-title b { font-size: 15px; }
.ph-title span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.ph-title .presence { width: 7px; height: 7px; }
.credit { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.credit .i { width: 14px; height: 14px; }
.ph-folders { display: flex; gap: 6px; padding: 10px 6px; overflow: hidden; border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; font-size: 12px; white-space: nowrap; background: var(--card); border: 1px solid var(--line); color: var(--muted); }
.chip .i { width: 14px; height: 14px; }
.chip-coral { background: var(--coral-bg); border-color: var(--coral-line); color: var(--coral); font-weight: 700; }
.count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: var(--page); font-size: 11px; }
.ph-log {
  flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  padding: 14px 6px; overflow: hidden; font-size: 14px; line-height: 1.85;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px); mask-image: linear-gradient(to bottom, transparent 0, #000 40px);
}
.ph-log > * { flex-shrink: 0; }
.empty { margin: auto; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 20px; }
.empty-logo { width: 56px; height: 56px; margin-bottom: 6px; }
.empty b { font-size: 18px; }
.empty span { font-size: 13px; color: var(--muted); }

.ph-compose { display: flex; align-items: center; gap: 8px; padding: 10px 4px 4px; border-top: 1px solid var(--line); }
.field {
  flex: 1; min-height: 46px; max-height: 92px; overflow: hidden; display: flex; align-items: center;
  padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card);
  font-size: 13px; line-height: 1.7; transition: border-color .2s;
}
.field.active { border-color: var(--blue-line); }
.field .ph { color: var(--muted); }
.field .caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--blue); vertical-align: middle; margin-inline-start: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.field .rec { display: flex; align-items: center; gap: 8px; width: 100%; color: var(--blue); font-weight: 700; }
.field .rec .wave { flex: 1; }
.mic {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px;
  background: var(--primary); color: var(--on-primary); transition: transform .2s var(--ease), background-color .2s;
}
.mic.live { animation: breathe 1s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); } }

/* Chat messages: user bubble on the right, assistant text on the left (max 85%), cards full width */
.m-in { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.m-user {
  align-self: flex-start; max-width: 86%; padding: 9px 14px; font-size: 13.5px;
  background: var(--blue-bg); border: 1px solid var(--blue-line); border-radius: 18px 18px 6px 18px;
}
.m-user .paste { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--blue); font-weight: 700; margin-bottom: 2px; }
.m-user .paste .i { width: 13px; height: 13px; }
.voice { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.voice .play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); }
.voice .play .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.voice small { font-size: 12px; color: var(--muted); }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; flex: 1; }
.wave i { flex: 1; max-width: 3px; height: var(--h); background: var(--blue); border-radius: 2px; opacity: .8; }
.rec .wave i { animation: wave .9s ease-in-out infinite alternate; animation-delay: calc(var(--n) * -90ms); }
@keyframes wave { from { transform: scaleY(.35); } }
.heard { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--blue-line); font-size: 12.5px; color: var(--muted); }
.heard mark { background: var(--card); color: var(--ink); font-weight: 700; padding: 0 5px; border-radius: 6px; border: 1px solid var(--blue-line); }
.m-bot { align-self: flex-end; max-width: 85%; color: var(--ink); }
.m-bot .typing { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); animation: dot 1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.m-bot .lnk { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--blue-line); background: var(--blue-bg); color: var(--blue); font-size: 12px; font-weight: 700; }
.m-bot .lnk .i { width: 14px; height: 14px; }

/* Approval card: 4px bar on the start side, hairline frame, consequence line, primary + outlined actions */
.acard {
  position: relative; align-self: stretch; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 12px 16px 12px 14px; font-size: 13px; overflow: hidden;
}
.acard::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--bar, var(--blue)); transition: background-color .4s; }
.acard[data-tone="red"] { --bar: var(--red); }
.acard[data-tone="plain"] { --bar: var(--ink-line); }
.acard.done { --bar: var(--green); }
.ac-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ac-head .i { width: 18px; height: 18px; color: var(--muted); }
.ac-head b { font-size: 14px; }
.ac-head .pill { margin-inline-start: auto; }
.ac-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line); }
.ac-row > span:first-child { color: var(--muted); }
.ac-row > span:last-child { text-align: end; }
.ac-row small { display: block; color: var(--muted); font-size: 11.5px; }
.ac-items { list-style: none; margin: 0; padding: 0; }
.ac-items li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-top: 1px solid var(--line); }
.ac-items li span:last-child { font-variant-numeric: tabular-nums; }
.ac-items em { font-style: normal; color: var(--muted); }
.ac-total { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0 4px; border-top: 1px solid var(--ink-line); }
.ac-total b { font-size: 16px; }
.ac-warn { display: flex; gap: 6px; align-items: center; margin-top: 6px; padding: 6px 10px; border-radius: 12px; background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber); font-size: 12px; font-weight: 700; }
.ac-warn .i { width: 16px; height: 16px; }
.ac-effect { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.ac-effect .i { width: 15px; height: 15px; margin-top: 2px; }
.acard[data-tone="red"] .ac-effect { color: var(--red); }
.ac-acts { display: flex; gap: 8px; margin-top: 10px; }
.ac-acts .btn { flex: 1; }
.ac-acts .btn-primary.tap, .ac-acts .btn-ink.tap { animation: tap .5s var(--ease); }
@keyframes tap { 40% { transform: scale(.94); } }
.ac-ring { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--blue); pointer-events: none; animation: ring .6s var(--ease) forwards; }
@keyframes ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ac-done { display: flex; align-items: center; gap: 8px; margin-top: 10px; animation: rise .4s var(--ease) both; }
.ac-done { color: var(--green); font-size: 12.5px; font-weight: 700; }
.ac-done .i { width: 16px; height: 16px; stroke-width: 2.4; }
.ac-big { font-size: 22px; font-weight: 700; margin: 2px 0 8px; }
.ac-bars { display: flex; align-items: flex-end; gap: 6px; height: 62px; padding-top: 4px; }
.ac-bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; }
.ac-bars i { width: 100%; height: var(--h); background: var(--blue-line); border-radius: 6px 6px 2px 2px; transform-origin: bottom; animation: grow .6s var(--ease) both; animation-delay: calc(var(--n) * 60ms); }
.ac-bars div:last-child i { background: var(--blue); }
.ac-bars small { font-size: 10.5px; color: var(--muted); line-height: 1; }
@keyframes grow { from { transform: scaleY(0); } }
.stagger > * { animation: rise .4s var(--ease) both; animation-delay: calc(var(--n, 0) * 90ms + 120ms); }

.scenes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 500px; }
.scene {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer;
  position: relative; overflow: hidden; transition: color .2s, border-color .2s, background-color .2s;
}
.scene .i { width: 16px; height: 16px; }
.scene:hover { color: var(--ink); border-color: var(--ink-line); }
.scene[aria-pressed="true"] { color: var(--blue); border-color: var(--blue-line); background: var(--blue-bg); }
.scene[aria-pressed="true"]::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: var(--p, 0%); background: var(--blue); }

.channels { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; padding-top: 56px; padding-bottom: 8px; color: var(--muted); font-size: 14px; }
.channels ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.channels li { padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 700; font-size: 14px; }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; display: grid; justify-items: center; }
  .lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .motto { width: 100%; }
}
@media (max-width: 480px) {
  .hero { padding-top: 24px; }
  .phone { height: 590px; border-radius: 34px; outline-width: 6px; }
  .phone::before { border-radius: 33px; }
  .cta-row .btn { flex: 1 1 100%; }
  .motto li { padding: 10px 10px; }
  .motto b { font-size: 15px; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-alt { background: var(--card); border-block: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.sec-head-start { text-align: start; margin-inline: 0; }
.kicker { display: inline-block; color: var(--blue); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.sec-head h2 { font-size: clamp(27px, 3.8vw, 44px); letter-spacing: -.3px; }
.sec-head p:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 47px; inset-inline: 16%; border-top: 1.5px dashed var(--blue-line); z-index: -1; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 24px; display: flex; flex-direction: column; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--blue-bg); border: 1px solid var(--blue-line); color: var(--blue); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.step h3 { font-size: 19px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.mini { margin-top: 22px; padding: 14px; border-radius: 18px; background: var(--page); border: 1px solid var(--line); font-size: 13px; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.mini-say { flex-direction: row; align-items: center; }
.mini-field { flex: 1; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--blue-line); }
.mini-mic { display: flex; align-items: center; justify-content: center; gap: 3px; width: 44px; height: 44px; border-radius: 14px; background: var(--primary); }
.mini-mic i { width: 3px; height: 14px; border-radius: 2px; background: var(--on-primary); animation: wave .8s ease-in-out infinite alternate; }
.mini-mic i:nth-child(2) { animation-delay: -.2s; height: 20px; }
.mini-mic i:nth-child(3) { animation-delay: -.4s; height: 10px; }
.mini-mic i:nth-child(4) { animation-delay: -.1s; height: 18px; }
.mini-mic i:nth-child(5) { animation-delay: -.3s; height: 12px; }
.mini-card { position: relative; background: var(--card); padding-inline-start: 18px; gap: 6px; overflow: hidden; }
.mini-card::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--blue); }
.mc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mc-row { display: flex; justify-content: space-between; padding-top: 6px; border-top: 1px solid var(--line); }
.mc-row span { color: var(--muted); }
.mini-done { flex-direction: row; align-items: center; justify-content: center; gap: 12px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .steps::before { top: 0; bottom: 0; inset-inline: auto; inset-inline-start: 44px; border-top: 0; border-inline-start: 1.5px dashed var(--blue-line); }
}

/* Comparison */
.compare { border: 1px solid var(--line); border-radius: 24px; background: var(--page); overflow: hidden; }
.c-row { display: grid; grid-template-columns: 1.1fr 1fr 1.15fr 1fr; border-top: 1px solid var(--line); }
.c-row:first-child { border-top: 0; }
.c-row > span { padding: 16px 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; line-height: 1.7; }
.c-row > span b { color: var(--ink); }
.c-row > span .i { width: 18px; height: 18px; stroke-width: 2.2; }
.c-q { font-weight: 700; color: var(--ink) !important; font-size: 15px !important; }
.c-head > span { font-weight: 700; color: var(--ink); padding-block: 18px; gap: 8px; }
.c-us { background: var(--blue-bg); border-inline: 1px solid var(--blue-line); }
.c-head .c-us { color: var(--blue); font-size: 16px; }
.yes .i { color: var(--green); }
.no .i { color: var(--red); }
.mid .i { color: var(--amber); }
.c-row [role="cell"] { display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 8px; }
.c-row [role="cell"] small { grid-column: 2; font-size: 13px; }
@media (max-width: 760px) {
  .compare { background: transparent; border: 0; border-radius: 0; display: grid; gap: 12px; overflow: visible; }
  .c-head { display: none; }
  .c-row { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--page); overflow: hidden; }
  .c-row > span { padding: 10px 10px 12px; }
  .c-row .c-q { grid-column: 1 / -1; padding: 12px 14px; }
  .c-row [role="cell"] { border-top: 1px solid var(--line); align-content: start; column-gap: 4px; font-size: 12.5px; line-height: 1.6; }
  .c-row [role="cell"] + [role="cell"] { border-inline-start: 1px solid var(--line); }
  .c-row [role="cell"] .i { width: 16px; height: 16px; }
  .c-row [role="cell"] small { grid-column: 1 / -1; font-size: 12px; margin-top: 2px; }
  .c-row [role="cell"]::before { grid-column: 1 / -1; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
  .c-row > span:nth-child(2)::before { content: "چت‌بات‌های عمومی"; }
  .c-row > span:nth-child(3)::before { content: "هیربد"; color: var(--blue); }
  .c-row > span:nth-child(4)::before { content: "نرم‌افزارهای سنتی"; }
  .c-us { border-inline: 0; }
}

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 8px; transition: border-color .25s, transform .3s var(--ease); }
.tile:hover { border-color: var(--blue-line); transform: translateY(-2px); }
.tile-wide { grid-column: span 2; }
.tile-hero { background: var(--hero); border-color: var(--blue-line); }
.tile h3 { font-size: 18px; margin-top: 8px; }
.tile p { color: var(--muted); font-size: 15px; }
.tile-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue-bg); border: 1px solid var(--blue-line); color: var(--blue); flex: none; }
.tile-ic .i { width: 22px; height: 22px; }
.ic-coral { background: var(--coral-bg); border-color: var(--coral-line); color: var(--coral); }
.ask { margin-top: auto; padding-top: 18px; display: grid; gap: 10px; font-size: 14px; }
.ask-q { justify-self: start; padding: 8px 14px; background: var(--card); border: 1px solid var(--blue-line); border-radius: 18px 18px 6px 18px; }
.ask-a { justify-self: end; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; font-weight: 700; }
.ask-a .i { color: var(--green); }
.wait { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: grid; gap: 8px; font-size: 13px; }
.wait li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--page); }
.note { margin-top: auto !important; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 12px; border-radius: 12px; font-size: 13px !important; font-weight: 700; }
.note .i { width: 16px; height: 16px; }
.note-amber { background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber) !important; }
.spark { margin-top: auto; padding-top: 14px; display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.spark i { flex: 1; height: var(--h); background: var(--blue-line); border-radius: 6px 6px 2px 2px; }
.spark i.now { background: var(--blue); }
.url { margin-top: auto !important; align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--blue-line); background: var(--blue-bg); color: var(--blue) !important; font-weight: 700; font-size: 13px !important; }
.sms { margin-top: auto; padding-top: 14px; display: grid; gap: 8px; font-size: 13px; }
.sms p { max-width: 420px; padding: 9px 14px; border-radius: 18px 18px 18px 6px; background: var(--page); border: 1px solid var(--line); color: var(--ink) !important; font-size: 13px !important; justify-self: end; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile { padding: 22px; }
}

/* Safety */
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.guards { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.guards li { display: flex; gap: 16px; }
.guards h3 { font-size: 17px; }
.guards p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.viewer { position: sticky; top: 96px; background: var(--page); border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.viewer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.viewer-head b { font-size: 17px; }
.seg { display: inline-flex; padding: 4px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.vt { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.vt th, .vt td { padding: 12px 12px; text-align: start; border-top: 1px solid var(--line); white-space: nowrap; }
.vt thead th { border-top: 0; color: var(--muted); font-size: 12px; font-weight: 700; background: var(--neutral-bg); }
.vt tbody th { font-weight: 400; white-space: normal; }
.vt td { font-weight: 700; font-variant-numeric: tabular-nums; }
.secret { position: relative; }
.secret .h { display: none; align-items: center; gap: 4px; color: var(--muted); font-weight: 400; font-size: 12px; }
.secret .h .i { width: 14px; height: 14px; }
.vt[data-view="admin"] .secret .v { display: none; }
.vt[data-view="admin"] .secret .h { display: inline-flex; animation: rise .35s var(--ease) both; }
.vt[data-view="admin"] .secret { background: var(--neutral-bg); }
.viewer-note { margin-top: 12px; font-size: 14px; color: var(--muted); min-height: 3.4em; }
.viewer-foot { display: flex; align-items: flex-start; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .safety { grid-template-columns: 1fr; gap: 40px; }
  .viewer { position: static; }
}
@media (max-width: 420px) {
  .viewer { padding: 16px; }
  .vt th, .vt td { padding: 10px 8px; font-size: 13px; }
}

/* Paper samples */
.papers {
  display: flex; align-items: flex-end; justify-content: center; gap: 28px;
  padding: 44px 32px 32px; border-radius: 28px; background: var(--hero); border: 1px solid var(--blue-line);
}
.paper-fig { margin: 0; display: grid; justify-items: center; gap: 14px; }
.paper-fig figcaption { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.paper-fig figcaption .i { color: var(--blue); width: 18px; height: 18px; }
.paper { background: #FFFFFF; color: #0F1E33; border: 1px solid #C5CDD8; font-size: 11px; line-height: 1.7; transition: transform .4s var(--ease); }
.paper-fig:hover .paper { transform: translateY(-6px) rotate(-.6deg); }
.invoice { width: 300px; min-height: 400px; padding: 22px; border-radius: 6px; display: flex; flex-direction: column; gap: 12px; }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 10px; border-bottom: 2px solid #0F1E33; }
.inv-top > div:first-child { display: grid; }
.inv-store { font-size: 17px; }
.inv-meta { display: grid; text-align: end; color: #4E5E73; }
.inv-party { display: grid; padding: 8px 10px; border: 1px solid #DDE5EF; border-radius: 4px; }
.inv-party span:last-child { color: #4E5E73; }
.inv-t { width: 100%; border-collapse: collapse; }
.inv-t th { text-align: start; font-weight: 700; padding: 5px 4px; background: #EEF2F7; border: 1px solid #DDE5EF; }
.inv-t td { padding: 5px 4px; border: 1px solid #DDE5EF; }
.inv-t td:not(:first-child), .inv-t th:not(:first-child) { text-align: center; }
.inv-sum { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 10px; border-top: 2px solid #0F1E33; }
.inv-sum > div:last-child { display: grid; text-align: end; }
.inv-sum b { font-size: 15px; }
.inv-sum small { color: #4E5E73; font-size: 10px; }
.qr { width: 64px; height: 64px; flex: none; }
.qr svg, .bars svg { width: 100%; height: 100%; }
.thermal { width: 176px; padding: 18px 14px 22px; display: grid; gap: 4px; text-align: center; font-size: 10.5px;
  --tooth: radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px);
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 6px) no-repeat, var(--tooth) bottom / 12px 6px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 6px) no-repeat, var(--tooth) bottom / 12px 6px repeat-x;
  border-bottom: 0;
}
.th-store { font-size: 14px; }
.th-sub { color: #4E5E73; }
.th-rule { border-top: 1.5px dashed #8795A8; margin: 6px 0; }
.th-row { display: flex; justify-content: space-between; text-align: start; }
.th-total { font-weight: 700; font-size: 12.5px; }
.th-thanks { margin: 2px 0 6px; }
.bars { height: 34px; }
.label { width: 230px; height: 230px; padding: 14px; border-radius: 6px; display: flex; flex-direction: column; gap: 6px; border: 1.5px solid #0F1E33; }
.lb-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; border-bottom: 1.5px solid #0F1E33; font-weight: 700; }
.lb-city { font-size: 18px; padding: 0 8px; background: #0F1E33; color: #FFFFFF; border-radius: 3px; }
.lb-part { display: grid; line-height: 1.55; }
.lb-part small { color: #4E5E73; font-size: 9.5px; }
.lb-part b { font-size: 13px; }
.lb-from { padding-top: 4px; border-top: 1px dashed #8795A8; }
.bars-tall { height: 40px; margin-top: auto; }
.lb-code { text-align: center; font-weight: 700; letter-spacing: 1px; font-size: 11px; }
@media (max-width: 960px) {
  .papers { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 32px 24px 24px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .paper-fig { scroll-snap-align: center; flex: none; }
}
@media (max-width: 480px) {
  .papers { margin-inline: -16px; border-radius: 0; border-inline: 0; padding-inline: 16px; gap: 18px; }
}

/* People */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person { background: var(--page); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.person-top { display: flex; align-items: center; gap: 12px; }
.person-top > div { display: grid; line-height: 1.5; flex: 1; min-width: 0; }
.person-top > div span { font-size: 13px; color: var(--muted); }
.person-top b { font-size: 17px; }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 16px; background: var(--ink-bg); border: 1px solid var(--ink-line); font-weight: 700; font-size: 20px; }
.before { color: var(--muted); font-size: 15px; }
.after { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--green-bg); border: 1px solid var(--green-line); font-size: 14px; font-weight: 700; }
.after .i { color: var(--green); width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.4; }
.aside { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .people { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Pricing */
.calc { max-width: 620px; margin: 0 auto 28px; padding: 18px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 20px; }
.calc label { font-weight: 700; }
.calc output { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.calc output b { color: var(--blue); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to left, var(--primary) var(--fill, 0%), var(--line) var(--fill, 0%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--primary); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--card); border: 2px solid var(--primary); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--card); border: 2px solid var(--primary); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px 24px; display: flex; flex-direction: column; transition: border-color .3s, background-color .3s; }
.plan h3 { font-size: 22px; }
.plan-for { color: var(--muted); font-size: 14px; }
.price { margin: 18px 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); display: grid; }
.price b { font-size: 30px; line-height: 1.4; }
.price span { font-size: 13px; color: var(--muted); }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 5px; border-radius: 6px; background: var(--blue-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D5FD0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; border: 1px solid var(--blue-line); }
.plan .btn { margin-top: auto; }
.plan-pick { position: absolute; top: -13px; inset-inline-start: 22px; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease); background: var(--card); }
.plan.picked { border-color: var(--blue); background: var(--hero); border-width: 1.5px; }
.plan.picked .plan-pick { opacity: 1; transform: none; }
.plan.picked .btn { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.rules { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.rules li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.rules .i { color: var(--blue); margin-top: 4px; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 24px; }
  .rules { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .calc { grid-template-columns: 1fr; padding: 16px; }
}

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--page); border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s; }
.faq details[open] { border-color: var(--blue-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 14px 20px; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 10px; border: 1px solid var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5E73' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 8px; } }

/* Final CTA */
.final { padding: clamp(72px, 10vw, 128px) 0; }
.final-box { text-align: center; display: grid; justify-items: center; padding-block: clamp(44px, 7vw, 80px); background: var(--hero); border: 1px solid var(--blue-line); border-radius: 32px; position: relative; overflow: hidden; isolation: isolate; }
.final-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(circle at 50% 0, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 0, #000, transparent 70%); }
.final-logo { width: 72px; height: 72px; margin-bottom: 18px; }
.final h2 { font-size: clamp(30px, 4.6vw, 52px); }
.final p:not(.fine) { margin-top: 10px; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); max-width: 32em; }
.final .cta-row { justify-content: center; }
@media (max-width: 480px) { .final .wrap { margin-inline: 16px; width: auto; padding-inline: 16px; } }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--card); padding-top: 48px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 30em; }
.foot nav { display: grid; align-content: start; gap: 4px; }
.foot nav b { margin-bottom: 6px; }
.foot nav a { color: var(--muted); font-size: 14px; padding: 6px 0; min-height: 36px; }
.foot nav a:hover { color: var(--blue); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Scroll reveal, only when JS is on so content never stays hidden */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hl path { stroke-dashoffset: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
