/* ============================================================
   Cordelle — marketing site

   Light-committed. The page paints its own ground explicitly rather than
   inheriting the visitor's, so the dark phone mockups keep their presence
   against it in every context.

   Cordelle speaks in Figtree; Fraunces appears ONLY inside the phone
   mockups, which are tenant surfaces (docs/BRAND.md).
   ============================================================ */

:root {
  color-scheme: light;

  --bg:          #F7F8FB;
  --bg-2:        #EDEFF6;
  --surface:     #FFFFFF;
  --raised:      #FFFFFF;
  --line:        rgba(18, 20, 28, 0.11);
  --line-soft:   rgba(18, 20, 28, 0.06);
  --text:        #12141C;
  --dim:         #565D72;
  --accent:      #2645C5;
  --accent-deep: #1B32A0;
  --accent-wash: rgba(38, 69, 197, 0.06);
  --on-accent:   #FFFFFF;

  --wrap: 1180px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;

  --f-text: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-disp: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  /* Tinted from the neutral hue, never flat grey. */
  --shadow-1: 0 1px 2px rgba(24, 28, 45, .06), 0 3px 12px rgba(24, 28, 45, .05);
  --shadow-2: 0 2px 6px rgba(24, 28, 45, .07), 0 14px 44px rgba(24, 28, 45, .10);
  --shadow-3: 0 18px 60px rgba(24, 28, 45, .16);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Catch-all: the per-component reduced-motion rules below cover transforms,
   but the mockups also cross-fade colour on every palette change. Someone who
   asked for less motion should get none of it, not most of it. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ───────── nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 248, 251, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text);
  min-height: 44px; /* tap target */
}
.mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand-word { font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--dim); text-decoration: none; font-size: 15.5px; font-weight: 500; transition: color .16s ease; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 980px) { .nav-links { display: none; } .nav-inner { gap: 16px; } }

/* ───────── buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--on-accent);
  font-family: inherit; font-size: 16px; font-weight: 600;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .14s ease, background .14s ease;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 17px; font-size: 15px; margin-left: 4px; min-height: 44px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--accent-wash); border-color: var(--accent); }
.wide-btn { width: 100%; padding: 16px; font-size: 17px; }
/* The header CTA used to disappear below 620px, which left phones with a
   sticky bar containing only the logo and no route to the form once the hero
   had scrolled past. It stays; it just gets tighter. */
@media (max-width: 620px) {
  .btn-sm { padding: 9px 14px; font-size: 14.5px; margin-left: 0; }
  .nav-inner { gap: 12px; }
  .brand-word { font-size: 18px; }
}
@media (max-width: 380px) {
  .btn-sm { padding: 9px 12px; font-size: 14px; }
  .mark { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ───────── type ───────── */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
h1 {
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.07; letter-spacing: -0.03em;
  font-weight: 700; margin: 0 0 22px; text-wrap: balance;
}
h1 em { font-style: normal; color: var(--accent); }
.h2 {
  font-size: clamp(27px, 3.4vw, 39px); line-height: 1.15; letter-spacing: -0.024em;
  font-weight: 700; margin: 0 0 18px; text-wrap: balance;
}
.h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 10px; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--dim); margin: 0 0 30px; max-width: 62ch; }
.lede.narrow { max-width: 58ch; margin-bottom: 40px; }
.body { color: var(--dim); margin: 0 0 16px; max-width: 60ch; }
.body a { color: var(--accent); }
.body em { color: var(--text); font-style: italic; }

/* ───────── hero ───────── */
.hero { position: relative; padding: 74px 0 84px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -50% 0 auto -14%; height: 760px; pointer-events: none;
  background: radial-gradient(52% 58% at 32% 42%, rgba(38, 69, 197, .09), transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.hero-facts li { font-size: 15.5px; color: var(--dim); padding-left: 26px; position: relative; }
.hero-facts li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 13px; height: 2px; border-radius: 2px; background: var(--accent);
}
.hero-facts strong { color: var(--text); font-weight: 600; }
.hero-device { display: flex; justify-content: center; }
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-device { order: -1; }
}

