/* Layout concept: a plain, friendly storefront. A hero with a tracker you can try, a live stock grid, a short about, one call to action. Navy and orange come from the BOJO logo. */
:root {
  --bg: #FBF8F3; --surface: #FFFFFF; --line: #E8DFD3; --fg: #072138; --muted: #566073;
  --accent: #E95E03; --accent-text: #B84700; --primary: #072138; --primary-ink: #FFFFFF;
  --ok: #0F6B40; --ok-bg: #DDF3E8; --warn: #7A4600; --warn-bg: #FBEBCC; --bad: #8E2B20; --bad-bg: #F6D9D5;
  --track: #F2E9DC; --band: #FFFFFF; --cta-bg: #072138; --cta-fg: #FFFFFF; --cta-btn: #FFFFFF; --cta-btn-ink: #072138;
  --show-white: block; --show-blue: none;
  --font: 'Outfit', system-ui, sans-serif; --mono: 'DM Mono', ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05182A; --surface: #0C3052; --line: #1A4166; --fg: #EAF0FA; --muted: #A9BAD3;
    --accent: #E95E03; --accent-text: #FF8A3D; --primary: #F2F6FB; --primary-ink: #072138;
    --ok: #5FE0A5; --ok-bg: #0F3A2C; --warn: #F5C26B; --warn-bg: #3E2F0C; --bad: #FF8F85; --bad-bg: #4A1E1A;
    --track: #123D63; --band: #072138; --cta-bg: #0C3052; --cta-fg: #FFFFFF; --cta-btn: #F2F6FB; --cta-btn-ink: #072138;
    --show-white: none; --show-blue: block; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #05182A; --surface: #0C3052; --line: #1A4166; --fg: #EAF0FA; --muted: #A9BAD3;
  --accent: #E95E03; --accent-text: #FF8A3D; --primary: #F2F6FB; --primary-ink: #072138;
  --ok: #5FE0A5; --ok-bg: #0F3A2C; --warn: #F5C26B; --warn-bg: #3E2F0C; --bad: #FF8F85; --bad-bg: #4A1E1A;
  --track: #123D63; --band: #072138; --cta-bg: #0C3052; --cta-fg: #FFFFFF; --cta-btn: #F2F6FB; --cta-btn-ink: #072138;
  --show-white: none; --show-blue: block; color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); line-height: 1.5; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 2px; }
