/* TheCleanDisk — site styles. Plain CSS, no build step. */

:root {
  color-scheme: light dark;
  --bg: #f6f8fb;
  --bg-2: #eef2f8;
  --surface: rgba(255, 255, 255, .72);
  --surface-solid: #ffffff;
  --ink: #0e1a2b;
  --ink-2: #44546a;
  --ink-3: #5c6b80;
  --line: rgba(14, 26, 43, .08);
  --line-2: rgba(14, 26, 43, .15);
  --blue: #2d4bff;
  --blue-ink: #2440e0;
  --sky: #1fa2f0;
  --mint: #2ee6b0;
  --mint-ink: #08704f;
  --blue-soft: rgba(45, 75, 255, .09);
  --mint-soft: rgba(46, 230, 176, .16);
  --amber-ink: #8a5a0a;
  --aurora: linear-gradient(135deg, #2d4bff 0%, #1fa2f0 55%, #2ee6b0 100%);
  --glow-a: rgba(45, 75, 255, .22);
  --glow-b: rgba(31, 162, 240, .20);
  --glow-c: rgba(46, 230, 176, .20);
  --shadow: 0 1px 2px rgba(14, 26, 43, .05), 0 20px 50px -24px rgba(14, 26, 43, .30);
  --shadow-lg: 0 2px 4px rgba(14, 26, 43, .06), 0 40px 100px -30px rgba(20, 40, 120, .45);
  --radius: 22px;
  --radius-s: 14px;
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-2: #0f1828;
    --surface: rgba(255, 255, 255, .05);
    --surface-solid: #121b2c;
    --ink: #e8eef7;
    --ink-2: #a8b5c8;
    --ink-3: #8e9cb2;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .15);
    --blue: #6f86ff;
    --blue-ink: #93a5ff;
    --sky: #4bb8f5;
    --mint: #3ddcab;
    --mint-ink: #5fe3bb;
    --blue-soft: rgba(111, 134, 255, .14);
    --mint-soft: rgba(61, 220, 171, .14);
    --amber-ink: #ffb36b;
    --glow-a: rgba(80, 100, 255, .32);
    --glow-b: rgba(40, 160, 240, .22);
    --glow-c: rgba(46, 230, 176, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 24px 60px -24px rgba(0, 0, 0, .8);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 50px 120px -30px rgba(0, 10, 60, .95);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; position: relative; overflow-x: hidden; color: var(--ink); font: 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
main { overflow-x: clip; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Header: floating glass pill, logo wrapped in a scroll ring ---------- */
.site-head { position: sticky; top: 0; z-index: 40; padding: 12px 16px 0; }
.site-head .bar {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 18px; height: 58px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 10px 30px -20px rgba(14, 26, 43, .35);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 18px; letter-spacing: -.012em; }
.brand b { font-weight: 800; }
.brand .logo { width: 44px; height: 44px; margin-left: -5px; border-radius: 11px; filter: drop-shadow(0 4px 12px rgba(31, 162, 240, .30)); }
@media (max-width: 600px) { .brand .logo { width: 40px; height: 40px; margin-left: -4px; } }
.site-head .bar { position: relative; overflow: hidden; }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--aurora); transform-origin: left; transform: scaleX(var(--progress, 0)); opacity: .9; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; padding-right: 8px; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 820px) { .site-nav .wide { display: none; } .site-nav { gap: 14px; } }

/* ---------- Buttons & status ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .25s var(--ease), background .25s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); background: var(--surface-solid); }
.status {
  display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 24px 0 18px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #2d4bff, #1a6fd6 60%, #0f7f8f);
  box-shadow: 0 16px 36px -14px rgba(45, 75, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }

/* ---------- Mac window frame around screenshots ---------- */
.frame { position: relative; border-radius: 12px; overflow: hidden; background: #efeff2; border: 1px solid rgba(15, 23, 42, .12); box-shadow: var(--shadow-lg); }
.frame img { width: 100%; height: auto; aspect-ratio: 1240 / 780; object-fit: cover; object-position: top; }
.frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; text-align: center; margin-top: -70px; padding: 150px 0 32px; overflow: hidden; }
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.aurora i:nth-child(1) { width: 640px; height: 640px; left: 50%; top: 360px; margin-left: -620px; background: var(--glow-a); animation: drift1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { width: 560px; height: 560px; left: 50%; top: 300px; margin-left: -120px; background: var(--glow-b); animation: drift2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { width: 560px; height: 520px; left: 50%; top: 460px; margin-left: 160px; background: var(--glow-c); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(100px, -40px, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-120px, 60px, 0) scale(.92); } }
.dots { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(var(--line-2) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 60% 45% at 50% 22%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 45% at 50% 22%, #000 20%, transparent 75%); }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; color: var(--ink-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.kicker img { width: 24px; height: 24px; }
.hero h1 { font-size: clamp(54px, 9.6vw, 124px); line-height: .92; letter-spacing: -.055em; font-weight: 800; margin: 24px auto 22px; }
.hero h1 span { display: block; }
.hero .lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.5; color: var(--ink-2); margin: 0 auto 32px; max-width: 34em; }
.hero .actions { justify-content: center; }
.reveal { animation: rise .9s var(--ease) both; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; } .reveal.d4 { animation-delay: .4s; animation-duration: 1.3s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.hero-stage { position: relative; perspective: 1800px; max-width: 1060px; margin: 64px auto 0; }
.hero-stage .frame { transform: rotateX(var(--rx, 10deg)) scale(var(--sc, .96)); transform-origin: 50% 0; transition: transform .5s var(--ease); }
.chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: left;
  animation: bob 6s ease-in-out infinite;
}
.chip small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12.5px; }
.chip .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--aurora); }
.chip .dot .ico { width: 18px; height: 18px; }
.chip.c1 { left: -36px; top: 22%; }
.chip.c2 { right: -40px; top: 46%; animation-delay: -2s; }
.chip.c3 { left: 8%; bottom: -26px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 1140px) { .chip.c1 { left: 8px; } .chip.c2 { right: 8px; } }
@media (max-width: 720px) { .chip { display: none; } .hero-stage { perspective: none; margin-top: 44px; } .hero-stage .frame { transform: none; } }

/* Trust strip */
.trust { list-style: none; margin: 72px auto 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: left; font-size: 15px; font-weight: 600; }
.trust .ico { color: var(--blue-ink); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 0 0 16px; }
.section-head p { margin: 0 auto; font-size: 19px; color: var(--ink-2); max-width: 36em; }
@media (max-width: 640px) { .section { padding: 80px 0; } .section-head { margin-bottom: 40px; } }

.js-motion [data-in] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-motion [data-in].in { opacity: 1; transform: none; }
.js-motion .feature .frame-wrap[data-in] { transform: translateY(40px) scale(.95) rotate(var(--tilt, -1.5deg)); }
.js-motion .feature .frame-wrap[data-in].in { transform: none; }

/* How it works: pinned window, crossfading screens */
.story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; }
.story-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.story-steps li { counter-increment: s; min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.story-steps li h3 { color: var(--ink-3); transition: color .5s var(--ease); }
.story-steps li.active h3 { color: var(--ink); }

.story-steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 20px; font-weight: 800; color: var(--ink); border: 1px solid var(--line-2); background: var(--surface); transition: all .4s var(--ease); }
.story-steps li.active::before { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 8px var(--blue-soft); }
@media (prefers-color-scheme: dark) { .story-steps li.active::before { color: #0b1220; } }
.story-steps h3 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 12px; }
.story-steps p { margin: 0; font-size: 18.5px; color: var(--ink-2); max-width: 26em; }
.story-steps .inline-shot { display: none; }
.story-pin { position: sticky; top: calc(50vh - 220px); height: 440px; display: grid; align-items: center; }
.story-pin .frame img { opacity: 0; transform: scale(1.03); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.story-pin .frame img + img { position: absolute; inset: 0; }
.story[data-step="1"] .shot-1, .story[data-step="2"] .shot-2, .story[data-step="3"] .shot-3 { opacity: 1; transform: none; }
.pin-glow { position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-b), transparent 70%); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-pin { display: none; }
  .story-steps li { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .story-steps li::before { background: var(--blue); border-color: var(--blue); color: #fff; }
  .story-steps .inline-shot { display: block; margin-top: 22px; }
}

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; padding: 72px 0; }
.feature.flip .text { order: 2; }
.feature.flip .frame-wrap { --tilt: 1.5deg; }
.feature .label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--blue-ink); margin-bottom: 14px; }
.feature h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.03; letter-spacing: -.042em; margin: 0 0 16px; font-weight: 800; }
.feature p { margin: 0 0 18px; font-size: 18.5px; color: var(--ink-2); max-width: 30em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7f5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pills span { font-size: 14px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.frame-wrap { position: relative; }
.frame-wrap::before { content: ""; position: absolute; inset: -14% -10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--glow-a), transparent 70%); opacity: .7; }
.feature.flip .frame-wrap::before { background: radial-gradient(closest-side, var(--glow-c), transparent 70%); }
.pair { position: relative; padding-bottom: 18%; }
.pair .frame:first-child { width: 86%; }
.pair .frame:nth-child(2) { position: absolute; width: 74%; right: -6%; bottom: 0; }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .feature.flip .text { order: 0; }
  .pair .frame:nth-child(2) { right: 0; }
}
.bubble { position: absolute; z-index: 2; left: -24px; top: -26px; max-width: 340px; padding: 14px 18px; border-radius: 18px 18px 18px 6px; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-weight: 600; font-size: 16px; }
.bubble span { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 2px solid var(--blue); max-width: 100%; }
.js-motion .bubble span { width: 0; }
.js-motion .bubble.in span { animation: type 2.4s steps(32) .4s forwards, caret 1s step-end infinite; }
@keyframes type { to { width: 32ch; } }
@keyframes caret { 50% { border-color: transparent; } }
@media (max-width: 960px) { .bubble { left: 8px; } }

