:root {
  --cream: #f4eee3;
  --surface: #fbf8f1;
  --ink: #2a1810;
  --muted: #6e5b4e;
  --line: #e3d8c7;
  --accent: #c0531d;
  --accent-deep: #8a3a12;
  --red: #7e1d1a;
  --maxw: 1080px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 238, 227, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 86px 0 64px; text-align: center; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(44px, 8vw, 84px); line-height: 1.02; letter-spacing: -0.01em;
  margin: 0 auto 22px; max-width: 12ch;
}
.lede { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 30rem; margin: 0 auto 34px; }

/* App Store badge */
.cta { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 13px 22px; border-radius: 14px; font-weight: 600;
}
.badge:hover { color: #fff; background: #3a261a; }
.badge svg { width: 26px; height: 26px; }
.badge .small { font-size: 11px; font-weight: 500; opacity: 0.8; display: block; line-height: 1; margin-bottom: 3px; }
.badge .big { font-size: 19px; font-weight: 600; line-height: 1; font-family: var(--serif); }
.cta .note { font-size: 13px; color: var(--muted); }

/* Screenshot gallery */
.shots { padding: 26px 0 70px; }
.shots-track {
  display: flex; gap: 20px; overflow-x: auto; padding: 8px 24px 22px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots-track::-webkit-scrollbar { height: 8px; }
.shots-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.shots-track img {
  width: 260px; flex: 0 0 auto; border-radius: 22px; scroll-snap-align: center;
  box-shadow: 0 12px 40px rgba(42, 24, 16, 0.16); border: 1px solid var(--line);
}

/* Features */
.features { padding: 30px 0 40px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 24px; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(42, 24, 16, 0.08); }
.card .ic { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Closing band */
.band { background: var(--red); color: var(--cream); text-align: center; padding: 84px 0; margin-top: 64px; }
.band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 6vw, 60px); letter-spacing: -0.01em; margin-bottom: 14px; }
.band p { opacity: 0.82; max-width: 26rem; margin: 0 auto 30px; font-size: 18px; }
.band .badge { background: var(--cream); color: var(--ink); }
.band .badge:hover { background: #fff; }
.band .cta .note { color: rgba(244,238,227,0.7); }

/* Footer */
footer { background: var(--ink); color: #cbb9aa; padding: 50px 0 60px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
footer .brand { color: #fff; }
footer .links { display: flex; gap: 24px; font-size: 15px; }
footer .links a { color: #cbb9aa; }
footer .links a:hover { color: #fff; }
footer .copy { font-size: 13.5px; color: #8c7768; width: 100%; }

/* Content pages (support / privacy) */
.page { padding: 64px 0 40px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(38px, 6vw, 60px); text-align: left; margin-bottom: 14px; }
.page .lede { text-align: left; margin: 0 0 8px; max-width: none; }
.prose { margin-top: 40px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 38px 0 10px; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 19px; margin: 26px 0 6px; }
.prose p, .prose li { color: var(--muted); font-size: 16.5px; margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 12px; }
.prose a { font-weight: 500; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px; margin: 32px 0; text-align: center;
}
.contact-card .ic { font-size: 30px; margin-bottom: 8px; }
.contact-card a { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.muted-note { font-size: 13.5px; color: var(--muted); margin-top: 26px; font-style: italic; }
.updated { font-size: 14px; color: var(--muted); }

@media (max-width: 820px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  .hero { padding: 60px 0 44px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
