/* Gauge brand tokens (brand pack final-v1). Fonts are self-hosted; CSP allows font-src 'self' only. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-latin.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;
  --t-display-size: 4.5rem;
  --t-display-weight: 700;
  --t-display-line: 1;
  --t-display-tracking: -0.03em;
  --t-h1-size: 2.75rem;
  --t-h1-weight: 700;
  --t-h1-line: 1.08;
  --t-h1-tracking: -0.02em;
  --t-h2-size: 1.875rem;
  --t-h2-weight: 650;
  --t-h2-line: 1.15;
  --t-h2-tracking: -0.015em;
  --t-h3-size: 1.312rem;
  --t-h3-weight: 600;
  --t-h3-line: 1.25;
  --t-h3-tracking: -0.01em;
  --t-body-size: 1rem;
  --t-body-weight: 400;
  --t-body-line: 1.55;
  --t-body-tracking: 0;
  --t-small-size: 0.875rem;
  --t-small-weight: 400;
  --t-small-line: 1.45;
  --t-small-tracking: 0;
  --t-label-size: 0.8125rem;
  --t-label-weight: 600;
  --t-label-line: 1.2;
  --t-label-tracking: 0.01em;
  --t-eyebrow-size: 0.75rem;
  --t-eyebrow-weight: 600;
  --t-eyebrow-line: 1.2;
  --t-eyebrow-tracking: 0.1em;
  --r-card: 24px;
  --r-control: 12px;
  --r-chip: 999px;
  /* brand mark colors (logo only, not for UI text) */
  --brand-green: #1fa57a;
  --brand-amber: #f2a31b;
  --brand-red: #e5484d;
  --brand-ink: #151c18;
  --brand-paper: #f4f7f2;
  /* light (default) */
  --c-bg: #e3e9e1;
  --c-surface: #ffffff;
  --c-text: #151c18;
  --c-muted: #4e5a53;
  --c-accent: #d9541e;
  --c-accent-text: #b23c03;
  --c-accent-strong: #b23c03;
  --c-on-accent: #ffffff;
  --c-fast: #016e55;
  --c-medium: #955801;
  --c-slow: #910223;
  --c-fast-fill: #038c67;
  --c-medium-fill: #b07702;
  --c-slow-fill: #c31935;
  --c-track: #e6ece5;
  --c-border: #cfd8cf;
  --c-focus: #b23c03;
  --c-pill: #141815;
  --c-pill-text: #ffffff;
}
:root[data-theme="dark"] {
  --c-bg: #111613;
  --c-surface: #1b221e;
  --c-text: #eef2ec;
  --c-muted: #a6b2aa;
  --c-accent: #f08a4b;
  --c-accent-text: #f08a4b;
  --c-accent-strong: #f08a4b;
  --c-on-accent: #111613;
  --c-fast: #4fd8b4;
  --c-medium: #ffcd7a;
  --c-slow: #ff6b78;
  --c-fast-fill: #4fd8b4;
  --c-medium-fill: #ffcd7a;
  --c-slow-fill: #ff6b78;
  --c-track: #2a332e;
  --c-border: #2e3832;
  --c-focus: #f08a4b;
  --c-pill: #eef2ec;
  --c-pill-text: #111613;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: #111613;
    --c-surface: #1b221e;
    --c-text: #eef2ec;
    --c-muted: #a6b2aa;
    --c-accent: #f08a4b;
    --c-accent-text: #f08a4b;
    --c-accent-strong: #f08a4b;
    --c-on-accent: #111613;
    --c-fast: #4fd8b4;
    --c-medium: #ffcd7a;
    --c-slow: #ff6b78;
    --c-fast-fill: #4fd8b4;
    --c-medium-fill: #ffcd7a;
    --c-slow-fill: #ff6b78;
    --c-track: #2a332e;
    --c-border: #2e3832;
    --c-focus: #f08a4b;
    --c-pill: #eef2ec;
    --c-pill-text: #111613;
  }
}
/* status helpers */
.status-fast {
  --c-status: var(--c-fast);
  --c-status-fill: var(--c-fast-fill);
}
.status-medium {
  --c-status: var(--c-medium);
  --c-status-fill: var(--c-medium-fill);
}
.status-slow {
  --c-status: var(--c-slow);
  --c-status-fill: var(--c-slow-fill);
}

