:root {
  color-scheme: light dark;
  --fg: #1c1b1a;
  --muted: #6f6b66;
  --bg: #faf9f7;
  --surface: #ffffff;
  --line: #e7e4df;
  --accent: #c8581c;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f2f0ed;
    --muted: #a19c95;
    --bg: #121110;
    --surface: #1c1a19;
    --line: #2d2a27;
    --accent: #f08a4b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap.wide { max-width: 60rem; }

/* Navigation */
.nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding-block: 1.5rem; }
.nav .brand { font-weight: 650; color: var(--fg); text-decoration: none; letter-spacing: -0.01em; }
.nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--fg); }

/* Type */
h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 .75rem; }
h2 { font-size: 1.2rem; letter-spacing: -0.01em; margin: 2.5rem 0 .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0; max-width: 36rem; }
.lead p { margin: 0; }
.lead p + p { margin-top: .75rem; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 600; color: var(--muted); margin: 0 0 .75rem; }

section { padding-block: 3rem; }
section + section { border-top: 1px solid var(--line); }

/* App showcase */
.app-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.app-head img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.app-head h1, .app-head h2 { margin: 0; font-size: 1.6rem; letter-spacing: -0.015em; }
.app-head h1 { font-size: 2rem; }
.app-head h2 a { color: inherit; text-decoration: none; }
.app-head + .lead { margin-bottom: 0; }
.app-head p { margin: 0; color: var(--muted); }

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 0 1rem;
  margin: 0;
}
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img {
  width: 100%;
  aspect-ratio: 460 / 1000;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.shots figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .6rem; }

.wide-shot { margin-top: 1.75rem; }
.wide-shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem 2rem; padding: 0; list-style: none; margin: 1.5rem 0 0; }
.features li strong { display: block; }
.features li span { color: var(--muted); font-size: .95rem; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.button {
  display: inline-block;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--fg);
  text-decoration: none;
  font-size: .95rem;
}
.button.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Cards, lists */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.faq h3 { font-size: 1rem; margin: 1rem 0 .2rem; }
.faq h3:first-child { margin-top: 0; }
.faq p { margin: 0; color: var(--muted); }
.prose h2:first-child { margin-top: 0; }
.prose li { margin: .4rem 0; }

footer { padding-block: 2.5rem 3rem; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); margin-top: 1rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
footer a { color: var(--muted); }
