/* ============================================================
   Priora — internal innovation portal
   Theme: "the ship's log" — an append-only record kept at sea.
   Deep sea carries every structural surface; signal yellow is
   rationed to the moments where a person creates or is credited.
   ============================================================ */

:root{
  /* ground */
  --paper:#EDF3F2;
  --surface:#FFFFFF;
  --surface-2:#F6FAF9;
  --line:#D5E2E0;
  --line-soft:#E6EEED;

  /* ink */
  --ink:#08191D;
  --ink-soft:#47605F;
  --ink-faint:#7A9291;

  /* sea — structure, the log, everything institutional */
  --sea:#0A4A55;
  --sea-mid:#0E6E74;
  --sea-deep:#052E36;
  --sea-tint:#E1EEEE;
  --sea-on:#EAF4F3;

  /* signal — creation + credit only */
  --signal:#F2B705;
  --signal-soft:#FCF1CF;
  --signal-line:#EAD489;
  --signal-deep:#6F5304;

  /* stage colours (semantic, deliberately quieter than signal) */
  --st-logged:#5E7B7E;      --st-logged-bg:#EAF0F0;
  --st-review:#3C5C96;      --st-review-bg:#E7ECF6;
  --st-dev:#96552B;         --st-dev-bg:#F6EBE2;
  --st-launched:#1C7350;    --st-launched-bg:#E3F1EA;
  --overdue:#A93325;        --overdue-bg:#F8E9E7;

  --radius:10px;
  --radius-lg:16px;
  --shadow:0 1px 2px rgba(8,25,29,.05), 0 12px 30px -20px rgba(8,25,29,.35);
  --shadow-lift:0 2px 4px rgba(8,25,29,.06), 0 24px 48px -28px rgba(8,25,29,.42);
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --paper:#061416;
    --surface:#0D2126;
    --surface-2:#112A30;
    --line:#1F3B40;
    --line-soft:#173136;

    --ink:#E7F1EF;
    --ink-soft:#A2BAB9;
    --ink-faint:#7A9291;

    --sea:#1B7F86;
    --sea-mid:#2A9AA0;
    --sea-deep:#031F25;
    --sea-tint:#11333A;
    --sea-on:#031F25;

    --signal:#F5C42A;
    --signal-soft:#3A2E06;
    --signal-line:#5B4808;
    --signal-deep:#F7D778;

    --st-logged:#9FBCBD;      --st-logged-bg:#18333A;
    --st-review:#9BB4E4;      --st-review-bg:#1A2A45;
    --st-dev:#DFA173;         --st-dev-bg:#3A2618;
    --st-launched:#6CC79B;    --st-launched-bg:#12312A;
    --overdue:#F0968A;        --overdue-bg:#3A1A18;

    --shadow:0 1px 2px rgba(0,0,0,.4), 0 12px 30px -20px rgba(0,0,0,.8);
    --shadow-lift:0 2px 4px rgba(0,0,0,.5), 0 24px 48px -28px rgba(0,0,0,.9);
  }
}

:root[data-theme="dark"]{
  --paper:#061416;
  --surface:#0D2126;
  --surface-2:#112A30;
  --line:#1F3B40;
  --line-soft:#173136;

  --ink:#E7F1EF;
  --ink-soft:#A2BAB9;
  --ink-faint:#7A9291;

  --sea:#1B7F86;
  --sea-mid:#2A9AA0;
  --sea-deep:#031F25;
  --sea-tint:#11333A;
  --sea-on:#031F25;

  --signal:#F5C42A;
  --signal-soft:#3A2E06;
  --signal-line:#5B4808;
  --signal-deep:#F7D778;

  --st-logged:#9FBCBD;      --st-logged-bg:#18333A;
  --st-review:#9BB4E4;      --st-review-bg:#1A2A45;
  --st-dev:#DFA173;         --st-dev-bg:#3A2618;
  --st-launched:#6CC79B;    --st-launched-bg:#12312A;
  --overdue:#F0968A;        --overdue-bg:#3A1A18;

  --shadow:0 1px 2px rgba(0,0,0,.4), 0 12px 30px -20px rgba(0,0,0,.8);
  --shadow-lift:0 2px 4px rgba(0,0,0,.5), 0 24px 48px -28px rgba(0,0,0,.9);
}

/* ---------- base ---------- */

*{box-sizing:border-box;}
[hidden]{ display:none !important; }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Archivo', system-ui, -apple-system, sans-serif;
  font-size:15px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight:500;
  line-height:1.15;
  text-wrap:balance;
  margin:0;
  letter-spacing:-.01em;
}
h1{ font-size:clamp(34px,4.2vw,50px); }
h2{ font-size:clamp(24px,2.6vw,31px); }
h3{ font-size:20px; }
p{ margin:0; }