/* Site variables mapped onto the brand tokens. */
:root {
  --bg: var(--c-bg);
  --bg-raise: var(--c-surface);
  --ink: var(--c-text);
  --muted: var(--c-muted);
  --line: var(--c-border);
  --accent: var(--c-accent-text);
  --accent-ink: var(--c-on-accent);
  --chip: var(--c-track);
  --warn: var(--c-medium);
  --warn-bg: var(--c-track);
  --shadow: 0 1px 0 rgb(21 28 24 / 6%);
  --header: var(--c-surface);
  --header-ink: var(--c-text);
  --focus: var(--c-focus);
  font-family: var(--font-text);
  background: var(--bg);
  color: var(--ink);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --shadow: none;
}

:root[data-theme="light"] {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --shadow: none;
  }
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: var(--accent);
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header :focus-visible {
  outline-color: var(--header-ink);
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 5;
  background: var(--bg-raise);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
}

.skip:focus {
  top: 0.75rem;
}

.site-header {
  background: var(--header);
  color: var(--header-ink);
}

.header-inner,
.site-footer .footer-inner,
.page {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--header-ink);
  text-decoration: none;
}

.logo {
  display: block;
  width: 12.5rem;
  max-width: 100%;
  height: auto;
}

.logo-dark {
  display: none;
}

:root[data-theme="dark"] .logo-light {
  display: none;
}

:root[data-theme="dark"] .logo-dark {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-light {
    display: none;
  }

  :root:not([data-theme]) .logo-dark {
    display: block;
  }
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.25rem;
  margin-left: auto;
}

.site-nav a,
.theme-toggle {
  color: var(--header-ink);
  text-decoration: none;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.site-nav a[aria-current="page"] {
  background: var(--c-track);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.theme-toggle {
  border: 1px solid var(--c-border);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.page {
  padding: 1.75rem 0 3rem;
}

.sample-banner,
.draft-banner {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.9rem;
  background: var(--warn-bg);
  color: var(--warn);
  border-radius: 0.6rem;
  line-height: 1.45;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.15rem);
}

h2 {
  margin: 0 0 0.85rem;
  font-size: 1.55rem;
}

.lede,
.meta,
.note,
.card p,
.feed-item p,
.prose p,
.rate-row p {
  line-height: 1.5;
}

.lede {
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
  max-width: 40rem;
}

.meta {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.section {
  margin-top: 2.4rem;
}

.card-grid,
.rate-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.9rem;
}

.card,
.feed-item,
.panel,
.rate-row,
.prose,
.checker {
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}

.card,
.rate-row,
.panel,
.checker {
  padding: 1rem 1rem 1.05rem;
}

.card h3,
.rate-row h3 {
  margin: 0;
  font-size: 1.2rem;
}

.group {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.stat {
  margin: 0.8rem 0 0;
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  max-width: 36rem;
}

.substat,
.confidence,
.empty {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.spark {
  display: block;
  width: 100%;
  height: 2.4rem;
  margin-top: 0.8rem;
  color: var(--accent);
}

.placement {
  margin: 0 0 1.15rem;
}

.placement a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--bg-raise);
  color: inherit;
  text-decoration: none;
}

.placement img {
  height: 2.5rem;
  width: auto;
}

.placement-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: min(100%, 14rem);
  flex: 1 1 14rem;
}

.placement-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.placement-name,
.placement-line {
  color: var(--ink);
}

.placement-name {
  font-weight: 700;
}

.wait-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
}

.wait-tabs a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}

.wait-tabs a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.status-word {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.4rem 0 0.2rem;
  color: var(--c-status, var(--muted));
  font-weight: 650;
}

.status-icon {
  flex: none;
  color: var(--c-status-fill);
}

.gauge {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: 0.5rem 0 0.25rem;
}

.gauge-track {
  fill: var(--c-track);
  stroke: var(--line);
}

.gauge-zone-fast {
  fill: var(--c-fast-fill);
}

.gauge-zone-medium {
  fill: var(--c-medium-fill);
}

.gauge-zone-slow {
  fill: var(--c-slow-fill);
}

.gauge-needle {
  fill: var(--ink);
}

.gauge-label {
  fill: var(--muted);
  font: 600 11px var(--font-text);
}

