@font-face {
  font-family: Barlow Semi Condensed;
  src: url('assets/barlow-semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #132745;
  --muted: #485d74;
  --blue: #2146bd;
  --mint: #7ce5d9;
  --canvas: #f0f5fc;
  --line: #d5e0ef;
  --display: 'Barlow Semi Condensed', 'Arial Narrow', system-ui, sans-serif;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); }
button, summary { cursor: pointer; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(100% - 3rem, 71rem); margin-inline: auto; }

.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.top { min-height: 5.25rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font: 600 1.55rem var(--display); text-decoration: none; }
.brand img { flex: none; }
.top-link { font-size: .92rem; font-weight: 650; text-underline-offset: .25em; }

.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.5rem); }
.intro h1, h2, .steps h3, .missing h1 { font-family: var(--display); font-weight: 600; margin: 0; }
.intro h1 { font-size: clamp(3.1rem, 7.2vw, 6.15rem); line-height: .94; letter-spacing: -.036em; max-width: 9.4ch; }
.intro > p:not(.release-facts) { max-width: 34ch; margin-block: 1.35rem 1.8rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.22rem); line-height: 1.6; }
.download { display: inline-flex; justify-content: center; align-items: center; min-height: 3.65rem; border-radius: .9rem; padding: .9rem 1.4rem; color: #fff; background: var(--blue); text-decoration: none; font-weight: 700; text-align: center; }
.download:hover { background: #173795; }
.release-facts { display: flex; align-items: center; flex-wrap: wrap; column-gap: .68rem; row-gap: .35rem; margin-block: .85rem 0; color: var(--muted); font-size: .85rem; }
.release-facts span { white-space: nowrap; }
.release-facts span + span::before { content: '·'; margin-inline-end: .68rem; }

.preview { display: grid; justify-items: center; gap: .85rem; margin: 0; padding: 1.5rem 1rem 1.1rem; border: 1px solid #d3e1ef; border-radius: 1.65rem; background: repeating-radial-gradient(circle at 50% 49%, transparent 0 56px, #bcd2e5 57px, transparent 58px 83px), radial-gradient(ellipse at center, #c8f2ee, #dbe8f9 75%); }
.phone { width: min(14rem, 70%); overflow: hidden; border: .45rem solid #101e34; border-radius: 1.75rem; background: var(--ink); box-shadow: 0 1.2rem 1.8rem #13274529; }
.phone img { display: block; width: 100%; height: auto; }
.preview figcaption { color: var(--ink); text-align: center; font-size: .86rem; }

.setup { scroll-margin-top: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 1.35rem; padding: clamp(1.35rem, 3.6vw, 2.6rem); }
.setup h2 { line-height: 1; font-size: clamp(2.2rem, 5vw, 3.05rem); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.05rem; row-gap: 1rem; margin-block: 1.55rem 1.25rem; padding: 0; list-style: none; counter-reset: setup-step; }
.steps li { position: relative; padding-inline-start: 2.55rem; counter-increment: setup-step; }
.steps li::before { content: counter(setup-step); position: absolute; inset-inline-start: 0; inset-block-start: 0; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: .6rem; color: var(--ink); background: #ddf4f1; font-weight: 650; }
.steps h3 { font-size: 1.4rem; line-height: 1.18; }
.steps p, details p { margin: .32rem 0 0; font-size: .95rem; line-height: 1.55; color: var(--muted); }
details { border-top: 1px solid var(--line); padding-top: .85rem; }
summary { font-weight: 650; padding-block: .25rem; }
details p { max-width: 65ch; }
.footer { margin-block: 1rem 0; min-height: 3.7rem; color: var(--muted); font-size: .86rem; }
.footer span:first-child { font-family: var(--display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.missing { padding-top: clamp(3rem, 8vw, 6rem); }
.missing h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }

@media (max-width: 45rem) {
  .shell { width: calc(100% - 2rem); }
  .top { min-height: 4.25rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; }
  .intro h1 { max-width: 10.2ch; }
  .intro > p:not(.release-facts) { margin-block: 1rem 1.2rem; }
  .download { width: 100%; }
  .preview { padding-block-start: 1rem; }
  .phone { width: min(11.5rem, 65%); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 21rem) {
  .top { gap: .55rem; }
  .top-link { font-size: .82rem; }
  .intro h1 { font-size: 2.75rem; }
}
