/* ============================================================
   boarderframeos — product site
   The site wears the APP'S OWN language: the aurora room (H262
   violet field, H45 lamp), Literata display over Inter, Plex Mono
   facts, meaning-colour (warm = working · orchid = needs-you),
   kicker grammar, hairline panels. If the app is a lit room where
   your fleet works, the site is the doorway to that room.
   ============================================================ */

:root {
  /* the aurora recipe, hand-derived from the app's own six numbers
     (H262 · richness .35 · depth .17 · analogous · lamp 45) */
  --field: oklch(0.155 0.028 262);
  --panel: oklch(0.185 0.032 262);
  --raise: oklch(0.22 0.034 262);
  --line: oklch(0.42 0.03 262 / 0.28);
  --ink: oklch(0.95 0.008 262);
  --dim: oklch(0.76 0.018 262);
  --faint: oklch(0.60 0.02 262);
  /* meaning colours — the app's reserved signals, same jobs here */
  --you: oklch(0.72 0.16 315);        /* orchid — needs you / yours */
  --live: oklch(0.80 0.12 45);        /* the lamp — warm means working */
  --ok: oklch(0.75 0.12 155);
  --data-1: oklch(0.72 0.11 240);
  --data-2: oklch(0.70 0.12 290);
  --data-3: oklch(0.74 0.10 190);
  --data-4: oklch(0.80 0.12 45);
  --serif: "Literata", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--field);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* ---------- the aurora field — the room's own light ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 38% at 18% 4%,  oklch(0.35 0.09 290 / 0.32), transparent 70%),
    radial-gradient(44% 34% at 84% 0%,  oklch(0.45 0.09 45 / 0.17),  transparent 70%),
    radial-gradient(60% 50% at 55% 108%, oklch(0.30 0.08 240 / 0.22), transparent 72%),
    var(--field);
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- kicker grammar — the app's own section voice ---------- */
.kicker {
  display: flex; align-items: center; gap: 9px;
  font: 500 12.5px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim);
}
.kicker::before {
  content: ""; width: 20px; height: 3px; border-radius: 99px;
  background: var(--k, var(--data-1));
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--field) 62%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 40px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: var(--live);
  background: color-mix(in oklch, var(--live) 16%, var(--panel));
  border: 1px solid color-mix(in oklch, var(--live) 35%, transparent);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font: 600 16.5px/1 var(--sans); letter-spacing: -0.01em; }
.nav-links { margin-left: auto; display: flex; gap: 2px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px;
  border-radius: 10px; color: var(--dim); text-decoration: none; font-size: 14px;
}
.nav-links a:hover { color: var(--ink); background: var(--raise); }
.nav-cta {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 99px; background: var(--you); color: var(--field);
  font: 600 14px/1 var(--sans); text-decoration: none;
}
.nav-cta:hover { filter: brightness(1.08); }
@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 84px 0 40px; }
.hero .kicker { --k: var(--live); justify-content: center; }
.hero h1 {
  margin: 18px auto 0; max-width: 21ch; text-align: center;
  font: 500 clamp(34px, 6.2vw, 58px)/1.12 var(--serif);
  letter-spacing: -0.015em;
}
.hero h1 em { font-style: italic; color: var(--live); }
.hero .lede {
  margin: 20px auto 0; max-width: 56ch; text-align: center;
  font-size: clamp(16px, 2.4vw, 18.5px); line-height: 1.65; color: var(--dim);
}
.hero-doors { margin-top: 30px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.door {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 99px; text-decoration: none; font: 600 15px/1 var(--sans);
}
.door.primary { background: var(--you); color: var(--field); }
.door.primary:hover { filter: brightness(1.08); }
.door.quiet { color: var(--dim); border: 1px solid var(--line); }
.door.quiet:hover { color: var(--ink); background: var(--raise); }
.hero-truth {
  margin: 16px auto 0; text-align: center;
  font: 400 12.5px/1.6 var(--mono); color: var(--faint);
}

/* ---------- the lit room — a truthful vignette of the app ---------- */
.room {
  margin: 52px auto 0; max-width: 900px;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: var(--panel);
  box-shadow: 0 30px 80px -30px oklch(0.05 0.02 262 / 0.8);
}
.room-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--field) 55%, transparent);
  font: 500 12.5px/1 var(--mono); color: var(--faint);
}
.room-bar .dot { width: 9px; height: 9px; border-radius: 99px; background: var(--line); }
.room-body { display: grid; grid-template-columns: 200px 1fr; min-height: 320px; }
.room-rail { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.seat {
  display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 10px;
  font-size: 13px; color: var(--dim);
}
.seat .avatar {
  width: 24px; height: 24px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  font: 700 12px/1 var(--sans); color: var(--field);
}
.seat.active { background: var(--raise); color: var(--ink); }
.seat .state { margin-left: auto; font: 500 12px/1 var(--mono); }
.seat .state.working { color: var(--live); }
.seat .state.needs { color: var(--you); }
.working .avatar { box-shadow: 0 0 0 1.5px color-mix(in oklch, var(--live) 55%, transparent), 0 0 14px oklch(0.8 0.12 45 / 0.45); }
.room-main { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.turn { max-width: 52ch; }
.turn .who { font: 600 12.5px/1 var(--sans); color: var(--ink); margin-bottom: 5px; }
.turn .who span { font: 400 12px/1 var(--mono); color: var(--faint); margin-left: 8px; }
.turn p { font-size: 13.5px; color: var(--dim); line-height: 1.6; }
.receipts { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); border-radius: 7px; padding: 3.5px 9px;
  font: 500 12px/1 var(--mono); color: var(--dim); background: var(--field);
}
.chip b { color: var(--ok); font-weight: 500; }
.turn.you { align-self: flex-end; text-align: left; }
.turn.you p {
  border: 1px solid color-mix(in srgb, var(--you) 25%, var(--line));
  background: color-mix(in srgb, var(--you) 8%, var(--raise));
  border-radius: 13px 13px 4px 13px; padding: 10px 14px; color: var(--ink);
}
.room-note { text-align: center; margin-top: 14px; font: 400 12.5px/1.6 var(--mono); color: var(--faint); }
@media (max-width: 720px) {
  .room-body { grid-template-columns: 1fr; }
  .room-rail { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .seat { flex: none; }
  .seat .state { display: none; }
}

/* ---------- sections ---------- */
section { padding: 72px 0 8px; }
.sec-head { max-width: 620px; margin-bottom: 34px; }
.sec-head h2 {
  margin-top: 14px; font: 500 clamp(26px, 4vw, 36px)/1.2 var(--serif);
  letter-spacing: -0.01em;
}
.sec-head p { margin-top: 12px; color: var(--dim); font-size: 16px; }

/* ---------- the split (how it works) ---------- */
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.split-card {
  border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  background: var(--panel); position: relative; overflow: hidden;
}
.split-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--k, var(--data-1)), transparent 75%);
}
.split-card h3 { font: 600 17px/1.3 var(--sans); margin-bottom: 8px; }
.split-card p { font-size: 14px; color: var(--dim); }
.split-card .tag { display: inline-block; margin-top: 12px; font: 500 12px/1 var(--mono); color: var(--faint); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* ---------- experiences grid — badge cards, the app's own tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tile {
  position: relative; border-radius: 14px; padding: 16px;
  border: 1px solid color-mix(in srgb, var(--t, var(--data-1)) 24%, var(--line));
  background: var(--panel); overflow: hidden;
}
.tile::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--t, var(--data-1)), transparent 80%);
  opacity: 0.85;
}
.tile.soon { opacity: 0.78; }
.tile.soon::before { opacity: 0.35; }
.tile h4 { font: 600 15px/1.3 var(--sans); display: flex; align-items: center; gap: 8px; }
.tile p { margin-top: 6px; font-size: 13px; color: var(--dim); line-height: 1.55; }
.badge {
  margin-left: auto; flex: none; border-radius: 99px; padding: 3px 9px;
  font: 600 12px/1.4 var(--mono); letter-spacing: 0.04em; text-transform: uppercase;
}
.badge.live { color: var(--ok); background: color-mix(in oklch, var(--ok) 14%, transparent); }
.badge.soon { color: var(--faint); background: var(--raise); }