.logo-w { display: var(--show-white); } .logo-b { display: var(--show-blue); }
.wrap { max-width: 1160px; margin: 0 auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 11px; border-radius: 999px; }
.pill.ok { background: var(--ok-bg); color: var(--ok); } .pill.warn { background: var(--warn-bg); color: var(--warn); } .pill.bad { background: var(--bad-bg); color: var(--bad); }
.btn { border: 0; border-radius: 999px; min-height: 48px; padding: 12px 24px; font-weight: 600; font-size: 16px; background: var(--primary); color: var(--primary-ink); transition: transform 160ms cubic-bezier(.23, 1, .32, 1), background-color 160ms ease; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn.small { min-height: 44px; padding: 8px 18px; font-size: 14px; }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
header.top img { height: 52px; width: auto; }
header.top nav { display: flex; align-items: center; gap: 22px; font-weight: 500; }
header.top nav a { color: var(--fg); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { header.top nav a:hover { color: var(--muted); } }
.tools { display: flex; align-items: center; gap: 10px; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }

.hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-block: 40px 56px; }
.hero .copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eyebrow, .hello { font-size: 17px; font-weight: 600; color: var(--muted); }
.hero h1 .ul { position: relative; display: inline-block; white-space: nowrap; }
.ulsvg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .22em; color: var(--accent); overflow: visible; }
.soft { color: var(--muted); font-weight: 500; width: fit-content; text-underline-offset: 4px; padding: 10px 0; }
@media (hover: hover) and (pointer: fine) { .soft:hover { color: var(--fg); } }
.tsub { margin: -8px 0 0; color: var(--muted); }
.hero h1 { margin: 0; font-size: clamp(36px, 6vw, 62px); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.hero p.lead { margin: 0; font-size: 19px; color: var(--muted); max-width: 520px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.tracker { flex: 1 1 440px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 18px 44px rgba(110,70,30,.10); }
.tracker h2 { margin: 0; font-size: 20px; }
.trow { display: flex; gap: 10px; }
.trow input { flex: 1; min-width: 0; min-height: 52px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); padding: 0 18px; font-family: var(--mono); font-size: 16px; }
.samples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.chip { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 6px 14px; min-height: 36px; font-size: 13px; font-family: var(--mono); }
.chip[aria-pressed="true"], .chip.on { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.result { min-height: 0; display: flex; flex-direction: column; gap: 14px; }
.rtop { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.stages { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding-top: 4px; }
.stages .rail { position: absolute; left: 10%; right: 10%; top: 14px; height: 4px; background: var(--track); border-radius: 2px; }
.stages .rail i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 2px; }
.stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.stage .d { width: 22px; height: 22px; border-radius: 50%; background: var(--track); border: 3px solid var(--surface); position: relative; z-index: 1; }
.stage.done { color: var(--fg); } .stage.done .d { background: var(--accent); }
.stage.now .d { box-shadow: 0 0 0 5px rgba(233,94,3,.25); }
.note { font-size: 12.5px; color: var(--muted); }

section.band { padding-block: 64px; }
section.band.alt { background: var(--band); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.sechead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sechead h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.sechead p { margin: 6px 0 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chips .chip { font-family: var(--font); font-size: 14px; font-weight: 600; min-height: 44px; padding: 8px 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pcard { background: var(--surface); border: 2px solid var(--line); border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: transform 200ms cubic-bezier(.23, 1, .32, 1), border-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .pcard:hover { transform: translateY(-3px); border-color: var(--muted); } }
.photo { height: 150px; border-radius: 16px; background: var(--track); border: 1px dashed var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 13px; }
.pname { font-weight: 700; font-size: 19px; line-height: 1.2; }
.pspec { font-size: 14px; color: var(--muted); }
.pmeta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pqty { font-family: var(--mono); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.live { display: flex; align-items: center; gap: 10px; }
.updates { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.updates .u { display: flex; gap: 12px; font-size: 14px; padding: 6px 0; border-top: 1px solid var(--line); }
.updates .u:first-of-type { border-top: 0; }
.updates .u span:first-child { color: var(--muted); width: 54px; flex: none; font-family: var(--mono); }

.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.about .l { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.about .l h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.about .l p { margin: 0; color: var(--muted); font-size: 17px; max-width: 520px; }
.about .r { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pt { display: flex; gap: 14px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.pt b { display: block; }
.pt span.s { color: var(--muted); font-size: 14px; }
.pt .ic { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; }
.ctaband { background: var(--cta-bg); color: var(--cta-fg); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 64px max(16px, env(safe-area-inset-left, 0px)); }
.ctaband .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ctaband h2 { margin: 0; font-size: clamp(28px, 4.4vw, 44px); line-height: 1.1; letter-spacing: -.02em; max-width: 620px; text-wrap: balance; }
.ctaband .btn { background: var(--cta-btn); color: var(--cta-btn-ink); }
footer { padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; }

/* quote sheet */
.backdrop { position: fixed; inset: 0; background: rgba(2,17,29,.6); z-index: 30; }
.sheet { position: fixed; z-index: 31; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.sheet h2 { margin: 0; font-size: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.in { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 10px 14px; }
textarea.in { min-height: 84px; resize: vertical; }
.two { display: flex; gap: 12px; } .two > * { flex: 1; min-width: 0; }
.err { color: var(--bad); font-size: 13px; font-weight: 600; margin: 0; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--primary); color: var(--primary-ink); padding: 12px 20px; border-radius: 16px; font-weight: 600; max-width: calc(100% - 32px); }

@media (max-width: 720px) {
  header.top nav .lnk { display: none; }
  header.top img { height: 44px; }
  .stage { font-size: 11px; }
  .hero { padding-block: 16px 40px; }
  section.band { padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
.chatfab{position:fixed;right:16px;bottom:16px;z-index:25;border:0;border-radius:999px;min-height:52px;padding:12px 22px;font-weight:700;background:var(--primary);color:var(--primary-ink);box-shadow:0 8px 24px rgba(0,0,0,.25)}
.chatbox{position:fixed;right:16px;bottom:16px;z-index:32;width:min(380px,calc(100% - 32px));max-height:min(560px,calc(100% - 32px));overflow-y:auto;display:flex;flex-direction:column;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:22px;padding:16px;box-shadow:0 16px 48px rgba(0,0,0,.3)}
.chatbox h3{margin:0;font-size:18px}
.cmsgs{display:flex;flex-direction:column;gap:8px;overflow-y:auto;min-height:140px;max-height:300px}
.cb{max-width:85%;padding:9px 13px;border-radius:16px;font-size:14px;background:var(--bg);align-self:flex-start}
.cb.me{background:var(--primary);color:var(--primary-ink);align-self:flex-end}
.stars{display:flex;gap:6px}.stars button{border:1px solid var(--line);background:var(--bg);border-radius:12px;min-width:44px;min-height:44px;font-size:20px}

/* In stock today: two square boxes that wipe to the next pair every 2 seconds */
.feat { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.feat-h { font-size: 15px; font-weight: 600; color: var(--muted); }

.rline { margin: 0; font-size: 15px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .btn, .pcard, .fsq { transition: none; } }
.pask { font-size: 14px; color: var(--muted); }
.pfoot { flex-wrap: wrap; }
.pfoot .btn { white-space: nowrap; }

/* Real product photos, and the two shelf cards at the top: same card as the shelf grid, wiping to the next pair */
.photo.has { padding: 0; border: 0; overflow: hidden; background: var(--track); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 540px; }
.fsq { position: relative; display: block; background: var(--surface); border: 2px solid var(--line); border-radius: 24px; overflow: hidden; cursor: pointer; text-align: left; transition: transform 160ms cubic-bezier(.23, 1, .32, 1), border-color 200ms ease; }
.fsq:active { transform: scale(.98); }
.fsq[hidden] { display: none; }
.fsq .flay { display: flex; flex-direction: column; gap: 10px; padding: 12px; background: var(--surface); }
.fsq .flay + .flay { position: absolute; inset: 0; }
.fsq .photo { height: 118px; }
.fsq .pname { font-size: 17px; line-height: 1.2; min-height: 2.4em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.fsq .pspec { min-height: 2.5em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.fsq .pfoot { flex-direction: column; align-items: flex-start; gap: 8px; }
.fsq .btn { padding: 8px 14px; min-height: 40px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .fsq:hover { border-color: var(--muted); } }
@media (max-width: 420px) { .feat-pair { gap: 10px; } .fsq .photo { height: 100px; } .fsq .pname { font-size: 15px; } }

/* closing band: a warm sign-off with real contact details */
.bandline { margin: 0; font-size: 18px; line-height: 1.6; color: var(--cta-fg); }
.bandline a { color: inherit; font-weight: 600; text-underline-offset: 4px; }
/* friendlier chat button, a small hello, and who is replying */
.chatfab { display: inline-flex; align-items: center; gap: 8px; transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
.chatfab:active { transform: scale(.97); }
.nudge { position: fixed; right: 16px; bottom: 80px; z-index: 26; max-width: min(260px, calc(100% - 32px)); background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 18px 18px 6px 18px; padding: 12px 14px; font-size: 14px; line-height: 1.35; display: flex; gap: 8px; align-items: flex-start; box-shadow: 0 10px 28px rgba(60, 40, 20, .16); }
.nudge button { border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; padding: 0 2px; min-width: 24px; min-height: 24px; }
.cwho { font-size: 11.5px; font-weight: 600; color: var(--muted); margin: 0 0 -4px 4px; align-self: flex-start; }

p, .lead, .note, .tsub, .rline { text-wrap: pretty; }
.hero h1 .w { display: inline-block; }

/* product finder: search by name, exact match first, then the closest */
.finder { gap: 12px; }
.sbox { position: relative; display: flex; align-items: center; }
.sbox svg { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.sbox input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); padding: 0 18px 0 46px; font-size: 17px; }
.sbox input::-webkit-search-cancel-button { cursor: pointer; }
.sugs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.shead { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 4px; }
.sres { display: flex; flex-direction: column; gap: 10px; }
.srow { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 10px; background: var(--surface); }
.sth { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--track); display: grid; place-items: center; color: var(--muted); }
.sth img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.snm { font-weight: 600; line-height: 1.2; }
.ssp { font-size: 13px; color: var(--muted); }
.srow .btn { flex: none; }
.snone { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
mark { background: rgba(233, 94, 3, .18); color: inherit; border-radius: 3px; padding: 0 1px; }
section#track .tracker { max-width: 720px; margin-inline: auto; }
@media (max-width: 520px) { .srow { flex-wrap: wrap; } .srow .btn { width: 100%; } }

.sugs .chip { font-family: var(--font); font-size: 14px; font-weight: 500; }

.hero .soft + .soft { margin-top: -10px; }

.commit { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.about .l .commit p.cl { margin: 0; font-size: clamp(20px, 2.6vw, 24px); font-weight: 600; line-height: 1.25; color: var(--fg); letter-spacing: -.01em; max-width: 520px; text-wrap: balance; }

/* Policy pages (terms, refunds, FAQs, privacy) and the footer links */
.doc { max-width: 720px; margin: 0 auto; padding: 32px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.doc h1 { font-size: 34px; margin: 0; letter-spacing: -.02em; }
.doc h2 { font-size: 20px; margin: 18px 0 0; }
.doc p, .doc li { color: var(--fg); line-height: 1.6; margin: 0; }
.doc ul, .doc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.draft { background: var(--warn-bg); color: var(--warn); border-radius: 14px; padding: 12px 16px; font-weight: 600; font-size: 14px; }
.legal { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.legal a { color: inherit; padding: 10px 0; }
.docfoot { max-width: 720px; margin: 0 auto; padding: 16px 16px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); }

/* Icons (Lucide, ISC licence) as inline SVG; colour follows the text colour */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.sm { width: 16px; height: 16px; }
.tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.tile.t1 { background: var(--accent); color: #fff; }
.tile.t2 { background: color-mix(in srgb, var(--accent) 15%, var(--surface)); color: var(--accent-text); }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 22px; }
.step { display: flex; flex-direction: column; gap: 8px; }
.step b { font-size: 18px; }
.sd { display: block; color: var(--muted); font-size: 15px; line-height: 1.4; }
.visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.vrow { display: flex; gap: 14px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; color: inherit; text-decoration: none; }
.vrow b { display: block; }
a.vrow { transition: transform 160ms cubic-bezier(.23, 1, .32, 1); }
a.vrow:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { a.vrow:hover { border-color: var(--accent); } }
.pill .ico.sm { margin-right: 5px; vertical-align: -3px; }
.chip .ico.sm { margin-right: 7px; vertical-align: -3px; color: var(--accent-text); }

/* share: small quiet button, and a bottom panel */
.shr { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; min-height: 34px; padding: 0 12px; font-size: 13px; font-weight: 600; transition: transform 160ms cubic-bezier(.23, 1, .32, 1), color 160ms ease, border-color 160ms ease; }
.shr:active { transform: scale(.97); }
@media (pointer: coarse) { .shr { min-height: 44px; } .sugs .chip { min-height: 44px; } }
@media (hover: hover) and (pointer: fine) { .shr:hover { color: var(--fg); border-color: var(--muted); } }
.sharebox { position: fixed; z-index: 41; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(420px, calc(100% - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 16px 48px rgba(0, 0, 0, .3); }
.sharebox h2 { margin: 0; font-size: 21px; }
.sharebox .btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
#shareBackdrop { z-index: 40; }
