/* ContaBilè — Home page styles */

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 140px;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 80%);
}
.hero-wrap { position: relative; z-index: 2; }

/* ambient finance motion */
.ambient { position: absolute; top: 0; height: 100%; pointer-events: none; overflow: hidden; z-index: 1; opacity: calc(0.5 + var(--bull-intensity, 1) * 0.25); }
.ambient-left { left: 0; width: clamp(120px, 12vw, 200px); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
.ambient-right { right: 0; width: clamp(140px, 14vw, 240px); mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); }
@media (max-width: 1180px) { .ambient { display: none; } }

.amb-ticker { height: 100%; overflow: hidden; padding: 80px 0; }
.amb-ticker-track { display: flex; flex-direction: column; gap: 18px; animation: amb-scroll 90s linear infinite; }
@keyframes amb-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.amb-ticker-track > div {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 14px; border-left: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em;
}
.t-sym { color: var(--text-dim); text-transform: uppercase; }
.t-val { color: var(--text-muted); font-size: 11px; }
.t-val.up { color: #7FC99A; }
.t-val.down { color: #5EB88A; }

.amb-chart { position: absolute; top: 40%; right: 20px; width: 100%; height: 55%; }
.amb-path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: amb-draw 6s var(--ease-out) forwards; }
@keyframes amb-draw { to { stroke-dashoffset: 0; } }
.amb-path-fill { opacity: 0; animation: amb-fade 4s 1s forwards; }
@keyframes amb-fade { to { opacity: 1; } }

.amb-num { position: absolute; top: 15%; right: 24px; display: flex; flex-direction: column; gap: 6px; }
.amb-num .mono { font-size: 10px; letter-spacing: .2em; color: var(--accent); }
.amb-n { font-family: var(--font-display); font-style: italic; font-size: 44px; line-height: 1; color: var(--text); letter-spacing: -0.03em; }
.amb-n small { font-family: var(--font-mono); font-size: 14px; color: var(--accent); font-style: normal; margin-left: 2px; }

.amb-candles { position: absolute; bottom: 80px; right: 24px; display: flex; align-items: flex-end; gap: 3px; height: 80px; }
.amb-candles span { width: 6px; background: var(--text-muted); opacity: .5; height: var(--h); border-radius: 1px; animation: cand-rise 1.4s var(--ease-out) backwards; }
.amb-candles span.r { background: var(--accent); opacity: .8; }
.amb-candles span:nth-child(1) { animation-delay: .1s; }
.amb-candles span:nth-child(2) { animation-delay: .2s; }
.amb-candles span:nth-child(3) { animation-delay: .3s; }
.amb-candles span:nth-child(4) { animation-delay: .4s; }
.amb-candles span:nth-child(5) { animation-delay: .5s; }
.amb-candles span:nth-child(6) { animation-delay: .6s; }
.amb-candles span:nth-child(7) { animation-delay: .7s; }
.amb-candles span:nth-child(8) { animation-delay: .8s; }
.amb-candles span:nth-child(9) { animation-delay: .9s; }
@keyframes cand-rise { from { height: 0; opacity: 0; } }

/* show only active variant */
.hero-doors, .hero-editorial, .hero-ticker { display: none; }
[data-hero="doors"] .hero-doors { display: block; }
[data-hero="editorial"] .hero-editorial { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
[data-hero="grid"] .hero-ticker { display: block; }

/* shared hero top */
.hero-top { max-width: 900px; margin: 0 auto 80px; text-align: center; }
.hero-top .pill { margin-bottom: 32px; }
.hero-title {
  font-size: clamp(56px, 9vw, 128px);
  margin: 0 0 32px;
  font-family: var(--font-display);
}
.hero-title em { font-style: italic; }
.hero-sub {
  font-size: clamp(17px, 1.5vw, 22px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.45;
  text-wrap: pretty;
}

/* doors */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
@media (max-width: 820px) { .doors { grid-template-columns: 1fr; } }

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  backdrop-filter: blur(20px);
  transition: transform .4s var(--ease-out), border-color .3s, background .3s;
  min-height: 460px;
  overflow: hidden;
}
.door::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 120% 60% at 50% 100%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 70%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.door:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.door:hover::before { opacity: 1; }
.door-conta { background: linear-gradient(180deg, rgba(94,184,138,0.05), rgba(255,255,255,0.01)); }
.door-bile  { background: linear-gradient(180deg, rgba(91,142,242,0.04), rgba(255,255,255,0.01)); }

.door-hdr { display: flex; justify-content: space-between; align-items: center; }
.door-tag { color: var(--text-muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.pill-ok { color: var(--accent); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }
.pill-ok .dot { background: var(--accent); }

.door-name { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.door-name h2 { font-size: 96px; margin: 0; font-family: var(--font-display); font-style: italic; }
.door-trl { color: var(--text-dim); font-size: 12px; }

.door-desc { color: var(--text-muted); font-size: 16px; line-height: 1.5; margin: 0; max-width: 90%; }

.door-ui { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: rgba(0,0,0,0.2); border-radius: var(--r-md); border: 1px solid var(--border); }
.door-row { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; gap: 12px; font-size: 11px; }
.door-row .mono { color: var(--text-muted); font-size: 10px; letter-spacing: .12em; }
.door-row .mono:last-child { text-align: right; color: var(--text); }
.door-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.door-bar span { display: block; height: 100%; background: var(--text); border-radius: 2px; transition: width 1s var(--ease-out); }
.door-bar-accent span { background: var(--accent); }

.door-ui-bile { gap: 16px; padding: 16px; }
.spark svg { width: 100%; height: 60px; display: block; }
.door-alerts { display: flex; flex-direction: column; gap: 8px; }
.alert { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--text-muted); }
.alert-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); }
.alert-dot.warn { background: #5EB88A; box-shadow: 0 0 8px #5EB88A; }
.alert-dot.ok { background: #7FC99A; }

.door-cta { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; font-size: 15px; font-weight: 500; }
.door-cta .arrow { transition: transform .3s; }
.door:hover .door-cta .arrow { transform: translateX(6px); }

/* hero foot */
.hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.aud-toggle { display: inline-flex; padding: 6px; border-radius: 999px; gap: 4px; }
.aud { padding: 10px 18px; border-radius: 999px; display: flex; flex-direction: column; align-items: flex-start; color: var(--text-muted); transition: .2s; }
.aud.on { background: var(--surface-2); color: var(--text); }
.aud .mono { font-size: 11px; letter-spacing: .14em; }
.aud small { font-size: 11px; opacity: .7; }

/* editorial variant */
.hero-ed-title { font-size: clamp(64px, 9vw, 140px); margin: 24px 0 32px; }
.hero-ed-body { font-size: 20px; color: var(--text-muted); margin-bottom: 40px; max-width: 520px; line-height: 1.45; }
.ed-card { padding: 32px; }
.ed-card-hdr { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 11px; letter-spacing: .14em; margin-bottom: 20px; }
.ed-big { font-family: var(--font-display); font-style: italic; font-size: 96px; line-height: 1; letter-spacing: -0.03em; }
.ed-delta { font-size: 14px; margin: 8px 0 24px; }
.ed-spark svg { width: 100%; height: 120px; }
.ed-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.ed-meta > div { display: flex; flex-direction: column; gap: 4px; }
.ed-meta .mono { font-size: 10px; letter-spacing: .14em; color: var(--text-muted); }
.ed-meta b { font-size: 16px; font-weight: 500; }

/* ticker grid variant */
.hero-ticker-top { text-align: center; max-width: 900px; margin: 0 auto 64px; }
.hero-ticker-title { font-size: clamp(56px, 8vw, 112px); margin: 0 0 28px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.hero-ticker-sub { font-size: 20px; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.ticker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
  margin-bottom: 48px;
}
.tile {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between;
  grid-column: span 2;
}
.tile-big { grid-column: span 4; grid-row: span 2; padding: 36px; }
.tile-big-num { font-family: var(--font-display); font-style: italic; font-size: 96px; line-height: 1; letter-spacing: -0.03em; }
.tile-num { font-family: var(--font-display); font-style: italic; font-size: 56px; line-height: 1; }
.tile-num small { font-family: var(--font-mono); font-size: 16px; font-style: normal; color: var(--text-muted); margin-left: 4px; }
.tile .mono { font-size: 11px; letter-spacing: .14em; color: var(--text-muted); }
.tile-accent { background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 18%, transparent), color-mix(in oklab, var(--accent) 4%, transparent)); border-color: color-mix(in oklab, var(--accent) 35%, transparent); }
.tile-accent p { font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.2; margin: 8px 0 0; }
.mini-bars { display: flex; gap: 4px; align-items: flex-end; height: 100%; max-height: 120px; margin-top: 16px; }
.mini-bars span { flex: 1; background: var(--text-muted); border-radius: 2px; opacity: .4; min-height: 4px; }
.mini-bars .hot { background: var(--accent); opacity: 1; }
@media (max-width: 820px) {
  .ticker-grid { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile-big { grid-column: span 2; grid-row: auto; }
}

/* ============ TRUST / MARQUEE ============ */
.trust {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.trust-label { text-align: center; font-size: 11px; letter-spacing: .16em; color: var(--text-muted); margin-bottom: 32px; }
.marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.logo-word { font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--text-muted); opacity: .65; }

/* ============ SECTION HEAD ============ */
.section-head { max-width: 760px; margin-bottom: 80px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(48px, 6vw, 88px); margin: 16px 0 20px; }
.section-sub { font-size: 19px; color: var(--text-muted); line-height: 1.45; text-wrap: pretty; margin: 0; }

/* ============ AMBIENT BACKGROUND MOTION (global) ============ */
.ambient-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; opacity: calc(0.35 + var(--bull-intensity, 1) * 0.2); }
.ambient-bg svg { position: absolute; }
.ambient-bg .bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 70%);
}
.ambient-bg .bg-line {
  stroke: var(--accent); stroke-width: 1; fill: none; opacity: .4;
  stroke-dasharray: 2000; stroke-dashoffset: 2000;
  animation: amb-draw-slow 18s var(--ease-out) infinite;
}
@keyframes amb-draw-slow { 0%{stroke-dashoffset:2000} 60%,100%{stroke-dashoffset:0} }
.ambient-bg .bg-nums {
  position: absolute; font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: .1em; white-space: nowrap;
  opacity: .5;
}
.bg-flow { animation: bg-flow 30s linear infinite; }
@keyframes bg-flow { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.bg-drift-x { animation: bg-drift-x 60s ease-in-out infinite alternate; }
@keyframes bg-drift-x { to { transform: translateX(40px); } }

section > .wrap { position: relative; z-index: 2; }
section > .section-head { position: relative; z-index: 2; }

/* ============ PRODUCTS ============ */
.products { background: var(--bg); position: relative; overflow: hidden; }
.product-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .product-cards { grid-template-columns: 1fr; } }
.product-card {
  padding: 48px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 520px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .4s var(--ease-out), border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.pc-index { font-size: 11px; letter-spacing: .16em; color: var(--text-muted); }
.pc-name { font-size: 96px; margin: 0; font-family: var(--font-display); font-style: italic; line-height: 1; }
.product-conta .pc-name { color: var(--accent); }
.pc-tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.pc-list { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-direction: column; gap: 12px; }
.pc-list li { position: relative; padding-left: 24px; font-size: 16px; color: var(--text); }
.pc-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.pc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.pc-arrow { font-size: 24px; transition: transform .3s; }
.product-card:hover .pc-arrow { transform: translateX(6px); }

/* ============ HOW ============ */
.how { background: var(--bg-2); position: relative; overflow: hidden; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px) { .how-grid { grid-template-columns: 1fr; } }
.how-step { display: flex; flex-direction: column; gap: 16px; }
.how-num { font-size: 11px; letter-spacing: .16em; color: var(--accent); }
.how-title { font-family: var(--font-display); font-style: italic; font-size: 36px; margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
.how-vis { margin-top: 24px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); min-height: 220px; display: flex; flex-direction: column; gap: 12px; }
.chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); align-self: flex-start; }
.how-arrow { text-align: center; color: var(--text-dim); margin: 4px 0; }
.how-model { padding: 10px 14px; background: color-mix(in oklab, var(--accent) 15%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 35%, transparent); color: var(--accent); border-radius: 8px; font-size: 12px; text-align: center; }
.bubble { padding: 12px 16px; border-radius: 14px; max-width: 85%; font-size: 14px; line-height: 1.4; }
.bubble-user { background: var(--surface-2); border: 1px solid var(--border); align-self: flex-end; }
.bubble-ai { background: color-mix(in oklab, var(--accent) 15%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent); }
.bubble-ai .mono { color: var(--accent); font-size: 10px; letter-spacing: .14em; display: block; margin-bottom: 4px; }
.alert-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 13px; color: var(--text-muted); }
.alert-line:last-child { border-bottom: none; }