/* Undo slider */
.undo-lab { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 48px; border-radius: 32px; border: 1px solid var(--line); background: var(--surface); position: relative; overflow: hidden; }
.undo-lab::before { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(closest-side, var(--mint-soft), transparent); }
.undo-lab h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 16px; }
.undo-lab p { color: var(--ink-2); font-size: 18px; margin: 0 0 14px; }
.lab { position: relative; padding: 26px; border-radius: 22px; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.lab .lab-head { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.lab output { color: var(--blue-ink); }
.lab input[type="range"] { width: 100%; accent-color: var(--blue); height: 28px; cursor: pointer; }
.lab .scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin: 2px 2px 20px; }
.lab .item { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); transition: opacity .4s, filter .4s; }
.lab .item .app { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--aurora); }
.lab .item b { display: block; font-size: 15px; } .lab .item small { color: var(--ink-3); font-size: 13px; }
.lab .item .act { margin-left: auto; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; background: var(--mint-ink); color: #fff; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .lab .item .act { color: #07160f; } }
.lab[data-freed="true"] .item { filter: grayscale(1); opacity: .6; }
.lab[data-freed="true"] .item .act { background: transparent; color: var(--ink-3); border: 1px solid var(--line-2); }
.lab .note { margin: 16px 2px 0; font-size: 14.5px; color: var(--ink-2); min-height: 44px; }
@media (max-width: 900px) { .undo-lab { grid-template-columns: 1fr; padding: 28px 20px; gap: 32px; } }

/* Privacy band (always dark) */
.privacy { position: relative; overflow: hidden; border-radius: 36px; padding: 88px 48px; text-align: center; color: #e8eef7; background: radial-gradient(800px 400px at 50% 0%, rgba(45, 75, 255, .4), transparent 70%), radial-gradient(600px 300px at 80% 100%, rgba(46, 230, 176, .14), transparent 70%), #0b1220; border: 1px solid rgba(255, 255, 255, .08); }
.privacy h2 { color: #fff; font-size: clamp(36px, 5.4vw, 66px); line-height: 1; letter-spacing: -.05em; margin: 0 auto 18px; max-width: 14ch; }
.privacy > p { color: #b4c0d2; font-size: 19px; margin: 0 auto 44px; max-width: 34em; }
.privacy a { color: #fff; }
.orbit { position: relative; width: 112px; height: 112px; margin: 0 auto 34px; }
.orbit img { position: relative; z-index: 1; width: 112px; height: 112px; filter: drop-shadow(0 20px 40px rgba(45, 75, 255, .55)); }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: -40px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); animation: spin 40s linear infinite; }
.orbit::after { inset: -80px; animation-duration: 70s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.pfacts { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: left; }
.pfacts li { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.pfacts b { display: block; color: #fff; margin-bottom: 4px; }
.pfacts span { color: #b4c0d2; font-size: 15px; }
@media (max-width: 900px) { .pfacts { grid-template-columns: 1fr 1fr; } .privacy { padding: 64px 22px; } }
@media (max-width: 520px) { .pfacts { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; }
.faq .section-head { margin: 0; text-align: left; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; font-weight: 600; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details p { margin: -6px 2px 22px; color: var(--ink-2); max-width: 44em; }

/* Final call to action: the aurora band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 40px; padding: 96px 32px; text-align: center; color: #fff; background: var(--aurora); }
.cta-band::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .22), transparent 30%); animation: spin 14s linear infinite; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 10, 50, .18), rgba(0, 10, 50, .38)); }
.cta-band img { width: 112px; height: 112px; margin: 0 auto 28px; filter: drop-shadow(0 20px 40px rgba(0, 0, 60, .4)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.cta-band h2 { color: #fff; font-size: clamp(44px, 7.6vw, 96px); line-height: .94; letter-spacing: -.055em; margin: 0 0 18px; font-weight: 800; text-shadow: 0 2px 30px rgba(0, 0, 60, .3); }
.cta-band p { margin: 0 auto 30px; max-width: 30em; font-size: 19px; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 60, .35); }
.cta-band .actions { justify-content: center; }
.cta-band .status { background: #fff; color: #0e1a2b; box-shadow: 0 16px 36px -14px rgba(0, 0, 40, .5); }
.cta-band .status::before { background: #2d4bff; }
@media (max-width: 640px) { .cta-band { border-radius: 28px; padding: 64px 20px; } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); margin-top: 96px; padding: 56px 0 40px; font-size: 15px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid p { margin: 12px 0 0; max-width: 22em; }
.foot-grid h2 { font-size: 15px; font-family: var(--font); margin: 4px 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 0 0 8px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-brand img { width: 32px; height: 32px; }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Document pages ---------- */
.page-glow { position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: -1; }
.page-glow i { opacity: .55; }
.page-glow i:nth-child(1) { top: -260px; } .page-glow i:nth-child(2) { top: -200px; }
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 8px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 0 0 14px; }
.doc .intro { font-size: 19px; color: var(--ink-2); margin: 0 0 10px; }
.doc .meta { color: var(--ink-3); font-size: 14.5px; margin: 0 0 28px; }
.doc h2 { font-size: 24px; letter-spacing: -.015em; margin: 48px 0 10px; }
.doc h3 { font-size: 18px; margin: 28px 0 6px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .box, .copy { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 18px 22px; margin: 24px 0; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.doc .box p { margin: 0; }
.copy { margin: 12px 0 24px; } .copy p { margin: 0 0 10px; } .copy p:last-child { margin: 0; }
.doc details:first-of-type { margin-top: 8px; }
.doc .frame, .doc .lab { margin: 24px 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 16px 0; }
.facts dt { color: var(--ink-3); } .facts dd { margin: 0; }
.press-icon { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.press-icon img { width: 128px; height: 128px; }
.tag { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag.safe { color: var(--mint-ink); background: var(--mint-soft); }
.tag.review { color: var(--amber-ink); background: rgba(255, 179, 107, .18); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
  .hero-stage .frame { transform: none; }
  .bubble span, .js-motion .bubble span { width: auto; border-right: 0; }
}

/* =========================================================
   Illustrations — drawn in HTML/CSS/SVG, sharp at any size.
   They explain ideas; they are not screenshots of the app.
   ========================================================= */
.illo {
  position: relative; container-type: inline-size; aspect-ratio: 16 / 11; border-radius: 28px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 18% 20%, var(--glow-a), transparent 70%),
    radial-gradient(55% 60% at 85% 85%, var(--glow-c), transparent 70%),
    linear-gradient(180deg, var(--surface-solid), var(--bg-2));
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  font-size: clamp(11px, 2.25cqw, 17px); line-height: 1.35; color: var(--ink); text-align: left;
}
.illo::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(var(--line-2) 1px, transparent 1.3px); background-size: 22px 22px; opacity: .55; -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.illo.wide { aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .illo { aspect-ratio: 1 / 1; } .illo.wide { aspect-ratio: 4 / 5; } }
.g { position: absolute; background: color-mix(in srgb, var(--surface-solid) 92%, transparent); border: 1px solid var(--line-2); border-radius: 1.2em; box-shadow: var(--shadow); padding: .9em 1.1em; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.g b { display: block; font-size: 1.05em; letter-spacing: -.01em; }
.g small { display: block; color: var(--ink-3); font-size: .86em; margin-top: .15em; }
.g .row { display: flex; align-items: center; gap: .7em; }
.g .row + .row { margin-top: .7em; padding-top: .7em; border-top: 1px solid var(--line); }
.g .row > div { min-width: 0; flex: 1; }
.ap { flex: none; width: 2.4em; height: 2.4em; border-radius: .7em; display: grid; place-items: center; color: #fff; background: var(--aurora); }
.ap .ico { width: 1.25em; height: 1.25em; }
.ap.b2 { background: linear-gradient(135deg, #1fa2f0, #2ee6b0); } .ap.b3 { background: linear-gradient(135deg, #6a5cff, #2d4bff); } .ap.b4 { background: linear-gradient(135deg, #ff9f43, #ff6b6b); } .ap.b5 { background: linear-gradient(135deg, #8a94a6, #5c6b80); }
.t { flex: none; font-size: .8em; font-weight: 700; padding: .25em .75em; border-radius: 999px; white-space: nowrap; }
.t.s { color: var(--mint-ink); background: var(--mint-soft); } .t.r { color: var(--amber-ink); background: rgba(255, 179, 107, .2); } .t.n { color: var(--ink-3); background: var(--line); }
.cb { flex: none; width: 1.25em; height: 1.25em; border-radius: .35em; border: 1.5px solid var(--line-2); display: grid; place-items: center; }
.cb.on { background: var(--blue); border-color: var(--blue); }
.cb.on::after { content: ""; width: .5em; height: .28em; border: .14em solid #fff; border-top: 0; border-right: 0; transform: translateY(-.06em) rotate(-45deg); }
.btn-i { display: inline-flex; align-items: center; gap: .4em; padding: .55em 1.1em; border-radius: 999px; background: var(--aurora); color: #fff; font-weight: 700; font-size: .92em; box-shadow: 0 .8em 1.6em -.8em rgba(45, 75, 255, .8); }
.btn-i.mint { background: var(--mint-ink); } .btn-i.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); box-shadow: none; }
@media (prefers-color-scheme: dark) { .btn-i.mint { color: #07160f; } }
.float { animation: bob 7s ease-in-out infinite; } .float.f2 { animation-delay: -2.3s; } .float.f3 { animation-delay: -4.6s; } .float.f4 { animation-delay: -1.2s; }
.illo-cap { margin: 14px 4px 0; font-size: 13px; color: var(--ink-3); text-align: center; }

/* Hero: the disk ring */
.ring-x { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.ring-x svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-x circle { fill: none; stroke-linecap: round; }
.ring-x .trk { stroke: var(--line-2); stroke-width: 7; }
.ring-x .seg { stroke-width: 7; transition: stroke-dashoffset 1s var(--ease); }
.ring-x .s1 { stroke: #2d4bff; stroke-dasharray: 34 100; }
.ring-x .s2 { stroke: #1fa2f0; stroke-dasharray: 18 100; stroke-dashoffset: -36; }
.ring-x .s3 { stroke: #8f7bff; stroke-dasharray: 12 100; stroke-dashoffset: -56; }
.ring-x .s4 { stroke: #2ee6b0; stroke-dasharray: 20 100; stroke-dashoffset: -70; animation: free 9s var(--ease) infinite; }
@keyframes free { 0%, 30% { stroke-dasharray: 20 100; opacity: 1; } 55%, 85% { stroke-dasharray: 0 100; opacity: 0; } 100% { stroke-dasharray: 20 100; opacity: 1; } }
.ring-x .halo { stroke: url(#auroraStroke); stroke-width: 1; opacity: .5; stroke-dasharray: 2 4; animation: turn 40s linear infinite; transform-origin: 50% 50%; }
@keyframes turn { to { transform: rotate(360deg); } }
.ring-core { position: absolute; inset: 22%; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: .2em; background: radial-gradient(circle at 35% 30%, var(--surface-solid), color-mix(in srgb, var(--surface-solid) 80%, var(--blue-soft))); box-shadow: inset 0 0 0 1px var(--line-2), 0 1.2em 3em -1.4em rgba(45, 75, 255, .45); }
.ring-core img { width: 3.6em; height: 3.6em; margin: 0 auto .4em; border-radius: .9em; }
.ring-core b { font-size: 1.5em; letter-spacing: -.03em; }
.ring-core small { color: var(--ink-3); font-size: .85em; }
.hero-illo .g.k1 { left: 4%; top: 12%; width: 31%; }
.hero-illo .g.k2 { left: 6%; bottom: 12%; width: 29%; }
.hero-illo .g.k3 { right: 4%; top: 14%; width: 28%; }
.hero-illo .g.k4 { right: 5%; bottom: 14%; width: 30%; }
.legend-x { display: flex; flex-wrap: wrap; gap: .5em .9em; margin-top: .6em; font-size: .85em; color: var(--ink-2); }
.legend-x i { display: inline-block; width: .7em; height: .7em; border-radius: 50%; margin-right: .35em; vertical-align: -.05em; }
@media (max-width: 600px) {
  .ring-x { width: 62%; top: 52%; }
  .hero-illo .g.k1 { left: 4%; top: 4%; width: 54%; } .hero-illo .g.k3 { right: 4%; top: 4%; width: 38%; display: none; }
  .hero-illo .g.k2 { display: none; } .hero-illo .g.k4 { right: 4%; bottom: 4%; width: 56%; }
}

/* Step scenes */
.scene-x { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.story[data-step="1"] .sc1, .story[data-step="2"] .sc2, .story[data-step="3"] .sc3 { opacity: 1; transform: none; }
.radar-x { position: relative; width: 52%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); background: radial-gradient(circle, transparent 31%, var(--line) 32%, transparent 33%, transparent 64%, var(--line) 65%, transparent 66%); overflow: hidden; }
.radar-x::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 290deg, color-mix(in srgb, var(--sky) 55%, transparent) 360deg); animation: turn 3s linear infinite; }
.radar-x i { position: absolute; width: 3%; aspect-ratio: 1; border-radius: 50%; background: var(--blue); box-shadow: 0 0 1em var(--blue); animation: blip 3s linear infinite; }
@keyframes blip { 0%, 100% { opacity: .25; } 10% { opacity: 1; } }
.sc1 .g { left: 6%; bottom: 8%; }
.sc1 .g.tr { left: auto; right: 6%; bottom: auto; top: 8%; }
.sc2 .g.main { position: relative; width: 62%; }
.sc2 .g.main dl { margin: .8em 0 0; display: grid; grid-template-columns: auto 1fr; gap: .45em 1em; font-size: .95em; }
.sc2 .g.main dt { color: var(--ink-3); } .sc2 .g.main dd { margin: 0; }
.sc2 .g.back { width: 52%; left: 30%; top: 12%; opacity: .55; transform: rotate(-4deg); }
.sc3 .lane { position: relative; width: 84%; height: 70%; }
.sc3 .chip-x { position: absolute; left: 0; padding: .6em .9em; border-radius: .8em; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-weight: 600; font-size: .95em; animation: tobox 4.2s var(--ease) infinite; }
.sc3 .chip-x:nth-child(1) { top: 2%; } .sc3 .chip-x:nth-child(2) { top: 20%; left: 6%; animation-delay: .35s; } .sc3 .chip-x:nth-child(3) { top: 38%; left: 1%; animation-delay: .7s; }
@keyframes tobox { 0%, 12% { transform: none; opacity: 1; } 55%, 100% { transform: translate(14em, 6.4em) scale(.45); opacity: 0; } }
.sc3 .qbox { position: absolute; right: 0; bottom: 0; width: 54%; padding: 1em 1.1em; border-radius: 1.2em; background: var(--surface-solid); border: 1px solid color-mix(in srgb, var(--mint-ink) 35%, transparent); box-shadow: var(--shadow); }
.days-x { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3em; margin: .8em 0; }
.days-x i { height: 1.6em; border-radius: .4em; background: var(--mint-soft); animation: dayfill 4.2s var(--ease) infinite; }
.days-x i:nth-child(2) { animation-delay: .15s; } .days-x i:nth-child(3) { animation-delay: .3s; } .days-x i:nth-child(4) { animation-delay: .45s; } .days-x i:nth-child(5) { animation-delay: .6s; } .days-x i:nth-child(6) { animation-delay: .75s; } .days-x i:nth-child(7) { animation-delay: .9s; }
@keyframes dayfill { 0%, 100% { background: var(--mint-soft); } 35% { background: color-mix(in srgb, var(--mint-ink) 55%, transparent); } }

/* Quick Clean */
.orb-x { position: absolute; left: 50%; top: 46%; width: 25%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 32% 28%, #ffffff, #cfe6ff 30%, #4f8dff 62%, #2d4bff 82%); box-shadow: 0 2em 4em -1.6em rgba(45, 75, 255, .8), inset 0 -.8em 2em rgba(0, 20, 80, .3); }
.orb-x::before, .orb-x::after { content: ""; position: absolute; inset: -12%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--blue) 50%, transparent); animation: ripple 3.2s var(--ease) infinite; }
.orb-x::after { animation-delay: 1.6s; }
@keyframes ripple { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.orb-x span { color: #0b1a4a; font-weight: 800; font-size: 1.25em; text-shadow: 0 1px 0 rgba(255, 255, 255, .7); text-align: center; line-height: 1.1; }
.qc .g.cat { width: 31%; }
.qc .g.c1 { left: 4%; top: 8%; } .qc .g.c2 { right: 4%; top: 8%; } .qc .g.c3 { left: 4%; bottom: 10%; } .qc .g.c4 { right: 4%; bottom: 10%; }
.qc .never { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); display: flex; gap: .5em; flex-wrap: wrap; justify-content: center; width: 40%; }
@media (max-width: 600px) { .qc .g.cat { width: 42%; } .orb-x { width: 38%; } .qc .never { display: none; } }

/* Developer: build-data list with bars */
.dev .g.list { left: 10%; right: 10%; top: 50%; transform: translateY(-50%); }
.bar-x { height: .45em; border-radius: 99px; background: var(--line); overflow: hidden; margin-top: .35em; }
.bar-x u { display: block; height: 100%; width: var(--w, 60%); border-radius: inherit; background: var(--aurora); transform-origin: left; animation: growx 4s var(--ease) infinite alternate; }
@keyframes growx { from { transform: scaleX(.2); } to { transform: scaleX(1); } }
.dev .term { position: absolute; right: 6%; bottom: 7%; padding: .8em 1em; border-radius: 1em; background: #0d1424; color: #b9c6db; font: .85em/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .08); }
.dev .term b { color: #2ee6b0; font-weight: 600; display: inline; font-size: 1em; }
@media (max-width: 600px) { .dev .term { display: none; } .dev .g.list { top: 6%; left: 5%; right: 5%; } }

/* Big Files & Duplicates */
.tiles { position: absolute; left: 6%; top: 9%; width: 52%; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.tile { aspect-ratio: 4 / 3; border-radius: .8em; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.tile::after { content: ""; position: absolute; left: 8%; bottom: 10%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .8); }
.tile.v::after { border-radius: 0; width: 0; aspect-ratio: auto; height: 0; border-left: .7em solid rgba(255, 255, 255, .9); border-top: .45em solid transparent; border-bottom: .45em solid transparent; background: none; left: 42%; bottom: 36%; }
.p1 { background: linear-gradient(160deg, #ffb17a, #ff6f91 55%, #6c5ce7); } .p2 { background: linear-gradient(160deg, #6ee7f9, #2d4bff); } .p3 { background: linear-gradient(160deg, #a7f3d0, #10b981 60%, #065f46); } .p4 { background: linear-gradient(160deg, #fde68a, #f59e0b 60%, #b45309); } .p5 { background: linear-gradient(160deg, #c4b5fd, #7c3aed); } .p6 { background: linear-gradient(160deg, #93c5fd, #1e3a8a); }
.dupes-x { position: absolute; right: 6%; bottom: 10%; width: 40%; }
.dupes-x .pairs { display: flex; gap: .6em; align-items: center; margin: .7em 0 .4em; }
.dupes-x .tile { width: 42%; }
.dupes-x .tile.copy { animation: fadecopy 4.4s var(--ease) infinite; }
@keyframes fadecopy { 0%, 35% { opacity: 1; transform: none; } 60%, 85% { opacity: .15; transform: translateY(.4em) scale(.92); } 100% { opacity: 1; transform: none; } }
@media (max-width: 600px) { .tiles { width: 88%; } .dupes-x { width: 72%; } }

/* Applications */
.apps-x .core { position: absolute; left: 50%; top: 40%; width: 18%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 24%; background: linear-gradient(135deg, #6a5cff, #2d4bff); box-shadow: 0 1.6em 3em -1.4em rgba(45, 75, 255, .8); display: grid; place-items: center; color: #fff; }
.apps-x .core .ico { width: 45%; height: 45%; }
.apps-x .bit { position: absolute; left: 50%; top: 40%; padding: .4em .7em; border-radius: .6em; background: var(--surface-solid); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .8em; font-weight: 600; white-space: nowrap; animation: gather 5s var(--ease) infinite; }
.apps-x .bit:nth-child(2) { --x: -230%; --y: -330%; } .apps-x .bit:nth-child(3) { --x: 120%; --y: -360%; animation-delay: .2s; } .apps-x .bit:nth-child(4) { --x: 150%; --y: 160%; animation-delay: .4s; }
.apps-x .bit:nth-child(5) { --x: -250%; --y: 200%; animation-delay: .6s; } .apps-x .bit:nth-child(6) { --x: -320%; --y: -40%; animation-delay: .8s; } .apps-x .bit:nth-child(7) { --x: 230%; --y: -60%; animation-delay: 1s; }
@keyframes gather { 0%, 45% { transform: translate(var(--x), var(--y)); opacity: 1; } 70%, 82% { transform: translate(-50%, -50%) scale(.3); opacity: 0; } 100% { transform: translate(var(--x), var(--y)); opacity: 1; } }
.apps-x .g.note { left: 50%; bottom: 6%; transform: translateX(-50%); width: 50%; text-align: center; padding: .7em 1em; }

/* iCloud */
.cloud-x { position: absolute; left: 50%; top: 6%; width: 32%; transform: translateX(-50%); color: var(--sky); filter: drop-shadow(0 1.2em 1.6em rgba(31, 162, 240, .35)); }
.cloud-x svg { width: 100%; height: auto; }
.mac-x { position: absolute; left: 50%; bottom: 8%; width: 40%; transform: translateX(-50%); }
.mac-x .scr { aspect-ratio: 16 / 10; border-radius: .8em .8em 0 0; background: linear-gradient(180deg, var(--surface-solid), var(--bg-2)); border: 1px solid var(--line-2); border-bottom: 0; display: grid; place-items: center; padding: .8em; }
.mac-x .base { height: .7em; border-radius: 0 0 .9em .9em; background: var(--line-2); margin: 0 -8%; }
.doc-x { width: 34%; aspect-ratio: 3 / 4; border-radius: .5em; background: linear-gradient(160deg, #6ee7f9, #2d4bff); position: relative; box-shadow: var(--shadow); animation: lift 5s var(--ease) infinite; }
.doc-x::after { content: "MOV"; position: absolute; left: 0; right: 0; bottom: 12%; text-align: center; color: #fff; font-weight: 800; font-size: .75em; letter-spacing: .08em; }
@keyframes lift { 0%, 25% { transform: none; opacity: 1; } 60%, 85% { transform: translateY(-7em) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.icl .g.note { right: 5%; top: 42%; width: 30%; }
.icl .g.note2 { left: 5%; top: 46%; width: 28%; }
@media (max-width: 600px) { .icl .g.note, .icl .g.note2 { display: none; } .cloud-x { width: 60%; } .mac-x { width: 64%; } }

/* Storage map (treemap) */
.tm { position: absolute; left: 6%; right: 6%; top: 9%; bottom: 20%; display: grid; grid-template-columns: 2.2fr 1.4fr 1fr; grid-template-rows: 1.3fr 1fr 1fr; gap: .45em; }
.tm i { white-space: nowrap; text-overflow: ellipsis; border-radius: .7em; position: relative; overflow: hidden; color: #fff; font-style: normal; font-weight: 700; font-size: .85em; padding: .6em .7em; animation: breathe 7s ease-in-out infinite; }
.tm i:nth-child(1) { grid-row: span 3; background: linear-gradient(160deg, #2d4bff, #1fa2f0); }
.tm i:nth-child(2) { grid-row: span 2; background: linear-gradient(160deg, #1fa2f0, #2ee6b0); animation-delay: -2s; }
.tm i:nth-child(3) { background: linear-gradient(160deg, #8f7bff, #6a5cff); animation-delay: -3s; }
.tm i:nth-child(4) { background: linear-gradient(160deg, #2ee6b0, #10b981); animation-delay: -1s; color: #06281d; }
.tm i:nth-child(5) { background: linear-gradient(160deg, #5c6b80, #44546a); animation-delay: -4s; }
.tm i:nth-child(6) { background: linear-gradient(160deg, #ffb17a, #ff6f91); animation-delay: -5s; }
@keyframes breathe { 50% { filter: saturate(1.25) brightness(1.06); } }
.tm .cursor { position: absolute; width: 1.4em; height: 1.4em; left: 30%; top: 40%; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 .4em rgba(255, 255, 255, .25); animation: hop 6s var(--ease) infinite; z-index: 2; }
@keyframes hop { 0%, 100% { left: 22%; top: 38%; } 33% { left: 62%; top: 26%; } 66% { left: 80%; top: 70%; } }
.smap .crumbs { position: absolute; left: 6%; bottom: 7%; display: flex; gap: .4em; align-items: center; font-size: .9em; color: var(--ink-2); }
.smap .crumbs span { padding: .3em .7em; border-radius: 999px; background: var(--surface-solid); border: 1px solid var(--line-2); }

/* Health & Security */
.hs .g.health { left: 5%; top: 9%; width: 49%; }
.spark-x { width: 100%; height: 4.5em; margin-top: .4em; }
.spark-x path { fill: none; stroke: url(#auroraStroke); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 5s var(--ease) infinite; }
@keyframes draw { 60%, 100% { stroke-dashoffset: 0; } }
.meters-x { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; margin-top: .6em; }
.meters-x div { padding: .5em .6em; border-radius: .7em; background: var(--line); font-size: .85em; color: var(--ink-2); }
.meters-x b { font-size: 1.05em; color: var(--ink); }
.hs .g.sec { right: 4%; bottom: 7%; width: 42%; }
.checks-x { list-style: none; margin: .5em 0 0; padding: 0; display: grid; gap: .45em; font-size: .92em; }
.checks-x li { display: flex; align-items: center; gap: .5em; }
.checks-x li::before { content: ""; width: 1.1em; height: 1.1em; border-radius: 50%; flex: none; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7f5f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 70% no-repeat; animation: tick 6s var(--ease) infinite; }
.checks-x li:nth-child(2)::before { animation-delay: .2s; } .checks-x li:nth-child(3)::before { animation-delay: .4s; } .checks-x li:nth-child(4)::before { animation-delay: .6s; } .checks-x li:nth-child(5)::before { animation-delay: .8s; } .checks-x li:nth-child(6)::before { animation-delay: 1s; }
@keyframes tick { 0% { transform: scale(0); } 8%, 100% { transform: scale(1); } }
.hs .nospeed { position: absolute; left: 6%; bottom: 10%; width: 40%; }
@media (max-width: 600px) { .hs .g.health { width: 90%; } .hs .g.sec { width: 70%; } .hs .nospeed { display: none; } }

/* Assistant chat */
.chat-x { position: absolute; left: 7%; right: 7%; top: 8%; bottom: 8%; display: flex; flex-direction: column; gap: .8em; }
.msg { max-width: 78%; padding: .8em 1em; border-radius: 1.1em; box-shadow: var(--shadow); font-size: .98em; }
.msg.me { align-self: flex-end; background: var(--aurora); color: #fff; border-bottom-right-radius: .35em; font-weight: 600; }
.msg.ai { align-self: flex-start; background: var(--surface-solid); border: 1px solid var(--line-2); border-bottom-left-radius: .35em; }
.msg.ai ul { margin: .4em 0 0; padding-left: 1.1em; }
.msg.ai li { margin: .2em 0; }
.msg .meta-x { display: flex; align-items: center; gap: .4em; font-size: .8em; color: var(--ink-3); margin-bottom: .35em; }
.typing { display: inline-flex; gap: .3em; padding: .9em 1em; align-self: flex-start; border-radius: 1.1em; background: var(--surface-solid); border: 1px solid var(--line-2); }
.typing i { width: .45em; height: .45em; border-radius: 50%; background: var(--ink-3); animation: dots 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-.2em); } }
.chat-x .ask { margin-top: auto; display: flex; align-items: center; gap: .6em; padding: .7em .8em .7em 1em; border-radius: 999px; background: var(--surface-solid); border: 1px solid var(--line-2); color: var(--ink-3); box-shadow: var(--shadow); }
.chat-x .ask .btn-i { margin-left: auto; padding: .45em .9em; }

/* Automations */
.auto .g.sched { left: 6%; top: 9%; width: 50%; }
.tog { flex: none; width: 2.4em; height: 1.4em; border-radius: 999px; background: var(--line-2); position: relative; }
.tog::after { content: ""; position: absolute; top: .15em; left: .15em; width: 1.1em; height: 1.1em; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s; }
.tog.on { background: var(--mint-ink); } .tog.on::after { transform: translateX(1em); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3em; margin-top: .7em; font-size: .78em; text-align: center; color: var(--ink-3); }
.week span { padding: .35em 0; border-radius: .5em; background: var(--line); }
.week span.on { background: var(--blue); color: #fff; font-weight: 700; }
.notif { position: absolute; right: 5%; top: 46%; width: 44%; display: flex; gap: .8em; align-items: flex-start; animation: drop 6s var(--ease) infinite; }
.notif img { width: 2.4em; height: 2.4em; border-radius: .6em; flex: none; }
@keyframes drop { 0%, 8% { transform: translateY(-1.5em); opacity: 0; } 18%, 80% { transform: none; opacity: 1; } 92%, 100% { transform: translateY(-1em); opacity: 0; } }
.auto .g.never { left: 6%; bottom: 9%; width: 46%; }
@media (max-width: 600px) { .auto .g.sched { width: 88%; } .notif { width: 80%; top: auto; bottom: 30%; } .auto .g.never { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .ring-x .s4 { stroke-dasharray: 20 100; opacity: 1; }
  .sc3 .chip-x, .doc-x, .apps-x .bit { opacity: 1; }
  .apps-x .bit { transform: translate(var(--x), var(--y)); }
  .notif { opacity: 1; transform: none; }
}
.chat-x { font-size: .9em; }
@media (max-width: 600px) {
  .dev .g.list { top: 5%; transform: none; }
  .apps-x .bit:nth-child(6), .apps-x .bit:nth-child(7) { display: none; }
  .apps-x .bit:nth-child(2) { --x: -160%; } .apps-x .bit:nth-child(3) { --x: 60%; } .apps-x .bit:nth-child(4) { --x: 60%; } .apps-x .bit:nth-child(5) { --x: -170%; }
  .hs .g.health { top: 4%; } .hs .meters-x { display: none; } .hs .g.sec { bottom: 4%; width: 78%; }
}

/* Guides / blog */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.post h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.06; }
.answer { margin: 8px 0 28px; padding: 20px 22px; border-radius: var(--radius-s); background: var(--mint-soft); border: 1px solid color-mix(in srgb, var(--mint) 45%, transparent); }
.answer .answer-label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-ink); margin: 0 0 8px; }
.answer p { margin: 0; font-size: 18px; }
.toc { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-s); padding: 16px 22px; margin: 0 0 12px; }
.toc h2 { font-size: 15px; margin: 0 0 6px; color: var(--ink-2); }
.toc ol { margin: 0; padding-left: 20px; columns: 2 240px; column-gap: 28px; font-size: 15.5px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.prose h2 { scroll-margin-top: 90px; }
.prose ol { padding-left: 22px; }
.prose code, .answer code { font: .88em ui-monospace, "SF Mono", Menlo, monospace; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.prose pre { margin: 14px 0 18px; padding: 14px 18px; border-radius: 12px; background: #0e1626; color: #e8eef7; overflow-x: auto; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: 14.5px; }
.post-faq { margin-top: 48px; }
.post-faq h2 { scroll-margin-top: 90px; }
.related { margin-top: 56px; }
.related h2 { font-size: 22px; }
.guide-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; }
.guide-list.wide, .guide-list.home { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.guide-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), border-color .25s var(--ease); }
.guide-card:hover { transform: translateY(-2px); border-color: var(--blue); }
.guide-meta { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.guide-title { font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.guide-desc { font-size: 15px; color: var(--ink-2); }
.blog-index .guide-list { margin-top: 28px; }
.guides-more { text-align: center; margin: 24px 0 0; font-weight: 600; }
.toc ul { margin: 0; padding-left: 18px; columns: 2 240px; column-gap: 28px; font-size: 15.5px; }
.doc .guide-list { padding-left: 0; }
.doc .guide-list li { margin: 0; }
@media (max-width: 600px) { .crumbs li:last-child { display: none; } }