a{ color:inherit; }

.mono, .entry-no, .hashline{
  font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  font-variant-numeric:tabular-nums;
}

:focus-visible{
  outline:2px solid var(--sea-mid);
  outline-offset:2px;
  border-radius:4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}

/* ---------- layout ---------- */

.shell{ min-height:100vh; display:flex; flex-direction:column; }
.wrap{ width:100%; max-width:1180px; margin:0 auto; padding:0 28px; }
main{ flex:1; padding-bottom:8px; }

.section{ padding:52px 0 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; margin-bottom:22px; flex-wrap:wrap;
}
.section-head h2{ margin-bottom:4px; }
.section-head .lede{ color:var(--ink-soft); font-size:14.5px; max-width:56ch; }

.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px; letter-spacing:.13em; text-transform:uppercase;
  color:var(--ink-faint);
}

/* ---------- top bar ---------- */

.topbar{
  background:var(--surface);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:30;
}
.topbar .wrap{
  display:flex; align-items:center; gap:32px; height:66px;
}
.brand{ display:flex; flex-direction:column; gap:1px; text-decoration:none; }
.brand .word{
  font-family:'Newsreader', serif;
  font-size:25px; font-weight:600; letter-spacing:.055em;
  color:var(--sea); line-height:1;
}
.brand .word b{ color:var(--signal); font-weight:600; }
.brand .tag{
  font-family:'IBM Plex Mono', monospace;
  font-size:9px; letter-spacing:.09em; color:var(--ink-faint);
  text-transform:uppercase;
}
nav.main{ display:flex; gap:26px; margin-left:8px; flex:1; }
nav.main a{
  text-decoration:none; font-size:14px; color:var(--ink-soft);
  padding:22px 0 20px; border-bottom:2px solid transparent; white-space:nowrap;
}
nav.main a:hover{ color:var(--ink); }
nav.main a.on{ color:var(--sea); border-bottom-color:var(--signal); font-weight:500; }
.topbar .side{ display:flex; align-items:center; gap:16px; }
.bell{
  position:relative; width:32px; height:32px; border-radius:50%;
  border:1px solid var(--line); background:var(--surface-2);
  display:grid; place-items:center; color:var(--ink-soft);
}
.bell .count{
  position:absolute; top:-5px; right:-5px;
  background:var(--signal); color:var(--signal-deep);
  font-family:'IBM Plex Mono', monospace; font-size:9px; font-weight:500;
  width:16px; height:16px; border-radius:50%; display:grid; place-items:center;
}
.avatar{
  width:32px; height:32px; border-radius:50%;
  background:var(--sea); color:var(--sea-on);
  display:grid; place-items:center;
  font-size:12px; font-weight:600; letter-spacing:.02em;
}

/* ---------- buttons ---------- */

.btn{
  display:inline-flex; align-items:center; gap:9px;
  font-family:'Archivo', sans-serif; font-size:14px; font-weight:500;
  padding:11px 20px; border-radius:var(--radius);
  border:1px solid transparent; cursor:pointer; text-decoration:none;
  white-space:nowrap;
}
.btn-signal{ background:var(--signal); color:var(--signal-deep); font-weight:600; }
.btn-signal:hover{ filter:brightness(1.05); }
.btn-sea{ background:var(--sea); color:var(--sea-on); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ background:var(--surface-2); }
.btn-sm{ padding:7px 13px; font-size:13px; }
.btn-onsea{
  background:rgba(255,255,255,.09); color:#EAF6F5;
  border-color:rgba(234,246,245,.24);
}
.btn-onsea:hover{ background:rgba(255,255,255,.16); }
.btns{ display:flex; gap:12px; flex-wrap:wrap; }
.btn .arrow{ font-family:'IBM Plex Mono', monospace; }

.link{
  color:var(--sea); text-decoration:none; font-weight:500; font-size:14px;
  border-bottom:1px solid var(--line); padding-bottom:1px;
}
.link:hover{ border-bottom-color:var(--sea); }

/* ---------- cards ---------- */

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
}
.card-pad{ padding:22px 24px; }

/* ---------- status pills ---------- */

.pill{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12px; font-weight:500; padding:3px 10px; border-radius:999px;
  white-space:nowrap;
}
.pill::before{
  content:''; width:6px; height:6px; border-radius:50%; background:currentColor;
}
.pill.logged{ color:var(--st-logged); background:var(--st-logged-bg); }
.pill.review{ color:var(--st-review); background:var(--st-review-bg); }
.pill.dev{ color:var(--st-dev); background:var(--st-dev-bg); }
.pill.launched{ color:var(--st-launched); background:var(--st-launched-bg); }
.pill.overdue{ color:var(--overdue); background:var(--overdue-bg); }
.pill.plain{ color:var(--ink-soft); background:var(--surface-2); border:1px solid var(--line); }
.pill.plain::before{ display:none; }

