/* Layout: a macOS desktop at night. The menu bar is the site header, the notch in it is the product;
   sections below scroll under it like windows over an aurora wallpaper. Single dark look by choice. */
:root {
  --ink: #140a05;          /* page ground, refried-bean brown-black */
  --night: #22110a;        /* section ground, a toasted tortilla in the dark */
  --indigo: #4a2412;
  --fg: #fff5e1;           /* sour cream */
  --muted: #d9bf9f;
  --faint: #977c64;
  --line: rgba(255, 196, 110, .14);
  --cyan: #2ec4b6;         /* the icon's turquoise */
  --periwinkle: #ffc93c;   /* nacho cheese */
  --orchid: #ff5a4e;       /* salsa */
  --mint: #8ac926;         /* guac */
  --cheese: #ffc93c;
  --salsa: #ff5a4e;
  --guac: #8ac926;
  --chip: #f4b23e;
  --aurora: linear-gradient(100deg, #ffd23f, #ff9f1c 45%, #ff5a4e);

  /* The app's own palette (Ui.cs) */
  --n-surface: #1c1c1e;
  --n-raised: #2c2c2e;
  --n-sep: #38383a;
  --n-sec: rgba(235, 235, 245, .6);
  --n-ter: rgba(235, 235, 245, .3);
  --n-blue: #0a84ff;
  --n-teal: #64d2ff;
  --n-green: #30d158;
  --n-yellow: #ffd60a;
  --n-orange: #ff9f0a;
  --n-red: #ff453a;
  --n-pink: #ff375f;
  --n-purple: #bf5af2;
  --n-indigo: #5e5ce6;

  --display: "Lilita One", "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --script: "Pacifico", "Brush Script MT", cursive;
  --body: "Geist", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Segoe UI", system-ui, sans-serif;

  --mb-h: 34px;
  --spring: cubic-bezier(.22, 1.18, .36, 1);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--ink); }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--periwinkle); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(255, 186, 60, .45); }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- progress + menubar ---------- */
