/* Celebrate website – one stylesheet for the home, support, privacy and deletion pages.
   No external fonts, scripts or requests: the site keeps the same "no tracking" promise as the app.
   Type follows the app: SF Rounded for display on Apple devices, the platform sans everywhere else. */

:root {
  color-scheme: dark;
  --navy: #1c2459;
  --navy-deep: #121839;
  --navy-night: #0b1030;
  --neon: #f5ff67;
  --neon-soft: rgba(245, 255, 103, 0.13);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --faint: rgba(255, 255, 255, 0.66);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --stroke: rgba(255, 255, 255, 0.14);
  --radius: 20px;
  --shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.55), 0 8px 18px rgba(0, 0, 0, 0.3);
  --maxw: 1120px;
  --docw: 780px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "SF Compact Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%;
  scrollbar-color: rgba(255, 255, 255, 0.3) var(--navy-night);
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  caret-color: var(--neon);
  accent-color: var(--neon);
  background: radial-gradient(1200px 700px at 80% -10%, #2b3688 0%, rgba(43, 54, 136, 0) 60%),
              linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-night) 100%) fixed;
  font: 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--neon); color: var(--navy); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--neon); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--neon); color: var(--navy); padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- navigation ---------- */
.nav { position: relative; z-index: 50; padding: 22px 0 0; }
.nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 52px; }
.brand { position: relative; display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font: 850 22px/1 var(--font-display); letter-spacing: -0.02em; }
.brand img { width: 44px; height: 44px; border-radius: 22.5%; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.5); transition: transform 0.5s var(--ease); }
.brand:hover img, .brand:focus-visible img { transform: rotate(-12deg) scale(1.08); }
/* The one animated moment: the cone pops confetti when you point at the logo. */
.brand::after {
  content: ""; position: absolute; left: 24px; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--neon); opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 0 var(--neon), 0 0 0 0 #fff, 0 0 0 0 var(--neon), 0 0 0 0 #fff, 0 0 0 0 var(--neon);
  transition: opacity 0.5s var(--ease), box-shadow 0.6s var(--ease);
}
.brand:hover::after, .brand:focus-visible::after {
  opacity: 1;
  box-shadow: -12px -16px 0 -1px var(--neon), 6px -20px 0 -1px #fff, 20px -10px 0 -2px var(--neon), 26px 4px 0 -2px #fff, -4px -26px 0 -2px var(--neon);
}
.links { display: flex; gap: 12px; margin-left: auto; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
/* Stickers: each link wears one of the app's message themes, slightly tilted like stickers on a notebook. */
.tag {
  --tilt: -2deg; display: inline-block; padding: 10px 17px; border-radius: 12px; text-decoration: none;
  font: 800 15px/1.1 var(--font-display); transform: rotate(var(--tilt));
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.55); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tag:hover, .tag:focus-visible { transform: rotate(0deg) translateY(-3px) scale(1.04); box-shadow: 0 14px 22px -8px rgba(0, 0, 0, 0.6); }
.tag[aria-current="page"] { outline: 2px solid #fff; outline-offset: 3px; }
.t-neon { --tilt: -2.5deg; color: #fff; background: linear-gradient(135deg, #c71f78, #5b2fd1); }
.t-gold { --tilt: 1.8deg; color: #f3d27a; background: #231d10; box-shadow: inset 0 0 0 1.5px #c9a24a, 0 8px 16px -6px rgba(0, 0, 0, 0.55); }
.t-gold:hover, .t-gold:focus-visible { box-shadow: inset 0 0 0 1.5px #c9a24a, 0 14px 22px -8px rgba(0, 0, 0, 0.6); }
.t-rainbow { --tilt: -1.2deg; color: var(--navy); background: linear-gradient(120deg, #ffd1e6, #cfe6ff 55%, #d6ffd6); }
.tag.lang { --tilt: 4deg; color: var(--navy); background: var(--neon); letter-spacing: 0.06em; font-weight: 900; }

/* ---------- store badges ---------- */
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 9px; background: #000; color: #fff; text-decoration: none;
  padding: 8px 16px 8px 12px; border-radius: 11px; border: 1px solid #5b5b61; font: 700 19px/1 var(--font-body); letter-spacing: -0.01em;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.7); transition: transform 0.25s var(--ease);
}
a.store:hover { transform: translateY(-2px); }
.store .ico { width: 22px; height: 24px; flex: none; }
.store .txt { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.store small { font: 500 10.5px/1 var(--font-body); letter-spacing: 0; color: rgba(255, 255, 255, 0.82); }
.store .soon { position: absolute; top: -10px; right: -6px; background: #c0391b; color: #fff; padding: 4px 9px; border-radius: 999px; font: 800 11px/1 var(--font-display); letter-spacing: 0; box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.5); }

/* ---------- iPhone frame (pure CSS around the real screenshots) ---------- */
.iphone { container-type: inline-size; display: block; position: relative; border-radius: 16cqw; }
.iphone .bezel { position: relative; display: block; padding: 2.8cqw; background: #08080a; border-radius: 16cqw; box-shadow: 0 0 0 1.1cqw #3a3a40, 0 0 0 1.7cqw #0e0e10, var(--shadow); }
.iphone .bezel::after { content: ""; position: absolute; left: 50%; top: 5.6cqw; width: 27cqw; height: 7.8cqw; margin-left: -13.5cqw; background: #000; border-radius: 5cqw; }
.iphone img { display: block; width: 100%; height: auto; border-radius: 13.2cqw; }
.iphone::before, .iphone::after { content: ""; position: absolute; width: 1.4cqw; background: #3a3a40; border-radius: 1cqw; }
.iphone::before { left: -3cqw; top: 20%; height: 6%; box-shadow: 0 10cqw 0 #3a3a40; }
.iphone::after { right: -3cqw; top: 26%; height: 11%; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 0; text-align: center; overflow: hidden; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(42px, 8.4vw, 96px); line-height: 1; letter-spacing: -0.03em; margin: 0 0 22px; font-weight: 850; max-width: 12em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--neon); }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--muted); max-width: 32em; margin: 0 0 30px; text-wrap: pretty; }
.hero .badges { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--faint); font-size: 14.5px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--neon); }
/* three phones rise from the bottom edge and fan out as you scroll */
.phones { position: relative; height: clamp(330px, 50vw, 560px); max-width: 980px; margin: 52px auto 0; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.phones .iphone { position: absolute; width: clamp(150px, 26vw, 270px); animation: rise 1s var(--ease) both; }
.phones .p1 { left: 50%; margin-left: calc(clamp(150px, 26vw, 270px) * -1.18); top: 14%; --dir: -1; transform: rotate(-5deg); animation-delay: 0.25s; }
.phones .p2 { left: 50%; top: 0; width: clamp(170px, 30vw, 310px); margin-left: calc(clamp(170px, 30vw, 310px) / -2); z-index: 2; animation-delay: 0.05s; }
.phones .p3 { left: 50%; margin-left: calc(clamp(150px, 26vw, 270px) * 0.18); top: 14%; --dir: 1; transform: rotate(5deg); animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }

/* a statement that lights up word by word while you read it */
.statement { padding: clamp(90px, 14vw, 170px) 0; }
.statement p { margin: 0 auto; max-width: 17em; font: 850 clamp(30px, 5.4vw, 62px)/1.08 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.statement .wrap { max-width: 1000px; }

/* ---------- sections ---------- */
section.block { padding: 72px 0 8px; }
.block h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 14px; font-weight: 850; text-wrap: balance; }
.block .sub { color: var(--muted); max-width: 38em; margin: 0 0 8px; font-size: 18px; text-wrap: pretty; }

/* feature blocks: a mosaic of big tiles, each wearing one of the app's message themes.
   The phone peeks from the bottom edge; as the tile enters the screen it rises and fades in. */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 36px; }
.tile { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; min-height: 660px; padding: 46px 46px 0; grid-column: span 6; border: 1px solid var(--stroke); }
.tile .copy { position: relative; z-index: 2; }
.tile h3 { font: 850 clamp(28px, 3.6vw, 46px)/1.05 var(--font-display); letter-spacing: -0.025em; margin: 0 0 14px; max-width: 11em; text-wrap: balance; }
.tile p { font-size: 19px; line-height: 1.5; max-width: 24em; margin: 0; text-wrap: pretty; }
.tile .iphone { position: absolute; left: 50%; bottom: -230px; width: min(290px, 62%); translate: -50% 0; z-index: 1; }
.t1 { grid-column: span 7; background: linear-gradient(165deg, #2a3482, #1d2562); }
.t1 p { color: var(--muted); }
.t2 { grid-column: span 5; background: var(--neon); color: var(--navy); border-color: transparent; }
.t2 p { color: rgba(28, 36, 89, 0.86); }
.t3 { grid-column: span 5; background: linear-gradient(135deg, #ffd1e6, #cfe6ff 55%, #d6ffd6); color: var(--navy); border-color: transparent; }
.t3 p { color: rgba(28, 36, 89, 0.86); }
.t4 { grid-column: span 7; background: linear-gradient(140deg, #c71f78, #5b2fd1); color: #fff; border-color: transparent; }
.t4 p { color: rgba(255, 255, 255, 0.9); }
.t5 { grid-column: span 12; min-height: 600px; background: #231d10; color: #f3d27a; border-color: #c9a24a; }
.t5 p { color: rgba(243, 210, 122, 0.88); }
.t5 .iphone { left: auto; right: 9%; translate: 0 0; width: min(330px, 40%); bottom: -300px; }
.tile ::selection { background: var(--navy); color: var(--neon); }

/* three steps, as a plain sequence */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; padding: 0; margin: 28px 0 0; list-style: none; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 2px solid var(--neon); }
.steps li::before { content: counter(s); display: block; font: 850 72px/1 var(--font-display); color: var(--neon); margin-bottom: 16px; letter-spacing: -0.04em; }
.steps h3 { margin: 0 0 8px; font-size: 24px; font-weight: 850; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 16.5px; max-width: 24em; }

/* the promise: a statement and a plain list, no little cards */
.promise { margin-top: 80px; background: var(--neon); color: var(--navy); border-radius: 28px; padding: 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.promise h2 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 850; color: var(--navy); }
.promise p { color: rgba(28, 36, 89, 0.88); margin: 0; max-width: 30em; text-wrap: pretty; font-size: 18px; }
.promise ul { list-style: none; margin: 0; padding: 0; }
.promise li { padding: 15px 0; border-top: 1px solid rgba(28, 36, 89, 0.24); font: 800 19px/1.3 var(--font-display); }
.promise li:first-child { border-top: 0; padding-top: 0; }
.promise li:last-child { padding-bottom: 0; }
.promise li span { display: block; color: rgba(28, 36, 89, 0.82); font: 500 16px/1.5 var(--font-body); margin-top: 3px; }
.promise ::selection { background: var(--navy); color: var(--neon); }

details.faq { border-top: 1px solid var(--stroke); }
details.faq:last-of-type { border-bottom: 1px solid var(--stroke); }
details.faq summary { cursor: pointer; font: 750 19px/1.35 var(--font-display); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 8px; border-right: 2.5px solid var(--neon); border-bottom: 2.5px solid var(--neon); transform: rotate(45deg); transition: transform 0.3s var(--ease); }
details.faq[open] summary::after { transform: rotate(-135deg); margin-top: 14px; }
details.faq p { color: var(--muted); margin: 0 0 20px; max-width: 40em; font-size: 17px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 24px; }
.contact .lead-mail p { color: var(--muted); margin: 0 0 14px; max-width: 24em; font-size: 18px; }
.mail { font: 800 clamp(22px, 3vw, 32px)/1.2 var(--font-display); word-break: break-word; }
.help p { color: var(--muted); margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--stroke); font-size: 16.5px; }
.help p:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.help strong { color: var(--text); }

/* ---------- document pages (privacy, support, deletion): long reading ---------- */
.dochead { padding: 48px 0 28px; border-bottom: 1px solid var(--stroke); }
.dochead .wrap { max-width: var(--docw); }
.dochead h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.06; letter-spacing: -0.03em; margin: 14px 0 10px; font-weight: 850; }
.dochead .updated { color: var(--faint); margin: 0; font-size: 15px; }
.crumb { font-size: 15px; font-weight: 700; }
.crumb a { text-decoration: none; }
.doc { max-width: calc(var(--docw) + 290px); margin: 0 auto; padding: 24px 20px 80px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.doc.no-toc { grid-template-columns: minmax(0, 1fr); max-width: var(--docw); }
.toc { position: sticky; top: 88px; font-size: 14.5px; padding: 8px 0 8px 18px; border-left: 1px solid var(--stroke); max-height: calc(100vh - 110px); overflow: auto; }
.toc strong { display: block; color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; margin: 0 0 8px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--neon); }
.prose section { padding: 34px 0; border-top: 1px solid var(--stroke); }
.prose section:first-child { border-top: 0; padding-top: 12px; }
.prose h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; margin: 0 0 14px; color: var(--neon); font-weight: 800; }
.prose p, .prose li { color: var(--muted); font-size: 17px; }
.prose p { margin: 0 0 14px; max-width: 68ch; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 14px; padding-left: 22px; max-width: 68ch; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose .table-scroll { overflow-x: auto; margin: 4px 0 0; border: 1px solid var(--stroke); border-radius: 16px; background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--stroke); }
.prose th { color: var(--text); font-weight: 700; border-top: 0; }
.prose td { color: var(--muted); }
.prose td:first-child { color: var(--text); font-weight: 600; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--stroke); margin-top: 48px; background: rgba(11, 16, 48, 0.5); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; padding-top: 30px; padding-bottom: 38px; color: var(--faint); font-size: 14.5px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--neon); text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .tile, .t1, .t2, .t3, .t4, .t5 { grid-column: span 12; min-height: 600px; }
  .t5 .iphone { left: 50%; right: auto; translate: -50% 0; width: min(290px, 62%); bottom: -230px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .promise { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .doc { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; max-height: none; padding-left: 0; border-left: 0; border-bottom: 1px solid var(--stroke); padding-bottom: 16px; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .links .tag:not(.lang):not(.keep) { display: none; }
  .hero { padding-top: 36px; }
  .phones { margin-top: 36px; }
  section.block { padding-top: 56px; }
  .bento { gap: 14px; }
  .tile, .t1, .t2, .t3, .t4, .t5 { min-height: 560px; padding: 32px 26px 0; border-radius: 28px; }
  .tile h3 { font-size: 30px; }
  .tile p { font-size: 17px; }
  .tile .iphone, .t5 .iphone { width: min(250px, 68%); bottom: -190px; }
  .promise { padding: 26px 22px; }
  .prose section { padding: 28px 0; }
  /* tables turn into stacked rows on phones */
  .prose .table-scroll { border: 0; background: none; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose tr:first-child { display: none; }
  .prose tr { border-top: 1px solid var(--stroke); padding: 14px 0; }
  .prose td { border: 0; padding: 4px 0; }
  .prose td::before { content: attr(data-label); display: block; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
}
@media (max-width: 400px) {
  .nav { padding-top: 14px; }
  .nav .wrap { gap: 8px; flex-wrap: nowrap; }
  .brand span { display: none; }
  .links { flex-wrap: nowrap; gap: 8px; }
  .tag { padding: 9px 13px; font-size: 14px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phones .iphone { animation: none; }
  .store, details.faq summary::after, .brand img, .brand::after, .tag { transition: none; }
  .brand:hover img { transform: none; }
  a.store:hover { transform: none; }
}
/* Scroll-driven motion: only where the browser supports it and the visitor has not asked for less motion.
   Everywhere else the blocks are simply there. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tile { animation: tile-in linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .tile .iphone { animation: peek linear both; animation-timeline: view(); animation-range: entry 15% cover 50%; }
    .statement p { view-timeline: --stmt block; }
    .statement .w { opacity: 0.2; animation: word-in linear both; animation-timeline: --stmt; animation-range: cover calc(8% + var(--w) * 1%) cover calc(18% + var(--w) * 1%); }
    .phones .p1, .phones .p3 { animation: rise 1s var(--ease) both, spread linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 70vh; }
    @keyframes tile-in { from { opacity: 0; transform: translateY(70px) scale(0.93); } to { opacity: 1; transform: none; } }
    @keyframes peek { from { transform: translateY(120px); } to { transform: none; } }
    @keyframes word-in { to { opacity: 1; } }
    @keyframes spread { to { transform: translateX(calc(var(--dir) * 70px)) rotate(calc(var(--dir) * 9deg)); } }
  }
}
@media print {
  body { background: #fff; color: #000; }
  .nav, .toc, .foot, .skip { display: none; }
  .prose p, .prose li, .prose td { color: #222; }
  .prose h2 { color: #000; }
  a { color: #000; }
}
