/* The MeetJo look, from the app's brand file (nomad-network, src/web/brand.ts). Light by default, dark for a device set
   to dark. Yellow is a fill only and means "you act". Purple means Jo. Ink and white carry the rest. */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/dm-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --yellow: #FFC72C; --ink: #14110A; --purple: #6A4BEB; --white: #FFFFFF;
  --page: #FFFFFF; --tile: #F5F4F8; --card: #FFFFFF;
  --text: #14110A; --text-2: #5E5A70; --border: #E7E5EE;
  --btn-bg: #14110A; --btn-text: #FFFFFF;
  --hl-bg: #ECE6FF; --hl-text: #4A2BC2; --accent: #6A4BEB; --focus: #6A4BEB;
  --good: #1E6B4A; --bad: #B42318;
  --display: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #14110A; --tile: #1F1B14; --card: #1F1B14;
    --text: #F7F5F2; --text-2: #B8B2A6; --border: #3A352C;
    --btn-bg: #FFC72C; --btn-text: #14110A;
    --hl-bg: #6A4BEB; --hl-text: #FFFFFF; --accent: #A78BFF; --focus: #A78BFF;
    --good: #5FD39A; --bad: #EF6B6B;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.55; }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.masthead { background: var(--yellow); color: var(--ink); }
.masthead-in { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.mark { width: 44px; height: auto; flex: none; }
.mark-body { fill: var(--ink); }
.mark-eye { fill: var(--yellow); }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.masthead-tag { margin-left: auto; font-family: var(--mono); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0 0 16px; }
h1 { font-size: clamp(44px, 12vw, 84px); }
h2 { font-size: clamp(28px, 6.5vw, 40px); line-height: 1.12; }
p { margin: 0 0 16px; }
section { padding-top: 48px; }
.hero { padding-top: 56px; }
.hl { background: var(--hl-bg); color: var(--hl-text); border-radius: 5px; padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { font-size: 22px; line-height: 1.4; font-weight: 500; }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 8px; }
.hero-count { font-family: var(--mono); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); }

.btn { display: inline-block; min-height: 52px; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--btn-bg); color: var(--btn-text); font-family: var(--body); font-weight: 500; font-size: 18px; line-height: 24px; text-decoration: none; cursor: pointer; }
.btn:hover { opacity: 0.9; }

.jo-card { background: var(--purple); color: var(--white); border-radius: 16px; padding: 32px 28px; }
.jo-card .eyebrow { color: var(--white); opacity: 0.85; }
.jo-card p:last-child { margin-bottom: 0; }
.triple { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.2; }

.gains { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gains li { background: var(--tile); border-radius: 14px; padding: 18px 20px 18px 52px; position: relative; font-weight: 500; }
.gains li::before { content: ""; position: absolute; left: 20px; top: 26px; width: 16px; height: 8px; border-radius: 16px 16px 0 0; background: var(--accent); }

.no-line { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 6vw, 36px); line-height: 1.15; }
.no-line span { display: block; }

.seat { padding-bottom: 8px; }
.counter { border: 2px solid var(--text); border-radius: 16px; padding: 20px; margin: 24px 0; background: var(--card); }
.counter-label { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.15; margin-bottom: 12px; }
.counter-note { font-family: var(--mono); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-2); margin: 10px 0 0; }
.bar { display: block; width: 100%; height: 12px; }
.bar-bg { fill: var(--border); }
.bar-fill { fill: var(--yellow); }
.counter-low .bar-fill, .counter-full .bar-fill { fill: var(--accent); }

.seat-form { display: grid; gap: 16px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
label { font-weight: 500; font-size: 16px; }
input[type="text"], input[type="email"] { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--border); border-radius: 8px; background: var(--card); color: var(--text); font-family: var(--body); font-size: 18px; }
input:focus { border-color: var(--focus); outline: none; }
.seat-form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small { font-size: 14px; color: var(--text-2); margin: 0; }
.closing { font-family: var(--mono); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; text-align: center; margin: 32px 0 0; }

.notice { border-radius: 14px; padding: 16px 20px; margin-top: 24px; border: 2px solid var(--good); background: var(--tile); scroll-margin-top: 16px; }
.notice-bad { border-color: var(--bad); }

.foot { padding-top: 56px; padding-bottom: 48px; font-size: 14px; color: var(--text-2); }
.foot p { margin-bottom: 8px; }

@media (min-width: 640px) {
  .no-line span { display: inline; }
  .gains { grid-template-columns: 1fr 1fr; }
}
.notice strong { display: block; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 4px; }

/* Always the dark look of the app, whatever the device is set to (owner, 2026-12-03: no white page, never beige). */
:root {
  --page: #14110A; --tile: #1F1B14; --card: #1F1B14;
  --text: #F7F5F2; --text-2: #B8B2A6; --border: #3A352C;
  --btn-bg: #FFC72C; --btn-text: #14110A;
  --hl-bg: #6A4BEB; --hl-text: #FFFFFF; --accent: #A78BFF; --focus: #A78BFF;
  --good: #5FD39A; --bad: #EF6B6B;
  color-scheme: dark;
}
