/* The two sections kept from the previous build: "One list for everything"
   and "No bad vibes". Everything here is scoped to .keep so it can't touch
   the new design, which styles itself inline. */

:root {
  --ink: #07070A;
  --ink-2: #0E0E14;
  --card: #111116;
  --night: #141633;
  --indigo: #1B1F46;
  --plum: #1a1030;
  --yellow: #FFD21F;
  --yellow-hi: #FFE066;
  --pink: #FF3D8A;
  --cyan: #6BE3FF;
  --orange: #FF8A1F;
  --violet: #A896FF;
  --green: #3DDC84;
  --blue: #4E8CFF;
  --cream: #EFE8DA;
  --navy: #1F2A5C;
  --text: #FFFFFF;
  --text-2: #D6D6DE;
  --text-3: #9A9AA4;
  --text-4: #6A6A76;
  --line: rgba(255, 255, 255, .08);
  --display: 'Archivo Black', 'Arial Black', sans-serif;
  --body: 'Rubik', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .85, .25, 1);
  --ease-in-out: cubic-bezier(.65, 0, .25, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 24px);
  --section-pad: clamp(96px, 14vw, 200px);
  --dots: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
}

:where(.keep), :where(.keep) *, :where(.keep) *::before, :where(.keep) *::after { box-sizing: border-box; }
.keep { color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
:where(.keep) img, :where(.keep) svg { display: block; max-width: 100%; }
:where(.keep) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.keep) :focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

:where(.keep) .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

:where(.keep) .eyebrow {
  font: 700 11px/1 var(--mono);
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--yellow);
}

:where(.keep) .h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 88px);
  line-height: .92;
  letter-spacing: -.5px;
  text-wrap: balance;
}

:where(.keep) .lede {
  margin: 22px 0 0;
  max-width: 470px;
  font: 500 clamp(16px, 1.5vw, 18px)/1.55 var(--body);
  color: var(--text-3);
  text-wrap: pretty;
}

:where(.keep) .split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(48px, 7vw, 80px);
  align-items: center;
}

.section:where(.keep) {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

:where(.keep) .dotted { background-image: var(--dots); background-size: 12px 12px; }

@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Try it (interactive phone) ---------- */

.try { background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255, 61, 138, .16), rgba(7, 7, 10, 0) 70%), var(--dots); background-size: auto, 12px 12px; }
.try-copy .points { margin: 34px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 470px; }
.try-copy .points li { display: flex; gap: 14px; align-items: flex-start; font: 500 16px/1.5 var(--body); color: var(--text-2); }
.try-copy .points b { color: #fff; font-weight: 700; }
.pt-ico { flex: none; width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }

.phone-stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.phone-glow { position: absolute; left: 50%; top: 50%; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 61, 138, .28), rgba(255, 61, 138, 0)); animation: breathe 5s ease-in-out infinite; pointer-events: none; }
.phone {
  position: relative;
  width: 360px; max-width: 100%;
  aspect-ratio: 360 / 757;
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(145deg, #2a2a33, #0c0c10 40%, #1b1b22);
  box-shadow: 0 60px 120px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .1), 0 0 0 1px #000;
}
.phone-screen {
  position: relative; height: 100%;
  border-radius: 44px; overflow: hidden;
  background: #0A0A0D;
  isolation: isolate;
}

