@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #faf7f2;
  --panel: #f1ebe2;
  --ink: #171513;
  --muted: #625c55;
  --line: #ddd5ca;
  --accent: #a8281f;
  --band: #171513;
  --on-band: #f4efe8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151311;
    --panel: #1f1c19;
    --ink: #f4efe8;
    --muted: #aaa298;
    --line: #38332e;
    --accent: #f0857a;
    --band: #2a2520;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* Home page */
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1120px, 100% - 80px); } }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; padding: 8px 12px; background: var(--ink); color: var(--paper); z-index: 1; }

.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; }
.name { font-weight: 600; text-decoration: none; }
.bar nav { display: flex; gap: 20px; font-size: 0.95rem; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 56px;
  padding-block: 56px 88px;
}
.eyebrow { margin: 0 0 14px; color: var(--accent); font-weight: 600; }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.05; text-wrap: balance; }
.lede { margin: 22px 0 0; font-size: 1.2rem; max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.badge { width: 150px; height: 50px; }
.soon { color: var(--muted); font-size: 0.95rem; }
.hero-icon { width: 84px; border-radius: 22.5%; margin-bottom: 20px; box-shadow: 0 6px 18px rgba(60, 30, 20, 0.16); }
.gallery { width: min(300px, 100%); justify-self: end; text-align: center; }
.phone { overflow: hidden; background: #fff; border: 7px solid #171513; border-radius: 30px; box-shadow: 0 18px 44px rgba(60, 30, 20, 0.2); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; scroll-snap-align: start; }
.controls { display: none; align-items: center; gap: 6px; margin-top: 12px; }
.gallery.ready .controls { display: flex; }
.segment { flex: 1; padding: 12px 0; border: 0; background: none; cursor: pointer; }
.segment span { display: block; height: 3px; border-radius: 2px; background: linear-gradient(var(--accent), var(--accent)) no-repeat left / 0 100%, var(--line); }
.segment.done span { background-size: 100% 100%; }
.segment.active span { animation: fill 4.5s linear forwards; }
.gallery.paused .segment.active span { animation-play-state: paused; }
@keyframes fill { from { background-size: 0 100%, auto; } to { background-size: 100% 100%, auto; } }
.toggle { min-width: 52px; padding: 8px 4px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 0.85rem; cursor: pointer; }
.toggle:hover { color: var(--accent); }
.slide-caption { margin: 4px 0 0; font-weight: 600; }
.caption { margin: 2px 0 0; color: var(--muted); font-size: 0.85rem; }

.steps { background: var(--panel); padding-block: 72px; }
.steps h2, .privacy h2 { margin: 0 0 32px; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0; padding: 0; list-style: none; counter-reset: step; color: var(--muted); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font: 400 3.2rem/1 "Instrument Serif", Georgia, serif; color: var(--accent); margin-bottom: 14px; }
.steps strong, .features strong { display: block; font-weight: 600; color: var(--ink); font-size: 1.15rem; }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 16px 64px; padding-block: 72px; }
.split h2 { margin: 0; font-size: 1.9rem; line-height: 1.2; }
.features { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.features li { padding-block: 16px; border-top: 1px solid var(--line); }
.features li:last-child { border-bottom: 1px solid var(--line); }

.privacy { background: var(--band); color: var(--on-band); padding-block: 72px; }
.privacy p { margin: 0 0 16px; max-width: 34em; font-size: 1.2rem; }
.privacy p:last-child { margin-bottom: 0; font-size: 1rem; }

footer { padding-block: 40px 48px; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0 0 10px; }
.disclaimer { max-width: 44em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-block: 18px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 24px 56px; }
  .gallery { justify-self: center; width: min(280px, 85%); }
  .steps, .privacy { padding-block: 56px; }
  .steps ol, .split { grid-template-columns: 1fr; }
  .steps ol { gap: 28px; }
  .split { padding-block: 56px; }
}

/* Privacy and support pages */
.doc { max-width: 720px; margin-inline: auto; padding: 32px 16px 48px; }
.doc h1 { font-size: 2.7rem; line-height: 1.1; margin: 0 0 12px; }
.doc h2 { font-size: 1.7rem; line-height: 1.2; margin: 1.6em 0 0.3em; }
.doc h3 { font-size: 1.1rem; font-weight: 600; margin: 1.4em 0 0.2em; }
.doc a { color: var(--accent); }
.updated, .nav, .company { color: var(--muted); }
.updated { font-size: 0.9rem; }
.app-info { background: var(--panel); padding: 16px 18px; border-radius: 12px; margin-block: 20px 24px; }
.nav { margin-top: 2.5em; font-size: 0.95rem; }
.company { font-size: 0.85rem; }
