@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #070913;
  --bg-soft: #0b0e1c;
  --surface: rgba(17, 21, 39, .72);
  --surface-solid: #111527;
  --surface-light: #171c32;
  --text: #f5f7ff;
  --muted: #9aa2ba;
  --muted-2: #727b96;
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.18);
  --violet: #8d77ff;
  --violet-2: #b6a7ff;
  --blue: #5f9cff;
  --cyan: #62e5d2;
  --green: #6af0bc;
  --red: #ff7f9f;
  --shadow: 0 30px 90px rgba(0,0,0,.42);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --container: min(1180px, calc(100vw - 40px));
  --header-h: 80px;
  --font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="fa"] body { font-family: "Vazirmatn", var(--font); }
body.menu-open { overflow: hidden; }
::selection { color: #090b14; background: var(--violet-2); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed; left: 18px; top: -80px; z-index: 9999;
  padding: 12px 18px; color: #090b14; background: #fff; border-radius: 12px;
  transition: top .2s ease;
}
.skip-link:focus { top: 18px; }
.container { width: var(--container); margin-inline: auto; position: relative; }
.section { padding: 128px 0; position: relative; }

.starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -5; opacity: .72; pointer-events: none; }
.noise {
  position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.ambient { position: fixed; z-index: -4; width: 50vw; aspect-ratio: 1; border-radius: 50%; filter: blur(110px); opacity: .14; pointer-events: none; }
.ambient-one { top: -20vw; right: -10vw; background: #7657ff; }
.ambient-two { bottom: -30vw; left: -20vw; background: #276cff; }
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: -1; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(139,117,255,.08), transparent 65%); transform: translate(-50%,-50%); opacity: 0; transition: opacity .3s ease;
}

.site-header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 100;
  border-bottom: 1px solid transparent; transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.site-header.scrolled { background: rgba(7,9,19,.75); border-color: var(--line); backdrop-filter: blur(20px); }
.nav-shell { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark { width: 35px; color: var(--violet-2); }
.brand-word { font: 700 18px/1 var(--font-display); letter-spacing: .14em; }
.brand-word span { font-weight: 500; color: #c6cada; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.desktop-nav a { color: #bdc3d5; font-size: 14px; font-weight: 600; position: relative; transition: color .25s ease; }
.desktop-nav a::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -7px; background: var(--violet-2); transition: right .25s ease; }
.desktop-nav a:hover { color: #fff; }
.desktop-nav a:hover::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch, .menu-button { border: 1px solid var(--line); color: #fff; background: rgba(255,255,255,.04); cursor: pointer; }
.lang-switch { min-width: 42px; height: 38px; border-radius: 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; transition: border-color .25s ease, background .25s ease; }
.lang-switch:hover { border-color: var(--line-strong); background: rgba(255,255,255,.08); }
.menu-button { display: none; width: 44px; height: 42px; border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 7px; }
.menu-button span { width: 18px; height: 1.5px; background: currentColor; transition: transform .25s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.mobile-menu { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100svh - var(--header-h)); background: rgba(7,9,19,.97); backdrop-filter: blur(20px); }
.mobile-menu-inner { padding-top: 34px; display: grid; gap: 12px; }
.mobile-menu-inner > a:not(.button) { padding: 14px 4px; font: 600 26px/1.2 var(--font-display); border-bottom: 1px solid var(--line); }
.mobile-menu-inner .button { margin-top: 20px; }

.button { min-height: 48px; padding: 0 21px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 14px; border: 1px solid transparent; position: relative; overflow: hidden; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.22) 45%, transparent 70%); transform: translateX(-120%); transition: transform .65s ease; }
.button:hover::before { transform: translateX(120%); }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button-small { min-height: 40px; padding-inline: 16px; border-radius: 11px; font-size: 13px; }
.button-primary { background: linear-gradient(135deg, #9b89ff, #6f68ff 58%, #4d88ff); color: #fff; box-shadow: 0 12px 32px rgba(103,99,255,.25), inset 0 1px rgba(255,255,255,.3); }
.button-primary:hover { box-shadow: 0 18px 44px rgba(103,99,255,.38), inset 0 1px rgba(255,255,255,.3); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.04); }
.button-ghost:hover { border-color: var(--line-strong); background: rgba(255,255,255,.07); }
.button-link { padding-inline: 7px; border: 0; color: #cdd2e0; }
.button-link:hover { color: #fff; }
.play-icon { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-weight: 500; }
.button-light { background: #fff; color: #0a0c16; box-shadow: 0 18px 50px rgba(255,255,255,.17); }

.hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 70px); padding-bottom: 100px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,9,19,.08), #070913 96%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.03fr) minmax(450px,.97fr); gap: 72px; align-items: center; }
.eyebrow { width: fit-content; display: inline-flex; align-items: center; gap: 9px; margin-bottom: 25px; padding: 7px 12px; border: 1px solid rgba(160,142,255,.22); background: rgba(137,116,255,.08); border-radius: 999px; color: #c5baff; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(106,240,188,.08), 0 0 18px rgba(106,240,188,.7); }
.hero-title { margin: 0; max-width: 720px; font: 600 clamp(54px, 6.1vw, 86px)/.96 var(--font-display); letter-spacing: -.052em; }
.hero-title span { display: block; }
.gradient-text { padding-bottom: .08em; color: transparent; background: linear-gradient(100deg, #ffffff 2%, #b6a7ff 38%, #70b9ff 70%, #80e8d4 100%); -webkit-background-clip: text; background-clip: text; }
.hero-lead { max-width: 630px; margin: 27px 0 0; color: #adb4ca; font-size: clamp(17px,1.5vw,20px); line-height: 1.72; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 35px; }
.hero-actions .button-primary { min-height: 56px; padding-inline: 25px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; color: #848da6; font-size: 12px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { width: 18px; height: 18px; border: 1px solid rgba(98,229,210,.25); border-radius: 50%; display: grid; place-items: center; color: var(--cyan); font-size: 9px; font-style: normal; }
.hero-trust b { font-weight: 600; }
.hero-visual { position: relative; min-height: 650px; display: grid; place-items: center; perspective: 1300px; }
.hero-visual::before { content: ""; position: absolute; width: 590px; height: 590px; border-radius: 50%; background: radial-gradient(circle, rgba(132,109,255,.18), transparent 68%); filter: blur(8px); }
.orbit { position: absolute; border: 1px solid rgba(167,150,255,.12); border-radius: 50%; transform: rotate(-19deg); }
.orbit::after { content: ""; position: absolute; top: 50%; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 18px var(--violet); }
.orbit-one { width: 520px; height: 310px; animation: orbitFloat 9s ease-in-out infinite; }
.orbit-two { width: 410px; height: 580px; transform: rotate(57deg); animation: orbitFloat 11s ease-in-out infinite reverse; }
.phone-frame { position: relative; z-index: 2; width: 330px; padding: 10px; border-radius: 45px; background: linear-gradient(145deg, rgba(255,255,255,.3), rgba(255,255,255,.04) 20%, rgba(128,107,255,.24) 75%, rgba(255,255,255,.14)); box-shadow: 0 50px 100px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.12); transform: rotateY(-5deg) rotateX(2deg); }
.phone-glow { position: absolute; inset: 10% -20% -10%; z-index: -1; background: radial-gradient(circle at 50% 35%, rgba(117,93,255,.42), transparent 55%); filter: blur(30px); }
.phone-screen { min-height: 620px; overflow: hidden; border-radius: 36px; background: linear-gradient(160deg, #151a2e, #0a0d19 60%); border: 1px solid rgba(255,255,255,.06); }
.phone-screen::before { content: ""; position: absolute; left: 50%; top: 16px; width: 80px; height: 22px; transform: translateX(-50%); background: #05070d; border-radius: 20px; }
.phone-bar { height: 77px; padding: 34px 19px 0; display: flex; align-items: center; justify-content: space-between; color: #e1e5f2; font-size: 10px; }
.mini-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: .08em; }
.mini-logo { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 7px; background: linear-gradient(135deg, #a58fff, #567fff); font-size: 10px; }
.avatar { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.06); font-size: 8px; }
.phone-content { padding: 22px 17px 18px; }
.phone-heading p { margin: 0; color: #838ca6; font-size: 10px; }
.phone-heading h2 { margin: 2px 0 17px; font: 600 27px/1.2 var(--font-display); letter-spacing: -.03em; }
.vault-balance { min-height: 104px; padding: 19px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(157,137,255,.18); border-radius: 19px; background: linear-gradient(135deg, rgba(137,113,255,.19), rgba(61,74,136,.1)); position: relative; overflow: hidden; }
.vault-balance::before { content: ""; position: absolute; width: 120px; aspect-ratio: 1; right: -35px; top: -55px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.vault-balance small { display: block; color: #a3acc1; font-size: 9px; }
.vault-balance strong { display: block; margin-top: 3px; font: 600 32px/1 var(--font-display); }
.shield-pulse { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(142,120,255,.16); color: #b5a7ff; box-shadow: 0 0 0 8px rgba(142,120,255,.04); }
.shield-pulse svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.phone-tabs { display: flex; gap: 19px; margin: 21px 3px 12px; color: #707a94; font-size: 9px; font-weight: 700; }
.phone-tabs .active { color: #e9ebf4; position: relative; }
.phone-tabs .active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--violet-2); }
.record-card { display: flex; align-items: center; gap: 11px; margin-top: 9px; padding: 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; background: rgba(255,255,255,.025); }
.record-card-active { border-color: rgba(111,240,190,.12); background: linear-gradient(90deg, rgba(87,222,174,.07), rgba(255,255,255,.02)); }
.record-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: #ab9bff; background: rgba(143,120,255,.1); font-size: 14px; }
.record-copy { min-width: 0; flex: 1; }
.record-copy strong, .record-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record-copy strong { color: #e4e7f1; font-size: 9px; }
.record-copy small { margin-top: 2px; color: #6f7891; font-size: 7px; }
.record-state { width: 20px; height: 20px; display: grid; place-items: center; color: var(--green); border: 1px solid rgba(106,240,188,.2); border-radius: 50%; font-size: 8px; }
.record-arrow { color: #69728b; }
.phone-action { width: 100%; min-height: 42px; margin-top: 14px; border: 0; border-radius: 13px; background: linear-gradient(135deg, #9b88ff, #6771ff); color: #fff; font-size: 9px; cursor: default; }
.phone-action span { margin-right: 4px; }
.floating-chip { position: absolute; z-index: 5; min-width: 160px; padding: 12px 15px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(18,22,39,.72); box-shadow: 0 20px 50px rgba(0,0,0,.3); backdrop-filter: blur(18px); }
.floating-chip small, .floating-chip strong { display: block; line-height: 1.35; }
.floating-chip small { color: #7d869f; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.floating-chip strong { font-size: 11px; }
.chip-top { right: -10px; top: 18%; animation: chipFloat 5s ease-in-out infinite; }
.chip-bottom { left: -5px; bottom: 17%; animation: chipFloat 6s ease-in-out infinite reverse; }
.chip-icon, .chip-success { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; }
.chip-icon { color: #bbafff; background: rgba(144,122,255,.13); }
.chip-success { color: var(--green); background: rgba(94,224,177,.1); border: 1px solid rgba(94,224,177,.13); font-size: 11px; }
.hero-scroll { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 45px; background: rgba(255,255,255,.12); }
.hero-scroll span { position: absolute; left: -1px; top: 0; width: 3px; height: 10px; border-radius: 4px; background: var(--violet-2); animation: scrollPulse 2s ease-in-out infinite; }

.trust-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); overflow: hidden; }
.marquee { padding: 19px 0; overflow: hidden; }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: marquee 30s linear infinite; color: #757e97; font: 700 10px/1 var(--font-display); letter-spacing: .19em; }
.marquee-track i { color: #8c7bde; font-size: 9px; font-style: normal; }

.section-heading { margin-bottom: 60px; }
.section-heading.centered { max-width: 820px; margin-inline: auto; text-align: center; }
.section-heading.split { display: grid; grid-template-columns: 1fr .64fr; gap: 100px; align-items: end; }
.section-heading h2, .product-copy h2, .stellar-copy h2, .faq-intro h2 { margin: 10px 0 0; font: 600 clamp(38px, 4.2vw, 58px)/1.06 var(--font-display); letter-spacing: -.045em; }
.section-heading p, .product-copy > p, .stellar-copy > p, .faq-intro > p { margin: 19px 0 0; color: var(--muted); font-size: 17px; }
.section-heading.split p { margin: 0; }
.kicker { color: #a997ff; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 800; }

.problem-section { background: linear-gradient(180deg, transparent, rgba(17,22,40,.42) 50%, transparent); }
.contrast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contrast-card { min-height: 430px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.018); position: relative; overflow: hidden; }
.contrast-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 85% 10%, rgba(255,255,255,.06), transparent 37%); }
.contrast-old { opacity: .77; }
.contrast-new { border-color: rgba(148,130,255,.28); background: linear-gradient(145deg, rgba(146,126,255,.09), rgba(20,25,45,.62)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 30px 70px rgba(0,0,0,.22); }
.beam { position: absolute; top: -40%; left: 25%; width: 28%; height: 180%; background: linear-gradient(to right, transparent, rgba(165,145,255,.06), transparent); transform: rotate(23deg); }
.contrast-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 42px; }
.contrast-label { color: #c1c7d9; font: 600 20px/1.2 var(--font-display); }
.contrast-symbol { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: #747e98; }
.contrast-new .contrast-symbol { color: var(--green); border-color: rgba(106,240,188,.19); background: rgba(106,240,188,.06); }
.contrast-card ul { list-style: none; margin: 0; padding: 0; }
.contrast-card li { display: flex; align-items: center; gap: 18px; padding: 18px 4px; border-top: 1px solid var(--line); color: #8f98b0; }
.contrast-card li span { color: #5f687f; font: 600 10px/1 var(--font-display); letter-spacing: .08em; }
.contrast-card li b { font-weight: 600; }
.contrast-new li { color: #d8dbea; }
.contrast-new li span { color: #9c8aff; }

.workflow-section { overflow: hidden; }
.workflow-section::before { content: ""; position: absolute; width: 700px; height: 700px; left: 30%; top: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(97,80,192,.08), transparent 66%); pointer-events: none; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; position: relative; }
.step-progress { position: absolute; top: 51px; left: calc(16.66% + 25px); right: calc(16.66% + 25px); height: 1px; background: var(--line); z-index: 0; }
.step-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--violet), var(--cyan)); box-shadow: 0 0 12px rgba(141,119,255,.5); transition: width 1.5s cubic-bezier(.2,.75,.2,1); }
.steps.is-visible .step-progress span { width: 100%; }
.step-card { min-height: 365px; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15,19,35,.66); backdrop-filter: blur(10px); position: relative; z-index: 1; transition: transform .35s ease, border-color .35s ease, background .35s ease; }
.step-card:hover { transform: translateY(-8px); border-color: rgba(143,124,255,.27); background: rgba(18,23,42,.8); }
.step-number { position: absolute; right: 25px; top: 22px; color: #4e576f; font: 600 12px/1 var(--font-display); }
.step-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 60px; border: 1px solid rgba(153,135,255,.2); border-radius: 15px; background: rgba(132,112,255,.08); color: #a896ff; box-shadow: 0 0 0 10px rgba(132,112,255,.025); }
.step-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.step-card h3 { margin: 0 0 11px; font: 600 22px/1.2 var(--font-display); letter-spacing: -.02em; }
.step-card p { margin: 0; color: #8f98b0; font-size: 14px; }
.step-tag { display: inline-block; margin-top: 26px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; color: #778199; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; font-weight: 800; }

.product-section { background: linear-gradient(180deg, rgba(17,22,40,.1), rgba(17,22,40,.42), rgba(17,22,40,.1)); overflow: hidden; }
.product-grid { display: grid; grid-template-columns: 1.05fr .75fr; gap: 90px; align-items: center; }
.product-demo { perspective: 1400px; }
.demo-window { border: 1px solid rgba(255,255,255,.13); border-radius: 22px; overflow: hidden; background: #0e1220; box-shadow: 0 45px 100px rgba(0,0,0,.42); transform: rotateY(4deg) rotateX(1deg); }
.demo-topbar { height: 48px; padding: 0 15px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #3a4155; }
.window-dots i:nth-child(1) { background: #805066; } .window-dots i:nth-child(2) { background: #766b44; } .window-dots i:nth-child(3) { background: #3c725f; }
.demo-url { min-width: 190px; padding: 5px 15px; border: 1px solid var(--line); border-radius: 7px; color: #69728a; background: rgba(0,0,0,.15); text-align: center; font-size: 8px; }
.demo-url span { margin-right: 6px; }
.demo-lock { justify-self: end; color: #667087; font-size: 11px; }
.demo-body { min-height: 470px; display: grid; grid-template-columns: 145px 1fr; }
.demo-sidebar { padding: 19px 13px; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #0b0e19; }
.demo-brand { display: flex; align-items: center; gap: 7px; padding: 0 5px 24px; font: 700 9px/1 var(--font-display); letter-spacing: .1em; }
.demo-brand span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: linear-gradient(135deg,#9a82ff,#5f7dff); font-size: 9px; }
.demo-sidebar nav { display: grid; gap: 6px; }
.demo-sidebar nav a { display: flex; align-items: center; gap: 9px; padding: 9px; border-radius: 8px; color: #646d83; font-size: 8px; }
.demo-sidebar nav a.active { color: #dcdfea; background: rgba(143,121,255,.1); }
.demo-sidebar nav b { font-weight: 600; }
.demo-profile { margin-top: auto; padding: 10px 5px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; }
.demo-profile > span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #a8afbf; font-size: 7px; }
.demo-profile small { color: #687187; font-size: 6px; line-height: 1.4; }
.demo-profile small b { color: var(--green); font-weight: 600; }
.demo-main { padding: 25px 24px; min-width: 0; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; }
.demo-heading small { color: #5d667d; font-size: 6px; letter-spacing: .14em; }
.demo-heading h3 { margin: 3px 0 0; font: 600 20px/1.2 var(--font-display); }
.demo-heading button { padding: 8px 10px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(135deg,#927bff,#6374ff); font-size: 7px; }
.demo-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 21px; }
.demo-stats > div { padding: 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.018); }
.demo-stats small, .demo-stats strong, .demo-stats em { display: block; }
.demo-stats small { color: #737c92; font-size: 6px; }
.demo-stats strong { margin: 6px 0 4px; font: 600 18px/1 var(--font-display); }
.demo-stats em { color: #687187; font-size: 5px; font-style: normal; }
.demo-stats div:first-child em { color: var(--green); }
.demo-panel { margin-top: 17px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.015); }
.demo-panel-head { display: flex; justify-content: space-between; margin-bottom: 7px; font-size: 7px; }
.demo-panel-head span { color: #8478bf; }
.demo-row { display: grid; grid-template-columns: 27px 1fr auto; gap: 9px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.demo-row > i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; color: #a393f5; background: rgba(143,121,255,.08); font-size: 8px; font-style: normal; }
.demo-row > i.approved { color: var(--green); background: rgba(95,220,173,.07); }
.demo-row span b, .demo-row span small { display: block; }
.demo-row span b { color: #cbd0df; font-size: 7px; }
.demo-row span small, .demo-row time { color: #626b81; font-size: 5px; }
.product-copy h2 { max-width: 540px; }
.product-copy > p { max-width: 520px; }
.feature-list { margin-top: 35px; }
.feature-list article { display: grid; grid-template-columns: 35px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.feature-list article > span { color: #7f70d1; font: 600 10px/1 var(--font-display); letter-spacing: .06em; padding-top: 6px; }
.feature-list h3 { margin: 0 0 5px; font: 600 17px/1.3 var(--font-display); }
.feature-list p { margin: 0; color: #858fa7; font-size: 13px; }

.stellar-section { overflow: hidden; }
.stellar-section::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 60px 60px; mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); }
.stellar-orb { position: absolute; width: 700px; height: 700px; right: -260px; top: -90px; border: 1px solid rgba(142,123,255,.14); border-radius: 50%; box-shadow: inset 0 0 110px rgba(116,95,239,.04); }
.stellar-orb::before, .stellar-orb::after { content: ""; position: absolute; inset: 90px; border: 1px solid rgba(142,123,255,.1); border-radius: 50%; }
.stellar-orb::after { inset: 190px; }
.stellar-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: center; }
.stellar-copy > p { max-width: 520px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 27px; color: #b1a3ff; font-size: 13px; font-weight: 700; }
.text-link b { transition: transform .25s ease; }
.text-link:hover b { transform: translate(3px,-3px); }
.stellar-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.metric-card { min-height: 215px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14,18,33,.66); backdrop-filter: blur(10px); position: relative; overflow: hidden; }
.metric-card::before { content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(147,126,255,.12), transparent 70%); }
.metric-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(154,137,255,.17); border-radius: 12px; color: #a997ff; background: rgba(141,121,255,.06); }
.metric-card strong { display: block; margin-top: 34px; font: 600 42px/1 var(--font-display); letter-spacing: -.05em; }
.metric-card p { max-width: 200px; margin: 10px 0 0; color: #818aa2; font-size: 12px; line-height: 1.5; }
.metric-wide { grid-column: 1 / -1; min-height: 190px; display: grid; grid-template-columns: 1fr .55fr; align-items: center; }
.metric-wide strong { margin-top: 0; }
.network-visual svg { width: 100%; height: 130px; overflow: visible; }
.network-visual path { fill: none; stroke: rgba(144,125,255,.27); stroke-width: 1; stroke-dasharray: 5 6; }
.network-visual circle { fill: #9e8aff; filter: drop-shadow(0 0 6px rgba(158,138,255,.8)); animation: nodePulse 3s ease-in-out infinite; }
.network-visual circle:nth-of-type(2) { animation-delay: -.6s; } .network-visual circle:nth-of-type(3) { animation-delay: -1.2s; } .network-visual circle:nth-of-type(4) { animation-delay: -1.8s; } .network-visual circle:nth-of-type(5) { animation-delay: -2.4s; }

.security-section { background: linear-gradient(180deg, transparent, rgba(18,23,42,.5), transparent); }
.security-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 15px; }
.security-card { min-height: 300px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14,18,33,.58); position: relative; overflow: hidden; }
.security-card:nth-child(4) { grid-column: 2 / 4; min-height: 220px; }
.security-featured { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; min-height: 535px; border-color: rgba(145,126,255,.2); background: linear-gradient(145deg, rgba(137,116,255,.08), rgba(15,19,35,.68)); }
.card-index { position: absolute; top: 24px; right: 25px; color: #565f77; font: 600 10px/1 var(--font-display); }
.security-card h3 { margin: 16px 0 9px; font: 600 20px/1.25 var(--font-display); }
.security-card p { margin: 0; color: #818ba3; font-size: 13px; }
.security-mini-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-top: 60px; border: 1px solid rgba(142,122,255,.16); border-radius: 13px; color: #a491ff; background: rgba(136,116,255,.06); }
.security-visual { position: relative; min-height: 290px; display: grid; place-items: center; }
.lock-rings i { position: absolute; left: 50%; top: 45%; border: 1px solid rgba(151,132,255,.13); border-radius: 50%; transform: translate(-50%,-50%); }
.lock-rings i:nth-child(1) { width: 245px; height: 245px; animation: ringPulse 4s ease-in-out infinite; }
.lock-rings i:nth-child(2) { width: 185px; height: 185px; animation: ringPulse 4s ease-in-out infinite .6s; }
.lock-rings i:nth-child(3) { width: 125px; height: 125px; animation: ringPulse 4s ease-in-out infinite 1.2s; }
.lock-core { width: 85px; height: 85px; display: grid; place-items: center; border: 1px solid rgba(178,162,255,.25); border-radius: 27px; color: #b5a6ff; background: linear-gradient(145deg, rgba(155,136,255,.18), rgba(91,75,169,.06)); box-shadow: 0 0 60px rgba(127,105,255,.18); position: relative; z-index: 2; }
.lock-core svg { width: 42px; fill: none; stroke: currentColor; stroke-width: 1.25; }
.security-featured > div:last-child { position: relative; z-index: 2; }
.architecture-note { max-width: 820px; margin: 28px auto 0; padding-left: 18px; color: #6f7890; border-left: 2px solid rgba(143,124,255,.35); font-size: 11px; text-align: center; }
html[dir="rtl"] .architecture-note { padding-left: 0; padding-right: 18px; border-left: 0; border-right: 2px solid rgba(143,124,255,.35); }

.usecase-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.usecase-card { min-height: 300px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.018); position: relative; overflow: hidden; transition: transform .3s ease, border-color .3s ease; }
.usecase-card:hover { transform: translateY(-7px); border-color: rgba(145,126,255,.22); }
.usecase-card small { position: absolute; right: 23px; top: 23px; color: #525b72; font: 600 10px/1 var(--font-display); }
.usecase-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 70px; border: 1px solid rgba(147,128,255,.15); border-radius: 14px; color: #a694ff; background: rgba(139,119,255,.06); }
.usecase-card h3 { margin: 0 0 10px; font: 600 18px/1.25 var(--font-display); }
.usecase-card p { margin: 0; color: #7f89a1; font-size: 12px; }
.usecase-line { position: absolute; left: 25px; right: 100%; bottom: 0; height: 2px; background: linear-gradient(90deg,var(--violet),var(--cyan)); transition: right .4s ease; }
.usecase-card:hover .usecase-line { right: 25px; }

.faq-section { background: linear-gradient(180deg, transparent, rgba(17,22,40,.28), transparent); }
.faq-grid { display: grid; grid-template-columns: .72fr 1fr; gap: 100px; align-items: start; }
.faq-intro { position: sticky; top: 130px; }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item button { width: 100%; min-height: 90px; padding: 0; border: 0; color: #dce0ec; background: transparent; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left; cursor: pointer; font-weight: 700; }
html[dir="rtl"] .accordion-item button { text-align: right; }
.accordion-item button i { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.accordion-item button i::before, .accordion-item button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: #7f889d; transform: translate(-50%,-50%); transition: transform .25s ease; }
.accordion-item button i::after { transform: translate(-50%,-50%) rotate(90deg); }
.accordion-item.is-open button i::after { transform: translate(-50%,-50%) rotate(0); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel p { min-height: 0; overflow: hidden; margin: 0; color: #858fa7; font-size: 14px; }
.accordion-item.is-open .accordion-panel p { padding: 0 45px 28px 0; }
html[dir="rtl"] .accordion-item.is-open .accordion-panel p { padding: 0 0 28px 45px; }

.final-cta { padding-top: 70px; }
.cta-panel { min-height: 520px; padding: 75px 40px; border: 1px solid rgba(180,166,255,.23); border-radius: 36px; background: linear-gradient(135deg, #6d56d4, #5146ae 48%, #2e5ca6); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; box-shadow: 0 45px 100px rgba(35,25,91,.34), inset 0 1px rgba(255,255,255,.18); }
.cta-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 10%, rgba(255,255,255,.18), transparent 40%); }
.cta-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.17) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.17) 1px,transparent 1px); background-size: 45px 45px; mask-image: radial-gradient(circle,#000,transparent 75%); }
.cta-orb { position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.cta-orb::before, .cta-orb::after { content: ""; position: absolute; inset: 55px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.cta-orb::after { inset: 120px; }
.cta-panel > *:not(.cta-grid,.cta-orb) { position: relative; z-index: 2; }
.cta-panel .kicker { color: #ded8ff; }
.cta-panel h2 { max-width: 850px; margin: 13px 0 0; font: 600 clamp(42px,5.5vw,70px)/1.02 var(--font-display); letter-spacing: -.05em; }
.cta-panel p { max-width: 620px; margin: 20px 0 30px; color: rgba(255,255,255,.75); font-size: 16px; }
.cta-panel .button { min-height: 56px; padding-inline: 25px; }

.site-footer { padding: 80px 0 26px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-bottom: 70px; }
.footer-brand > p { max-width: 370px; margin: 20px 0 0; color: #7f889f; font-size: 14px; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.footer-links div { display: flex; flex-direction: column; gap: 10px; }
.footer-links h3 { margin: 0 0 9px; color: #d5d9e5; font-size: 12px; }
.footer-links a { color: #737c93; font-size: 12px; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #5f687f; font-size: 10px; }
.network-status { display: inline-flex; align-items: center; gap: 8px; }
.network-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(106,240,188,.7); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay,0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-tilt] { will-change: transform; transition: transform .25s ease-out; }

@keyframes orbitFloat { 0%,100%{transform:rotate(-19deg) translateY(0)}50%{transform:rotate(-16deg) translateY(-10px)} }
@keyframes chipFloat { 0%,100%{translate:0 0}50%{translate:0 -12px} }
@keyframes scrollPulse { 0%{transform:translateY(0);opacity:0}20%{opacity:1}80%{opacity:1}100%{transform:translateY(35px);opacity:0} }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes nodePulse { 0%,100%{opacity:.55;transform:scale(.8)}50%{opacity:1;transform:scale(1.3)} }
@keyframes ringPulse { 0%,100%{opacity:.4;transform:translate(-50%,-50%) scale(.95)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.03)} }

@media (max-width: 1100px) {
  :root { --container: min(100% - 34px, 980px); }
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 35px; }
  .hero-title { font-size: clamp(50px,7vw,74px); }
  .phone-frame { width: 300px; }
  .phone-screen { min-height: 570px; }
  .hero-visual { min-height: 600px; }
  .floating-chip { min-width: 145px; }
  .product-grid { gap: 55px; }
  .stellar-grid { gap: 55px; }
  .security-grid { grid-template-columns: 1fr 1fr; }
  .security-featured { grid-column: 1 / -1; grid-row: auto; min-height: 490px; }
  .security-card:nth-child(4) { grid-column: auto; min-height: 300px; }
  .usecase-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  :root { --header-h: 70px; --container: min(100% - 28px, 720px); }
  .section { padding: 95px 0; }
  .hide-mobile { display: none; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-lead { max-width: 680px; }
  .hero-visual { min-height: 650px; margin-top: -20px; }
  .phone-frame { width: 320px; }
  .phone-screen { min-height: 600px; }
  .chip-top { right: calc(50% - 250px); }
  .chip-bottom { left: calc(50% - 250px); }
  .hero-scroll { display: none; }
  .section-heading.split { grid-template-columns: 1fr; gap: 20px; }
  .section-heading.split p { margin-top: 0; }
  .contrast-grid, .product-grid, .stellar-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-progress { left: 24px; top: 50px; bottom: 50px; right: auto; width: 1px; height: auto; }
  .step-progress span { width: 100%; height: 0; }
  .steps.is-visible .step-progress span { width: 100%; height: 100%; }
  .step-card { min-height: auto; padding-left: 80px; }
  .step-icon { position: absolute; left: 20px; top: 28px; margin: 0; }
  .step-number { top: auto; bottom: 22px; }
  .product-grid { gap: 60px; }
  .product-demo { order: 2; }
  .demo-window { transform: none; }
  .stellar-grid { gap: 50px; }
  .faq-grid { gap: 45px; }
  .faq-intro { position: static; }
  .footer-main { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 590px) {
  body { font-size: 15px; }
  .section { padding: 80px 0; }
  .brand-mark { width: 31px; }
  .brand-word { font-size: 16px; }
  .hero { padding-top: 110px; padding-bottom: 60px; }
  .hero-title { font-size: clamp(43px,14vw,63px); }
  .hero-lead { font-size: 16px; line-height: 1.65; }
  .hero-actions { width: 100%; flex-direction: column; gap: 9px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .button-link { width: auto; }
  .hero-trust { justify-content: center; gap: 11px; }
  .hero-visual { min-height: 590px; transform: scale(.9); margin: -35px -20px -45px; }
  .phone-frame { width: 300px; }
  .chip-top { right: calc(50% - 210px); top: 14%; }
  .chip-bottom { left: calc(50% - 210px); bottom: 15%; }
  .floating-chip { min-width: 135px; padding: 10px 12px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .product-copy h2, .stellar-copy h2, .faq-intro h2 { font-size: 37px; }
  .section-heading p, .product-copy > p, .stellar-copy > p, .faq-intro > p { font-size: 15px; }
  .contrast-grid { gap: 14px; }
  .contrast-card { min-height: auto; padding: 23px; }
  .contrast-top { margin-bottom: 28px; }
  .contrast-card li { font-size: 13px; }
  .step-card { padding: 25px 22px 25px 75px; }
  .step-icon { left: 17px; top: 26px; }
  .step-card p { font-size: 13px; }
  .product-demo { margin-inline: -8px; overflow: hidden; }
  .demo-window { width: 680px; transform: scale(.72); transform-origin: left top; margin-bottom: -128px; }
  html[dir="rtl"] .demo-window { transform-origin: right top; }
  .stellar-metrics { grid-template-columns: 1fr 1fr; }
  .metric-card { min-height: 190px; padding: 20px; }
  .metric-card strong { font-size: 36px; }
  .metric-wide { grid-template-columns: 1fr; }
  .network-visual { display: none; }
  .security-grid { grid-template-columns: 1fr; }
  .security-featured { grid-column: auto; min-height: 480px; }
  .security-card:nth-child(4) { min-height: 300px; }
  .architecture-note { text-align: left; }
  html[dir="rtl"] .architecture-note { text-align: right; }
  .usecase-grid { grid-template-columns: 1fr; }
  .usecase-card { min-height: 250px; }
  .usecase-icon { margin-bottom: 45px; }
  .accordion-item button { min-height: 78px; font-size: 14px; }
  .cta-panel { min-height: 470px; padding: 55px 20px; border-radius: 27px; }
  .cta-panel h2 { font-size: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 20px 0; align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}


/* ===== Phase 2 terminal aesthetic overrides ===== */
@font-face { font-family: 'Dana'; src: url('fonts/Dana-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('fonts/Dana-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('fonts/Dana-DemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Dana'; src: url('fonts/Dana-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #03100c;
  --bg-soft: #041610;
  --surface: rgba(3, 19, 14, .84);
  --surface-solid: #041510;
  --surface-light: #0a241b;
  --text: #d8f6e6;
  --muted: #9bc2af;
  --muted-2: #6c9482;
  --line: rgba(102, 255, 187, .16);
  --line-strong: rgba(132, 255, 201, .32);
  --violet: #66ffb3;
  --violet-2: #baffd8;
  --blue: #7fffd0;
  --cyan: #73f1b8;
  --green: #66ffb3;
  --red: #ff9a9a;
  --font: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
html[lang="fa"] body { font-family: 'Dana', 'Vazirmatn', sans-serif; }
body.terminal-theme {
  background:
    radial-gradient(circle at 85% 0%, rgba(102,255,179,.08), transparent 22%),
    radial-gradient(circle at 0% 100%, rgba(104,255,183,.05), transparent 24%),
    linear-gradient(180deg, #02100c 0%, #03130e 35%, #020b08 100%);
  color: var(--text);
}
body.terminal-theme::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: -3;
  background-image: radial-gradient(rgba(104,255,183,.12) .6px, transparent .6px);
  background-size: 20px 20px;
  opacity: .13;
}
::selection { color: #03100c; background: #baffd8; }
.site-header.scrolled { background: rgba(2, 11, 8, .88); border-color: var(--line); }
.brand-mark { width: 40px; }
.brand-mark img { width: 100%; height: auto; }
.brand-word { color: #dbffe7; letter-spacing: .18em; font-size: 17px; }
.desktop-nav a, .footer-links a, .hero-lead, .section-heading p, .product-copy > p, .stellar-copy > p, .faq-intro > p, .footer-brand p { color: var(--muted); }
.desktop-nav a::after { background: #66ffb3; }
.lang-switch, .menu-button, .button-ghost, .button-light, .button-primary, .button-link, .mobile-menu, .button, .screen-card, .step-card, .security-card, .concept-card, .support-card, .cta-panel, .metric-grid, .accordion-item, .plain-answer, .architecture-note, .terminal-panel {
  border-color: var(--line);
}
.lang-switch, .menu-button, .button-ghost, .mobile-menu { background: rgba(4, 20, 15, .88); }
.button-primary {
  background: linear-gradient(180deg, #7fffd0, #52d79f);
  color: #032015;
  box-shadow: 0 14px 36px rgba(25, 116, 74, .26), inset 0 1px rgba(255,255,255,.3);
}
.button-primary:hover { box-shadow: 0 18px 44px rgba(25, 116, 74, .34), inset 0 1px rgba(255,255,255,.3); }
.button-light { background: #d7ffe8; color: #062116; }
.button-link { color: #b7e8ca; }
.eyebrow, .kicker {
  color: #ffd86a;
  border-color: rgba(255, 216, 106, .18);
  background: rgba(255, 216, 106, .06);
}
.hero-title, .section-heading h2, .stellar-copy h2, .faq-intro h2, .cta-panel h2 { color: #d9ffe6; }
.gradient-text {
  background: linear-gradient(100deg, #d8ffe7 10%, #8effc7 40%, #c9ffd5 75%, #79ffc0 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero-trust i, .status-dot, .network-status i { color: #66ffb3; background: #66ffb3; box-shadow: 0 0 0 5px rgba(102,255,179,.08), 0 0 18px rgba(102,255,179,.35); }
.hero-trust i { background: transparent; }
.trust-strip { background: rgba(5, 21, 16, .76); }
.marquee-track { color: #9ed8b8; }
.marquee-track i { color: #66ffb3; }
.hero-grid-terminal { grid-template-columns: minmax(0, 1fr) minmax(450px, .95fr); }
.hero-visual::before { background: radial-gradient(circle, rgba(102,255,179,.12), transparent 65%); }
.shot-stack-two { width: min(700px, 100%); height: 620px; }
.shot-stack-two .shot-center { width: min(520px, 100%); left: 28px; top: 48px; transform: none; border-radius: 20px; }
.shot-stack-two .shot-right { width: 250px; right: 18px; top: 215px; transform: rotate(6deg); border-radius: 24px; }
.shot-stack-two .shot-left { display: none; }
.shot, .real-shot img { border-color: rgba(102,255,179,.22); box-shadow: 0 20px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(38, 116, 81, .42); }
.hero-caption-pill, .floating-note { background: rgba(3, 16, 12, .84); border-color: rgba(102,255,179,.18); color: #cbffe0; }
.note-icon, .note-ok, .security-icon, .concept-icon, .step-icon, .support-index, .shield {
  background: rgba(102,255,179,.1);
  color: #8affc5;
  border: 1px solid rgba(102,255,179,.18);
}
.screen-card, .step-card, .security-card, .concept-card, .support-card, .plain-answer, .terminal-panel, .metric-grid, .about-brand, .cta-panel {
  background:
    linear-gradient(180deg, rgba(2, 17, 13, .96), rgba(2, 11, 9, .92)),
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(102,255,179,.02) 10px 20px);
  box-shadow: inset 0 0 0 1px rgba(27, 84, 61, .45), 0 18px 50px rgba(0,0,0,.28);
}
.section-heading.split { gap: 70px; }
.capability-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 38px;
}
.capability-card {
  min-height: 220px; padding: 24px; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, rgba(4,22,17,.94), rgba(3,12,10,.9));
  box-shadow: inset 0 0 0 1px rgba(27,84,61,.35), 0 16px 38px rgba(0,0,0,.24);
}
.capability-card::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(102,255,179,.08), transparent 45%); pointer-events: none;
}
.capability-card span {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; margin-bottom: 40px;
  color: #ffd86a; border: 1px solid rgba(255,216,106,.25); background: rgba(255,216,106,.06); font: 700 13px/1 var(--font-display);
}
.capability-card h3 { margin: 0 0 8px; font: 700 20px/1.35 var(--font-display); letter-spacing: -.02em; color: #d7ffe7; }
.capability-card p { margin: 0; color: var(--muted); font-size: 15px; }
.terminal-panel { margin-top: 22px; padding: 22px; border-radius: 22px; }
.terminal-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: #d8ffe6; font: 700 13px/1 var(--font-display); text-transform: uppercase; letter-spacing: .14em; }
.terminal-head small { margin-inline-start: auto; color: #87baa0; font-size: 10px; }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; background: #66ffb3; box-shadow: 0 0 14px rgba(102,255,179,.5); }
.terminal-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 18px; }
.terminal-body p { margin: 0 0 12px; color: var(--muted); }
.terminal-body b { color: #d5ffe5; }
.concept-grid, .security-grid { gap: 18px; }
.plain-answer { margin-top: 24px; padding: 18px 20px; border-radius: 18px; }
.plain-answer strong, .architecture-note strong { display: block; margin-bottom: 6px; color: #ffe183; font-family: var(--font-display); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.metric-grid strong { color: #d8ffe6; font-family: var(--font-display); }
.stellar-s { color: #66ffb3; }
.node { background: #66ffb3; box-shadow: 0 0 14px rgba(102,255,179,.6); }
.ring { border-color: rgba(102,255,179,.22) !important; }
.about-brand, .support-card, .contact-line { border: 1px solid var(--line); border-radius: 22px; }
.badje-badge {
  display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 999px; margin-bottom: 24px;
  border: 1px solid rgba(102,255,179,.2); background: rgba(6,24,18,.8);
}
.badje-badge span { color: #d7ffe7; font-family: var(--font-display); letter-spacing: .16em; }
.badje-badge small { color: var(--muted); }
.support-panel { display: grid; gap: 18px; }
.support-card { padding: 24px; }
.support-index {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; margin-bottom: 22px; font-family: var(--font-display);
}
.support-card h3 { margin: 0 0 8px; font: 700 22px/1.3 var(--font-display); color: #d8ffe6; }
.support-card p { margin: 0 0 18px; color: var(--muted); }
.contact-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; background: rgba(4,18,14,.88); }
.contact-line small { display: block; color: var(--muted-2); }
.contact-line strong { display: block; color: #d8ffe6; }
.contact-line a { color: #8effc7; overflow-wrap: anywhere; }
.footer-links h3, .terminal-head, .kicker { font-family: var(--font-display); }
.cta-panel .kicker { color: #ffe183; border-color: rgba(255,225,131,.16); background: rgba(255,225,131,.06); }
.cta-panel { background: linear-gradient(135deg, rgba(7,34,24,.98), rgba(5,20,15,.96)); }
.cta-grid { opacity: .12; }
.hero-scroll { background: rgba(102,255,179,.18); }
.hero-scroll span { background: #66ffb3; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--delay,0ms), transform .75s var(--delay,0ms); }

@media (max-width: 1100px) {
  .hero-grid-terminal, .section-heading.split, .stellar-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .capability-grid, .terminal-body, .concept-grid, .security-grid { grid-template-columns: 1fr; }
  .shot-stack-two { height: 520px; width: min(100%, 440px); }
  .shot-stack-two .shot-center { left: 0; width: min(320px, 100%); top: 26px; }
  .shot-stack-two .shot-right { width: 175px; right: 0; top: 225px; }
  .hero-caption-grid { position: relative; bottom: auto; margin-top: 14px; }
  .contact-line { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .shot-stack-two { height: 460px; }
  .shot-stack-two .shot-center { width: 250px; }
  .shot-stack-two .shot-right { width: 145px; top: 210px; }
}


/* ===== Phase 3 old-terminal refinements ===== */
:root {
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
}
body.terminal-theme {
  letter-spacing: .004em;
}
body.terminal-theme::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .055;
  background: repeating-linear-gradient(to bottom, rgba(190,255,220,.16) 0 1px, transparent 1px 4px);
  animation: scanShift 8s linear infinite;
}
@keyframes scanShift {
  0% { transform: translateY(-2px); }
  100% { transform: translateY(2px); }
}
body, p, li, .capability-card p, .support-card p, .security-card p, .section-heading p, .hero-lead, .faq-intro p {
  line-height: 1.8;
}
html[lang='fa'] body, html[lang='fa'] p, html[lang='fa'] li, html[lang='fa'] .capability-card p, html[lang='fa'] .support-card p, html[lang='fa'] .security-card p, html[lang='fa'] .section-heading p, html[lang='fa'] .hero-lead {
  line-height: 2.05;
}
html[lang='en'] .hero-title,
html[lang='en'] .section-heading h2,
html[lang='en'] .stellar-copy h2,
html[lang='en'] .faq-intro h2,
html[lang='en'] .support-card h3,
html[lang='en'] .capability-card h3,
html[lang='en'] .cta-panel h2,
html[lang='en'] .brand-word {
  text-transform: uppercase;
  letter-spacing: .05em;
}
html[lang='fa'] .hero-title,
html[lang='fa'] .section-heading h2,
html[lang='fa'] .stellar-copy h2,
html[lang='fa'] .faq-intro h2,
html[lang='fa'] .cta-panel h2 {
  letter-spacing: 0;
  line-height: 1.45;
}
.brand-word { font-size: 18px; }
.button, .lang-switch, .menu-button, .badje-badge, .accordion-item, .capability-card, .screen-card, .step-card, .security-card, .concept-card, .support-card, .plain-answer, .terminal-panel, .cta-panel {
  border-radius: 4px;
}
.button, .lang-switch, .menu-button { box-shadow: inset 0 0 0 1px rgba(102,255,179,.15); }
.eyebrow, .kicker { font-family: var(--font-display); }
.hero-title { font-size: clamp(42px, 6vw, 80px); line-height: 1.08; }
.hero-copy { max-width: 680px; }
.hero-lead { max-width: 620px; font-size: clamp(16px, 1.25vw, 19px); }
.terminal-boot {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: #8ee8be; font: 700 12px/1.2 var(--font-display); letter-spacing: .08em;
}
.prompt {
  color: #ffd96b; text-transform: uppercase;
}
.type-line, [data-typewriter] { position: relative; }
.type-line.is-typing::after, [data-typewriter].is-typing::after, [data-typewriter].typed::after {
  content: ''; display: inline-block; width: 9px; height: 1.1em; margin-inline-start: 6px; vertical-align: -2px;
  background: #8effc7; box-shadow: 0 0 8px rgba(142,255,199,.35); animation: caretBlink .9s steps(1) infinite;
}
.type-line.typed::after, [data-typewriter].typed::after { animation-duration: 1.2s; }
@keyframes caretBlink { 0%, 48% { opacity: 1; } 50%, 100% { opacity: 0; } }
.hero-audio-hint {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--muted-2);
  font: 600 12px/1.5 var(--font-display);
}
.hint-led {
  width: 8px; height: 8px; border-radius: 50%; background: #66ffb3; box-shadow: 0 0 10px rgba(102,255,179,.45); animation: pulseLed 2s infinite;
}
@keyframes pulseLed { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: 1; transform: scale(1.2); } }
.hero-actions { align-items: stretch; }
.note-network, .note-state { animation: floatTerminal 4.5s ease-in-out infinite; }
.note-state { animation-delay: .9s; }
@keyframes floatTerminal { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.shot-stack-two { width: min(760px, 100%); height: 640px; }
.shot-stack-two .shot-center, .shot-stack-two .shot-right { overflow: hidden; background: #020c09; }
.shot, .shot img, .real-shot, .real-shot img, .screen-card img {
  display: block;
}
.shot img, .real-shot img, .screen-card img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
  aspect-ratio: auto;
}
.shot {
  position: absolute;
  border: 1px solid rgba(102,255,179,.24);
  background: linear-gradient(180deg, rgba(1,8,6,.96), rgba(4,22,16,.9));
}
.shot::before {
  content: 'LIVE'; position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 8px;
  border: 1px solid rgba(255,217,107,.24); background: rgba(255,217,107,.08); color: #ffd96b;
  font: 700 10px/1 var(--font-display); letter-spacing: .12em;
}
.shot-stack-two .shot-center { width: min(560px, 100%); top: 48px; left: 18px; }
.shot-stack-two .shot-right { width: 260px; top: 210px; right: 14px; }
.hero-caption-grid {
  position: absolute; bottom: 10px; left: 0; display: flex; flex-wrap: wrap; gap: 10px;
}
.hero-caption-pill {
  font: 700 11px/1.2 var(--font-display); letter-spacing: .08em;
}
.capability-card {
  min-height: 236px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.capability-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(66,167,119,.45), 0 20px 42px rgba(0,0,0,.3); }
.capability-card h3, .step-card h3, .security-card h3, .support-card h3 {
  font-weight: 700;
  line-height: 1.45;
}
html[lang='fa'] .capability-card h3, html[lang='fa'] .step-card h3, html[lang='fa'] .security-card h3, html[lang='fa'] .support-card h3 {
  font-family: 'Dana', 'Vazirmatn', sans-serif;
  font-size: 20px;
}
.terminal-panel {
  position: relative;
  overflow: hidden;
}
.terminal-panel::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(102,255,179,.04) 50%, transparent 100%);
  animation: panelSweep 6s linear infinite;
}
@keyframes panelSweep {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.terminal-body p { font-family: var(--font-display); font-size: 13px; }
.section-heading.split, .faq-grid, .about-grid { align-items: start; }
.accordion-item button { min-height: 84px; font-family: var(--font-display); font-size: 15px; }
html[lang='fa'] .accordion-item button { font-family: 'Dana', 'Vazirmatn', sans-serif; font-size: 17px; font-weight: 700; }
.site-footer { position: relative; z-index: 2; }
.cursor-glow { z-index: 0; }
.noise { opacity: .05; }
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .shot-stack-two { height: 580px; }
  .hero-grid-terminal { gap: 36px; }
}
@media (max-width: 760px) {
  .hero-title { font-size: clamp(34px, 10vw, 54px); }
  .hero-copy { max-width: 100%; }
  .hero-audio-hint { display: flex; }
  .shot-stack-two { width: min(100%, 430px); height: 520px; }
  .shot-stack-two .shot-center { width: min(320px, 100%); top: 22px; left: 0; }
  .shot-stack-two .shot-right { width: 170px; top: 210px; right: 0; }
  .hero-caption-grid { position: relative; bottom: auto; margin-top: 12px; }
}
@media (max-width: 420px) {
  .shot-stack-two { height: 470px; }
  .shot-stack-two .shot-center { width: 260px; }
  .shot-stack-two .shot-right { width: 145px; top: 210px; }
}

/* ===== Visitor-content layout normalization ===== */
.section-heading.split {
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}
.section-heading.split > * { min-width: 0; }
.section-heading.split p { max-width: 620px; justify-self: end; }

.concept-grid,
.steps-grid,
.metric-grid,
.about-grid {
  display: grid;
  gap: 18px;
}
.concept-grid,
.steps-grid,
.metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 22px; align-items: stretch; }

.concept-card {
  min-width: 0;
  min-height: 290px;
  padding: 26px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: 44px auto 1fr;
  grid-template-areas:
    "number icon"
    "title title"
    "body body";
  column-gap: 16px;
  row-gap: 18px;
  align-content: start;
}
.concept-card > span {
  grid-area: number;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffd86a;
  border: 1px solid rgba(255,216,106,.25);
  background: rgba(255,216,106,.06);
  font: 700 12px/1 var(--font-display);
}
.concept-card .concept-icon {
  grid-area: icon;
  justify-self: end;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0;
}
.concept-card h3 {
  grid-area: title;
  min-width: 0;
  margin: 4px 0 0;
  color: #d8ffe6;
  font: 700 20px/1.45 var(--font-display);
}
.concept-card p {
  grid-area: body;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}
html[lang="fa"] .concept-card h3 {
  font-family: 'Dana', 'Vazirmatn', sans-serif;
  letter-spacing: 0;
}

.capability-card {
  display: grid;
  grid-template-rows: 42px minmax(64px, auto) 1fr;
  align-content: start;
  gap: 18px;
}
.capability-card span { margin: 0; }
.capability-card h3 { margin: 0; align-self: start; }
.capability-card p { margin: 0; align-self: start; }

.steps-grid .step-card {
  min-width: 0;
  min-height: 340px;
  padding: 28px;
  display: grid;
  grid-template-rows: 54px minmax(74px, auto) 1fr auto;
  gap: 18px;
  align-content: start;
}
.steps-grid .step-card .step-icon {
  position: static;
  width: 48px;
  height: 48px;
  margin: 0;
}
.steps-grid .step-card .step-number {
  inset: 24px 24px auto auto;
}
html[dir="rtl"] .steps-grid .step-card .step-number {
  right: auto;
  left: 24px;
}
.steps-grid .step-card h3 { margin: 0; }
.steps-grid .step-card p { margin: 0; color: var(--muted); }
.steps-grid .step-card small {
  align-self: end;
  color: #ffd86a;
  font: 700 10px/1.6 var(--font-display);
  letter-spacing: .08em;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.security-grid .security-card,
.security-grid .security-card:nth-child(4) {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.security-grid .security-card > span {
  position: absolute;
  top: 24px;
  inset-inline-end: 24px;
  color: #ffd86a;
  font: 700 11px/1 var(--font-display);
}
.security-grid .security-art {
  min-height: 112px;
  margin: 24px 0 20px;
}
.security-grid .security-icon {
  width: 48px;
  height: 48px;
  margin: 50px 0 28px;
  flex: 0 0 auto;
}
.security-grid .security-card h3 {
  min-height: 58px;
  margin: 0 0 12px;
}
.security-grid .security-card p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.metric-grid {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--line);
}
.metric-grid article {
  min-width: 0;
  padding: 26px;
  border-inline-end: 1px solid var(--line);
  text-align: start;
}
.metric-grid article:last-child { border-inline-end: 0; }
.metric-grid strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.2;
}
.metric-grid p { margin: 8px 0 0; color: var(--muted); }

.about-brand,
.support-panel { min-width: 0; height: 100%; }
.about-brand { padding: clamp(26px, 4vw, 42px); }
.support-card { display: flex; flex-direction: column; min-width: 0; }
.support-card .button { margin-top: auto; align-self: flex-start; }

.hero-audio-hint {
  max-width: 620px;
  color: #92bca8;
  font-family: var(--font);
  letter-spacing: 0;
}
html[lang="fa"] .hero-audio-hint { font-family: 'Dana', 'Vazirmatn', sans-serif; }

@media (max-width: 1100px) {
  .concept-grid,
  .steps-grid,
  .metric-grid { grid-template-columns: 1fr; }
  .section-heading.split,
  .about-grid { grid-template-columns: 1fr; }
  .section-heading.split p { justify-self: start; max-width: 760px; }
  .security-grid { grid-template-columns: 1fr; }
  .metric-grid article { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .metric-grid article:last-child { border-bottom: 0; }
}

@media (max-width: 590px) {
  .concept-card,
  .steps-grid .step-card,
  .security-grid .security-card,
  .security-grid .security-card:nth-child(4) {
    min-height: auto;
    padding: 22px;
  }
  .capability-card { grid-template-rows: 42px auto 1fr; }
  .concept-card h3,
  .steps-grid .step-card h3,
  .security-grid .security-card h3 { min-height: 0; }
}


/* ===== Legal pages ===== */
.legal-body { min-height: 100vh; }
.legal-page { position: relative; z-index: 2; padding: 36px 0 90px; }
.legal-shell { width: min(940px, calc(100% - 34px)); }
.legal-top {
  min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 28px; margin-bottom: 34px; border-bottom: 1px solid var(--line);
}
.back-link { display: inline-flex; margin-bottom: 42px; color: #8effc7; font: 700 13px/1.4 var(--font-display); }
.legal-heading { margin-bottom: 28px; }
.legal-heading h1 {
  margin: 12px 0 10px; color: #d8ffe6; font: 700 clamp(44px, 7vw, 78px)/1.03 var(--font-display);
  letter-spacing: .02em; text-transform: uppercase;
}
.legal-meta { margin: 0; color: var(--muted-2); font: 600 12px/1.5 var(--font-display); }
.legal-summary {
  margin: 0 0 26px; padding: 24px 26px; border: 1px solid rgba(255,216,106,.22); border-radius: 4px;
  background: linear-gradient(180deg, rgba(255,216,106,.055), rgba(3,16,12,.86));
  box-shadow: inset 0 0 0 1px rgba(255,216,106,.035);
}
.legal-summary strong { display: block; margin-bottom: 8px; color: #ffd86a; font: 700 12px/1.3 var(--font-display); letter-spacing: .11em; text-transform: uppercase; }
.legal-summary p { margin: 0; color: #b7d8c5; }
.legal-toc {
  margin-bottom: 32px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(3,18,13,.82);
}
.legal-toc > strong { display: block; margin-bottom: 14px; color: #d8ffe6; font: 700 12px/1.3 var(--font-display); letter-spacing: .11em; text-transform: uppercase; }
.legal-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 40px; }
.legal-toc li { break-inside: avoid; margin: 0 0 9px; color: #6edca8; }
.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: #d8ffe6; }
.legal-content {
  border-top: 1px solid var(--line);
}
.legal-content section {
  scroll-margin-top: 30px; padding: 34px 0 30px; border-bottom: 1px solid var(--line);
}
.legal-content h2 {
  margin: 0 0 17px; color: #d8ffe6; font: 700 clamp(21px, 3vw, 28px)/1.35 var(--font-display); letter-spacing: .015em;
}
.legal-content h3 {
  margin: 25px 0 9px; color: #baffd8; font: 700 16px/1.45 var(--font-display);
}
.legal-content p { margin: 0 0 15px; color: #a9cdbb; }
.legal-content ul { margin: 8px 0 17px; padding-left: 24px; color: #a9cdbb; }
.legal-content li { margin: 0 0 10px; padding-left: 5px; }
.legal-content li::marker { color: #66ffb3; }
.legal-content a { color: #8effc7; text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: #d3f6e2; }
.legal-footer { display: flex; justify-content: space-between; gap: 20px; padding-top: 32px; color: #8effc7; font: 700 12px/1.4 var(--font-display); }
@media (max-width: 680px) {
  .legal-page { padding-top: 22px; }
  .legal-top { margin-bottom: 28px; }
  .legal-top .button { display: none; }
  .legal-heading h1 { font-size: clamp(36px, 13vw, 56px); }
  .legal-toc ol { columns: 1; }
  .legal-summary, .legal-toc { padding: 20px; }
  .legal-content section { padding: 28px 0 25px; }
  .legal-footer { flex-direction: column; }
}