/* ============ USE CASES ============ */
.cases { background: var(--bg); position: relative; overflow: hidden; }
.cases-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.case-tab { padding: 10px 18px; border-radius: 999px; font-size: 13px; color: var(--text-muted); border: 1px solid var(--border); background: transparent; transition: .2s; }
.case-tab:hover { color: var(--text); }
.case-tab.on { background: var(--surface-2); color: var(--text); border-color: var(--border-strong); }

.case-pane { display: none; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.case-pane.on { display: grid; }
@media (max-width: 820px) { .case-pane.on { grid-template-columns: 1fr; } }
.case-left h3 { font-size: 64px; margin: 0 0 20px; font-family: var(--font-display); font-style: italic; }
.case-left p { font-size: 18px; color: var(--text-muted); margin: 0 0 24px; line-height: 1.5; }
.case-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.case-list li { padding-left: 20px; position: relative; color: var(--text-muted); }
.case-list li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); font-weight: bold; }
.case-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.metric-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.metric-card .mono { font-size: 10px; letter-spacing: .16em; color: var(--text-muted); }
.metric-card b { font-family: var(--font-display); font-style: italic; font-size: 48px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; }
.metric-card b small { font-family: var(--font-mono); font-size: 14px; color: var(--text-muted); margin-left: 4px; font-style: normal; }
.metric-card small { font-size: 12px; color: var(--text-muted); }

