:root {
  --cream: #EAE5D9;
  --sand: #E2DACB;
  --paper: #F4EFE4;
  --mocha: #3D2B1F;
  --cherry: #6A1B29;
  --cherry-dark: #4A1320;
  --cherry-tint: #F3D9DC;
  --border: #D6C9AF;
  --body: #5A4A3C;
  --muted: #6E6253;
  --display: 'Newsreader', Georgia, serif;
  --text: 'Literata', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--mocha); font-family: var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cherry); }
a:hover { color: var(--cherry-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--display); font-style: italic; font-weight: 600; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 30px; color: var(--mocha); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 16px; }
.nav a { color: var(--mocha); text-decoration: none; }
.nav a.current { color: var(--cherry); font-weight: 600; }
.nav .hide-mobile { display: none; }
.btn-dark { background: var(--mocha); color: var(--cream) !important; text-decoration: none; padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; }

/* App Store button (replace with Apple's official badge before launch) */
.appstore { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff !important; text-decoration: none; padding: 11px 22px 11px 18px; border-radius: 14px; font-family: -apple-system, 'Helvetica Neue', Helvetica, sans-serif; }
.appstore svg { width: 26px; height: 26px; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore small { font-size: 11px; }
.appstore strong { font-size: 20px; font-weight: 600; }

/* Phone frame */
.phone { width: 240px; aspect-ratio: 300 / 626; padding: 8px; border-radius: 38px; background: #1C1C1C; box-shadow: 0 24px 48px rgba(61, 43, 31, 0.24); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }

/* Hero */
.hero .wrap { padding-top: 40px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 40px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.pill { align-self: flex-start; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cherry); background: var(--cherry-tint); padding: 7px 12px; border-radius: 999px; }
.hero h1 { font-size: 44px; line-height: 1.05; }
.lead { font-size: 17px; line-height: 1.6; color: var(--body); }
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.note { font-size: 14px; color: var(--muted); }
.hero-phones { position: relative; align-self: center; }
.hero-phones .back { display: none; }

/* Sections */
.section { padding: 64px 0; }
.band { background: var(--sand); }
.eyebrow { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.section h2 { font-size: 36px; line-height: 1.1; }
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
.step { background: var(--cream); border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.step .num { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 36px; color: var(--cherry); }
.step h3 { font-size: 20px; font-weight: 600; }
.step p, .body { font-size: 16px; line-height: 1.6; color: var(--body); }

.split .wrap { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.split-copy { display: flex; flex-direction: column; gap: 18px; }

.dark { background: var(--mocha); color: var(--cream); }
.dark h2 { font-size: 44px; line-height: 1.08; }
.values { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
.value { border-top: 1px solid rgba(234, 229, 217, 0.35); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.value h3 { font-size: 19px; font-weight: 600; }
.value p { font-size: 16px; line-height: 1.55; color: #D6CDBB; }

.share .wrap { display: flex; flex-direction: column; gap: 36px; }
.frame { align-self: center; width: 260px; height: 340px; background: var(--paper); border: 1px solid var(--border); border-radius: 8px; padding: 14px 14px 48px; box-shadow: 0 20px 40px rgba(61, 43, 31, 0.16); display: flex; flex-direction: column; gap: 12px; transform: rotate(3deg); }
.frame .photo { flex-grow: 1; background: #B3A188; border-radius: 4px; overflow: hidden; }
.frame .photo img { width: 100%; height: 100%; object-fit: cover; }
.frame .mark { align-self: center; font-size: 22px; }

.cta { text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta h2 { font-size: 38px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.site-footer .brand { display: flex; align-items: baseline; gap: 12px; }
.site-footer .brand .logo { font-size: 24px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .links a { color: var(--mocha); }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; display: flex; flex-direction: column; gap: 32px; font-size: 17px; line-height: 1.7; color: #4A3A2D; }
.legal h1 { font-size: 44px; line-height: 1.05; color: var(--mocha); }
.legal .updated { font-size: 15px; color: var(--muted); margin-top: 10px; display: block; }
.legal .draft { background: var(--cherry-tint); color: var(--cherry-dark); border-radius: 12px; padding: 16px 20px; font-size: 15px; line-height: 1.55; }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal h2 { font-size: 22px; font-weight: 600; color: var(--mocha); }

/* Desktop */
@media (min-width: 900px) {
  .wrap { padding: 0 40px; }
  .site-header .wrap { height: 88px; }
  .logo { font-size: 34px; }
  .nav .hide-mobile { display: inline; }

  .hero .wrap { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 96px; }
  .hero-copy { max-width: 600px; gap: 28px; }
  .pill { font-size: 14px; padding: 8px 14px; }
  .hero h1 { font-size: 72px; }
  .lead { font-size: 20px; }
  .hero-phones { width: 520px; height: 680px; flex-shrink: 0; }
  .hero-phones .phone { position: absolute; width: 300px; border-radius: 46px; padding: 10px; }
  .hero-phones .phone img { border-radius: 36px; }
  .hero-phones .back { display: block; left: 210px; top: 0; }
  .hero-phones .front { left: 0; top: 54px; }

  .section { padding: 96px 0; }
  .eyebrow { font-size: 14px; }
  .section h2 { font-size: 52px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
  .step { padding: 36px; }
  .step .num { font-size: 44px; }
  .step h3 { font-size: 24px; }
  .step p { font-size: 17px; }

  .split .wrap { flex-direction: row; justify-content: center; gap: 120px; }
  .split .phone { width: 300px; border-radius: 46px; padding: 10px; }
  .split .phone img { border-radius: 36px; }
  .split-copy { max-width: 560px; }
  .body { font-size: 19px; line-height: 1.65; }

  .dark h2 { font-size: 72px; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
  .value h3 { font-size: 22px; }
  .value p { font-size: 17px; }

  .share .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
  .share .split-copy { max-width: 560px; }
  .frame { width: 360px; height: 480px; padding: 18px 18px 64px; margin-right: 80px; }
  .frame .mark { font-size: 28px; }

  .cta { padding: 110px 0; }
  .cta h2 { font-size: 64px; }

  .site-footer { font-size: 15px; }
  .site-footer .wrap { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }

  .legal { padding: 80px 24px 96px; gap: 36px; }
  .legal h1 { font-size: 64px; }
  .legal h2 { font-size: 24px; }
}
