:root {
  color-scheme: light;
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #18181b;
  --body: #52525b;
  --muted: #71717a;
  --faint: #a1a1aa;
  --line: #e4e4e7;
  --soft-line: #f4f4f5;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --dark: #24262b;
  --danger: #dc2626;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; line-height: 1.5; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.site-header { position: absolute; z-index: 5; inset: 0 0 auto; height: 72px; padding: 0 max(24px, calc((100vw - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
nav { display: flex; align-items: center; gap: 24px; }
nav a, .nav-login { color: rgba(255,255,255,.78); font-size: 13px; }
.nav-login { border: 0; background: none; cursor: pointer; padding: 8px 0; }
.button { width: auto; border: 0; border-radius: 6px; background: var(--accent); color: #fff; padding: 11px 16px; font-weight: 600; cursor: pointer; transition: background 120ms ease-out, box-shadow 120ms ease-out; }
.button:hover { background: var(--accent-dark); box-shadow: 0 3px 8px rgba(0,0,0,.14); }
.hero { min-height: min(760px, 92vh); position: relative; overflow: hidden; display: flex; align-items: center; background: var(--dark); color: #fff; padding: 100px max(24px, calc((100vw - 1180px)/2)) 76px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.12); }
.hero-mark { position: absolute; width: min(760px, 64vw); height: min(680px, 80vh); right: -5vw; top: 8vh; object-fit: contain; opacity: .16; filter: saturate(.9); }
.hero-copy { position: relative; z-index: 1; max-width: 730px; animation: reveal 500ms ease-out both; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hero .eyebrow { color: #5eead4; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { font-size: clamp(72px, 13vw, 172px); line-height: .78; margin: 20px 0 34px; font-weight: 600; }
.hero-line { font-size: clamp(25px, 4vw, 48px); line-height: 1.05; font-weight: 600; margin: 0 0 18px; max-width: 680px; }
.hero-text { max-width: 600px; color: rgba(255,255,255,.7); font-size: 17px; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.text-link { color: #fff; font-weight: 600; }
.beta-note { color: rgba(255,255,255,.58); font-size: 12px; margin-top: 20px; }
.product-band, .principles, .pricing { padding: 88px max(24px, calc((100vw - 1180px)/2)); }
.section-heading { max-width: 690px; margin-bottom: 34px; }
.section-heading h2, .final-cta h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.02; margin: 0 0 16px; font-weight: 600; }
.section-heading > p:last-child { color: var(--body); font-size: 16px; max-width: 580px; }
.bento { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; }
.bento-card, .price-card { border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); padding: 24px; min-width: 0; transition: box-shadow 120ms ease-out; }
.bento-card:hover, .price-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.bento-card h3, .price-card h3 { font-size: 22px; margin: 8px 0 10px; font-weight: 600; }
.bento-card p, .price-card p, .principle-grid p { color: var(--body); margin: 0; }
.card-kicker { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.receipt-card { grid-row: span 2; min-height: 500px; display: flex; flex-direction: column; }
.receipt-visual { flex: 1; margin-top: 24px; background: var(--dark); border-radius: 6px; min-height: 280px; display: grid; place-items: center; position: relative; overflow: hidden; }
.receipt-paper { width: 190px; height: 230px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.28); padding: 30px 20px; transform: rotate(-2deg); display: flex; flex-direction: column; gap: 18px; }
.receipt-paper::before, .receipt-paper::after { content:""; display:block; height: 1px; background: var(--line); }
.receipt-paper strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.receipt-paper small { color: var(--accent); font-weight: 600; }
.scan-state { position: absolute; bottom: 14px; right: 14px; background: var(--accent); color: #fff; padding: 8px 10px; border-radius: 5px; font-size: 12px; }
.match-card { min-height: 244px; }
.match-row, .kpi-row, .module-price { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.match-row { margin-top: 22px; }
.match-row.good { color: var(--accent); margin: 0 0 20px; }
.match-line { width: 1px; height: 28px; background: var(--accent); margin: 6px 0 6px 12px; }
.status-card { background: var(--dark); color: #fff; }
.status-card .card-kicker, .status-card .kpi-row span { color: rgba(255,255,255,.58); }
.kpi-row { margin-top: 20px; align-items: baseline; }
.kpi-row strong { font-size: 28px; }
.meter { height: 7px; background: rgba(255,255,255,.12); margin-top: 8px; border-radius: 3px; overflow: hidden; }
.meter i { display: block; height: 100%; background: #2dd4bf; }
.agent-card { grid-column: 1 / -1; display: grid; grid-template-columns: 180px 1fr 1fr; gap: 26px; align-items: start; }
.agent-card h3 { margin-top: 0; }
.agent-message { border-left: 2px solid var(--accent); padding-left: 16px; color: var(--body); }
.principles { background: #f4f4f5; }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle-grid article { background: var(--bg); padding: 28px; min-height: 180px; }
.principle-grid strong { font-size: 17px; display: block; margin-bottom: 12px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.price-card { min-height: 350px; display: flex; flex-direction: column; }
.beta-price { background: var(--dark); color: #fff; }
.beta-price p, .beta-price .card-kicker { color: rgba(255,255,255,.66); }
.price { display: flex; align-items: baseline; gap: 7px; margin: 16px 0; font-variant-numeric: tabular-nums; }
.price strong { font-size: 34px; }
.price span { color: var(--muted); }
.price-card .button { margin-top: auto; }
.module-price { padding: 12px 0; border-bottom: 1px solid var(--soft-line); }
.small { margin-top: 18px !important; font-size: 12px; }
.final-cta { margin: 0 max(24px, calc((100vw - 1180px)/2)) 70px; min-height: 250px; background: var(--dark); color: #fff; padding: 36px; display: grid; grid-template-columns: 90px 1fr auto; gap: 28px; align-items: center; border-radius: 8px; }
.final-cta img { width: 90px; height: 90px; object-fit: contain; }
.final-cta h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); }
footer { min-height: 110px; border-top: 1px solid var(--line); padding: 28px max(24px, calc((100vw - 1180px)/2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
footer p { text-align: center; }
footer > div { display: flex; gap: 16px; }
dialog { width: min(520px, calc(100vw - 32px)); border: 0; border-radius: 8px; padding: 28px; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(24,24,27,.72); }
dialog h2 { margin: 0 0 8px; font-size: 30px; }
dialog p { color: var(--body); }
.dialog-close { position: absolute; right: 14px; top: 12px; width: 32px; height: 32px; border: 0; background: transparent; font-size: 24px; cursor: pointer; color: var(--muted); }
form { display: grid; gap: 12px; margin-top: 20px; }
label { display: grid; gap: 5px; color: var(--body); font-size: 13px; }
input { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; background: #fff; color: var(--ink); }
input:focus { outline: 2px solid rgba(15,118,110,.18); border-color: var(--accent); }
label small { color: var(--muted); }
.check { grid-template-columns: 18px 1fr; align-items: start; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); }
.switch-auth { display: block; border: 0; background: none; color: var(--accent); margin: 16px auto 0; cursor: pointer; }
#authStatus { min-height: 20px; color: var(--danger); margin-top: 10px; }
.activation-page { min-height: 100vh; background: var(--dark); color: #fff; }
.activation-shell { width: min(560px, calc(100vw - 32px)); margin: 0 auto; padding: 48px 0; }
.activation-shell > .brand { margin-bottom: 28px; }
.activation-card { background: #fff; color: var(--ink); padding: 28px; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.activation-card h1 { margin: 0 0 12px; font-size: 36px; line-height: 1; }
.activation-card p { color: var(--body); }
#activationStatus { min-height: 20px; margin-top: 12px; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 760px) {
  .site-header { height: 64px; }
  nav a { display: none; }
  nav { gap: 14px; }
  .hero { min-height: 720px; align-items: flex-end; padding-bottom: 70px; }
  .hero-mark { width: 120vw; height: 65vh; right: -42vw; top: 7vh; }
  h1 { font-size: clamp(76px, 27vw, 120px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .product-band, .principles, .pricing { padding-top: 64px; padding-bottom: 64px; }
  .bento, .price-grid, .principle-grid { grid-template-columns: 1fr; }
  .receipt-card { min-height: 470px; }
  .agent-card { grid-column: auto; grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: 58px 1fr; padding: 24px; }
  .final-cta img { width: 58px; height: 58px; }
  .final-cta .button { grid-column: 1 / -1; width: 100%; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p { text-align: left; }
}
