:root {
  --ink: #0b0b10;
  --muted: #66656f;
  --canvas: #f3f1f7;
  --surface: #faf9fc;
  --green: rgba(90, 225, 76, 0.89);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease2: cubic-bezier(.2, .7, .2, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --pad: 40px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
svg { display: block; }
img { display: block; }

/* ---------- buttons ---------- */
.btn-black, .btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 20px; border-radius: 14px;
  font: 600 15px/1 var(--font); letter-spacing: -0.2px;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease;
}
.btn-black { background: #000; color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-black:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.btn-black svg { margin-top: -2px; }
.btn-glass {
  position: relative;
  --lg-tint: rgba(255,255,255,.5); --lg-blur: 12px;
  box-shadow: 0 6px 18px rgba(30,20,60,.08);
}
.btn-glass:hover { --lg-tint: rgba(255,255,255,.85); transform: translateY(-2px); }
.sm { height: 34px; padding: 0 14px; border-radius: 10px; font-size: 14px; gap: 6px; }
.lg { height: 56px; padding: 0 30px; border-radius: 18px; font-size: 19px; }
.full { width: 100%; height: 48px; }

/* ---------- liquid glass material ----------
   The blur lives on ::before, never on the element itself. An element with
   backdrop-filter becomes the "backdrop root" for everything inside it, so glass
   nested in glass (dock in desktop, button in price card) used to blur only its
   parent's tint and render as flat grey. ::after draws the rim light.
   main.js adds edge refraction on Chromium; Safari/Firefox keep the frosted blur. */
.nav-glass, .desktop, .dock, .showcase-dock, .demo-dock, .btn-glass, .price { isolation: isolate; }
:is(.nav-glass, .desktop, .dock, .showcase-dock, .demo-dock, .btn-glass, .price)::before,
:is(.nav-glass, .desktop, .dock, .showcase-dock, .demo-dock, .btn-glass, .price)::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
}
:is(.nav-glass, .desktop, .dock, .showcase-dock, .demo-dock, .btn-glass, .price)::before {
  z-index: -2;
  background: var(--lg-tint, rgba(255,255,255,.2));
  -webkit-backdrop-filter: blur(var(--lg-blur, 8px)) saturate(var(--lg-sat, 180%));
  backdrop-filter: blur(var(--lg-blur, 8px)) saturate(var(--lg-sat, 180%));
  box-shadow: inset 0 0 var(--lg-glow, 16px) rgba(255,255,255,var(--lg-glow-a, .28));
  transition: background .4s ease;
}
.lg-refract [data-lg]::before {
  backdrop-filter: var(--lg-map) blur(var(--lg-blur, 8px)) saturate(var(--lg-sat, 180%));
}
:is(.nav-glass, .desktop, .dock, .showcase-dock, .demo-dock, .btn-glass, .price)::after {
  z-index: -1; padding: 1.2px;
  background: linear-gradient(var(--lg-angle, 135deg),
    rgba(255,255,255,var(--lg-rim, .85)), rgba(255,255,255,.12) 28%, rgba(255,255,255,0) 50%,
    rgba(255,255,255,.12) 72%, rgba(255,255,255,calc(var(--lg-rim, .85) * .65)));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- liquid glass nav ---------- */
.nav { position: fixed; top: 20px; left: 0; right: 0; z-index: 100; height: 0; pointer-events: none; }
.nav-glass {
  position: absolute; left: 50%; top: 0;
  width: 56px; height: 56px; border-radius: 28px;
  transform: translateX(-50%) scale(0);
  pointer-events: auto; overflow: hidden;
  --lg-tint: rgba(255,255,255,.42); --lg-blur: 3px; --lg-sat: 200%; --lg-rim: 1;
  box-shadow: 0 1px 2px rgba(20,10,50,.06), 0 14px 34px rgba(40,30,90,.14);
  will-change: width, height, transform;
}
.nav-sheen {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(255,255,255,.75), transparent 45%),
    radial-gradient(80% 120% at 100% 100%, rgba(190,175,255,.18), transparent 60%);
}
.nav-content {
  position: absolute; inset: 0; padding: 0 10px 0 14px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  opacity: 0; white-space: nowrap;
}
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 18px/1 var(--font); letter-spacing: -0.6px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; position: relative; flex: none;
  background: linear-gradient(160deg, #2a2a35, #000);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.logo-mark i {
  position: absolute; left: 5px; right: 5px; bottom: 5px; height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, #cfc8ff, #ffd6ea, #c9f3df);
  box-shadow: 0 0 8px rgba(207,200,255,.7);
}
.nav-links { position: relative; display: flex; justify-content: center; gap: 2px; }
.nav-links a {
  position: relative; z-index: 1; padding: 9px 12px; border-radius: 10px;
  font: 500 14px/1 var(--font); letter-spacing: -0.28px; color: rgba(0,0,0,.6);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: #000; }
.nav-ind {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 10px;
  background: rgba(255,255,255,.9);
  box-shadow: inset 1px 1px 0 #fff, 0 2px 8px rgba(40,30,90,.12);
  opacity: 0; transform-origin: center;
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 1180px; overflow: clip; isolation: isolate; }
.scene { position: absolute; inset: 0; z-index: 0; }
.scene-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  transform-origin: 50% 60%;
}
.scene-fade { position: absolute; left: 0; right: 0; pointer-events: none; }
.scene-fade.top { top: 0; height: 44%; background: linear-gradient(var(--canvas) 0%, rgba(243,241,247,.82) 30%, rgba(243,241,247,0) 100%); }
.scene-fade.bottom { bottom: 0; height: 16%; background: linear-gradient(rgba(243,241,247,0), var(--canvas) 92%); }

.sky { position: absolute; inset: 0 0 auto 0; height: 760px; z-index: 1; pointer-events: none; }
.flock { position: absolute; left: 0; top: 0; width: 120px; height: 60px; will-change: transform; }
.flock .v { position: absolute; width: 18px; height: 8px; fill: none; stroke: rgba(70,60,95,.65); stroke-width: 1.8; stroke-linecap: round; animation: flap .42s ease-in-out infinite alternate; transform-origin: 50% 75%; }
.flock .v:nth-child(1) { left: 0; top: 18px; }
.flock .v:nth-child(2) { left: 26px; top: 6px; width: 14px; animation-delay: -.12s; }
.flock .v:nth-child(3) { left: 50px; top: 24px; width: 16px; animation-delay: -.27s; }
.flock .v:nth-child(4) { left: 78px; top: 12px; width: 12px; animation-delay: -.35s; }
.flock.small .v { width: 11px; height: 6px; stroke-width: 1.6; stroke: rgba(70,60,95,.5); }
.flock.small .v:nth-child(2) { width: 9px; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(-.35); } }

