/* ============================================================================
   STEELGATE — design system
   Themeable monochrome (light default / dark toggle). Schematic / gate motif.
   Drives both the SteelGate umbrella site and the RentalGate product site.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Manrope:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Noto+Kufi+Arabic:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ── theme tokens ─────────────────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --fg:        #0b0b0c;
  --surface:   #f5f4f2;
  --surface-2: #eceae6;
  --line:      #e4e3df;
  --muted:     #65656b;
  --faint:     #9a9a9e;

  /* button tokens flip inside .invert panels and across themes */
  --btn-bg: var(--fg);
  --btn-fg: var(--bg);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --font-display: 'Bricolage Grotesque', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1140px;
  --ease: cubic-bezier(.22,1,.36,1);
  --nav-h: 66px;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg:        #0a0a0b;
  --fg:        #f6f6f4;
  --surface:   #131315;
  --surface-2: #1b1b1e;
  --line:      rgba(255,255,255,.12);
  --muted:     rgba(255,255,255,.58);
  --faint:     rgba(255,255,255,.34);
  color-scheme: dark;
}

/* a panel painted in the opposite ink — auto-adapts to either theme */
.invert {
  background: var(--fg);
  color: var(--bg);
  --line:    color-mix(in srgb, var(--bg) 15%, transparent);
  --muted:   color-mix(in srgb, var(--bg) 60%, transparent);
  --faint:   color-mix(in srgb, var(--bg) 36%, transparent);
  --surface: color-mix(in srgb, var(--bg) 7%, var(--fg));
  --btn-bg:  var(--bg);
  --btn-fg:  var(--fg);
}

/* arabic typography (no layout flip — stays LTR) */
html[data-lang="ar"] {
  --font-display: 'Noto Kufi Arabic', sans-serif;
  --font-body:    'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-mono:    'IBM Plex Sans Arabic', sans-serif;
}
html[data-lang="ar"] .eyebrow,
html[data-lang="ar"] .mono { letter-spacing: 0; }

/* ── reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font-body);
  background: var(--bg); color: var(--fg);
  line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background .5s var(--ease), color .5s var(--ease);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--fg); color: var(--bg); }

/* ── layout helpers ───────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.surface { background: var(--surface); }
.clip { overflow: hidden; }
.center { text-align: center; }

.eyebrow, .mono {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.center { justify-content: center; }

/* ── type ─────────────────────────────────────────────────────────────── */
.display { font-family: var(--font-display); font-weight: 600; line-height: 1.03; letter-spacing: -.025em; }
h1.display { font-size: clamp(2.4rem, 6.2vw, 5rem); }
h2.display { font-size: clamp(1.9rem, 4.3vw, 3.3rem); line-height: 1.06; }
h3.display { font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.12; }
.display em { font-style: italic; font-weight: 500; color: var(--muted); }
.lede { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--muted); font-weight: 400; max-width: 48ch; }

.head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head h2 { margin: 1rem 0 .9rem; }
.head.center { margin-left: auto; margin-right: auto; }

/* ── buttons (compact, minimal) ───────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  font-size: .85rem; font-weight: 600; line-height: 1;
  padding: .68rem 1.2rem; border-radius: 100px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bg);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.btn .arw { transition: transform .45s var(--ease); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fg); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--btn-bg); }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:hover .arw { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn span { position: relative; z-index: 1; }

.btn-ghost { background: transparent; color: inherit; border-color: var(--line); }
.btn-ghost::after { background: var(--btn-bg); }
.btn-ghost:hover { color: var(--btn-fg); border-color: var(--btn-bg); }

.btn-sm { padding: .5rem .9rem; font-size: .8rem; }

.arrow-link { font-weight: 600; font-size: .88rem; display: inline-flex; gap: 7px; align-items: center; }
.arrow-link .arw { transition: transform .4s var(--ease); }
.arrow-link:hover .arw { transform: translateX(5px); }

/* ── scroll progress bar ──────────────────────────────────────────────── */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 300;
  background: var(--fg); transition: width .1s linear; }