/* ============ SECURITY ============ */
.security { background: var(--bg-2); position: relative; overflow: hidden; }
.sec-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: flex-start; }
@media (max-width: 820px) { .sec-wrap { grid-template-columns: 1fr; } }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-card { padding: 28px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--surface); transition: .3s; }
.sec-card:hover { border-color: var(--border-strong); background: var(--surface-2); }
.sec-ico { font-size: 22px; color: var(--accent); margin-bottom: 14px; }
.sec-card h4 { margin: 0 0 8px; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.sec-card p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ============ PRICING TEASER ============ */
.pricing-teaser { background: var(--bg); position: relative; overflow: hidden; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .price-cards { grid-template-columns: 1fr; } }
.price-card { padding: 40px; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); position: relative; display: flex; flex-direction: column; gap: 16px; }
.price-card-hero { background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 18%, transparent), color-mix(in oklab, var(--accent) 4%, transparent)); border-color: color-mix(in oklab, var(--accent) 35%, transparent); }
.price-tag { position: absolute; top: -12px; left: 24px; padding: 4px 12px; background: var(--accent); color: var(--accent-contrast); border-radius: 999px; font-size: 10px; letter-spacing: .14em; }
.price-name { font-family: var(--font-display); font-style: italic; font-size: 32px; }
.price-amount b { font-family: var(--font-display); font-style: italic; font-size: 64px; font-weight: 400; letter-spacing: -0.02em; }
.price-amount small { font-family: var(--font-mono); color: var(--text-muted); margin-left: 6px; font-size: 14px; }
.price-card p { flex: 1; margin: 0; font-size: 14px; line-height: 1.5; }