/* ───────── sections ───────── */
.section { padding: 90px 0; }
.band { padding: 84px 0; background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.band.alt { background: var(--surface); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.checks li {
  position: relative; padding-left: 32px; color: var(--text); font-size: 16px;
  padding-bottom: 13px; border-bottom: 1px solid var(--line-soft);
}
.checks li:last-child { border-bottom: 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--accent); font-weight: 700; }

.stack { display: grid; gap: 14px; }
.stat {
  background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 24px; display: flex; align-items: baseline; gap: 16px; box-shadow: var(--shadow-1);
}
.stat b {
  font-size: 30px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em;
  flex: none; font-variant-numeric: tabular-nums;
}
.stat span { color: var(--dim); font-size: 15.5px; line-height: 1.45; }

/* ───────── capability grid ───────── */
.grid { display: grid; gap: 18px; }
.cap-grid { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); margin-top: 42px; }
.cap {
  background: var(--raised); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px 24px 26px;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.cap:hover { border-color: rgba(38, 69, 197, .38); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.cap h3 { margin: 0 0 9px; font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em; }
.cap p { margin: 0; color: var(--dim); font-size: 15.5px; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .cap:hover { transform: none; } }

/* ============================================================
   PHONE MOCKUPS — tenant surfaces.

   Defaults are CORDELLE'S OWN PAIR, because that is precisely what an
   agency inherits before it brands itself (DEFAULT_ACCENT / cordelleTheme
   in shared/theme.ts). Never default these to a tenant preset — doing so
   shows one operator's brand as if it were the product's identity.
   ============================================================ */
.phone {
  --t-accent:  #BAC6F7;
  --t-bg:      #12141C;
  --t-surface: #1E212C;
  --t-text:    #FFFFFF;
  --t-dim:     #9BA2B8;
  --t-line:    rgba(255, 255, 255, .10);
  --t-on-acc:  #10121A;

  /* max-width, not just width: at a 320px viewport the .wrap is 280px, and a
     fixed 332px frame would push the whole document into horizontal scroll. */
  width: 318px; max-width: 100%; flex: none;
  background: var(--t-bg);
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 34px;
  padding: 13px;
  box-shadow: var(--shadow-3);
  transition: background .45s ease;
}
.phone.sm { width: 286px; }
.phone.md { width: 332px; }
@media (max-width: 380px) { .phone, .phone.sm, .phone.md { width: 100%; } }
.phone-screen { background: var(--t-bg); border-radius: 24px; padding: 20px 18px 22px; min-height: 486px; overflow: hidden; }
.phone-screen * { transition: color .45s ease, background .45s ease, border-color .45s ease; }

.scr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 10px; }
.scr-agency {
  font-size: 11px; font-weight: 700; letter-spacing: .13em; color: var(--t-accent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.scr-sync { font-size: 11px; color: var(--t-dim); white-space: nowrap; }
.scr-kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--t-dim); margin: 0 0 7px;
}
.scr-title {
  font-family: var(--f-disp); font-weight: 600; font-size: 30px; line-height: 1.08;
  letter-spacing: -0.02em; color: var(--t-text); margin: 0 0 20px;
}
.scr-title.sm { font-size: 25px; margin-bottom: 16px; }

.scr-now {
  display: flex; gap: 12px; align-items: flex-start;
  background: color-mix(in srgb, var(--t-accent) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--t-accent) 32%, transparent);
  border-radius: 14px; padding: 13px 15px; margin-bottom: 20px;
}
.scr-now .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--t-accent); margin-top: 6px; flex: none; }
.scr-now-label {
  margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--t-accent);
}
.scr-now-body { margin: 0; font-size: 14.5px; color: var(--t-text); line-height: 1.35; }

