/* ==========================================================================
   OOOG Strategy 2027: the wash page's design language in Daytime (strategy window D3, D10), Night behind
   the pill. Tokens copied from pages/wash-detailing/index.html (audited palette; do not darken). Gellix +
   Nacelle. Hairline rules do the structural work; status reads as text or border, never as a fill.
   iPhone first: 17px form text, 44px tap targets.
   ========================================================================== */

@font-face{font-family:'Gellix';src:url('https://cdn.prod.website-files.com/636172e361709b6e4a2b97d4/636180a873df097613d34480_Gellix-Light.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Gellix';src:url('https://cdn.prod.website-files.com/636172e361709b6e4a2b97d4/636180a845d523bc244da4fd_Gellix-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Gellix';src:url('https://cdn.prod.website-files.com/636172e361709b6e4a2b97d4/636180a8c42f80dc14a179c4_Gellix-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Gellix';src:url('https://cdn.prod.website-files.com/636172e361709b6e4a2b97d4/636180a7da7fb2501047e24f_Gellix-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Gellix';src:url('https://cdn.prod.website-files.com/636172e361709b6e4a2b97d4/636180a806a1c556bde9f2f3_Gellix-RegularItalic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:'Nacelle';src:url('https://cdn.prod.website-files.com/636172e361709b6e4a2b97d4/636172e361709b32cd2b981f_Nacelle-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Nacelle';src:url('https://cdn.prod.website-files.com/636172e361709b6e4a2b97d4/636172e361709b81602b981e_Nacelle-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}

/* Daytime (the default here). Ratios are on #fff; see the wash page for the audit notes. */
:root{
  color-scheme:light;
  --ground:#ffffff;
  --surface:#f4f4f5;
  --text:#111111;            /* 18.9:1 */
  --muted:#575757;           /* 7.2:1 AAA */
  --rule:#e4e4e7;            /* hairline only, never text */
  --rule-strong:#c8c8cd;     /* hairline only, never text */
  --btn-border:#767676;      /* 4.54:1, WCAG 1.4.11 */
  --accent:#1668c4;          /* 5.5:1: text, active state, focus ring */
  --accent-quiet:#3898ec;    /* brand blue: rules and fills only */
  --ok:#0d6130;              /* 7.58:1 AAA (window F3; the wash page's #137437 is 5.86:1) */
  --warn:#96530a;
  --bad:#a51c1c;             /* 7.58:1 AAA (window F3; was #c62222, 5.75:1) */
  --text-strong:#000000;
  --ground-2:#ececef;
  --display:'Gellix',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  --body:'Nacelle',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  --gut:max(16px, min(5vw, 40px));
  --maxw:760px;
}
/* Night, the wash page's default palette. Ratios are on #171717. */
html[data-theme="night"]{
  color-scheme:dark;
  --ground:#171717;
  --surface:#1c1c1c;
  --text:#fefcfb;            /* 17.5:1 */
  --muted:#a3a3a3;           /* 7.11:1 */
  --rule:#2a2a2a;
  --rule-strong:#3d3d3d;
  --btn-border:#666666;      /* 3.12:1 */
  --accent:#5aa9f0;          /* 7.14:1 */
  --ok:#7cc796;
  --warn:#e0a53a;
  --bad:#f08c8c;
  --text-strong:#ffffff;
  --ground-2:#1f1f1f;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;overflow-x:clip}
body{margin:0;background:var(--ground);color:var(--text);font-family:var(--body);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:2px}
/* Each new screen moves focus to its heading for screen readers (survey.js show()); the heading isn't a
   control, so it gets no outline (window F7). Buttons, links and fields keep theirs. */
h1[tabindex="-1"]:focus{outline:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
button{font:inherit;color:inherit;cursor:pointer}
button:disabled{opacity:.45;cursor:not-allowed}
a{color:var(--accent)}
a:hover{color:var(--text)}
h1,h2,h3{text-wrap:balance}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Top bar ------------------------------------------------------------------ */
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:41;background:var(--ground)}
.topbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;background:var(--ground);border-bottom:1px solid var(--rule)}
.topbar__in{max-width:var(--maxw);margin:0 auto;padding-inline:max(var(--gut),env(safe-area-inset-left,0px)) max(var(--gut),env(safe-area-inset-right,0px));min-height:58px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px}
.brand{margin:0;font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap}
.brand span{font-weight:400;color:var(--muted)}
.pill{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 14px 0 12px;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--text);background:none;border:1px solid var(--btn-border);border-radius:999px}
.pill:hover{border-color:var(--text)}
a.pill{text-decoration:none}
.topbar__acts{display:flex;flex-wrap:wrap;gap:8px}
.ico{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* Page ---------------------------------------------------------------------- */
.wrap{max-width:var(--maxw);margin:0 auto;padding-block:28px 72px;padding-inline:max(var(--gut),env(safe-area-inset-left,0px)) max(var(--gut),env(safe-area-inset-right,0px))}
.stack{display:flex;flex-direction:column;gap:22px}
.loading{color:var(--muted)}
.k{margin:0;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.title{margin:12px 0 0;font-family:var(--display);font-weight:700;font-size:clamp(40px,11vw,72px);line-height:.9;letter-spacing:-.045em;text-transform:uppercase}
.sub{margin:12px 0 0;font-family:var(--display);font-style:italic;font-weight:400;font-size:clamp(19px,3.4vw,24px);line-height:1.2;letter-spacing:-.02em;color:var(--muted)}
.hl{margin:10px 0 0;font-family:var(--display);font-weight:700;font-size:clamp(30px,6vw,44px);line-height:.98;letter-spacing:-.035em}
.dek{margin:14px 0 0;font-family:var(--display);font-weight:400;font-size:18px;line-height:1.4;letter-spacing:-.01em;color:var(--muted);max-width:56ch}
.credit{margin:10px 0 0;font-size:14px;color:var(--muted)}
.lede{margin:0;max-width:60ch}
.note{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);font-size:16px;line-height:1.45}
.note .ico{width:20px;height:20px;margin-top:2px}
.notice{margin:0;padding:12px 14px;border:1px solid var(--bad);border-radius:5px;color:var(--bad);font-size:16px}
.ok{color:var(--ok)}

/* Buttons -------------------------------------------------------------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:14px 24px;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.2em;text-transform:uppercase;text-decoration:none;color:var(--text);background:transparent;border:1px solid var(--btn-border);border-radius:5px}
.btn:hover{border-color:var(--text);color:var(--text)}
.btn-fill{background:var(--text);color:var(--ground);border-color:var(--text)}
.btn-fill:hover{background:var(--text-strong);border-color:var(--text-strong);color:var(--ground)}
.btn-block{display:flex;width:100%}
.btn-row{display:flex;flex-wrap:wrap;gap:10px}
.back{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0;background:none;border:0;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--text)}

/* Countdown to the close (John, 27 Oct) and the all-done box ---------------- */
.countdown{margin-top:24px}
.cd{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:8px;border-top:1px solid var(--rule-strong);border-left:1px solid var(--rule-strong)}
.cd > div{padding:10px 10px 12px;border-right:1px solid var(--rule-strong);border-bottom:1px solid var(--rule-strong)}
.cd b{display:block;font-family:var(--display);font-weight:300;font-size:clamp(30px,8vw,44px);line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.cd .k{margin-top:6px;font-size:11px;letter-spacing:.16em}
.cd__when{margin:8px 0 0;font-size:15px;color:var(--muted)}
.done{display:flex;gap:14px;align-items:flex-start;padding:18px;border:2px solid var(--ok);border-radius:5px}
.done .ico{width:28px;height:28px;margin-top:2px;color:var(--ok);stroke-width:2.4}
.done__t{margin:0;font-family:var(--display);font-weight:700;font-size:24px;line-height:1.15;letter-spacing:-.02em;color:var(--ok)}
.done__s{margin:8px 0 0;font-size:17px}

/* Section list ------------------------------------------------------------- */
.sections{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule-strong)}
.sections li{border-bottom:1px solid var(--rule)}
.sec{display:flex;align-items:baseline;gap:14px;width:100%;min-height:56px;padding:12px 2px;background:none;border:0;text-align:left}
.sec:hover .sec__t{text-decoration:underline;text-underline-offset:3px}
/* Muted, not the wash page's --btn-border: at 22px the numerals are normal-size text and need 4.5:1
   (--btn-border is 3.12:1 at Night, which passes only for large text). */
.num{min-width:32px;font-family:var(--display);font-weight:300;font-size:22px;line-height:1;color:var(--muted);font-variant-numeric:tabular-nums}
.sec__t{flex:1 1 auto;font-size:17px;line-height:1.35}
.sec__m{font-size:15px;color:var(--muted);white-space:nowrap}
.sec__m.ok{color:var(--ok);font-weight:700}

/* Section screen ------------------------------------------------------------ */
/* Progress: a label, the count in words, and a bar (John, 27 Oct). The fill is the accent so it holds 3:1
   against the track in both modes; the words carry the count. */
.prog{display:flex;flex-direction:column;gap:8px}
.back + .prog{margin-top:12px}
.prog__row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px}
.prog__n{margin:0;font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}
.prog__n.ok{color:var(--ok);font-weight:700}
.meter{height:4px;border-radius:2px;background:var(--rule-strong);overflow:hidden}
.meter > span{display:block;height:100%;background:var(--accent);transition:width .25s ease}
@media (prefers-reduced-motion:reduce){.meter > span{transition:none}}
.group{margin:12px 0 0;padding-top:18px;border-top:1px solid var(--rule-strong);font-family:var(--display);font-weight:600;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.q{display:flex;flex-direction:column;gap:8px}
.qlabel{font-family:var(--display);font-weight:600;font-size:18px;line-height:1.3;letter-spacing:-.01em}
.hint{margin:0;font-size:15px;color:var(--muted)}
.saved{margin:0;min-height:20px;font-size:14px;color:var(--muted)}
.saved.err{color:var(--bad)}
.in,.ta{display:block;width:100%;padding:11px 12px;font:inherit;font-size:17px;line-height:1.5;color:var(--text);background:var(--ground);border:1px solid var(--btn-border);border-radius:5px}
.in{min-height:46px}
.in-num{max-width:180px;font-variant-numeric:tabular-nums}
.ta{min-height:112px;resize:vertical}
.in:focus,.ta:focus{border-color:var(--text)}
fieldset{margin:0;padding:0;border:0;min-width:0}
legend{padding:0}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.chip{min-height:44px;padding:8px 14px;font-family:var(--display);font-weight:600;font-size:13px;letter-spacing:.08em;line-height:1.25;text-align:left;color:var(--muted);background:transparent;border:1px solid var(--btn-border);border-radius:5px}
.chip:hover{color:var(--text)}
.chip[aria-pressed="true"]{background:var(--text);color:var(--ground);border-color:var(--text)}

/* Growth budget ------------------------------------------------------------- */
.left{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--rule-strong);border-bottom:1px solid var(--rule-strong)}
.left__n{margin:4px 0 0;font-family:var(--display);font-weight:300;font-size:52px;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.left__note{margin:0 0 4px;max-width:18ch;text-align:right;font-size:15px;line-height:1.35;color:var(--muted)}
.left__note.ok{color:var(--ok);font-weight:700}
.bets{list-style:none;margin:0;padding:0}
.bet{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid var(--rule)}
.bet__l{flex:1 1 auto;min-width:0;font-size:17px;line-height:1.3}
.stepper{flex:none;display:flex;align-items:center;gap:4px}
.step{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0;color:var(--text);background:transparent;border:1px solid var(--btn-border);border-radius:5px}
.step:hover:not(:disabled){border-color:var(--text)}
.val{min-width:36px;text-align:center;font-family:var(--display);font-weight:600;font-size:20px;font-variant-numeric:tabular-nums}
.box{padding:14px 16px 16px;border:1px solid var(--rule-strong);border-radius:5px}

/* Leadership area ----------------------------------------------------------- */
.tabs{display:flex;flex-wrap:wrap;gap:4px 24px;border-bottom:1px solid var(--rule);margin-bottom:28px}
.tab{min-height:44px;padding:0;background:none;border:0;border-bottom:2px solid transparent;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.tab:hover{color:var(--text)}
.tab[aria-current="page"]{color:var(--text);border-bottom-color:var(--accent)}
.seg{display:inline-flex;flex-wrap:wrap;border:1px solid var(--btn-border);border-radius:5px;overflow:hidden}
.seg button{min-height:44px;padding:0 18px;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);background:transparent;border:0;border-right:1px solid var(--btn-border)}
.seg button:last-child{border-right:0}
.seg button[aria-pressed="true"]{background:var(--text);color:var(--ground)}
.seg button:focus-visible{outline-offset:-3px}
.field{display:flex;flex-direction:column;gap:6px}
.field label,.flabel{font-family:var(--display);font-weight:600;font-size:15px}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.people{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule-strong)}
.person{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px 20px;padding:16px 0;border-bottom:1px solid var(--rule)}
.person__main{flex:1 1 260px;min-width:0}
.person__name{margin:0;font-family:var(--display);font-weight:700;font-size:18px}
.person__meta{margin:2px 0 0;font-size:15px;color:var(--muted);overflow-wrap:anywhere}
.person__acts{display:flex;flex-wrap:wrap;gap:8px}
.btn-sm{min-height:44px;padding:10px 16px}
.linkbox{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--accent);border-radius:5px}
.nums{display:flex;flex-direction:column;gap:28px}
.nums h2{margin:0 0 4px;font-family:var(--display);font-weight:600;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.numrow{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,180px);gap:4px 16px;align-items:center;padding:10px 0;border-bottom:1px solid var(--rule)}
.numrow label{font-size:17px}
.numrow .saved{grid-column:1 / -1}
.money{position:relative}
.money::before{content:"$";position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--muted)}
.money .in{padding-left:26px}