/* ── NAV (injected by layout.js) ──────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; height: var(--nav-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(16px) saturate(180%); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 28px; height: 28px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.theme-img-dark { display: none; }
html[data-theme="dark"] .theme-img-dark { display: block; }
html[data-theme="dark"] .theme-img-light { display: none; }

.nav-mid { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 32px); }
.nav-mid a { font-size: .88rem; font-weight: 500; color: var(--muted); position: relative; transition: color .25s; }
.nav-mid a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: currentColor; transition: width .3s var(--ease); }
.nav-mid a:hover, .nav-mid a.active { color: var(--fg); }
.nav-mid a.active::after, .nav-mid a:hover::after { width: 100%; }

.nav-end { display: flex; align-items: center; gap: 12px; flex: none; }

/* lang switcher */
.lang { display: inline-flex; gap: 2px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; padding: 3px; }
.lang button { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .04em;
  padding: 4px 9px; border-radius: 100px; color: var(--muted); transition: all .2s; }
.lang button.on { background: var(--fg); color: var(--bg); }

/* theme toggle (sun/moon) */
.theme-tg { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease); }
.theme-tg:hover { transform: rotate(12deg); }
.theme-tg svg { width: 18px; height: 18px; position: absolute; transition: transform .5s var(--ease), opacity .4s; }
.theme-tg .ic-moon { transform: translateY(140%) rotate(-40deg); opacity: 0; }
html[data-theme="dark"] .theme-tg .ic-sun  { transform: translateY(-140%) rotate(40deg); opacity: 0; }
html[data-theme="dark"] .theme-tg .ic-moon { transform: none; opacity: 1; }

/* hamburger */
.burger { display: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  place-items: center; }
.burger span { display: block; width: 16px; height: 1.6px; background: currentColor; position: relative; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.6px;
  background: currentColor; transition: .3s var(--ease); }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* mobile menu panel */
.menu { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 190; background: var(--bg);
  padding: 2rem clamp(20px,5vw,40px); display: flex; flex-direction: column; gap: .4rem;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease); }
body.menu-open .menu { opacity: 1; transform: none; pointer-events: auto; }
.menu a { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; padding: .55rem 0;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.menu .menu-foot { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 1.2rem; padding-top: 1.5rem; }
.menu .menu-foot .lang { align-self: flex-start; }
.menu .menu-foot .btn { width: 100%; justify-content: center; }

/* ── FOOTER (injected) ────────────────────────────────────────────────── */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 4.5rem 0 2.2rem; }
.footer .top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap;
  padding-bottom: 2.6rem; border-bottom: 1px solid var(--line); }
.footer .blurb { max-width: 32ch; margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.footer-cols { display: flex; gap: clamp(2rem, 6vw, 4.5rem); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; font-size: .9rem; color: var(--muted); padding: .3rem 0;
  transition: color .2s, transform .2s var(--ease); }
.footer-col a:hover { color: var(--fg); transform: translateX(3px); }
.footer .bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  flex-wrap: wrap; padding-top: 1.8rem; font-family: var(--font-mono); font-size: .72rem; color: var(--faint); }

/* ── gate signature ───────────────────────────────────────────────────── */
.gate path { stroke-linecap: round; stroke-linejoin: round; fill: none; }
.gate .trace { stroke-dasharray: var(--len, 700); stroke-dashoffset: var(--len, 700); }
.gate .node { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(0); }
.gate.draw .trace { animation: trace-draw 1.5s var(--ease) forwards; }
.gate.draw .node { animation: node-pop .5s var(--ease) forwards; }
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@keyframes node-pop { to { opacity: 1; transform: scale(1); } }

/* ── ambient lattice ──────────────────────────────────────────────────── */
.lattice { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lattice::before { content: ""; position: absolute; inset: -2px;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 0%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, #000 0%, transparent 78%);
  opacity: .6; }

/* ── scroll cue ───────────────────────────────────────────────────────── */
.scrollcue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
  transition: opacity .4s; }
.scrollcue.hide { opacity: 0; }
.scrollcue .mouse { width: 22px; height: 34px; border: 1.5px solid var(--faint); border-radius: 12px; position: relative; }
.scrollcue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 6px;
  border-radius: 3px; background: var(--faint); transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 60%{opacity:1;transform:translate(-50%,8px)} 100%{opacity:0;transform:translate(-50%,10px)} }

