/* Baltly landing — Clean style tokens from design/p1/tokens (subset used by this page). */
:root {
  --color-bg: #ffffff;
  --color-bg-subtle: #f7f7f5;
  --color-surface: #ffffff;
  --color-border: #e6e6e1;
  --color-border-strong: #c9c9c2;
  --color-text: #16181d;
  --color-text-muted: #5b606b;
  --color-accent: #2b66f6;
  --color-accent-hover: #1f55db;
  --color-on-accent: #ffffff;
  --color-accent-text: #2458e0;
  --color-accent-soft: #eaf0ff;
  --color-on-highlight: #1b3f99;
  --color-focus: #2f6bff;
  --color-success-text: #15703c;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --radius-sm: 8px;
  --radius-control: 12px;
  --radius-section: 24px;
  --radius-pill: 9999px;
  --shadow-xs: 0 1px 2px rgba(64, 44, 24, 0.06);
  --shadow-md: 0 8px 24px -8px rgba(64, 44, 24, 0.14), 0 2px 6px rgba(64, 44, 24, 0.05);
  --shadow-lg: 0 24px 56px -16px rgba(64, 44, 24, 0.24), 0 6px 16px rgba(64, 44, 24, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font: 400 16px/1.5 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-accent-text); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.shell { max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.muted { color: var(--color-text-muted); }
.fine { margin: 8px 0 0; font-size: 13px; color: var(--color-text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { flex: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.header-row { height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--color-text); text-decoration: none; }
.brand-mark { width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--color-accent); color: var(--color-on-accent); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.site-nav { display: none; gap: 4px; }
.site-nav a { height: 44px; display: flex; align-items: center; padding: 0 12px; color: var(--color-text); text-decoration: none; font-weight: 500; }
.lang-switch { margin-left: auto; display: flex; padding: 4px; border-radius: var(--radius-control); background: var(--color-bg-subtle); }
.lang-switch a { height: 36px; min-width: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; color: var(--color-text); text-decoration: none; }
.lang-switch a[aria-current='true'] { background: var(--color-surface); box-shadow: var(--shadow-xs); }

/* hero */
.hero { padding-top: 32px; padding-bottom: 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.badge { margin: 0; align-self: flex-start; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-on-highlight); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
h1 { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; }
.lead { margin: 0; font-size: 18px; color: var(--color-text-muted); max-width: 560px; text-wrap: pretty; }
#waitlist-form { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
#waitlist-form label { font-weight: 500; }
.form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.form-row input[type='email'] { flex: 1; min-width: 220px; height: 56px; padding: 0 18px; border-radius: var(--radius-control); border: 1px solid var(--color-border-strong); font-size: 17px; font-family: inherit; }
.form-row button { height: 56px; padding: 0 24px; border: 0; border-radius: var(--radius-control); background: var(--color-accent); color: var(--color-on-accent); font-size: 17px; font-weight: 600; font-family: inherit; cursor: pointer; flex: 1 1 100%; }
.form-row button:hover { background: var(--color-accent-hover); }
.form-row button:disabled { opacity: 0.7; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#wl-status { margin: 0; font-size: 14px; color: var(--color-text-muted); }
#wl-status.ok { color: var(--color-success-text); }
.hero-shot { border-radius: var(--radius-section); box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); overflow: hidden; background: var(--color-bg-subtle); }
.browser-frame { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--color-border); }
.browser-frame span { width: 10px; height: 10px; border-radius: 50%; background: var(--color-border-strong); }
.hero-shot img { display: block; width: 100%; height: auto; }

/* sections */
.section { padding-top: 56px; }
h2 { margin: 0 0 28px; font-size: 28px; font-weight: 700; letter-spacing: -0.025em; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.steps li { padding: 28px; border-radius: var(--radius-section); background: var(--color-bg-subtle); display: flex; flex-direction: column; gap: 12px; }
.step-top { display: flex; justify-content: space-between; align-items: center; }
.step-icon { width: 48px; height: 48px; border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-accent-text); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-xs); }
.step-n { font: 600 14px var(--font-mono); color: var(--color-text-muted); }
.steps h3 { margin: 0; font-size: 20px; font-weight: 600; }
.steps p { margin: 0; color: var(--color-text-muted); }

.cost-card { padding: 24px 20px; border-radius: var(--radius-section); border: 1px solid var(--color-border); display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.cost-card h2 { margin: 0; text-wrap: balance; }
.cost-card > div > p.muted { margin: 12px 0 0; }
.cost-table { overflow-x: auto; }
.cost-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 340px; }
.cost-table th { font-weight: 500; font-size: 14px; color: var(--color-text-muted); text-align: left; height: 40px; }
.cost-table th.num, .cost-table td.num { text-align: right; }
.cost-table tbody tr { border-top: 1px solid var(--color-border); }
.cost-table td { height: 48px; }
.cost-table .ours { font-weight: 600; color: var(--color-success-text); }
.cost-table tr.sum { border-top: 2px solid var(--color-text); }
.cost-table tr.sum th { height: 52px; font-size: 16px; font-weight: 600; color: var(--color-text); }
.cost-table tr.sum td { font-weight: 600; }
.cost-table tr.sum td.ours { font-weight: 700; }

.fair-card { padding: 24px 20px; border-radius: var(--radius-section); background: var(--color-text); color: var(--color-bg); }
.fair-card h2 { margin: 0 0 24px; }
.fair { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.fair li { display: flex; flex-direction: column; gap: 10px; }
.fair h3 { margin: 0; font-size: 20px; font-weight: 600; }
.fair p { margin: 0; opacity: 0.85; }

.pr-sub { margin: -20px 0 28px; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; padding: 28px; border-radius: var(--radius-section); border: 1px solid var(--color-border); background: var(--color-surface); display: flex; flex-direction: column; gap: 14px; }
.plan-pop { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.plan-badge { position: absolute; top: -14px; left: 28px; height: 28px; padding: 0 12px; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-on-accent); font-size: 13px; font-weight: 700; display: flex; align-items: center; }
.plan h3 { margin: 0; font-size: 20px; font-weight: 600; }
.plan-who { margin: 0; color: var(--color-text-muted); min-height: 48px; }
.plan-price { margin: 0; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 16px; font-weight: 500; color: var(--color-text-muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.check { color: var(--color-success-text); display: flex; flex: none; }
.plan-cta { height: 52px; border-radius: var(--radius-control); display: flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border-strong); }
.plan-cta.primary { background: var(--color-accent); color: var(--color-on-accent); border-color: transparent; }
.plan-cta.primary:hover { background: var(--color-accent-hover); }

.section-faq { max-width: 840px; }
.section-faq h2 { margin-bottom: 16px; }
.faq { border-top: 1px solid var(--color-border); }
.faq details { border-bottom: 1px solid var(--color-border); }
.faq summary { list-style: none; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq p { margin: 0; padding-bottom: 20px; color: var(--color-text-muted); }

/* legal */
.legal { max-width: 720px; padding-bottom: 56px; }
.legal h1 { font-size: 32px; }
.legal h2 { margin: 32px 0 8px; font-size: 20px; }
.legal p { margin: 0 0 8px; }

/* footer */
.site-footer { margin-top: 80px; border-top: 1px solid var(--color-border); background: var(--color-bg-subtle); }
.footer-row { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 14px; color: var(--color-text-muted); }
.footer-brand { font-weight: 700; color: var(--color-text); }
.footer-row a { color: var(--color-text-muted); min-height: 44px; display: flex; align-items: center; }

@media (min-width: 768px) {
  .shell { padding-left: 32px; padding-right: 32px; }
  .site-nav { display: flex; }
  .hero { padding-top: 72px; padding-bottom: 48px; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  h1 { font-size: 64px; }
  .lead { font-size: 20px; }
  .form-row button { flex: none; }
  .section { padding-top: 96px; }
  h2 { font-size: 40px; }
  .steps, .fair, .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cost-card { padding: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fair-card { padding: 48px; }
}
