/* Mouse Mover · "after hours" theme
   Ink-dark night, presence-green as the dominant accent, away-amber as its foil. */

:root {
  --ink: #0a0d0c;
  --ink-2: #0f1412;
  --panel: #121816;
  --panel-2: #161e1b;
  --line: rgba(214, 255, 232, 0.08);
  --line-2: rgba(214, 255, 232, 0.14);
  --text: #e8f1ec;
  --muted: #8b9a93;
  --faint: #56645e;

  --green: #3ee59d;
  --green-2: #19c389;
  --teal: #10b5c7;
  --amber: #ffb648;
  --blue: #0a84ff;
  --orange: #ff9f0a;
  --indigo: #6e6cff;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Schibsted Grotesk", "Avenir Next", "Helvetica Neue", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 650; }
em { font-style: italic; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--green); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ───────── Atmosphere ───────── */
.atmos { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.a1 { width: 60vw; height: 60vw; left: 35vw; top: -32vw; background: radial-gradient(circle, rgba(62,229,157,.55), rgba(16,181,199,.15) 55%, transparent 70%); animation: drift 22s ease-in-out infinite alternate; }
.a2 { width: 46vw; height: 46vw; left: -18vw; top: 40vh; background: radial-gradient(circle, rgba(16,181,199,.28), transparent 65%); animation: drift 28s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-6vw, 4vw, 0) scale(1.1); } }
.grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(214,255,232,.13) 1px, transparent 1.3px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 10%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 10%, #000 20%, transparent 75%);
}
.grain {
  position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ───────── Load choreography ───────── */
.rise { animation: rise .95s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.reveal { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ───────── Nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: 14px var(--gutter);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(to bottom, rgba(10,13,12,.82), rgba(10,13,12,.4));
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 19px/1 var(--display); letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav nav a:hover { color: var(--text); }
.nav-cta {
  text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--green); color: var(--ink);
  transition: transform .25s var(--spring), box-shadow .25s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px -6px rgba(62,229,157,.7); }

/* ───────── Hero ───────── */
.hero {
  max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--gutter) clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green); padding: 8px 12px; border: 1px solid rgba(62,229,157,.28); border-radius: 999px; background: rgba(62,229,157,.06); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.dot--live { box-shadow: 0 0 0 0 rgba(62,229,157,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(62,229,157,0); } 100% { box-shadow: 0 0 0 0 rgba(62,229,157,0); } }

h1 {
  margin-top: 22px;
  font: 400 clamp(46px, 7.4vw, 98px)/.95 var(--display);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  letter-spacing: -.035em;
}
h1 em { color: var(--green); font-weight: 600; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; text-shadow: 0 0 40px rgba(62,229,157,.35); }
.strike { position: relative; white-space: nowrap; color: var(--muted); }
.strike::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .07em; border-radius: 4px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  animation: strike .7s var(--ease) 1.25s forwards;
}
@keyframes strike { to { transform: scaleX(1); } }

.lede { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.6vw, 19px); color: #bccac3; }
.lede b { color: var(--green); }

.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.ctas.center { justify-content: center; }
.btn-dl {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: #04120c; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.1;
  box-shadow: 0 10px 40px -12px rgba(62,229,157,.7), inset 0 1px 0 rgba(255,255,255,.4);
  transition: transform .3s var(--spring), box-shadow .3s;
}
.btn-dl small { display: block; font: 500 10px/1.2 var(--mono); letter-spacing: .04em; opacity: .7; margin-bottom: 3px; text-transform: uppercase; }
.btn-dl svg { width: 22px; height: 22px; transition: transform .35s var(--spring); }
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -12px rgba(62,229,157,.85), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-dl:hover svg { transform: translateY(3px); }