/* ── reveal + load ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{transition-delay:.08s}.reveal[data-d="2"]{transition-delay:.16s}
.reveal[data-d="3"]{transition-delay:.24s}.reveal[data-d="4"]{transition-delay:.32s}
.reveal[data-d="5"]{transition-delay:.40s}.reveal[data-d="6"]{transition-delay:.48s}

.line { display: block; overflow: hidden; }
.line > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); }
.ready .line > span { transform: none; }
.ready .line:nth-child(2) > span { transition-delay: .09s; }
.ready .line:nth-child(3) > span { transition-delay: .18s; }

/* page-load curtain — self-lifts via CSS so it can never get stuck */
.curtain { position: fixed; inset: 0; z-index: 9999; background: var(--fg); display: grid; place-items: center;
  animation: curtain-up .8s var(--ease) .55s forwards; }
.curtain svg { width: 64px; color: var(--bg); opacity: .9; }
@keyframes curtain-up { to { transform: translateY(-100%); pointer-events: none; visibility: hidden; } }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-mid { display: none; }
  .burger { display: grid; }
  .nav-end .lang { display: none; }   /* lang lives in the menu on mobile */
  .scrollcue { display: none; }       /* avoid colliding with hero buttons on phones */
}
@media (min-width: 861px) { .menu { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .line > span { opacity: 1 !important; transform: none !important; }
  .gate .trace { stroke-dashoffset: 0 !important; }
  .gate .node { opacity: 1 !important; transform: none !important; }
  .curtain { display: none !important; }
}

/* utilities */
@media (max-width: 860px) { .hide-mobile { display: none !important; } }
@media (min-width: 861px) { .show-mobile { display: none !important; } }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.idx { font-family: var(--font-mono); font-size: .72rem; color: var(--faint); letter-spacing: .12em; margin-bottom: 1.3rem; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* ============================================================================
   SHARED COMPONENTS
   ========================================================================== */

/* ── hero / sub-page header ───────────────────────────────────────────── */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(2.5rem,7vw,5.5rem)) 0 clamp(3rem,7vw,5rem); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(2rem,5vw,3.5rem); align-items: center; }
.hero h1 { margin: 1.3rem 0 1.4rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2rem; }

.subhero { position: relative; padding: calc(var(--nav-h) + clamp(2.2rem,6vw,4rem)) 0 clamp(1.5rem,4vw,2.5rem); }
.subhero .lede { margin-top: 1rem; }
.subhero h1 { margin-top: 1rem; }

.gate-stage { position: relative; display: grid; place-items: center; }
.gate-stage .gate { width: min(92%, 440px); color: var(--fg); }
.gate-halo { position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--fg) 9%, transparent), transparent 62%); filter: blur(6px); }

.pills { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 2rem; }
.pill { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: .45rem .85rem; }

/* ── generic cards grid ───────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(0,0,0,.08); }
.card .ic, .feature .ic { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 1.2rem; }
.card .ic svg, .feature .ic svg { width: 21px; height: 21px; stroke: currentColor; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: .5rem; }
.card p { font-size: .92rem; color: var(--muted); }

/* ── product card (text + visual) ─────────────────────────────────────── */
.product { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,3vw,2.5rem);
  align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(1.6rem,3vw,2.6rem); overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease); }
.product:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--fg) 26%, var(--line)); }
.product .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--fg) 45%, transparent); animation: live 2s ease-out infinite; }
@keyframes live { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--fg) 45%,transparent)} 70%{box-shadow:0 0 0 9px transparent} 100%{box-shadow:0 0 0 0 transparent} }
.dot.idle { background: var(--faint); animation: none; }
.product h3 { margin-bottom: .8rem; }
.product p { color: var(--muted); font-size: .96rem; }
.product .links { margin-top: 1.6rem; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.product .visual { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); border: 1px solid var(--line);
  display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb,var(--fg) 5%,transparent), transparent 60%); }
.product .visual .gate { width: 54%; color: var(--fg); }
.product.upcoming { border-style: dashed; }
.product.upcoming p, .product.upcoming h3 { opacity: .82; }
.product.upcoming .visual .gate { opacity: .42; }
.blueprint .scan { position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb,var(--fg) 50%,transparent), transparent);
  animation: scan 3.4s ease-in-out infinite; }
@keyframes scan { 0%{top:8%} 50%{top:92%} 100%{top:8%} }

