/* The details page. Warm black, cream type, the studio sand from the photoshoot as the only
   colour. System fonts only: the site loads nothing from third parties. */

:root {
  --bg: #0e0d0c;
  --bg-raised: #171513;
  --ink: #f2ebe0;
  --muted: #a69c8f;
  --line: rgba(242, 235, 224, 0.13);
  --line-strong: rgba(242, 235, 224, 0.32);
  --sand: #d9c5a5;
  --live: #e0482f;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; }

p { margin: 0; }

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

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

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  background: rgba(14, 13, 12, 0.82);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.brand {
  font: 800 22px/1 var(--sans);
  letter-spacing: -0.04em;
  text-decoration: none;
}

.top-nav { display: flex; align-items: center; gap: 22px; }

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font: 600 14px/1 var(--sans);
  text-decoration: none;
}

.top-link:hover { color: var(--ink); }

.top-link-live {
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink);
}

.top-link-live:hover { border-color: var(--ink); }

.dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(224, 72, 47, 0.6);
  animation: live 2s ease-out infinite;
}

@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(224, 72, 47, 0.6); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(224, 72, 47, 0); }
}

/* ---- shared pieces -------------------------------------------------------- */

.kicker,
.tag,
.band-label,
figcaption {
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker, .tag { color: var(--sand); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink);
  font: 700 15px/1 var(--sans);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}

.button svg { width: 18px; height: 18px; flex: none; }

.button:hover { border-color: var(--ink); }

.button-solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.button-solid:hover { background: var(--sand); border-color: var(--sand); }

.downloads { display: flex; flex-wrap: wrap; gap: 10px; }

.inline-link {
  display: inline-block;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.inline-link:hover { border-bottom-color: var(--sand); color: var(--sand); }

/* ---- hero ----------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--pad) clamp(56px, 8vw, 112px);
}

.hero-text { display: grid; gap: 26px; padding-bottom: 8px; }

.hero h1 {
  font-size: clamp(46px, 7.4vw, 112px);
  line-height: 0.93;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.lede {
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
}

.note { max-width: 36em; color: var(--muted); font-size: 14px; }

.hero-photo { margin: 0; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 2px;
}

figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  color: var(--muted);
}

figcaption a { color: var(--sand); text-decoration: none; }
figcaption a:hover { color: var(--ink); }

/* ---- numbered bands ------------------------------------------------------- */

.band {
  display: grid;
  grid-template-columns: minmax(120px, 2fr) 10fr;
  gap: clamp(20px, 4vw, 56px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) var(--pad);
  border-top: 1px solid var(--line);
}

.band-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}

.band-label .index {
  color: var(--sand);
  font-size: 13px;
}

.band-body { display: grid; gap: clamp(32px, 4vw, 56px); min-width: 0; }

.band h2 {
  max-width: 17em;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.band h3 {
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.columns { display: grid; gap: clamp(28px, 3.4vw, 48px); }
.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.column,
.feature,
.plan {
  display: grid;
  align-content: start;
  gap: 14px;
}

.column > p:not(.tag),
.feature > p:not(.tag):not(.said),
.plan > p:not(.tag):not(.plan-where) { color: var(--muted); }

.columns-3 .column,
.columns-4 .column {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

/* Lists read like a spec sheet: one line each, ruled. */
.spec {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.spec li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.feature .tag { margin-top: 10px; }

.said {
  font: 400 15px/1.5 var(--mono);
  color: var(--ink);
}

/* ---- steps ---------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  align-content: start;
  gap: 12px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  color: var(--sand);
  font: 800 clamp(64px, 7vw, 112px)/0.85 var(--sans);
  letter-spacing: -0.06em;
}

.steps p { color: var(--muted); }

/* ---- Corinna -------------------------------------------------------------- */

.band-corinna {
  max-width: none;
  background: var(--bg-raised);
  padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
  padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}

.band-corinna .big {
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 650;
}

.band-corinna .columns > div:last-child { display: grid; gap: 16px; align-content: start; }
.band-corinna .columns > div:last-child p { color: var(--muted); }
.band-corinna .button { justify-self: start; margin-top: 8px; }
.band-corinna .button .dot { background: var(--live); }

/* ---- privacy -------------------------------------------------------------- */

.checks {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.checks li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-bottom: 1px solid var(--line);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 24px;
  width: 14px;
  height: 7px;
  border-left: 2px solid var(--sand);
  border-bottom: 2px solid var(--sand);
  transform: rotate(-45deg);
}

.flow {
  display: grid;
  align-content: start;
  gap: 0;
}

.flow-node {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
}

.flow-node p:not(.tag) { font-size: 18px; font-weight: 650; }

.flow-line {
  width: 1px;
  height: 44px;
  margin-left: 24px;
  background: repeating-linear-gradient(var(--sand) 0 6px, transparent 6px 11px);
}

/* ---- plans ---------------------------------------------------------------- */

.plan {
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--line-strong);
}

.plan-where { color: var(--muted); font-size: 15px; margin-top: -8px; }
.plan .button { justify-self: start; margin-top: 10px; }

/* ---- closer --------------------------------------------------------------- */

.closer {
  display: grid;
  justify-items: start;
  gap: 22px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) var(--pad);
  border-top: 1px solid var(--line);
}

.closer h2 {
  max-width: 12em;
  font-size: clamp(40px, 6.6vw, 100px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.closer > p { color: var(--muted); font-size: 18px; }

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

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--pad) max(32px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.foot .brand { display: block; margin-bottom: 8px; }
.foot h4 { margin-bottom: 12px; color: var(--muted); font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--sand); }
.foot-muted { color: var(--muted); margin-bottom: 8px; }
.foot-bottom { margin-top: 40px; color: var(--muted); font-size: 13px; }

/* ---- smaller screens ------------------------------------------------------ */

@media (max-width: 1100px) {
  .columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero-photo { order: -1; margin: 0 calc(var(--pad) * -1); }
  .hero-photo img { aspect-ratio: 4 / 4.4; border-radius: 0; }
  .hero-photo figcaption { margin-left: var(--pad); margin-right: var(--pad); }
  .band { grid-template-columns: 1fr; gap: 18px; }
  .band-label { flex-direction: row; gap: 12px; }
  .columns-2, .columns-3, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .top-nav { gap: 14px; }
  .top-link:not(.top-link-live) { display: none; }
  .columns-4 { grid-template-columns: 1fr; }
  .downloads .button { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .button { transition: none; }
}
