/* Sparky, quiet warmth: the same palette and type as the app. */
:root {
  --bg: #FAF7F5; --surface: #FFFFFF; --stage: #F3ECE8;
  --ink: #241A1F; --muted: #6F6168; --faint: #A3959B;
  --border: #ECE4E1; --divider: #F1E9E6;
  --rose: #CF3159; --rose-dark: #B32750; --rose-soft: #FCEBEF;
  --amber: #E08A3C; --amber-dark: #94500F; --amber-soft: #FDF1E4;
  --wine: #7B2340; --wine-deep: #6A1E33; --cream: #FBF3EC; --cream-muted: #E9D3D9; --gold: #F2B37A;
  --success: #2F6E50;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-weight: 500; background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--rose-dark); }
a:hover { color: var(--wine); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
em { font-style: italic; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.overline { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--rose-dark); }
.overline.amber { color: var(--amber-dark); }
.overline.gold { color: var(--gold); }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 20px 24px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: 29px; }
.brand span { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.nav-links { flex: 1; display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; }
.nav-cta:hover { color: #fff; background: #000; }
.nav .spacer { flex: 1; }
@media (max-width: 640px) { .nav-links { display: none; } .nav .spacer-sm { flex: 1; } }

/* Store badges */
.badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.badge { position: relative; height: 56px; padding: 0 20px 0 16px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: transform .15s ease; }
.badge:hover { color: #fff; transform: translateY(-1px); }
.badge svg { width: 26px; height: 26px; flex: 0 0 auto; }
.badge .b-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.badge .b-small { font-size: 11px; font-weight: 500; }
.badge .b-big { font-size: 20px; font-weight: 600; letter-spacing: -0.2px; }
.badge.soon { opacity: .55; cursor: default; }
.badge.soon:hover { transform: none; }
.badge .soon-tag { position: absolute; top: -9px; right: -8px; padding: 3px 8px; border-radius: 999px; background: var(--amber); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .4px; }
.badge.on-wine { box-shadow: 0 0 0 1px rgba(251,243,236,.35); }

/* Official store badges (Apple's SVG, Google's PNG cropped to the badge), unaltered */
.store { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.store img { height: 52px; width: auto; display: block; }
a.store { transition: transform .15s ease; }
a.store:hover { transform: translateY(-1px); }
.store .soon-note { font-size: 13px; font-weight: 700; color: var(--amber-dark); background: var(--amber-soft); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }

/* Buttons */
.btn { height: 56px; padding: 0 24px; border-radius: 16px; background: var(--rose); color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease; }
.btn:hover { color: #fff; background: var(--rose-dark); transform: translateY(-1px); }
.btn.cream { background: var(--cream); color: var(--wine); }
.btn.cream:hover { background: #fff; color: var(--wine); }
.btn.ghost { background: var(--bg); border: 1px solid var(--border); color: var(--ink); }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.link-quiet { height: 48px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted); }

/* Footer */
.footer { background: var(--wine-deep); color: var(--cream-muted); }
.footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; font-size: 14px; }
.footer .copy { flex: 1 1 200px; font-weight: 600; }
.footer a { color: var(--cream); text-decoration: none; font-weight: 600; }
.footer a:hover { color: #fff; text-decoration: underline; }

/* Documents: support, terms, privacy, delete account */
.doc { max-width: 820px; margin: 0 auto; padding: 48px 24px 96px; }
.doc-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.doc-head h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.06; }
.doc-head .lead { font-size: 18px; color: var(--muted); }
.doc-head .updated { font-size: 14px; color: var(--muted); font-weight: 600; }
.doc h2 { font-size: 26px; line-height: 1.2; margin: 36px 0 12px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: #4A3D43; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.doc strong { color: var(--ink); }
.card-wine { padding: 24px; border-radius: 24px; background: var(--wine); color: var(--cream); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.card-wine .t { font-family: var(--serif); font-size: 24px; }
.card-wine .s { font-size: 15px; color: var(--cream-muted); }
.card-wine > div { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.qa { padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.qa h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.qa p { font-size: 15px; color: var(--muted); }
.qa-list { display: flex; flex-direction: column; gap: 12px; }

@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(2.5deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } }
@keyframes think { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