/* ---------- teams ---------- */
.teams { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.team {
  border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--panel);
}
.team .cast { display: flex; margin-bottom: 12px; }
.team .cast span {
  width: 30px; height: 30px; border-radius: 10px; border: 2px solid var(--field);
  display: grid; place-items: center; font: 700 12px/1 var(--sans); color: var(--field);
  margin-right: -7px;
}
.team h3 { font: 600 16px/1.3 var(--sans); }
.team p { margin-top: 6px; font-size: 13.5px; color: var(--dim); }
.team .tag { display: inline-block; margin-top: 12px; font: 500 12px/1 var(--mono); color: var(--faint); }

/* ---------- trust rows ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; max-width: 900px; }
.trust-row { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.trust-row .mark { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  color: var(--t, var(--data-3)); background: color-mix(in oklch, var(--t, var(--data-3)) 12%, transparent); }
.trust-row .mark svg { width: 18px; height: 18px; }
.trust-row h3 { font: 600 15px/1.4 var(--sans); }
.trust-row p { margin-top: 4px; font-size: 13.5px; color: var(--dim); }
@media (max-width: 780px) { .trust { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.price-truth {
  max-width: 640px; border: 1px solid color-mix(in srgb, var(--live) 30%, var(--line));
  background: color-mix(in srgb, var(--live) 6%, var(--panel));
  border-radius: 16px; padding: 22px; margin-bottom: 26px;
}
.price-truth h3 { font: 600 16px/1.4 var(--sans); color: var(--live); }
.price-truth p { margin-top: 8px; font-size: 14.5px; color: var(--dim); }
.price-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; }
.price-col { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--panel); }
.price-col h3 { font: 600 16px/1.3 var(--sans); }
.price-col .who { font: 400 12.5px/1.5 var(--mono); color: var(--faint); margin-top: 4px; }
.price-col ul { margin-top: 14px; list-style: none; }
.price-col li { font-size: 13.5px; color: var(--dim); padding: 5px 0 5px 20px; position: relative; }
.price-col li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
@media (max-width: 880px) { .price-cols { grid-template-columns: 1fr; } }

/* ---------- honesty / who it's not for ---------- */
.notfor { max-width: 720px; }
.notfor li { font-size: 14.5px; color: var(--dim); padding: 9px 0 9px 24px; position: relative; list-style: none; border-top: 1px solid var(--line); }
.notfor li::before { content: "✕"; position: absolute; left: 2px; color: var(--faint); font-size: 12px; top: 11px; }
.notfor li b { color: var(--ink); font-weight: 600; }

/* ---------- early access ---------- */
.early {
  margin: 80px 0 0; padding: 56px 0 64px; text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(50% 80% at 50% 0%, oklch(0.35 0.09 290 / 0.25), transparent 75%);
}
.early h2 { font: 500 clamp(26px, 4vw, 36px)/1.2 var(--serif); }
.early p { margin: 12px auto 0; max-width: 52ch; color: var(--dim); font-size: 15.5px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; }
.foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font: 400 12.5px/1.7 var(--mono); color: var(--faint); }
.foot a { color: var(--dim); text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.foot a:hover { color: var(--ink); }
.foot .spacer { flex: 1; }
