:root {
  color-scheme: light;
  --bg: #fffaf0;
  --bg-soft: #fffdf8;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #1f1b16;
  --muted: #655e53;
  --border: rgba(57, 45, 14, 0.10);
  --border-strong: rgba(57, 45, 14, 0.16);
  --accent: #f4c531;
  --shadow: 0 20px 60px rgba(110, 87, 24, 0.10);
  --shadow-soft: 0 14px 32px rgba(110, 87, 24, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(244, 197, 49, 0.28), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #fff8ea 34%, #fffaf2 100%);
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(31, 27, 22, 0.28);
  text-underline-offset: 0.18em;
}

p,
li {
  font-size: 1rem;
  line-height: 1.7;
  color: #2b251d;
}

.site-shell {
  width: min(calc(100% - 24px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 0;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 240, 0.74);
  border-bottom: 1px solid rgba(57, 45, 14, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(31, 27, 22, 0.12);
  flex: 0 0 30px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
}

.app-store-link {
  gap: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.app-store-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex: 0 0 14px;
}

.page-main {
  padding: 28px 0 64px;
}

.hero-grid,
.feature-grid,
.preview-shell,
.support-grid {
  margin-top: 24px;
}

.hero-grid {
  display: grid;
  gap: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(57, 45, 14, 0.08);
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-copy h1,
.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy > h1:first-child,
.page-hero > h1:first-child {
  margin-top: 0;
}

.hero-copy p,
.page-hero p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-card,
.legal-card,
.feature-card,
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card,
.feature-card,
.support-card,
.legal-card {
  padding: 22px 20px;
}

.hero-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-weight: 600;
}

.hero-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--accent);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.preview-shell {
  padding: 24px 0 8px;
}

.preview-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(224px, 76%);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(57, 45, 14, 0.24) transparent;
}

.preview-track::-webkit-scrollbar {
  height: 10px;
}

.preview-track::-webkit-scrollbar-thumb {
  background: rgba(57, 45, 14, 0.24);
  border-radius: 999px;
}

.preview-card {
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(57, 45, 14, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 12px;
}

.preview-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1242 / 2688;
  object-fit: contain;
  border-radius: 20px;
  background: #f7f1df;
}

.preview-card h3 {
  margin: 12px 4px 2px;
  font-size: 1rem;
}

.preview-card p {
  display: none;
}

.feature-grid,
.support-grid {
  display: grid;
  gap: 16px;
}

.feature-card h3,
.support-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.feature-card p,
.support-card p,
.support-card li {
  margin: 0;
}

.trust-links,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.legal-meta {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.site-footer {
  border-top: 1px solid rgba(57, 45, 14, 0.08);
  padding: 24px 0 40px;
}

.footer-row {
  display: grid;
  gap: 10px;
}

.footer-copy {
  display: grid;
  gap: 4px;
}

.footer-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-brand {
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 560px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .site-nav a {
    flex: 1 1 0;
    justify-content: center;
    padding: 8px 10px;
  }

  .app-store-link span {
    white-space: nowrap;
  }
}

@media (min-width: 740px) {
  .site-shell {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .page-main {
    padding: 42px 0 88px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
    align-items: center;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-track {
    grid-auto-columns: minmax(220px, 260px);
    justify-content: start;
  }

  .legal-card {
    padding: 30px 28px;
  }

  .footer-row {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

}