.hero-content {
  position: relative; z-index: 4;
  padding: 140px 20px 0; margin: 0 auto; max-width: 900px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.eyebrow-hero { display: inline-flex; align-items: center; gap: 9px; font: 600 26px/1 var(--font); letter-spacing: -0.8px; }
.eb-apple { margin-top: -6px; }
.letters span { display: inline-block; white-space: pre; }
h1 {
  margin-top: 22px;
  font: 700 clamp(46px, 6.6vw, 104px)/0.98 var(--font);
  letter-spacing: -0.055em;
}
.sub {
  margin-top: 26px; max-width: 760px;
  font: 400 clamp(17px, 1.6vw, 23px)/1.42 var(--font); letter-spacing: -0.3px; color: #4f4d58;
}
.hero-content .btn-black.lg { margin-top: 32px; }

/* mockup */
.mockup { position: relative; z-index: 3; margin: 70px auto 0; height: calc(533px * var(--fit, 1)); }
.desktop {
  position: absolute; left: 50%; top: 0; width: 948px; height: 533px;
  transform: translateX(-50%) scale(calc(var(--fit, 1) * var(--ss, .86)));
  transform-origin: 50% 0;
  border-radius: 30px; overflow: clip;
  --lg-tint: rgba(255,255,255,.14); --lg-blur: 6px; --lg-sat: 150%; --lg-glow: 30px; --lg-glow-a: .3;
  box-shadow: 0 40px 90px -20px rgba(50,30,90,.28);
  will-change: transform;
}
.menubar {
  position: absolute; inset: 0 0 auto 0; height: 40px; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff; font: 500 15px/1 var(--font); letter-spacing: -0.2px;
  text-shadow: 0 1px 6px rgba(40,30,80,.25);
}
.mb-left, .mb-right { display: inline-flex; align-items: center; gap: 16px; }
.mb-left b { font-weight: 600; }
.mb-left svg { margin-top: -3px; filter: drop-shadow(0 1px 4px rgba(40,30,80,.25)); }
.notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 200px; height: 40px; background: #000; border-radius: 0 0 20px 20px; }

/* the dark liquid-glass dock */
.dock, .showcase-dock {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  display: flex; gap: 10px; padding: 10px; border-radius: 30px; color: #fff;
  --lg-tint: rgba(14,14,24,.3); --lg-blur: 1.5px; --lg-sat: 190%; --lg-rim: .7; --lg-glow-a: .16;
  box-shadow: 0 24px 50px rgba(20,10,40,.3);
}
.dw {
  position: relative; overflow: hidden;
  height: 80px; border-radius: 20px; padding: 12px 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.05) 55%, rgba(255,255,255,.09));
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.32),
    inset -1px -1px 0 rgba(255,255,255,.07),
    inset 0 0 18px rgba(255,255,255,.05),
    0 6px 14px -6px rgba(0,0,0,.35);
  display: flex; align-items: center; flex: none;
  transition: transform .35s var(--ease), background .25s;
}
.dw::before { /* specular sweep across the glass */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 70% at 20% -10%, rgba(255,255,255,.28), transparent 55%);
}
.dw > * { position: relative; }
.dw:hover { transform: translateY(-5px) scale(1.04); }
.dw small { font: 500 12px/1 var(--font); color: rgba(255,255,255,.6); }
.dw-time { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; min-width: 104px; }
.dw-time strong { font: 700 30px/1 var(--font); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.dw-time span { font: 500 12px/1 var(--font); color: rgba(255,255,255,.6); }
.dw-weather { gap: 18px; }
.wnow { display: flex; flex-direction: column; gap: 6px; }
.wnow b { font: 700 30px/1 var(--font); letter-spacing: -1px; }
.wfc { display: flex; gap: 12px; }
.wfc > span { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.wfc b { font: 600 13px/1 var(--font); }
.ico { width: 15px; height: 15px; border-radius: 50%; }
.sun { background: radial-gradient(circle, #ffd84d 50%, #ffb020); box-shadow: 0 0 10px #ffcf4d; }
.cloud { background: linear-gradient(#fff, #c9d3e0); border-radius: 8px; width: 19px; height: 11px; margin: 2px 0; }
.rain { background: linear-gradient(#bcd4ff, #6aa2ff); border-radius: 0 50% 50% 50%; transform: rotate(45deg); width: 12px; height: 12px; }
.dw-apps { display: grid; grid-template-columns: 24px 24px; gap: 8px; padding: 12px; }
.dw-apps img { width: 24px; height: 24px; display: block; }
.dw-ring { position: relative; width: 80px; justify-content: center; padding: 0; }
.dw-ring svg { width: 60px; height: 60px; transform: rotate(-90deg); }
.dw-ring circle { fill: none; stroke-width: 6; }
.rb { stroke: rgba(255,255,255,.12); }
.rf { stroke: #5ae14c; stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }
.dw-ring b { position: absolute; font: 700 17px/1 var(--font); }
.dw-music { gap: 12px; min-width: 300px; padding: 10px 14px 10px 10px; }
.album { width: 60px; height: 60px; border-radius: 13px; flex: none; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.starboy { display: block; overflow: hidden; background: #1a0a12 url(assets/starboy.jpg) center / cover; box-shadow: 0 6px 14px rgba(0,0,0,.35); }
.track { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.track b { font: 600 15px/1.1 var(--font); }
.bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }
.mctl { display: flex; align-items: center; gap: 10px; }
.play { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }

/* trees flank the screen like CoolDock's rocks */
.trees { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.tree { position: absolute; width: 460px; will-change: transform; filter: drop-shadow(0 30px 30px rgba(60,40,90,.18)); }
.tree.left { top: -150px; left: calc(50% - 790px); }
.tree.right { top: -110px; right: calc(50% - 790px); width: 420px; }

/* ---------- intro choreography (mirrors CoolDock's staged timing) ---------- */
.intro { opacity: 0; }
/* "backwards", not "both": a kept end-state of filter: blur(0) still counts as a filter,
   which turns .desktop into a backdrop root and cuts the glass inside it off from the scene */
.ready .intro { opacity: 1; animation: intro 1s var(--ease) var(--delay, 0s) backwards; }
.ready [data-intro="final"] { --delay: 1.5s; }
.ready .trees { --y: 80px; }
.ready .scene-img { animation: scene-in 1.4s cubic-bezier(.16, 1, .3, 1) both; }
.ready .letters span { animation: letter-in 1s var(--ease) calc(1.5s + var(--i) * 50ms) both; }
@keyframes intro { from { opacity: 0; translate: 0 var(--y, 30px); filter: blur(8px); } to { opacity: 1; translate: none; filter: none; } }
@keyframes scene-in { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes letter-in { from { opacity: 0; filter: blur(10px); translate: 0 10px; } to { opacity: 1; filter: none; translate: none; } }

/* ---------- trust ---------- */
.trust-wrap { padding: 20px var(--pad) 0; position: relative; z-index: 6; }
.trust { list-style: none; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust li {
  padding: 20px 22px; border-radius: 20px; display: flex; flex-direction: column; gap: 6px;
  background: rgba(255,255,255,.6); box-shadow: inset 1px 1px 1px #fff, 0 10px 30px -18px rgba(40,30,90,.2);
}
.trust b { font: 700 19px/1.1 var(--font); letter-spacing: -0.5px; }
.trust span { font: 400 14px/1.35 var(--font); color: var(--muted); }

/* ---------- sections ---------- */
.section { position: relative; padding: 140px var(--pad) 0; max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.eyebrow { font: 500 13px/1 var(--font); color: var(--muted); padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: inset 1px 1px 0 #fff, 0 1px 3px rgba(0,0,0,.05); }
h2 { font: 700 clamp(38px, 5vw, 64px)/1 var(--font); letter-spacing: -0.05em; }
.section-head p, .custom-copy p { font: 400 19px/1.45 var(--font); letter-spacing: -0.2px; color: var(--muted); }

.marquee {
  display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.track-row { display: flex; gap: 12px; width: max-content; animation: slide 42s linear infinite; }
.track-row.rev { animation-direction: reverse; animation-duration: 50s; }
.marquee:hover .track-row { animation-play-state: paused; }
.track-row span {
  font: 500 15px/1 var(--font); letter-spacing: -0.2px; white-space: nowrap;
  padding: 14px 20px; border-radius: 14px; background: rgba(255,255,255,.7);
  box-shadow: inset 1px 1px 1px #fff, 0 2px 10px rgba(40,30,90,.05);
}
@keyframes slide { to { transform: translateX(-50%); } }

.showcase { position: relative; margin-top: 48px; height: 520px; border-radius: 36px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(50,30,90,.35); }
.showcase-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.showcase-dock { bottom: 36px; }
.dw-stat { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; min-width: 120px; }
.dw-stat b { font: 700 24px/1 var(--font); }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 16px; margin-top: 2px; }
.spark i { width: 6px; height: var(--h); border-radius: 2px; background: #5ae14c; animation: spark 1.6s ease-in-out infinite alternate; }
.spark i:nth-child(2n) { animation-delay: -.6s; }
.spark i:nth-child(3n) { animation-delay: -1.1s; }
@keyframes spark { to { height: calc(var(--h) * .45); } }
.dw-todo { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; min-width: 190px; }
.todo { font: 500 13px/1 var(--font); display: flex; align-items: center; gap: 7px; }
.todo::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); }
.todo.done { color: rgba(255,255,255,.5); text-decoration: line-through; }
.todo.done::before { background: #5ae14c; border-color: #5ae14c; }
.dw-water { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; min-width: 120px; }
.dw-water b { font: 700 24px/1 var(--font); }
.dw-water em { font-style: normal; font-size: 13px; color: rgba(255,255,255,.55); }
.drops { display: flex; gap: 4px; }
.drops i { width: 9px; height: 9px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: rgba(255,255,255,.2); }
.drops i.on { background: #66b8ff; }

/* customize */
.custom { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.custom-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.profiles { position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 16px; background: rgba(0,0,0,.05); }
.prof-ind { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(40,30,90,.12); }
.pill { position: relative; z-index: 1; padding: 11px 18px; border-radius: 12px; font: 600 14px/1 var(--font); color: var(--muted); transition: color .25s; }
.pill.active { color: #000; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 11px; font: 500 15px/1.3 var(--font); }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks li::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-size: 11px; }
.demo-wall {
  position: relative; aspect-ratio: 4 / 3.4; border-radius: 32px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center; padding: 28px;
  box-shadow: 0 40px 80px -30px rgba(50,30,90,.35);
}
.demo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: filter .7s ease, transform 1.2s var(--ease); }
.demo-dock {
  position: relative; display: flex; gap: 8px; padding: 8px; border-radius: 24px;
  color: var(--dink, #fff);
  text-shadow: 0 1px 10px var(--dshadow, rgba(0,0,0,.4));
  /* --tint comes from the profile, --tint-mix and --glass-blur from the Clear / Frosted / Tinted picker */
  --lg-tint: color-mix(in srgb, var(--tint, rgba(12,12,20,.4)) var(--tint-mix, 100%), transparent);
  --lg-blur: var(--glass-blur, 2px); --lg-rim: .75; --lg-glow-a: .18;
  box-shadow: 0 24px 50px rgba(20,10,40,.28);
  transition: color .5s ease;
}
.ddw {
  height: 86px; padding: 12px 16px; border-radius: 18px; min-width: 190px;
  background: rgba(255,255,255,.1); box-shadow: inset 1px 1px 0 rgba(255,255,255,.15);
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
}
.ddw small { font: 500 11px/1 var(--font); opacity: .65; }
.ddw b { font: 700 18px/1.1 var(--font); letter-spacing: -0.4px; }
.ddw span { font: 500 12px/1 var(--font); opacity: .7; }
.ddw.sq { min-width: 86px; align-items: center; text-align: center; }
.ddw.sq b { font-size: 24px; }

/* pricing */
.pricing-sec { overflow: visible; }
.price-tree { position: absolute; width: 250px; right: -50px; top: 40px; pointer-events: none; z-index: 0; }
.prices { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1080px; margin: 0 auto; }
.prices.single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.price {
  position: relative; padding: 32px; border-radius: 30px;
  --lg-tint: rgba(255,255,255,.62); --lg-blur: 14px; --lg-sat: 140%; --lg-rim: 1;
  box-shadow: 0 20px 40px -24px rgba(40,30,90,.2);
  display: flex; flex-direction: column; gap: 6px;
}
.price.featured { --lg-tint: rgba(255,255,255,.88); box-shadow: 0 30px 70px -24px rgba(40,30,90,.32), 0 0 0 1.5px #000; }
.flag { position: absolute; top: 20px; right: 20px; font: 600 12px/1 var(--font); padding: 7px 10px; border-radius: 999px; background: var(--green); color: #0b2b07; }
.price h3 { font: 600 17px/1 var(--font); letter-spacing: -0.3px; color: var(--muted); }
.amt { font: 700 58px/1 var(--font); letter-spacing: -0.05em; margin-top: 16px; display: flex; align-items: flex-start; }
.cur { font-size: 28px; margin: 6px 3px 0 0; }
.amt + ul { margin-top: 20px; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; font: 400 15px/1.3 var(--font); }
.price li { display: flex; gap: 10px; align-items: center; }
.price li::before { content: ""; width: 17px; height: 17px; flex: none; border-radius: 50%; background: #e7f8e3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%231a8f2a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.price .full { margin-top: auto; }
.fine { position: relative; z-index: 1; max-width: 720px; margin: 28px auto 0; text-align: center; font: 400 13px/1.55 var(--font); color: var(--muted); }

/* faq */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 20px; background: rgba(255,255,255,.66); box-shadow: inset 1px 1px 1px #fff; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 600 17px/1.3 var(--font); letter-spacing: -0.3px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--font); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; font: 400 15px/1.55 var(--font); color: var(--muted); }

/* updates */
.updates { list-style: none; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.updates li { display: flex; gap: 20px; padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.66); box-shadow: inset 1px 1px 1px #fff; }
.updates time { font: 600 13px/1 var(--font); padding: 7px 10px; height: fit-content; border-radius: 8px; background: #000; color: #fff; }
.updates b { font: 600 17px/1.3 var(--font); letter-spacing: -0.3px; }
.updates p { font: 400 15px/1.5 var(--font); color: var(--muted); margin-top: 4px; }

.foot {
  padding: 56px var(--pad) 40px; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px 32px;
  font: 500 14px/1 var(--font); color: var(--muted);
}
.foot .logo { color: #000; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 340px; }
.foot-brand b { font: 600 17px/1.3 var(--font); letter-spacing: -0.3px; color: var(--ink); }
.foot-brand p { font: 400 14px/1.5 var(--font); }
.foot-col { display: flex; flex-direction: column; gap: 14px; }
.foot-col h4 { font: 600 13px/1 var(--font); color: var(--ink); margin-bottom: 4px; }
.foot-col a { transition: color .2s; }
.foot-col a:hover { color: var(--ink); }
.foot-copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(0,0,0,.06); font: 400 13px/1 var(--font); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px) scale(.985); filter: blur(7px); transition: opacity .65s var(--ease2) var(--d, 0ms), transform .76s var(--ease2) var(--d, 0ms), filter .65s ease var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.price.featured.reveal.in { transform: translateY(-10px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .tree { width: 340px; }
  .tree.left { left: calc(50% - 560px); top: -90px; }
  .tree.right { right: calc(50% - 560px); width: 310px; top: -60px; }
}
@media (max-width: 760px) {
  :root { --pad: 16px; }
  .nav { top: 14px; }
  .nav-links { display: none; }
  .hero { min-height: 0; padding-bottom: 40px; }
  .hero-content { padding-top: 116px; }
  .eyebrow-hero { font-size: 20px; }
  .lg { height: 52px; font-size: 17px; padding: 0 22px; }
  .mockup { height: auto; margin-top: 48px; padding: 0 16px; }
  .desktop { position: relative; left: 0; width: 100%; height: 440px; transform: none; border-radius: 24px; }
  .notch { width: 110px; height: 28px; border-radius: 0 0 14px 14px; }
  .menubar { height: 28px; padding: 0 14px; font-size: 12px; }
  .menubar [data-clock-short], .mb-right svg:first-child { display: none; }
  .dock { width: calc(100% - 24px); bottom: 12px; flex-wrap: wrap; justify-content: center; border-radius: 24px; }
  .dw-weather, .dw-apps { display: none; }
  .dw-music { min-width: 0; flex: 1 1 100%; }
  .tree { width: 170px; }
  .tree.left { left: -40px; top: -70px; }
  .tree.right { right: -40px; top: -40px; width: 150px; }
  .prices, .custom, .trust { grid-template-columns: 1fr; }
  .prices.single { grid-template-columns: minmax(0, 420px); }
  .price.featured.reveal.in { transform: none; }
  .section { padding-top: 96px; }
  .showcase { height: 460px; }
  .showcase-dock { flex-wrap: wrap; width: calc(100% - 24px); justify-content: center; bottom: 12px; }
  .showcase-dock .dw { flex: 1 1 40%; min-width: 0; }
  .demo-wall { aspect-ratio: auto; min-height: 420px; padding: 14px; }
  .demo-dock { flex-wrap: wrap; }
  .ddw { min-width: 0; flex: 1 1 40%; }
  .ddw:first-child { flex-basis: 100%; }
  .price-tree { width: 160px; right: -30px; top: 60px; opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
  .intro, .ready .intro, .ready .letters span, .ready .scene-img { animation: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .track-row, .flock .v, .spark i, .tile * { animation: none !important; }
  .wcat, .wcat .tile { opacity: 1 !important; transform: none !important; }
}

/* ---------- widget categories (CoolDock layout: card + live tile row) ---------- */
.wcats { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.wcat {
  padding: 40px; border-radius: 40px; background: rgba(255,255,255,.62);
  box-shadow: inset 1px 1px 1px #fff, 0 20px 40px -28px rgba(40,30,90,.2);
  opacity: 0; transform: translateY(30px);
  transition: opacity .76s var(--out), transform .76s var(--out);
}
.wcat.in { opacity: 1; transform: none; }
.wcat h3 { font: 700 30px/1.1 var(--font); letter-spacing: -1.2px; }
.wcat p { margin-top: 16px; font: 400 17px/1.45 var(--font); letter-spacing: -0.2px; color: #2c2b33; }
.wcat .incl { margin-top: 12px; }
.tiles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* dark liquid-glass mini widgets */
.tile {
  position: relative; overflow: hidden; flex: none;
  height: 62px; border-radius: 14px; padding: 8px 10px; color: #fff;
  display: flex; align-items: center; gap: 8px;
  font: 500 10px/1.2 var(--font); letter-spacing: -0.1px;
  background: linear-gradient(170deg, rgba(52,50,70,.94), rgba(14,14,22,.96));
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px rgba(255,255,255,.05), 0 10px 18px -10px rgba(20,10,40,.55);
}
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 60% at 15% -10%, rgba(255,255,255,.18), transparent 60%); }
.tile > * { position: relative; }
.wcat .tile { opacity: 0; transform: translateY(10px) scale(.94); transition: opacity .5s var(--out) calc(var(--ti) * 60ms + 200ms), transform .6s var(--out) calc(var(--ti) * 60ms + 200ms); }
.wcat.in .tile { opacity: 1; transform: none; }
.tile .dim { color: rgba(255,255,255,.55); }
.tile b { font-weight: 700; }
.t-col { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.t-big { font: 700 20px/1 var(--font); letter-spacing: -0.6px; }
.t-sq { width: 62px; justify-content: center; padding: 0; }
.t-apps { display: grid; grid-template-columns: 18px 18px; gap: 5px; }
.t-apps i { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--a), var(--b)); }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.wave i { width: 3px; border-radius: 2px; background: #fff; height: 40%; animation: wv 1s ease-in-out infinite alternate; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; }
@keyframes wv { to { height: 100%; } }
.ring-sm { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c, #30d158) calc(var(--p) * 1%), rgba(255,255,255,.12) 0); }
.ring-sm::after { content: ""; position: absolute; width: 32px; height: 32px; border-radius: 50%; background: #17161f; }
.ring-sm { position: relative; } .ring-sm > * { position: relative; z-index: 1; }
.slider { width: 70px; height: 12px; border-radius: 6px; background: rgba(255,255,255,.15); overflow: hidden; }
.slider i { display: block; width: 58%; height: 100%; background: #fff; }
.mini { width: 44px; height: 46px; border-radius: 9px; background: rgba(255,255,255,.07); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 8px; color: rgba(255,255,255,.6); }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--c, #0a84ff); flex: none; }
.row { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.row .r { margin-left: auto; color: rgba(255,255,255,.55); padding-left: 10px; }
.date { display: flex; flex-direction: column; align-items: center; padding-right: 8px; border-right: 1px solid rgba(255,255,255,.12); }
.date b { font-size: 20px; line-height: 1; }
.spark-svg { width: 100%; height: 26px; }
.t-calls { gap: 6px; }
.t-calls i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); }
.drops-sm { display: flex; gap: 3px; }
.drops-sm i { width: 8px; height: 8px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: rgba(255,255,255,.2); }
.drops-sm i.on { background: #64b5ff; }
.analog { width: 42px; height: 42px; border-radius: 50%; background: #f2f2f2; position: relative; }
.analog i { position: absolute; left: 50%; bottom: 50%; width: 2px; margin-left: -1px; border-radius: 2px; background: #111; transform-origin: 50% 100%; }
.analog .h { height: 11px; transform: rotate(var(--h)); }
.analog .m { height: 16px; transform: rotate(var(--m)); }
.analog .s { height: 17px; width: 1px; background: #ff3b30; animation: sweep 60s steps(60) infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.tg { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.tg.on { background: #0a84ff; }
.tg svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }
.days { display: flex; gap: 8px; }
.days > span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; }
.sun-sm { width: 11px; height: 11px; border-radius: 50%; background: #ffcf4d; box-shadow: 0 0 6px #ffcf4d; }
.cloud-sm { width: 14px; height: 8px; border-radius: 5px; background: linear-gradient(#fff, #c8d2df); margin: 1px 0 2px; }
.sw { display: flex; gap: 4px; }
.sw i { width: 16px; height: 16px; border-radius: 5px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.up { color: #30d158; } .down { color: #ff453a; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.bars i { width: 5px; border-radius: 2px; background: #0a84ff; height: var(--h); }
.gh { display: grid; grid-template-columns: repeat(10, 7px); grid-auto-rows: 7px; gap: 2px; }
.gh i { border-radius: 2px; background: rgba(48,209,88,var(--o)); }
.notes-lines { display: flex; flex-direction: column; gap: 4px; width: 80px; }
.notes-lines i { height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); }
.notes-lines i:first-child { background: #ffd60a; width: 60%; }
.yt { width: 26px; height: 18px; border-radius: 5px; background: #ff0033; display: grid; place-items: center; }
.yt::after { content: ""; border-left: 7px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.srch { width: 140px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.08); display: flex; align-items: center; gap: 6px; padding: 0 9px; color: rgba(255,255,255,.5); }

/* ---------- final CTA ---------- */
.cta { position: relative; margin-top: 140px; background: #0b0b10; color: #fff; overflow: clip; }
.cta-scroll { display: flex; flex-direction: column; }
.cta-text { position: relative; z-index: 2; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.cta-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 640px; }
.cta-content h2 { font-size: clamp(38px, 5vw, 60px); }
.cta-content p { font: 400 20px/1.4 var(--font); color: rgba(255,255,255,.6); }
.cta-icon {
  width: 120px; height: 120px; border-radius: 28px; position: relative;
  background: linear-gradient(160deg, #34323f, #050508);
  box-shadow: inset 1.5px 1.5px 1px rgba(255,255,255,.3), 0 30px 60px rgba(0,0,0,.6);
  opacity: var(--io, 0); transform: translateY(var(--it, 0px)) scale(var(--is, 1.45));
}
.cta-icon i { position: absolute; left: 20px; right: 20px; bottom: 20px; height: 30px; border-radius: 15px; background: linear-gradient(90deg, #cfc8ff, #ffd6ea, #c9f3df); box-shadow: 0 0 24px rgba(207,200,255,.6); }
.btn-white { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 20px; background: #fff; color: #000; font: 600 16px/1 var(--font); transition: background .2s, transform .25s var(--ease); }
.btn-white:hover { background: #dedede; transform: translateY(-2px); }
.btn-white svg { margin-top: -2px; }
@media (max-width: 760px) {
  .wcat { padding: 26px; border-radius: 28px; }
  .wcat h3 { font-size: 24px; }
  .cta { margin-top: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .dial { opacity: 1 !important; transform: scale(var(--fit, 1)) !important; }
  .cta-icon { opacity: 1; transform: none; }
}

/* ---------- glass style picker ---------- */
.glass-pick { display: flex; align-items: center; gap: 12px; }
.glass-pick-lbl { font: 600 13px/1 var(--font); color: var(--muted); }

/* ---------- featured quote ---------- */
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font: 700 14px/1 var(--font); color: #fff; background: linear-gradient(140deg, var(--a, #8c84ff), var(--b, #ff8fc1));
}

/* ---------- testimonials wall ---------- */
.sample-note { font-size: 14px !important; }

/* ---------- screenshot marquee ---------- */
.shots { margin-top: 120px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.shots-row { display: flex; gap: 20px; width: max-content; animation: slide 70s linear infinite; }
.shots:hover .shots-row { animation-play-state: paused; }
.shot { position: relative; width: 420px; height: 262px; flex: none; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(50,30,90,.45); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shot-dock {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 6px; border-radius: 20px;
  background: rgba(14,14,24,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 24px rgba(20,10,40,.3);
}
.shot-dock .tile { opacity: 1; transform: none; }

/* ---------- pricing: Mac count ---------- */

/* ---------- closing dock ---------- */
.closing { position: relative; max-width: 1200px; height: 280px; margin: 120px auto 0; border-radius: 36px; overflow: hidden; }
.closing-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.closing-dock { bottom: 50%; transform: translate(-50%, 50%); }

@media (max-width: 760px) {
  .nav-content { grid-template-columns: auto 1fr; }
  .nav-content > .btn-black { justify-self: end; }
  .glass-pick { flex-direction: column; align-items: flex-start; }
  .shots { margin-top: 88px; }
  .shot { width: 300px; height: 188px; }
  .shot-dock { transform: translateX(-50%) scale(.8); transform-origin: 50% 100%; }
  .closing { margin: 88px 16px 0; height: 300px; border-radius: 28px; }
  .closing-dock { width: calc(100% - 24px); flex-wrap: wrap; justify-content: center; }
  .closing-dock .dw { flex: 1 1 40%; min-width: 0; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .shots-row { animation: none; } }

/* ============ Mac tour ============ */
.tour { position: relative; background: var(--canvas); height: 1000vh; }
.tour-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.tour-world { position: absolute; left: 0; top: 0; width: 1620px; transform-origin: 0 0; }
.t-lid { width: 1500px; margin: 0 auto; padding: 15px; background: #0c0c0f; border-radius: 44px 44px 0 0; box-shadow: 0 0 0 3px #b9b9c0; }
.t-screen { position: relative; height: 920px; overflow: hidden; border-radius: 28px 28px 0 0; background: #cfd8e6; color: #fff; }
.t-wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-menubar { position: absolute; inset: 0 0 auto; height: 32px; display: flex; align-items: center; gap: 18px; padding: 0 20px; font-size: 13px; background: rgba(255,255,255,.22); color: #111; }
.t-menubar em { margin-left: auto; font-style: normal; }
.t-notch { position: absolute; top: 0; left: 50%; z-index: 2; width: 300px; height: 32px; margin-left: -150px; overflow: hidden; color: #fff; background: #0c0c0f; border-radius: 0 0 14px 14px; transition: width .5s var(--out), height .5s var(--out), margin-left .5s var(--out), border-radius .5s var(--out); }
.t-n-art { position: absolute; left: 12px; top: 6px; width: 20px; height: 20px; border-radius: 5px; box-shadow: none; }
.t-eq { position: absolute; right: 13px; top: 8px; height: 16px; display: flex; align-items: center; gap: 2px; }
.t-eq i { width: 3px; height: 100%; border-radius: 2px; background: #ff5a5f; transform-origin: center; animation: tourEq .9s ease-in-out infinite alternate; }
.t-eq i:nth-child(2) { animation-delay: -.35s; } .t-eq i:nth-child(3) { animation-delay: -.6s; } .t-eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes tourEq { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.t-n-open { position: absolute; left: 20px; right: 20px; top: 44px; display: flex; align-items: center; gap: 14px; opacity: 0; transition: opacity .25s; }
.t-n-cover { flex: none; width: 76px; height: 76px; border-radius: 14px; }
.t-n-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .t-n-info b { font-size: 16px; } .t-n-info small { font-size: 11px; color: rgba(255,255,255,.65); }
.t-n-info .t-bar { margin-top: 6px; } .t-n-info .t-bar i { width: 46%; }
.t-n-ctl { flex: none; display: flex; align-items: center; gap: 12px; }
.t-n-ctl em { width: 0; height: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; } .t-n-ctl em.back { transform: scaleX(-1); }
.t-notch.open { width: 470px; height: 136px; margin-left: -235px; border-radius: 0 0 30px 30px; }
.t-notch.open .t-n-open { opacity: 1; transition-delay: .15s; }
.t-notch.open .t-n-art, .t-notch.open .t-eq { opacity: 0; }

.t-tabs { position: absolute; left: 50%; bottom: 180px; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border-radius: 15px; font-size: 12px; font-weight: 600; background: rgba(38,38,48,.58); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.t-tabs span { padding: 5px 12px; border-radius: 12px; transition: background .3s; }
.t-tabs span.on { background: rgba(255,255,255,.26); }
.t-base { position: relative; height: 34px; background: linear-gradient(#dcdce1, #a9a9b1); border-radius: 0 0 26px 26px; box-shadow: 0 30px 50px -22px rgba(20,20,40,.45); }
.t-base span { position: absolute; left: 50%; top: 0; width: 200px; height: 12px; margin-left: -100px; background: #bdbdc4; border-radius: 0 0 12px 12px; }
.t-dock { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); display: flex; gap: 8px; padding: 9px; border-radius: 30px; background: rgba(38,38,48,.58); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 12px 34px rgba(0,0,0,.28); white-space: nowrap; }
.t-w { height: 74px; display: flex; align-items: center; gap: 10px; padding: 0 13px; border-radius: 20px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.t-w small { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.68); }
.t-w b { font-weight: 700; }
.t-clock { width: 118px; gap: 4px; justify-content: center; padding: 0; }
.t-clock i { width: 44px; height: 54px; display: grid; place-items: center; font: 700 28px var(--font); background: linear-gradient(#2c2c30, #111114); border-radius: 10px; }
.t-weather { width: 196px; justify-content: space-between; }
.t-now { display: flex; flex-direction: column; } .t-now b { font-size: 26px; line-height: 1.1; }
.t-fc { display: flex; gap: 9px; } .t-fc span { display: flex; flex-direction: column; align-items: center; gap: 4px; } .t-fc b { font-size: 11px; }
.t-music { width: 268px; }
.t-album { flex: none; width: 52px; height: 52px; border-radius: 12px; }
.t-track { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .t-track b { font-size: 14px; }
.t-bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.22); overflow: hidden; }
.t-bar i { display: block; height: 100%; background: #fff; border-radius: 4px; }
.t-track .t-bar i { width: 20%; animation: tourPlay 24s linear infinite alternate; }
@keyframes tourPlay { to { width: 88%; } }
.t-play { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; }
.t-play u { width: 0; height: 0; margin-left: 3px; border-left: 11px solid #111; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.t-water { width: 132px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
.t-amt { display: flex; align-items: baseline; gap: 2px; } .t-amt b { font-size: 20px; }
.t-drops { display: flex; gap: 3px; }
.t-drops i { width: 8px; height: 8px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: rgba(255,255,255,.22); transition: background .25s; }
.t-drops i.on { background: #5ee0ff; }
.t-focus { width: 112px; position: relative; justify-content: center; padding: 0; }
.t-focus svg { position: absolute; width: 60px; height: 60px; transform: rotate(-90deg); fill: none; stroke: rgba(255,255,255,.2); stroke-width: 4; }
.t-focus .t-arc { stroke: #ff9f0a; stroke-linecap: round; stroke-dasharray: 157; stroke-dashoffset: 42; }
.t-focus b { font-size: 12px; }
.t-shelf { width: 126px; position: relative; }
.t-file { width: 30px; height: 38px; border-radius: 5px; background: linear-gradient(#fff, #d9dbe2); margin-right: -20px; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.t-file + .t-file { transform: rotate(7deg); }
.t-shelf small { margin-left: 26px; }
.t-ai { width: 170px; flex-direction: column; align-items: stretch; justify-content: center; gap: 3px; }
.t-ai .t-bar i { background: #c9b6ff; }
.t-volume { width: 158px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; }
.t-vol { display: block; width: 100%; height: 24px; border-radius: 12px; background: rgba(255,255,255,.2); overflow: hidden; }
.t-vol i { display: block; width: 72%; height: 100%; background: #2f8cff; border-radius: 12px; }
.t-sysdock { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); display: flex; align-items: center; gap: 3px; padding: 4px 7px; border-radius: 22px; background: rgba(255,255,255,.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.t-sysdock img { width: 56px; height: 56px; display: block; }
.t-sysdock span { width: 1px; height: 44px; margin: 0 6px; background: rgba(0,0,0,.25); }

/* second profile: the Dock swaps when the tour reaches the tabs */
.t-dock, .t-dock-b { transition: opacity .5s ease; }
.t-dock-b { opacity: 0; }
.t-screen.alt .t-dock:not(.t-dock-b) { opacity: 0; }
.t-screen.alt .t-dock-b { opacity: 1; }
.t-meet { width: 210px; } .t-meet > i { flex: none; width: 4px; height: 46px; border-radius: 3px; background: #ff9f0a; }
.t-meet > span, .t-stand > span, .t-coin > span { display: flex; flex-direction: column; gap: 2px; } .t-meet b, .t-stand b { font-size: 15px; }
.t-todo { width: 196px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; font-size: 12px; font-weight: 500; }
.t-todo span { display: flex; align-items: center; gap: 7px; } .t-todo i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.t-todo .done { color: rgba(255,255,255,.55); text-decoration: line-through; } .t-todo .done i { background: #34c759; box-shadow: none; }
.t-stats { width: 190px; justify-content: space-between; } .t-stats > span { flex: 1; display: flex; flex-direction: column; gap: 2px; } .t-stats b { font-size: 19px; }
.t-stats .t-bar i { background: #5ee0ff; width: 24%; } .t-stats > span + span .t-bar i { width: 61%; background: #c9b6ff; }
.t-stand { width: 214px; } .t-stand > i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #fff 0 5px, transparent 5.5px), linear-gradient(#fff, #fff) 50% 26px / 6px 11px no-repeat, #34c759; }
.t-coin { width: 208px; justify-content: space-between; } .t-coin b { font-size: 17px; } .t-coin .up { color: #4ade80; }
.t-coin svg { width: 76px; height: 34px; fill: none; stroke: #4ade80; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

.tour-shade { position: absolute; inset: 0 0 40%; opacity: 0; pointer-events: none; background: linear-gradient(var(--canvas) 62%, transparent); }
.tour-intro, .tour-outro, .tour-cap { position: absolute; left: 0; right: 0; padding: 0 24px; text-align: center; pointer-events: none; }
.tour-intro, .tour-outro { top: 13vh; }
.tour-outro { opacity: 0; }
.tour-intro h2, .tour-outro h2 { font-size: clamp(30px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.tour-intro p, .tour-outro p { margin-top: 12px; color: var(--muted); font-size: clamp(15px, 1.4vw, 19px); }
.tour-cap { top: 15vh; opacity: 0; }
.tour-cap h3 { font-size: clamp(30px, 4.4vw, 58px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.tour-cap p { max-width: 560px; margin: 14px auto 0; color: var(--muted); font-size: clamp(15px, 1.4vw, 19px); line-height: 1.45; }

/* reduced motion: no pinning or zoom, just the Mac and the list of widgets */
.tour.is-static { height: auto; padding: 72px 0; }
.tour.is-static .tour-stage { position: static; height: auto; overflow: visible; }
.tour.is-static .tour-world { position: relative; }
.tour.is-static .tour-shade, .tour.is-static .tour-outro { display: none; }
.tour.is-static .tour-intro, .tour.is-static .tour-cap { position: static; opacity: 1; }
.tour.is-static .tour-caps { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1100px; margin: 0 auto; }
.tour.is-static .tour-cap h3 { font-size: 22px; }
.tour.is-static .tour-cap p { font-size: 15px; }

.notch-art { position: absolute; left: 8px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 5px; box-shadow: none; }
.notch .t-eq { right: 10px; top: 50%; height: 14px; margin-top: -7px; }

/* ============ Widget dial: the widgets roll around a watch face, like the wheels inside a watch ============ */
.dial-sec { position: relative; background: var(--canvas); padding-top: 40px; }
.dial-pin { height: 260vh; }
.dial-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dial { position: relative; flex: none; width: 1800px; height: 1800px; opacity: var(--do, 0); transform: scale(calc(var(--ds, .72) * var(--fit, 1))); }
.dial-ring { position: absolute; inset: 0; }
.dial-item { position: absolute; left: 50%; top: 50%; transform: rotate(calc(var(--b) + var(--a, 0deg))) translateY(calc(var(--r) * -1)) rotate(calc(-1 * (var(--b) + var(--a, 0deg)))) translate(-50%, -50%); }
.dial-item .tile { white-space: nowrap; box-shadow: 0 14px 30px rgba(40,30,90,.22); }
.dial-item .t-bar { width: 96px; margin-top: 3px; }
.dial-item .t-bar i { background: #c9b6ff; }
.dial-item .d-cover { flex: none; width: 42px; height: 42px; border-radius: 9px; box-shadow: none; }
.d-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.d-apps img { width: 24px; height: 24px; display: block; }
.dial-item .d-emoji { font-size: 22px; letter-spacing: 3px; }
.dial-bezel { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(30,24,70,.2); transform: rotate(var(--a, 0deg)); }
.dial-face { position: absolute; left: 50%; top: 50%; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; background: radial-gradient(circle at 50% 26%, #fff, #e9e6f3 78%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 0 0 10px rgba(255,255,255,.55), 0 30px 70px rgba(40,30,90,.25); }
.dial-face svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial-face .ticks { fill: none; stroke: rgba(20,18,40,.5); stroke-width: 8; stroke-dasharray: 1.2 13.88; }
.dial-face span { position: absolute; left: 0; right: 0; top: 66%; text-align: center; font: 600 13px/1 var(--font); letter-spacing: .08em; color: var(--muted); }
.dial-face i { position: absolute; left: 50%; bottom: 50%; border-radius: 4px; transform-origin: 50% 100%; transform: translateX(-50%) rotate(var(--d, 0deg)); }
.dial-face .h { width: 7px; height: 76px; background: var(--ink); }
.dial-face .m { width: 5px; height: 112px; background: var(--ink); }
.dial-face .s { width: 2px; height: 128px; background: #ff7a00; }
.dial-face b { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #ff7a00; box-shadow: inset 0 0 0 4px var(--ink); }

.soon { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border-radius: 999px; font: 600 12px/1 var(--font); color: #5b3fd6; background: rgba(120,90,255,.13); }

/* ============ AirPods: big battery rings, like the iPhone's Batteries widget ============ */
.pods { display: flex; gap: 14px; align-items: flex-start; }
.pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; font: 500 12px/1 var(--font); color: #fff; }
.pod b { font-weight: 500; font-variant-numeric: tabular-nums; }
.pod-ring { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.pod-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke: rgba(255,255,255,.22); stroke-width: 4.5; }
.pod-ring .lvl { stroke: #5cd166; stroke-linecap: round; transition: stroke-dasharray .6s var(--ease); }
.pod-ring img { position: relative; width: 25px; height: 25px; display: block; }
.pod::before { content: ""; position: absolute; z-index: 1; top: -8px; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .3s var(--ease);
  background: url(assets/pods/bolt.png) center / contain no-repeat; filter: drop-shadow(0 0 1.5px rgba(0,0,0,.85)); }
.pod.charging::before { opacity: 1; transform: none; }
.t-w.t-pods { width: auto; padding: 0 14px; }
.tile.cc-pods { width: auto; height: 74px; padding: 0 14px; border-radius: 22px; overflow: visible; }
.tile.cc-pods::before { display: none; }

/* ============ Glass switcher: Tinted is the page's own look; these two restyle every Dock on the page ============ */
:root[data-site-glass=clear] :is(.desktop, .dock, .showcase-dock)::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
:root[data-site-glass=frosted] :is(.dock, .showcase-dock)::before { -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%); }
:root[data-site-glass=clear] .desktop { --lg-tint: rgba(255,255,255,.03); --lg-blur: 0px; --lg-sat: 105%; --lg-glow-a: .1; }
:root[data-site-glass=clear] :is(.dock, .showcase-dock) { --lg-tint: rgba(255,255,255,.03); --lg-blur: .6px; --lg-sat: 120%; --lg-glow-a: .22; --lg-rim: 1; }
:root[data-site-glass=clear] .dw { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,0) 60%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.34), 0 4px 10px -6px rgba(0,0,0,.25); text-shadow: 0 1px 3px rgba(0,0,0,.45); }
:root[data-site-glass=clear] .t-dock { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
:root[data-site-glass=clear] .t-w { background: rgba(20,20,30,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.34); }
:root[data-site-glass=frosted] :is(.dock, .showcase-dock) { --lg-tint: rgba(255,255,255,.24); --lg-blur: 18px; --lg-sat: 165%; --lg-glow-a: .3; --lg-rim: 1; }
:root[data-site-glass=frosted] .dw { background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.08)); text-shadow: 0 1px 2px rgba(0,0,0,.3); }
:root[data-site-glass=frosted] .t-dock { background: rgba(214,208,226,.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
:root[data-site-glass=frosted] .t-w { background: rgba(40,36,56,.2); }

.glass-switch { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; white-space: nowrap; background: rgba(18,18,26,.92); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 10px 26px rgba(20,10,40,.3); font: 500 13px/1 var(--font); color: #fff; }
.glass-switch button { padding: 8px 13px; border-radius: 999px; color: rgba(255,255,255,.82); transition: background .2s, color .2s; }
.glass-switch button:hover { color: #fff; }
.glass-switch button.on { background: #fff; color: #0b0b10; }
.dw-pods { padding: 0 14px; }
.dw-pods .pod::before { top: -6px; }
.dw-pods .pod-ring { width: 40px; height: 40px; }
.dw-pods .pod-ring img { width: 23px; height: 23px; }
.dw-pods .pods { gap: 10px; }
@media (max-width: 760px) { .dw-pods { display: none; } }

/* ============ AI usage panel in the Mac scroll ============ */
.t-aipanel { position: absolute; z-index: 3; right: 150px; bottom: 170px; width: 392px; padding: 15px; display: flex; flex-direction: column; gap: 9px; border-radius: 26px; color: #fff; font-family: var(--font); background: rgba(34,32,44,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 18px 40px rgba(0,0,0,.28); visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility .35s; }
.t-aipanel.open { visibility: visible; opacity: 1 !important; }
.t-aipanel small { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.68); }
.t-aipanel b { font-weight: 700; }
.aip-head { display: flex; align-items: center; gap: 8px; font-size: 15px; } .aip-head small { margin-left: auto; }
.aip-head .logo-mark { flex: none; }
.aip-card { padding: 11px; border-radius: 15px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.aip-title { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 9px; }
.aip-title em { margin-left: auto; padding: 3px 8px; border-radius: 99px; font: 600 11px/1 var(--font); color: #4ade80; background: rgba(74,222,128,.18); }
.aip-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aip-lim > div { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.aip-lim > small { display: block; margin-top: 5px; }
.aip-bar { display: block; height: 5px; margin-top: 5px; border-radius: 5px; background: rgba(255,255,255,.16); overflow: hidden; } .aip-bar i { display: block; height: 100%; border-radius: 5px; }
.aip-cur { display: flex; align-items: center; gap: 9px; font-size: 14px; } .aip-cur > span:first-of-type { display: flex; flex-direction: column; flex: 1; } .aip-cur .aip-bar { width: 110px; margin: 0; }
.aip-split { display: flex; justify-content: space-between; }
.aip-row { display: flex; align-items: center; gap: 9px; font-size: 12px; } .aip-row span { display: flex; flex-direction: column; flex: 1; } .aip-row em { font: 600 12px/1 var(--font); } .aip-row em.hot { color: #ff9f0a; }
.aip-row u { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); } .aip-row u.on { background: #34d158; }
.aip-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.2); font-size: 16px; } .aip-foot small { display: block; }
.aip-foot span > small:first-of-type { display: inline; }
.aip-btn { padding: 8px 12px; border-radius: 99px; background: #fff; color: #000; font: 600 12px/1 var(--font); text-decoration: none; }
.ai-ico { flex: none; width: 24px; height: 24px; border-radius: 7px; background-repeat: no-repeat; background-position: center; background-size: 15px; display: inline-block; position: relative; }
.ai-ico::before { content: ""; position: absolute; inset: 4px; background: var(--c); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ai-ico.claude { --m: url(assets/ai/anthropic.png); --c: #d97757; background-color: rgba(217,119,87,.2); }
.ai-ico.codex { --m: url(assets/ai/openai.png); --c: #5fe0c0; background-color: rgba(95,224,192,.18); }
.ai-ico.cursor { background: rgba(255,255,255,.9) url(assets/ai/cursor.png) center / 15px no-repeat; } .ai-ico.cursor::before { display: none; }
.aip-row .ai-ico { width: 16px; height: 16px; background-color: transparent; background-size: 12px; } .aip-row .ai-ico::before { inset: 1px; } .aip-row .ai-ico.cursor { background: url(assets/ai/cursor.png) center / 13px no-repeat; }
:root[data-site-glass=clear] .t-aipanel { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
:root[data-site-glass=frosted] .t-aipanel { background: rgba(120,114,142,.72); }

/* ============ Buying ============ */
.owned-link { display: block; width: 100%; margin-top: 14px; text-align: center; font: 500 13px/1.3 var(--font); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.owned-link:hover { color: #000; }
.buy { width: min(420px, calc(100vw - 32px)); margin: auto; padding: 30px; border: 0; border-radius: 24px; background: #fff; color: #000; font-family: var(--font); box-shadow: 0 30px 80px rgba(20,10,40,.35); }
.buy::backdrop { background: rgba(15,10,30,.5); }
.buy h3 { font: 700 26px/1.1 var(--font); letter-spacing: -0.03em; padding-right: 24px; }
.buy-x { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; font-size: 24px; line-height: 1; color: var(--muted); }
.buy-sum { margin: 10px 0 20px; font-size: 15px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; } .buy-sum b { color: #000; }
.buy label { display: block; margin: 16px 0 8px; font-size: 13px; line-height: 1.4; font-weight: 500; }
.buy input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid #cfcfd6; background: #fff; color: #000; font: 400 16px/1 var(--font); }
.buy input:focus { outline: 2px solid #000; outline-offset: 1px; }
.buy .btn-black.full { margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.buy .btn-black[disabled], .btn-white-line[disabled] { opacity: .55; }
.btn-white-line { margin-top: 12px; border-radius: 16px; box-shadow: inset 0 0 0 1.5px #000; font: 600 15px/1 var(--font); color: #000; }
.buy-err { margin-top: 12px; font-size: 13px; line-height: 1.4; color: #b42318; }
.buy-err.ok { color: #067647; }
.buy-note { margin-top: 12px; font-size: 12px; line-height: 1.45; color: var(--muted); } .buy-note a { text-decoration: underline; }
.buy-steps { margin: 16px 0 0 18px; font-size: 14px; line-height: 1.5; }

/* ============ Film ============ */
.film { padding: 96px 24px 72px; background: var(--canvas); }
.film-frame { max-width: 1120px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: #f5f5f7; box-shadow: 0 30px 70px -28px rgba(40,30,90,.35), 0 0 0 1px rgba(0,0,0,.06); }
.film-frame video { display: block; width: 100%; height: auto; }
.film-frame { position: relative; }
.film-play { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; font: 600 16px/1 var(--font); text-shadow: 0 1px 8px rgba(0,0,0,.45); cursor: pointer; }
.film-play[hidden] { display: none; }
.film-play-ico { position: relative; width: 84px; height: 84px; border-radius: 50%; background: rgba(0,0,0,.82); box-shadow: 0 10px 30px rgba(0,0,0,.28); transition: transform .2s; }
.film-play-ico::before { content: ""; position: absolute; left: 34px; top: 26px; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.film-play:hover .film-play-ico { transform: scale(1.06); }
.film-play:focus-visible .film-play-ico { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 760px) { .film-play { font-size: 13px; gap: 8px; } .film-play-ico { width: 56px; height: 56px; } .film-play-ico::before { left: 23px; top: 17px; border-left-width: 17px; border-top-width: 11px; border-bottom-width: 11px; } }
.film-note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .film { padding: 64px 16px 48px; } .film-frame { border-radius: 16px; } }