/* ── features grid (hairline) ─────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.feature { background: var(--bg); padding: 1.9rem 1.8rem; transition: background .3s; }
.feature:hover { background: var(--surface); }
.feature h3 { font-size: 1.0rem; font-weight: 600; margin-bottom: .5rem; }
.feature p { font-size: .9rem; color: var(--muted); }
.alsoline { margin-top: 1.5rem; font-family: var(--font-mono); font-size: .78rem; color: var(--faint); }

/* ── steps (numbered) ─────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 1rem; }
.step { background: var(--surface); padding: 2.2rem 1.7rem; transition: background .3s; }
.step .n { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; margin-bottom: 2rem;
  display: inline-flex; align-items: center; gap: 8px; }
.step .n::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.step h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: .5rem; }
.step p { font-size: .88rem; color: var(--muted); }

/* ── plans ────────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.1rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.plan:hover { transform: translateY(-5px); box-shadow: 0 22px 56px rgba(0,0,0,.10); }
.plan .pname { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.plan .ptag { font-size: .9rem; color: var(--muted); margin: .8rem 0 1.3rem; }
.plan .pcaps { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em;
  line-height: 1.15; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.plist { list-style: none; margin: 1.3rem 0 1.7rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.plist li { font-size: .9rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.plist li .ck { flex: none; margin-top: 1px; font-weight: 600; }
.plist li.off { opacity: .5; }
.plan.feat { background: var(--fg); color: var(--bg);
  --line: color-mix(in srgb, var(--bg) 15%, transparent);
  --muted: color-mix(in srgb, var(--bg) 62%, transparent);
  --btn-bg: var(--bg); --btn-fg: var(--fg); }
.plan.feat .pname, .plan.feat .ptag, .plan.feat .plist li { color: var(--muted); }
.plan.feat .pcaps { color: var(--bg); }

/* ── flow card (schematic, no fake data) ──────────────────────────────── */
.flowcard { position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 2rem; box-shadow: 0 28px 70px rgba(0,0,0,.08); }
.flowcard .cap { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
  padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.flow { list-style: none; margin-top: .5rem; }
.flow li { position: relative; display: flex; gap: 15px; padding: 1rem 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 36px; bottom: -4px; width: 2px;
  background: var(--line); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.ready .flow li:not(:last-child)::after { transform: scaleY(1); }
.ready .flow li:nth-child(2)::after { transition-delay: .15s; } .ready .flow li:nth-child(3)::after { transition-delay: .3s; }
.flow .knob { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--fg);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; background: var(--bg); z-index: 1; }
.flow li.done .knob { background: var(--fg); color: var(--bg); }
.flow .ftxt b { display: block; font-weight: 600; font-size: .96rem; }
.flow .ftxt span { font-size: .85rem; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0; font-size: 1.05rem; font-weight: 600; font-family: var(--font-display); }
.faq-q .pm { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.8px;
  background: currentColor; transform: translate(-50%,-50%); transition: transform .3s var(--ease); }
.faq-q .pm::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .pm::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 0 1.4rem; color: var(--muted); font-size: .95rem; max-width: 60ch; }

/* ── CTA band ─────────────────────────────────────────────────────────── */
.ctaband { text-align: center; }
.ctaband .inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.ctaband .gate { width: 76px; margin: 0 auto 1.4rem; color: var(--fg); }
.ctaband h2 { margin: 1rem 0 1.1rem; }
.ctaband p { color: var(--muted); max-width: 46ch; margin: 0 auto 2rem; }

/* ── legal / prose ────────────────────────────────────────────────────── */
.prose { max-width: 70ch; }
.prose .upd { font-family: var(--font-mono); font-size: .74rem; color: var(--faint);
  letter-spacing: .04em; margin-bottom: 2.4rem; }
.prose h2 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600;
  letter-spacing: -.01em; margin: 2.4rem 0 .8rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: .96rem; line-height: 1.75; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: none; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .5rem; }
.prose li { display: flex; gap: 10px; }
.prose li::before { content: "—"; color: var(--faint); flex: none; }
.prose a { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }

/* ── email block ──────────────────────────────────────────────────────── */
.emailcard { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(2rem,5vw,3.5rem); }
.emailcard .big { font-family: var(--font-display); font-size: clamp(1.5rem,4vw,2.4rem); font-weight: 600;
  letter-spacing: -.02em; word-break: break-word; }
.emailcard .big:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ── responsive component stacking ────────────────────────────────────── */
@media (max-width: 940px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .gate-stage { order: -1; max-width: 320px; margin: 0 auto; }
  .product { grid-template-columns: 1fr; }
  .product .visual { order: -1; max-width: 360px; }
}
@media (max-width: 540px) {
  .features, .steps { grid-template-columns: 1fr; }
}