/* ============ FAQ ============ */
.faq { background: var(--bg-2); position: relative; overflow: hidden; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: flex-start; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 19px; letter-spacing: -0.01em; padding: 4px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 28px; color: var(--accent); font-weight: 300; line-height: 1; transition: transform .3s; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 12px 0 0; color: var(--text-muted); font-size: 15px; line-height: 1.6; max-width: 640px; text-wrap: pretty; }

/* ============ WAITLIST ============ */
.waitlist {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.waitlist::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, color-mix(in oklab, var(--accent) 12%, transparent), transparent 70%);
  opacity: calc(var(--bull-intensity, 1) * 0.7);
}
.waitlist-inner { position: relative; max-width: 720px; margin: 0 auto; z-index: 2; }
.waitlist-bull { margin-bottom: 32px; }
.waitlist-bull img { width: 140px; margin: 0 auto; opacity: calc(var(--bull-intensity, 1) * 0.9); filter: drop-shadow(0 0 40px color-mix(in oklab, var(--accent) 50%, transparent)); }
.waitlist-title { margin: 20px auto; }
.waitlist-form { display: flex; gap: 8px; max-width: 480px; margin: 40px auto 12px; position: relative; flex-wrap: wrap; justify-content: center; }
.waitlist-form input {
  flex: 1; min-width: 240px; padding: 14px 20px; font-size: 15px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: 999px; font-family: var(--font-sans); outline: none;
  transition: border-color .2s;
}
.waitlist-form input:focus { border-color: var(--accent); }
.waitlist-form .ok { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); color: var(--accent); font-size: 12px; letter-spacing: .12em; opacity: 0; transition: opacity .3s; }
.waitlist-form .ok.show { opacity: 1; }
.waitlist-meta { margin-top: 32px; font-size: 11px; letter-spacing: .14em; }