.tagline-meta{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  font-size:12.5px; color:var(--ink-faint);
}
.tagline-meta .entry-no{ color:var(--sea); font-size:11.5px; }

/* ---------- the log rule: a bound record, entry by entry ---------- */

.logrule{ position:relative; padding-left:30px; }
.logrule::before{
  content:''; position:absolute; left:6px; top:6px; bottom:6px;
  width:1px; background:var(--line);
}
.lognode{ position:relative; }
.lognode::before{
  content:''; position:absolute; left:-27px; top:7px;
  width:9px; height:9px; border-radius:50%;
  background:var(--surface); border:2px solid var(--sea);
}
.lognode.is-signal::before{ border-color:var(--signal); background:var(--signal); }
.lognode.is-open::before{ background:var(--surface); border-color:var(--line); }

/* ---------- gated body: the visibility rules, made visible ---------- */

.gate{
  border:1px dashed var(--line);
  background:var(--surface-2);
  border-radius:var(--radius);
  padding:13px 15px;
  display:flex; gap:12px; align-items:flex-start;
  font-size:13.5px; color:var(--ink-soft);
}
.gate .lock{ color:var(--st-dev); flex-shrink:0; margin-top:1px; }
.gate strong{ color:var(--ink); font-weight:600; }
.gate.private .lock{ color:var(--st-logged); }

/* ---------- stat tiles ---------- */

.tiles{ display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:16px; }
.tile{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:18px 20px;
}
.tile .k{ font-size:12.5px; color:var(--ink-soft); margin-bottom:8px; }
.tile .v{
  font-family:'Newsreader', serif; font-size:38px; font-weight:500;
  line-height:1; letter-spacing:-.02em; font-variant-numeric:tabular-nums;
}
.tile .s{ font-size:12px; color:var(--ink-faint); margin-top:7px; }
.tile.accent{ background:var(--sea); border-color:var(--sea); color:var(--sea-on); }
.tile.accent .k, .tile.accent .s{ color:rgba(234,244,243,.72); }

/* ---------- form ---------- */

.field{ margin-bottom:22px; }
.field label{
  display:block; font-size:13.5px; font-weight:500; margin-bottom:7px;
}
.field .req{ color:var(--st-dev); }
.field .hint{ font-size:12.5px; color:var(--ink-faint); margin-top:6px; }
.input, .textarea, .select{
  width:100%; font-family:'Archivo', sans-serif; font-size:14px;
  color:var(--ink); background:var(--surface);
  border:1px solid var(--line); border-radius:var(--radius);
  padding:11px 13px;
}
.textarea{ min-height:104px; resize:vertical; }
.input::placeholder, .textarea::placeholder{ color:var(--ink-faint); }
.counter{ font-size:11.5px; color:var(--ink-faint); text-align:right; margin-top:5px; }

.stepper{ display:flex; align-items:center; gap:0; margin-bottom:34px; }
.step{ display:flex; align-items:center; gap:10px; }
.step .num{
  width:28px; height:28px; border-radius:50%;
  display:grid; place-items:center; font-size:13px; font-weight:600;
  background:var(--surface-2); color:var(--ink-faint); border:1px solid var(--line);
}
.step .lbl{ font-size:13px; color:var(--ink-faint); white-space:nowrap; }
.step.done .num{ background:var(--sea-tint); color:var(--sea); border-color:var(--sea-tint); }
.step.done .lbl{ color:var(--ink-soft); }
.step.now .num{ background:var(--sea); color:var(--sea-on); border-color:var(--sea); }
.step.now .lbl{ color:var(--ink); font-weight:600; }
.step-line{ flex:1; height:1px; background:var(--line); margin:0 14px; min-width:20px; }

.choice{
  display:flex; gap:14px; align-items:flex-start;
  border:1px solid var(--line); border-radius:var(--radius);
  padding:16px 18px; background:var(--surface); cursor:pointer;
}
.choice + .choice{ margin-top:12px; }
.choice.on{ border-color:var(--sea); background:var(--sea-tint); }
.choice .dot{
  width:16px; height:16px; border-radius:50%; flex-shrink:0; margin-top:3px;
  border:1.5px solid var(--line); background:var(--surface);
}
.choice.on .dot{ border:5px solid var(--sea); }
.choice .ttl{ display:block; font-weight:600; font-size:14.5px; margin-bottom:4px; }
.choice .desc{ display:block; font-size:13px; color:var(--ink-soft); }

