:root {
  color-scheme: light dark;
  --background: #faf5ed;
  --surface: #fffdf9;
  --text: #2a2129;
  --secondary: #6b5f69;
  --accent: #663863;
  --border: rgba(0, 0, 0, .1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; background: var(--background); color: var(--text); }
body { line-height: 1.55; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px; background: var(--surface); z-index: 3; }
.skip-link:focus { top: 10px; }
header { position: sticky; top: 0; z-index: 2; background: var(--surface); border-bottom: 1px solid var(--border); }
nav { max-width: 1048px; margin: auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 24px; font-weight: 700; letter-spacing: -.7px; }
.brand:hover { text-decoration: none; }
.brand img, .closing > img { border-radius: 23%; }
.nav-download { font-size: 14px; font-weight: 600; padding: 8px 0; }
.hero { max-width: 1048px; margin: auto; padding: 64px 24px 48px; text-align: center; border-bottom: 1px solid var(--border); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
h1 { font-size: clamp(42px, 7vw, 72px); line-height: 1.05; letter-spacing: -.055em; font-weight: 750; text-wrap: balance; }
.intro { max-width: 610px; margin: 24px auto; color: var(--secondary); font-size: 20px; line-height: 1.5; text-wrap: pretty; }
.download { display: inline-flex; align-items: center; gap: 16px; padding: 14px 22px; border-radius: 12px; background: #663863; color: white; font-size: 16px; font-weight: 600; }
.download:hover { background: #522d50; text-decoration: none; }
/* The strip bleeds into the hero padding so the shadows aren't clipped by the scroll area */
.screenshots { display: flex; gap: 20px; margin: 40px -24px 0; padding: 8px 24px 32px; scroll-padding-inline: 24px; overflow-x: auto; scroll-snap-type: x mandatory; }
.screenshots img { flex: 0 0 calc((100% - 60px) / 4.25); width: calc((100% - 60px) / 4.25); border-radius: 16px; scroll-snap-align: start; box-shadow: 0 0 0 1px rgba(60, 30, 55, .08), 0 2px 4px rgba(60, 30, 55, .06), 0 12px 28px rgba(60, 30, 55, .14); }
.features { max-width: 880px; margin: auto; padding: 64px 24px 16px; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin-top: 28px; }
.feature { text-align: center; padding: 32px 0; border-bottom: 1px solid var(--border); }
.feature-icon { display: block; font-size: 28px; margin-bottom: 12px; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 10px; text-wrap: balance; }
.feature p { font-size: 16px; color: var(--secondary); text-wrap: pretty; }
.closing { padding: 56px 24px 64px; text-align: center; }
.closing > img { margin: 0 auto 20px; }
.closing h2 { margin-bottom: 24px; }
footer { border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 72px; padding: 32px 24px; text-align: center; }
footer h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 8px; }
footer ul { list-style: none; font-size: 14px; line-height: 1.9; }
footer > p { flex-basis: 100%; font-size: 13px; color: var(--secondary); }
#features-title { scroll-margin-top: 90px; }
h1, .features h2, .closing h2 { font-family: ui-serif, "New York", Georgia, serif; letter-spacing: -.02em; font-weight: 700; }

@media (prefers-color-scheme: dark) {
  :root { --background: #17131a; --surface: #211b24; --text: #f3edf2; --secondary: #bbafb9; --accent: #d4a6cf; --border: rgba(255, 255, 255, .12); }
}

@media (max-width: 600px) {
  nav { padding: 10px 20px; }
  .brand { font-size: 22px; }
  .hero { padding: 40px 20px 32px; }
  .intro { font-size: 18px; }
  .screenshots { gap: 16px; margin: 24px -20px 0; padding: 8px 20px 28px; scroll-padding-inline: 20px; }
  .screenshots img { flex: 0 0 82%; width: 82%; scroll-snap-align: center; }
  .features { padding-top: 40px; }
  .feature-grid { grid-template-columns: 1fr; max-width: 375px; margin: 16px auto 0; }
  .feature { padding: 28px 0; }
  .closing { padding-top: 40px; }
}