/* timeline rail — the itinerary spine, the app's best structural idea */
.scr-spine { list-style: none; margin: 0 0 18px; padding: 0 0 0 20px; position: relative; }
.scr-spine::before {
  content: ""; position: absolute; left: 3px; top: 7px; bottom: 7px;
  width: 2px; background: color-mix(in srgb, var(--t-accent) 30%, transparent);
}
.scr-spine li { position: relative; display: flex; gap: 13px; align-items: baseline; padding: 8px 0; font-size: 14px; }
.scr-spine li::before {
  content: ""; position: absolute; left: -20px; top: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--t-bg); border: 2px solid var(--t-accent);
}
.scr-spine .t {
  font-variant-numeric: tabular-nums; color: var(--t-accent);
  font-weight: 600; font-size: 13px; flex: none; min-width: 42px;
}
.scr-spine .e { color: var(--t-text); line-height: 1.35; }
.scr-spine .sub { display: block; color: var(--t-dim); font-size: 12.5px; margin-top: 1px; }

.scr-card { background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 14px; padding: 13px 15px; }
.scr-card-label {
  margin: 0 0 3px; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--t-dim);
}
.scr-card-label.mt { margin-top: 18px; }
.scr-card-body { margin: 0; font-size: 15px; color: var(--t-text); }
.scr-btn {
  width: 100%; margin-top: 6px; padding: 13px; background: var(--t-accent); color: var(--t-on-acc);
  border: 0; border-radius: 13px; font-family: inherit; font-size: 15px; font-weight: 600; cursor: default;
}

/* ── itinerary: the day list, with ghosted numerals behind each row ── */
.day-list { list-style: none; margin: 0; padding: 0 0 0 20px; position: relative; }
.day-list::before {
  content: ""; position: absolute; left: 3px; top: 14px; bottom: 22px;
  width: 2px; background: color-mix(in srgb, var(--t-accent) 26%, transparent);
}
.day-row { position: relative; padding: 11px 0 12px; border-bottom: 1px solid var(--t-line); overflow: hidden; }
.day-row:last-child { border-bottom: 0; }
.day-row::before {
  content: ""; position: absolute; left: -20px; top: 20px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--t-bg); border: 2px solid var(--t-accent);
}
.day-row .ghost {
  position: absolute; right: -2px; top: 0;
  font-family: var(--f-disp); font-weight: 700; font-size: 46px; line-height: 1;
  color: color-mix(in srgb, var(--t-accent) 15%, transparent);
  pointer-events: none; user-select: none;
}
.day-row .dnum {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--t-accent); display: block; margin-bottom: 3px;
}
.day-row .dttl { font-size: 15px; color: var(--t-text); font-weight: 600; line-height: 1.28; }
.day-row .dsub { font-size: 12.5px; color: var(--t-dim); margin-top: 2px; display: block; }
.day-row.is-next { background: color-mix(in srgb, var(--t-accent) 9%, transparent); border-radius: 12px; padding-inline: 11px; margin-inline: -11px; }