/* ---------- promise + receipt ---------- */

.promise{
  display:flex; gap:14px; align-items:flex-start;
  background:var(--signal-soft); border:1px solid var(--signal-line);
  border-radius:var(--radius); padding:15px 17px;
}
.promise .ico{ color:var(--signal-deep); flex-shrink:0; margin-top:1px; }
.promise .t{ font-weight:600; font-size:14px; margin-bottom:3px; color:var(--ink); }
.promise .d{ font-size:13px; color:var(--ink-soft); }

.receipt{
  background:var(--sea-deep); color:#DCEDEC;
  border-radius:var(--radius-lg); padding:22px 24px;
  border:1px solid var(--sea-deep);
}
.receipt h4{
  font-family:'Newsreader', serif; font-size:18px; color:#FFFFFF;
  margin-bottom:3px; font-weight:500;
}
.receipt .sub{ font-size:12.5px; color:rgba(220,237,236,.66); margin-bottom:18px; }
.receipt dl{ margin:0; display:grid; gap:11px; }
.receipt .row{
  display:grid; grid-template-columns:132px 1fr; gap:14px; align-items:baseline;
}
.receipt dt{ font-size:12px; color:rgba(220,237,236,.6); }
.receipt dd{
  margin:0; font-family:'IBM Plex Mono', monospace; font-size:12px;
  overflow-wrap:anywhere; color:#EAF6F5;
}
.receipt dd.hi{ color:var(--signal); }
.receipt .foot{
  margin-top:20px; padding-top:16px; border-top:1px solid rgba(220,237,236,.14);
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.receipt .foot .note{ font-size:12px; color:rgba(220,237,236,.6); max-width:44ch; }

/* ---------- entries in the log ---------- */

.entry{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:20px 22px;
  display:grid; gap:12px;
}
.entry-top{
  display:flex; align-items:flex-start; justify-content:space-between; gap:18px;
}
.entry h3{ font-size:18.5px; margin-bottom:5px; }
.entry .body{ font-size:14px; color:var(--ink-soft); max-width:78ch; }
.entry-foot{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap; padding-top:12px; border-top:1px solid var(--line-soft);
}

/* ---------- table-ish rows ---------- */

.rows{ display:grid; gap:12px; }

/* ---------- legend ---------- */

.legend{
  background:var(--surface-2); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:18px 20px;
}
.legend h4{ font-family:'Archivo',sans-serif; font-size:13px; font-weight:600; margin-bottom:12px; }
.legend ul{ margin:0; padding:0; list-style:none; display:grid; gap:9px; }
.legend li{ display:flex; gap:10px; align-items:flex-start; font-size:13px; color:var(--ink-soft); }
.legend li .pill{ flex-shrink:0; min-width:112px; }

/* ---------- sea foot ---------- */

.seafoot{
  margin-top:56px; background:var(--sea-deep); color:#CFE4E3; position:relative;
}
.seafoot .waves{ display:block; width:100%; height:54px; }
.seafoot .inner{ padding:8px 0 46px; }
.seafoot .quote{
  font-family:'Newsreader', serif; font-size:23px; line-height:1.35;
  color:#FFFFFF; max-width:34ch; font-weight:400;
}
.seafoot .who{ font-size:12.5px; color:rgba(207,228,227,.62); margin-top:12px; }
.seafoot .grid{
  display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:end;
}
.seafoot .facts{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.seafoot .facts .v{
  font-family:'Newsreader',serif; font-size:31px; line-height:1;
  color:var(--signal); font-variant-numeric:tabular-nums;
}
.seafoot .facts .k{ font-size:12px; color:rgba(207,228,227,.66); margin-top:6px; }

/* ---------- hero ---------- */

.hero{
  background:var(--sea-deep); color:#E4F1F0; position:relative; overflow:hidden;
}
.hero .wrap{ position:relative; z-index:2; padding-top:64px; padding-bottom:86px; min-height:536px; }
.hero h1{ color:#FFFFFF; max-width:15ch; margin-bottom:16px; font-size:clamp(36px,4.6vw,56px); }
.hero h1 em{ font-style:normal; color:var(--signal); }
.hero .lede{ font-size:16px; color:rgba(228,241,240,.84); max-width:48ch; margin-bottom:20px; }
.hero-points{ list-style:none; margin:0 0 26px; padding:0; display:grid; gap:9px; }
.hero-points li{
  display:flex; gap:11px; align-items:flex-start;
  font-size:14.5px; color:rgba(228,241,240,.88);
}
.hero-points li::before{
  content:'\2713'; color:var(--signal); flex-shrink:0;
  font-family:'IBM Plex Mono', monospace; font-size:13px; line-height:1.5;
}

.hero .waves{ display:block; width:100%; height:56px; margin-top:34px; }
.hero .kicker{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(242,183,5,.14); border:1px solid rgba(242,183,5,.3);
  color:var(--signal); border-radius:999px; padding:5px 13px;
  font-size:12px; margin-bottom:20px;
}

/* interior page head — a shallower stretch of the same water */
.pagehead{ background:var(--sea-deep); color:#E4F1F0; }
.pagehead .wrap{ padding-top:40px; }
.pagehead h1{ color:#FFFFFF; font-size:clamp(30px,3.4vw,40px); margin-bottom:12px; }
.pagehead .lede{ font-size:15.5px; color:rgba(228,241,240,.78); max-width:62ch; }
.pagehead .eyebrow{ color:rgba(228,241,240,.5); margin-bottom:12px; }
.pagehead .headrow{ display:flex; align-items:flex-end; justify-content:space-between; gap:28px; flex-wrap:wrap; }
.pagehead .waves{ display:block; width:100%; height:46px; margin-top:30px; }

/* the hero scene: bulb-sail boat, the network, and the journey an idea takes */
.hero-scene{ position:absolute; inset:0; z-index:1; overflow:hidden; }
.hero-scene svg{ width:100%; height:100%; display:block; }
.wm-dot{ fill:rgba(214,240,238,.22); }
.wm-site{ fill:#F2B705; opacity:.75; }
.wm-site.pulse{ animation:wmpulse 3.6s ease-in-out infinite; }
@keyframes wmpulse{ 0%,100%{ opacity:.35; } 50%{ opacity:.95; } }
@media (prefers-reduced-motion: reduce){ .wm-site.pulse{ animation:none; opacity:.75; } }

.hero-copy{ max-width:600px; }
.hero-tag{
  position:absolute; right:28px; bottom:74px; z-index:2;
  font-family:'Newsreader', serif; font-size:23px; line-height:1.25;
  color:#FFFFFF; text-align:right;
}
.hero-tag::after{
  content:''; display:block; width:66px; height:3px; border-radius:2px;
  background:var(--signal); margin:12px 0 0 auto;
}

/* the bulb: only ever on a "make something new" control */
.bulb{ flex-shrink:0; }
.btn-lg{ padding:14px 24px; font-size:15px; }

/* the flag: only on the state where an idea has actually landed */
.stage .flag{ color:var(--signal); vertical-align:-2px; margin-left:6px; }

/* today's entries, on paper this time */
.promise-grid{ display:grid; grid-template-columns:1.25fr .95fr; gap:22px; align-items:start; }
.promise-grid .tiles{ grid-template-columns:repeat(2,1fr); }
.logbook.light{
  background:var(--surface); border-color:var(--line);
  box-shadow:var(--shadow); backdrop-filter:none; -webkit-backdrop-filter:none;
}
.logbook.light .lb-head{ color:var(--ink-faint); border-bottom-color:var(--line); }
.logbook.light .lb-entry + .lb-entry{ border-top-color:var(--line-soft); }
.logbook.light .lb-entry .t{ color:var(--ink); }
.logbook.light .lb-entry .r2{ color:var(--ink-faint); }
.logbook.light .lb-entry .no{ color:var(--sea); }
.logbook.light .lb-foot{ color:var(--ink-soft); border-top-color:var(--line); }
.logbook.light .lb-foot b{ color:var(--ink); }

/* the logbook card in the hero: the product's actual object */
.logbook{
  background:rgba(4,36,43,.93);
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
  border:1px solid rgba(228,241,240,.18);
  box-shadow:0 24px 60px -30px rgba(0,0,0,.7);
  border-radius:var(--radius-lg);
  padding:20px 22px;
}
.logbook .lb-head{
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom:13px; margin-bottom:14px;
  border-bottom:1px solid rgba(228,241,240,.14);
  font-family:'IBM Plex Mono',monospace; font-size:11px;
  letter-spacing:.09em; text-transform:uppercase; color:rgba(228,241,240,.55);
}
.lb-entry{ display:grid; gap:3px; padding:11px 0; }
.lb-entry + .lb-entry{ border-top:1px solid rgba(228,241,240,.09); }
.lb-entry .r1{ display:flex; align-items:center; gap:10px; }
.lb-entry .no{
  font-family:'IBM Plex Mono',monospace; font-size:11px;
  color:var(--signal); flex-shrink:0;
}
.lb-entry .t{ font-size:14px; color:#FFFFFF; flex:1; }
.lb-entry .r2{
  font-size:12px; color:rgba(228,241,240,.55);
  display:flex; gap:12px; flex-wrap:wrap;
}
.lb-foot{
  margin-top:15px; padding-top:14px;
  border-top:1px solid rgba(228,241,240,.14);
  font-size:12px; line-height:1.5; color:rgba(228,241,240,.62);
}
.lb-foot b{ color:rgba(255,255,255,.9); font-weight:600; }

/* ---------- shipped strip: warmth from evidence ---------- */

.shipped{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:16px; }
.ship-card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:20px 22px; display:grid; gap:10px;
}
.ship-card .who{
  display:flex; align-items:center; gap:10px;
}
.ship-card .who .av{
  width:30px; height:30px; border-radius:50%; background:var(--sea-tint);
  color:var(--sea); display:grid; place-items:center; font-size:11.5px; font-weight:600;
}
.ship-card .who .nm{ font-size:13.5px; font-weight:600; }
.ship-card .who .dt{ font-size:12px; color:var(--ink-faint); }
.ship-card .idea{ font-family:'Newsreader',serif; font-size:19px; line-height:1.2; }
.ship-card .outcome{ font-size:13.5px; color:var(--ink-soft); }
.ship-card .metric{
  font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--sea);
  background:var(--sea-tint); border-radius:6px; padding:5px 9px; justify-self:start;
}

/* ---------- pipeline ---------- */

.pipeline{ display:grid; grid-template-columns:repeat(5,1fr); gap:0; }
.stage{ padding:0 16px; position:relative; }
.stage:first-child{ padding-left:0; }
.stage:last-child{ padding-right:0; }
.stage .bar{ height:3px; background:var(--sea-tint); border-radius:2px; margin-bottom:14px; }
.stage:nth-child(1) .bar{ background:var(--signal); }
.stage .n{
  font-family:'IBM Plex Mono',monospace; font-size:11px;
  color:var(--ink-faint); margin-bottom:6px;
}
.stage .t{ font-size:14.5px; font-weight:600; margin-bottom:5px; }
.stage .d{ font-size:13px; color:var(--ink-soft); }

/* ---------- challenge cards ---------- */

.ch-card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column;
}
.ch-card .band{ height:6px; background:var(--sea); }
.ch-card.featured .band{ background:var(--signal); }
.ch-card .inner{ padding:22px 24px; display:grid; gap:12px; flex:1; }
.ch-card h3{ font-size:21px; }
.ch-card .desc{ font-size:14px; color:var(--ink-soft); }
.ch-card .foot{
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  padding:14px 24px; border-top:1px solid var(--line-soft); background:var(--surface-2);
  font-size:12.5px; color:var(--ink-soft);
}
.ch-card .foot .sp{ margin-left:auto; }

/* ---------- misc ---------- */

.grid-2{ display:grid; grid-template-columns:1.35fr .65fr; gap:28px; align-items:start; }
.grid-3{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.stack{ display:grid; gap:16px; }
.stack-sm{ display:grid; gap:9px; }
.row-between{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.divider{ height:1px; background:var(--line-soft); }
.muted{ color:var(--ink-soft); }
.faint{ color:var(--ink-faint); }
.sm{ font-size:13px; }
.xs{ font-size:12px; }
.right{ text-align:right; }

.filters{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.chip{
  font-size:13px; padding:7px 14px; border-radius:999px;
  border:1px solid var(--line); background:var(--surface); color:var(--ink-soft);
  cursor:pointer;
}
.chip.on{ background:var(--sea); border-color:var(--sea); color:var(--sea-on); font-weight:500; }

.toggle{
  display:inline-flex; border:1px solid var(--line); border-radius:999px;
  background:var(--surface); padding:3px; gap:2px;
}
.toggle button{
  font-family:'Archivo',sans-serif; font-size:12.5px; padding:6px 14px;
  border:none; background:transparent; color:var(--ink-soft);
  border-radius:999px; cursor:pointer;
}
.toggle button.on{ background:var(--sea); color:var(--sea-on); font-weight:500; }

.viewers{ display:grid; gap:10px; }
.viewer{
  display:flex; align-items:center; gap:12px; font-size:13px;
  padding-bottom:10px; border-bottom:1px solid var(--line-soft);
}
.viewer:last-child{ border-bottom:none; padding-bottom:0; }
.viewer .av{
  width:26px; height:26px; border-radius:50%; background:var(--surface-2);
  border:1px solid var(--line); color:var(--ink-soft);
  display:grid; place-items:center; font-size:10.5px; font-weight:600;
}
.viewer .when{ margin-left:auto; color:var(--ink-faint); font-size:12px; }

/* ---------- responsive ---------- */

@media (max-width:1080px){
  .hero-tag{ display:none; }
  .promise-grid{ grid-template-columns:1fr; }
}
@media (max-width:900px){
  .hero-scene{ opacity:.42; }
}
@media (max-width:960px){
  .grid-2{ grid-template-columns:1fr; }
  .seafoot .grid{ grid-template-columns:1fr; gap:32px; }
  .pipeline{ grid-template-columns:repeat(2,1fr); gap:22px 16px; }
  .stage{ padding:0; }
  nav.main{ display:none; }
}
@media (max-width:620px){
  .wrap{ padding:0 18px; }
  .receipt .row{ grid-template-columns:1fr; gap:3px; }
  .pipeline{ grid-template-columns:1fr; }
  .seafoot .facts{ grid-template-columns:1fr 1fr; }
}

/* ============================================================
   SECTION RHYTHM
   Every section announces itself: its own ground, its own mark,
   and at least one thing to look at rather than read.
   ============================================================ */

/* --- scroll cue: there is more below, and it says what --- */
.scrollcue{
  position:absolute; left:50%; bottom:66px; transform:translateX(-50%); z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  font-family:'IBM Plex Mono', monospace; font-size:10.5px;
  letter-spacing:.15em; text-transform:uppercase;
  color:rgba(228,241,240,.62); text-decoration:none;
}
.scrollcue:hover{ color:#FFFFFF; }
.scrollcue .chev{ animation:cuebob 2s ease-in-out infinite; }
@keyframes cuebob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(5px); } }
@media (prefers-reduced-motion: reduce){ .scrollcue .chev{ animation:none; } }
@media (max-width:900px){ .scrollcue{ display:none; } }

/* --- bands: three grounds, alternating down the page --- */
.band{ position:relative; }
.band .band-inner{ padding:54px 0 58px; }
.band-tint{ background:var(--sea-tint); }
.band-deep{ background:var(--sea-deep); color:#DCEDEC; }
.band-deep h2, .band-deep h3, .band-deep h4{ color:#FFFFFF; }
.band-deep .lede, .band-deep .muted, .band-deep p{ color:rgba(220,237,236,.78); }
.band-deep .eyebrow{ color:rgba(220,237,236,.5); }
.band-deep .link{ color:var(--signal); border-bottom-color:rgba(242,183,5,.35); }
.wave-in, .wave-out{ display:block; width:100%; height:38px; }

/* --- section mark: a badge that says what kind of section this is --- */
.sect-mark{
  width:44px; height:44px; border-radius:13px; display:grid; place-items:center;
  background:var(--signal-soft); color:var(--signal-deep);
  border:1px solid var(--signal-line); margin-bottom:15px; flex-shrink:0;
}
.sect-mark.sea{ background:var(--sea-tint); color:var(--sea); border-color:transparent; }
.band-deep .sect-mark{
  background:rgba(242,183,5,.15); color:var(--signal); border-color:rgba(242,183,5,.32);
}
.band-tint .sect-mark.sea{ background:var(--surface); }

/* --- meters: the promise, drawn --- */
.meter{ display:grid; gap:8px; }
.meter .track{
  height:12px; border-radius:7px; background:var(--sea-tint);
  position:relative; overflow:visible;
}
.band-deep .meter .track{ background:rgba(220,237,236,.14); }
.meter .fill{ height:12px; border-radius:7px; background:var(--sea); }
.meter .fill.good{ background:var(--st-launched); }
.meter .limit{
  position:absolute; top:-6px; bottom:-6px; width:2px; background:var(--ink-faint);
}
.band-deep .meter .limit{ background:rgba(220,237,236,.5); }
.meter .scale{
  display:flex; justify-content:space-between;
  font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--ink-faint);
}
.band-deep .meter .scale{ color:rgba(220,237,236,.55); }
.meter .cap{ font-size:13px; color:var(--ink-soft); }

.split{ display:flex; height:14px; border-radius:7px; overflow:hidden; gap:2px; }
.split i{ display:block; height:100%; }
.split i.on{ background:var(--st-launched); }
.split i.off{ background:var(--overdue); }
.split-key{ display:flex; gap:18px; font-size:12.5px; color:var(--ink-soft); margin-top:9px; }
.split-key span{ display:flex; align-items:center; gap:7px; }
.split-key .sw{ width:10px; height:10px; border-radius:3px; }

/* --- the journey line: the hero's dotted path, walked step by step --- */
.jline{ position:relative; display:grid; grid-template-columns:repeat(5,1fr); }
.jline::before{
  content:''; position:absolute; left:10%; right:10%; top:36px; height:2px;
  background-image:linear-gradient(to right, var(--signal) 40%, transparent 0);
  background-size:11px 2px; opacity:.55;
}
.jstep{ text-align:center; padding:0 10px; position:relative; }
.jstep .ico{
  width:72px; height:72px; margin:0 auto 16px; border-radius:50%;
  display:grid; place-items:center; position:relative; z-index:1;
  background:var(--sea-deep); border:1.5px solid rgba(242,183,5,.4); color:var(--signal);
}
.jstep.last .ico{ background:var(--signal); color:var(--sea-deep); border-color:var(--signal); }
.jstep .n{
  font-family:'IBM Plex Mono', monospace; font-size:10.5px; letter-spacing:.13em;
  color:rgba(220,237,236,.5); margin-bottom:6px;
}
.jstep .t{ font-size:15.5px; font-weight:600; color:#FFFFFF; margin-bottom:6px; }
.jstep .d{ font-size:13px; color:rgba(220,237,236,.72); }
@media (max-width:900px){
  .jline{ grid-template-columns:1fr 1fr; gap:28px 0; }
  .jline::before{ display:none; }
}
@media (max-width:560px){ .jline{ grid-template-columns:1fr; } }

/* --- a figure caption device for the "look at this" moments --- */
.figure{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:24px 26px; display:grid; gap:20px;
}
.band-deep .figure{
  background:rgba(255,255,255,.05); border-color:rgba(220,237,236,.16);
}
.figure .fig-row{ display:grid; gap:9px; }
.figure .fig-row .top{
  display:flex; align-items:baseline; justify-content:space-between; gap:14px;
}
.figure .fig-row .nm{ font-size:13.5px; font-weight:600; }
.figure .fig-row .vl{
  font-family:'IBM Plex Mono', monospace; font-size:13px; color:var(--sea);
}
.band-deep .figure .fig-row .vl{ color:var(--signal); }

/* --- domain icon on a challenge card --- */
.ch-icon{
  width:40px; height:40px; border-radius:11px; display:grid; place-items:center;
  background:var(--sea-tint); color:var(--sea); flex-shrink:0;
}
.ch-card.featured .ch-icon{ background:var(--signal-soft); color:var(--signal-deep); }
.ch-head{ display:flex; align-items:flex-start; gap:14px; }
.daysbar{ height:6px; border-radius:4px; background:var(--sea-tint); overflow:hidden; margin-top:2px; }
.daysbar i{ display:block; height:100%; background:var(--sea); border-radius:4px; }
.ch-card.featured .daysbar i{ background:var(--signal); }

/* --- step icons on the submit flow --- */
.step .num svg{ width:15px; height:15px; }

/* --- a progress strip for one idea's five states --- */
.states{ display:flex; gap:6px; }
.states i{
  flex:1; height:7px; border-radius:4px; background:var(--line);
}
.states i.on{ background:var(--sea); }
.states i.now{ background:var(--signal); }
.band-deep .states i{ background:rgba(220,237,236,.18); }
.band-deep .states i.on{ background:var(--sea-mid); }
.states-key{
  display:flex; justify-content:space-between; margin-top:9px;
  font-family:'IBM Plex Mono', monospace; font-size:10.5px;
  letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint);
}
.band-deep .states-key{ color:rgba(220,237,236,.55); }


/* Signed-in account menu */
.account-menu{position:relative}
.avatar.account-trigger{
  border:0;
  cursor:pointer;
  font:700 12px/1 Archivo,system-ui,sans-serif;
}
.avatar.account-trigger:focus-visible{outline:3px solid var(--signal);outline-offset:3px}
.account-dropdown{
  position:absolute;
  z-index:40;
  top:calc(100% + 12px);
  right:0;
  width:min(300px,calc(100vw - 32px));
  padding:8px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
  box-shadow:var(--shadow-lift);
}
.account-dropdown[hidden],.account-dropdown a[hidden]{display:none}
.account-identity{padding:10px 12px 12px;border-bottom:1px solid var(--line-soft);margin-bottom:5px}
.account-label{display:block;color:var(--ink-faint);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.account-identity strong{display:block;overflow:hidden;color:var(--ink);font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.account-dropdown a,.account-dropdown button{
  display:block;
  width:100%;
  padding:10px 12px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--ink);
  cursor:pointer;
  font:600 14px/1.3 Archivo,system-ui,sans-serif;
  text-align:left;
  text-decoration:none;
}
.account-dropdown a:hover,.account-dropdown button:hover{background:var(--sea-tint);color:var(--sea-deep)}
.account-dropdown #manage-access-link{color:var(--sea-mid)}
