/* Swiss International Typographic — the grid is the design.
   Flat by intention: no gradients, no shadows. One accent, used only for urgency
   and action, roughly 5% of the surface. */

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --grey: #6b6b6b;
  --rule: #d8d8d8;
  --wash: #f2f2f0;
  --accent: #d6001c;
  --measure: 68ch;
  --gutter: 1.25rem;
  --grid-max: 74rem;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: rgba(255, 255, 255, 0.87);
    --paper: #0c0c0c;
    --grey: rgba(255, 255, 255, 0.6);
    --rule: #2a2a2a;
    --wash: #151515;
    --accent: #ff4d4d;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { color-scheme: light dark; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Archivo", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 11vw, 6.5rem); }
h2 { font-size: clamp(1.9rem, 6vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 3.5vw, 1.5rem); line-height: 1.15; }

p { margin: 0 0 1rem; max-width: var(--measure); }
/* A paragraph directly after a heading needs breathing room; relying on an inline
   style per section meant some sections had it and some did not. */
h1 + p, h2 + p, h3 + p { margin-top: 1rem; }
a { color: inherit; }

.wrap {
  max-width: var(--grid-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* All-caps tracked-out subheads are the Swiss signature. */
.kicker {
  font-family: "Archivo", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 0.75rem;
}

.nums { font-variant-numeric: tabular-nums; }
.accent { color: var(--accent); }

/* ---------- header ---------- */

.masthead {
  border-bottom: 1px solid var(--ink);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 20;
}
.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
}
.wordmark {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.wordmark span { color: var(--accent); }

.nav-toggle {
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--ink);
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}
.nav-links { display: none; }
.nav-links.open {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.nav-links a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-size: 1rem;
}
.nav-links a[aria-current="page"] { color: var(--accent); }

/* The one thing in the header that is a button, not a link. Flat block, no shadow —
   the same accent the hero uses, so "Get started" reads the same everywhere. */
.nav-links a.nav-cta {
  color: var(--paper);
  background: var(--accent);
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  justify-content: center;
  border-bottom: 0;
}

@media (min-width: 48rem) {
  .nav-toggle { display: none; }
  .nav-links, .nav-links.open {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    border: 0;
  }
  .nav-links a { border: 0; min-height: 44px; font-size: 0.9375rem; }
  .nav-links a.nav-cta { padding: 0 1.25rem; min-height: 44px; }
}

/* ---------- one orchestrated page-load reveal ---------- */

@keyframes swiss-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.reveal > * { animation: swiss-in 560ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.reveal > *:nth-child(1) { animation-delay: 0ms; }
.reveal > *:nth-child(2) { animation-delay: 90ms; }
.reveal > *:nth-child(3) { animation-delay: 180ms; }
.reveal > *:nth-child(4) { animation-delay: 270ms; }
.reveal > *:nth-child(n+5) { animation-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal > * { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- sections ---------- */

.hero { padding: 3rem 0 3.5rem; border-bottom: 1px solid var(--ink); }
.hero p.lede { font-size: 1.25rem; max-width: 34ch; margin-top: 1.5rem; }

.band { padding: 3rem 0; border-bottom: 1px solid var(--rule); }
.band--wash { background: var(--wash); }
.band--ink { background: var(--ink); color: var(--paper); }
.band--ink .kicker { color: rgba(255, 255, 255, 0.55); }
.band--ink .rule { border-color: rgba(255, 255, 255, 0.25); }

/* Asymmetric two-column: the Swiss balance, never a 50/50 split. */
.split { display: grid; gap: 2rem; }
@media (min-width: 56rem) {
  .split { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .split--flip { grid-template-columns: 7fr 5fr; }
}

.stack { display: grid; gap: 2rem; }
@media (min-width: 44rem) { .stack--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 44rem) { .stack--2 { grid-template-columns: repeat(2, 1fr); } }

.item { border-top: 2px solid var(--ink); padding-top: 1rem; }
.item h3 { margin-bottom: 0.5rem; }
.item p { color: var(--grey); margin-bottom: 0; }
.item .n {
  font-family: "Archivo", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* ---------- the price, as a composition rather than a card ---------- */

.price-figure {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(4.5rem, 22vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.05em;
}
.price-figure sup { font-size: 0.3em; vertical-align: super; letter-spacing: 0; }

.spec { border-top: 1px solid var(--rule); width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec th { font-weight: 500; color: var(--grey); font-size: 0.9375rem; padding-right: 1rem; }
.spec td { font-weight: 500; }

.compare { width: 100%; border-collapse: collapse; }
.compare caption { text-align: left; color: var(--grey); font-size: 0.875rem; padding-bottom: 0.75rem; }
.compare th, .compare td { text-align: left; padding: 0.875rem 0.5rem 0.875rem 0; border-bottom: 1px solid var(--rule); }
.compare thead th { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--grey); font-weight: 600; }
.compare tbody tr:last-child { background: none; }
.compare .us td { font-weight: 700; }
.compare .us td:first-child { border-left: 3px solid var(--accent); padding-left: 0.75rem; }

.scroll-x { overflow-x: auto; }

/* ---------- actions ---------- */

.actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 30rem) { .actions { flex-direction: row; flex-wrap: wrap; align-items: center; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.75rem;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: background-color 140ms linear, color 140ms linear;
}
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: none; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.band--ink .btn--ghost { border-color: var(--paper); }
.band--ink .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ---------- prose pages ---------- */

.prose { padding: 3rem 0; }
.prose h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin: 2.5rem 0 0.75rem; }
.prose h2:first-of-type { margin-top: 1.5rem; }
.prose ul { max-width: var(--measure); padding-left: 1.1rem; }
.prose li { margin-bottom: 0.5rem; }
.prose .updated { color: var(--grey); font-size: 0.9375rem; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--ink); padding: 2.5rem 0 3rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1.5rem; }
.footer a { font-size: 0.9375rem; }
.footer p { color: var(--grey); font-size: 0.875rem; max-width: 60ch; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--gutter);
  top: 0.5rem;
  z-index: 50;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
}

/* A real screenshot of the product, not a stock photograph. */
/* The opening a caller hears, quoted. Swiss: a rule and a size change do the work —
   no card, no shadow, no quotation-mark ornament. */
.script { margin: 2rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); }
.script blockquote { margin: 0; }
.script blockquote p {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  max-width: 34ch;
}
.script figcaption {
  font-size: 0.875rem;
  color: var(--grey);
  padding-top: 0.75rem;
  max-width: 40ch;
}

.shot { margin: 0 0 2rem; }
.shot img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  border: 1px solid var(--ink);
}
.shot figcaption {
  font-size: 0.875rem;
  color: var(--grey);
  padding-top: 0.5rem;
}