.hero-time {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

h1.hero-sentence {
  margin-top: 0.75rem;
  max-width: 38rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.hero-spark {
  max-width: 16rem;
}

.estimate {
  margin: 1rem 0 0;
  max-width: 36rem;
}

.estimate-line {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
}

.estimate-note,
.estimate-basis {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.wait-row-heading {
  margin: 1.6rem 0 0.7rem;
  font-size: 1.2rem;
}

.wait-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

.wait-chip {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 9.5rem;
  flex: 1 1 9.5rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg-raise);
}

.wait-chip a,
.wait-chip span {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.wait-chip-time {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  color: var(--ink);
}

.wait-chip-estimate {
  color: var(--muted);
  font-size: 0.92rem;
}

.feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.saying-takeaways {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  max-width: 68ch;
}

.saying-takeaways li + li {
  margin-top: 0.45rem;
}

.saying-summary {
  margin: 0.9rem 0 0;
  max-width: 68ch;
}

.saying-summary-credit {
  margin: 0.3rem 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.4;
}

.x-cards {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  /* auto-fit drops the empty track so three cards fill the row.
     16.5rem still fits four on a wide row. A length maximum here would
     count columns by that maximum and wrap the fourth card. */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: 0.75rem;
  align-items: start;
}

/* Two cards use the same cap, packed together. A grid max would count
   columns from 28rem and drop the tablet row to one. */
.x-cards:has(> :nth-child(2):last-child) {
  display: flex;
  flex-wrap: wrap;
}

.x-cards:has(> :nth-child(2):last-child) > .x-card {
  flex: 1 0 16.5rem;
  min-width: min(100%, 16.5rem);
  max-width: min(100%, 28rem);
}

.x-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--bg-raise);
  padding: 0.75rem 0.9rem;
  min-width: 0;
  max-width: 28rem;
  align-self: start;
}

.x-card-line {
  margin: 0;
}

.x-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.9rem;
  align-items: center;
  margin: 0.65rem 0 0;
}

.x-embed {
  margin-top: 0.7rem;
  width: 100%;
  max-width: 100%;
  height: fit-content;
}

.x-embed .twitter-tweet,
.x-embed .twitter-tweet-rendered {
  width: 100% !important;
  max-width: 100% !important;
  height: fit-content !important;
  max-height: none !important;
  margin: 0 !important;
  align-items: flex-start;
}

.x-embed iframe {
  width: 100% !important;
  flex: 0 0 auto !important;
  max-width: 100% !important;
  border: 0;
}

.faq-item {
  margin-top: 0.9rem;
}

.faq-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0.35rem 0 0;
  max-width: 68ch;
}

#how-we-calculate {
  scroll-margin-top: 1rem;
}

.report {
  width: 100%;
  margin-top: 1.2rem;
  border-collapse: collapse;
}

.report th,
.report td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

@media (max-width: 720px) {
  .report {
    display: block;
    overflow-x: auto;
  }
}

.feed-item {
  padding: 0.9rem 1rem;
}

.feed-item p {
  margin: 0.25rem 0 0;
}

.badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--chip);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 650;
}

.tier {
  color: var(--muted);
}

.checker form,
.booking form,
.filters,
.stack form {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-weight: 650;
}

input,
select,
textarea,
button {
  font: inherit;
}

button {
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-raise);
  color: var(--ink);
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: var(--bg);
  color: var(--ink);
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

.secret-once {
  margin: 1rem 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--bg-raise);
}

.copy-field {
  margin-top: 0.8rem;
}

.copy-line {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.copy-line input {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92rem;
}

.copy-line button {
  flex: none;
}

@media (max-width: 40rem) {
  .copy-line {
    flex-direction: column;
    align-items: stretch;
  }
}

.connection {
  margin-top: 0.9rem;
}

.connection .status-line {
  margin: 0 0 0.7rem;
  font-weight: 650;
}

.connection .status-line.waiting {
  color: var(--muted);
  font-weight: 500;
}

.steps {
  margin: 0.2rem 0 0;
  padding-left: 1.2rem;
}

.steps li + li {
  margin-top: 0.85rem;
}

.app-face {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.9rem;
}

.app-face img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.7rem;
  object-fit: cover;
  background: var(--bg);
}

.app-name {
  margin: 0;
  font-weight: 650;
}

.hint,
.tag {
  color: var(--muted);
  font-weight: 400;
}

.hint {
  font-size: 0.92rem;
}

.tag {
  font-size: 0.82rem;
}

.label-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

label.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

label.check input {
  width: 1.15rem;
  min-height: 1.15rem;
  margin-top: 0.15rem;
}

.tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  min-height: 1.4rem;
  padding: 0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tip-panel {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tip-panel.open {
  position: static;
  width: auto;
  height: auto;
  margin: 0.2rem 0 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
}

.title-row h1 {
  margin: 0;
}

form.account-sign-out,
form.choice-form,
form.quiet-add,
.quiet-row form {
  display: flex;
  margin-top: 0;
}

form.account-sign-out {
  flex: none;
  margin-left: auto;
}

form.promo-form {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

form.promo-form .hint {
  margin: 0;
}

button.text-button {
  width: auto;
  min-height: 2.75rem;
  padding: 0.35rem 0.15rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
  margin-top: 0.4rem;
}

form.choice-form {
  height: 100%;
}

button.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.45rem;
  width: 100%;
  height: 100%;
  min-height: 12.5rem;
  padding: 1.15rem 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--bg-raise);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 500;
  text-align: left;
  white-space: normal;
}

.choice-icon {
  color: var(--accent);
}

.choice-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.choice-line {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--chip);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.success-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.success-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.check-icon {
  color: var(--c-fast);
  flex: none;
}

.quiet-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin-top: 0.8rem;
}

.quiet-edit summary {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  cursor: pointer;
}

.quiet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.25rem;
  margin-top: 0.8rem;
}

.quiet-add {
  margin-top: 0;
}

.save-status {
  min-height: 1.4rem;
  margin: 0.15rem 0 0;
  color: var(--accent);
  font-weight: 650;
}

.save-status:empty {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 30;
  transform: translateX(-50%);
  max-width: min(24rem, calc(100% - 2rem));
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--header);
  color: var(--header-ink);
  font-weight: 650;
  box-shadow: var(--shadow);
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 25;
  overflow: hidden;
  pointer-events: none;
}

.confetti span {
  position: absolute;
  top: -0.6rem;
  width: 0.45rem;
  height: 0.7rem;
  border-radius: 0.1rem;
  animation: confetti-fall 1.15s ease-in forwards;
}

@keyframes confetti-fall {
  to {
    transform: translateY(70vh) rotate(160deg);
    opacity: 0;
  }
}

.just-connected .check-icon {
  animation: check-in 0.45s ease-out;
}

@keyframes check-in {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .confetti span,
  .just-connected .check-icon {
    animation: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .check-icon {
    color: var(--c-fast);
  }
}

:root[data-theme="dark"] .check-icon {
  color: var(--c-fast);
}

@media (max-width: 40rem) {
  .choice-grid {
    grid-template-columns: 1fr;
  }
}

button.primary,
a.button,
.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
  text-decoration: none;
}

.sponsor-offer {
  max-width: 26rem;
}

.sponsor-offer ul {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
}

.sponsor-offer li + li {
  margin-top: 0.4rem;
}

.price {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.price-amount {
  display: block;
  margin-top: 0.15rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
}

details.panel summary {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

#checker-result:empty {
  display: none;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--bg);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.disclaimer {
  margin: 0.4rem 0 0;
  max-width: 46rem;
  font-size: 0.92rem;
}

.prose {
  padding: 1.1rem 1.15rem 1.3rem;
}

.prose h2 {
  margin-top: 1.4rem;
}

.prose h2:first-of-type {
  margin-top: 0;
}

.coming {
  max-width: 36rem;
  padding-top: 2rem;
}

.coming h1 {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
}

@media (max-width: 640px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-top: 0.7rem;
  }

  .wordmark {
    grid-column: 1;
    grid-row: 1;
  }

  .theme-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 0;
    width: auto;
  }
}

/* Early access banner */
.early-access {
  background: var(--c-track);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.early-access-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.55rem 0;
  font-size: var(--t-small-size);
  line-height: var(--t-small-line);
}

.early-access-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-chip);
  background: var(--c-pill);
  color: var(--c-pill-text);
  font-size: var(--t-label-size);
  font-weight: var(--t-label-weight);
  letter-spacing: var(--t-label-tracking);
}

/* Contribute calls to action */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 1rem 0 0.5rem;
}

.button.cta-big {
  min-height: 3.25rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  text-decoration: none;
}

.hero-cta-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-small-size);
}

.wait-chip-empty {
  color: var(--muted);
  font-weight: 600;
}

.button.cta-small {
  min-height: 2.75rem;
  margin-top: 0.35rem;
  padding: 0.3rem 0.85rem;
  font-size: var(--t-small-size);
  text-decoration: none;
}

/* Home hero */
.hero-brand {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: center;
  gap: 1.5rem 2.5rem;
  margin: 1.5rem 0 2rem;
}

.hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, var(--t-display-size));
  font-weight: var(--t-display-weight);
  line-height: 1.02;
  letter-spacing: var(--t-display-tracking);
  color: var(--ink);
  text-wrap: balance;
}