/* ── info rows: hotels, flights ── */
.info-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--t-line);
}
.info-row:last-child { border-bottom: 0; }
.info-row .badge {
  flex: none; min-width: 46px; text-align: center; padding: 5px 7px; border-radius: 8px;
  background: color-mix(in srgb, var(--t-accent) 15%, transparent);
  color: var(--t-accent); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.info-row .main { font-size: 14.5px; color: var(--t-text); font-weight: 600; line-height: 1.3; }
.info-row .meta { font-size: 12.5px; color: var(--t-dim); margin-top: 2px; line-height: 1.4; }
.info-row .tag {
  display: inline-block; margin-top: 5px; padding: 2px 8px; border-radius: 999px;
  background: var(--t-accent); color: var(--t-on-acc); font-size: 10.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}

/* ── the taxi card: deliberately light, to be shown to a driver ── */
.taxi {
  background: #FFFFFF; border-radius: 20px; padding: 20px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .55); border: 1px solid rgba(0, 0, 0, .08);
}
.taxi-label {
  margin: 0 0 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: #6B7180;
}
.taxi-addr {
  margin: 0 0 6px; font-family: var(--f-disp); font-weight: 700;
  font-size: 25px; line-height: 1.14; letter-spacing: -0.02em; color: #12141C;
}
.taxi-city { margin: 0 0 14px; font-size: 16px; color: #3C4252; }
.taxi-phone {
  margin: 0; padding-top: 13px; border-top: 1px solid rgba(0, 0, 0, .12);
  font-size: 15px; color: #12141C; font-variant-numeric: tabular-nums;
}
.taxi-note { margin: 14px 0 0; font-size: 12px; color: var(--t-dim); line-height: 1.45; }

/* ── guide: roster + headcount ── */
.roster-row { display: flex; gap: 11px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--t-line); }
.roster-row:last-child { border-bottom: 0; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: color-mix(in srgb, var(--t-accent) 20%, transparent);
  color: var(--t-accent); font-size: 12.5px; font-weight: 700;
}
.roster-row .nm { font-size: 14.5px; color: var(--t-text); font-weight: 600; }
.chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.chip {
  font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px;
  background: var(--t-surface); color: var(--t-dim); border: 1px solid var(--t-line);
}
.chip.care { color: var(--t-accent); border-color: color-mix(in srgb, var(--t-accent) 40%, transparent); }

.face-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-bottom: 14px; }
.face {
  aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center;
  background: var(--t-surface); border: 1px solid var(--t-line);
  color: var(--t-dim); font-size: 12px; font-weight: 700;
}
.face.on { background: var(--t-accent); border-color: var(--t-accent); color: var(--t-on-acc); }
.count-bar {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 15px; border-radius: 14px;
  background: color-mix(in srgb, var(--t-accent) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--t-accent) 32%, transparent);
}
.count-bar b { font-size: 24px; font-weight: 700; color: var(--t-accent); font-variant-numeric: tabular-nums; }
.count-bar span { font-size: 13px; color: var(--t-text); }

/* ── receipts ── */
.seen-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--t-line); font-size: 14px; }
.seen-row:last-child { border-bottom: 0; }
.seen-row .who { color: var(--t-text); }
.seen-yes { color: var(--t-accent); font-size: 12px; font-weight: 700; }
.seen-no { color: var(--t-dim); font-size: 12px; font-weight: 600; }

/* ── country / packing / messages ── */
.mini-row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--t-line); font-size: 14px; }
.mini-row span { color: var(--t-dim); }
.mini-row strong { color: var(--t-text); font-weight: 600; }
.phrase { padding: 9px 0; border-bottom: 1px solid var(--t-line); }
.phrase b { display: block; color: var(--t-accent); font-size: 14.5px; font-weight: 600; }
.phrase span { color: var(--t-dim); font-size: 13px; }
.pack { display: flex; align-items: center; gap: 11px; padding: 9px 0; font-size: 14.5px; color: var(--t-text); border-bottom: 1px solid var(--t-line); }
.pack .box {
  width: 21px; height: 21px; border-radius: 6px; flex: none;
  border: 2px solid color-mix(in srgb, var(--t-dim) 60%, transparent);
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
.pack.done .box { background: var(--t-accent); border-color: var(--t-accent); color: var(--t-on-acc); }
.pack.done { color: var(--t-dim); text-decoration: line-through; }
.pack-note { margin: 14px 0 0; font-size: 12px; color: var(--t-dim); line-height: 1.4; }
.msg { background: var(--t-surface); border: 1px solid var(--t-line); border-radius: 13px; padding: 12px 14px; margin-bottom: 10px; }
.msg.unread { border-color: color-mix(in srgb, var(--t-accent) 45%, transparent); }
.msg-meta { margin: 0 0 5px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--t-accent); }
.msg-body { margin: 0; font-size: 14px; color: var(--t-text); line-height: 1.42; }

/* ───────── mockup galleries ───────── */
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 34px 26px; margin-top: 46px; justify-items: center; }
.phone-fig { margin: 0; display: grid; gap: 15px; justify-items: center; max-width: 330px; }
.phone-fig figcaption { color: var(--dim); font-size: 14.5px; text-align: center; line-height: 1.5; }
.phone-fig figcaption b { color: var(--text); font-weight: 600; display: block; margin-bottom: 2px; }

