:root {
  --bg: #ffffff;
  --text: #1a1d23;
  --muted: #5d6573;
  --faint: #9ba3b0;
  --line: #e7e9ee;
  --brand: #b85c38;
  --brand-soft: #fbf0e9;
  --element: #f0f0f3;
}
@media (prefers-color-scheme: dark) {
  /* The app's dark theme (app/src/constants/theme.ts). */
  :root {
    --bg: #000000;
    --text: #ffffff;
    --muted: #b0b4ba;
    --faint: #7c838e;
    --line: #2e3135;
    --brand: #c96a42;
    --brand-soft: #2a1912;
    --element: #212225;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
a { color: var(--brand); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.mark { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-size: 30px; color: var(--text); text-decoration: none; letter-spacing: -0.5px; }
.mark span { color: var(--brand); }
nav { display: flex; gap: 18px; font-size: 14.5px; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current] { color: var(--text); }
main { padding: 40px 0 64px; }
h1 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 40px; line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.5px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 16.5px; margin: 24px 0 4px; }
p, li { color: var(--text); }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.small { font-size: 14px; color: var(--muted); }
ul { padding-left: 22px; }
li { margin: 6px 0; }
.card { background: var(--brand-soft); border-radius: 16px; padding: 20px 22px; margin: 24px 0; }
.card p { margin: 6px 0; }
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 12px; }
.hero { padding: 40px 0 8px; }
.hero h1 { font-size: 52px; }
.steps { display: grid; gap: 14px; margin: 28px 0; }
.step { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.step b { display: block; margin-bottom: 2px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--faint); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
@media (max-width: 520px) {
  h1 { font-size: 32px; }
  .hero h1 { font-size: 40px; }
  nav { gap: 12px; font-size: 13.5px; }
}

/* ---------- Home page: the app's own look (2026-10-08) ---------- */
.splash { background: #b85c38; color: #fff; text-align: center; padding: 64px 20px 56px; }
.splash .word { font-family: 'DM Serif Display', Georgia, serif; font-style: italic; font-size: 76px; line-height: 1; letter-spacing: -1.5px; display: inline-flex; align-items: center; gap: 10px; }
.splash .word i { width: 15px; height: 15px; border-radius: 50%; background: #fff; display: inline-block; margin-top: 18px; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { opacity: .4; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .splash .word i { animation: none; } }
.splash p { margin: 14px auto 0; max-width: 34ch; color: rgba(255,255,255,.85); font-size: 17px; }
.splash .soon { display: inline-block; margin-top: 26px; padding: 11px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); color: #fff; font-weight: 600; font-size: 15px; }
.planning { font-size: 34px; line-height: 1.15; font-weight: 800; letter-spacing: -0.6px; margin: 44px 0 6px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.where { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.chips li { margin: 0; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.sec { font-size: 16px; font-weight: 700; margin: 30px 0 12px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tile { border-radius: 16px; padding: 14px 14px 16px; min-height: 104px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.tile .e { font-size: 24px; line-height: 1; }
.tile b { font-size: 16px; }
.how { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.how li { margin: 0; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.how li::before { counter-increment: s; content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; display: grid; place-items: center; }
.how b { display: block; }
.how span { color: var(--muted); font-size: 15px; }
.plans { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.plan h3 { margin: 0 0 2px; font-size: 17px; }
.plan .price { font-weight: 700; margin: 0 0 8px; }
.plan p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.plan .note { background: var(--element); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--muted); margin: 0; }
.free { color: var(--brand); font-weight: 600; margin: 14px 0 0; }

/* ---------- Home page cleanup (2026-10-08) ---------- */
.home .wrap { max-width: 960px; }
.home header { border-bottom: 0; }
.home main { padding-top: 8px; }
.home p, .home li { line-height: 1.5; }
.planning { margin-top: 40px; }
.splash .soon { border-color: rgba(255,255,255,.45); font-weight: 500; }
/* Occasion chips: one line; on a phone they scroll sideways like the app */
.chips { gap: 8px; }
.chips li { background: var(--element); border: 0; padding: 7px 15px; }
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { flex: none; }
}
/* Category tiles: names never spill out of the tile */
.tile { min-height: 112px; padding: 14px 14px 15px; }
.tile .e { font-size: 28px; }
.tile b { font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
@media (min-width: 700px) and (max-width: 900px) { .tile b { font-size: 14.5px; } }
.how { gap: 18px; }
.how li::before { margin-top: -4px; }
/* Plans: same height, the grey note sits at the bottom of both */
.plan { display: flex; flex-direction: column; padding: 18px 20px; }
.plan .note { margin-top: auto; }
.plan .price { color: var(--text); }
