:root {
  --sc-canvas:     #050505;
  --sc-surface:    #141415;
  --sc-ink:        #f5f5f7;
  --sc-ink-soft:   #a1a1a6;
  --sc-accent:     #f5f5f7;
  --sc-accent-ink: #0a0a0a;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text:    "Geist", system-ui, sans-serif;

  --silver: linear-gradient(180deg, #ffffff 0%, #f4f4f4 32%, #d6d6d6 62%, #c4c4c4 100%);
  --dark-ink: #0a0a0a;
  --dark-soft: #55555a;
}

html { scroll-behavior: smooth; }
body { background: var(--sc-canvas); color: var(--sc-ink); font-family: var(--sc-font-text); }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.logo { fill: currentColor; display: block; }

/* ---------- top bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  display: flex; align-items: center; gap: var(--sc-5);
  padding: 0 var(--sc-gutter); height: 52px;
  background: color-mix(in oklab, #050505 70%, transparent);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--sc-hairline);
  font-size: var(--sc-t-sm);
}
.bar__mark { color: var(--sc-ink); display: flex; }
.bar__mark .logo { width: 27px; height: 26px; }
.bar__nav { display: flex; gap: var(--sc-5); margin-right: auto; }
.bar__nav a { text-decoration: none; color: var(--sc-ink-soft); transition: color var(--sc-d-fast); }
.bar__nav a:hover { color: var(--sc-ink); }
.bar__wanted { display: flex; gap: 2px; font-size: 1rem; }
.star { color: #3a3a3c; transition: color var(--sc-d-base), transform var(--sc-d-base) var(--sc-ease-out); }
.star.is-on { color: #fff; transform: scale(1.15); }
.bar__cta { text-decoration: none; background: var(--sc-ink); color: var(--sc-accent-ink); padding: 7px 14px; border-radius: var(--sc-r-pill); font-weight: 600; }

/* ---------- 1 · boot ---------- */
.boot__stage {
  overflow: hidden; background: #000;
  --w: clamp(0, (var(--sc-p, 0) - 0.1) / 0.24, 1);
  --t: clamp(0, (var(--sc-p, 0) - 0.4) / 0.2, 1);
}
.boot__silver { position: absolute; inset: 0; background: var(--silver); opacity: var(--w); }
.boot__lockup {
  position: absolute; left: 50%; top: 50%;
  display: flex; align-items: center; gap: 0.28em;
  font-size: clamp(3.2rem, 1.6rem + 6vw, 7rem);
  translate: calc(-50% + var(--ww, 0px) / 2 * (1 - var(--w))) calc(-50% - var(--t) * 24vh);
  scale: calc(1 - var(--t) * 0.42);
}
.boot__logo { width: 1.5em; height: 1.47em; flex: none; color: color-mix(in srgb, #f5f5f7 calc((1 - var(--w)) * 100%), #0a0a0a); }
.boot__word {
  font-family: var(--sc-font-display); font-weight: 800; font-stretch: 68%; letter-spacing: -0.01em;
  line-height: 1; color: #0a0a0a; translate: 0 0.04em;
  clip-path: inset(0 calc((1 - var(--w)) * 100%) 0 0);
}
.boot__copy {
  position: absolute; left: 50%; top: 50%; width: min(46rem, 100% - 2 * var(--sc-gutter));
  translate: -50% calc(-10% + (1 - var(--t)) * 40px); opacity: var(--t);
  text-align: center; color: var(--dark-ink); display: grid; gap: var(--sc-3); justify-items: center;
}
.boot__title { font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(3.4rem, 2rem + 7vw, 8rem); line-height: .9; letter-spacing: -0.045em; margin: 0; }
.boot__sub { margin: 0; font-size: var(--sc-t-xl); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; max-width: 30rem; }
.boot__count { margin: var(--sc-2) 0 0; font-size: var(--sc-t-sm); color: var(--dark-soft); }
.boot__count strong { color: var(--dark-ink); font-variant-numeric: tabular-nums; }

/* power-on: the parts fall into the bowl once, on load */
.part { transform-box: fill-box; transform-origin: center; }
.boot__logo .part { animation: drop .9s var(--sc-ease-out) both; }
.boot__logo .part--bowl { animation-name: rise; animation-delay: .15s; }
.boot__logo .part--l { animation-delay: .45s; }
.boot__logo .part--r { animation-delay: .58s; }
.boot__logo .part--stem { animation: swing 1s var(--sc-ease-out) .78s both; transform-origin: 0% 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(350px); } }
@keyframes drop { from { opacity: 0; transform: translateY(-620px); } 70% { transform: translateY(35px); } }
@keyframes swing { from { opacity: 0; transform: rotate(-50deg); } 70% { transform: rotate(6deg); } }

/* ---------- category strip ---------- */
.cats { display: flex; gap: var(--sc-6); justify-content: center; flex-wrap: wrap; padding: var(--sc-7) var(--sc-gutter) var(--sc-6); position: relative; z-index: 2; background: var(--sc-canvas); }
.cat { display: grid; justify-items: center; gap: 10px; text-decoration: none; font-size: var(--sc-t-sm); font-weight: 500; }
.cat__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; background: #1c1c1e; box-shadow: inset 0 0 0 1px #2c2c2e; transition: transform var(--sc-d-base) var(--sc-ease-out), background var(--sc-d-base); }
.cat:hover .cat__icon { transform: translateY(-3px); background: #2c2c2e; }

/* ---------- headings ---------- */
.h2 { font-family: var(--sc-font-display); font-weight: 700; font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: -0.03em; margin: 0; text-wrap: balance; color: var(--sc-ink-soft); }
.h2 span { color: var(--sc-ink); }
.h2--dark { color: var(--dark-soft); } .h2--dark span { color: var(--dark-ink); }
.h2--center { text-align: center; }
.body { font-size: var(--sc-t-lg); line-height: 1.5; margin: 0; max-width: 34ch; }
.body--soft { color: var(--sc-ink-soft); font-size: var(--sc-t-base); line-height: 1.6; }
.body--dark { color: var(--dark-soft); font-size: var(--sc-t-base); line-height: 1.6; }

/* ---------- 2 · latest ---------- */
.latest__stage { display: flex; align-items: center; overflow: hidden; }
.rail { display: flex; gap: var(--sc-5); padding: 0 var(--sc-gutter); align-items: stretch; width: max-content; }
.rail__lead { width: min(30rem, 80vw); align-self: center; padding-right: var(--sc-6); }
.tile { position: relative; overflow: hidden; width: min(25rem, 82vw); height: min(32rem, 70vh); border-radius: 22px; padding: var(--sc-6); background: #141415; box-shadow: var(--sc-e2), var(--sc-edge); display: flex; flex-direction: column; gap: var(--sc-2); }
.tile--light { background: var(--silver); color: var(--dark-ink); }
.tile h3 { font-family: var(--sc-font-display); font-weight: 800; font-size: var(--sc-t-xl); letter-spacing: -0.03em; margin: 0; }
.tile p { margin: 0; line-height: 1.45; }
.tile__kicker { font-size: var(--sc-t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: var(--sc-track-wide); opacity: .6; }
.tile__link { margin-top: var(--sc-2); font-weight: 600; text-decoration: none; }
.tile__link::after { content: " ›"; }
.tile__logo { position: absolute; right: -6%; bottom: -10%; width: 70%; color: #0a0a0a; transform: rotate(-8deg); }
.tile__feed { margin-top: auto; display: grid; gap: 8px; }
.tile__feed span { padding: 10px 14px; border-radius: 14px; background: #1f1f21; font-size: var(--sc-t-sm); }
.tile__feed b { margin-right: 6px; }
.tile__keys { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 220px; }
.tile__keys span { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgb(0 0 0 / .08); font-size: 1.4rem; font-weight: 600; }
.tile__big { margin-top: auto !important; font-family: var(--sc-font-display); font-weight: 800; font-size: var(--sc-t-2xl); letter-spacing: -0.04em; }

/* ---------- 3 · phone section ---------- */
.phone-sec { padding: var(--sc-section) var(--sc-gutter); position: relative; }
.phone-sec__wrap { max-width: var(--sc-maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: var(--sc-8); align-items: center; }
.phone-sec__copy { display: grid; gap: var(--sc-5); }
.found { margin: 0; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.found strong { color: var(--sc-ink); font-variant-numeric: tabular-nums; }

.device { height: clamp(640px, calc(100svh - 84px), 790px); aspect-ratio: 380 / 790; width: auto; border-radius: 60px; padding: 13px; background: linear-gradient(145deg, #3c3c40, #111 35%, #2a2a2e); box-shadow: 0 40px 90px -20px rgb(0 0 0 / .9), inset 0 0 0 2px #4a4a4e; flex: none; }
.device__screen {
  position: relative; width: 100%; height: 100%; border-radius: 48px; overflow: hidden; isolation: isolate;
  container-type: inline-size; color: #fff;
  --wall:
    radial-gradient(40% 22% at 50% 70%, rgb(255 210 120 / .9), transparent 70%),
    linear-gradient(180deg, #1b1446 0%, #5a2a7a 30%, #c2457a 55%, #ff9a5c 72%, #2a1838 72.2%, #160c22 100%);
  background: var(--wall);
}
.device__screen.is-dark { --wall: radial-gradient(60% 40% at 50% 40%, #1d1d20, #000 70%); }
.device__screen::before { /* skyline + palms on the wallpaper */
  content: ""; position: absolute; inset: auto 0 0 0; height: 32%; z-index: 0; pointer-events: none;
  background: linear-gradient(transparent, rgb(10 6 20 / .7));
}
.status { position: absolute; z-index: 7; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 30px 0; font-size: 14px; font-weight: 600; height: 46px; text-shadow: 0 1px 2px rgb(0 0 0 / .4); }
.status__notch { width: 112px; height: 32px; border-radius: 20px; background: #000; display: grid; place-items: center; }
.status__notch svg { width: 19px; height: 18px; fill: #fff; }
.batt { background: #34c759; color: #000; border-radius: 5px; padding: 0 5px; font-size: 11px; margin-left: 4px; }
.device__home-bar { position: absolute; z-index: 9; bottom: 8px; left: 50%; translate: -50% 0; width: 130px; height: 5px; border-radius: 3px; background: rgb(255 255 255 / .85); cursor: pointer; }

/* lock screen */
.lock {
  position: absolute; inset: 0; z-index: 6; background: var(--wall); backdrop-filter: blur(0);
  display: flex; flex-direction: column; align-items: center; padding: 70px 16px 40px; cursor: grab; touch-action: none; user-select: none;
  transition: transform .45s var(--sc-ease-drawer), opacity .45s;
}
.lock.is-dragging { transition: none; cursor: grabbing; }
.lock.is-open { transform: translateY(-105%); opacity: 0; pointer-events: none; }
.lock__date { margin: 0; font-weight: 600; font-size: 17px; text-shadow: 0 1px 3px rgb(0 0 0 / .35); }
.lock__time { margin: 0 0 auto; font-family: var(--sc-font-display); font-weight: 700; font-size: 92px; line-height: 1; letter-spacing: -0.03em; text-shadow: 0 2px 10px rgb(0 0 0 / .3); }
.lock__hint { margin: 14px 0 0; font-size: 13px; font-weight: 500; opacity: .85; animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(-5px); opacity: .55; } }

/* notification banner */
.note { position: relative; z-index: 1; display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 18px; background: rgb(250 250 250 / .9); color: #111; text-align: left; cursor: pointer; box-shadow: 0 6px 16px rgb(0 0 0 / .25); }
.note b { display: block; font-size: 14px; } .note small { font-size: 13px; color: #333; }
.note time { font-size: 11px; color: #666; align-self: start; }
.note__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(160deg, #ffb36b, #c2457a); color: #fff; }
.note__av--g { background: #111; } .note__av--m { background: linear-gradient(160deg, #8fd3ff, #3b7be0); }

/* apps */
.app {
  position: absolute; inset: 0; z-index: 2; padding: 56px 16px 26px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; visibility: hidden; transform: scale(.92);
  transition: opacity var(--sc-d-base) var(--sc-ease-out), transform var(--sc-d-slow) var(--sc-ease-out), visibility 0s linear var(--sc-d-base);
}
.app.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.app:not(.app--home) { background: #0b0b0c; }
.app__head { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.app__head h3 { margin: 0; font-family: var(--sc-font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.back { background: none; border: 0; color: #0a84ff; padding: 2px 8px 2px 0; font-size: 28px; line-height: 1; }

/* home */
.app--home { gap: 12px; }
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; z-index: 1; }
.w { height: 128px; border-radius: 20px; padding: 12px; display: flex; flex-direction: column; box-shadow: 0 6px 16px rgb(0 0 0 / .25); }
.w--weather { background: linear-gradient(180deg, #3a8ee8, #2b6fd1); }
.w--weather b { font-size: 14px; } .w__deg { font-size: 38px; font-weight: 300; line-height: 1.05; } .w--weather small { font-size: 11px; margin-top: auto; line-height: 1.3; }
.w--news { background: linear-gradient(180deg, rgb(0 0 0 / .1), rgb(0 0 0 / .75)), linear-gradient(160deg, #c2457a, #2a1838); }
.w__tag { align-self: flex-start; background: #e5202e; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 6px; border-radius: 5px; }
.w--news small { margin-top: auto; font-size: 12px; font-weight: 600; line-height: 1.25; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; position: relative; z-index: 1; }
.ic { display: grid; justify-items: center; gap: 5px; background: none; border: 0; padding: 0; font-size: 11px; font-weight: 500; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .5); }
.ic i { width: 60px; height: 60px; border-radius: 15px; display: grid; place-items: center; font-style: normal; font-size: 30px; background: var(--c); box-shadow: 0 5px 12px rgb(0 0 0 / .3), inset 0 0 0 1px rgb(255 255 255 / .08); transition: transform var(--sc-d-fast) var(--sc-ease-out); text-shadow: none; }
.ic:active i { transform: scale(.88); }
.xt { font-family: var(--sc-font-display); font-weight: 900; font-size: 24px; letter-spacing: -0.04em; color: #fff; }
.app--home .note { margin-top: auto; }
.dock { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 10px; border-radius: 28px; background: rgb(255 255 255 / .18); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); margin-bottom: 4px; }

/* xtra */
.compose { display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: #161618; }
.compose__row { display: flex; align-items: center; gap: 8px; }
.compose input, .compose textarea { min-width: 0; background: none; border: 0; color: #fff; font: inherit; font-size: 14px; resize: none; }
.compose input { font-weight: 700; flex: 1; }
.compose textarea { font-size: 15px; }
.compose__handle { color: #8b8b90; font-size: 13px; }
.compose__left { margin-right: auto; color: #8b8b90; font-size: 12px; }
.pill { border: 0; background: #fff; color: #000; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; }
.pill--off { background: #2c2c2e; color: #888; }
.feed { list-style: none; margin: 0; padding: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.feed li { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 12px 2px; border-bottom: 1px solid #222; font-size: 14px; line-height: 1.4; }
.feed .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #2c2c2e; }
.feed .meta { color: #8b8b90; font-size: 13px; }
.feed .meta b { color: #fff; margin-right: 4px; }
.feed p { margin: 2px 0 6px; overflow-wrap: anywhere; }
.feed .acts { display: flex; gap: 18px; color: #8b8b90; font-size: 12px; }
.feed .acts button { background: none; border: 0; color: inherit; padding: 0; font-size: 12px; }
.feed .acts .is-liked { color: #f91880; }
.feed .sys { display: block; color: #8b8b90; font-size: 12px; text-align: center; }

/* messages */
.threads { list-style: none; margin: 0; padding: 0; }
.threads button { width: 100%; display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; background: none; border: 0; border-bottom: 1px solid #222; padding: 12px 0; text-align: left; }
.threads .note__av { width: 44px; height: 44px; }
.threads b { display: block; font-size: 15px; } .threads small { color: #8b8b90; font-size: 13px; }
.live-dot { margin-left: auto; font-size: 11px; color: #8b8b90; display: flex; gap: 6px; align-items: center; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #555; }
.live-dot.is-live::before { background: #34c759; }
.chat { list-style: none; margin: 0; padding: 4px 0; flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; }
.chat li { max-width: 80%; padding: 8px 12px; border-radius: 18px; background: #26262a; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; align-self: flex-start; }
.chat li .who { display: block; font-size: 11px; color: #a1a1a6; font-weight: 600; margin-bottom: 2px; }
.chat li.me { align-self: flex-end; background: #0a84ff; }
.chat li.me .who { color: rgb(255 255 255 / .75); }
.chat li.sys { align-self: center; background: none; color: #8b8b90; font-size: 12px; text-align: center; }
.chat__form { display: grid; grid-template-columns: 1fr 36px; gap: 6px; }
.chat__form input { min-width: 0; background: #161618; border: 1px solid #2c2c2e; border-radius: 18px; padding: 9px 12px; color: #fff; font: inherit; font-size: 14px; }
.chat__send { border: 0; border-radius: 50%; background: #0a84ff; font-weight: 800; font-size: 1.1rem; }

/* dialer */
.dial__display { min-height: 44px; text-align: center; font-size: 2rem; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; margin-top: 18px; overflow: hidden; white-space: nowrap; }
.dial__msg { margin: 0; text-align: center; color: #8b8b90; font-size: 13px; min-height: 2.6em; }
.dial__pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px 22px; justify-content: center; margin-top: auto; }
.dial__pad button { width: 72px; height: 72px; border-radius: 50%; border: 0; background: #2a2a2e; font-size: 1.8rem; display: grid; place-items: center; align-content: center; line-height: 1; }
.dial__pad button small { font-size: 9px; letter-spacing: .14em; color: #a1a1a6; font-weight: 600; margin-top: 2px; }
.dial__pad button:active { background: #4a4a4e; }
.dial__actions { display: grid; grid-template-columns: repeat(3, 72px); gap: 22px; justify-content: center; margin-top: 12px; }
.dial__call { grid-column: 2; width: 72px; height: 72px; border-radius: 50%; border: 0; background: #34c759; font-size: 1.6rem; }
.dial__del { width: 72px; height: 72px; border: 0; background: none; font-size: 1.4rem; color: #a1a1a6; }
.dial__call.is-ringing { animation: ring .5s ease-in-out infinite; }
@keyframes ring { 50% { transform: rotate(-12deg); } }

/* shared controls */
.row { display: flex; gap: 8px; }
.btn { flex: 1; text-align: center; padding: 10px 12px; border-radius: 12px; background: #26262a; border: 0; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn--go { background: #fff; color: #000; }
.field { flex: 1; min-width: 0; background: #161618; border: 1px solid #2c2c2e; color: #fff; border-radius: 12px; padding: 9px 10px; font: inherit; font-size: 13px; }
.cam__canvas { width: 100%; aspect-ratio: 1; border-radius: 14px; background: #161618; }

/* moonme */
.stk__sym { margin: 10px 0 0; font-weight: 600; color: #8b8b90; }
.stk__px { margin: 0; font-family: var(--sc-font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stk__chg { margin: 0 0 8px; font-weight: 600; }
.up { color: #34c759; } .down { color: #ff453a; }
.rows { margin: 0 0 12px; display: grid; }
.rows div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #222; font-size: 14px; }
.rows dt { color: #8b8b90; } .rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

/* foodzy */
.foodzy__to { margin: 0; font-size: 13px; color: #8b8b90; }
.foodzy__to b { color: #fff; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #222; }
.menu b { display: block; font-size: 15px; } .menu small { color: #8b8b90; font-size: 12px; }
.foodzy__status { margin: auto 0 0; padding: 12px; border-radius: 14px; background: #161618; font-size: 13px; line-height: 1.4; min-height: 3em; }
.foodzy__status:empty { visibility: hidden; }

/* notes */
.app--notes { background: #1c1b17 !important; }
.notepad { padding: 4px 2px; font-size: 15px; line-height: 1.5; }
.notepad h4 { margin: 8px 0 4px; font-size: 18px; color: #ffd84a; }
.notepad ul { margin: 0 0 10px; padding-left: 20px; }
.notepad p { margin: 0; }

/* settings */
.settings { list-style: none; margin: 0; padding: 0; border-radius: 14px; background: #161618; overflow: hidden; }
.settings li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 8px; padding: 12px 14px; border-bottom: 1px solid #222; font-size: 15px; }
.settings li small { width: 100%; color: #8b8b90; font-size: 11px; }
.sw { appearance: none; width: 46px; height: 28px; border-radius: 14px; background: #3a3a3c; position: relative; cursor: pointer; transition: background var(--sc-d-fast); }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform var(--sc-d-base) var(--sc-ease-out); }
.sw:checked { background: #34c759; } .sw:checked::after { transform: translateX(18px); }
.sw:disabled { opacity: .4; cursor: not-allowed; }
.link { background: none; border: 0; color: #0a84ff; font-size: 15px; padding: 0; }
.link--red { color: #ff453a; }
.settings__ver { margin-top: auto; text-align: center; color: #8b8b90; font-size: 12px; }

/* wanted */
.codes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.codes li { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: #161618; font-size: 14px; }
.codes li.is-found { background: #fff; color: #000; }
.codes li .c { font-variant-numeric: tabular-nums; opacity: .6; }
.codes__hint { color: #8b8b90; font-size: 12px; line-height: 1.5; margin-top: auto; }

/* ---------- 4 · anatomy ---------- */
.anatomy__stage {
  overflow: hidden; background: #000;
  --e: calc(clamp(0, (var(--sc-p, 0) - 0.08) / 0.24, 1) * (1 - clamp(0, (var(--sc-p, 0) - 0.86) / 0.12, 1)));
}
.anatomy__h { position: absolute; top: calc(52px + var(--sc-5)); font-size: var(--sc-t-xl); left: var(--sc-gutter); right: var(--sc-gutter); text-align: center; }
.anatomy__logo { position: absolute; left: 50%; top: 52%; translate: -50% -50%; width: min(38vmin, 360px); height: auto; color: #f5f5f7; overflow: visible; }
.anatomy__logo .part--stem { transform: translate(calc(var(--e) * 160px), calc(var(--e) * -230px)); }
.anatomy__logo .part--l { transform: translate(calc(var(--e) * -212px), calc(var(--e) * -70px)); }
.anatomy__logo .part--r { transform: translate(calc(var(--e) * 212px), calc(var(--e) * -70px)); }
.anatomy__logo .part--bowl { transform: translateY(calc(var(--e) * 212px)); }
.label { position: absolute; width: 15rem; }
.label__k { margin: 0; font-size: var(--sc-t-xs); text-transform: uppercase; letter-spacing: var(--sc-track-wide); color: var(--sc-ink-soft); }
.label__v { white-space: nowrap; margin: 2px 0; font-family: var(--sc-font-display); font-weight: 800; font-size: var(--sc-t-2xl); letter-spacing: -0.035em; line-height: 1; }
.label__d { margin: 0; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); line-height: 1.4; }
.label--stem { left: calc(50% + min(16vmin, 150px)); top: 27%; }
.label--l { right: calc(50% + min(24vmin, 230px)); top: 44%; text-align: right; }
.label--r { left: calc(50% + min(24vmin, 230px)); top: 44%; }
.label--bowl { left: 50%; translate: -50% 0; bottom: 5%; text-align: center; width: 24rem; }
.anatomy__src { position: absolute; right: var(--sc-gutter); bottom: var(--sc-5); margin: 0; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }

/* ---------- 5 · holders ---------- */
.holders { background: var(--silver); color: var(--dark-ink); padding: var(--sc-section) var(--sc-gutter); }
.holders__wrap { max-width: var(--sc-maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--sc-8); align-items: center; }
.holders__copy { display: grid; gap: var(--sc-5); }
.hstats { margin: 0; display: grid; gap: var(--sc-4); }
.hstats div { border-top: 1px solid rgb(0 0 0 / .14); padding-top: var(--sc-3); display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 var(--sc-4); }
.hstats dt { color: var(--dark-soft); font-size: var(--sc-t-sm); }
.hstats dd { margin: 0; font-family: var(--sc-font-display); font-weight: 800; font-size: var(--sc-t-xl); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hstats small { grid-column: 1 / -1; color: var(--dark-soft); font-size: var(--sc-t-xs); }
.holders__links { margin: 0; }
.holders__links a { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.bubbles { position: relative; aspect-ratio: 1; width: 100%; }
.bubbles svg { width: 100%; height: 100%; overflow: visible; }
.bub { cursor: pointer; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .9s var(--sc-ease-out); }
.bubbles.is-in .bub { transform: scale(1); }
.bub circle { fill: #0a0a0a; transition: fill var(--sc-d-fast); }
.bub--pool circle { fill: none; stroke: #0a0a0a; stroke-width: 2; stroke-dasharray: 5 4; }
.bub:hover circle, .bub:focus circle { fill: #3a3a3c; }
.bub--pool:hover circle { fill: rgb(0 0 0 / .06); }
.bub text { fill: #fff; font: 700 13px var(--sc-font-text); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.bub--pool text { fill: #0a0a0a; }
.bubbles__tip { position: absolute; pointer-events: none; background: #0a0a0a; color: #fff; font-size: 12px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; translate: -50% calc(-100% - 10px); }

/* ---------- 6 · chart ---------- */
.specs { padding: var(--sc-section) var(--sc-gutter); }
.specs__wrap { max-width: var(--sc-maxw); margin: 0 auto; display: grid; gap: var(--sc-6); }
.specs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--sc-hairline); border-radius: 20px; overflow: hidden; }
.spec { background: var(--sc-surface); padding: var(--sc-6); }
.spec__k { margin: 0 0 6px; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.spec__v { margin: 0; font-family: var(--sc-font-display); font-weight: 800; font-size: var(--sc-t-xl); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.specs__stamp { margin: 0; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
.chart { border-radius: 20px; overflow: hidden; background: var(--sc-surface); height: min(70vh, 560px); }
.chart iframe { width: 100%; height: 100%; border: 0; display: block; }
.ca { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-3) var(--sc-4); padding: var(--sc-5) var(--sc-6); border-radius: 20px; background: var(--sc-surface); }
.ca__k { margin: 0; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.ca__v { font-family: var(--sc-font-mono); font-size: var(--sc-t-sm); overflow-wrap: anywhere; flex: 1 1 18rem; }
.ca__copy { background: var(--sc-ink); color: var(--sc-accent-ink); border: 0; border-radius: var(--sc-r-pill); padding: 9px 18px; font-weight: 600; }

/* ---------- 7 · buy ---------- */
.buy__stage { display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: var(--silver); color: var(--dark-ink); }
.buy__inner { position: relative; align-self: center; justify-self: center; width: min(56rem, 100% - 2 * var(--sc-gutter)); display: grid; gap: var(--sc-6); justify-items: center; padding-top: 52px; }
.buy__logo { width: 72px; height: 70px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sc-4); width: 100%; }
.steps li { counter-increment: s; background: rgb(255 255 255 / .55); border-radius: 20px; padding: var(--sc-6); line-height: 1.5; color: var(--dark-soft); box-shadow: 0 1px 0 rgb(255 255 255 / .8) inset, 0 10px 30px -18px rgb(0 0 0 / .4); }
.steps li::before { content: counter(s); display: block; font-family: var(--sc-font-display); font-weight: 900; font-size: 2.2rem; color: var(--dark-ink); margin-bottom: var(--sc-3); }
.steps strong { color: var(--dark-ink); display: block; }
.buy__ctas { display: flex; gap: var(--sc-4); justify-content: center; flex-wrap: wrap; }
.cta { display: inline-block; text-decoration: none; background: var(--dark-ink); color: #fff; font-weight: 700; padding: 16px 32px; border-radius: var(--sc-r-pill); font-size: var(--sc-t-lg); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .6); }
.cta--ghost { background: none; color: var(--dark-ink); box-shadow: inset 0 0 0 1.5px rgb(0 0 0 / .3); }
.foot { position: relative; padding: var(--sc-5) var(--sc-gutter) calc(var(--sc-5) + env(safe-area-inset-bottom)); border-top: 1px solid rgb(0 0 0 / .12); font-size: var(--sc-t-xs); color: var(--dark-soft); display: grid; gap: 4px; text-align: center; }
.foot p { margin: 0; }

/* ---------- effects ---------- */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 65; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; translate: -50% 20px; background: #fff; color: #0a0a0a; font-weight: 700; padding: 12px 20px; border-radius: var(--sc-r-pill); opacity: 0; transition: opacity var(--sc-d-base), translate var(--sc-d-slow) var(--sc-ease-out); pointer-events: none; text-align: center; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgb(0 0 0 / .4); }
.toast.is-on { opacity: 1; translate: -50% 0; }
body.fx-wanted::after { content: ""; position: fixed; inset: 0; z-index: 64; pointer-events: none; animation: siren .6s steps(1) infinite; }
@keyframes siren { 0% { box-shadow: inset 0 0 120px 20px rgb(255 30 60 / .55); } 50% { box-shadow: inset 0 0 120px 20px rgb(40 90 255 / .55); } }
body.fx-drunk main { animation: drunk 3s ease-in-out infinite; }
@keyframes drunk { 0%,100% { transform: none; filter: none; } 33% { transform: rotate(.8deg) skewX(2deg); filter: blur(.6px); } 66% { transform: rotate(-.8deg) skewX(-2deg); } }
body.fx-moon .boot__logo { animation: moon 2.4s var(--sc-ease-out) forwards; }
@keyframes moon { 40% { transform: translateY(-30vh) rotate(-20deg); } to { transform: translateY(0) rotate(0); } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .bar__nav { display: none; }
  .bar__wanted { margin-left: auto; }
  .phone-sec__wrap { grid-template-columns: 1fr; justify-items: center; gap: var(--sc-7); }
  .holders__wrap { grid-template-columns: 1fr; gap: var(--sc-6); }
  .specs__grid { grid-template-columns: repeat(2, 1fr); }
  .anatomy__logo { top: 40%; width: min(52vw, 300px); }
  .label { width: auto; position: absolute; }
  .label__v { font-size: var(--sc-t-xl); }
  .label__d { font-size: var(--sc-t-xs); }
  .label--stem, .label--l, .label--r, .label--bowl { translate: none; text-align: left; top: auto; right: auto; width: calc(50% - 24px); }
  .label--stem { left: 16px; bottom: 25%; }
  .label--l { left: calc(50% + 8px); bottom: 25%; }
  .label--r { left: 16px; bottom: 9%; }
  .label--bowl { left: calc(50% + 8px); bottom: 9%; }
  .anatomy__src { bottom: 3%; right: 16px; }
  .steps { grid-template-columns: 1fr; gap: var(--sc-2); }
  .buy__inner { gap: var(--sc-4); padding-top: 60px; }
  .buy__logo { width: 48px; height: 47px; }
  .buy .h2 { font-size: var(--sc-t-xl); }
  .steps li { padding: 12px 16px 12px 52px; position: relative; font-size: var(--sc-t-sm); line-height: 1.4; }
  .steps li::before { position: absolute; left: 18px; top: 10px; font-size: 1.3rem; margin: 0; }
  .cta { padding: 13px 26px; font-size: var(--sc-t-base); }
  .foot { padding-top: var(--sc-3); padding-bottom: calc(var(--sc-3) + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  .bar { gap: var(--sc-3); padding: 0 16px; }
  .bar__cta { padding: 7px 12px; }
  .cats { gap: var(--sc-4) var(--sc-5); padding-left: 16px; padding-right: 16px; }
  .cat__icon { width: 54px; height: 54px; border-radius: 15px; }
  .boot__lockup { font-size: 3rem; }
  .boot__sub { font-size: var(--sc-t-lg); }
  .device { width: min(370px, calc(100vw - 24px)); height: auto; aspect-ratio: 380 / 790; border-radius: 52px; padding: 10px; }
  .device__screen { border-radius: 42px; }
  .dial__pad { grid-template-columns: repeat(3, 64px); gap: 10px 18px; }
  .dial__pad button, .dial__call, .dial__del { width: 64px; height: 64px; }
  .dial__actions { grid-template-columns: repeat(3, 64px); }
  .ic i { width: 54px; height: 54px; font-size: 27px; border-radius: 14px; }
  .w { height: 112px; }
  .lock__time { font-size: 80px; }
  .specs, .phone-sec, .holders { padding-left: 16px; padding-right: 16px; }
  .spec { padding: var(--sc-4); }
  .chart { height: 480px; }
  .ca { padding: var(--sc-4); }
}
@media (prefers-reduced-motion: reduce) {
  body.fx-drunk main, body.fx-wanted::after, .lock__hint { animation: none; }
  .boot__logo .part { animation: none; }
  html { scroll-behavior: auto; }
}
