/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ============ TOKENS ============ */
:root {
  --ink: #0B0B0C;
  --ink-soft: #34343A;
  --muted: #6B6B72;
  --paper: #FFFFFF;
  --surface: #FAFAF8;
  --surface-2: #F2F2EF;
  --line: #E5E5E5;
  --line-strong: #D2D2CE;
  --amber: #FCA311;
  --amber-deep: #E89000;
  --navy: #14213D;
  --gw-bg: #0B0B0C;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html {
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.06; font-weight: 800; }

.display {
  font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  letter-spacing: -.025em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 65ch;
}

.body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 65ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.amber-text { color: var(--amber); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  letter-spacing: -.01em;
  line-height: 1;
  text-decoration: none;
}

.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.btn-amber:hover { background: var(--amber-deep); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(252,163,17,.6); }
.btn-amber:active { transform: scale(.97) translateY(0); box-shadow: none; transition-duration: .08s; }

.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(11,11,12,.5); }
.btn-ink:active { transform: scale(.97) translateY(0); box-shadow: none; transition-duration: .08s; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost:active { transform: scale(.97) translateY(0); transition-duration: .08s; }

/* ============ NAV ============ */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

header.nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.85); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.link {
  font-size: .95rem; color: var(--ink-soft); font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav-links a.link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; background: var(--amber);
  transition: right .25s var(--ease);
}
.nav-links a.link:hover { color: var(--ink); }
.nav-links a.link:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-cta .btn { padding: 11px 18px; font-size: .95rem; }

/* ============ HERO ============ */
.hero { padding: 140px 0 0; position: relative; }

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 72px;
}

