
:root {
  --bg: #f7f1e7;
  --bg-2: #efe5d4;
  --text: #201d19;
  --muted: #70685e;
  --line: rgba(32, 29, 25, 0.14);
  --card: rgba(255,255,255,0.58);
  --accent: #1f1d1a;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.9), transparent 35%),
    linear-gradient(180deg, var(--bg) 0%, #f4ecdf 100%);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.topbar {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .28em;
  font-size: 22px;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.hero {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding: 26px 0 48px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .95;
  font-weight: 500;
  letter-spacing: -.035em;
  max-width: 760px;
}

.lede {
  margin: 28px 0 0;
  max-width: 620px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--muted);
}

.lede strong {
  color: var(--text);
  font-weight: 650;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 22px;
  border-radius: 14px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(31,29,26,.18);
}

.appstore-btn small {
  display: block;
  font-size: 10px;
  line-height: 1;
  opacity: .72;
  font-weight: 500;
  margin-bottom: 3px;
}

.appstore-btn span {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.appstore-btn.is-placeholder {
  cursor: default;
}

.secondary-link {
  color: var(--muted);
  font-size: 14px;
}

.device-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-glow {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(197, 161, 112, .28);
  filter: blur(60px);
  z-index: 0;
}

.device {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  border-radius: 42px;
  box-shadow: 0 34px 80px rgba(55,43,27,.22);
  display: block;
}

.footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 72px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

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

.footer a {
  color: inherit;
  text-decoration: none;
}

.legal-page {
  min-height: 100svh;
  background: #fbf8f2;
}

.legal-wrap {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
  padding: 64px 0 90px;
}

.legal-back {
  display: inline-block;
  margin-bottom: 46px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.legal-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 500;
  letter-spacing: -.03em;
  margin: 0 0 12px;
}

.updated {
  color: var(--muted);
  margin: 0 0 48px;
}

.legal-copy {
  font-size: 16px;
  line-height: 1.75;
  color: #403b35;
}

.legal-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin: 46px 0 14px;
}

.legal-copy ul {
  padding-left: 22px;
}

.legal-copy li {
  margin: 7px 0;
}

.legal-copy a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .topbar {
    min-height: 68px;
  }

  .nav {
    gap: 14px;
  }

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

  .copy {
    text-align: left;
  }

  .device-wrap {
    order: 2;
  }

  .device {
    width: min(82vw, 390px);
  }

  .footer {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .topbar, .hero, .footer, .legal-wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    font-size: 18px;
  }

  .nav a:first-child {
    display: none;
  }

  h1 {
    font-size: 52px;
  }

  .lede {
    font-size: 18px;
  }

  .device {
    width: 92vw;
    max-width: 370px;
  }
}
