:root {
  color-scheme: light dark;
  --bg: #fbf6ea;
  --surface: #ffffff;
  --surface-2: #f3ecd9;
  --text: #1d2a22;
  --muted: #4d5b52;
  --line: #e4dcc6;
  --green: #2fb344;
  --green-deep: #087a33;
  --link: #0a6b2e;
  --coral: #ff6b57;
  --coral-text: #b93a28;
  --on-green: #ffffff;
  --frame: #1d2a22;
  --shadow: 0 1px 2px rgba(29, 42, 34, 0.06), 0 8px 24px rgba(29, 42, 34, 0.08);
  --radius: 18px;
  --wrap: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111a15;
    --surface: #1a251f;
    --surface-2: #16201a;
    --text: #f1efe4;
    --muted: #b5c0b6;
    --line: #2c3a31;
    --green: #3fc655;
    --green-deep: #2fb344;
    --link: #74d988;
    --coral: #ff8573;
    --coral-text: #ff9a8a;
    --on-green: #0b1a10;
    --frame: #050806;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.narrow {
  max-width: 44rem;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--surface);
  color: var(--text);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  z-index: 10;
}

.skip:focus {
  left: 0.5rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 22%;
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover {
  background: var(--surface-2);
}

.site-nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--link);
}

/* Hero */

.hero {
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.app-icon {
  width: 128px;
  height: 128px;
  border-radius: 22%;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow);
}

.subtitle {
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 600;
  color: var(--link);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
  margin: 0 auto 1.75rem;
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--green-deep);
  color: var(--on-green);
  font-weight: 600;
}

.soon::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--coral);
  flex: none;
}

.requires {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Sections */

section {
  padding: 2.75rem 0;
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

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

.band {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Screenshots */

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(68%, 15rem);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 1.25rem 1.25rem;
  margin: 0 -1.25rem;
  list-style: none;
}

.shots li {
  scroll-snap-align: center;
}

.shots figure {
  margin: 0;
}

.phone {
  border: 7px solid var(--frame);
  border-radius: 2.1rem;
  overflow: hidden;
  background: var(--frame);
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  aspect-ratio: 644 / 1400;
  border-radius: 1.65rem;
}

.shots figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.98rem;
  color: var(--muted);
}

.shots figcaption strong {
  display: block;
  color: var(--text);
}

@media (min-width: 56rem) {
  .shots {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: 1.75rem;
  }
}

/* Feature cards */

.features {
  display: grid;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 40rem) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 62rem) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  padding-top: 0.9rem;
  border-top: 3px solid var(--green);
  display: inline-block;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.card li + li {
  margin-top: 0.4rem;
}

/* Privacy callout */

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--coral);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  max-width: 44rem;
  margin: 0 auto;
}

.callout p:last-child {
  margin-bottom: 0;
}

/* Steps */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 44rem;
  display: grid;
  gap: 1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0.25rem 0 0.25rem 3.5rem;
  min-height: 2.5rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--on-green);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.steps strong {
  display: block;
}

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

/* Document pages (privacy, support) */

.doc {
  padding: 2.5rem 0 3.5rem;
}

.doc h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
}

.doc h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.doc .meta {
  color: var(--muted);
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li + li {
  margin-top: 0.3rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0 2.5rem;
  box-shadow: var(--shadow);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  background: var(--green-deep);
  color: var(--on-green);
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  filter: brightness(1.08);
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  border-radius: 8px;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.faq details > :last-child {
  margin-bottom: 1.1rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer p {
  margin: 0;
}