/* Shared phone chrome, used by the lock screen and the home screen mockups */
.island { position: absolute; left: 50%; top: 11px; width: 31%; height: 30px; margin-left: -15.5%; border-radius: 20px; background: #000; z-index: 20; }
.status { position: absolute; left: 0; right: 0; top: 0; height: 52px; z-index: 19; display: flex; align-items: center; justify-content: space-between; padding: 4px 30px 0 34px; font: 600 14px -apple-system, var(--body); }
.status-r { display: flex; gap: 6px; align-items: center; }
.home-ind { position: absolute; left: 50%; bottom: 6px; width: 36%; height: 5px; margin-left: -18%; border-radius: 3px; background: rgba(255, 255, 255, .7); z-index: 6; }

/* ---- The app, at iPhone 17 Pro size (402 × 874 points), scaled to the phone ---- */

.app {
  --ink: #0A0A0D; --surface: #16161B; --accent: #FFD21F; --accent-deep: #E0AA00; --accent-light: #FFEA7E;
  --l2: #9A9AA4; --l3: #6A6A74;
  --sys: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Rubik, system-ui, sans-serif;
  --snappy: cubic-bezier(.3, 1.25, .5, 1);
  position: absolute; left: 0; top: 0;
  width: 402px; height: 874px;
  transform: scale(var(--k, .84)); transform-origin: 0 0;
  background: var(--ink); color: #fff;
  font-family: var(--sys);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  user-select: none; -webkit-user-select: none;
}
.app svg { display: block; }
/* The phone does not scroll on its own, so the page scrolls straight past it. Tapping the list opens it (keep.js). */
.a-scroll { position: absolute; inset: 0; overflow: hidden; scrollbar-width: none; }
.a-scroll::-webkit-scrollbar { display: none; }
.a-scroll:focus-visible { outline: none; }
.a-content { position: relative; }

.a-hero { position: relative; height: 596px; overflow: visible; z-index: 1; }
.a-art { position: absolute; inset: 0; overflow: hidden; }
.a-art img { position: absolute; left: -97px; top: 0; width: 596px; height: 596px; max-width: none; object-fit: cover; will-change: transform; transform: translateY(-30px); }
.js .a-art img { opacity: 0; transform: translateY(-30px) scale(1.07); transition: opacity 1.1s ease, transform 1.9s cubic-bezier(.2, .85, .25, 1); }
.js .app.entered .a-art img { opacity: 1; transform: translateY(var(--par, -30px)); transition: opacity 1.1s ease, transform 1.9s cubic-bezier(.2, .85, .25, 1); }
.app.entered.settled-art .a-art img { transition: none; }
.a-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 380px; background: linear-gradient(180deg, rgba(10, 10, 13, 0) 0%, rgba(10, 10, 13, .08) 24%, rgba(10, 10, 13, .34) 46%, rgba(10, 10, 13, .68) 64%, rgba(10, 10, 13, .9) 82%, #0A0A0D 100%); pointer-events: none; }
.a-stage { position: absolute; left: 20px; right: 20px; bottom: 26px; display: flex; align-items: center; gap: 18px; transform-origin: 0 100%; }

.a-ring { position: relative; width: 96px; height: 96px; flex: none; transition: transform .5s var(--snappy); }
.a-ring svg { position: relative; overflow: visible; transform: rotate(-90deg); }
.a-ring-arc { transition: stroke-dashoffset .5s var(--snappy); }
.js .a-ring-arc { transition: stroke-dashoffset 1.3s cubic-bezier(.2, .85, .25, 1) .56s; }
.app.entered .a-ring-arc.live { transition: stroke-dashoffset .5s var(--snappy); }
.a-ring-glow { position: absolute; inset: 0; border-radius: 50%; background: var(--accent); filter: blur(18px); opacity: 0; transform: scale(.9); transition: opacity .6s ease-out, transform .6s ease-out; }
.a-ring.glow { transform: scale(1.06); }
.a-ring.glow .a-ring-glow { opacity: .75; transform: scale(1.25); transition: opacity .5s var(--snappy), transform .5s var(--snappy); }
.a-ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
.a-ring-c b { font: 400 30px/1 'Archivo Black', sans-serif; }
.a-ring-c span { font: 600 11px/1 var(--sys); letter-spacing: 1.6px; color: var(--l2); }
.a-greet { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.a-line { font: 400 29px/1.1 'Archivo Black', sans-serif; white-space: pre-line; transition: opacity .25s; }
.a-line.swap { opacity: 0; }
.a-detail { display: flex; align-items: center; gap: 5px; font: 500 15px/1.2 var(--sys); color: rgba(255, 255, 255, .75); }
.a-detail svg { color: var(--accent); flex: none; }

/* entrance */
.js .app .a-head, .js .app .a-greet, .js .app .a-sec, .js .app .a-rows { opacity: 0; transform: translateY(14px); }
.js .app .a-ring { opacity: 0; transform: scale(.6); }
.js .app.entered .a-head, .js .app.entered .a-greet, .js .app.entered .a-sec, .js .app.entered .a-rows { opacity: 1; transform: none; transition: opacity .7s ease, transform .8s cubic-bezier(.2, .85, .25, 1); }
.js .app.entered .a-ring { opacity: 1; transform: none; transition: opacity .5s ease .42s, transform .7s cubic-bezier(.34, 1.56, .64, 1) .42s; }
.js .app.entered .a-ring.glow { transform: scale(1.06); transition: transform .5s var(--snappy); }
.js .app.entered .a-head { transition-delay: .12s; }
.js .app.entered .a-greet { transition-delay: .3s; }
.js .app.entered .a-sec { transition-delay: .44s; }
.js .app.entered .a-rows { transition-delay: .5s; }
.js .app.entered.done-entering .a-head, .js .app.entered.done-entering .a-greet, .js .app.entered.done-entering .a-sec, .js .app.entered.done-entering .a-rows { transition: none; }

.a-list { position: relative; padding: 24px 20px 120px; background: var(--ink); }
.a-sec { font: 700 15px/20px var(--sys); letter-spacing: 1.6px; margin-bottom: 14px; }
.a-rows { position: relative; }

.a-row {
  position: absolute; left: 0; right: 0; top: 0;
  height: 88px;
  display: flex; align-items: center; gap: 11px;
  padding: 11px 10px 11px 11px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  transform-origin: 50% 50%;
}
.a-row.moving { transition: top .52s cubic-bezier(.3, 1.15, .5, 1), left .52s, right .52s, opacity .4s; }
.a-row-in { display: contents; }
.a-row > :not(.a-flash) { transition: opacity .2s; }
.a-row.blank > :not(.a-flash) { opacity: var(--co, 0); }
.a-glyph { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; }
.a-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.a-title { font: 600 17px/22px var(--sys); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: line-through; text-decoration-color: transparent; transition: text-decoration-color .38s; }
.a-sub { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; min-width: 0; }
.a-cat { font: 600 12px/16px var(--sys); letter-spacing: 1.1px; flex: none; }
.a-dot { font: 400 12px/16px var(--sys); color: var(--l3); }
.a-det { font: 400 13px/18px var(--sys); color: var(--l2); overflow: hidden; text-overflow: ellipsis; }
.a-pts { display: flex; align-items: center; gap: 3px; font: 700 13px var(--sys); color: var(--accent); flex: none; transition: opacity .38s var(--snappy), transform .38s var(--snappy); }
.a-box { position: relative; width: 44px; height: 44px; flex: none; border-radius: 12px; box-shadow: inset 0 0 0 2px #303030; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .38s var(--snappy), box-shadow .38s; }
.a-box svg { color: var(--ink); opacity: 0; transform: scale(.4); transition: opacity .38s var(--snappy), transform .38s var(--snappy); }
.a-box::after { content: ''; position: absolute; inset: 0; border-radius: 12px; box-shadow: inset 0 0 0 3px var(--accent); opacity: 0; pointer-events: none; }
.a-flash { position: absolute; inset: 0; border-radius: 22px; box-shadow: inset 0 0 0 2px var(--accent); background: rgba(255, 210, 31, .1); opacity: 0; pointer-events: none; }

.a-row.done .a-title { text-decoration-color: rgba(255, 255, 255, .45); }
.a-row.done .a-pts { opacity: 0; transform: scale(.6); }
.a-row.done .a-box { background: var(--accent); box-shadow: none; }
.a-row.done .a-box svg { opacity: 1; transform: none; }
.a-row.hit { animation: row-hit .52s ease; }
.a-row.hit .a-box { animation: box-hit .45s ease; }
.a-row.hit .a-box::after { animation: box-ring .52s ease-out; }
.a-row.hit .a-flash { animation: row-flash .62s linear; }
@keyframes row-hit { 0% { transform: scale(1); } 19% { transform: scale(.985); } 54% { transform: scale(1.014); } 100% { transform: scale(1); } }
@keyframes box-hit { 0% { transform: scale(1); } 20% { transform: scale(.82); } 56% { transform: scale(1.16); } 100% { transform: scale(1); } }
@keyframes box-ring { 0% { opacity: 0; transform: scale(.9); } 12% { opacity: .85; } 100% { opacity: 0; transform: scale(2.1); } }
@keyframes row-flash { 0% { opacity: 0; } 13% { opacity: 1; } 100% { opacity: 0; } }

.a-header { position: absolute; left: 0; right: 0; top: 0; z-index: 10; pointer-events: none; }
.a-bar { position: absolute; left: 0; right: 0; top: 0; height: 122px; background: rgba(30, 30, 36, .72); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 -.5px 0 rgba(255, 255, 255, .1); opacity: 0; }
.a-status { position: relative; height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px 4px 52px; }
.a-time { font: 600 17px var(--sys); letter-spacing: -.2px; }
.a-status-r { display: flex; align-items: center; gap: 7px; }
.a-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; padding: 0 20px; margin-top: 4px; }
.a-date { font: 700 13px var(--sys); letter-spacing: 1.6px; color: var(--l2); white-space: nowrap; }
.a-pills { display: flex; gap: 8px; }
.a-pill { display: flex; align-items: center; gap: 5px; height: 32px; padding: 0 13px 0 12px; border-radius: 999px; background: rgba(20, 22, 38, .45); -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .08); font: 700 15px var(--sys); }
.a-pill b { font-weight: 700; font-variant-numeric: tabular-nums; }
.a-coin { display: inline-block; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 2px #C9A413; flex: none; }
.a-pill.bump { animation: pill-bump .5s var(--snappy); }
@keyframes pill-bump { 50% { transform: scale(1.12); } }

.a-tabs { position: absolute; left: 0; right: 0; top: 770px; height: 90px; z-index: 12; pointer-events: none; }
.a-tabbar { position: absolute; left: 21px; right: 22px; top: 22px; height: 60px; border-radius: 30px; display: flex; align-items: center; padding: 0 4px; background: rgba(28, 28, 33, .78); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 30px rgba(0, 0, 0, .35); }
.a-tab { flex: 1; height: 52px; border-radius: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #fff; }
.a-tab em { font: 500 10.5px var(--sys); font-style: normal; }
.a-tab.on { background: rgba(255, 255, 255, .1); color: var(--accent); }
.a-tab img { width: 30px; height: 30px; border-radius: 50%; margin: -3px 0 -1px; }
.a-add { position: absolute; left: 170px; top: 0; width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 26px rgba(255, 210, 31, .45), 0 8px 18px rgba(0, 0, 0, .35); }
.a-add svg { transform: scale(1.1); }
.a-island { position: absolute; left: 138px; top: 11px; width: 126px; height: 37px; border-radius: 20px; background: #000; z-index: 30; }
.a-home-ind { position: absolute; left: 131px; bottom: 8px; width: 140px; height: 5px; border-radius: 3px; background: #fff; z-index: 30; }
.a-fx { position: absolute; inset: 0; z-index: 14; pointer-events: none; }
.a-fx .bolt { position: absolute; left: 0; top: 0; width: 18px; height: 22px; margin: -11px 0 0 -9px; color: var(--accent); filter: drop-shadow(0 0 7px rgba(255, 210, 31, .8)); }

/* ---- Level up, as the app plays it ---- */

.lv { position: absolute; inset: 0; z-index: 20; display: none; overflow: hidden; background: var(--ink); }
.lv.show { display: block; }
.lv.leave { animation: lv-leave .45s cubic-bezier(.4, 0, .6, 1) forwards; }
@keyframes lv-leave { to { transform: translateY(100%); } }
.lv-back { position: absolute; inset: 0; background: radial-gradient(circle 520px at 50% 42%, #1F2A66 0%, #141A3E 40%, var(--ink) 85%); }
.lv-charge { position: absolute; left: 0; right: 0; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 30px; transform: translateY(calc(-50% - 40px)); transition: opacity .4s ease-in, transform .4s ease-in; }
.lv-charge.out { opacity: 0; transform: translateY(calc(-50% - 40px)) scale(1.25); }
.lv-count { display: flex; align-items: center; gap: 7px; font: 700 15px var(--sys); opacity: 0; transition: opacity .25s ease-out; }
.lv-count svg { color: var(--accent); }
.lv-count span { color: var(--l3); }
.lv.charging .lv-count { opacity: 1; }
.lv.levelled .lv-count { opacity: 0; }
.lv-ring { position: relative; width: 220px; height: 220px; opacity: 0; transform: scale(.7); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .85, .25, 1); }
.lv.charging .lv-ring { opacity: 1; transform: none; }
.lv-ring svg { transform: rotate(-90deg); overflow: visible; }
#lvArc { filter: drop-shadow(0 0 8px rgba(255, 210, 31, .7)); transition: stroke-dashoffset .085s linear; }
.lv-ring-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.lv-ring-c span { font: 700 11px ui-monospace, Menlo, monospace; letter-spacing: 1.8px; color: var(--l3); }
.lv-ring-c b { font: 400 64px/1 'Archivo Black', sans-serif; transition: transform .42s cubic-bezier(.34, 1.8, .64, 1), color .2s, text-shadow .3s; }
.lv.levelled .lv-ring-c b { color: var(--accent); transform: scale(1.18); text-shadow: 0 0 18px rgba(255, 210, 31, .9); }
.lv-rise { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.lv-rise svg { position: absolute; left: -5.5px; top: -8px; color: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); opacity: 0; transform: translate(var(--x), 320px); transition: transform .85s cubic-bezier(.5, 0, .7, .4), opacity .2s; transition-delay: var(--dl); }
.lv.charging .lv-rise svg { opacity: 1; transform: translate(var(--x), 0); }
.lv.burst .lv-rise svg { opacity: 0; transition: opacity .35s ease-out; }
.lv-waves { position: absolute; left: 50%; top: calc(50% - 40px); width: 0; height: 0; }
.lv-waves i { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; box-shadow: inset 0 0 0 10px var(--c); opacity: 0; }
.lv.burst .lv-waves i { animation: wave var(--dur) cubic-bezier(.2, .8, .3, 1) var(--dl) both; }
@keyframes wave { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(4.2); } }
.lv-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.lv.burst .lv-flash { animation: flash .62s ease-out both; }
@keyframes flash { 0% { opacity: 0; } 19% { opacity: .85; } 100% { opacity: 0; } }

.lv-keep { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 92px 20px 44px; }
.lv-head { display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .85, .25, 1); }
.lv-head span { font: 700 11px ui-monospace, Menlo, monospace; letter-spacing: 2.4px; color: #C7B8FF; }
.lv-head b { font: 400 30px/1.1 'Archivo Black', sans-serif; }
.lv.heading .lv-head { opacity: 1; transform: none; }
.lv-card-wrap { flex: 1; display: flex; align-items: center; justify-content: center; perspective: 900px; min-height: 0; }
.lv-card { position: relative; width: 282px; height: 420px; border-radius: 24px; overflow: hidden; opacity: 0; transform: rotateY(180deg) scale(.7); transition: transform .9s cubic-bezier(.3, 1.3, .5, 1), opacity .3s; box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 50px rgba(255, 210, 31, .25); will-change: transform; }
.lv.card-in .lv-card { opacity: 1; transform: none; }
.lv.card-in.tilting .lv-card { transition: opacity .3s; }
.lv-rim { position: absolute; left: 50%; top: 50%; width: 924px; height: 924px; margin: -462px 0 0 -462px; background: conic-gradient(#FFD21F, #FF5FA3, #6BE3FF, #9179FF, #FFD21F); animation: spin 4s linear infinite; }
.lv-pic { position: absolute; inset: 4px; border-radius: 20px; overflow: hidden; background: #0F0F14; }
.lv-photo { position: absolute; inset: 0; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 88%); mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 88%); }
.lv-photo img { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; max-width: none; margin: -210px 0 0 -210px; object-fit: cover; transform: scale(1.4); }
.lv-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, #0F0F14 100%); }
.lv-shine { position: absolute; top: -30%; bottom: -30%; width: 34%; left: -40%; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); transform: rotate(18deg); mix-blend-mode: plus-lighter; opacity: 0; }
.lv.card-in .lv-shine { animation: shine 1s ease-in-out .55s both; }
@keyframes shine { 0% { opacity: 1; left: -40%; } 99% { opacity: 1; } 100% { opacity: 0; left: 130%; } }
.lv-glare { position: absolute; inset: -30%; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .45), transparent 45%); mix-blend-mode: plus-lighter; opacity: .1; }
.lv-marks { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.lv-top { display: flex; align-items: center; justify-content: space-between; }
.lv-top b { font: 400 15px 'Archivo Black', sans-serif; letter-spacing: 1px; }
.lv-top span { height: 22px; padding: 0 9px; display: flex; align-items: center; border-radius: 999px; background: rgba(10, 10, 13, .7); font: 700 11px ui-monospace, Menlo, monospace; letter-spacing: 1px; color: var(--accent); }
.lv-big { margin-top: auto; font: 400 62px/1 'Archivo Black', sans-serif; color: var(--accent); }
.lv-stats { margin-top: 10px; display: flex; justify-content: space-between; font: 700 11px ui-monospace, Menlo, monospace; letter-spacing: 1px; color: #B5B5B5; }
.lv-coins { margin-top: 20px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: scale(.8); transition: opacity .5s, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.lv-coins b { font: 400 24px 'Archivo Black', sans-serif; }
.lv-coins span { font: 500 15px var(--sys); color: var(--l2); }
.lv.bonus .lv-coins { opacity: 1; transform: none; }
.lv-acts { width: 100%; margin-top: 22px; display: flex; gap: 10px; opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s cubic-bezier(.2, .85, .25, 1); }
.lv.buttons .lv-acts { opacity: 1; transform: none; }
.lv-acts button { flex: 1; height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 17px var(--sys); cursor: pointer; transition: transform .22s, opacity .22s; }
.lv-acts button:active { transform: scale(.98); opacity: .82; }
.lv-glass { color: #fff; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); cursor: default !important; }
.lv-fill { color: var(--ink); background: var(--accent); box-shadow: 0 6px 12px rgba(255, 210, 31, .26), 0 8px 14px rgba(0, 0, 0, .4); }

.try-hint { position: absolute; z-index: 4; left: calc(50% + 150px); top: 70%; display: flex; align-items: center; gap: 8px; font: 700 12px var(--mono); letter-spacing: 1.5px; color: var(--pink); transform: rotate(-6deg); pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.try-hint svg { animation: nudge 1.4s ease-in-out infinite; }
.try-hint-2 { left: auto; right: calc(50% + 160px); top: 44%; color: var(--cyan); transform: rotate(4deg); flex-direction: column; gap: 10px; }
.try-hint-2 svg { animation: drop 1.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-8px); } }
@keyframes drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.try-hint.gone { opacity: 0; }
@media (max-width: 980px) { .try-hint { display: none; } }


/* ---------- The hard days ---------- */

.hard { background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(107, 227, 255, .12), rgba(7, 7, 10, 0) 70%), var(--ink); }
.moments { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.moment {
  padding: 11px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  font: 600 14px var(--body); color: var(--text-2);
  transition: background .25s, color .25s, border-color .25s, transform .3s var(--spring);
}
.moment:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.moment[aria-selected="true"] { background: var(--cyan); border-color: var(--cyan); color: #06121a; }
.moment:active { transform: scale(.96); }
.not-list { margin: 30px 0 0; max-width: 470px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .12); }
.not-list .k { font: 700 10px var(--mono); letter-spacing: 1.8px; color: var(--text-4); }
.not-list .t { margin-top: 8px; font: 500 15px/1.5 var(--body); color: var(--text-3); min-height: 45px; }
.not-list .t s { text-decoration-color: var(--pink); text-decoration-thickness: 2px; }

.lock {
  position: relative;
  width: 360px; max-width: 100%;
  aspect-ratio: 360 / 740;
  margin: 0 auto;
  border-radius: 54px; padding: 11px;
  background: linear-gradient(145deg, #2a2a33, #0c0c10 40%, #1b1b22);
  box-shadow: 0 60px 120px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .1), 0 0 0 1px #000;
}
.lock-screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: #0b0d22; }
.lock-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(.72) saturate(1.1); transition: transform 1.2s var(--ease); }
.lock-screen .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55)); }
.lock-date { position: absolute; left: 0; right: 0; top: 64px; text-align: center; font: 600 17px -apple-system, var(--body); color: rgba(255, 255, 255, .85); }
.lock-time { position: absolute; left: 0; right: 0; top: 84px; text-align: center; font: 700 88px/1 -apple-system, 'SF Pro Display', var(--body); letter-spacing: -2px; color: rgba(255, 255, 255, .92); font-variant-numeric: tabular-nums; }
.notifs { position: absolute; left: 10px; right: 10px; bottom: 90px; display: flex; flex-direction: column; gap: 8px; }
.notif {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 12px 14px; border-radius: 22px;
  background: rgba(40, 40, 50, .55);
  -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .08);
  transform-origin: 50% 0;
}
.notif.enter { animation: notif-in .7s var(--spring) both; }
.notif.old { opacity: .6; transform: scale(.96); transition: opacity .4s, transform .4s; }
@keyframes notif-in { from { opacity: 0; transform: translateY(-30px) scale(.9); } to { opacity: 1; transform: none; } }
.notif-ic { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex: none; background: var(--indigo); }
.notif-ic img { width: 100%; height: 100%; object-fit: cover; }
.notif-b { flex: 1; min-width: 0; }
.notif-h { display: flex; justify-content: space-between; font: 700 13px -apple-system, var(--body); }
.notif-h span { font-weight: 500; color: rgba(255, 255, 255, .55); font-size: 12px; }
.notif-t { margin-top: 2px; font: 500 14px/1.35 -apple-system, var(--body); color: rgba(255, 255, 255, .92); }
.lock-bot { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: space-between; padding: 0 44px; }
.lock-bot span { width: 48px; height: 48px; border-radius: 50%; background: rgba(40, 40, 50, .5); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: center; }


@media (prefers-reduced-motion: reduce) {
  :where(.keep) *, :where(.keep) *::before, :where(.keep) *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Matched to Moxie New Landing ----------
   Same section rhythm, label, headline, body and pill styles as the new
   design's own sections (Friends, Widgets), so the kept sections sit in it. */

.keep.section {
  min-height: min(125vh, 1250px);
  padding: 280px 24px;
  display: flex; align-items: center;
  isolation: isolate;
}
.keep .wrap { max-width: 1200px; width: 100%; padding: 0; }
.keep .split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 80px; }

.keep .eyebrow { font: 700 14px ui-monospace, Menlo, monospace; letter-spacing: .2px; text-transform: none; }
.keep .h2 { margin: 16px 0 0; font: 400 clamp(40px, 4.8vw, 72px)/1 'Archivo Black', sans-serif; letter-spacing: -.5px; text-wrap: balance; }
.keep .lede { margin: 20px 0 0; max-width: 440px; font: 400 19px/1.55 Rubik, system-ui, sans-serif; color: #d4d2e6; text-wrap: pretty; }

/* backgrounds: a lit gradient, slow drifting blobs and the dot grid, as the new sections do */
.keep.section::before, .keep.section::after { content: ''; position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; z-index: -1; }
.keep .blob-dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 12px 12px; pointer-events: none; }

.keep.try { background: radial-gradient(ellipse 70% 60% at 72% 50%, #2a0f2c 0%, #150a1a 50%, #07070A 100%); }
.keep.try::before { left: -10%; top: 8%; width: 44vw; height: 44vw; background: radial-gradient(circle, rgba(255, 61, 138, .24), rgba(255, 61, 138, 0) 65%); animation: b5-blob1 16s ease-in-out infinite; }
.keep.try::after { right: -8%; bottom: -8%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(255, 210, 31, .12), rgba(255, 210, 31, 0) 65%); animation: b5-blob2 18s ease-in-out infinite; }

.keep.hard { background: radial-gradient(ellipse 70% 60% at 28% 45%, #0f2336 0%, #0b1020 50%, #07070A 100%); }
.keep.hard::before { left: -12%; top: 10%; width: 46vw; height: 46vw; background: radial-gradient(circle, rgba(107, 227, 255, .2), rgba(107, 227, 255, 0) 65%); animation: b5-blob1 16s ease-in-out infinite; }
.keep.hard::after { right: -10%; bottom: -12%; width: 52vw; height: 52vw; background: radial-gradient(circle, rgba(107, 79, 216, .24), rgba(107, 79, 216, 0) 65%); animation: b5-blob2 18s ease-in-out infinite; }

/* feature list: the new design's body type */
.keep .try-copy .points { margin-top: 34px; gap: 16px; max-width: 460px; }
.keep .try-copy .points li { font: 400 17px/1.5 Rubik, system-ui, sans-serif; color: #d4d2e6; }
.keep .try-copy .points b { font-weight: 700; color: #fff; }

/* moment pills: the new design's pill, lit cyan when picked */
.keep .moments { margin-top: 34px; gap: 10px; }
.keep .moment { padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font: 600 14px Rubik, system-ui, sans-serif; color: #fff; }
.keep .moment:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.keep .moment[aria-selected="true"] { background: rgba(107, 227, 255, .16); border-color: rgba(107, 227, 255, .55); color: #fff; box-shadow: 0 0 24px rgba(107, 227, 255, .2); }

/* phones: the same drop shadow as the new design's device shots */
.keep .phone, .keep .lock { box-shadow: 0 50px 80px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(255, 255, 255, .1), 0 0 0 1px #000; }