.hero-eyebrow { margin-bottom: 26px; }
.hero-check { color: var(--amber); font-weight: 500; margin-right: 2px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .stat { color: var(--amber); white-space: nowrap; }
.hero .lead { margin-bottom: 36px; text-align: center; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-note {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.hero-note b { color: var(--ink); font-weight: 600; }

/* charge bar */
.charge {
  height: 3px; width: 0; background: var(--amber);
  margin: 0 auto 28px; border-radius: 2px; max-width: 280px;
}

/* hero visual */
.hero-visual { position: relative; margin-bottom: -10px; }

.hero-screen {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(11,11,12,.2),
    0 16px 32px rgba(11,11,12,.1);
}

/* macOS-style chrome bar */
.hero-chrome {
  background: #EBEBEB;
  border-bottom: 0.5px solid rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  padding: 10px 14px;
}

.hero-dots { display: flex; gap: 6px; }
.hero-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.hero-dots i:nth-child(1) { background: #FF5F57; }
.hero-dots i:nth-child(2) { background: #FEBC2E; }
.hero-dots i:nth-child(3) { background: #28C840; }

.hero-screen-img {
  display: block;
  width: 100%;
  height: auto;
}

.bolt-badge {
  position: absolute; z-index: 3; right: 24px; top: -28px;
  width: 62px; height: 62px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: 0 18px 40px -16px rgba(11,11,12,.28);
}
.bolt-badge img { height: 36px; width: auto; animation: flicker 6s 1.2s infinite; }

@keyframes flicker {
  0%, 88%, 100%  { filter: none; opacity: 1; }
  90%            { filter: brightness(1.6); opacity: .9; }
  91%            { filter: brightness(.7);  opacity: .7; }
  92%            { filter: brightness(1.5); opacity: 1; }
  93%            { filter: brightness(.85); opacity: .85; }
  94%            { filter: brightness(1.3); opacity: 1; }
}

/* ============ PLACEHOLDERS ============ */
.ph { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }

.ph--shot .ph-chrome {
  height: 40px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; padding: 0 14px; background: var(--paper);
}

.ph-dots { display: flex; gap: 7px; }
.ph-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); display: block; }

.ph-url {
  font-family: var(--mono); font-size: .74rem; color: var(--muted);
  background: var(--surface-2); padding: 5px 12px; border-radius: 6px;
  flex: 1; max-width: 260px; text-align: center; letter-spacing: .02em;
}

.ph-body {
  aspect-ratio: 16/10; display: grid; place-items: center; position: relative;
  background: repeating-linear-gradient(135deg, transparent 0 16px, rgba(11,11,12,.022) 16px 17px);
}

.ph--photo .ph-body { aspect-ratio: 4/3; }

.ph-cap {
  font-family: var(--mono); font-size: .8rem; color: var(--muted);
  letter-spacing: .02em; text-align: center;
  padding: 14px 22px; max-width: 88%; line-height: 1.5;
}
.ph-cap::before { content: "▦  "; color: var(--line-strong); }

.ph-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 5px; padding: 3px 8px;
  background: var(--paper);
}

/* ============ SECTIONS ============ */
section { position: relative; }
.sec { padding: 104px 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head h2 { margin-bottom: 0; }

/* PROBLEM */
.problem { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.problem-grid .copy p { margin-bottom: 20px; }

.pullquote {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  background: rgba(252,163,17,.07);
  border-radius: 8px;
  padding: 22px 26px;
  margin: 34px 0 0;
  text-wrap: balance;
}

/* HOW IT WORKS */
.steps { display: grid; gap: 28px; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr 1.15fr;
  gap: 36px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  width: 54px; height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: grid; place-items: center;
}

.step.you .step-num { background: var(--amber); border-color: var(--amber); }
.step-copy h3 { font-size: 1.5rem; margin-bottom: 12px; }

.you-tag {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
  background: var(--amber); padding: 6px 11px; border-radius: 6px; font-weight: 600;
}

/* GOOGLE WORKSPACE */
.gw { background: var(--gw-bg); color: #fff; }
.gw .wrap { padding-top: 76px; padding-bottom: 76px; }
.gw-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.gw h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); text-wrap: balance; }
.gw p { color: rgba(255,255,255,.66); margin-top: 16px; max-width: 42em; font-size: 1.05rem; line-height: 1.6; }
.gw-chips { display: flex; gap: 12px; flex-wrap: wrap; }

.chip {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .02em; color: #fff;
  border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 12px 18px; white-space: nowrap;
  background: rgba(255,255,255,.04);
}
.chip .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); margin-right: 9px; vertical-align: middle;
}

/* FEATURES */
.feat-shot { margin: 56px 0 0; }
.ftable { border-top: 1px solid var(--ink); }
.ftable .frow {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 26px 4px; border-bottom: 1px solid var(--line); align-items: baseline;
}
.ftable .frow .what { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; display: flex; gap: 16px; align-items: baseline; }
.ftable .frow .what .bolt { color: var(--amber); font-weight: 800; }
.ftable .frow .means { color: var(--muted); font-size: 1.05rem; line-height: 1.5; }

.feat-foot {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center;
  font-family: var(--mono); font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: .01em;
}
.feat-foot span { display: inline-flex; align-items: center; gap: 10px; }
.feat-foot span::before { content: "✕"; color: var(--amber); font-size: .85rem; }

/* WHO IT'S FOR */
.who { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.personas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.persona {
  padding: 30px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--paper);
}
.persona .pk {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
}
.persona p { font-size: 1.12rem; line-height: 1.45; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }


/* WAITLIST */
.waitlist { background: var(--navy); color: #fff; padding: 112px 0; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.wl h2 { color: #fff; font-size: clamp(2.1rem, 4vw, 3.2rem); text-wrap: balance; }
.wl .eyebrow { color: rgba(255,255,255,.6); margin-bottom: 22px; display: block; }
.wl p.body { color: rgba(255,255,255,.62); margin-top: 24px; font-size: 1.1rem; max-width: 30em; }

.wl-form {
  background: #fff; border-radius: 16px; padding: 36px; color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wl-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 48px 96px -40px rgba(0,0,0,.7);
}

.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.field input, .field select {
  width: 100%; font-family: var(--font); font-size: 1.02rem; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 9px; padding: 14px 15px;
  background: var(--paper);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.field input::placeholder { color: #A6A6AC; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(252,163,17,.16);
  transform: translateY(-1px);
}

.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg button {
  font-family: var(--font); font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  border: 1px solid var(--line-strong); background: var(--paper);
  border-radius: 9px; padding: 12px 6px; cursor: pointer;
  transition: all .15s var(--ease);
}
.seg button:hover { border-color: var(--ink); }
.seg button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.wl-form .btn { width: 100%; justify-content: center; margin-top: 6px; padding: 16px; }
.wl-fine { margin-top: 16px; font-family: var(--mono); font-size: .74rem; color: var(--muted); text-align: center; letter-spacing: .02em; }
.wl-error { margin-top: 10px; font-size: .875rem; color: #C0271E; display: none; }

.wl-success { display: none; text-align: center; padding: 30px 10px; }
.wl-success.show { display: block; animation: pop .5s var(--ease); }

@keyframes pop {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

.wl-success .chk {
  width: 62px; height: 62px; border-radius: 50%; background: var(--amber);
  display: grid; place-items: center; margin: 0 auto 22px;
}
.wl-success .chk svg { width: 30px; height: 30px; }
.wl-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.wl-success p { color: var(--muted); }

/* FOOTER */
footer.foot {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.foot-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-logo { height: 22px; width: auto; }

.foot-copy {
  font-size: .875rem;
  color: var(--muted);
}

.foot-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.foot-links a {
  font-size: .875rem;
  color: var(--muted);
}

.foot-links a:hover { color: var(--ink); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.anim .reveal { opacity: 0; transform: translateY(24px); }
.anim .reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Hero load animation */
.hero .load { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.anim .hero .load { opacity: 0; transform: translateY(28px); }
.anim .hero.ready .load { opacity: 1; transform: none; }
.hero.ready .load.l1 { transition-delay: .05s; }
.hero.ready .load.l2 { transition-delay: .16s; }
.hero.ready .load.l3 { transition-delay: .27s; }
.hero.ready .load.l4 { transition-delay: .38s; }
.hero.ready .load.l5 { transition-delay: .5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .problem-grid, .gw-grid, .wl-grid { grid-template-columns: 1fr; gap: 44px; }
  .step { grid-template-columns: 54px 1fr; gap: 20px; }
  .step .ph { grid-column: 1/-1; margin-top: 6px; }
  .personas { grid-template-columns: 1fr; }
  .ftable .frow { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual .navyblock { left: 30px; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 120px 0 0; }
  .sec { padding: 72px 0; }
  .ftable .frow .means { font-size: 1rem; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .foot-inner { height: auto; padding: 20px 0; flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-links { flex-wrap: wrap; gap: 16px 20px; }
}

@media print {
  .anim .reveal, .anim .hero .load { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal, .hero .load { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Fieldset reset for team-size group */
fieldset.field { border: none; padding: 0; margin: 0; }
fieldset.field legend {
  display: block; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 9px; padding: 0;
}