/* ============ RESPONSIVE TUNING ============ */
@media (max-width: 1024px) {
  .hero { padding-top: 130px; padding-bottom: 100px; min-height: auto; }
  .hero-top { margin-bottom: 56px; }
  .hero-top .pill { margin-bottom: 24px; }
  [data-hero="editorial"] .hero-editorial { grid-template-columns: 1fr; gap: 36px; }
  .door { min-height: 420px; padding: 32px; }
  .door-name h2 { font-size: clamp(58px, 9vw, 84px); }
  .product-card { min-height: 460px; padding: 36px; }
  .pc-name { font-size: clamp(62px, 10vw, 86px); }
  .case-pane { gap: 32px; }
  .case-left h3 { font-size: clamp(48px, 8vw, 60px); }
}

@media (max-width: 820px) {
  .hero { padding-top: 112px; padding-bottom: 84px; }
  .hero-title { margin-bottom: 20px; }
  .hero-sub { font-size: 16px; }
  .doors { gap: 16px; margin-bottom: 32px; }
  .door { min-height: auto; padding: 24px; gap: 16px; }
  .door-name { flex-wrap: wrap; gap: 8px; }
  .door-desc { max-width: 100%; font-size: 15px; }
  .door-row { grid-template-columns: 64px 1fr 64px; gap: 8px; }
  .hero-foot { align-items: stretch; }
  .aud-toggle { width: 100%; justify-content: center; }
  .hero-foot .btn { width: 100%; justify-content: center; }

  .hero-ed-body, .hero-ticker-sub, .section-sub { font-size: 16px; }
  .ed-card { padding: 22px; }
  .ed-big, .tile-big-num { font-size: clamp(54px, 14vw, 72px); }
  .ed-meta { grid-template-columns: 1fr; gap: 10px; }

  .ticker-grid { gap: 12px; grid-auto-rows: auto; }
  .tile, .tile-big { padding: 18px; min-height: 132px; }
  .tile-num { font-size: clamp(34px, 10vw, 50px); }
  .tile-accent p { font-size: 20px; }

  .section-head { margin-bottom: 44px; }
  .product-card { padding: 24px; min-height: auto; }
  .pc-list li { font-size: 15px; }
  .how-grid { gap: 22px; }
  .how-title { font-size: clamp(28px, 8vw, 34px); }
  .how-vis { min-height: auto; padding: 18px; }

  .case-pane.on { gap: 22px; }
  .case-left p { font-size: 16px; }
  .case-right { grid-template-columns: 1fr; }
  .metric-card { padding: 20px; }
  .metric-card b { font-size: clamp(34px, 10vw, 44px); }

  .sec-wrap { gap: 32px; }
  .sec-card { padding: 20px; }
  .price-card { padding: 24px; }
  .price-amount b { font-size: clamp(44px, 13vw, 56px); }
  .faq-item summary { font-size: 17px; }
  .faq-item p { font-size: 14px; }
  .waitlist-form { margin-top: 28px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 102px; padding-bottom: 64px; }
  .hero-top { margin-bottom: 26px; }
  .hero-top .pill { margin-bottom: 14px; }
  .hero-title, .hero-ed-title, .hero-ticker-title { font-size: clamp(40px, 13vw, 54px); line-height: 1.02; }
  .hero-sub { font-size: 15px; max-width: 34ch; }
  .doors { gap: 10px; margin-bottom: 16px; }
  .door { padding: 18px; gap: 12px; }
  .door-name h2 { font-size: clamp(40px, 14vw, 52px); }
  .door-trl { font-size: 10px; }
  .door-desc {
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .door-row .mono { font-size: 9px; letter-spacing: .08em; }
  .door-ui { display: none; }
  .hero-foot { gap: 8px; }
  .aud-toggle { display: none; }
  .hero-foot .btn { padding: 11px 16px; font-size: 14px; }
  .aud { flex: 1; align-items: center; text-align: center; padding: 9px 10px; }

  .logo-word { font-size: 22px; }
  .marquee { gap: 48px; }
  .cases-tabs { gap: 6px; }
  .case-tab { padding: 9px 13px; font-size: 12px; }
  .section-title { font-size: clamp(36px, 12vw, 46px); }
  .bubble { max-width: 100%; font-size: 13px; }

  .waitlist-bull img { width: 110px; }
  .waitlist-form input { min-width: 0; width: 100%; }
  .waitlist-form .btn { width: 100%; justify-content: center; }
}
