/* ==========================================================================
   Reminder App — landing page
   Tokens follow the app (docs/design-direction.md §3): Inter on the iOS type
   scale, Apple system palette, Phosphor icons, springs not linear easing.
   ========================================================================== */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(../assets/fonts/Inter-Regular.ttf) format('truetype'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(../assets/fonts/Inter-Medium.ttf) format('truetype'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(../assets/fonts/Inter-SemiBold.ttf) format('truetype'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(../assets/fonts/Inter-Bold.ttf) format('truetype'); }
@font-face { font-family: Ph; font-display: block; src: url(../assets/fonts/Phosphor-Regular.ttf) format('truetype'); }
@font-face { font-family: PhF; font-display: block; src: url(../assets/fonts/Phosphor-Fill.ttf) format('truetype'); }

:root {
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --ink-3: #86868B;
  --paper: #FFFFFF;
  --paper-2: #F5F5F7;
  --hair: rgba(0, 0, 0, .08);
  --accent: #007AFF;
  --accent-press: #0062CC;
  --blue: #007AFF; --indigo: #5856D6; --orange: #FF9500; --pink: #FF2D55; --green: #34C759;
  --teal: #30B0C7; --red: #FF3B30; --gold: #F5A300; --yellow: #FFC53D;
  --radius-card: 28px;
  --max: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --spring-soft: cubic-bezier(.22, 1.2, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 52px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em; line-height: 1.47; font-size: 17px;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid rgba(0, 122, 255, .55); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.i { font-family: Ph; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; speak: never; }
.f { font-family: PhF; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; speak: never; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; }

/* ---------- type ---------- */
.eyebrow { font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); color: var(--accent); letter-spacing: -.01em; }
.display {
  font-weight: 700; font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; letter-spacing: -0.045em;
}
.h2 { font-weight: 700; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -0.04em; }
.h3 { font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; letter-spacing: -0.025em; }
.lede { font-size: clamp(19px, 2vw, 25px); line-height: 1.38; color: var(--ink-2); letter-spacing: -0.018em; font-weight: 500; }
.lede strong { color: var(--ink); font-weight: 600; }
.body { font-size: 17px; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.grad-text {
  background: linear-gradient(92deg, #007AFF 0%, #5856D6 38%, #FF2D55 72%, #FF9500 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  background: rgba(251, 251, 253, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--hair); }
.nav.dark { background: rgba(0, 0, 0, .7); color: #F5F5F7; }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; color: inherit; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(160deg, #2E95FF, #0062E0); display: grid; place-items: center; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.25); }
.brand-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 13px; }
.nav-links a { color: inherit; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-cta { font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 980px; padding: 6px 14px; transition: transform .2s var(--spring), background .2s; white-space: nowrap; }
.nav-cta:hover { background: var(--accent-press); text-decoration: none; }
.nav-cta:active { transform: scale(.96); }
@media (max-width: 760px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ---------- buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 980px; font-weight: 600; font-size: 17px; white-space: nowrap;
  transition: transform .35s var(--spring), background-color .2s, box-shadow .3s, opacity .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(0, 122, 255, .28); }
.btn-primary:hover { background: var(--accent-press); }
.btn-ghost { color: var(--accent); }
.btn-ghost .i { transition: transform .3s var(--spring); }
.btn-ghost:hover .i { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }

.waitlist { display: flex; gap: 10px; width: 100%; max-width: 520px; position: relative; }
.waitlist .field {
  flex: 1; min-width: 0; height: 56px; border-radius: 980px; border: 1.5px solid rgba(0, 0, 0, .12); background: #fff;
  padding: 0 22px; font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.waitlist .field::placeholder { color: var(--ink-3); }
.waitlist .field:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 122, 255, .14); }
.waitlist .btn { height: 56px; }
.waitlist.invalid .field { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 48, .12); animation: shake .4s; }
.waitlist .msg { position: absolute; left: 22px; top: calc(100% + 8px); font-size: 14px; color: var(--red); }
.waitlist.sending .btn { opacity: .7; pointer-events: none; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (max-width: 560px) { .waitlist { flex-direction: column; } .waitlist .field { flex: none; width: 100%; } .waitlist .btn { width: 100%; } }

.wl-done {
  display: none; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; background: #fff; border-radius: 22px;
  box-shadow: 0 0 0 1px var(--hair), 0 12px 30px rgba(0, 0, 0, .06); max-width: 520px;
}
.wl-done .tick { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 22px; flex: none; }
.wl-done b { display: block; font-size: 17px; }
.wl-done span { font-size: 15px; color: var(--ink-2); }
.joined .waitlist { display: none; }
.joined .wl-done { display: flex; animation: popIn .6s var(--spring) both; }
@keyframes popIn { from { opacity: 0; transform: scale(.9) translateY(8px); } }

.store-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.store-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 980px; background: rgba(0,0,0,.05); font-weight: 500; color: var(--ink); }
.store-pill svg { width: 16px; height: 16px; }
.store-pill em { font-style: normal; color: var(--ink-2); font-weight: 400; }

/* ---------- reveal motion ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.rv-scale { opacity: 0; transform: scale(.94); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.rv-scale.in { opacity: 1; transform: none; }
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .wi { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--k) * 55ms + var(--d, 0s)); }
.words.in .wi { transform: none; }

/* ---------- HERO ---------- */
.hero { padding: calc(var(--nav-h) + clamp(40px, 7vh, 90px)) 0 clamp(60px, 10vh, 120px); overflow: hidden; background: linear-gradient(180deg, #FBFBFD 0%, #fff 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.hero-copy .eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 199, 89, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }
.hero-copy .lede { margin: 24px 0 34px; max-width: 30ch; }
.hero-stage { position: relative; height: min(760px, 88vh); min-height: 600px; display: grid; place-items: center; perspective: 1600px; }
.hero-halo { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 61, .32) 0%, rgba(255, 197, 61, .12) 40%, rgba(255, 197, 61, 0) 70%); filter: blur(4px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); opacity: .85; } }
.hero-phone { position: relative; z-index: 2; transform-style: preserve-3d; will-change: transform; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 20px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .04), 0 18px 40px rgba(0, 0, 0, .10); white-space: nowrap; will-change: transform;
}
.float-card .tile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; }
.float-card b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.float-card small { font-size: 13px; color: var(--ink-2); }
.fc-in { animation: cardIn 1.1s var(--spring-soft) both, bob 6s ease-in-out infinite; animation-delay: var(--d), var(--bd, 0s); }
@keyframes cardIn { from { opacity: 0; transform: translate(var(--fx, 0), 30px) scale(.8) rotate(var(--fr, 0deg)); } }
@keyframes bob { 50% { translate: 0 -10px; } }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-copy .lede { max-width: 34ch; }
  .store-row { justify-content: center; }
  .hero-stage { height: 680px; min-height: 0; }
}
@media (max-width: 560px) { .float-card { transform: scale(.82); } .hero-stage { height: 600px; } }

/* ---------- statement: words light up with scroll ---------- */
.statement { padding: clamp(100px, 16vh, 200px) 0; background: #fff; }
.statement p { font-weight: 700; font-size: clamp(32px, 4.8vw, 64px); line-height: 1.12; letter-spacing: -0.04em; max-width: 22ch; }
.statement .sw { color: rgba(29, 29, 31, .14); transition: color .35s; }
.statement .sw.lit { color: var(--ink); }
.statement .sw.c1.lit { color: var(--indigo); } .statement .sw.c2.lit { color: var(--blue); }
.statement .sw.c3.lit { color: var(--orange); } .statement .sw.c4.lit { color: var(--pink); } .statement .sw.c5.lit { color: var(--green); }
.type-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.type-legend span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 980px; background: var(--paper-2); font-weight: 600; font-size: 15px; }
.type-legend .dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- generic feature section ---------- */
.feature { padding: clamp(90px, 14vh, 160px) 0; }
.feature.alt { background: var(--paper-2); }
.feature-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 72px); }
.feature-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.feature-head .eyebrow { margin-bottom: 14px; }
.feature-head .lede { margin-top: 20px; }

