/* ─── Fonts ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/BricolageGrotesque-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/GeistMono-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/GeistMono-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ─── Design Tokens ──────────────────────────────────────────────────────── */
:root {
  --bg:          #FFFAEB;
  --bg-2:        #FEF3C7;
  --bg-3:        #FBE9A8;
  --surface:     #ffffff;
  --surface-2:   #FFF7DC;
  --ink:         #1A1410;
  --ink-2:       #3F342A;
  --ink-3:       #6B5A48;
  --ink-4:       #9C8770;
  --line:        rgba(26,20,16,.10);
  --line-2:      rgba(26,20,16,.06);
  --brand:       #EE743D;
  --brand-2:     #F07F0B;
  --brand-3:     #D97707;
  --brand-tint:  #FEF3C7;
  --success:     #15803d;
  --serif:       'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans:        'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:        'Geist Mono', ui-monospace, monospace;
  --r-sm:        6px;
  --r:           10px;
  --r-lg:        16px;
  --r-xl:        24px;
}

[data-theme="dark"] {
  --bg:         #0F0B07;
  --bg-2:       #1A1410;
  --bg-3:       #221A12;
  --surface:    #15100B;
  --surface-2:  #1F1812;
  --ink:        #F7EFDF;
  --ink-2:      #E5D9C2;
  --ink-3:      #B8A688;
  --ink-4:      #847664;
  --line:       rgba(247,239,223,.12);
  --line-2:     rgba(247,239,223,.06);
  --brand-tint: rgba(238,116,61,.12);
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
  transition: background .3s ease, color .3s ease;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(238,116,61,.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(217,119,7,.03) 0%, transparent 50%);
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Layout ─────────────────────────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ─── Nav ────────────────────────────────────────────────────────────────── */
nav.top {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line-2);
}
nav.top .row {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px;
}
nav.top .links {
  display: flex; gap: 28px;
  font-size: 14px; color: var(--ink-2);
}
nav.top .links a { transition: color .15s; }
nav.top .links a:hover { color: var(--brand-3); }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 17px;
  letter-spacing: -.01em; color: var(--ink);
}
.logo .mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center; position: relative;
}
.logo .mark::before, .logo .mark::after {
  content: ""; position: absolute;
  width: 7px; height: 7px;
  background: var(--brand); border-radius: 1.5px;
}
.logo .mark::before { top: 5px; left: 5px; box-shadow: 11px 0 0 var(--brand); }
.logo .mark::after  { bottom: 5px; left: 5px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px; color: var(--ink-2);
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 0; border-top: 1px solid var(--line-2);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 10px 0;
  font-size: 15px; color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 48px; padding: 0 22px;
  border-radius: var(--r);
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover {
  background: var(--brand-3);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(217,119,7,.5);
}
.btn-brand { background: var(--brand); color: white; }
.btn-brand:hover {
  background: var(--brand-3);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -6px rgba(238,116,61,.6);
}
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-3); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 16px; }

