/* Dexter Details — company site
 *
 * The palette and voice come from the launch posters, not from the app: bone
 * ground, deep slate headlines, brand green reserved for emphasis and actions,
 * and a mono utility face for meta lines ("Saved to · Electrical · 1:12").
 * The app's own #f5f5f5 grey is deliberately NOT used here — these pages are
 * marketing surfaces and should read like the posters people saw first.
 */

:root {
  --green:      #0AA73E;
  --green-dark: #07822F;
  --green-tint: #E8F7EE;
  --bone:       #EFEFEA;   /* poster ground */
  --bone-deep:  #E5E5DE;
  --ink:        #1F2D3A;   /* poster headline slate */
  --body:       #5A6472;
  --muted:      #8A8F98;
  --white:      #FFFFFF;
  --line:       #DEDED6;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1080px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ── Header ─────────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(239,239,234,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b {
  font-size: 17px; font-weight: 800; color: var(--green);
  letter-spacing: .4px; text-transform: uppercase;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav a {
  font-size: 14px; font-weight: 600; color: var(--ink);
  text-decoration: none; padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: var(--bone-deep); }
.nav a.cta {
  background: var(--green); color: #fff;
}
.nav a.cta:hover { background: var(--green-dark); }

/* ── Hero (the poster's green field) ────────────────────── */
.hero { background: var(--green); color: #fff; padding: 68px 0 76px; }
.hero .eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,.82); margin: 0 0 22px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hero h1 {
  margin: 0 0 16px; font-size: clamp(38px, 6vw, 62px); line-height: 1.04;
  font-weight: 800; letter-spacing: -1px; color: #fff; text-wrap: balance;
}
.hero p.lede { margin: 0 0 26px; font-size: 19px; color: rgba(255,255,255,.92); max-width: 46ch; }
.hero-card {
  background: #fff; border-radius: 20px; padding: 26px;
  box-shadow: 0 18px 44px rgba(0,0,0,.16);
}
.hero-card img { margin: 0 auto; width: 210px; }
.hero-card .tag {
  margin: 14px 0 0; text-align: center; font-family: var(--mono);
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-size: 16px; font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: #f3f3ee; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); }

/* ── Sections ───────────────────────────────────────────── */
section { padding: 64px 0; }
.sec-label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green-dark); margin: 0 0 10px;
}
h2 {
  margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12;
  font-weight: 800; color: var(--ink); letter-spacing: -.6px; text-wrap: balance;
}
h2 .hl { color: var(--green); }
.sec-lede { margin: 0 0 34px; font-size: 18px; max-width: 62ch; }

/* Scenario cards — each is a real moment from the poster series */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); gap: 18px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  border: 1px solid var(--line);
}
.card .kicker {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--green-dark); margin: 0 0 8px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.card p { margin: 0; font-size: 15.5px; color: var(--body); }

/* Split band */
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.checks svg { flex: 0 0 auto; margin-top: 3px; }

/* Route cards (waitlist / early access / partners) */
/* A stated belief, not body copy. Given a brand rule and a step up in size so the
   section closes on a conviction rather than trailing off after a grey citation. */
.statement {
  margin: 26px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--green);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--ink);
  max-width: 54ch;
  text-wrap: balance;
}

.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 18px; }
.route {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-decoration: none; color: inherit;
}
.route:hover { border-color: var(--green); }
.route h3 { margin: 0; font-size: 20px; font-weight: 800; color: var(--ink); }
.route p { margin: 0; font-size: 15.5px; }
.route .go { margin-top: auto; font-weight: 700; color: var(--green-dark); font-size: 15px; }

/* ── Forms ──────────────────────────────────────────────── */
.form-head { background: var(--green); color: #fff; padding: 52px 0 58px; }
.form-head h1 {
  margin: 0 0 10px; font-size: clamp(32px, 4.6vw, 46px); font-weight: 800;
  letter-spacing: -.8px; color: #fff; text-wrap: balance;
}
.form-head p { margin: 0; font-size: 18px; color: rgba(255,255,255,.92); max-width: 54ch; }

.form-wrap { max-width: 660px; margin: -34px auto 0; padding: 0 22px 72px; }
form.card-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 18px; padding: 30px; box-shadow: 0 10px 30px rgba(31,45,58,.07);
}
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--ink);
  background: #FBFBF9; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 13px;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(10,167,62,.14);
}
.field.err input, .field.err select, .field.err textarea { border-color: #C62828; }
.field .err-msg { font-size: 13px; color: #C62828; font-weight: 600; display: none; }
.field.err .err-msg { display: block; }

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

.alert { border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 15px; display: none; }
.alert.ok   { display: block; background: var(--green-tint); border: 1px solid #BDE5CC; color: var(--green-dark); }
.alert.bad  { display: block; background: #FFF3F3; border: 1px solid #F3C9C7; color: #C62828; }

/* Success panel replaces the form */
.done { display: none; text-align: center; padding: 14px 4px; }
.done.show { display: block; }
.done .mark {
  width: 62px; height: 62px; border-radius: 50%; background: var(--green-tint);
  display: grid; place-items: center; margin: 0 auto 16px;
}
.done h2 { font-size: 26px; margin-bottom: 8px; }

/* ── Status callout ─────────────────────────────────────── */
.status-strip {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }
.status-strip .t { font-weight: 700; color: var(--ink); }
.status-strip .s { font-size: 15px; }
.status-strip a { margin-left: auto; font-weight: 700; text-decoration: none; }

/* ── Footer ─────────────────────────────────────────────── */
.site-foot { background: var(--ink); color: #AFB8C2; padding: 46px 0 34px; }
.foot-grid { display: flex; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.site-foot .brand b { color: #fff; }
.site-foot nav { margin-left: auto; display: flex; gap: 26px; flex-wrap: wrap; }
.site-foot nav a { color: #AFB8C2; text-decoration: none; font-size: 15px; }
.site-foot nav a:hover { color: #fff; }
.foot-base {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  font-family: var(--mono); font-size: 12.5px; color: #8B95A1;
}
.foot-base .sp { margin-left: auto; }

@media (max-width: 860px) {
  .statement { font-size: 18px; padding-left: 14px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 58px; }
  .hero-card { order: -1; }
  .hero-card img { width: 168px; }
  .row2 { grid-template-columns: 1fr; }
  .nav a:not(.cta) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