/* feature spotlight — one big mockup beside prose */
.spotlight { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; margin-top: 44px; }
.spotlight.flip { grid-template-columns: 1fr auto; }
.spotlight.flip .spot-copy { order: -1; }
@media (max-width: 900px) {
  .spotlight, .spotlight.flip { grid-template-columns: 1fr; gap: 34px; justify-items: center; }
  .spotlight .spot-copy, .spotlight.flip .spot-copy { order: 0; justify-self: start; }
}
.spot-copy .body { margin-bottom: 14px; }
.spot-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.spot-list li { color: var(--dim); font-size: 15.5px; line-height: 1.5; padding-left: 26px; position: relative; }
.spot-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 13px; height: 2px; border-radius: 2px; background: var(--accent); }
.spot-list b { color: var(--text); font-weight: 600; }

/* ───────── white-label demo ───────── */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.sw {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--raised); color: var(--dim);
  border: 1px solid var(--line); border-radius: 999px;
  /* 44px floor: this is the page's main interactive control, on a site selling
     a product whose own standard is a 48–60pt target. */
  min-height: 44px;
  padding: 9px 18px 9px 12px; font-family: inherit; font-size: 14.5px; font-weight: 500;
  cursor: pointer; transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.sw i { width: 15px; height: 15px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.sw:hover { color: var(--text); }
.sw[aria-pressed="true"] { color: var(--text); border-color: var(--accent); background: var(--accent-wash); font-weight: 600; }
.sw.is-default i { background: linear-gradient(135deg, #BAC6F7 50%, #2645C5 50%); }
.sw-note { color: var(--dim); font-size: 14.5px; max-width: 68ch; margin: 0 0 36px; }
.sw-note b { color: var(--text); font-weight: 600; }

.brand-demo { display: grid; grid-template-columns: auto 1fr; gap: 52px; align-items: center; }
.brand-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 17px; }
.brand-points li { color: var(--dim); font-size: 16px; line-height: 1.55; padding-left: 26px; position: relative; }
.brand-points li::before { content: ""; position: absolute; left: 0; top: 11px; width: 13px; height: 2px; border-radius: 2px; background: var(--accent); }
.brand-points b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
  .brand-demo { grid-template-columns: 1fr; gap: 34px; justify-items: center; }
  .brand-points { justify-self: start; }
}

/* ───────── steps ───────── */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.steps li { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.step-n {
  position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}
.steps h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -0.012em; }
.steps p { margin: 0; color: var(--dim); font-size: 15.5px; }

/* ───────── pricing ───────── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(276px, 1fr)); gap: 20px; margin-top: 42px; }
.plan {
  background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-1);
}
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-2); position: relative; }
.plan-tag {
  position: absolute; top: -12px; left: 28px; background: var(--accent); color: var(--on-accent);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan h3 { margin: 0 0 10px; font-size: 20px; font-weight: 600; }
.price { margin: 0 0 22px; display: flex; align-items: baseline; gap: 5px; }
.price b { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.price span { color: var(--dim); font-size: 16px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan li { color: var(--dim); font-size: 15.5px; position: relative; padding-left: 25px; line-height: 1.45; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ───────── form ───────── */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: 36px; } }
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--raised); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-2);
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 22px; } }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--text); }
.field .opt { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 14px; width: 100%;
  transition: border-color .16s ease, background .16s ease;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.field input[aria-invalid="true"] { border-color: #C2453B; }
.field select {
  appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 14px 0 0; font-size: 15px; min-height: 22px; }
.form-note.ok { color: var(--accent-deep); font-weight: 600; }
.form-note.err { color: #C2453B; }
.form-fine { margin: 10px 0 0; font-size: 13.5px; color: var(--dim); line-height: 1.5; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ───────── footer ───────── */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 54px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-line { color: var(--dim); font-size: 14.5px; margin: 16px 0 0; max-width: 52ch; line-height: 1.6; }
.footer-line em { font-style: italic; color: var(--text); }
.footer-links { display: grid; gap: 2px; align-content: start; }
.footer-links a {
  color: var(--dim); text-decoration: none; font-size: 15px;
  /* Footer rows sat 24px tall and close together — easy to mis-tap on a phone. */
  display: inline-flex; align-items: center; min-height: 44px;
}
.footer-links a:hover { color: var(--accent); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  color: var(--dim); font-size: 13.5px;
}