/* Official badge: shown unmodified, Apple's recommended size, with clear space */
.badge-mas { display: inline-block; text-decoration: none; padding: 8px; margin: -8px; border-radius: 12px; transition: transform .3s var(--spring); }
.badge-mas img { height: 56px; width: auto; }
.badge-fallback { display: flex; flex-direction: column; justify-content: center; height: 56px; padding: 0 18px; border-radius: 12px; background: #000; border: 1px solid #a6a6a6; color: #fff; font: 600 19px/1.05 var(--body); letter-spacing: -.01em; }
.badge-fallback small { font: 400 11px/1.2 var(--body); }
.badge-mas:hover { transform: translateY(-2px); }

.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font: 400 12px/1 var(--mono); color: var(--muted); letter-spacing: .02em; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.facts b { color: var(--text); font-weight: 600; }

/* Product stage */
.hero-stage { position: relative; justify-self: center; width: min(100%, 420px); }
.menubar {
  display: flex; align-items: center; gap: 14px; height: 30px; padding: 0 14px;
  border-radius: 12px 12px 0 0; background: rgba(30,36,34,.75); border: 1px solid var(--line); border-bottom: 0;
  font: 500 12.5px/1 var(--body); color: #dfe8e3; backdrop-filter: blur(10px);
}
.mb-apple { width: 11px; height: 13px; background: currentColor; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%; opacity: .9; }
.mb-item.dim { color: #9aa8a1; }
.mb-spacer { flex: 1; }
.mb-mouse { width: 26px; height: 20px; display: grid; place-items: center; border-radius: 5px; background: rgba(255,255,255,.16); color: #fff; }
.mb-mouse svg { width: 16px; height: 16px; }
.mb-clock { font-variant-numeric: tabular-nums; white-space: nowrap; }

.popover {
  position: relative; margin: 6px 0 0 auto; width: min(100%, 360px);
  padding: 12px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(36,43,40,.92), rgba(24,30,28,.94));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 .5px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(24px);
  transform-origin: 85% 0;
  animation: pop .9s var(--spring) .55s both;
}
@keyframes pop { from { opacity: 0; transform: scale(.88) translateY(-10px); } to { opacity: 1; transform: none; } }
.popover::before { content: ""; position: absolute; top: -6px; right: 92px; width: 12px; height: 12px; background: rgba(36,43,40,.95); border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); transform: rotate(45deg); }

.status { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 13px; background: linear-gradient(135deg, rgba(48,209,88,.2), rgba(16,181,199,.08)); }
.status-orb { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #34c759, #10b5c7); box-shadow: 0 4px 16px rgba(52,199,89,.45); flex: none; }
.status-orb svg { width: 22px; height: 22px; animation: bob 2.2s var(--ease) infinite; }
.status-orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(52,199,89,.6); animation: ring 1.6s ease-out infinite; }
@keyframes ring { to { transform: scale(1.5); opacity: 0; } }
@keyframes bob { 0%, 80%, 100% { transform: none; } 88% { transform: translateY(-3px) scale(1.06); } }
.status-text { display: flex; flex-direction: column; gap: 1px; font-size: 12px; min-width: 0; }
.status-text strong { font-size: 14px; }
.ok { color: #4ade80; }
.muted { color: var(--muted); }
[data-cycle] { transition: opacity .3s; }

.switch { --w: 38px; --h: 22px; position: relative; width: var(--w); height: var(--h); margin-left: auto; border-radius: 99px; background: rgba(255,255,255,.16); flex: none; transition: background .35s; }
.switch i { position: absolute; top: 2px; left: 2px; width: calc(var(--h) - 4px); height: calc(var(--h) - 4px); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: transform .35s var(--spring); }
.switch.on { background: #30d158; }
.switch.on i { transform: translateX(calc(var(--w) - var(--h))); }
.switch.sm { --w: 28px; --h: 16px; }

.cap { margin: 14px 4px 7px; font: 600 10px/1 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); display: flex; }
.manage { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 500; color: #64a8ff; }

.seg { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding: 2px; border-radius: 8px; background: rgba(255,255,255,.08); }
.seg button { position: relative; z-index: 1; height: 26px; border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; transition: color .25s; }
.seg button[aria-checked="true"] { color: var(--text); font-weight: 650; }
.seg button:hover { color: var(--text); }
.seg-thumb { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / 5); border-radius: 6px; background: #5d6662; box-shadow: 0 1px 2px rgba(0,0,0,.35), inset 0 .5px 0 rgba(255,255,255,.2); transform: translateX(calc(var(--i) * 100%)); transition: transform .45s var(--spring); }

.card-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: rgba(0,0,0,.18); border: .5px solid var(--line); font-size: 13.5px; }
.card-row.stack { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 10px; }
.tile { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 80%, #fff), var(--c)); box-shadow: 0 1px 3px color-mix(in srgb, var(--c) 40%, transparent); flex: none; }
.tile svg { width: 15px; height: 15px; }
.sched { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.sched + .sched { border-top: .5px solid var(--line); }
.sched div { display: flex; flex-direction: column; font-size: 13px; }
.sched b { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.sched small { color: var(--muted); font-size: 11px; }
.now { font: 700 8.5px/1 var(--body); font-style: normal; padding: 3px 5px; border-radius: 99px; background: #30d158; color: #fff; }

/* presence chip */
.presence {
  position: absolute; left: -36px; bottom: 44px;
  display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(244, 248, 246, .96); color: #10201a;
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.7);
  animation: rise .9s var(--ease) 1.1s both, float 6s ease-in-out 2s infinite;
}
@keyframes float { 50% { transform: translateY(-8px) rotate(-1.5deg); } }
.avatar { position: relative; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, #1f3a30, #0d1a15); color: var(--green); font: 600 10px/1 var(--mono); }
.pdot { position: absolute; right: -4px; bottom: -4px; width: 15px; height: 15px; border-radius: 50%; border: 3px solid #f4f8f6; background: var(--amber); animation: dotflip 7s infinite; }
.ptext { display: flex; flex-direction: column; font-size: 13px; line-height: 1.25; }
.pstate { position: relative; height: 16px; overflow: hidden; font-size: 12px; }
.pstate span { display: block; animation: stateflip 7s infinite; }
.away { color: #b87908; }
.act { color: #128a55; font-weight: 600; }
@keyframes dotflip { 0%, 30% { background: var(--amber); } 38%, 92% { background: #22c55e; box-shadow: 0 0 10px rgba(34,197,94,.7); } 100% { background: var(--amber); } }
@keyframes stateflip { 0%, 30% { transform: translateY(0); } 38%, 92% { transform: translateY(-100%); } 100% { transform: translateY(0); } }

/* ───────── Ticker ───────── */
.ticker { border-block: 1px solid var(--line); background: rgba(15,20,18,.6); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; gap: 46px; margin: 0; padding: 0 23px; list-style: none; }
.ticker li { display: flex; align-items: center; gap: 12px; white-space: nowrap; font: 400 clamp(20px, 2.4vw, 28px)/1 var(--display); font-variation-settings: "opsz" 72, "SOFT" 50; color: #cbd8d1; }
.ticker li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(62,229,157,.7); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Sections ───────── */
.section { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--gutter) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.kicker { font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
h2 { font: 400 clamp(36px, 5.2vw, 66px)/1 var(--display); font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1; letter-spacing: -.03em; }
h2 em { color: var(--green); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.section-head > p:last-child:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 36em; }
.away-word { color: var(--amber); position: relative; }

/* ───────── Bento ───────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); grid-auto-flow: dense; gap: 14px; }
.cell {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 26px; border-radius: var(--r);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: opacity .8s var(--ease), transform .9s var(--ease), border-color .3s, box-shadow .4s;
}
.cell::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(62,229,157,.1), transparent 60%); transition: opacity .4s; }
.cell:hover { border-color: var(--line-2); }
.cell:hover::after { opacity: 1; }
.cell h3 { font: 500 clamp(22px, 2.1vw, 28px)/1.08 var(--display); font-variation-settings: "opsz" 72, "SOFT" 50; letter-spacing: -.02em; }
.cell h3 em { color: var(--green); }
.cell p { color: var(--muted); font-size: 15.5px; }
.tag { font: 400 11px/1 var(--mono) !important; letter-spacing: .07em; text-transform: uppercase; color: var(--green) !important; }
.fine { font-size: 13px !important; color: var(--faint) !important; }

.c-nudge { grid-column: span 4; grid-row: span 2; flex-direction: row; gap: 28px; align-items: stretch; }
.c-interval, .c-idle, .c-login, .c-private, .c-free, .c-pause, .c-status { grid-column: span 2; }
.c-sched { grid-column: span 3; grid-row: span 2; }
.c-awake, .c-menubar { grid-column: span 3; }
.c-setup { grid-column: span 2; }

/* A · nudge */
.c-nudge .cell-copy { flex: 1 1 42%; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.c-nudge h3 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1; }
.pixels { position: relative; flex: 1 1 58%; min-height: 300px; border-radius: 16px; overflow: hidden; background: #0b100e; border: 1px solid var(--line); }
.pixel-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 34px 34px; background-position: center; }
.pixel-grid::before, .pixel-grid::after { content: ""; position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; background: rgba(62,229,157,.16); border: 1px solid rgba(62,229,157,.5); }
.pixel-grid::after { margin-left: 17px; background: rgba(62,229,157,.06); border-style: dashed; animation: ghost 3.4s var(--ease) infinite; }
.pix-cursor { position: absolute; top: 50%; left: 50%; width: 92px; height: 92px; margin: -17px 0 0 -17px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); animation: nudge 3.4s var(--ease) infinite; }
@keyframes nudge { 0%, 62%, 100% { transform: translateX(0); } 70%, 76% { transform: translateX(34px); } }
@keyframes ghost { 0%, 60%, 100% { opacity: .35; } 70%, 76% { opacity: 1; } }
.pix-label { position: absolute; top: 16px; left: 16px; font: 500 12px/1 var(--mono); color: var(--green); padding: 6px 9px; border-radius: 6px; background: rgba(62,229,157,.1); }
.pix-count { position: absolute; bottom: 16px; right: 16px; font: 400 11px/1 var(--mono); color: var(--muted); }
.pix-count b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }

/* B · interval */
.c-interval h3 span { color: var(--green); font-style: italic; display: inline-block; }
.c-interval h3 span.flash { animation: flash .5s var(--spring); }
@keyframes flash { from { transform: translateY(8px); opacity: 0; } }
.seg-lg { margin-top: auto; }
.seg-lg button { height: 38px; font: 500 13px/1 var(--mono); }
.seg-lg .seg-thumb { background: var(--green); box-shadow: 0 4px 14px -4px rgba(62,229,157,.7); }
.seg-lg button[aria-checked="true"] { color: var(--ink); }

/* C · idle */
.c-idle { flex-direction: row; align-items: center; gap: 20px; }
.idle-ring { position: relative; width: 104px; height: 104px; flex: none; }
.idle-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.idle-ring circle { fill: none; stroke-width: 7; }
.idle-ring .track { stroke: rgba(255,255,255,.07); }
.idle-ring .prog { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; animation: idle 4.5s linear infinite; }
@keyframes idle { 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.idle-state { position: absolute; inset: 0; display: grid; place-items: center; font: 400 10.5px/1 var(--mono); color: var(--muted); }
.idle-state i { font-style: normal; grid-area: 1 / 1; transition: opacity .25s; }
.s-back { opacity: 0; color: var(--amber); }
.c-idle:hover .prog, .c-idle:focus .prog { animation: none; stroke: var(--amber); stroke-dashoffset: 264; transition: stroke-dashoffset .4s; }
.c-idle:hover .s-wait, .c-idle:focus .s-wait { opacity: 0; }
.c-idle:hover .s-back, .c-idle:focus .s-back { opacity: 1; }
.hint { color: var(--faint); }
.c-idle h3 { margin: 8px 0 6px; }

/* D · schedules */
.week { margin-top: auto; display: flex; flex-direction: column; gap: 7px; padding: 16px; border-radius: 14px; background: rgba(0,0,0,.22); border: 1px solid var(--line); }
.week-hours { display: flex; justify-content: space-between; margin-left: 42px; font: 400 9.5px/1 var(--mono); color: var(--faint); }
.week-row { position: relative; display: flex; align-items: center; height: 20px; }
.week-row b { width: 42px; flex: none; font: 400 11px/1 var(--mono); color: var(--muted); }
.week-row::after { content: ""; position: absolute; left: 42px; right: 0; top: 50%; height: 1px; background: var(--line); z-index: 0; }
.bar { position: absolute; z-index: 1; top: 3px; bottom: 3px; border-radius: 6px; left: calc(42px + (100% - 42px) * var(--s) / 100); width: calc((100% - 42px) * (var(--e) - var(--s)) / 100); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.in .bar { transform: scaleX(1); }
.week-row:nth-child(3) .bar { transition-delay: .08s; } .week-row:nth-child(4) .bar { transition-delay: .16s; } .week-row:nth-child(5) .bar { transition-delay: .24s; } .week-row:nth-child(6) .bar { transition-delay: .32s; } .week-row:nth-child(7) .bar { transition-delay: .4s; } .week-row:nth-child(8) .bar { transition-delay: .48s; }
.b-blue { background: linear-gradient(90deg, #3b9bff, var(--blue)); }
.b-orange { background: linear-gradient(90deg, #ffb340, var(--orange)); }
.b-indigo { background: linear-gradient(90deg, #8a88ff, var(--indigo)); }
.now-line { position: absolute; z-index: 2; top: -4px; bottom: -4px; left: calc(42px + (100% - 42px) * .6); width: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 10px #fff; animation: nowpulse 2s ease-in-out infinite; }
.now-line::before { content: "NOW"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font: 700 8px/1 var(--body); letter-spacing: .05em; padding: 2px 4px; border-radius: 99px; background: #30d158; color: #fff; }
@keyframes nowpulse { 50% { opacity: .55; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

/* E · awake */
.c-awake { flex-direction: row; align-items: center; gap: 24px; }
.moon { position: relative; width: 96px; height: 96px; flex: none; color: #cfd9d4; }
.moon svg { width: 64px; height: 64px; margin: 16px; }
.z { position: absolute; font: italic 600 16px/1 var(--display); color: var(--muted); opacity: 0; animation: zz 3.6s ease-in infinite; }
.z1 { right: 18px; top: 18px; } .z2 { right: 6px; top: 6px; animation-delay: .5s; font-size: 20px; } .z3 { right: -6px; top: -8px; animation-delay: 1s; font-size: 26px; }
@keyframes zz { 0% { opacity: 0; transform: translate(-6px, 8px); } 30% { opacity: .9; } 55%, 100% { opacity: 0; transform: translate(8px, -10px); } }
.slash { position: absolute; left: 6px; right: 6px; top: 50%; height: 4px; border-radius: 4px; background: var(--amber); box-shadow: 0 0 0 3px var(--panel); transform: rotate(-38deg) scaleX(0); transition: transform .7s var(--spring) .5s; }
.in .slash { transform: rotate(-38deg) scaleX(1); }

/* G · menu bar */
.mini-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 14px; margin-bottom: 6px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font: 500 12px/1 var(--body); color: #cfd9d4; }
.mini-sp { flex: 1; }
.mini-mouse { width: 30px; height: 24px; display: grid; place-items: center; border-radius: 6px; animation: mmbg 4s infinite; }
.mini-mouse svg { width: 18px; height: 18px; }
.mm-body { fill: transparent; stroke: #e8f1ec; stroke-width: 1.6; animation: mmfill 4s infinite; }
.mm-line { stroke: #e8f1ec; animation: mmline 4s infinite; }
@keyframes mmfill { 0%, 45% { fill: transparent; } 55%, 95% { fill: #e8f1ec; } 100% { fill: transparent; } }
@keyframes mmline { 0%, 45% { stroke: #e8f1ec; } 55%, 95% { stroke: #0f1412; } 100% { stroke: #e8f1ec; } }
@keyframes mmbg { 0%, 45% { background: transparent; } 55%, 95% { background: rgba(62,229,157,.22); } 100% { background: transparent; } }
.mini-t { color: var(--muted); }

/* H · setup */
.c-setup { padding-top: 22px; }
.circle-test { position: relative; width: 108px; height: 108px; margin-bottom: 4px; }
.ct-path { width: 100%; height: 100%; }
.ct-path circle { fill: none; stroke: rgba(110,108,255,.55); stroke-width: 2; stroke-dasharray: 214; stroke-dashoffset: 214; stroke-linecap: round; animation: draw 3.2s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 214; opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 85%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.ct-cursor { position: absolute; width: 22px; height: 22px; left: 0; top: 0; offset-path: path("M84.6,54 A30.6,30.6 0 1,1 84.6,53.99"); offset-rotate: 0deg; offset-anchor: 4px 2px; animation: orbit 3.2s var(--ease) infinite; filter: drop-shadow(0 3px 6px rgba(0,0,0,.6)); }
@keyframes orbit { 0% { offset-distance: 0%; } 60%, 100% { offset-distance: 100%; } }

/* I · pause */
.pause-demo { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid var(--line); }
.pause-demo .switch { margin: 0; animation: swoff 5s infinite; }
.pause-demo .switch i { animation: swknob 5s infinite; }
.pd-txt { font: 400 11px/1 var(--mono); color: var(--amber); opacity: 0; animation: pdtxt 5s infinite; }
@keyframes swoff { 0%, 30% { background: #30d158; } 38%, 92% { background: rgba(255,255,255,.16); } 100% { background: #30d158; } }
@keyframes swknob { 0%, 30% { transform: translateX(16px); } 38%, 92% { transform: translateX(0); } 100% { transform: translateX(16px); } }
@keyframes pdtxt { 0%, 34% { opacity: 0; } 42%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* J · status */
.status-lines { position: relative; margin-top: auto; height: 42px; overflow: hidden; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid var(--line); }
.status-lines span { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 14px; font: 400 12px/1 var(--mono); color: #4ade80; opacity: 0; animation: lines 10s infinite; }
.status-lines span:nth-child(2) { animation-delay: 2.5s; } .status-lines span:nth-child(3) { animation-delay: 5s; } .status-lines span:nth-child(4) { animation-delay: 7.5s; }
@keyframes lines { 0% { opacity: 0; transform: translateY(14px); } 4%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-14px); } }

/* F · login */
.switch.xl { --w: 76px; --h: 42px; margin: 0 0 6px; }
.switch.xl i { top: 3px; left: 3px; width: 36px; height: 36px; }
.in .switch.xl { background: #30d158; transition-delay: .5s; box-shadow: 0 0 28px -6px rgba(48,209,88,.8); }
.in .switch.xl i { transform: translateX(34px); transition-delay: .5s; }

/* K · private */
.c-private { background: radial-gradient(circle at 100% 0%, rgba(16,181,199,.14), transparent 55%), linear-gradient(160deg, var(--panel-2), var(--panel) 60%); }

/* Free */
.c-free { background: linear-gradient(140deg, var(--green), var(--teal)); border-color: transparent; color: var(--ink); justify-content: flex-end; }
.c-free p { color: rgba(4,18,12,.78); }
.c-free .tag { color: rgba(4,18,12,.7) !important; }
.c-free .free-big { font: 600 clamp(56px, 6vw, 84px)/.9 var(--display); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; letter-spacing: -.04em; color: var(--ink); }
.c-free::after { background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.3), transparent 60%); }

/* ───────── Apps ───────── */
.apps { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }
.app-group { padding: 26px; border-radius: var(--r); background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%); border: 1px solid var(--line); }
.app-group h3 { font: 400 11px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.app-group ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.app-group li {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px 9px 12px; border-radius: 999px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line); font-size: 15px; white-space: nowrap;
  transition: border-color .3s, background .3s, transform .3s var(--spring);
}
.app-group li:hover { transform: translateY(-2px); border-color: rgba(62,229,157,.4); background: rgba(62,229,157,.06); }
.app-group li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); transition: background .5s, box-shadow .5s; transition-delay: var(--dd, 0ms); }
.apps.in li::before { background: var(--green); box-shadow: 0 0 9px rgba(62,229,157,.7); }
.disclaimer { margin-top: 18px; font-size: 13px; color: var(--faint); max-width: 60em; }

/* ───────── Steps ───────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding: 26px 24px 28px; border-top: 1px solid var(--line-2); }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--green); transition: width 1s var(--ease) .3s; }
.steps li.in::before { width: 100%; }
.steps .n { display: block; font: 300 54px/1 var(--display); font-style: italic; color: var(--green); font-variation-settings: "opsz" 144, "SOFT" 100; margin-bottom: 18px; }
.steps h3 { font: 500 22px/1.1 var(--display); margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* ───────── FAQ ───────── */
.faq-list { max-width: 820px; border-top: 1px solid var(--line-2); }
details { border-bottom: 1px solid var(--line-2); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font: 400 clamp(19px, 2vw, 23px)/1.25 var(--display); font-variation-settings: "opsz" 48, "SOFT" 50; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 26px/1 var(--mono); color: var(--green); transition: transform .35s var(--spring); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 4px 24px; color: var(--muted); max-width: 40em; }

/* ───────── Final ───────── */
.final { max-width: calc(var(--max) + 2 * var(--gutter)); margin: clamp(80px, 11vw, 140px) auto 0; padding: clamp(56px, 8vw, 96px) var(--gutter); text-align: center; position: relative; }
.final::before { content: ""; position: absolute; inset: 0 var(--gutter); z-index: -1; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(62,229,157,.18), transparent 60%), var(--ink-2); }
.final-icon { margin: 0 auto 26px; border-radius: 24px; filter: drop-shadow(0 20px 40px rgba(62,229,157,.35)); animation: hover 5s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-8px); } }
.final h2 { font-size: clamp(40px, 6vw, 76px); }
.final > p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.final .fine { margin-top: 22px; }

.foot { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 36px var(--gutter) 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.foot a { text-decoration: none; color: var(--text); }
.foot a:hover { color: var(--green); }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--muted); }

/* ───────── Responsive ───────── */
@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .c-nudge { grid-column: span 4; }
  .c-sched { grid-column: span 4; grid-row: span 1; }
  .c-awake, .c-menubar { grid-column: span 2; }
  .c-awake { flex-direction: column; align-items: flex-start; }
  .apps { grid-template-columns: 1fr 1fr; }
  .apps .app-group:first-child { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage { margin-top: 10px; }
  .presence { left: -6px; bottom: -38px; }
  .nav nav { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(50px, 14vw, 64px); }
  .menubar .dim { display: none; }
  .hero-stage { margin-bottom: 30px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .cell { grid-column: auto; grid-row: auto; }
  .c-nudge { flex-direction: column-reverse; }
  .pixels { min-height: 220px; }
  .c-idle, .c-awake { flex-direction: row; align-items: center; }
  .idle-ring { width: 84px; height: 84px; }
  .moon { width: 76px; height: 76px; } .moon svg { width: 50px; height: 50px; margin: 13px; }
  .apps { grid-template-columns: 1fr; }
  .apps .app-group:first-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .btn-dl { width: 100%; justify-content: center; }
  .ctas { gap: 16px; }
  .ctas .badge-mas { margin: 0 auto; }
  .ctas.center .btn-dl { width: auto; }
  .cell { padding: 22px; }
  .week { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