/* ---------- Just type it (capture showcase) ---------- */
.capture-show { display: grid; grid-template-columns: 1fr; gap: 26px; max-width: 880px; margin: 0 auto; }
.cap-card { background: #fff; border-radius: 32px; padding: clamp(18px, 3vw, 30px); box-shadow: 0 0 0 1px var(--hair), 0 30px 70px rgba(0, 0, 0, .07); }
.cap-label { font-size: 15px; font-weight: 600; color: var(--ink-2); margin: 0 0 12px 6px; display: flex; justify-content: space-between; align-items: center; }
.cap-label .kbd { font-weight: 500; font-size: 13px; color: var(--ink-3); }
.cap-input-wrap { position: relative; border: 2px solid var(--accent); border-radius: 22px; height: clamp(64px, 8vw, 84px); display: flex; align-items: center; padding: 0 10px 0 0; background: #fff; box-shadow: 0 0 0 6px rgba(0,122,255,.08); }
.cap-hl, .cap-input { position: absolute; inset: 0 76px 0 0; padding: 0 24px; font: 500 clamp(20px, 2.7vw, 30px) Inter; letter-spacing: -0.025em; white-space: pre; display: flex; align-items: center; overflow: hidden; }
.cap-hl { color: transparent; pointer-events: none; }
.cap-hl mark { color: transparent; border-radius: 8px; padding: 2px 0; box-shadow: 0 0 0 3px var(--mk); background: var(--mk); transition: background .3s; }
.cap-hl mark.date { --mk: rgba(0, 122, 255, .13); } .cap-hl mark.time { --mk: rgba(88, 86, 214, .14); } .cap-hl mark.repeat { --mk: rgba(52, 199, 89, .16); }
.cap-input { border: 0; outline: 0; background: transparent; width: calc(100% - 76px); caret-color: var(--accent); }
.cap-input::placeholder { color: #B0B0B8; }
.cap-mic { margin-left: auto; position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 16px; background: rgba(0, 122, 255, .1); color: var(--accent); display: grid; place-items: center; font-size: 28px; transition: transform .3s var(--spring), background .2s; }
.cap-mic:hover { background: rgba(0, 122, 255, .16); }
.cap-mic.listening { background: var(--red); color: #fff; animation: micPulse 1.2s infinite; }
@keyframes micPulse { 50% { box-shadow: 0 0 0 10px rgba(255, 59, 48, .15); } }
.cap-chips { display: flex; flex-wrap: wrap; gap: 10px; min-height: 100px; align-content: flex-start; margin-top: 18px; }
.cchip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 14px; background: var(--paper-2); font-weight: 500; font-size: 17px; white-space: nowrap; animation: chipPop .5s var(--spring) both; animation-delay: calc(var(--k) * 70ms); }
.cchip .i { font-size: 19px; }
.cchip.kind { font-weight: 600; }
@keyframes chipPop { from { opacity: 0; transform: scale(.6) translateY(6px); } }
.cap-try { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cap-try button { height: 38px; padding: 0 16px; border-radius: 980px; background: #fff; box-shadow: 0 0 0 1px var(--hair); font-size: 15px; font-weight: 500; color: var(--ink); transition: transform .3s var(--spring), box-shadow .2s; }
.cap-try button:hover { box-shadow: 0 0 0 1.5px var(--accent); color: var(--accent); }
.cap-try button:active { transform: scale(.95); }
.cap-understood { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); gap: 12px; flex-wrap: wrap; }
.cap-understood .first-alert { display: flex; align-items: center; gap: 6px; }
/* ---------- Nudges (escalation) ---------- */
.nudge-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .nudge-grid { grid-template-columns: 1fr; } }
.timeline-card { background: #fff; border-radius: 32px; padding: 30px; box-shadow: 0 0 0 1px var(--hair), 0 30px 70px rgba(0, 0, 0, .06); }
.tl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.tl-head .tile { width: 52px; height: 52px; border-radius: 15px; background: rgba(255, 45, 85, .12); color: var(--pink); display: grid; place-items: center; font-size: 28px; }
.tl-head b { font-size: 22px; letter-spacing: -.02em; display: block; }
.tl-head span { color: var(--ink-2); font-size: 15px; }
.tl-days { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); text-align: center; margin-bottom: 12px; }
.tl-days div { font-size: 13px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.tl-days div b { display: block; font-size: 22px; color: var(--ink); letter-spacing: -.02em; text-transform: none; margin-top: 2px; }
.tl-days div.today b { color: var(--pink); }
.tl-track { position: relative; height: 64px; margin: 0 calc(100% / 16); }
.tl-rail { position: absolute; left: 0; right: 0; top: 30px; height: 4px; border-radius: 2px; background: var(--paper-2); }
.tl-fill { position: absolute; left: 0; top: 30px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #FF8FA8, var(--pink)); width: 0; }
.tl-mark { position: absolute; top: 20px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: #fff; border: 3px solid #E3E3E8; display: grid; place-items: center; font-size: 12px; color: #fff; transition: all .4s var(--spring); }
.tl-mark.hit { background: var(--pink); border-color: var(--pink); transform: scale(1.15); }
.tl-mark.cancel { background: #fff; border-color: #D1D1D6; border-style: dashed; }
.tl-mark .lbl { position: absolute; top: -22px; font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.tl-thumb { position: absolute; top: 14px; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18), 0 0 0 .5px rgba(0,0,0,.06); cursor: grab; display: grid; place-items: center; touch-action: none; z-index: 2; }
.tl-thumb::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.tl-thumb:active { cursor: grabbing; }
.tl-hint { font-size: 14px; color: var(--ink-3); text-align: center; margin-top: 8px; transition: opacity .3s; }
.tl-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--hair); flex-wrap: wrap; }
.tl-foot p { font-size: 15px; color: var(--ink-2); max-width: 36ch; }
.prep-btn { height: 46px; padding: 0 20px; border-radius: 980px; background: var(--pink); color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: transform .35s var(--spring), background .3s; }
.prep-btn:active { transform: scale(.95); }
.prep-btn.on { background: rgba(255, 45, 85, .12); color: var(--pink); }

/* lock screen phone */
.lock-phone { width: 340px; max-width: 100%; aspect-ratio: 390 / 760; margin: 0 auto; border-radius: 54px; background: #1D1D1F; padding: 11px; box-shadow: inset 0 0 0 1.5px #3A3A3C, inset 0 0 0 5px #0B0B0C, 0 40px 80px rgba(0, 0, 0, .18); }
.lock-screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: linear-gradient(165deg, #1d2744 0%, #151b2f 45%, #1b1530 100%); color: #fff; }
.lock-screen::before { content: ''; position: absolute; left: -30%; top: 45%; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 55, 95, .22), rgba(255, 55, 95, 0) 65%); }
.lock-island { position: absolute; left: 50%; top: 10px; width: 92px; height: 27px; margin-left: -46px; border-radius: 14px; background: #000; z-index: 3; }
.lock-date { position: relative; text-align: center; margin-top: 52px; font-weight: 500; font-size: 15px; color: rgba(235, 235, 245, .78); }
.lock-time { position: relative; text-align: center; font-weight: 600; font-size: 82px; line-height: 1; letter-spacing: -.03em; margin-top: 2px; }
.lock-stack { position: absolute; left: 10px; right: 10px; top: 200px; display: flex; flex-direction: column; gap: 8px; }
.ln { border-radius: 22px; background: rgba(44, 44, 48, .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 12px 13px 12px; animation: notifIn .6s var(--spring-soft) both; transform-origin: 50% 0; }
.ln.out { animation: notifOut .4s var(--ease-in-out) both; }
@keyframes notifIn { from { opacity: 0; transform: translateY(-30px) scale(.9); } }
@keyframes notifOut { to { opacity: 0; transform: scale(.9); height: 0; padding: 0; margin: -4px 0; } }
.ln-h { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(235, 235, 245, .6); }
.ln-h .ap { width: 18px; height: 18px; border-radius: 5px; background: var(--gold); color: #000; display: grid; place-items: center; font-size: 11px; }
.ln-h .now { margin-left: auto; }
.ln-b { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.ln-b .tile { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; flex: none; }
.ln-b b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.ln-b span { font-size: 13px; color: rgba(235, 235, 245, .65); }
.ln-btns { display: flex; gap: 6px; margin-top: 10px; }
.ln-btns button { flex: 1; height: 32px; border-radius: 11px; background: rgba(120, 120, 128, .32); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; transition: transform .25s var(--spring), filter .2s; }
.ln-btns button:hover { filter: brightness(1.15); }
.ln-btns button:active { transform: scale(.94); }
.ln-btns .hot { background: #FF375F; }
.ln-btns .blue { background: #0A84FF; }
.ln.toast { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 14px; }
.ln.toast .ok { width: 26px; height: 26px; border-radius: 50%; background: #30D158; display: grid; place-items: center; font-size: 14px; }
.ln.toast .undo { margin-left: auto; color: #0A84FF; font-weight: 600; }

/* ---------- Bills: nag (dark) ---------- */
.dark-sec { background: #000; color: #F5F5F7; }
.dark-sec .lede { color: #A1A1A6; }
.dark-sec .lede strong { color: #F5F5F7; }
.dark-sec .eyebrow { color: #FF9F0A; }
.nag-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .nag-grid { grid-template-columns: 1fr; } }
.nag-stage { position: relative; background: #111113; border-radius: 36px; padding: 30px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.nag-stage::before { content: ''; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 159, 10, .2), rgba(255, 159, 10, 0) 70%); }
.nag-day { position: relative; display: flex; justify-content: space-between; font-size: 12px; color: #6E6E73; font-weight: 600; margin-bottom: 8px; }
.nag-bar { position: relative; height: 54px; border-radius: 14px; background: #1C1C1E; overflow: hidden; }
.nag-bar .sun { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 159, 10, .0), rgba(255, 159, 10, .10) 30%, rgba(94, 92, 230, .14)); }
.nag-tick { position: absolute; top: 9px; width: 4px; height: 36px; border-radius: 2px; background: #3A3A3C; transform: translateX(-2px); transition: background .3s, transform .4s var(--spring); }
.nag-tick.on { background: #FF9F0A; transform: translateX(-2px) scaleY(1.1); }
.nag-tick.off { background: #2C2C2E; }
.nag-head { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .6); transition: left .1s linear; }
.nag-clock { position: relative; display: flex; align-items: baseline; gap: 10px; margin: 26px 0 18px; }
.nag-clock b { font-size: 54px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.nag-clock span { color: #8E8E93; font-size: 15px; }
.nag-feed { position: relative; min-height: 236px; display: flex; flex-direction: column; gap: 8px; }
.nag-feed .ln { background: #2C2C2E; }
.paid-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 22px; background: rgba(48, 209, 88, .12); color: #30D158; animation: popIn .6s var(--spring) both; }
.paid-card .ok { width: 40px; height: 40px; border-radius: 50%; background: #30D158; color: #000; display: grid; place-items: center; font-size: 20px; }
.paid-card b { color: #fff; display: block; font-size: 17px; }
.paid-card span { font-size: 14px; color: #A1A1A6; }
.bill-facts { list-style: none; display: grid; gap: 18px; margin-top: 34px; }
.bill-facts li { display: flex; gap: 14px; align-items: flex-start; }
.bill-facts .tile { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; flex: none; }
.bill-facts b { display: block; color: #F5F5F7; font-size: 17px; }
.bill-facts span { color: #A1A1A6; font-size: 15px; }

/* ---------- DEMO section ---------- */
.demo-sec { padding: clamp(90px, 14vh, 150px) 0; background: radial-gradient(1200px 600px at 50% 0%, #EEF4FF 0%, #F5F5F7 55%); }
.demo-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.demo-side { position: sticky; top: calc(var(--nav-h) + 30px); }
.demo-phone-col { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.checklist { background: #fff; border-radius: 28px; padding: 22px; box-shadow: 0 0 0 1px var(--hair), 0 20px 50px rgba(0, 0, 0, .05); }
.checklist h3 { font-size: 15px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; display: flex; justify-content: space-between; margin-bottom: 8px; }
.checklist h3 span { color: var(--accent); text-transform: none; letter-spacing: -.01em; }
.checklist ol { list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--hair); font-size: 15px; line-height: 1.35; }
.checklist li:first-child { border-top: 0; }
.checklist li .cb { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #C7C7CC; flex: none; display: grid; place-items: center; color: #fff; font-size: 13px; transition: all .4s var(--spring); }
.checklist li.done .cb { background: var(--green); border-color: var(--green); transform: scale(1.1); }
.checklist li.done .cb .f { animation: popIn .4s var(--spring); }
.checklist li b { display: block; font-weight: 600; color: var(--ink); }
.checklist li span { color: var(--ink-2); }
.checklist li.done b { color: var(--ink-2); }
.progress-bar { height: 6px; border-radius: 3px; background: var(--paper-2); margin: 6px 0 4px; overflow: hidden; }
.progress-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--indigo)); border-radius: 3px; transition: width .6s var(--ease-out); }
.ctrl { background: #fff; border-radius: 28px; padding: 22px; box-shadow: 0 0 0 1px var(--hair), 0 20px 50px rgba(0, 0, 0, .05); display: grid; gap: 18px; }
.ctrl h3 { font-size: 15px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.ctrl .row { display: grid; gap: 8px; }
.ctrl .row label { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.seg-ctl { display: flex; position: relative; background: rgba(118, 118, 128, .12); border-radius: 12px; padding: 3px; }
.seg-ctl button { flex: 1; position: relative; z-index: 1; height: 36px; border-radius: 9px; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: color .2s; }
.seg-ctl button.on { font-weight: 600; }
.seg-ctl .hi { position: absolute; top: 3px; bottom: 3px; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); transition: left .45s var(--spring), width .45s var(--spring); }
.act-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 16px; background: var(--paper-2); text-align: left; font-size: 15px; font-weight: 600; transition: transform .3s var(--spring), background .2s; }
.act-btn:hover { background: #ECECF0; }
.act-btn:active { transform: scale(.97); }
.act-btn .tile { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 19px; flex: none; }
.act-btn small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.demo-note { font-size: 13px; color: var(--ink-3); text-align: center; max-width: 380px; }
@media (max-width: 1100px) {
  .demo-grid { grid-template-columns: 1fr; justify-items: center; }
  .demo-side { position: static; width: 100%; max-width: 520px; }
  .demo-left { order: 2; } .demo-phone-col { order: 1; } .demo-right { order: 3; }
}

/* ---------- device frame (shared) ---------- */
.device { --s: 1; width: calc(414px * var(--s)); height: calc(868px * var(--s)); position: relative; flex: none; }
.device-inner { width: 414px; height: 868px; transform: scale(var(--s)); transform-origin: 0 0; border-radius: 62px; background: #1D1D1F; padding: 12px; position: relative;
  box-shadow: inset 0 0 0 1.5px #3A3A3C, inset 0 0 0 5px #0B0B0C, 0 50px 100px -20px rgba(0, 0, 0, .25), 0 30px 60px -30px rgba(0, 0, 0, .3); }
.device-inner::before { content: ''; position: absolute; left: -2.5px; top: 170px; width: 3px; height: 60px; border-radius: 2px 0 0 2px; background: #2C2C2E; box-shadow: 0 80px 0 #2C2C2E; }
.device-inner::after { content: ''; position: absolute; right: -2.5px; top: 220px; width: 3px; height: 90px; border-radius: 0 2px 2px 0; background: #2C2C2E; }
.device-screen { position: relative; width: 390px; height: 844px; border-radius: 50px; overflow: hidden; background: #000; isolation: isolate; transform: translateZ(0); }
.device-island { position: absolute; left: 50%; top: 11px; width: 112px; height: 32px; margin-left: -56px; border-radius: 16px; background: #000; z-index: 90; }
.device-shadow { position: absolute; left: 10%; right: 10%; bottom: -30px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .18); filter: blur(24px); z-index: -1; }

/* ---------- gallery (approved mockups) ---------- */
.gallery-sec { padding: clamp(90px, 14vh, 150px) 0 clamp(70px, 10vh, 110px); background: #fff; overflow: hidden; }
.gallery { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 50px; scrollbar-width: none; cursor: grab; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.g-item { flex: none; scroll-snap-align: center; display: flex; flex-direction: column; gap: 18px; width: 300px; }
.g-shot { width: 300px; height: 650px; border-radius: 46px; background: #1D1D1F; padding: 9px; box-shadow: inset 0 0 0 1.5px #3A3A3C, inset 0 0 0 4px #0B0B0C, 0 30px 60px -20px rgba(0, 0, 0, .25); transition: transform .6s var(--spring-soft); }
.g-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 38px; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.g-item:hover .g-shot { transform: translateY(-8px); }
.g-cap b { display: block; font-size: 19px; letter-spacing: -.02em; }
.g-cap span { font-size: 15px; color: var(--ink-2); }
.gallery-nav { display: flex; justify-content: flex-end; gap: 12px; }
.gallery-nav button { width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .06); display: grid; place-items: center; font-size: 20px; transition: transform .3s var(--spring), background .2s; }
.gallery-nav button:hover { background: rgba(0, 0, 0, .1); }
.gallery-nav button:active { transform: scale(.9); }
.gallery-nav button:disabled { opacity: .35; pointer-events: none; }

/* ---------- Places film ---------- */
.places-sec { padding: clamp(90px, 14vh, 150px) 0; background: var(--paper-2); overflow: hidden; }
.film { position: relative; border-radius: 32px; overflow: hidden; background: #F5F5F7; box-shadow: 0 0 0 1px var(--hair), 0 40px 90px rgba(0, 0, 0, .12); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.18)); transition: opacity .4s; }
.film-play .pbtn { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 26px 0 10px; border-radius: 980px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-weight: 600; font-size: 17px; color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); transition: transform .35s var(--spring); }
.film-play .pbtn .circ { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; padding-left: 3px; }
.film-play:hover .pbtn { transform: scale(1.05); }
.film.playing .film-play { opacity: 0; pointer-events: none; }
/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bx { position: relative; background: #fff; border-radius: var(--radius-card); padding: 28px; overflow: hidden; box-shadow: 0 0 0 1px var(--hair); grid-column: span 2; display: flex; flex-direction: column; transition: transform .6s var(--spring-soft), box-shadow .4s; }
.bx:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--hair), 0 24px 50px rgba(0, 0, 0, .07); }
.bx.w3 { grid-column: span 3; } .bx.w4 { grid-column: span 4; } .bx.w6 { grid-column: span 6; }
.bx h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.15; margin-top: auto; padding-top: 22px; }
.bx p { color: var(--ink-2); font-size: 15.5px; margin-top: 6px; max-width: 42ch; }
.bx.dark { background: #000; color: #F5F5F7; box-shadow: none; }
.bx.dark p { color: #A1A1A6; }
.bx.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.bx.split h3 { margin-top: 0; padding-top: 0; }
.bx.split > * { min-width: 0; }
.bx .big { white-space: nowrap; font-size: clamp(48px, 5.4vw, 76px); font-weight: 700; letter-spacing: -.05em; line-height: .95; margin-bottom: 22px; }
.bx.w6.split h3 { font-size: clamp(26px, 3vw, 34px); }
.bx.w6.split p { font-size: 17px; margin-top: 10px; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .bx, .bx.w3, .bx.w4, .bx.w6 { grid-column: span 2; } .bx.split { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 980px) { .bx { grid-column: span 1; } .bx.w4, .bx.w6 { grid-column: span 2; } .bx.split { grid-template-columns: 1fr 1fr; } }

/* 0 accounts — the phone keeps it, the cloud gets nothing */
.vault { display: flex; flex-direction: column; align-items: center; }
.vault .cloud { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vault .cloud small { font-size: 12px; font-weight: 600; color: #8E8E93; }
.beam { position: relative; height: 54px; width: 10px; }
.beam i { position: absolute; left: 3px; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: #30D158; opacity: 0; }
.bx.in .beam i { animation: beam 2.4s ease-in-out infinite; }
.beam i:nth-child(2) { animation-delay: .8s !important; } .beam i:nth-child(3) { animation-delay: 1.6s !important; }
@keyframes beam { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 55% { transform: translateY(-30px); opacity: .9; } 75%, 100% { transform: translateY(-4px); opacity: 0; } }
.dev { width: 168px; border-radius: 28px; background: #1C1C1E; box-shadow: 0 0 0 2px #3A3A3C, 0 30px 60px rgba(48, 209, 88, .12); padding: 24px 12px 12px; position: relative; display: flex; flex-direction: column; gap: 7px; }
.dev-notch { position: absolute; top: 9px; left: 50%; width: 40px; height: 6px; margin-left: -20px; border-radius: 3px; background: #000; }
.dev-row { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 9px; border-radius: 9px; background: #2C2C2E; opacity: 0; }
.bx.in .dev-row { animation: devIn 7s var(--spring) infinite; animation-delay: calc(var(--k) * .4s); }
@keyframes devIn { 0% { opacity: 0; transform: translateY(-12px) scale(.92); } 7%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
.dev-row b { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--c); flex: none; }
.dev-row span { height: 6px; border-radius: 3px; background: #48484A; flex: 1; }
.dev-row:nth-child(odd) span { margin-right: 24px; }
.dev-lock { margin-top: 5px; display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 700; color: #30D158; }
.dev-lock .i { font-size: 15px; }

/* on the minute */
.minute { display: flex; align-items: center; gap: 22px; }
.clock { flex: none; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .08)); }
.clock line { transform-box: view-box; transform-origin: 50px 50px; }
.clock .h-hr { transform: rotate(307deg); }
.clock .h-min { animation: hand 60s linear infinite; }
.clock .h-sec { animation: hand 6s linear infinite; }
@keyframes hand { from { transform: rotate(90deg); } to { transform: rotate(450deg); } }
.survive { list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.survive li { display: flex; align-items: center; gap: 7px; color: var(--ink-3); }
.survive .f { color: #D1D1D6; font-size: 18px; }
.bx.in .survive li { animation: survT 6s infinite; animation-delay: calc(var(--k) * .6s + .3s); }
.bx.in .survive .f { animation: survI 6s infinite; animation-delay: inherit; }
@keyframes survT { 0%, 6% { color: var(--ink-3); } 10%, 82% { color: var(--ink); } 92%, 100% { color: var(--ink-3); } }
@keyframes survI { 0%, 6% { color: #D1D1D6; transform: none; } 10% { color: var(--green); transform: scale(1.3); } 15%, 82% { color: var(--green); transform: none; } 92%, 100% { color: #D1D1D6; } }

/* reliability check — a tiny lock screen */
.lock { position: relative; height: 184px; border-radius: 22px; overflow: hidden; background: linear-gradient(155deg, #2E3A8C, #7D5BD8 55%, #F08DB4); color: #fff; padding: 16px 14px 14px; display: flex; flex-direction: column; align-items: center; }
.lock::after { content: ''; position: absolute; inset: 0; background: #000; opacity: 0; transition: opacity .5s; pointer-events: none; }
.lock.dim::after { opacity: .6; }
.lk-time { text-align: center; font-size: 42px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.lk-time small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0; opacity: .85; margin-top: 5px; }
.lk-note { position: absolute; z-index: 2; left: 10px; right: 10px; top: 78px; display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 16px; background: rgba(255, 255, 255, .9); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform: translateY(-110px); opacity: 0; transition: transform .7s var(--spring-soft), opacity .3s; }
.lk-note.show { transform: none; opacity: 1; }
.lk-note.ringing .tile { animation: lkRing .35s 4; }
@keyframes lkRing { 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
.lk-note .tile { width: 32px; height: 32px; border-radius: 9px; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.lk-note small { display: block; font-size: 11px; color: var(--ink-2); font-weight: 600; }
.lk-note b { font-size: 13px; }
.lk-btn { position: relative; z-index: 2; margin-top: auto; height: 38px; padding: 0 16px; border-radius: 980px; background: rgba(255, 255, 255, .24); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 7px; transition: transform .3s var(--spring), background .2s, opacity .3s; }
.lk-btn:hover { background: rgba(255, 255, 255, .34); }
.lk-btn:active { transform: scale(.95); }
.lk-btn[disabled] { opacity: .65; cursor: default; }
.brands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.brands span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 980px; background: var(--paper-2); color: var(--ink-2); }

/* calendar, but quiet */
.cal { display: flex; flex-direction: column; gap: 8px; }
.cal-row { display: flex; align-items: center; gap: 10px; padding: 9px 8px 9px 10px; border-radius: 16px; background: var(--paper-2); }
.cal-row .src { width: 28px; height: 28px; border-radius: 8px; background: var(--c); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; flex: none; }
.cal-row div { flex: 1; min-width: 0; }
.cal-row b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-row small { font-size: 12px; color: var(--ink-2); }
.cal-bell { width: 36px; height: 36px; border-radius: 11px; color: #AEAEB2; font-size: 19px; display: grid; place-items: center; position: relative; flex: none; transition: background .25s, color .25s; }
.cal-bell::after { content: ''; position: absolute; width: 24px; height: 2px; border-radius: 1px; background: currentColor; transform: rotate(-45deg); box-shadow: 0 0 0 1.5px var(--paper-2); transition: transform .35s var(--spring); }
.cal-bell:hover { background: rgba(0, 0, 0, .05); }
.cal-bell[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cal-bell[aria-pressed="true"]::after { transform: rotate(-45deg) scaleX(0); }
.cal-bell[aria-pressed="true"] .i { animation: bellWig .7s; }
@keyframes bellWig { 20% { transform: rotate(20deg); } 40% { transform: rotate(-15deg); } 60% { transform: rotate(9deg); } 80% { transform: rotate(-4deg); } }

/* birthdays from contacts */
.bday-head { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.bday-head b { color: var(--ink); font-variant-numeric: tabular-nums; }
.faces { display: flex; padding-left: 8px; }
.faces i { width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-size: 13px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; margin-left: -8px; }
.bday.go .faces i { animation: faceHop .6s var(--spring) both; }
.faces i:nth-child(2) { animation-delay: .08s !important; } .faces i:nth-child(3) { animation-delay: .16s !important; } .faces i:nth-child(4) { animation-delay: .24s !important; }
@keyframes faceHop { 50% { transform: translateY(-7px); } }
.bday-list { display: flex; flex-direction: column; gap: 6px; }
.bd { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px; background: rgba(255, 45, 85, .07); font-size: 14px; opacity: 0; transform: translateX(-18px); }
.bd .i { color: var(--pink); font-size: 18px; }
.bd b { font-weight: 600; flex: 1; }
.bd small { color: var(--ink-2); font-size: 12px; font-weight: 600; }
.bday.go .bd { animation: bdIn .7s var(--spring) both; animation-delay: calc(var(--k) * .2s + .5s); }
@keyframes bdIn { to { opacity: 1; transform: none; } }

/* personal / work */
.ctx { background: var(--paper-2); border-radius: 22px; padding: 14px; }
.ctx-list { list-style: none; margin-top: 4px; }
.ctx-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; height: 44px; padding: 0 12px; border-radius: 12px; background: #fff; margin-top: 7px; overflow: hidden; transition: opacity .35s, transform .5s var(--spring-soft), filter .35s; }
.ctx-list li.hide { opacity: .32; transform: scale(.97); filter: grayscale(1); }
.ctx-list li:not(.hide) { box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.ctx-list .dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--c); flex: none; }
.ctx-list li > span:nth-child(2) { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctx-list u { text-decoration: none; background: linear-gradient(transparent 60%, rgba(88, 86, 214, .22) 0); }
.ctx-list li[data-c="personal"] u { background: linear-gradient(transparent 60%, rgba(255, 45, 85, .2) 0); }
.ctx-list em { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 980px; background: rgba(88, 86, 214, .1); color: var(--indigo); }
.ctx-list li[data-c="personal"] em { background: rgba(255, 45, 85, .1); color: var(--pink); }

/* ---------- capture: race + ways ---------- */
.cap-more { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); max-width: 1100px; margin: clamp(64px, 9vh, 110px) auto 0; align-items: start; }
@media (max-width: 900px) { .cap-more { grid-template-columns: 1fr; } }
.say { font-size: 19px; line-height: 1.45; color: var(--ink-2); letter-spacing: -.012em; max-width: 44ch; }
.say b { color: var(--ink); font-weight: 600; }
.say.small { font-size: 16px; margin-top: 22px; }
.race-stage { position: relative; margin-top: 24px; padding: 24px 24px 46px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 24px 60px rgba(0, 0, 0, .06); }
.race-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.race-clock { font: 700 34px/1 Inter; text-transform: none; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.race-clock small { font-size: 18px; color: var(--ink-3); margin-left: 2px; }
.race.saved .race-clock { color: var(--green); }
.race-pill { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; height: 58px; border-radius: 18px; border: 2px solid var(--hair); padding: 0 14px 0 8px; font: 500 18px Inter; letter-spacing: -.02em; transition: border-color .3s; }
.race.typing .race-pill { border-color: var(--accent); }
.rp-plus { width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 22px; flex: none; transition: transform .4s var(--spring); }
.race.tap .rp-plus { transform: scale(.78); }
.rp-text { white-space: nowrap; overflow: hidden; }
.rp-caret { width: 2px; height: 24px; background: var(--accent); opacity: 0; flex: none; margin-left: -6px; }
.race.typing .rp-caret { opacity: 1; animation: caretBlink 1s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.rp-saved { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; padding-left: 14px; background: #EAF9EE; color: #1E8E3E; font-weight: 600; font-size: 16px; transform: translateY(105%); transition: transform .55s var(--spring); }
.rp-saved .f { font-size: 24px; color: var(--green); }
.race.saved .rp-saved { transform: none; }
.race.saved .race-pill { border-color: rgba(52, 199, 89, .45); }
.race-chips { display: flex; gap: 8px; flex-wrap: wrap; align-content: flex-start; min-height: 80px; margin: 14px 0 26px; }
.race-chips .cchip { height: 36px; font-size: 15px; border-radius: 12px; padding: 0 12px; }
.race-chips .cchip .i { font-size: 17px; }
.race-track { position: relative; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .06); margin: 0 8px; }
.race-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--indigo) 70%, var(--green)); }
.race-st { position: absolute; left: var(--at); top: 50%; transform: translate(-50%, -50%); }
.race-st i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .12); transition: background .3s, box-shadow .3s, transform .45s var(--spring); }
.race-st.hit i { background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 122, 255, .18); transform: scale(1.15); }
.race-st:last-child.hit i { background: var(--green); box-shadow: 0 0 0 4px rgba(52, 199, 89, .22); }
.race-st small { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--ink-3); transition: color .3s; }
.race-st:nth-child(2) small { left: -4px; transform: none; }
.race-st.hit small { color: var(--ink); }
@media (max-width: 560px) { .race-st:nth-child(3) small, .race-st:nth-child(4) small { display: none; } .race-stage { padding: 20px 18px 42px; } .race-pill { font-size: 16px; } }

.ways-tabs { display: flex; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.ways-tabs button { position: relative; overflow: hidden; height: 38px; padding: 0 14px; border-radius: 980px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: rgba(0, 0, 0, .045); display: inline-flex; align-items: center; gap: 6px; transition: background .25s, color .25s, transform .3s var(--spring); }
.ways-tabs button .i { font-size: 17px; }
.ways-tabs button:hover { color: var(--ink); }
.ways-tabs button:active { transform: scale(.95); }
.ways-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.ways-tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: rgba(255, 255, 255, .5); }
.ways-stage { position: relative; margin-top: 14px; height: 336px; border-radius: 28px; background: linear-gradient(155deg, #E8EEFA, #F4ECF6 60%, #FBEFE6); overflow: hidden; box-shadow: 0 0 0 1px var(--hair); }
.scene { position: absolute; inset: 0 0 46px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .45s var(--ease-out), transform .7s var(--ease-out); pointer-events: none; }
.scene.on { opacity: 1; transform: none; pointer-events: auto; }
.scene .cap { position: absolute; left: 20px; right: 20px; bottom: -32px; text-align: center; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.tapme { position: relative; }
.scene.on .tapme::after { content: ''; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); animation: tap 2.4s .7s var(--ease-out) infinite; opacity: 0; pointer-events: none; }
@keyframes tap { 0% { transform: scale(.4); opacity: 0; } 12% { transform: scale(.7); opacity: 1; } 45%, 100% { transform: scale(1.7); opacity: 0; } }
.home { width: min(310px, 86%); }
.home .apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0 18px; margin-bottom: 18px; }
.home .apps i { aspect-ratio: 1; border-radius: 15px; background: var(--c); opacity: .85; box-shadow: 0 4px 10px rgba(0, 0, 0, .08); }
.home .apps i:nth-child(n+5) { display: none; }
.widget { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 12px 30px rgba(0, 0, 0, .08); padding: 14px; display: flex; gap: 12px; }
.widget .wl { flex: 1; min-width: 0; }
.widget .wd { font-size: 13px; font-weight: 700; color: var(--accent); }
.widget .wd b { color: var(--ink); font-size: 22px; margin-left: 4px; }
.widget .wi { border-left: 3px solid; padding-left: 8px; margin-top: 7px; font-size: 13px; line-height: 1.25; }
.widget .wi small { color: var(--ink-2); display: block; }
.widget .wadd { width: 64px; border-radius: 18px; background: var(--accent); color: #fff; display: grid; place-content: center; justify-items: center; font-size: 12px; font-weight: 600; gap: 2px; }
.widget .wadd .i { font-size: 24px; }
.qs-panel { width: min(310px, 86%); border-radius: 28px; background: #1C1C1E; color: #fff; padding: 16px; box-shadow: 0 20px 44px rgba(0, 0, 0, .22); }
.qs-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #AEAEB2; font-weight: 600; margin: 0 4px 12px; }
.qs-top span:first-child { font-size: 24px; color: #fff; font-weight: 700; letter-spacing: -.03em; }
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q { height: 58px; border-radius: 20px; background: #3A3A3C; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 13px; font-weight: 600; line-height: 1.15; }
.q .i { font-size: 20px; flex: none; }
.q.on { background: #E5E5EA; color: #1C1C1E; }
.q.hero { background: var(--accent); color: #fff; }
.share-wrap { width: min(320px, 88%); display: flex; flex-direction: column; gap: 12px; }
.bubble { align-self: flex-start; background: #fff; border-radius: 20px 20px 20px 6px; padding: 10px 14px; font-size: 15px; font-weight: 500; box-shadow: 0 6px 16px rgba(0, 0, 0, .06); }
.sheet { background: #fff; border-radius: 22px; padding: 12px 14px 14px; box-shadow: 0 16px 34px rgba(0, 0, 0, .1); }
.sheet small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.targets { display: flex; justify-content: space-between; margin-top: 8px; }
.targets span { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.targets i { width: 46px; height: 46px; border-radius: 14px; background: var(--c); display: block; opacity: .85; }
.targets .bell-ic { background: url(../assets/img/icon-512.png) center / cover; opacity: 1; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.targets .me { color: var(--accent); }
.shared { display: flex; gap: 8px; justify-content: flex-end; min-height: 36px; }
.shared .cchip { height: 36px; font-size: 14px; border-radius: 12px; padding: 0 12px; background: #fff; animation: none; opacity: 0; transform: scale(.6) translateY(6px); transition: opacity .3s, transform .5s var(--spring); }
.scene.on .shared .cchip { opacity: 1; transform: none; transition-delay: calc(1.4s + var(--k) * .14s); }
.voice { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 86%; }
.vmic { width: 78px; height: 78px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 36px; box-shadow: 0 12px 30px rgba(255, 59, 48, .3); animation: micPulse 1.2s infinite; }
.wave { display: flex; gap: 4px; align-items: center; height: 38px; }
.wave i { width: 4px; height: 6px; border-radius: 2px; background: var(--ink); opacity: .75; }
.scene.on .wave i { animation: wv 1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-duration: .8s !important; } .wave i:nth-child(3n) { animation-duration: 1.2s !important; animation-delay: -.3s !important; } .wave i:nth-child(4n+1) { animation-delay: -.55s !important; } .wave i:nth-child(5n) { animation-duration: .7s !important; }
@keyframes wv { 0%, 100% { height: 6px; } 50% { height: 36px; } }
.vtext { font-size: 19px; font-weight: 600; letter-spacing: -.02em; min-height: 52px; text-align: center; max-width: 300px; line-height: 1.35; }

/* ---------- places: geofence playground ---------- */
.geo-head { text-align: center; margin: clamp(64px, 9vh, 100px) auto 28px; }
.geo-head h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; }
.geo-head p { color: var(--ink-2); font-size: 17px; margin-top: 6px; }
.geo { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 30px 70px rgba(0, 0, 0, .08); }
.geo-map { position: relative; min-height: 540px; overflow: hidden; background: #EEF0F3; }
.geo-map svg.base { max-width: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.geo-ring { position: absolute; left: 50%; top: 50%; width: calc(var(--r, 40) * 2px); height: calc(var(--r, 40) * 2px); transform: translate(-50%, -50%); border-radius: 50%; background: rgba(48, 176, 199, .15); border: 2px solid rgba(48, 176, 199, .75); transition: width .55s var(--spring-soft), height .55s var(--spring-soft), background .3s; }
.geo-ring.inside { background: rgba(48, 176, 199, .3); }
.geo-ring::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(48, 176, 199, .6); opacity: 0; }
.geo-ring.pulse::after { animation: ringOut 1s var(--ease-out); }
@keyframes ringOut { from { transform: scale(1); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.geo-r { position: absolute; left: 50%; top: calc(-13px - max(0px, (66 - var(--r, 40)) * 1px)); transform: translateX(-50%); background: var(--teal); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 980px; white-space: nowrap; }
.geo-pin { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -50px 0 0 -22px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: var(--teal); box-shadow: 0 6px 14px rgba(0, 0, 0, .2); display: grid; place-items: center; border: 3px solid #fff; }
.geo-pin .i { transform: rotate(45deg); color: #fff; font-size: 20px; }
.geo-path { position: absolute; left: 0; width: 100%; top: calc(50% + 22px); height: 0; border-top: 3px dotted rgba(0, 122, 255, .35); }
.geo-me { position: absolute; left: 0; top: calc(50% + 22px); width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); display: grid; place-items: center; will-change: transform; }
.geo-me i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.geo-me::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; background: rgba(0, 122, 255, .2); animation: mePulse 2s infinite; }
@keyframes mePulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.geo-note { position: absolute; left: 16px; right: 16px; top: 16px; max-width: 380px; margin: 0 auto; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 14px 34px rgba(0, 0, 0, .14); transform: translateY(-150%); opacity: 0; transition: transform .65s var(--spring-soft), opacity .3s; }
.geo-note.show { transform: none; opacity: 1; }
.geo-note .tile { width: 40px; height: 40px; border-radius: 12px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 21px; flex: none; }
.geo-note.show .tile { animation: lkRing .35s .4s 3; }
.geo-note.skip .tile { background: #8E8E93; }
.geo-note small { display: block; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.geo-note b { font-size: 15px; letter-spacing: -.01em; }
.geo-note .now { margin-left: auto; font-size: 12px; color: var(--ink-3); align-self: flex-start; }
.geo-device { position: absolute; left: 16px; bottom: 16px; display: inline-flex; gap: 6px; align-items: center; height: 32px; padding: 0 12px; border-radius: 980px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; color: #1E8E3E; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.geo-device .i { font-size: 16px; }
.geo-panel { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 22px; border-left: 1px solid var(--hair); }
.geo-place { display: flex; gap: 12px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--hair); }
.geo-place .tile { width: 46px; height: 46px; border-radius: 14px; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 24px; flex: none; }
.geo-place b { display: block; font-size: 17px; letter-spacing: -.01em; }
.geo-place span { font-size: 14px; color: var(--ink-2); }
.gp-row label { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.gp-row label b { color: var(--teal); text-transform: none; font-size: 15px; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.geo-seg button { font-size: 13px; height: 34px; padding: 0 6px; white-space: nowrap; }
.geo-seg button .i { font-size: 16px; }
.gp-hint { font-size: 13px; color: var(--ink-2); margin-top: 8px; transition: color .3s; }
.gp-hint.off { color: #C93400; }
.gp-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.geo-range { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; }
.geo-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.geo-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--teal) var(--p, 3%), rgba(0, 0, 0, .08) var(--p, 3%)); }
.geo-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 0, 0, .2); }
.geo-range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .08); }
.geo-range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--teal); }
.geo-range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.geo-go { margin-top: auto; width: 100%; justify-content: center; gap: 8px; }
.geo-go[disabled] { opacity: .55; cursor: default; }
@media (max-width: 900px) { .geo { grid-template-columns: 1fr; } .geo-map { min-height: 400px; } .geo-panel { border-left: 0; border-top: 1px solid var(--hair); } }
/* ---------- final CTA ---------- */
.join { padding: clamp(110px, 16vh, 190px) 0; background: linear-gradient(180deg, #fff 0%, #FFF8E6 100%); text-align: center; overflow: hidden; }
.join .bell-big { width: 200px; height: 200px; margin: 0 auto 26px; position: relative; }
.join .bell-big .glow { position: absolute; inset: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 61, .45), rgba(255, 197, 61, 0) 65%); }
.join .wrap { display: flex; flex-direction: column; align-items: center; }
.join .lede { margin: 22px auto 34px; max-width: 34ch; }
.plat { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.plat button { height: 40px; padding: 0 16px; border-radius: 980px; background: rgba(0, 0, 0, .05); font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: all .3s var(--spring); }
.plat button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plat button:active { transform: scale(.95); }
.plat svg { width: 16px; height: 16px; }
.roadmap { display: flex; gap: 0; margin-top: 60px; align-items: flex-start; justify-content: center; flex-wrap: wrap; }
.rm { width: 180px; text-align: center; position: relative; }
.rm::before { content: ''; position: absolute; top: 9px; left: -50%; right: 50%; height: 2px; background: #E5E5EA; z-index: 0; }
.rm:first-child::before { display: none; }
.rm .dt { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #D1D1D6; margin: 0 auto 10px; position: relative; z-index: 1; }
.rm.now .dt { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(0, 122, 255, .15); }
.rm b { display: block; font-size: 15px; }
.rm span { font-size: 13px; color: var(--ink-2); }

/* ---------- footer ---------- */
footer { background: var(--paper-2); padding: 34px 0 44px; font-size: 12px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .fl { display: flex; gap: 22px; margin-left: auto; }
footer a { color: var(--ink-2); }
footer .note { width: 100%; padding-top: 14px; border-top: 1px solid var(--hair); line-height: 1.6; }

/* confetti (shared) */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv, .rv-scale { opacity: 1; transform: none; }
  .words .wi { transform: none; }
}

/* ---------- bell mascot motion (moods from lib/ui/bell.dart) ---------- */
.bell .swing, .bell .eyes, .bell .arm-r, .bell .clap, .bell .waves { transform-box: view-box; }
.bell .swing { transform-origin: 50px 11px; }
.bell .eyes { transform-origin: 50px 49px; animation: blink 4.2s infinite; }
.bell-calm .swing { animation: bellSway 3.2s ease-in-out infinite; }
.bell-wave .swing { animation: bellSway 3.2s ease-in-out infinite; }
.bell-wave .arm-r { transform-origin: 75px 52px; animation: wave 1.1s ease-in-out infinite; }
.bell-ring .swing { animation: bellRing .7s ease-in-out infinite; }
.bell-ring .clap { transform-origin: 50px 74px; animation: clap .7s ease-in-out infinite; }
.bell-ring .waves { transform-origin: 50px 30px; animation: waves .7s ease-out infinite; }
.bell-happy .swing { animation: hop 1.2s cubic-bezier(.34, 1.56, .64, 1) infinite; transform-origin: 50px 90px; }
.bell-think .swing { animation: bellSway 3.2s ease-in-out infinite; rotate: -4deg; }
@keyframes bellSway { 50% { transform: rotate(3deg); } 0%, 100% { transform: rotate(-3deg); } }
@keyframes bellRing { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
@keyframes clap { 0%, 100% { transform: translateX(5px); } 50% { transform: translateX(-5px); } }
@keyframes waves { 0% { opacity: 0; transform: scale(.8); } 40% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes wave { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-22deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(-7px) scale(.98, 1.03); } 55% { transform: translateY(0) scale(1.04, .96); } }
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.join .bell-big svg { position: relative; width: 100%; height: 100%; cursor: pointer; }
.ra .drawer h2 .bell .swing { animation: none; }

/* icons inside tiles and ticks always take the tile's size and color (beats generic `x span` rules) */
.tile > .i, .tile > .f, .cb > .f, .ok > .f, .tick > .f, .circ > .f, .ap > .f { font-size: inherit !important; color: inherit !important; }
