/* Balloon website: same colours and fonts as the app. Fonts are served from this site (no third-party requests). */
@font-face { font-family: 'Satisfy'; src: url('/assets/fonts/Satisfy_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/assets/fonts/Fraunces_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/DMSans_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/DMSans_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/DMSans_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #fff8f1;
  --surface: #ffffff;
  --line: #eadfd3;
  --line-soft: #f1e9df;
  --ink: #1f1a17;
  --muted: #6b625b;
  --muted-strong: #4a423c;
  --primary: #d6336c;
  --primary-dark: #b8255a;
  --primary-soft: #fce1ea;
  --sun: #ffd45c;
  --sun-soft: #fff1c7;
  --blue: #4fa3f7;
  --green: #2f9e5b;
  --radius: 22px;
  --display: 'Fraunces', Georgia, serif;
  --body: 'DM Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --script: 'Satisfy', 'Segoe Script', cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.script { font-family: var(--script); font-weight: 400; color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 16px/1 var(--body); border-radius: 999px; padding: 15px 24px; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(214, 51, 108, 0.28); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn .sub { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 3px; }
.btn-store { padding: 11px 22px; text-align: left; line-height: 1.1; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 241, 0.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand svg { width: 22px; height: auto; }
.brand span { font-family: var(--script); font-size: 30px; color: var(--primary); line-height: 1; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted-strong); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { padding: 11px 18px; font-size: 14px; }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 7px 14px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin: 18px 0 18px; }
.hero h1 em { font-style: normal; font-family: var(--script); color: var(--primary); font-weight: 400; font-size: 1.08em; }
.hero .tagline { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); color: var(--primary); margin: -6px 0 18px; }
.hero .lead { font-size: 19px; color: var(--muted-strong); max-width: 520px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.trust span::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 6px; }

/* Phone mock-up */
.stage { position: relative; height: 660px; display: flex; justify-content: center; }
.blob { position: absolute; width: 420px; height: 420px; border-radius: 42% 58% 55% 45%; background: var(--sun); opacity: 0.55; top: 70px; transform: rotate(-12deg); }
.phone { position: relative; width: 300px; height: 590px; margin-top: 52px; border-radius: 46px; background: #1f1a17; padding: 11px; box-shadow: 0 40px 80px rgba(31, 26, 23, 0.25); transform: rotate(3deg); }
.screen { width: 100%; height: 100%; border-radius: 36px; background: var(--bg); overflow: hidden; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: #1f1a17; border-radius: 0 0 14px 14px; }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 18px; }
.app-head .script { font-size: 30px; line-height: 1; }
.app-head small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.bell { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 15px; }
.today { background: var(--primary); color: #fff; border-radius: 20px; padding: 14px; display: flex; gap: 12px; align-items: center; position: relative; overflow: hidden; }
.today b { display: block; font-family: var(--display); font-size: 15px; white-space: nowrap; }
.today small { font-size: 12px; opacity: 0.9; }
.today .wish-btn { margin-left: auto; background: #fff; color: var(--primary); font-weight: 700; font-size: 12px; border-radius: 999px; padding: 7px 11px; }
.ring { --p: 50; --c: var(--primary); width: 46px; height: 46px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line-soft) 0); flex: none; }
.ring.party { background: conic-gradient(#d6336c, #ffd45c, #4fa3f7, #2f9e5b, #d6336c); }
.ring > div { width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; }
.today .ring > div { border-color: var(--primary); }
.list-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); margin-top: 4px; }
.row { display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 9px 11px; }
.row b { display: block; font-size: 14px; }
.row small { color: var(--muted); font-size: 12px; }
.row .when { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted-strong); }
.toast { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 18px 40px rgba(31, 26, 23, 0.14); font-size: 13px; max-width: 250px; }
.toast b { display: block; font-size: 14px; }
.toast .icon { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft); display: grid; place-items: center; flex: none; }
.toast-1 { top: -14px; left: -86px; transform: rotate(-4deg); }
.toast-2 { bottom: -4px; right: -26px; transform: rotate(3deg); }
.floaty { position: absolute; animation: float 5s ease-in-out infinite; }
.floaty:nth-of-type(2) { animation-duration: 6.5s; animation-delay: -2s; }
.floaty:nth-of-type(3) { animation-duration: 4.6s; animation-delay: -1s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(3deg); } }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; width: 9px; height: 14px; border-radius: 3px; opacity: 0.85; }

/* Sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 46px); margin-bottom: 14px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { color: var(--muted-strong); font-size: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -20px; left: 26px; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; font: 700 20px/44px var(--display); text-align: center; box-shadow: 0 8px 18px rgba(214, 51, 108, 0.3); }
.step h3 { font-size: 21px; margin: 6px 0 8px; }

/* Posters */
.posters { background: var(--ink); color: #fff; border-radius: 36px; padding: 64px 40px; overflow: hidden; position: relative; }
.posters .section-head p { color: #d9cfc6; }
.poster-row { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.poster { width: 210px; aspect-ratio: 4 / 5; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); position: relative; overflow: hidden; }
.poster .hb { font-family: var(--script); font-size: 34px; line-height: 1.05; }
.poster .nm { font-family: var(--display); font-size: 24px; }
.poster .msg { font-size: 12px; opacity: 0.85; max-width: 150px; }
.poster .avatar { width: 74px; height: 74px; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; font: 700 28px var(--display); color: #fff; }
.p1 { background: radial-gradient(circle at 30% 20%, #ff8fb5, #d6336c 70%); color: #fff; transform: rotate(-4deg); }
.p2 { background: #fff8f1; color: #1f1a17; transform: translateY(-14px); }
.p2 .hb { color: #d6336c; }
.p3 { background: linear-gradient(160deg, #1b2a5c, #3d2a73); color: #ffe7a3; transform: rotate(4deg); }
.p3 .nm { color: #fff; }

/* Safety */
.safety { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.safety h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #e1efe3; color: var(--green); font-weight: 700; display: grid; place-items: center; font-size: 14px; margin-top: 1px; }
.request-card { display: grid; gap: 12px; }
.mini { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.mini .ava { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.mini b { display: block; font-size: 15px; }
.mini small { color: var(--muted); font-size: 13px; }
.mini .tag { margin-left: auto; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }

/* CTA + footer */
.cta { background: var(--primary); color: #fff; border-radius: 36px; padding: 64px 32px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 12px; }
.cta p { color: #ffe3ec; font-size: 18px; margin-bottom: 26px; }
.cta .btn-dark { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2); }
footer { padding: 46px 0 56px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer nav a { color: var(--muted-strong); text-decoration: none; font-size: 15px; }
footer nav a:hover { color: var(--primary); }
footer small { color: var(--muted); font-size: 14px; }

/* Reading pages (privacy, terms, delete account, help) */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 38px 0 12px; }
.doc p, .doc li { color: var(--muted-strong); }
.doc p { margin: 0 0 14px; }
.doc ul { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); font-size: 15px; vertical-align: top; }
.doc th { background: #fbf4ec; font-size: 13px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 26px; }

/* Responsive */
/* ---------- Home page, October 2026 update ---------- */
/* Rainbow countdown ring: fills with colour (indigo → raspberry) as the birthday gets closer, like the app. */
.rring { --p: 50; width: 44px; height: 44px; border-radius: 50%; padding: 3px; flex: none;
  background: conic-gradient(#7048e8 0, #4c6ef5 calc(var(--p) * 0.09%), #228be6 calc(var(--p) * 0.18%), #15aabf calc(var(--p) * 0.27%), #12b886 calc(var(--p) * 0.36%), #40c057 calc(var(--p) * 0.45%), #94d82d calc(var(--p) * 0.55%), #fab005 calc(var(--p) * 0.64%), #f59f00 calc(var(--p) * 0.73%), #f76707 calc(var(--p) * 0.82%), #f03e3e calc(var(--p) * 0.91%), #d6336c calc(var(--p) * 1%), #f1e9df 0); }
.rring > div { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; }
.today .rring > div { border-color: var(--primary); }
.today-big { flex-direction: column; align-items: stretch; gap: 10px; }
.today-big .top { display: flex; gap: 12px; align-items: center; }
.today-big .wish-now { background: #fff; color: var(--primary); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 9px; text-align: center; }
.row .wish-chip { margin-left: auto; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }
.tabbar { margin-top: auto; margin-left: -16px; margin-right: -16px; margin-bottom: -18px; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: flex-end; padding: 8px 6px 14px; font-size: 10px; color: var(--muted); font-weight: 500; }
.tabbar span { display: grid; justify-items: center; gap: 2px; }
.tabbar .on { color: var(--primary); font-weight: 700; }
.tabbar .wishbtn { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 20px; margin-top: -26px; box-shadow: 0 8px 18px rgba(214, 51, 108, 0.35); }

/* Three pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar h3 { font-size: 26px; margin: 4px 0 6px; }
.pillar .lead2 { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pillar li { display: flex; gap: 12px; align-items: flex-start; }
.pillar li .i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; flex: none; }
.pillar li b { display: block; font-size: 16px; }
.pillar li span { color: var(--muted-strong); font-size: 14.5px; line-height: 1.45; }
.pillar .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; padding: 5px 11px; }

/* Showcase blocks (text + picture) */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.show h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.show .muted { font-size: 18px; }
.show ol { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.show ol li { display: flex; gap: 12px; align-items: flex-start; }
.show ol li::before { counter-increment: s; content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-soft); color: var(--primary-dark); font: 700 14px/28px var(--display); text-align: center; }
.dark-block { background: var(--ink); color: #fff; border-radius: 36px; padding: 64px 48px; position: relative; overflow: hidden; }
.dark-block .muted { color: #d9cfc6; }
.dark-block .eyebrow { color: var(--sun); }

/* Card link picture */
.cardlink { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.envelope { width: 300px; background: #fff8f1; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); transform: rotate(-2deg); }
.envelope .hb { font-family: var(--script); color: var(--primary); font-size: 38px; line-height: 1; text-align: center; }
.envelope .nm { font-family: var(--display); font-size: 24px; text-align: center; margin: 4px 0 10px; }
.envelope p { font-size: 14px; color: var(--muted-strong); text-align: center; }
.voice { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; margin: 14px 0; }
.voice .play { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 12px; flex: none; }
.voice .bars { display: flex; gap: 3px; align-items: center; flex: 1; }
.voice .bars i { width: 3px; border-radius: 2px; background: #e7b3c6; }
.voice small { color: var(--muted); font-size: 12px; }
.reacts { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.reacts span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 11px; font-size: 13px; font-weight: 500; }
.reacts .on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.cardlink .toast { position: absolute; color: var(--ink); }
.mini-posters { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.mini-posters .poster { width: 150px; padding: 12px; }
.mini-posters .poster .hb { font-size: 25px; }
.mini-posters .poster .nm { font-size: 18px; }
.mini-posters .poster .avatar { width: 52px; height: 52px; font-size: 20px; border-width: 3px; }
.p4 { background: #fff1c7; color: #1f1a17; transform: rotate(-2deg); }
.p4 .cake { font-size: 44px; line-height: 1; }
.p4 .nm { color: var(--primary); }
.p5 { width: 112px !important; aspect-ratio: 9 / 16 !important; background: linear-gradient(170deg, #2f9e5b, #12b886); color: #fff; transform: rotate(3deg); }
.poster .lbl { position: absolute; bottom: 8px; left: 0; right: 0; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }

/* Group card wall */
.gwall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 18px; box-shadow: 0 24px 50px rgba(31, 26, 23, 0.1); }
.gwall .head { grid-column: 1 / -1; text-align: center; }
.gwall .head .hb { font-family: var(--script); color: var(--primary); font-size: 34px; line-height: 1; }
.gwall .head small { color: var(--muted); font-size: 13px; }
.note { border-radius: 14px; padding: 12px; font-size: 13px; line-height: 1.35; }
.note b { display: block; font-size: 12px; margin-top: 6px; opacity: 0.8; }
.n0 { background: #fce1ea; transform: rotate(-2deg); }
.n1 { background: #fff1c7; transform: rotate(1.5deg); }
.n2 { background: #e3f0ff; transform: rotate(-1deg); }
.n3 { background: #e1efe3; transform: rotate(2deg); }
.n4 { background: #efe4fb; transform: rotate(-1.5deg); }
.n5 { background: #fde8d7; transform: rotate(1deg); }

/* Languages + occasions */
.bubbles { display: grid; gap: 12px; }
.bubble { background: #fff; border: 1px solid var(--line); border-radius: 20px 20px 20px 6px; padding: 12px 16px; max-width: 340px; box-shadow: 0 10px 24px rgba(31, 26, 23, 0.06); }
.bubble:nth-child(even) { justify-self: end; border-radius: 20px 20px 6px 20px; background: #dcf8c6; border-color: #cdebb6; }
.bubble small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.bubble[dir='rtl'] { text-align: right; }
.occ { display: grid; gap: 10px; }
.occ .o { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 11px 14px; }
.occ .o .e { font-size: 22px; width: 30px; text-align: center; }
.occ .o b { display: block; font-size: 15px; }
.occ .o small { color: var(--muted); font-size: 13px; }
.occ .o .d { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--muted-strong); white-space: nowrap; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.langs span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 500; }

/* Premium */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 880px; margin: 0 auto; }
.plan h3 { font-size: 26px; margin-bottom: 4px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; }
.plan li::before { content: '✓'; color: var(--green); font-weight: 700; }
.plan.premium { background: linear-gradient(160deg, #fff8e6, #fff); border: 2px solid var(--sun); }
.plan.premium li::before { content: '👑'; font-size: 13px; }
.invite { margin: 18px auto 0; max-width: 880px; display: flex; gap: 16px; align-items: center; background: var(--primary-soft); border-radius: var(--radius); padding: 20px 24px; }
.invite .big { font-size: 34px; }
.invite b { display: block; font-family: var(--display); font-size: 20px; color: var(--primary-dark); }
.invite span { color: var(--muted-strong); font-size: 15px; }

@media (max-width: 900px) {
  .hero .wrap, .safety { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .stage { height: 660px; margin-top: 10px; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .pillars, .show, .plans { grid-template-columns: 1fr; }
  .show .pic { order: 2; }
  .dark-block { padding: 48px 24px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .steps { gap: 34px; }
  .gwall { grid-template-columns: 1fr 1fr; }
  .invite { flex-direction: column; text-align: center; }
  section { padding: 60px 0; }
  .stage { transform: scale(0.86); transform-origin: top center; height: 580px; }
  .toast-1 { left: -10px; }
  .toast-2 { right: -10px; }
  .confetti { display: none; }
  .posters, .cta { border-radius: 26px; padding: 48px 20px; }
  .poster { width: 100%; max-width: 230px; transform: none; }
  .hero .actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floaty { animation: none; }
  .btn:hover { transform: none; }
}

/* Forms (delete-account page) */
.delete-box { margin: 8px 0 26px; padding: 22px; }
.form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink); }
.form input { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.form input:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
.form .btn { align-self: flex-start; }
.form p { margin: 0; }
.btn-danger { background: #b42318; color: #fff; }
.btn-danger:hover { background: #8f1c13; }
.btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.link-btn { align-self: flex-start; background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--primary); text-decoration: underline; cursor: pointer; }
.form-error { color: #b42318 !important; font-size: 15px; }
.form-note { margin: 14px 0 0 !important; padding: 12px 14px; border-radius: 12px; background: #e1efe3; color: var(--ink) !important; font-size: 15px; }
.doc ol { padding-left: 22px; margin: 0 0 14px; }
.form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.form textarea { resize: vertical; }
#del-word { letter-spacing: 2px; font-weight: 700; }

/* ---------- Home page, Steps A to C update (sealed wishes, gifts, badges) ---------- */
.small-note { margin-top: 16px !important; font-size: 14px; color: var(--muted); }
.presents { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 20px; box-shadow: 0 24px 50px rgba(31, 26, 23, 0.1); }
.p-head b { font-family: var(--display); font-size: 22px; display: block; }
.p-head small { color: var(--muted); font-size: 14px; }
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.box { position: relative; aspect-ratio: 1; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 10px; font-size: 12.5px; line-height: 1.3; text-align: center; color: #fff; overflow: hidden; }
.box .from { font-weight: 700; font-size: 13px; }
.box .bow { position: absolute; top: 14%; left: 50%; transform: translateX(-50%); font-size: 30px; }
.box::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 12px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.35); }
.box .from { position: relative; }
.box .bow { z-index: 1; }
.b1 { background: #d6336c; } .b2 { background: #534ab7; } .b3 { background: #1d9e75; } .b4 { background: #e8590c; }
.box.open { background: var(--primary-soft); color: var(--ink); justify-content: center; gap: 6px; }
.box.open::before { display: none; }
.box.open .from { color: var(--primary-dark); }
.box.voice-box { background: #efe4fb; }
.p-btn { text-align: center; font-weight: 700; color: var(--primary); font-size: 14px; }
.book { margin: 14px auto 0; max-width: 320px; display: flex; gap: 12px; align-items: center; background: var(--sun-soft); border-radius: 18px; padding: 12px 16px; transform: rotate(-1.5deg); }
.book > span { font-size: 26px; }
.book b { display: block; } .book small { color: var(--muted-strong); font-size: 13px; }

.sun-block { background: var(--sun-soft); border-radius: 36px; padding: 56px 48px; }
.gift-card, .wish-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 18px 40px rgba(31, 26, 23, 0.1); }
.wish-card { margin: -10px 0 0 40px; transform: rotate(1.5deg); position: relative; }
.gc-head b { display: block; font-size: 17px; } .gc-head small { color: var(--muted); font-size: 13px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 500; }
.chips .on { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-dark); font-weight: 700; }
.idea { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.idea .e { font-size: 24px; } .idea div { flex: 1; } .idea b { display: block; font-size: 15px; } .idea small { color: var(--muted); font-size: 13px; }
.find { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.wl { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 14px; }
.wl b { flex: 1; font-weight: 500; }
.claim { background: #e1efe3; color: #1f6e40; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.get { border: 1px solid var(--primary); color: var(--primary); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }

.play { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.hero-mock { display: grid; gap: 14px; }
.lvl { background: var(--primary); color: #fff; border-radius: 18px; padding: 14px 16px; }
.lvl b { display: block; font-size: 17px; } .lvl small { opacity: 0.9; font-size: 13px; }
.track { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.3); margin-top: 8px; overflow: hidden; }
.track i { display: block; height: 100%; background: #fff; border-radius: 4px; }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.badges div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 2px; }
.badges span { font-size: 28px; } .badges b { font-size: 12px; line-height: 1.2; } .badges small { font-size: 11px; color: var(--muted); }
.badges .off { opacity: 0.45; }
.play-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.tile .i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; margin-bottom: 4px; }
.tile b { font-size: 16px; } .tile > span:last-child { color: var(--muted-strong); font-size: 14.5px; line-height: 1.45; }
.gift-week { margin-top: 12px; background: var(--sun-soft); }

@media (max-width: 900px) {
  .play { grid-template-columns: 1fr; }
  .sun-block { padding: 44px 24px; }
}
@media (max-width: 620px) {
  .play-tiles { grid-template-columns: 1fr; }
  .wish-card { margin-left: 16px; }
  .sun-block { border-radius: 26px; }
}

/* Keep hidden parts hidden even when a class sets display. */
[hidden] { display: none !important; }
