/* Toddleprint · Heirloom (matches the app's theme tokens) */
:root {
  --paper: #EEE4D1;
  --paper-2: #F3EAD7;
  --page: #FBF7EF;
  --ink: #3B3530;
  --muted: #6B6054;
  --rule: #E2D7C3;
  --sage: #4C674E;
  --sage-wash: #E1E9DC;
  --ochre: #A07A2E;
  --ochre-soft: #F5ECDB;
  --rose-soft: #F1DDD6;
  --shadow: 0 18px 50px rgba(59, 45, 33, 0.14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 24px; padding-block: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 22px/1 var(--serif); letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav .links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav .links a:hover { color: var(--ink); }
.nav .links a.cta { color: #fff; background: var(--ink); padding: 9px 18px; border-radius: 999px; font-weight: 600; }
.nav .links a.cta:hover { background: #2B2622; }

/* Type */
.eyebrow { font: 700 12px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; text-wrap: balance; margin: 0; }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.06; letter-spacing: -0.02em; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 32em; margin: 20px 0 0; }

/* Store badges (official artwork) */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.stores a { display: block; line-height: 0; border-radius: 10px; }
.stores .apple img { height: 48px; width: auto; }
/* Google's badge has built-in padding; scale it so the visible part matches Apple's. */
.stores .google img { height: 70px; width: auto; margin: -11px -10px; }
.platforms { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Phone frame around real app screens */
.phone {
  background: #2B2622;
  padding: 8px;
  border-radius: 44px;
  box-shadow: var(--shadow);
  width: 100%;
}
.phone img { width: 100%; height: auto; border-radius: 37px; aspect-ratio: 600 / 1300; object-fit: cover; object-position: top; background: var(--paper); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 40px 72px; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 600px; }
.hero-art::before { content: ""; position: absolute; width: min(92%, 520px); aspect-ratio: 1; border-radius: 50%; background: var(--sage-wash); top: 50%; left: 50%; transform: translate(-50%, -46%); }
.hero-art .phone { position: relative; width: 290px; }
.float-card {
  position: absolute; left: 0; bottom: 120px;
  background: var(--ochre-soft); border-radius: 18px; padding: 12px 16px;
  box-shadow: 0 12px 30px rgba(59, 45, 33, 0.14);
}
.float-card .k { font: 700 10.5px/1.3 var(--sans); letter-spacing: 0.12em; color: var(--ochre); }
.float-card .t { font: 600 17px/1.3 var(--serif); }
.float-card .s { font-size: 12px; color: var(--muted); }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; padding-block: 48px; }
.feature .art { border-radius: 36px; display: grid; place-items: center; padding: 56px 0 0; overflow: hidden; height: 560px; align-items: start; }
.feature .art .phone { width: 250px; }
.feature.flip .art { order: 2; }
.feature h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.015em; }
.feature p { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 30em; margin: 16px 0 0; }
.tint-rose { background: var(--rose-soft); }
.tint-sage { background: var(--sage-wash); }
.tint-ochre { background: var(--ochre-soft); }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 64px; }
.promise { background: var(--page); border-radius: 24px; padding: 28px; }
.promise h3 { font-size: 22px; }
.promise p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.5; }

/* Premium band */
.premium { background: var(--ink); color: var(--page); border-radius: 32px; padding: 56px 48px; text-align: center; margin: 16px 0 80px; }
.premium .eyebrow { color: #D3A657; }
.premium h2 { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; color: var(--page); }
.premium p { color: #D9CFC0; max-width: 40em; margin: 14px auto 0; font-size: 18px; }
.premium .stores { justify-content: center; }

/* Footer */
.footer { background: var(--paper-2); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding-top: 32px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.footer .wrap > span { margin-right: auto; }
.footer a { color: var(--muted); }

/* Document pages (Privacy, Support) */
.doc { max-width: 720px; margin: 0 auto; padding: 24px 32px 72px; }
.doc h1 { font-size: clamp(34px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 12px; }
.doc h2 { font-size: 24px; margin: 36px 0 8px; }
.doc p.lead, .doc p.meta { color: var(--muted); }
.doc p.meta { font-size: 14px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 8px 0; }
.doc .card { background: var(--page); border-radius: 24px; padding: 28px; margin: 20px 0; }
.doc .card h2 { margin-top: 0; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .wrap { padding: 0 16px; }
  .nav { padding-block: 16px; }
  .nav .links a:not(.cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 16px 48px; }
  .hero-art { min-height: 0; padding: 24px 0; }
  .hero-art .phone { width: 250px; }
  .float-card { left: 4px; bottom: 60px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding-block: 32px; }
  .feature.flip .art { order: 0; }
  .feature .art { height: 440px; padding-top: 40px; }
  .feature .art .phone { width: 220px; }
  .promises { grid-template-columns: 1fr; gap: 14px; padding-block: 40px; }
  .premium { padding: 40px 22px; border-radius: 26px; margin-bottom: 56px; }
  .doc { padding: 8px 16px 56px; }
}