/* ─── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.0; letter-spacing: -.04em;
  margin: 16px 0 0; font-weight: 750;
}
.section-title em { font-style: normal; color: var(--brand-3); font-weight: 400; }
.section-sub {
  color: var(--ink-3); font-size: 18px;
  max-width: 620px; margin-top: 20px; line-height: 1.5;
}

/* ─── Eyebrow ────────────────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-3);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
}

/* ─── Tag ────────────────────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 100px;
  background: var(--brand-tint); color: var(--brand-3);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
}
[data-theme="dark"] .tag { color: #FFB47A; }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all .2s ease;
}
.card:hover {
  border-color: rgba(238,116,61,.3);
  transform: translateY(-2px);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 100px 0 80px; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: var(--brand-tint);
  border: 1px solid rgba(238,116,61,.2);
  font-family: var(--mono); font-size: 11px;
  color: var(--brand-3); letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); position: relative;
}
.hero-badge .pulse::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%; background: var(--brand);
  animation: ping 1.5s ease-out infinite;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.0; letter-spacing: -.04em;
  font-weight: 800; margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--brand-3); }
.hero-sub {
  font-size: 18px; color: var(--ink-3);
  line-height: 1.6; max-width: 480px; margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin-top: 20px; font-size: 13px;
  color: var(--ink-4); font-family: var(--mono);
}

/* QR Preview (right side of hero) */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.qr-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px; width: 100%; max-width: 340px;
  box-shadow: 0 24px 60px rgba(26,20,16,.08);
  position: relative;
}
.qr-preview-header {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 20px;
}
.qr-preview-title {
  font-family: var(--sans); font-weight: 600; font-size: 14px;
}
.qr-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 10px; margin-bottom: 20px;
}
.qr-item {
  background: var(--bg-2); border-radius: var(--r);
  padding: 12px 8px; text-align: center;
  font-size: 12px; color: var(--ink-3);
}
.qr-item-icon {
  font-size: 20px; margin-bottom: 6px; display: block;
}
.qr-item-price {
  font-family: var(--mono); font-size: 11px;
  font-weight: 500; color: var(--ink-2);
}
.qr-scan-area {
  background: var(--bg); border: 2px dashed var(--line);
  border-radius: var(--r-lg); padding: 24px;
  text-align: center; position: relative; overflow: hidden;
}
.qr-code-placeholder {
  width: 80px; height: 80px; margin: 0 auto 12px;
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 3px;
}
.qr-cell {
  border-radius: 2px;
  background: var(--ink);
}
.qr-cell.empty { background: transparent; }
.qr-scanline {
  position: absolute; top: 0; left: 10px; right: 10px;
  height: 2px; background: var(--brand);
  animation: scanLine 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--brand);
}
.qr-scan-text {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-4); margin-top: 8px;
}
.qr-stat {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding: 10px 14px;
  background: #ecfdf5; border-radius: var(--r);
  font-size: 13px;
}
[data-theme="dark"] .qr-stat { background: rgba(21,128,61,.12); }
.qr-stat-label { color: var(--ink-3); }
.qr-stat-value { font-weight: 600; color: var(--success); font-family: var(--mono); }

/* ─── Social Proof ───────────────────────────────────────────────────────── */
.social-proof { padding: 48px 0; }
.social-proof-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 24px;
}
.social-proof-tagline {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; color: var(--ink-4);
  text-align: center;
}
.customers-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 8px 32px;
}
.customer-name {
  font-family: var(--serif); font-size: 20px; font-weight: 700;
  color: var(--ink-3); opacity: .5;
  transition: opacity .2s;
  letter-spacing: -.02em;
}
.customer-name:hover { opacity: 1; }

