/* Resurrected Remix site.
   One dark world: a bedside monitor that happens to sell a ROM. The accent is a variable because
   the page can remix itself. Quiet sections, then one loud block. Downloads and Install stay ad-free. */
:root {
  color-scheme: dark;
  --bg: #0c0809; --band: #120c0e; --surface: #181113; --surface-hi: #211719;
  --fg: #f7eff1; --muted: #bfacb1; --line: #2b1e22; --line-hi: #3d2b30;
  --accent: #ff003f; --accent-rgb: 255, 0, 63; --on-accent: #ffffff; --ok: #3ddc84; --warn: #ffb020;
  --neon: 0 0 14px rgba(var(--accent-rgb), .65), 0 0 38px rgba(var(--accent-rgb), .4), 0 0 80px rgba(var(--accent-rgb), .25);
  --display: "Poppins", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --grid: linear-gradient(rgba(var(--accent-rgb), .05) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--accent-rgb), .05) 1px, transparent 1px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(12, 8, 9, .82); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 1.15rem + 3.7vw, 4.2rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); margin-inline: auto; }
.eyebrow { font: 500 .74rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.sub { color: var(--muted); font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); max-width: 36rem; margin-top: 1.25rem; }
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.band { background: var(--band); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .7rem 1.5rem; border-radius: 13px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-accent); font: 600 1rem/1.1 var(--body); text-decoration: none; transition: transform .15s, box-shadow .2s; box-shadow: 0 8px 30px -8px rgba(var(--accent-rgb), .7); }
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line-hi); color: var(--fg); box-shadow: none; }
.btn-ghost:hover { border-color: var(--fg); }
.btn svg { width: 20px; height: 20px; flex: none; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg button { min-height: 44px; padding: .45rem 1rem; border-radius: 99px; border: 1px solid var(--line-hi); background: transparent; font: 500 .92rem/1.1 var(--body); color: var(--muted); transition: background .15s, color .15s, border-color .15s; }
.seg button:hover { color: var(--fg); border-color: var(--fg); }
.seg button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.chips li { padding: .35rem .8rem; border: 1px solid var(--line-hi); border-radius: 99px; font-size: .9rem; color: var(--fg); }
.ticks { display: grid; gap: .7rem; margin: 1.75rem 0 0; padding: 0; list-style: none; max-width: 34rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .65rem; color: var(--muted); }
.ticks li::before { content: ""; width: 22px; height: 12px; margin-top: .42em; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 7h6l2-4 3 9 3-12 2 7h6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M0 7h6l2-4 3 9 3-12 2 7h6' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks b { color: var(--fg); font-weight: 600; }

/* Top bar */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(12, 8, 9, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 700 1rem/1 var(--display); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 700; }
.mark { width: 34px; height: 25px; fill: var(--accent); flex: none; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--fg); }
.topbar .btn { min-height: 42px; padding: .5rem 1.05rem; font-size: .94rem; }
.gh { display: inline-flex; padding: .35rem; margin-right: -.6rem; border-radius: 8px; color: var(--muted); }
.gh:hover { color: var(--fg); }
.gh svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 860px) { .nav { display: none; } .gh { margin-left: auto; } }
@media (max-width: 480px) { .topbar-inner { gap: .75rem; } .brand { gap: .5rem; font-size: .92rem; } .topbar .btn { padding: .45rem .8rem; } }
@media (max-width: 360px) { .gh { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(55% 60% at 80% 62%, rgba(var(--accent-rgb), .36) 0%, transparent 70%), radial-gradient(40% 50% at 12% 0%, rgba(var(--accent-rgb), .13) 0%, transparent 70%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--grid); background-size: 24px 24px; -webkit-mask: radial-gradient(70% 70% at 50% 45%, #000, transparent); mask: radial-gradient(70% 70% at 50% 45%, #000, transparent); pointer-events: none; }
.hero-pulse { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(55% 60% at 80% 62%, rgba(var(--accent-rgb), .42) 0%, transparent 70%); }
.hero-ripple { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: rgba(var(--accent-rgb), .3); }
.hero-ecg { position: absolute; left: 0; width: 100%; height: 0; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 7vw, 6.5rem); }
.hero h1 { font-size: clamp(3.3rem, 1.2rem + 7.6vw, 7.2rem); font-weight: 800; line-height: .92; letter-spacing: -.05em; }
.dead { display: block; color: var(--accent); text-shadow: var(--neon); animation: ignite 1.7s ease-out .25s both; }
.dead.again { animation: ignite2 .9s ease-out both; }
@keyframes ignite { 0% { opacity: .9; text-shadow: none; } 9% { opacity: .35; } 13% { opacity: 1; text-shadow: var(--neon); } 19% { opacity: .5; text-shadow: none; } 27%, 100% { opacity: 1; text-shadow: var(--neon); } }
@keyframes ignite2 { 0% { opacity: .9; text-shadow: none; } 9% { opacity: .35; } 13% { opacity: 1; text-shadow: var(--neon); } 19% { opacity: .5; text-shadow: none; } 27%, 100% { opacity: 1; text-shadow: var(--neon); } }
.lede { margin-top: 1.5rem; max-width: 35rem; color: var(--muted); font-size: clamp(1.08rem, 1rem + .4vw, 1.26rem); }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.roll { position: relative; }
.roll-note { margin-top: .85rem; min-height: 1.5em; font: 500 .8rem/1.5 var(--mono); color: var(--muted); }
.roll-note b { color: var(--accent); font-weight: 500; }
.roll-note button { border: 0; background: none; padding: 0 0 0 .5rem; color: var(--muted); text-decoration: underline; font: inherit; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .94rem; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: .55rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ok); box-shadow: 0 0 0 4px rgba(61, 220, 132, .13); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 4px rgba(255, 176, 32, .13); }
.hero-stage { display: grid; justify-items: center; padding-bottom: 3rem; }
.hero-stage > * { grid-area: 1 / 1; }
.phone { position: relative; aspect-ratio: 1440 / 3168; width: 100%; overflow: hidden; border-radius: 12% / 5.5%; background: #000; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px var(--line-hi); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-phone { width: clamp(235px, 27vw, 330px); }
.hero-phone img { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease, filter .3s; }
.hero-phone img.on { opacity: 1; }
.term { align-self: end; justify-self: start; width: min(385px, 100%); margin: 0; transform: translateY(40%); overflow: hidden; background: var(--surface); border: 1px solid var(--line-hi); border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.term figcaption { padding: .55rem .9rem; border-bottom: 1px solid var(--line); color: var(--muted); font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.term pre { margin: 0; padding: .8rem .95rem 1rem; overflow-x: auto; font: 400 .79rem/1.6 var(--mono); }
.ps { color: var(--accent); } .out { color: var(--muted); }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-stage { padding-bottom: 0; } .hero-stage > * { grid-area: auto; } .term { justify-self: stretch; width: auto; margin-top: 1.5rem; transform: none; } }

/* Ticker and numbers */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--band); }
.ticker-run { display: flex; width: max-content; animation: run 46s linear infinite; }
.ticker:hover .ticker-run { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; margin: 0; padding: .95rem 0; list-style: none; }
.ticker li { display: flex; align-items: center; gap: 1.5rem; padding-right: 1.5rem; font: 700 clamp(1.05rem, .9rem + .7vw, 1.5rem)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.ticker li::after { content: ""; width: 34px; height: 14px; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 14'%3E%3Cpath d='M0 8h10l2-4 4 10 4-14 3 8h11' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 14'%3E%3Cpath d='M0 8h10l2-4 4 10 4-14 3 8h11' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes run { to { transform: translateX(-50%); } }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 1.5rem; padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.numbers div { display: grid; gap: .25rem; }
.numbers b { font: 800 clamp(2.6rem, 1.8rem + 2.6vw, 4.2rem)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.numbers span { color: var(--muted); font-size: .98rem; }

/* Drawn phone screens */
.screen { position: absolute; inset: 0; container-type: inline-size; font-size: 4.3cqw; line-height: 1.3; color: #fff; background: radial-gradient(120% 55% at 50% 112%, rgba(var(--accent-rgb), .68) 0, rgba(var(--accent-rgb), .2) 42%, #000 72%); }
.screen.aod { background: #000; }
.statusbar { position: absolute; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 4.5cqw 7cqw; font-size: 3.6cqw; font-weight: 600; }
.hole { position: absolute; top: 3.6cqw; left: 50%; width: 4.4cqw; height: 4.4cqw; translate: -50% 0; border-radius: 50%; background: #141014; }
.thin { font-family: var(--display); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.glowt { text-shadow: 0 0 5cqw rgba(var(--accent-rgb), .6); }

/* Flatline */
.flatline { background-color: #050304; background-image: var(--grid); background-size: 24px 24px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 1.5rem 3rem; align-items: end; }
.split-head .sub { margin-top: 0; }
@media (max-width: 880px) { .split-head { grid-template-columns: 1fr; } }
.flat-ctl { margin-top: 2.25rem; }
.faces { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.face { display: grid; gap: .9rem; margin: 0; min-width: 0; }
.face .phone { max-width: 285px; width: 100%; justify-self: center; }
.face figcaption { max-width: 285px; width: 100%; justify-self: center; }
.face figcaption b { display: block; font: 700 1.1rem/1.3 var(--display); }
.face figcaption span { color: var(--muted); font-size: .96rem; }
.face canvas { display: block; width: 100%; }
.readout { display: flex; justify-content: space-between; gap: 2cqw; font: 500 2.7cqw/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #ffffffcc; }
.vitals { position: absolute; left: 7%; right: 7%; top: 17%; padding: 4.5cqw; border-radius: 6cqw; background: #ffffff14; border: 1px solid #ffffff2a; backdrop-filter: blur(6px); }
.lockfoot { position: absolute; left: 6%; right: 6%; bottom: 3.5%; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; }
.lockfoot i { flex: none; width: 11cqw; height: 11cqw; border-radius: 50%; background: #ffffff1f; border: 1px solid #ffffff26; }
.lockfoot .nb { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2cqw; height: 11cqw; padding: 0 3cqw 0 1.5cqw; border-radius: 99px; background: #ffffff1f; border: 1px solid #ffffff26; font-size: 3.3cqw; font-weight: 600; white-space: nowrap; overflow: hidden; }
.lockfoot .nb b { flex: none; width: 8cqw; height: 8cqw; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #300); }
#flatline[data-state="idle"] .nb, #flatline[data-state="note"] .nb { visibility: hidden; }
@media (max-width: 640px) {
  .faces { display: flex; gap: 1rem; margin-inline: -20px; padding: 0 20px 1rem; overflow-x: auto; scroll-snap-type: x proximity; }
  .face { flex: none; width: min(74vw, 285px); scroll-snap-align: center; }
}
.chipline { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line-hi); border-radius: 16px; background: #0c0809; }
.chipbar { display: inline-flex; align-items: center; gap: .5rem; padding: .28rem .7rem; border-radius: 99px; background: #ffffff1c; border: 1px solid #ffffff2e; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.chipbar canvas { width: 54px; height: 20px; display: block; }
.chipline p { color: var(--muted); flex: 1 1 18rem; font-size: .98rem; }

/* Launcher */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.two.flip > :first-child { order: 2; }
@media (max-width: 880px) { .two { grid-template-columns: 1fr; } .two.flip > :first-child { order: 0; } }
.home-wrap { display: grid; gap: 1rem; justify-items: center; }
.home-phone { width: min(350px, 100%); }
.home-screen { display: flex; flex-direction: column; padding: 15% 6% 5%; }
.home-glance { font-size: 4.6cqw; font-weight: 500; margin-bottom: 9cqw; }
.home-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 19cqw; gap: 6cqw 5cqw; }
.home-dock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5cqw; margin-top: auto; padding: 4cqw 3cqw; border-radius: 9cqw; background: #ffffff12; }
.app { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; border: .5cqw solid var(--accent); background: #0b0507; color: var(--accent); box-shadow: 0 0 2.4cqw rgba(var(--accent-rgb), .5), inset 0 0 1.8cqw rgba(var(--accent-rgb), .3); }
.app svg { width: 50%; height: 50%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.app.badge::after { content: ""; position: absolute; top: 2%; right: 2%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.folder { grid-area: 2 / 1 / span 1 / span 1; display: grid; grid-template-rows: 1fr auto; justify-items: center; gap: 1.5cqw; min-width: 0; }
.home-screen[data-big="true"] .folder { grid-area: 2 / 1 / span 2 / span 2; }
.folder-box { width: 100%; height: 100%; overflow: hidden; border-radius: 5cqw; border: 1px solid #ffffff2e; background: #ffffff16; backdrop-filter: blur(4px); touch-action: pan-y; animation: pop .35s cubic-bezier(.2, .8, .2, 1); }
.home-screen[data-big="false"] .folder-box { aspect-ratio: 1; height: auto; border-radius: 28%; }
.folder-pages { display: flex; width: 200%; height: 100%; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.folder-page { display: grid; grid-template-columns: repeat(3, 1fr); align-content: center; gap: 3cqw; width: 50%; padding: 4cqw; }
.folder-page .app { border-width: .35cqw; box-shadow: 0 0 1.4cqw rgba(var(--accent-rgb), .45); }
.home-screen[data-big="false"] .folder-page { gap: .9cqw; padding: 1.8cqw; }
.home-screen[data-big="false"] .folder-page .app { border-width: .2cqw; box-shadow: none; }
.home-screen[data-big="false"] .folder-page .app svg { display: none; }
.folder-dots { display: none; gap: 2cqw; }
.home-screen[data-big="true"] .folder-dots { display: flex; }
.folder-dots button { width: 2.4cqw; height: 2.4cqw; padding: 0; border: 0; border-radius: 50%; background: #ffffff55; }
.folder-dots button.on { background: var(--accent); }
@keyframes pop { from { transform: scale(.92); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .folder-box { animation: none; } .folder-pages { transition: none; } }
.hint { font: 500 .8rem/1.4 var(--mono); color: var(--muted); text-align: center; }

/* Nightstand */
.night { background: #000; overflow: hidden; }
.night-time { font: 300 clamp(6rem, 25vw, 22rem)/.86 var(--display); letter-spacing: -.07em; text-align: center; color: var(--accent); font-variant-numeric: tabular-nums; animation: shift 90s steps(18) infinite alternate; }
@keyframes shift { 0% { transform: translate(-10px, -6px); } 50% { transform: translate(8px, 7px); } 100% { transform: translate(-4px, 9px); } }
.night-dim { position: relative; transition: opacity .15s; }
.night-line { display: block; width: 100%; height: 56px; margin-top: .5rem; }
.night-line path { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.night-read { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 2.5rem; margin-top: 1rem; font: 500 .95rem/1.4 var(--mono); letter-spacing: .06em; color: var(--accent); }
.night-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; margin-top: clamp(3rem, 6vw, 5rem); }
.night-copy h2 { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.8rem); }
@media (max-width: 880px) { .night-copy { grid-template-columns: 1fr; } }
.field { display: grid; gap: .5rem; max-width: 30rem; margin-top: 1.5rem; }
.field label { display: flex; justify-content: space-between; font-size: .98rem; color: var(--muted); }
input[type="range"] { width: 100%; height: 30px; accent-color: var(--accent); }

/* Now Bar */
.nowbar-stage { position: relative; display: grid; justify-items: center; gap: 1.25rem; margin-top: 2.75rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line-hi); border-radius: 28px; background: radial-gradient(90% 130% at 50% 120%, rgba(var(--accent-rgb), .5) 0, rgba(var(--accent-rgb), .1) 50%, #000 78%); }
.sbar { display: flex; justify-content: space-between; align-items: center; width: min(720px, 100%); font-weight: 600; font-size: .98rem; }
.sbar .chipbar { font-size: .86rem; }
.capsule { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .35rem 1.1rem; align-items: center; width: min(720px, 100%); padding: clamp(.9rem, 2vw, 1.3rem) clamp(1rem, 2.4vw, 1.6rem); border-radius: 34px; background: #ffffff1a; border: 1px solid #ffffff33; backdrop-filter: blur(10px); }
.capsule .art { width: clamp(52px, 8vw, 74px); aspect-ratio: 1; border-radius: 20px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #2a0010); }
.capsule .art svg { width: 56%; height: 56%; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.capsule h3 { font-size: clamp(1.05rem, .95rem + .7vw, 1.5rem); overflow-wrap: anywhere; }
.capsule p { color: #ffffffc9; font-size: clamp(.9rem, .85rem + .3vw, 1.05rem); }
.capsule .crit { font: 700 clamp(1rem, .9rem + .9vw, 1.65rem)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.segs { grid-column: 1 / -1; display: flex; gap: 5px; margin-top: .6rem; }
.segs i { position: relative; flex-grow: var(--g, 1); flex-basis: 0; height: 7px; border-radius: 4px; background: #ffffff2b; overflow: hidden; }
.segs i::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: #fff; border-radius: 4px; transition: width .5s; }
.feat3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.75rem 2rem; margin-top: 2.5rem; }
.feat3 p { color: var(--muted); margin-top: .4rem; }

/* Haptic Remix */
.haptic { background: var(--accent); color: #0c0809; overflow: hidden; }
.haptic h2 { font-size: clamp(2.8rem, 1.2rem + 7.2vw, 7.5rem); line-height: .93; letter-spacing: -.055em; }
.haptic .eyebrow { color: #0c0809; }
.haptic .sub { color: #0c0809; font-weight: 500; margin-top: 1.9rem; }
.hap-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem clamp(2rem, 5vw, 4rem); margin-top: 3rem; align-items: stretch; }
@media (max-width: 880px) { .hap-grid { grid-template-columns: 1fr; } }
.pad { display: grid; align-content: center; justify-items: center; gap: .35rem; min-height: 260px; width: 100%; border: 0; border-radius: 28px; background: #0c0809; color: #fff; touch-action: manipulation; transition: transform .07s; }
.pad:active { transform: scale(.985); }
.pad b { font: 800 clamp(1.8rem, 1.2rem + 2vw, 3rem)/1 var(--display); letter-spacing: -.03em; }
.pad span { color: #d6c6ca; }
.hap-side { display: grid; gap: 1rem; align-content: start; }
.strip { display: flex; align-items: flex-end; gap: 4px; height: 96px; padding: 12px; border-radius: 18px; background: #0c0809; overflow: hidden; }
.strip i { flex: none; width: 10px; background: var(--accent); border-radius: 3px; transition: opacity .1s, transform .1s; }
.strip i.lit { background: #fff; transform: scaleY(1.08); }
.haptic .seg button { border-color: #0c0809; color: #0c0809; font-weight: 600; }
.haptic .seg button:hover { background: #0c080922; }
.haptic .seg button[aria-pressed="true"] { background: #0c0809; color: #fff; border-color: #0c0809; }
.hbtn { min-height: 48px; border: 0; border-radius: 13px; background: #0c0809; color: #fff; font-weight: 600; padding: .6rem 1.2rem; }
.hbtn.alt { background: transparent; border: 1px solid #0c0809; color: #0c0809; }
.hap-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.hap-note { font-size: .95rem; font-weight: 500; }
.hap-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1.5rem 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 2px solid #0c0809; }
.hap-more p { font-weight: 500; margin-top: .35rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.swatches i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #0c0809; }

/* Remix Modes and Looks */
.modes { --accent: var(--m, #ff003f); --accent-rgb: var(--mr, 255, 0, 63); overflow: hidden; }
.mode-ripple { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: rgba(var(--mr, 255, 0, 63), .24); }
.mode-phone { width: min(320px, 100%); justify-self: center; }
.mode-phone img { filter: hue-rotate(var(--hue, 0deg)); transition: filter .5s; }
.mode-tag { position: absolute; left: 50%; bottom: 4%; translate: -50% 0; padding: .3rem .8rem; border-radius: 99px; background: #000b; border: 1px solid #fff5; font: 500 .74rem/1.2 var(--mono); white-space: nowrap; color: #fff; }
.modes .seg { margin-top: 1.75rem; }
.minis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem; margin-top: 3rem; }
.mini { padding: 1.25rem; border: 1px solid var(--line-hi); border-radius: 18px; background: var(--surface); }
.mini p { color: var(--muted); margin-top: .4rem; font-size: .98rem; }
.mini code { font: 500 .85em var(--mono); color: var(--accent); }

/* Ad breaks (AdSense fills the ins element on the live site) */
.ad-break { padding-block: 1.75rem; border-block: 1px solid var(--line); background: var(--band); }
.ad-label { margin-bottom: .6rem; color: var(--muted); font: 500 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.ad-break:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad-break.is-preview ins.adsbygoogle { display: grid !important; place-items: center; min-height: 110px; border: 1px dashed var(--line-hi); border-radius: 12px; }
.ad-break.is-preview ins.adsbygoogle::after { content: "AdSense responsive unit. Google fills this on the live site."; padding: 0 1rem; color: var(--muted); font: 400 .8rem/1.4 var(--mono); text-align: center; }

/* Quick Settings */
.reel { display: flex; gap: 1.25rem; overflow-x: auto; padding: 1rem max(20px, calc((100% - var(--wrap)) / 2)) 2.25rem; scroll-snap-type: x proximity; scrollbar-color: var(--line-hi) transparent; }
.reel > * { flex: none; scroll-snap-align: center; }
.qs-card { width: clamp(190px, 21vw, 248px); margin: 0; display: grid; gap: .75rem; }
.qs-card figcaption b { display: block; font: 700 1.05rem/1.3 var(--display); }
.qs-card figcaption span { color: var(--muted); font-size: .92rem; line-height: 1.35; display: block; }
.qs-card:nth-child(even) { translate: 0 22px; }
/* Quick Settings customizer drawings */
.qd { background: #080506; --r: 3.4cqw; --b: 50%; --off: #ffffff14; }
.qd-in { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3cqw; padding: 10cqw 5cqw 0; font-size: 3.2cqw; }
.qd-top { display: flex; align-items: baseline; justify-content: space-between; }
.qd-top b { font: 600 9cqw/1 var(--display); letter-spacing: -.03em; }
.qd-top span { color: #ffffffa6; font-size: 3cqw; }
.qd-slider { position: relative; height: 9cqw; border-radius: 99px; background: #ffffff1a; overflow: hidden; flex: none; }
.qd-slider::before { content: ""; position: absolute; inset: 0 38% 0 0; border-radius: 99px; background: var(--accent); }
.qd[data-slider-look="line"] .qd-slider { height: 1.6cqw; margin-block: 3.7cqw; overflow: visible; }
.qd[data-slider-look="line"] .qd-slider::after { content: ""; position: absolute; left: 62%; top: 50%; width: 5cqw; height: 5cqw; border-radius: 50%; background: #fff; translate: -50% -50%; }
.qd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; }
.qd-row4, .qd-grid.icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4cqw; }
.qd .t { display: flex; align-items: center; gap: 2cqw; min-width: 0; height: 13cqw; padding: 0 2.4cqw; border-radius: var(--r); background: var(--off); }
.qd .t i { display: grid; place-items: center; flex: none; width: 8.4cqw; aspect-ratio: 1; border-radius: var(--b); background: #ffffff1f; }
.qd .t svg { width: 5cqw; height: 5cqw; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qd .t span { display: grid; min-width: 0; line-height: 1.15; }
.qd .t b { overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.qd .t small { overflow: hidden; color: #ffffffb3; font-size: 2.6cqw; white-space: nowrap; }
.qd-row4 .t { justify-content: center; height: 11cqw; padding: 0; }
.qd-row4 .t i, .qd .t.ic i { background: none; }
.qd .t.ic { flex-direction: column; justify-content: flex-start; gap: 1.2cqw; height: auto; padding: 0; background: none !important; box-shadow: none !important; }
.qd .t.ic i { width: 13cqw; border-radius: var(--b-ic, var(--r)); background: var(--off); }
.qd .t.ic b { font-size: 2.5cqw; font-weight: 500; }
.qd[data-shape="pill"] { --r: 99px; --b-ic: 50%; }
.qd[data-shape="big"] { --r: 5.5cqw; }
.qd[data-backing="rounded"] { --b: 2.4cqw; }
.qd[data-backing="blob"] { --b: 42% 58% 55% 45% / 50% 44% 56% 50%; }
.qd[data-fill="solid"] .t.on, .qd[data-fill="solid"] .t.ic.on i { background: var(--accent); }
.qd[data-fill="gradient"] .t.on, .qd[data-fill="gradient"] .t.ic.on i { background: linear-gradient(135deg, var(--accent), #6e001d); }
.qd[data-fill="tint"] .t.on { background: rgba(var(--accent-rgb), .3); }
.qd[data-fill="tint"] .t.on i { background: var(--accent); }
.qd[data-fill="outline"] .t.on, .qd[data-fill="outline"] .t.ic.on i { background: rgba(var(--accent-rgb), .08); box-shadow: inset 0 0 0 .5cqw var(--accent); }
.qd[data-fill="outline"] .t.on i { color: var(--accent); }
.qd[data-fill="icon"] .t.on i { background: var(--accent); }
.qd[data-glow] .t.on:not(.ic), .qd[data-glow] .t.ic.on i { box-shadow: inset 0 0 0 .5cqw var(--accent), 0 0 3.5cqw rgba(var(--accent-rgb), .55); }
.qd[data-fill="gradient"][data-glow] .t.on:not(.ic), .qd[data-fill="gradient"][data-glow] .t.ic.on i { box-shadow: 0 0 4cqw rgba(var(--accent-rgb), .6); }
.qd[data-depth="raised"] .t:not(.ic) { box-shadow: 0 1cqw 2cqw #000c, inset 0 .4cqw 0 #ffffff24; }
.qd[data-depth="raised"] .t.on:not(.ic) { box-shadow: inset 0 .6cqw 1.4cqw #0008; }
.qd-player { display: grid; grid-template-columns: 11cqw 1fr; align-items: center; gap: 2.4cqw; padding: 3cqw; border-radius: 4cqw; background: #ffffff12; }
.qd-player .art { aspect-ratio: 1; border-radius: 2.4cqw; background: linear-gradient(135deg, var(--accent), #300); }
.qd-player span { display: grid; line-height: 1.2; }
.qd-player small { color: #ffffffa6; font-size: 2.6cqw; }
.qd-player .qd-slider { grid-column: 1 / -1; }
.qd-foot { position: relative; display: flex; align-items: center; justify-content: center; gap: 1cqw; height: 4cqw; flex: none; }
.qd-foot i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #ffffff59; }
.qd-foot i:first-child { width: 3.4cqw; border-radius: 99px; background: #fff; }
.qd-foot svg { position: absolute; right: 1cqw; width: 4cqw; height: 4cqw; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.qd-blur { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 3cqw; min-height: 0; padding-top: 1cqw; opacity: .45; filter: blur(2cqw); }
.qd-blur i { border-radius: 4cqw; background: #2f6b41; }
.qd-blur i:nth-child(2) { background: #3a3f78; }
.qd-blur i:nth-child(3) { grid-column: 1 / -1; background: #4a2a5c; }
.qd-dock { display: grid; gap: 2.4cqw; margin: auto -5cqw 0; padding: 3.4cqw 4cqw 7cqw; border-radius: 6cqw 6cqw 0 0; background: #151013; box-shadow: 0 -1px 0 #ffffff1a; }
.qd-tabs, .qd-chips { display: flex; flex-wrap: wrap; gap: 1.2cqw; }
.qd-tabs span { padding: .9cqw 2cqw; border-radius: 99px; color: #ffffffa6; font-size: 2.7cqw; }
.qd-tabs span.on { background: var(--accent); color: #fff; font-weight: 600; }
.qd-chips span { padding: .9cqw 2.4cqw; border: 1px solid #ffffff2e; border-radius: 99px; font-size: 2.7cqw; }
.qd-chips span.on { border-color: var(--accent); background: rgba(var(--accent-rgb), .25); }
.qs-drawn { margin: -1.25rem 0 0; }
.reel[hidden] { display: none; }
.tabs-line { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; padding: 5px; width: fit-content; max-width: 100%; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-hi); }
.tabs-line button { padding: .3rem .85rem; border: 0; border-radius: 99px; background: transparent; font: 500 .92rem/1.4 var(--body); color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.tabs-line button:hover { color: var(--fg); }
.tabs-line button[aria-selected="true"] { background: var(--accent); color: var(--on-accent); font-weight: 600; }
@media (max-width: 480px) { .tabs-line { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; gap: .25rem; border-radius: 18px; } .tabs-line button { padding: .4rem .5rem; border-radius: 12px; } }
.tab-panel { margin-top: 1rem; max-width: 36rem; }
.tab-panel[hidden] { display: none; }
.tab-panel p { color: var(--muted); font-size: .98rem; }
.tab-panel .chips { margin-top: .8rem; }
.tab-panel .chips li { font-size: .85rem; animation: chip-in .25s ease-out both; }
@keyframes chip-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .tab-panel .chips li { animation: none; } }

/* Remixer */
.hub-shots { display: flex; gap: 1rem; justify-content: center; }
.hub-shots .phone { width: min(47%, 255px); }
.hub-shots .phone:nth-child(2) { translate: 0 36px; }

/* Classics */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; margin-top: 2.75rem; }
.cell { position: relative; grid-column: span 4; display: grid; grid-template-rows: auto 1fr; gap: 1.1rem; padding: 1.35rem; min-height: 330px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.cell.w6 { grid-column: span 6; }
.cell p { color: var(--muted); margin-top: .35rem; font-size: .98rem; }
.cell-shots { align-self: end; display: flex; justify-content: center; gap: .75rem; }
.cell-shots .phone { width: 150px; flex: none; }
@media (max-width: 880px) { .cell, .cell.w6 { grid-column: 1 / -1; } }

/* Everyday */
.useful { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(265px, 100%), 1fr)); gap: 0 2.5rem; margin-top: 2.5rem; }
.useful article { display: grid; grid-template-columns: 38px 1fr; gap: .85rem; padding-block: 1.25rem; border-top: 1px solid var(--line-hi); }
.useful svg { width: 32px; height: 32px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.useful p { color: var(--muted); font-size: .98rem; margin-top: .25rem; }

/* Vital signs */
.vitals-sec { background-color: #050304; background-image: var(--grid); background-size: 24px 24px; }
.monitor { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin-top: 2.5rem; border: 1px solid var(--line-hi); border-radius: 20px; overflow: hidden; background: var(--line-hi); }
.monitor div { grid-column: span 2; display: grid; align-content: start; gap: .35rem; padding: 1.35rem; background: #0a0607; }
.monitor div:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 760px) { .monitor { grid-template-columns: 1fr; } .monitor div, .monitor div:nth-child(n+4) { grid-column: auto; } }
.monitor small { font: 500 .72rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.monitor b { font: 800 clamp(2.4rem, 1.9rem + 1.7vw, 3.4rem)/1 var(--display); letter-spacing: -.05em; color: var(--accent); text-shadow: 0 0 22px rgba(var(--accent-rgb), .5); }
.monitor p { color: var(--muted); font-size: .96rem; }

/* The whole list */
.wall { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .95rem; margin: 2.5rem 0 0; padding: 0; list-style: none; font: 700 clamp(1.3rem, 1rem + 1.6vw, 2.5rem)/1.22 var(--display); letter-spacing: -.035em; color: #8d7a80; }
.wall li.new { color: var(--accent); }
.wall li.was { color: var(--fg); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .95rem; color: var(--muted); }
.legend b { color: var(--accent); font-weight: 600; }

/* Screenshots */
.filters { margin-top: 1.5rem; }
.gallery { margin: 1rem 0 0; list-style: none; }
.shot { display: grid; gap: .6rem; width: clamp(150px, 16vw, 200px); padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.shot .phone { transition: box-shadow .2s; }
.shot:hover .phone { box-shadow: 0 0 0 2px var(--accent); }
.shot-cap { color: var(--muted); font-size: .9rem; }
.gallery-note { margin-top: .75rem; color: var(--muted); font-size: .92rem; }
.lightbox { width: min(92vw, 460px); max-height: 94vh; padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 3, 4, .88); }
.lightbox figure { margin: 0; display: grid; gap: .75rem; justify-items: center; }
.lightbox img { width: auto; max-width: 100%; max-height: 78vh; border-radius: 22px; }
.lightbox figcaption { font-size: .95rem; text-align: center; }
.lb-controls { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }
.lb-controls button { min-width: 46px; min-height: 44px; padding: .6rem .9rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 13px; background: rgba(255, 255, 255, .08); color: #fff; font: 600 .95rem/1 var(--body); }
.lb-controls button:hover { background: rgba(255, 255, 255, .16); }

/* Phones */
.devices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(255px, 100%), 1fr)); gap: 1rem; margin-top: 2.5rem; }
.device { display: flex; flex-direction: column; gap: 1rem; min-width: 0; padding: 1.5rem; border: 1px solid var(--line-hi); border-radius: 22px; background: var(--surface); }
.device-head { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: .85rem; }
.device h3 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; }
.codename { margin-top: .25rem; font: 500 .85rem/1 var(--mono); color: var(--muted); }
.pill { padding: .25rem .7rem; border-radius: 99px; font-size: .84rem; font-weight: 600; }
.pill.ok { background: rgba(61, 220, 132, .13); color: var(--ok); }
.pill.warn { background: rgba(255, 176, 32, .13); color: var(--warn); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; margin: 0; }
.specs div { display: grid; gap: .15rem; min-width: 0; padding-top: .6rem; border-top: 1px solid var(--line-hi); }
.specs dt { color: var(--muted); font: 500 .68rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.specs dd { margin: 0; font-size: .95rem; font-weight: 500; overflow-wrap: anywhere; }
.device-actions { display: grid; gap: .6rem; }
.device .btn { width: 100%; }
.btn-disabled { background: var(--surface-hi); border-color: var(--line-hi); color: var(--muted); box-shadow: none; cursor: default; }
.btn-disabled:hover { transform: none; }
.device-note { color: var(--muted); font-size: .92rem; }
.device-files { padding-top: .75rem; border-top: 1px solid var(--line-hi); }
.device-files summary { color: var(--muted); font-size: .92rem; cursor: pointer; }
.device-files ul { display: grid; gap: .35rem; margin: .6rem 0 0; padding: 0; list-style: none; }
.device-files li { display: flex; justify-content: space-between; gap: .75rem; font: 400 .82rem/1.4 var(--mono); }
.device-files li a { overflow-wrap: anywhere; }
.device-files li span { color: var(--muted); white-space: nowrap; }
.device.next { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; border-style: dashed; background: transparent; }
.device.next h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.device[hidden] { display: none; }
.device-art { display: grid; place-items: start center; height: 200px; margin: -1.5rem -1.5rem 0; padding-top: 22px; overflow: hidden; border-bottom: 1px solid var(--line-hi); border-radius: 22px 22px 0 0; background: radial-gradient(60% 80% at 50% 105%, rgba(var(--accent-rgb), .4), transparent 72%), #0b0809; }
.device[data-status="bringup"] .device-art { background: radial-gradient(60% 80% at 50% 105%, rgba(255, 176, 32, .22), transparent 72%), #0b0809; }
.device-art img { height: 230px; width: auto; max-width: 100%; object-fit: contain; object-position: top; -webkit-mask: linear-gradient(#000 60%, transparent 88%); mask: linear-gradient(#000 60%, transparent 88%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.device:hover .device-art img { transform: translateY(-8px); }
.device.flash { animation: flash 1.4s ease-out; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 2px var(--accent), 0 0 34px rgba(var(--accent-rgb), .5); } 100% { box-shadow: 0 0 0 0 transparent; } }
.dl-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.seg button .n { margin-left: .35rem; font: 500 .8rem var(--mono); opacity: .75; }
.phone-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.phone-row + .facts { margin-top: 1.1rem; }
.mini-phone { display: flex; align-items: center; gap: .65rem; padding: .35rem .9rem .35rem .45rem; border: 1px solid var(--line-hi); border-radius: 14px; color: var(--fg); text-decoration: none; transition: border-color .15s, background .15s; }
.mini-phone:hover, .mini-phone:focus-visible { border-color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.mini-phone img { height: 54px; width: auto; flex: none; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.mini-phone .mini-icon { width: 20px; height: 34px; margin: 0 .5rem; flex: none; color: var(--muted); }
.mini-phone[data-status="bringup"] img { opacity: .7; }
.mini-phone span { display: grid; gap: .1rem; }
.mini-phone b { font-weight: 600; font-size: .95rem; }
.mini-phone small { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .8rem; }
.mini-phone .dot { width: 7px; height: 7px; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .device-art img { transition: none; } .device.flash { animation: none; outline: 2px solid var(--accent); } }
.device.next p { margin-top: .5rem; color: var(--muted); }

/* Install and FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2.5rem 4rem; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }
.install-links { display: grid; gap: .6rem; margin-top: 1.5rem; }
.update-note { margin-top: 1rem; color: var(--muted); font-size: .96rem; }
.update-note strong { color: var(--fg); font-weight: 600; }
.faq { border-top: 1px solid var(--line-hi); }
.faq details { border-bottom: 1px solid var(--line-hi); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-block: .95rem; font: 600 1.06rem/1.35 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 400 1.5rem/1 var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1rem; color: var(--muted); }

/* Support */
.support { background: var(--band); border-top: 1px solid var(--line); }
.support-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.support h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }

/* Footer */
.footer { padding-block: 3rem 2rem; border-top: 1px solid var(--line); overflow: hidden; }
.footer-inner { display: grid; gap: 1.25rem; }
.foot-word { font: 800 min(8.1vw, 7.2rem)/1.05 var(--display); letter-spacing: -.06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px #6b545b; }
.foot-word b { font-weight: 800; color: var(--accent); -webkit-text-stroke: 0; text-shadow: var(--neon); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { color: var(--muted); }
.legal { max-width: 62rem; font-size: .84rem; color: #a8969b; }

/* Privacy page */
.prose { max-width: 46rem; padding-block: clamp(3rem, 7vw, 5rem); }
.prose h1 { font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.prose .updated { margin-top: .8rem; color: var(--muted); font: 400 .85rem/1.4 var(--mono); }
.prose h2 { margin-top: 2.6rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin-top: .8rem; }
.prose ul { display: grid; gap: .4rem; margin: .8rem 0 0; padding-left: 1.2rem; }
.prose a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
