:root {
  color-scheme: light;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --surface-soft: #f2f6f1;
  --text: #1d2420;
  --muted: #5f6964;
  --line: #dde3dc;
  --sage: #6f9375;
  --blue: #5b879f;
  --amber: #c78a2a;
  --charcoal: #17211c;
  --shadow: 0 22px 70px rgba(31, 43, 35, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(111, 147, 117, 0.5);
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-header {
  align-items: center;
  border-bottom: 1px solid rgba(221, 227, 220, 0.9);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 20px 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 760;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  background: var(--charcoal);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(6, 20, 44, 0.12);
  display: block;
  flex: 0 0 auto;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.top-nav,
.site-footer nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.top-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.top-nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.hero {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 510px);
  margin: 0 auto;
  max-width: 1160px;
  padding: 74px 24px 58px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 760;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.95;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-lede {
  color: var(--charcoal);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.35;
  margin-bottom: 14px;
  max-width: 560px;
}

.hero-support,
.section-heading p,
.privacy-band p,
.legal-content p {
  color: var(--muted);
}

.hero-support {
  font-size: 1.05rem;
  max-width: 540px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.app-store-button {
  align-items: center;
  background: var(--charcoal);
  border-radius: 8px;
  color: #fffdf8;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 58px;
  min-width: 190px;
  padding: 9px 20px 10px;
  text-decoration: none;
}

.app-store-button:hover {
  background: #26332c;
}

.store-small {
  font-size: 0.72rem;
  line-height: 1.15;
}

.store-large {
  font-size: 1.22rem;
  font-weight: 760;
  line-height: 1.1;
}

.availability-note {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-media {
  align-items: center;
  display: grid;
  isolation: isolate;
  justify-self: center;
  min-height: 650px;
  place-items: center;
  position: relative;
  width: min(100%, 510px);
}

.hero-shot {
  background: #fff;
  border: 1px solid rgba(221, 227, 220, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-shot-primary {
  position: relative;
  width: min(64%, 330px);
  z-index: 2;
}

.hero-shot-secondary {
  opacity: 0.68;
  position: absolute;
  width: min(46%, 235px);
  z-index: 1;
}

.hero-shot-left {
  bottom: 28px;
  left: 0;
  transform: rotate(-4deg);
}

.hero-shot-right {
  right: 0;
  top: 22px;
  transform: rotate(4deg);
}

.screenshot-frame img {
  width: 100%;
}

.trust-strip {
  border-block: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1160px;
}

.trust-strip div {
  background: rgba(255, 255, 255, 0.58);
  padding: 26px 24px;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  margin: 0 auto;
  max-width: 1160px;
  padding: 84px 24px;
}

.section-heading {
  max-width: 700px;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 186px;
  padding: 22px;
}

.feature-icon {
  color: var(--blue);
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 760;
  margin-bottom: 28px;
}

.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.screenshot-section {
  padding-top: 8px;
}

.screenshot-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 34px;
}

.screenshot-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  padding: 7px;
}

.screenshot-frame img {
  aspect-ratio: 1242 / 2688;
  border-radius: 6px;
  object-fit: cover;
}

.privacy-band {
  align-items: start;
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
  display: grid;
  gap: 36px;
  grid-template-columns: 0.85fr 1fr;
  margin: 0 auto 34px;
  max-width: 1160px;
  padding: 48px 24px;
}

.privacy-band h2 {
  margin-bottom: 0;
}

.site-footer {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 34px 24px 48px;
}

.site-footer p {
  margin: 12px 0 0;
  max-width: 360px;
}

.footer-brand {
  color: var(--text);
}

.legal-page {
  margin: 0 auto;
  max-width: 880px;
  padding: 72px 24px 80px;
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 42px;
}

.legal-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  margin-bottom: 12px;
}

.last-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 38px;
}

.legal-content section {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.legal-content section + section {
  margin-top: 28px;
}

.legal-content h2 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

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

.faq-section details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq-section details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-section summary {
  cursor: pointer;
  font-weight: 760;
}

.faq-section details p {
  margin: 12px 0 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero {
    gap: 42px;
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero-media {
    min-height: auto;
    width: min(82vw, 390px);
  }

  .hero-shot-primary {
    width: min(82vw, 330px);
  }

  .hero-shot-secondary {
    display: none;
  }

  .trust-strip,
  .feature-grid,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    grid-auto-columns: minmax(190px, 68vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-left: -18px;
    margin-right: -18px;
    overflow-x: auto;
    padding: 0 18px 10px;
    scroll-snap-type: x mandatory;
  }

  .screenshot-frame {
    scroll-snap-align: start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .privacy-band,
  .site-footer,
  .legal-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .top-nav,
  .site-footer nav {
    gap: 12px;
  }

  h1 {
    font-size: 3.15rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .app-store-button {
    width: 100%;
  }

  .feature-card {
    min-height: 0;
  }

  .legal-content {
    padding: 28px 20px;
  }
}