/* ─── How It Works ───────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 48px; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step-number {
  font-family: var(--mono); font-size: 11px;
  color: var(--brand); letter-spacing: .1em;
}
.step-title {
  font-family: var(--serif); font-size: 22px;
  font-weight: 700; letter-spacing: -.03em; line-height: 1.2;
}
.step-body { font-size: 15px; color: var(--ink-3); line-height: 1.6; }
.step-icon {
  width: 48px; height: 48px; border-radius: var(--r-lg);
  background: var(--brand-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}

/* ─── Features ───────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all .2s ease;
  display: flex; flex-direction: column; gap: 12px;
}
.feature-card:hover {
  border-color: rgba(238,116,61,.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26,20,16,.06);
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--brand-tint); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.feature-title {
  font-family: var(--serif); font-size: 19px;
  font-weight: 700; letter-spacing: -.03em; line-height: 1.2;
}
.feature-body { font-size: 14px; color: var(--ink-3); line-height: 1.6; }

/* ─── Pricing ────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; align-items: start;
}
.pricing-main {
  background: var(--ink); color: var(--bg);
  border-radius: var(--r-xl); padding: 48px;
  position: relative; overflow: hidden;
}
.pricing-main::before {
  content: ""; position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(238,116,61,.12);
}
.pricing-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px;
  background: var(--brand); color: white;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.pricing-name {
  font-family: var(--serif); font-size: 28px;
  font-weight: 700; letter-spacing: -.03em; margin-bottom: 8px;
}
.pricing-desc { font-size: 14px; opacity: .7; margin-bottom: 32px; }
.pricing-price {
  display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px;
}
.pricing-amount {
  font-family: var(--serif); font-size: 64px;
  font-weight: 800; letter-spacing: -.04em; line-height: 1;
}
.pricing-unit { font-size: 16px; opacity: .6; }
.pricing-tagline {
  font-size: 13px; opacity: .6;
  font-family: var(--mono); margin-bottom: 32px;
}
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; opacity: .9;
}
.pricing-features li::before {
  content: "✓";
  width: 20px; height: 20px;
  background: var(--brand); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
  color: white; line-height: 20px; text-align: center;
}
.pricing-cta {
  display: block; width: 100%; height: 52px;
  background: var(--brand); color: white;
  border: none; border-radius: var(--r);
  font-family: var(--sans); font-size: 16px;
  font-weight: 600; cursor: pointer;
  transition: all .18s ease; text-align: center;
  line-height: 52px; text-decoration: none;
}
.pricing-cta:hover {
  background: var(--brand-3);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -6px rgba(238,116,61,.5);
}
.addons-list { display: flex; flex-direction: column; gap: 12px; }
.addon-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  display: flex; align-items: center;
  justify-content: space-between;
  transition: all .2s ease;
}
.addon-item:hover { border-color: rgba(238,116,61,.3); }
.addon-info { display: flex; flex-direction: column; gap: 3px; }
.addon-name { font-weight: 600; font-size: 15px; }
.addon-desc { font-size: 13px; color: var(--ink-3); }
.addon-price { font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--brand-3); white-space: nowrap; }

/* ─── Testimonial ────────────────────────────────────────────────────────── */
.testimonial-box {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 64px;
  text-align: center;
  position: relative; overflow: hidden;
}
.testimonial-box::before {
  content: "\201C";
  position: absolute; top: -20px; left: 32px;
  font-family: var(--serif); font-size: 200px;
  color: var(--line); line-height: 1;
  pointer-events: none;
}
.testimonial-quote {
  font-family: var(--serif); font-size: clamp(22px,3vw,32px);
  font-weight: 700; letter-spacing: -.03em;
  line-height: 1.3; margin-bottom: 40px;
  position: relative; z-index: 1;
}
.testimonial-author {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.testimonial-name { font-weight: 600; font-size: 16px; }
.testimonial-role { font-size: 13px; color: var(--ink-3); font-family: var(--mono); }
.stars { display: flex; gap: 4px; justify-content: center; margin-bottom: 32px; }
.star { color: var(--brand); font-size: 20px; }

/* ─── Final CTA ──────────────────────────────────────────────────────────── */
.cta-box {
  background: var(--ink); color: var(--bg);
  border-radius: var(--r-xl); padding: 80px 64px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute;
  top: -80px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238,116,61,.15) 0%, transparent 70%);
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(36px,5vw,60px);
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1.05; margin-bottom: 20px;
  position: relative; z-index: 1;
}
.cta-sub {
  font-size: 18px; opacity: .7; margin-bottom: 40px;
  position: relative; z-index: 1;
}
.cta-actions {
  display: flex; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.cta-note {
  margin-top: 20px; font-family: var(--mono);
  font-size: 12px; opacity: .5; letter-spacing: .06em;
  position: relative; z-index: 1;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line-2);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-links {
  display: flex; gap: 24px;
  font-size: 13px; color: var(--ink-4);
}
.footer-links a { transition: color .15s; }
.footer-links a:hover { color: var(--brand-3); }
.footer-copy {
  font-size: 13px; color: var(--ink-4);
  font-family: var(--mono);
}

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.serif { font-family: var(--serif); }
.mono  { font-family: var(--mono); }
.text-brand { color: var(--brand); }
.text-muted { color: var(--ink-3); }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }

/* ─── Animations ─────────────────────────────────────────────────────────── */
@keyframes ping {
  0%   { transform: scale(0.9); opacity: .7; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes scanLine {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(90px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal   { animation: fadeUp .7s cubic-bezier(.16,1,.3,1) both; }
.reveal-2 { animation-delay: .08s; }
.reveal-3 { animation-delay: .16s; }
.reveal-4 { animation-delay: .24s; }

/* ─── Onboarding Modal ──────────────────────────────────────────────────── */
.onboarding-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.onboarding-modal.open { display: flex; }
body.modal-open { overflow: hidden; }

.onboarding-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,20,16,.55); backdrop-filter: blur(6px);
  animation: fadeIn .2s ease both;
}

.onboarding-dialog {
  position: relative; z-index: 1;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 32px 32px;
  width: 100%; max-width: 480px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 80px rgba(26,20,16,.25);
  animation: modalIn .3s cubic-bezier(.16,1,.3,1) both;
}
@keyframes fadeIn  { from { opacity: 0 } to { opacity: 1 } }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px) scale(.98) } to { opacity: 1; transform: none } }

.onboarding-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none; border-radius: 10px;
  background: transparent; color: var(--ink-3);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.onboarding-close:hover { background: var(--bg-2); color: var(--ink); }
.onboarding-close:disabled { opacity: .4; cursor: not-allowed; }

.onboarding-header { margin-bottom: 24px; padding-right: 40px; }
.onboarding-title {
  font-family: var(--serif); font-weight: 700;
  font-size: 26px; line-height: 1.15; letter-spacing: -.02em;
  margin: 0 0 6px;
}
.onboarding-subtitle { font-size: 14px; color: var(--ink-3); margin: 0; }

.onboarding-fields { display: flex; flex-direction: column; gap: 14px; }
.onboarding-field { display: flex; flex-direction: column; gap: 6px; }
.onboarding-field label {
  font-family: var(--sans); font-weight: 500;
  font-size: 13px; color: var(--ink-2);
}
.onboarding-field input {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 14.5px;
  outline: none; transition: border-color .15s, box-shadow .15s, background .15s;
}
.onboarding-field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(238,116,61,.15);
  background: var(--surface);
}
.onboarding-field input:disabled { opacity: .55; cursor: not-allowed; }
.onboarding-field input.has-error { border-color: #b91c1c; }
.onboarding-field input.has-error:focus { box-shadow: 0 0 0 3px rgba(185,28,28,.12); }

.onboarding-error {
  font-size: 12.5px; color: #b91c1c; margin: 0; min-height: 0;
  display: none;
}
.onboarding-error.visible { display: block; }

.onboarding-banner {
  margin-top: 18px; padding: 12px 14px;
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--r); font-size: 13.5px; color: #991b1b;
}

.onboarding-submit {
  width: 100%; margin-top: 22px; min-height: 52px;
}
.onboarding-submit:disabled { opacity: .55; cursor: not-allowed; }
.onboarding-submit .spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; margin-right: 8px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

.onboarding-disclaimer {
  margin-top: 16px; font-size: 11.5px; line-height: 1.5;
  text-align: center; color: var(--ink-4);
}
.onboarding-disclaimer a { color: var(--ink-3); text-decoration: underline; }
.onboarding-disclaimer a:hover { color: var(--ink); }

@media (max-width: 480px) {
  .onboarding-dialog { padding: 28px 22px 24px; border-radius: var(--r-lg); }
  .onboarding-title { font-size: 22px; }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner       { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual      { display: none; }
  .steps            { grid-template-columns: 1fr; gap: 32px; }
  .features-grid    { grid-template-columns: 1fr 1fr; }
  .pricing-grid     { grid-template-columns: 1fr; }
  .testimonial-box  { padding: 40px 32px; }
  .cta-box          { padding: 60px 32px; }
  .footer-inner     { flex-direction: column; text-align: center; }
  .section          { padding: 80px 0; }
  .nav-mobile-toggle { display: block; }
  nav.top .links, nav.top .nav-actions { display: none; }
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-main  { padding: 36px 28px; }
  .hero          { padding: 64px 0 48px; }
}