#progress {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 2px; width: 100%;
  background: var(--aurora); transform-origin: 0 50%; transform: scaleX(0); z-index: 820;
}
.menubar {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: var(--mb-h); z-index: 800;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-left: max(14px, env(safe-area-inset-left, 0px));
  padding-right: max(14px, env(safe-area-inset-right, 0px));
  background: rgba(30, 14, 6, .42);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font: 500 13px/1 var(--sf);
  animation: drop-in .9s var(--ease) both;
}
@keyframes drop-in { from { transform: translateY(-100%); } }
.mb-left, .mb-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.mb-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.mb-brand img { border-radius: 4px; }
.mb-nav { display: flex; gap: 16px; }
.mb-nav a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.mb-nav a:hover { opacity: 1; }
.mb-status { display: flex; align-items: center; gap: 10px; opacity: .9; }
.mb-battery { width: 24px; height: 11px; border: 1.2px solid currentColor; border-radius: 3px; padding: 1px; position: relative; }
.mb-battery::after { content: ""; position: absolute; right: -3.5px; top: 3px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; }
.mb-battery i { display: block; height: 100%; width: 78%; background: currentColor; border-radius: 1px; }
.mb-clock { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mb-cta {
  text-decoration: none; padding: 5px 11px; border-radius: 999px; font-weight: 600;
  background: var(--fg); color: #2a1206; transition: transform .2s var(--spring), box-shadow .2s;
}
.mb-cta:hover { transform: scale(1.05); box-shadow: 0 0 24px rgba(255, 186, 60, .6); }

/* ---------- the notch ---------- */
.notch-wrap {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 50%; z-index: 1000;
  transform: translateX(-50%);
  pointer-events: none;
}
.notch {
  --s: 1;
  position: relative;
  pointer-events: auto;
  width: 180px; height: var(--mb-h);
  background: #000;
  border-radius: 0 0 12px 12px;
  transform-origin: 50% 0;
  transform: scale(var(--s));
  transition:
    width .52s var(--spring),
    height .52s var(--spring),
    border-radius .4s var(--ease),
    transform .45s var(--ease),
    box-shadow .5s var(--ease);
  font-family: var(--sf);
  color: #fff;
  animation: boot 1.3s var(--spring) .25s backwards;
}
@keyframes boot { from { width: 0; height: 12px; } }
.notch::before, .notch::after {
  content: ""; position: absolute; top: 0; width: 10px; height: 10px; pointer-events: none;
}
.notch::before { left: -10px; background: radial-gradient(circle at 0 100%, transparent 9.5px, #000 10px); }
.notch::after { right: -10px; background: radial-gradient(circle at 100% 100%, transparent 9.5px, #000 10px); }
.notch.is-panel { border-radius: 0 0 24px 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .05), 0 0 60px rgba(255, 186, 60, .12); }
.notch.is-hud { border-radius: 0 0 14px 14px; }
.notch.attract { box-shadow: 0 0 0 0 rgba(255, 186, 60, .6); animation: boot 1.3s var(--spring) .25s backwards, attract 2.4s ease-out 1.8s infinite; }
@keyframes attract {
  0% { box-shadow: 0 0 0 0 rgba(255, 186, 60, .55), 0 0 30px rgba(46, 196, 182, .25); }
  70% { box-shadow: 0 0 0 16px rgba(255, 186, 60, 0), 0 0 30px rgba(46, 196, 182, .1); }
  100% { box-shadow: 0 0 0 0 rgba(255, 186, 60, 0), 0 0 30px rgba(46, 196, 182, 0); }
}
.notch-layer {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%) scale(.96);
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .4s var(--spring), filter .3s;
  filter: blur(4px);
}
.notch-layer { width: max-content; }
.notch-layer.on { opacity: 1; transform: translateX(-50%); pointer-events: auto; filter: none; transition-delay: .12s; }
.drop-glow { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .2s; box-shadow: inset 0 0 0 2px var(--n-teal), 0 0 40px rgba(100, 210, 255, .6); }
.notch.dropping .drop-glow { opacity: 1; }

/* peek */
.peek { display: flex; align-items: center; height: var(--mb-h); white-space: nowrap; }
.peek .wing { display: flex; align-items: center; gap: 8px; padding: 0 12px; font: 600 13px/1 var(--sf); font-variant-numeric: tabular-nums; }
.peek .wing.l { justify-content: flex-start; }
.peek .wing.r { justify-content: flex-end; }
.peek .cam { flex: none; }
.p-art { width: 22px; height: 22px; border-radius: 5px; flex: none; }
.p-bars { display: flex; align-items: center; gap: 2px; height: 14px; }
.p-bars i { width: 3px; height: 4px; border-radius: 2px; background: var(--accent, #aaa); transition: height .2s; }
.p-bars.on i { animation: eq .9s ease-in-out infinite alternate; }
.p-bars.on i:nth-child(2) { animation-delay: -.3s; animation-duration: .7s; }
.p-bars.on i:nth-child(3) { animation-delay: -.6s; animation-duration: 1.1s; }
.p-bars.on i:nth-child(4) { animation-delay: -.15s; animation-duration: .8s; }
@keyframes eq { 0% { height: 4px; } 100% { height: 14px; } }
.peek .ico { display: inline-flex; }
.peek .meet { color: var(--n-red); }
.peek .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--n-red); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* hud */
.hud { display: flex; align-items: center; justify-content: space-between; height: var(--mb-h); padding: 0 16px; gap: 12px; font: 700 13px/1 var(--sf); font-variant-numeric: tabular-nums; }
.hud .hud-r { display: flex; align-items: center; gap: 12px; }
.hud .hud-bar { width: 86px; height: 5px; border-radius: 3px; background: #3a3a3c; overflow: hidden; }
.hud .hud-bar i { display: block; height: 100%; background: #fff; border-radius: 3px; transition: width .15s; }
.hud .hud-n { width: 22px; text-align: right; }

/* panel */
.panel { width: 700px; padding: 0 14px 14px; font-size: 13px; line-height: 1.3; }
.panel svg { width: 16px; height: 16px; flex: none; }
.tabs { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.tabs .grp { display: flex; gap: 2px; }
.tab {
  width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 8px;
  background: transparent; color: rgba(235, 235, 245, .62); cursor: pointer;
  transition: background .15s, color .15s, transform .2s var(--spring);
}
.tab:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.tab:active { transform: scale(.9); }
.tab.on { background: var(--n-raised); color: #fff; width: auto; padding: 0 10px 0 8px; gap: 6px; display: inline-flex; font: 700 13px/1 var(--sf); white-space: nowrap; animation: tab-grow .35s var(--spring); }
@keyframes tab-grow { from { max-width: 28px; } to { max-width: 160px; } }
.tab.on span { overflow: hidden; }
.tab.pin.on { background: transparent; color: var(--n-orange); width: 28px; padding: 0; animation: none; }
.tab svg { width: 18px; height: 18px; }
.body { position: relative; }
.body > .view { animation: view-in .35s var(--ease); }
.body > .view.stay { animation: none; }
.peek svg { width: 15px; height: 15px; }
.hud svg { width: 18px; height: 18px; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } }
.n-card { background: var(--n-surface); border-radius: 16px; padding: 14px; }
.n-cap { font: 700 11px/1 var(--sf); letter-spacing: .06em; text-transform: uppercase; color: var(--n-ter); }
.n-sec { color: var(--n-sec); }
.n-ter { color: var(--n-ter); }
.n-btn {
  border: 0; border-radius: 999px; padding: 8px 14px; background: var(--n-raised); color: #fff;
  font: 600 13px/1 var(--sf); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .15s, transform .15s var(--spring), filter .15s;
}
.n-btn:hover { filter: brightness(1.25); }
.n-btn:active { transform: scale(.95); }
.n-btn svg { width: 15px; height: 15px; }
.n-btn.white { background: #fff; color: #000; }
.n-btn.blue { background: var(--n-blue); }
.n-btn.red { color: var(--n-red); }
.n-icon { border: 0; background: transparent; color: var(--n-sec); cursor: pointer; display: inline-grid; place-items: center; padding: 4px; border-radius: 6px; transition: color .15s, background .15s; }
.n-icon:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.n-icon svg { width: 16px; height: 16px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.tnum { font-variant-numeric: tabular-nums; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* controls bar */
.controls { display: flex; gap: 10px; margin-top: 10px; }
.controls .pp { width: 36px; height: 36px; border-radius: 10px; flex: none; padding: 0; }
.controls .pp svg, .m-btns svg, .p-play svg { fill: currentColor; }
.ctl { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--n-surface); border-radius: 12px; padding: 0 14px; height: 36px; min-width: 0; color: var(--n-sec); }
.ctl svg { width: 15px; height: 15px; flex: none; }
.slider { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--c) var(--v), #3a3a3c var(--v)); outline: none; cursor: pointer; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); transition: transform .15s var(--spring); }
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: #fff; }

/* media */
.media { display: flex; gap: 16px; padding: 12px; border-radius: 18px; background: linear-gradient(100deg, color-mix(in srgb, var(--accent) 34%, #1c1c1e), #1c1c1e 70%); transition: background .6s; }
.m-art { width: 96px; height: 96px; border-radius: 12px; flex: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); position: relative; overflow: hidden; }
.m-art.swap { animation: art-swap .5s var(--spring); }
@keyframes art-swap { from { transform: scale(.7) rotate(-6deg); opacity: 0; } }
.m-title { font: 700 17px/1.2 var(--sf); }
.m-sub { color: var(--n-sec); margin-top: 3px; }
.m-scrub { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: var(--n-ter); font: 600 12px/1 var(--sf); }
.m-track { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .14); cursor: pointer; position: relative; }
.m-fill { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: color-mix(in srgb, var(--accent) 65%, #fff); }
.m-btns { display: flex; justify-content: center; gap: 26px; margin-top: 8px; }
.m-btns button { border: 0; background: none; cursor: pointer; color: rgba(255, 255, 255, .7); display: grid; place-items: center; transition: transform .15s var(--spring), color .15s; }
.m-btns button:hover { color: #fff; }
.m-btns button:active { transform: scale(.82); }
.m-btns .big svg { width: 30px; height: 30px; color: #fff; }
.m-btns svg { width: 22px; height: 22px; }

/* weather */
.w-now { border-radius: 18px; padding: 14px 16px; position: relative; overflow: hidden; background: var(--sky); transition: background .6s; }
.w-head { display: flex; justify-content: space-between; align-items: flex-start; }
.w-place { display: flex; align-items: center; gap: 8px; font: 700 18px/1 var(--sf); }
.w-cond { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: rgba(255, 255, 255, .75); font-weight: 600; }
.w-temp { font: 300 48px/1 var(--sf); text-align: right; cursor: pointer; border: 0; background: none; padding: 0; }
.w-hl { font-weight: 600; font-size: 12px; color: rgba(255, 255, 255, .7); text-align: right; }
.w-hours { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: 14px; text-align: center; font: 600 12px/1 var(--sf); }
.w-hours div { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.w-hours span { color: rgba(255, 255, 255, .7); }
.w-hours b { font-size: 13px; }
.w-hours svg, .w-day svg { width: 20px; height: 20px; }
.w-cond svg { width: 18px; height: 18px; }
.w-days { margin-top: 10px; }
.w-day { display: grid; grid-template-columns: 54px 26px 36px 1fr 36px; align-items: center; gap: 10px; padding: 5px 0; font: 600 14px/1 var(--sf); }
.w-day .lo { color: var(--n-ter); text-align: right; }
.w-day .hi { text-align: right; }
.w-bar { height: 5px; border-radius: 3px; background: #2c2c2e; position: relative; }
.w-bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, var(--a), var(--b)); transform-origin: 0 50%; animation: bar-grow .7s var(--spring) both; }
.w-bar em { position: absolute; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px #1c1c1e; }
@keyframes bar-grow { from { transform: scaleX(0); } }
.w-nav { display: flex; gap: 4px; }
.w-nav button { color: rgba(255, 255, 255, .85); }
.w-src { font-size: 11px; color: var(--n-ter); margin-top: 8px; text-align: right; }

/* tray */
.tray-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tile { width: 100px; height: 92px; border-radius: 14px; background: var(--n-surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; animation: tile-in .5s var(--spring); position: relative; }
@keyframes tile-in { from { transform: scale(.4) translateY(-30px); opacity: 0; } }
.tile .ftype { width: 30px; height: 36px; border-radius: 4px; display: grid; place-items: end center; padding-bottom: 3px; font: 800 7px/1 var(--sf); color: rgba(0, 0, 0, .55); position: relative; background: #e9e9ee; }
.tile .ftype::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 9px 9px 0; border-color: transparent var(--n-surface) rgba(0, 0, 0, .18) transparent; }
.tile .fthumb { width: 40px; height: 34px; border-radius: 4px; background-size: cover; background-position: center; }
.tile .fname { font-size: 11px; color: rgba(255, 255, 255, .85); max-width: 88px; }
.tile .facts { display: flex; gap: 2px; }
.tile .facts .n-icon { padding: 2px; }
.tile .facts svg { width: 12px; height: 12px; }
.drop-zone { border: 1.5px dashed #48484a; border-radius: 16px; height: 120px; display: grid; place-items: center; text-align: center; color: var(--n-sec); transition: border-color .2s, background .2s; }
.drop-zone svg { width: 26px; height: 26px; margin-bottom: 6px; }
.notch.dropping .drop-zone { border-color: var(--n-teal); background: rgba(100, 210, 255, .07); }
.tray-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.radar { width: 16px; height: 16px; border-radius: 50%; position: relative; }
.radar::before, .radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--n-blue); animation: radar 1.4s ease-out infinite; }
.radar::after { animation-delay: .7s; }
@keyframes radar { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* stats */
.st-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.st-ring { display: flex; align-items: center; gap: 12px; }
.st-ring svg { width: 54px; height: 54px; transform: rotate(-90deg); flex: none; }
.st-ring circle { fill: none; stroke-width: 6; }
.st-ring .bg { stroke: #2c2c2e; }
.st-ring .fg { stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.st-ring .lbl { font: 700 11px/1 var(--sf); letter-spacing: .04em; }
.st-ring .val { font: 700 22px/1.1 var(--sf); font-variant-numeric: tabular-nums; }
.st-ring .sub { color: var(--n-ter); font-size: 11px; }
.st-chart { margin-top: 10px; }
.st-chart canvas { width: 100%; height: 70px; display: block; margin-top: 6px; }
.st-io { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.st-io .vals { display: flex; gap: 22px; margin-top: 8px; font: 700 15px/1 var(--sf); font-variant-numeric: tabular-nums; }
.st-io .vals span { display: inline-flex; align-items: center; gap: 7px; }
.dotico { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; }
.dotico svg { width: 11px; height: 11px; }

/* processes */
.procs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.procs th { font: 700 11px/1 var(--sf); text-transform: uppercase; letter-spacing: .05em; color: var(--n-ter); text-align: right; padding: 4px 6px 8px; cursor: pointer; user-select: none; white-space: nowrap; }
.procs th:first-child, .procs td:first-child { text-align: left; }
.procs th.on { color: #fff; }
.procs td { padding: 5px 6px; text-align: right; border-top: 1px solid #262628; white-space: nowrap; }
.procs td:first-child { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.procs tr { transition: opacity .3s, transform .3s; }
.procs tr.gone { opacity: 0; transform: translateX(30px); }
.procs .kill { padding: 2px 4px; }
.procs .kill.ask { color: #fff; background: var(--n-red); border-radius: 6px; font: 700 11px/1 var(--sf); padding: 4px 7px; }
.pdot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; vertical-align: 0; }

/* capture */
.cap-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.cap { border: 0; border-radius: 14px; background: var(--n-surface); padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; font: 600 12px/1 var(--sf); transition: background .15s, transform .2s var(--spring); }
.cap:hover { background: var(--n-raised); transform: translateY(-2px); }
.cap svg { width: 24px; height: 24px; }
.cap.live { color: var(--n-red); }
.cap-recent { display: flex; gap: 8px; margin-top: 8px; }
.cap-recent span { flex: 1; height: 54px; border-radius: 8px; background-size: cover; background-position: center; border: 1px solid #2c2c2e; }

/* mirror */
.mirror { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.mirror video, .mirror canvas { width: 100%; height: 100%; object-fit: cover; display: block; transform: scaleX(-1); transition: filter .3s; }
.mirror .m-msg { position: absolute; inset: auto 12px 12px; padding: 8px 10px; border-radius: 10px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); font-size: 12px; color: rgba(255, 255, 255, .85); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mirror-ctl { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.looks { display: flex; align-items: center; gap: 4px; background: var(--n-surface); border-radius: 999px; padding: 4px 6px; }
.looks b { width: 76px; text-align: center; font: 700 14px/1 var(--sf); }
.shutter { width: 56px; height: 36px; border-radius: 12px; }

/* notes */
.rec-card { display: flex; align-items: center; gap: 16px; }
.rec-btn { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--n-raised); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; transition: background .2s, transform .2s var(--spring); }
.rec-btn svg { width: 22px; height: 22px; }
.rec-btn.on { background: var(--n-red); animation: rec-pulse 1.4s ease-out infinite; }
@keyframes rec-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 69, 58, .6); } 100% { box-shadow: 0 0 0 16px rgba(255, 69, 58, 0); } }
.rec-time { font: 700 26px/1 var(--sf); font-variant-numeric: tabular-nums; color: var(--n-ter); }
.rec-time.on { color: #fff; }
.meter { height: 6px; border-radius: 3px; background: #2c2c2e; margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--n-green), var(--n-yellow) 70%, var(--n-red)); transition: width .08s; }
.note-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.note-row + .note-row { border-top: 1px solid #262628; }
.note-prog { height: 3px; border-radius: 2px; background: #2c2c2e; margin-top: 5px; overflow: hidden; }
.note-prog i { display: block; height: 100%; width: 0; background: #fff; }

/* tasks + clipboard + lists */
.list-row { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-radius: 10px; animation: row-in .4s var(--spring); }
@keyframes row-in { from { opacity: 0; transform: translateX(-12px); } }
.list-row + .list-row { border-top: 1px solid #262628; }
.check { width: 20px; height: 20px; border-radius: 50%; border: 1.8px solid #636366; background: none; cursor: pointer; flex: none; display: grid; place-items: center; transition: background .2s, border-color .2s, transform .25s var(--spring); }
.check svg { width: 12px; height: 12px; opacity: 0; transform: scale(.3); transition: transform .3s var(--spring), opacity .2s; }
.check.on { background: rgba(48, 209, 88, .25); border-color: transparent; color: var(--n-green); }
.check.on svg { opacity: 1; transform: none; }
.task-t { font-size: 15px; position: relative; transition: color .3s; }
.task-t.done { color: var(--n-ter); }
.task-t::after { content: ""; position: absolute; left: 0; top: 52%; height: 1.5px; width: 0; background: currentColor; transition: width .35s var(--ease); }
.task-t.done::after { width: 100%; }
.clip-row { cursor: pointer; }
.clip-row:hover { background: rgba(255, 255, 255, .04); }
.clip-row.flash { animation: clip-flash .6s; }
@keyframes clip-flash { 0% { background: rgba(100, 210, 255, .3); } }
.clip-t { font-size: 14px; }
.clip-t.pinned { font-weight: 700; }
.empty { color: var(--n-ter); text-align: center; padding: 22px 0; }

/* calendar */
.cal-head { display: flex; justify-content: space-between; align-items: center; }
.cal-month { color: var(--n-red); font: 700 12px/1 var(--sf); letter-spacing: .06em; text-transform: uppercase; }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; margin-top: 10px; }
.cal-day { border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 0; font: 700 11px/1 var(--sf); color: var(--n-ter); }
.cal-day b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: #fff; transition: background .2s, transform .2s var(--spring); position: relative; }
.cal-day:hover b { background: rgba(255, 255, 255, .08); }
.cal-day.past b { color: var(--n-ter); }
.cal-day.today { color: var(--n-red); }
.cal-day.today b { background: var(--n-red); }
.cal-day.sel:not(.today) b { background: var(--n-raised); }
.cal-day.has b::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.ev { display: flex; gap: 12px; align-items: stretch; padding: 7px 0; }
.ev + .ev { border-top: 1px solid #262628; }
.ev i { width: 4px; border-radius: 2px; background: var(--c); flex: none; }
.ev .when { color: var(--n-sec); font-size: 12px; margin-top: 2px; }
.ev .soon { color: var(--n-red); font-weight: 600; }

/* timer */
.timer { display: flex; gap: 20px; align-items: center; }
.t-ring { width: 128px; height: 128px; position: relative; flex: none; }
.t-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.t-ring circle { fill: none; stroke-width: 9; }
.t-ring .bg { stroke: #2c2c2e; }
.t-ring .fg { stroke: var(--n-orange); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.t-ring .lbl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.t-ring .lbl b { font: 700 28px/1 var(--sf); font-variant-numeric: tabular-nums; }
.t-ring .lbl span { font: 700 11px/1 var(--sf); letter-spacing: .05em; color: var(--n-ter); margin-top: 5px; text-transform: uppercase; }
.t-ring.done { animation: done-pulse .8s ease-in-out 4; }
@keyframes done-pulse { 50% { transform: scale(1.06); filter: drop-shadow(0 0 14px rgba(255, 159, 10, .8)); } }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.presets .n-btn { padding: 11px; }
.t-ring.awake { border: 0; padding: 0; background: none; color: #fff; cursor: pointer; border-radius: 50%; }
.t-ring.awake .fg { stroke: var(--n-yellow); transition: stroke-dashoffset 1s linear; }
.t-ring.awake .lbl b { font-size: 24px; }
.t-ring.awake .cup { color: var(--n-ter); display: inline-flex; margin-bottom: 4px; }
.t-ring.awake.on .cup { color: var(--n-yellow); }
.t-ring.awake .cup svg { width: 22px; height: 22px; }
.n-btn.yellow { background: var(--n-yellow); color: #000; }
.aw-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.t-demo { border: 0; background: none; color: var(--n-teal); cursor: pointer; font: 600 12px/1 var(--sf); padding: 0; margin-top: 10px; }

/* calculator */
.calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; }
.c-display { background: var(--n-surface); border-radius: 14px; padding: 10px 14px; text-align: right; }
.c-expr { color: var(--n-ter); font-size: 12px; min-height: 15px; }
.c-val { font: 300 34px/1.1 var(--sf); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.ck { border: 0; height: 36px; border-radius: 10px; background: var(--n-raised); color: #fff; font: 500 16px/1 var(--sf); cursor: pointer; transition: filter .1s, transform .12s var(--spring); }
.ck:hover { filter: brightness(1.3); }
.ck:active { transform: scale(.92); }
.ck.fn { background: #48484a; }
.ck.op { background: var(--n-orange); font-size: 19px; }
.ck.op.sel { background: #fff; color: var(--n-orange); }
.ck.zero { grid-column: span 2; }
.c-hist { background: var(--n-surface); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; min-height: 0; }
.c-hist ul { list-style: none; margin: 8px 0 0; padding: 0; overflow: auto; max-height: 190px; }
.c-hist li { padding: 6px 4px; border-radius: 8px; cursor: pointer; text-align: right; font-variant-numeric: tabular-nums; animation: row-in .3s var(--spring); }
.c-hist li:hover { background: rgba(255, 255, 255, .06); }
.c-hist li span { color: var(--n-ter); font-size: 11px; display: block; }

/* prompter */
.prompter { height: 150px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 75%, transparent); }
.prompter .script { padding: 30px 10px 120px; font: 700 var(--fs, 24px)/1.3 var(--sf); white-space: pre-wrap; will-change: transform; }
.p-ctl { display: flex; align-items: center; justify-content: space-between; background: var(--n-surface); border-radius: 14px; padding: 6px 10px; margin-top: 8px; }
.p-ctl .grp { display: flex; align-items: center; gap: 6px; }
.p-play { width: 54px; height: 32px; border-radius: 9px; border: 0; background: #fff; color: #000; cursor: pointer; display: grid; place-items: center; }
.p-play svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--mb-h) + 110px) max(16px, env(safe-area-inset-right, 0px)) 60px max(16px, env(safe-area-inset-left, 0px));
  min-height: 720px;
  background: radial-gradient(120% 80% at 50% -10%, #4a1d0c 0%, #22110a 48%, var(--ink) 100%);
}
.aurora { position: absolute; inset: -20%; z-index: -2; filter: blur(70px) saturate(140%); }
.blob { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: .55; }
.b1 { width: 46vw; height: 46vw; left: 4%; top: 18%; background: radial-gradient(circle, #e63b2e, transparent 65%); animation: drift1 22s ease-in-out infinite alternate; }
.b2 { width: 40vw; height: 40vw; right: 2%; top: 8%; background: radial-gradient(circle, #14988c, transparent 65%); animation: drift2 26s ease-in-out infinite alternate; }
.b3 { width: 34vw; height: 34vw; left: 38%; top: 46%; background: radial-gradient(circle, #ff9f1c, transparent 65%); animation: drift3 30s ease-in-out infinite alternate; opacity: .4; }
.b4 { width: 30vw; height: 30vw; left: 62%; top: 52%; background: radial-gradient(circle, #6a9e1a, transparent 65%); animation: drift1 34s ease-in-out infinite alternate-reverse; opacity: .25; }
@keyframes drift1 { to { transform: translate(14vw, -6vw) scale(1.2); } }
@keyframes drift2 { to { transform: translate(-16vw, 10vw) scale(.85); } }
@keyframes drift3 { to { transform: translate(-10vw, -12vw) scale(1.25); } }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .09; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 186, 60, .14), transparent 60%); }


.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(138, 201, 38, .6); animation: pdot 2s infinite; }
@keyframes pdot { 70% { box-shadow: 0 0 0 9px rgba(138, 201, 38, 0); } 100% { box-shadow: 0 0 0 0 rgba(138, 201, 38, 0); } }
.hero-title { margin: 0; font: 800 clamp(48px, 9.4vw, 128px)/.92 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.hero-title em { font-style: normal; background: var(--aurora); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; padding-right: .04em; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-title .w { display: inline-block; animation: word-up 1s var(--spring) both; }
@keyframes word-up { from { transform: translateY(.6em) rotate(4deg); opacity: 0; filter: blur(8px); } }
.hero-sub { max-width: 620px; margin: 26px auto 0; font-size: 18px; color: var(--muted); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.hero-meta { margin-top: 18px; font: 400 12px/1.4 var(--mono); color: var(--faint); letter-spacing: .04em; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; border: 0; transition: transform .25s var(--spring), box-shadow .25s, background .25s; }
.btn-primary { background: var(--fg); color: #2a1206; box-shadow: 0 10px 40px rgba(255, 186, 60, .35), inset 0 -2px 0 rgba(0, 0, 0, .12); position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .8) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 14px 50px rgba(255, 186, 60, .6); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--fg); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }

.desk { position: relative; max-width: 1100px; margin: 54px auto 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.desk-files { display: flex; gap: 18px; flex-wrap: wrap; }
.dfile { width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: grab; user-select: none; touch-action: none; border-radius: 10px; padding: 8px 4px; transition: background .15s; animation: float 5s ease-in-out infinite; }
.dfile:nth-child(2) { animation-delay: -1.6s; }
.dfile:nth-child(3) { animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.dfile:hover { background: rgba(255, 255, 255, .08); }
.dfile .ftype { width: 46px; height: 56px; border-radius: 6px; background: #fbf1e2; display: grid; place-items: end center; padding-bottom: 5px; font: 800 10px/1 var(--sf); color: #fff; position: relative; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); }
.dfile .ftype span { background: var(--c); border-radius: 3px; padding: 2px 4px; }
.dfile .ftype::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 13px 13px 0; border-color: transparent #3a1c0c #d9c7b0 transparent; }
.dfile small { font: 500 12px/1.2 var(--sf); text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.dfile.dragging { position: fixed; z-index: 1001; cursor: grabbing; animation: none; pointer-events: none; transform: scale(1.1) rotate(-4deg); background: none; }
.dfile.gone { visibility: hidden; }
.keys { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.keys-label { font: 500 11px/1.2 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; width: 54px; }
.key { width: 54px; height: 50px; border-radius: 9px; border: 0; cursor: pointer; background: linear-gradient(#3a2214, #24140b); color: #f5e3c8; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 3px 0 #2a1206, 0 5px 10px rgba(0, 0, 0, .4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; transition: transform .08s, box-shadow .08s; }
.key small { font: 500 9px/1 var(--sf); color: var(--faint); }
.key svg { width: 17px; height: 17px; }
.key:active, .key.press { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 #2a1206, 0 2px 4px rgba(0, 0, 0, .4); }
.desk-tip { text-align: center; color: var(--faint); font-size: 13px; margin: 26px auto 0; max-width: 560px; }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--night); overflow: hidden; padding-block: 18px; }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: tick 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--fg); font: 600 15px/1 var(--display); cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s var(--spring); }
.chip:hover { background: rgba(255, 186, 60, .14); border-color: rgba(255, 186, 60, .5); transform: translateY(-2px); }
.chip .ci { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); }
.chip svg { width: 16px; height: 16px; }

/* ---------- sections ---------- */
section h2 { font: 800 clamp(34px, 5.4vw, 64px)/1 var(--display); letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.lede { color: var(--muted); font-size: 18px; max-width: 620px; margin: 20px 0 0; text-wrap: pretty; }
.section-head { margin-bottom: 52px; }
.features, .platforms, .shiny, .power { padding-block: 120px; }
.features { background: linear-gradient(var(--night), var(--ink)); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; border-radius: 24px; padding: 26px; min-width: 0;
  background: linear-gradient(160deg, rgba(74, 36, 18, .45), rgba(34, 17, 10, .9) 60%);
  border: 1px solid var(--line);
  overflow: hidden; transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .4s;
  display: flex; flex-direction: column;
}
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 186, 60, .18), transparent 50%); opacity: 0; transition: opacity .3s; }
.card:hover { border-color: rgba(255, 186, 60, .4); box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.card:hover::before { opacity: 1; }
.card h3 { font: 700 24px/1.1 var(--display); letter-spacing: -.02em; margin: 18px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card .try { margin-top: auto; align-self: flex-start; padding-top: 18px; background: none; border: 0; color: var(--fg); font: 600 14px/1 var(--body); cursor: pointer; display: inline-flex; gap: 8px; }
.card .try span { display: inline-block; transition: transform .3s var(--spring); color: var(--periwinkle); }
.card .try:hover span { transform: translateY(-4px); }
.c-media { grid-column: span 3; }
.c-weather { grid-column: span 3; }
.c-peek { grid-column: span 2; }
.c-tray { grid-column: span 2; }
.c-stats { grid-column: span 2; }
.c-hud { grid-column: span 6; }
.c-timer, .c-awake { grid-column: span 3; }
.c-timer, .c-awake, .c-hud { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 28px; }
.c-timer h3, .c-awake h3, .c-hud h3 { margin-top: 0; }
.c-timer > :not(.viz), .c-awake > :not(.viz), .c-hud > :not(.viz) { flex: 1 1 260px; }
.card.small { grid-column: span 2; }
.badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); }
.badge svg { width: 22px; height: 22px; }
.card.small h3 { font-size: 20px; margin-top: 16px; }

.viz { height: 150px; border-radius: 16px; background: #000; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.viz-media { gap: 18px; background: linear-gradient(110deg, #5a2410, #000 75%); }
.vm-art { width: 96px; height: 96px; border-radius: 12px; background: conic-gradient(from 200deg, #ffd23f, #ff9f1c, #ff5a4e, #8ac926, #ffd23f); animation: spin 14s linear infinite; box-shadow: 0 10px 30px rgba(255, 159, 28, .5); }
@keyframes spin { to { filter: hue-rotate(360deg); } }
.vm-bars { display: flex; gap: 6px; align-items: flex-end; height: 80px; }
.vm-bars i { width: 10px; border-radius: 5px; background: linear-gradient(var(--mint), var(--cyan)); animation: vbar 1s ease-in-out infinite alternate; }
.vm-bars i:nth-child(odd) { animation-duration: .7s; }
.vm-bars i:nth-child(3n) { animation-duration: 1.3s; animation-delay: -.4s; }
.vm-bars i:nth-child(4n) { animation-delay: -.8s; }
@keyframes vbar { from { height: 14%; } to { height: 100%; } }
.viz-weather { background: linear-gradient(120deg, #2d5bb9, #12203f 70%); justify-content: space-between; padding: 0 22px; }
.vw-temp { font: 300 64px/1 var(--sf); }
.vw-rows { display: flex; flex-direction: column; gap: 14px; width: 58%; font: 600 13px/1 var(--sf); }
.vw-rows div { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 10px; }
.vw-rows b { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .15); position: relative; }
.vw-rows b::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--l); right: calc(100% - var(--r)); border-radius: 3px; background: linear-gradient(90deg, var(--n-teal), #63e6a0); animation: bar-grow 1.2s var(--spring) both; }
.vw-rows b i { position: absolute; left: 45%; top: -1px; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: dotmove 4s ease-in-out infinite alternate; }
@keyframes dotmove { to { left: 58%; } }
.viz-peek { background: radial-gradient(circle at 50% 0%, #4a1d0c, #120804 70%); align-items: flex-start; }
.vp-notch { margin-top: 0; height: 32px; width: 86%; background: #000; border-radius: 0 0 12px 12px; display: flex; align-items: center; padding: 0 10px; gap: 6px; font: 600 12px/1 var(--sf); animation: peek-breathe 5s var(--spring) infinite; }
@keyframes peek-breathe { 0%, 100% { width: 86%; } 45%, 55% { width: 40%; } }
.vp-art { width: 18px; height: 18px; border-radius: 4px; background: linear-gradient(135deg, #ffd23f, #ff5a4e); flex: none; }
.vp-bars { display: flex; gap: 2px; align-items: center; height: 12px; }
.vp-bars i { width: 2.5px; background: #ffd98a; border-radius: 2px; animation: eq .8s ease-in-out infinite alternate; }
.vp-bars i:nth-child(2) { animation-delay: -.3s; }
.vp-bars i:nth-child(3) { animation-delay: -.5s; }
.vp-cam { flex: 1; }
.vp-right { color: #fff; white-space: nowrap; }
.viz-tray { background: radial-gradient(circle at 50% 120%, #164e63, #000 70%); }
.vt-file { position: absolute; width: 38px; height: 46px; border-radius: 5px; background: #fbf1e2; color: #fff; font: 800 9px/1 var(--sf); display: grid; place-items: end center; padding-bottom: 5px; animation: fall 3.6s var(--ease) infinite; }
.vt-file::before { content: attr(class); display: none; }
.vt-file.f1 { left: 26%; box-shadow: inset 0 -16px 0 -4px #ff453a; animation-delay: 0s; }
.vt-file.f2 { left: 45%; box-shadow: inset 0 -16px 0 -4px #0a84ff; animation-delay: .5s; }
.vt-file.f3 { left: 64%; box-shadow: inset 0 -16px 0 -4px #30d158; animation-delay: 1s; }
@keyframes fall { 0% { top: -60px; transform: rotate(-12deg); } 45%, 80% { top: 76px; transform: rotate(0); } 100% { top: 76px; opacity: 0; } }
.vt-shelf { position: absolute; bottom: 20px; left: 18%; right: 18%; height: 4px; border-radius: 2px; background: var(--n-teal); box-shadow: 0 0 20px var(--n-teal); }
.viz-stats svg { width: 130px; height: 130px; transform: rotate(-90deg); }
.vr-bg { fill: none; stroke: #1f1f22; stroke-width: 9; }
.vr { fill: none; stroke-width: 9; stroke-linecap: round; animation: ring 4s var(--ease) infinite alternate; }
.r1 { stroke: var(--n-teal); stroke-dasharray: 314; --o: 220; }
.r2 { stroke: var(--n-purple); stroke-dasharray: 226; --o: 90; animation-delay: -1.3s; }
.r3 { stroke: var(--n-green); stroke-dasharray: 138; --o: 40; animation-delay: -2.6s; }
@keyframes ring { from { stroke-dashoffset: var(--o); } to { stroke-dashoffset: calc(var(--o) * .25); } }
.viz-timer { width: 150px; height: 150px; border-radius: 50%; background: #000; flex: none; }
.viz-timer svg { position: absolute; inset: 12px; transform: rotate(-90deg); }
.vt-bg { fill: none; stroke: #1f1f22; stroke-width: 7; }
.c-awake .vt-ring { stroke: var(--n-yellow); animation: none; }
.vt-ring { fill: none; stroke: var(--n-orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 264; animation: drain 10s linear infinite; }
@keyframes drain { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 264; } }
.viz-hud { width: 340px; max-width: 100%; height: 150px; flex: none; background: radial-gradient(circle at 50% 0%, #4a1d0c, #120804 70%); align-items: flex-start; }
.vh-notch { height: 34px; width: 88%; background: #000; border-radius: 0 0 14px 14px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font: 700 12px/1 var(--sf); }
.vh-notch svg { width: 16px; height: 16px; }
.vh-r { display: flex; align-items: center; gap: 8px; }
.vh-bar { width: 64px; height: 5px; border-radius: 3px; background: #3a3a3c; overflow: hidden; }
.vh-bar i { display: block; height: 100%; background: #fff; animation: vol 3.2s ease-in-out infinite; }
@keyframes vol { 0%, 100% { width: 30%; } 50% { width: 85%; } }
.viz-timer b { font: 700 26px/1 var(--sf); font-variant-numeric: tabular-nums; }

.gallery { padding-block: 120px; background: var(--ink); overflow: hidden; }
.g-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.g-tab { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted); border-radius: 999px; padding: 8px 14px; font: 600 14px/1 var(--body); cursor: pointer; position: relative; overflow: hidden; transition: color .2s, border-color .2s; }
.g-tab.on { color: var(--fg); border-color: rgba(255, 186, 60, .6); }
.g-tab.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--aurora); transform-origin: 0 50%; animation: g-prog var(--dur, 4.5s) linear forwards; }
.gallery.paused .g-tab.on::after { animation: none; transform: scaleX(1); }
@keyframes g-prog { from { transform: scaleX(0); } }
.g-stage { position: relative; display: grid; place-items: center; min-height: 300px; padding: 40px 0 10px; perspective: 1400px; }
.g-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 40%, rgba(230, 70, 40, .35), transparent 70%); filter: blur(20px); }
.g-shot { grid-area: 1 / 1; width: min(640px, 100%); height: auto; border-radius: 22px; box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06); opacity: 0; transform: rotateX(14deg) translateY(30px) scale(.94); transition: opacity .6s var(--ease), transform .8s var(--spring); position: relative; }
.g-shot.on { opacity: 1; transform: none; }
.g-cap { text-align: center; color: var(--muted); margin-top: 22px; min-height: 3em; max-width: 620px; margin-inline: auto; }

/* power */
.power { background: var(--ink); position: relative; overflow: hidden; }
.power::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -100px; background: radial-gradient(circle, rgba(46, 196, 182, .12), transparent 60%); }
.power-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; position: relative; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 0; }
.stats div { border-top: 1px solid var(--line); padding-top: 14px; }
.stats dt { font: 800 44px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.timeline { border-radius: 24px; padding: 26px; background: linear-gradient(160deg, rgba(74, 36, 18, .35), rgba(34, 17, 10, .9)); border: 1px solid var(--line); min-width: 0; }
.tl-row + .tl-row { margin-top: 22px; }
.tl-label { font: 500 12px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.tl-track { position: relative; height: 40px; margin-top: 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); overflow: hidden; }
.tl-track::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2px; background: rgba(255, 255, 255, .25); }
.tl-mark { position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; animation: slide-left 8s linear forwards; }
.tl-mark.p { background: #977c64; }
.tl-mark.e { width: auto; height: auto; padding: 4px 8px; margin-top: -11px; border-radius: 999px; background: color-mix(in srgb, var(--c) 25%, transparent); border: 1px solid var(--c); color: #fff; font: 600 11px/1 var(--sf); white-space: nowrap; }
@keyframes slide-left { from { left: 100%; } to { left: -20%; } }
.tl-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: var(--muted); }
.tl-legend span { display: inline-flex; align-items: center; gap: 7px; }
.lg-poll { width: 7px; height: 7px; border-radius: 50%; background: #977c64; }
.lg-ev { width: 14px; height: 9px; border-radius: 9px; border: 1px solid var(--cyan); background: rgba(46, 196, 182, .25); }
.tl-facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.tl-facts b { color: var(--fg); }

/* platforms */
.platforms { background: linear-gradient(var(--ink), var(--night)); }
.plat-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
.plat { position: relative; border-radius: 24px; padding: 28px; text-decoration: none; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: transform .4s var(--spring), border-color .3s, background .3s; }
.plat:hover { transform: translateY(-6px); border-color: rgba(255, 186, 60, .45); background: rgba(255, 186, 60, .06); }
.plat.mac { background: linear-gradient(150deg, rgba(230, 70, 40, .35), rgba(46, 196, 182, .18) 70%, rgba(255, 255, 255, .02)); border-color: rgba(255, 186, 60, .35); }
.plat h3 { font: 800 34px/1 var(--display); letter-spacing: -.03em; margin: 12px 0 0; }
.plat-req { color: var(--muted); margin: 0; font-size: 14px; }
.plat ul { margin: 10px 0; padding-left: 18px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
.plat code, .fineprint code { font: 400 12px/1.4 var(--mono); color: var(--periwinkle); overflow-wrap: anywhere; }
.plat-tag { align-self: flex-start; font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; background: var(--fg); color: #2a1206; }
.plat-tag.soft { background: rgba(255, 255, 255, .08); color: var(--muted); }
.plat-go { margin-top: auto; padding-top: 14px; font-weight: 600; }
.plat-go b { display: inline-block; transition: transform .3s var(--spring); }
.plat:hover .plat-go b { transform: translateX(6px); }
.fineprint { color: var(--faint); font-size: 13px; margin-top: 24px; }

/* shiny */
.shiny { background: var(--night); }
.shiny-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.shiny .btn { margin-top: 30px; }
.libs { min-width: 0; }
.code { border-radius: 18px; overflow: hidden; background: #0a0918; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-bar i:nth-child(2) { background: #febc2e; }
.code-bar i:nth-child(3) { background: #28c840; }
.code-bar span { margin-left: 10px; font: 400 12px/1 var(--mono); color: var(--faint); }
.code pre { margin: 0; padding: 18px; overflow-x: auto; font: 400 13px/1.65 var(--mono); color: #f5e3c8; }
.code .k { color: var(--orchid); } .code .t { color: var(--cyan); } .code .n { color: #fbbf24; } .code .c { color: var(--faint); } .code .f { color: var(--mint); }
.lib-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 2px; }
.lib-list li { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.lib-list b { font: 500 13px/1.4 var(--mono); color: var(--fg); overflow-wrap: anywhere; }
.lib-list span { color: var(--muted); }

/* closer */
.closer { padding-block: 140px; text-align: center; background: radial-gradient(60% 70% at 50% 100%, rgba(230, 70, 40, .35), transparent 70%), var(--night); }
.closer-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.closer-icon { width: 128px; height: 128px; border-radius: 28px; filter: drop-shadow(0 20px 50px rgba(255, 186, 60, .5)); animation: icon-float 6s ease-in-out infinite; }
@keyframes icon-float { 50% { transform: translateY(-12px) rotate(2deg); } }

/* footer */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-block: 60px 30px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); max-width: 420px; }
.foot-mail { font-family: var(--mono); font-size: 13px; user-select: all; }
.footer h4 { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin: 8px 0 14px; }
.footer .foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer .foot-grid a { color: var(--muted); text-decoration: none; }
.footer .foot-grid a:hover { color: var(--fg); }
.foot-legal { margin-top: 40px; color: var(--faint); font-size: 12px; }
.foot-legal p { max-width: 900px; }

/* ---------- overlays ---------- */
#dim { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 900; transition: opacity .25s; }
#flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 1300; }
#flash.go { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }

.entry { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: start center; padding: 22vh 16px 0; background: rgba(20, 10, 5, .35); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.entry-box { width: min(560px, 100%); border-radius: 18px; padding: 14px 16px; background: rgba(52, 32, 20, .82); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 100px rgba(0, 0, 0, .6); font-family: var(--sf); animation: pop .35s var(--spring); }
@keyframes pop { from { transform: scale(.92) translateY(-10px); opacity: 0; } }
.entry-label { display: block; font: 700 11px/1 var(--sf); text-transform: uppercase; letter-spacing: .06em; color: var(--n-sec); }
.entry-input, .entry-area { width: 100%; margin-top: 10px; border: 0; outline: 0; background: transparent; color: #fff; font: 400 22px/1.3 var(--sf); }
.entry-area { font-size: 15px; background: rgba(0, 0, 0, .25); border-radius: 10px; padding: 10px; resize: vertical; }
.entry-extra { display: flex; gap: 8px; flex-wrap: wrap; }
.entry-extra:empty { display: none; }
.entry-extra select, .entry-extra button { margin-top: 10px; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 8px; padding: 7px 10px; font: 500 13px/1 var(--sf); cursor: pointer; }
.entry-hint { margin: 10px 0 0; font-size: 12px; color: var(--n-ter); }

.settings { position: fixed; inset: 0; z-index: 1100; pointer-events: none; }
.win { position: absolute; left: 50%; top: 110px; transform: translateX(-50%); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 140px); display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: #1e1e20; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); font: 13px/1.35 var(--sf); pointer-events: auto; animation: pop .35s var(--spring); }
.win-bar { display: flex; align-items: center; height: 40px; padding: 0 14px; background: #2a2a2d; cursor: move; user-select: none; touch-action: none; position: relative; }
.lights { display: flex; gap: 8px; position: relative; z-index: 1; }
.lights > * { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; }
.l-red { background: #ff5f57; cursor: pointer; }
.l-yel { background: #febc2e; }
.l-grn { background: #28c840; }
.win-title { position: absolute; left: 0; right: 0; text-align: center; font-weight: 600; color: var(--n-sec); }
.win-body { padding: 16px; overflow: auto; }
.set-sec + .set-sec { margin-top: 18px; }
.set-sec h5 { margin: 0 0 8px; font: 600 11px/1 var(--sf); text-transform: uppercase; letter-spacing: .06em; color: var(--n-ter); }
.set-box { background: #2a2a2d; border-radius: 10px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; }
.set-row + .set-row { border-top: 1px solid #38383a; }
.set-row label { display: flex; align-items: center; gap: 10px; flex: 1; cursor: pointer; }
.set-row label svg { width: 16px; height: 16px; color: var(--n-sec); }
.switch { -webkit-appearance: none; appearance: none; width: 34px; height: 20px; border-radius: 10px; background: #48484a; position: relative; cursor: pointer; transition: background .2s; flex: none; margin: 0; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--spring); box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.switch:checked { background: var(--n-green); }
.switch:checked::after { transform: translateX(14px); }
.seg { display: flex; background: #1c1c1e; border-radius: 8px; padding: 2px; }
.seg button { border: 0; background: none; padding: 5px 10px; border-radius: 6px; cursor: pointer; font: 500 12px/1 var(--sf); color: var(--n-sec); }
.seg button.on { background: #48484a; color: #fff; }
.set-row input[type="range"] { width: 160px; --c: var(--n-blue); }

.snap { position: fixed; inset: 0; z-index: 1250; cursor: crosshair; background: rgba(0, 0, 0, .25); touch-action: none; }
.snap-rect { position: absolute; border: 1.5px solid #fff; background: rgba(255, 255, 255, .08); box-shadow: 0 0 0 9999px rgba(0, 0, 0, .35); display: none; }
.snap-tip { position: absolute; top: 60px; left: 50%; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .7); font: 500 13px/1 var(--sf); white-space: nowrap; }

.toasts { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 1200; display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px; background: rgba(44, 26, 16, .9); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, .12); font: 500 14px/1.3 var(--sf); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); animation: toast-in .45s var(--spring); }
.toast.out { animation: toast-out .3s var(--ease) forwards; }
.toast svg { width: 16px; height: 16px; color: var(--n-green); flex: none; }
@keyframes toast-in { from { transform: translateY(20px) scale(.9); opacity: 0; } }
@keyframes toast-out { to { transform: translateY(10px); opacity: 0; } }

/* scroll reveal: visible at rest, animates once on entering */
.reveal.in { animation: rise .9s var(--ease) both; }
@keyframes rise { from { opacity: .001; transform: translateY(28px); filter: blur(6px); } }

/* ---------- nacho fiesta: logo, slogan, bunting, cheese, chip rain ---------- */
body { font-synthesis-weight: none; }
section h2 em, .closer h2 em { font-style: normal; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero-title { letter-spacing: 0; text-shadow: 0 6px 0 rgba(0, 0, 0, .25); }
.hero-title em { display: inline-block; text-shadow: none; filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .25)); }
section h2 { letter-spacing: -.005em; }
.card h3, .plat h3, .stats dt { letter-spacing: 0; }

.hat { display: block; margin: 0 auto 18px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; width: 168px; height: 168px; animation: hat-in 1.1s var(--spring) .1s both; }
.hat img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 18px 40px rgba(255, 159, 28, .45)); animation: hat-bob 4s ease-in-out 1.2s infinite; transform-origin: 50% 70%; }
.hat:hover img { animation: hat-wiggle .6s ease-in-out infinite; }
.hat:active img { transform: scale(.94); }
.hat-tip { position: absolute; right: -78px; top: 22px; font: 400 18px/1 var(--script); color: var(--cheese); transform: rotate(10deg); white-space: nowrap; pointer-events: none; }
.hat-tip::before { content: "↙"; position: absolute; left: -22px; top: 14px; font: 700 20px/1 var(--body); }
@keyframes hat-in { from { transform: translateY(-120px) rotate(-30deg) scale(.4); opacity: 0; } }
@keyframes hat-bob { 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes hat-wiggle { 0%, 100% { transform: rotate(-7deg) scale(1.04); } 50% { transform: rotate(7deg) scale(1.04); } }

.slogan { margin: 18px 0 0; font: 400 clamp(24px, 3.6vw, 40px)/1.3 var(--script); color: var(--fg); }
.slogan .fixins { color: var(--cheese); display: inline-block; text-shadow: 0 0 24px rgba(255, 201, 60, .45); animation: fixins 2.6s ease-in-out infinite; }
@keyframes fixins { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) scale(1.08); } }
.foot-slogan { font: 400 17px/1.4 var(--script); color: var(--cheese) !important; }

/* papel picado strung either side of the notch */
.bunting { position: absolute; top: calc(var(--mb-h) - 2px); left: 0; right: 0; height: 110px; pointer-events: none; z-index: 0; }
.bunting .str { position: absolute; top: 0; height: 100%; }
.bunting .str.l { left: 0; right: calc(50% + 120px); }
.bunting .str.r { right: 0; left: calc(50% + 120px); }
.bunting svg.cord { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bunting svg.cord path { fill: none; stroke: rgba(255, 233, 196, .35); stroke-width: 1.5; }
.flag {
  position: absolute; width: 38px; height: 48px; margin-left: -19px; transform-origin: 50% 0; background: var(--c);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 87.5% 100%, 75% 80%, 62.5% 100%, 50% 80%, 37.5% 100%, 25% 80%, 12.5% 100%, 0 80%);
  -webkit-mask: radial-gradient(circle at 50% 44%, transparent 6px, #000 6.5px), radial-gradient(circle, transparent 2.5px, #000 3px) 0 0 / 12px 12px;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask: radial-gradient(circle at 50% 44%, transparent 6px, #000 6.5px), radial-gradient(circle, transparent 2.5px, #000 3px) 0 0 / 12px 12px;
  opacity: .9; animation: flag 3.2s ease-in-out infinite alternate;
}
@keyframes flag { from { rotate: -7deg; } to { rotate: 7deg; } }

/* chips drifting about the hero */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.floaters .nacho { position: absolute; opacity: .34; animation: floater var(--d, 18s) ease-in-out var(--dl, 0s) infinite alternate; }
@keyframes floater { from { transform: translate(0, 0) rotate(var(--r0, 0deg)); } to { transform: translate(var(--dx, 30px), var(--dy, -40px)) rotate(var(--r1, 120deg)); } }
.nacho svg { display: block; width: 100%; height: 100%; }

/* melted cheese running down from the hero */
.drip { position: relative; z-index: 3; height: 90px; margin-bottom: -76px; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.drip svg { display: block; width: 100%; height: 100%; }
.drip path { fill: var(--cheese); }
.ticker { padding-top: 34px; }

/* nacho rain */
.rain { position: fixed; inset: 0; pointer-events: none; z-index: 1150; overflow: hidden; }
.rain .nacho { position: absolute; top: -80px; will-change: transform; }

.closer-icon { width: 160px; height: 160px; border-radius: 0; filter: drop-shadow(0 20px 50px rgba(255, 159, 28, .5)); }
.closer .slogan { margin: -10px 0 0; font-size: clamp(20px, 3vw, 30px); }
.mb-brand img { border-radius: 0; }


/* ---------- vegas sign: a vintage marquee arrow pointing up at the notch demo ---------- */
.vegas { position: absolute; top: calc(var(--mb-h) + 2px); left: calc(50% + 96px); z-index: 2; pointer-events: none; transition: opacity .6s, transform .6s var(--ease); transform-origin: 10% 0; animation: vegas-in 1.2s var(--spring) .6s both; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .55)); }
.vegas svg { display: block; overflow: visible; }
.vegas .vs-mob { display: none; }
@keyframes vegas-in { from { transform: translateY(-40px) rotate(6deg) scale(.85); opacity: 0; } }
.vs-arrow { animation: vs-nudge 1.6s ease-in-out infinite; transform-box: fill-box; }
@keyframes vs-nudge { 50% { transform: translate(-3px, -5px); } }
.vs-bulbs circle { fill: #fff6c8; filter: drop-shadow(0 0 2px #ffe27a) drop-shadow(0 0 5px #ffb300); animation: vs-chase .9s steps(1, end) infinite; }
.vs-bulbs .c1 { animation-delay: -.3s; }
.vs-bulbs .c2 { animation-delay: -.6s; }
@keyframes vs-chase { 0% { fill: #6b4a12; filter: none; } 33.34% { fill: #fff6c8; filter: drop-shadow(0 0 2px #ffe27a) drop-shadow(0 0 5px #ffb300); } }
.vs-live { font: 400 34px/1 var(--script); fill: #ffd6f0; stroke: #ff3ea5; stroke-width: 1.2px; paint-order: stroke; filter: drop-shadow(0 0 3px #ff3ea5) drop-shadow(0 0 9px #ff3ea5); animation: vs-flicker 5s linear infinite; }
.vs-notch { font: 400 25px/1 "Monoton", var(--display); letter-spacing: .02em; fill: #d9fffb; filter: drop-shadow(0 0 2px #2ec4b6) drop-shadow(0 0 8px #2ec4b6); animation: vs-flicker 7s linear 1.3s infinite; }
.vs-small { font: 400 10px/1 var(--display); letter-spacing: .14em; fill: #ffd98a; }
.vs-star { transform-box: fill-box; transform-origin: center; animation: vs-twinkle 2.4s ease-in-out infinite; filter: drop-shadow(0 0 6px #ffd23f); }
@keyframes vs-twinkle { 50% { transform: rotate(22deg) scale(.82); opacity: .75; } }
@keyframes vs-flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .35; } }
/* the right-hand bunting starts past the sign */
.bunting .str.r { left: calc(50% + 510px); }
.hat-tip { right: auto; left: -92px; transform: rotate(-10deg); }
.hat-tip::before { content: "↘"; left: auto; right: -20px; }
@media (max-width: 960px) {
  .vegas { left: 50%; translate: -50% 0; transform-origin: 50% 0; }
  .vegas .vs-desk { display: none; }
  .vegas .vs-mob { display: block; }
  .bunting .str.l { right: calc(50% + 124px); }
  .bunting .str.r { left: calc(50% + 124px); }
  .hero { padding-top: calc(var(--mb-h) + 140px); }
}
/* ---------- end vegas sign ---------- */

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .mb-nav { display: none; }
}
@media (max-width: 980px) {
  .power-grid, .shiny-grid { grid-template-columns: 1fr; gap: 40px; }
  .plat-grid { grid-template-columns: 1fr; }
  .c-media, .c-weather { grid-column: span 6; }
  .c-peek, .c-tray, .c-stats, .card.small { grid-column: span 3; }
}
@media (max-width: 640px) {
  .hat { width: 128px; height: 128px; }
  .hat-tip { display: none; }
  .bunting .str.l { right: calc(50% + 116px); }
  .bunting .str.r { left: calc(50% + 116px); }
  .flag { width: 26px; height: 34px; margin-left: -13px; }
  .mb-status, .mb-brand b, .mb-clock { display: none; }
  .hero { padding-top: calc(var(--mb-h) + 136px); min-height: 0; }
  .hero-sub { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .bento > .card { grid-column: auto; }
  .c-timer, .c-awake, .c-hud { flex-direction: column; align-items: flex-start; }
  .hero .eyebrow { font-size: 10.5px; letter-spacing: .06em; }
  .dfile { width: 72px; }
  .desk-files { gap: 6px; justify-content: center; }
  .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .lib-list li { grid-template-columns: 1fr; gap: 4px; }
  .desk { justify-content: center; }
  .keys-label { display: none; }
  .features, .platforms, .shiny, .power { padding-block: 80px; }
}

@media (max-width: 480px) { .mb-cta { display: none; } }

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