.hero-subline {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: var(--t-body-line);
}

.hero-brand-art {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 3;
  border-radius: var(--r-card);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  overflow: hidden;
}

.hero-brand-art img {
  width: 70%;
  max-width: 18rem;
  height: auto;
  margin-top: 8%;
}

:root[data-theme="dark"] .hero-brand-art .logo-light {
  display: none;
}

.hero-brand-art .logo-dark {
  display: none;
}

:root[data-theme="dark"] .hero-brand-art .logo-dark {
  display: block;
}

@media (max-width: 720px) {
  .hero-brand {
    grid-template-columns: 1fr;
  }

  .hero-brand-art {
    aspect-ratio: 2 / 1;
  }

  .hero-brand-art img {
    width: 45%;
  }
}

/* Sponsor boxes: paid, house, and open spots look the same */
.sponsor-box {
  margin: 1.25rem 0;
  padding: 0.75rem 0.9rem 0.9rem;
  border: 1px dashed var(--line);
  border-radius: var(--r-control);
  background: var(--bg-raise);
}

.sponsor-box-label {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: var(--t-eyebrow-size);
  font-weight: var(--t-eyebrow-weight);
  letter-spacing: var(--t-eyebrow-tracking);
  text-transform: uppercase;
}

.placement.sponsor-box a {
  padding: 0;
  border: 0;
  background: none;
}

.sponsor-slot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.sponsor-slot .sponsor-box-label {
  flex-basis: 100%;
  margin: 0;
}

.sponsor-slot-line {
  margin: 0;
  flex: 1 1 14rem;
  font-weight: 600;
}

.sponsor-slot .cta-small {
  margin-top: 0;
}

.site-footer .sponsor-slot {
  margin-top: 0;
}

/* Sponsor page map */
.spot-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem 2rem;
  align-items: start;
}

.spot-page {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-raise);
}

.spot-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  font-size: var(--t-small-size);
}

.spot-plain {
  background: var(--c-track);
  color: var(--muted);
}

.spot-ad {
  border: 2px dashed var(--accent);
  color: var(--ink);
  font-weight: 650;
}

.spot-num {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--t-label-size);
}

.spot-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.6rem;
}

/* Contribute: App Store Connect how-to */
.howto {
  margin: 1.5rem 0 2rem;
}

.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: howto;
}

.howto-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-raise);
  counter-increment: howto;
}

.howto-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 650;
}

.howto-title::before {
  content: counter(howto);
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--t-label-size);
}

.howto-text p:not(.howto-title) {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-small-size);
}

.mock {
  margin-top: auto;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-control);
  background: var(--bg);
  font-size: 0.78rem;
  color: var(--ink);
}

.mock p {
  margin: 0;
}

.mock-h {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.mock-crumbs {
  color: var(--muted);
  margin-bottom: 0.6rem !important;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-plus {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.mock-label {
  margin-top: 0.4rem !important;
  color: var(--muted);
  font-weight: 600;
}

.mock-field {
  margin-top: 0.15rem !important;
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  background: var(--bg-raise);
}

.mock-paste {
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.mock-checks {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.mock-checks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.mock-checks li.is-on {
  color: var(--ink);
  font-weight: 650;
}

.mock-box {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  background: var(--bg-raise);
  font-size: 0.7rem;
  line-height: 1;
}

.is-on .mock-box {
  border-color: var(--c-fast-fill);
  background: var(--c-fast-fill);
  color: var(--c-surface);
  font-weight: 800;
}

.mock-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.mock-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 0.45rem;
  background: var(--c-track);
  color: var(--muted);
  font-weight: 700;
}

.mock-btn-test {
  border: 2px solid var(--accent);
  background: var(--bg-raise);
  color: var(--accent);
}

/* Store toggle */
.store-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 1rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-chip);
  background: var(--bg-raise);
}

.store-toggle a,
.store-toggle span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.3rem 1rem;
  border-radius: var(--r-chip);
  font-weight: 650;
  text-decoration: none;
}

.store-toggle [aria-current="page"] {
  background: var(--c-pill);
  color: var(--c-pill-text);
}

.store-toggle [aria-disabled="true"] {
  color: var(--muted);
  cursor: not-allowed;
}

.soon-badge {
  padding: 0.1rem 0.5rem;
  border-radius: var(--r-chip);
  background: var(--c-track);
  color: var(--muted);
  font-size: var(--t-label-size);
  font-weight: var(--t-label-weight);
}

.x-follow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
