/* hivedesk site.
   Monsoon loads after the first paint and adds its reset and tokens; this file stands on its
   own so nothing moves when Monsoon arrives (own class names, own custom properties).
   Spacing follows an 8 px grid. One accent: honey. Every animation uses transform or opacity,
   pauses off screen (.is-off) and has a still state for prefers-reduced-motion. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }

*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html[data-theme=dark] { --seed: #FFB531; --background: #0B0A09; --foreground: #EDE6DA; }
:root {
  --hd-head-1: #FFFFFF; --hd-head-2: #CFC5B6; --hd-hl-1: #FFE7B0; --hd-ink: #17110A;
  --hd-bg: #0B0A09; --hd-bg-1: #100F0D; --hd-bg-2: #161411; --hd-bg-3: #1D1A16;
  --hd-line: color-mix(in srgb, var(--hd-text) 8%, transparent); --hd-line-2: color-mix(in srgb, var(--hd-text) 14%, transparent);
  --hd-text: #EDE6DA; --hd-text-2: #BDB3A3; --hd-dim: #9C9282;
  --hd-honey: #FFB531; --hd-honey-2: #FFD27A; --hd-honey-soft: color-mix(in srgb, var(--hd-honey) 12%, transparent);
  --hd-ok: #9BD9AE; --hd-sky: #A9D5F5;
  --hd-sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hd-mono: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, Consolas, monospace;
  --hd-ease: cubic-bezier(.2, .7, .1, 1);
  --hd-wrap: 1184px;
  color-scheme: dark;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: no-preference) { :root { scroll-behavior: smooth; } }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; tab-size: 4; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--hd-bg); min-height: 100%; }
body {
  color: var(--hd-text); font-family: var(--hd-sans); font-size: 16px; line-height: 1.5;
  font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
p a, li a, .fine a, .foot-legal a { color: var(--hd-honey-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--hd-honey-2) 35%, transparent); text-underline-offset: 3px; }
p a:hover, li a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--hd-honey); outline-offset: 2px; border-radius: 6px; }
code, kbd { font-family: var(--hd-mono); font-size: .875em; }
p code, li code, td code, summary code { padding: 1px 6px; border: 1px solid var(--hd-line); border-radius: 6px; background: var(--hd-bg-2); color: var(--hd-text); overflow-wrap: anywhere; }
kbd { display: inline-block; min-width: 22px; padding: 0 6px; border: 1px solid var(--hd-line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--hd-bg-2); line-height: 20px; text-align: center; color: var(--hd-text); }
b, strong { font-weight: 600; color: var(--hd-text); }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* the 1.0 icon accent is gold; on a gold button it follows the text */
.b-honey .i, .b-honey.i { --i-accent: currentColor; }
.mono { font-family: var(--hd-mono); }
.muted { color: var(--hd-dim); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 8px 16px; border-radius: 8px; background: var(--hd-honey); color: var(--hd-ink); font-weight: 600; }
.skip:focus { top: 16px; }
.wrap { width: min(var(--hd-wrap), 100% - 48px); margin-inline: auto; }

/* ---------- buttons, pills ---------- */
.b {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 550; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; will-change: transform;
}
.b-sm { height: 32px; padding: 0 14px; font-size: 14px; }
.b-lg { height: 48px; padding: 0 24px; font-size: 16px; }
.b-light { background: var(--hd-text); color: var(--hd-bg); }
.b-light:hover { background: var(--hd-head-1); box-shadow: 0 8px 24px -8px rgba(255, 235, 200, .45); }
.b-honey { background: var(--hd-honey); color: var(--hd-ink); }
.b-honey:hover { background: var(--hd-honey-2); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--hd-honey) 60%, transparent); }
.b-ghost { border-color: var(--hd-line-2); color: var(--hd-text); }
.b-ghost:hover { border-color: color-mix(in srgb, var(--hd-honey-2) 50%, transparent); background: var(--hd-honey-soft); }
.b:active { filter: brightness(.94); }
.b-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 4px 0 24px;
  border: 1px solid var(--hd-line-2); border-radius: 999px; background: linear-gradient(180deg, var(--hd-bg-3), var(--hd-bg-1));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--hd-text) 6%, transparent), 0 8px 32px -12px color-mix(in srgb, var(--hd-honey) 35%, transparent);
  font-family: var(--hd-mono); font-size: 15px;
}
.pill code { font-size: 1em; color: var(--hd-text); white-space: nowrap; }
.pill-p { color: var(--hd-honey); font-weight: 600; }
.pill-copy { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--hd-text-2); transition: background-color .2s, color .2s, transform .15s var(--hd-ease); }
.pill-copy:hover { background: color-mix(in srgb, var(--hd-text) 8%, transparent); color: var(--hd-text); }
.pill-copy:active { transform: scale(.88); }
.pill-copy .i { grid-area: 1 / 1; transition: opacity .2s, transform .2s var(--hd-ease); }
.pill-copy .ic-ok { opacity: 0; transform: scale(.5); color: var(--hd-ok); }
.pill-copy.is-copied .ic-copy { opacity: 0; transform: scale(.5); }
.pill-copy.is-copied .ic-ok { opacity: 1; transform: none; }
.copied-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; padding: 4px 8px; border-radius: 6px; background: var(--hd-text); color: var(--hd-bg); font: 600 12px var(--hd-sans); white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity .2s, transform .2s var(--hd-ease); }
.pill-copy.is-copied .copied-tip { opacity: 1; transform: translate(-50%, 0); }
.pill-block { display: flex; height: 48px; border-radius: 12px; }
.pill-block code { flex: 1; }
.pill-block .pill-copy { border-radius: 8px; }
.pill-sm { height: 40px; font-size: 14px; }
.pill-sm .pill-copy { width: 32px; height: 32px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 100; isolation: isolate; background: var(--hd-bg); border-bottom: 1px solid var(--hd-line); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .8); }
[id] { scroll-margin-top: 72px; }
.top-in { display: flex; align-items: center; gap: 24px; height: 56px; width: min(var(--hd-wrap), 100% - 48px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -.02em; }
.nav { display: flex; gap: 4px; }
.nav a { white-space: nowrap; padding: 6px 10px; border-radius: 8px; color: var(--hd-text-2); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav a:hover { color: var(--hd-text); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; color: var(--hd-text-2); transition: color .2s, background-color .2s; }
.icon-btn:hover { color: var(--hd-text); background: color-mix(in srgb, var(--hd-text) 6%, transparent); }
.icon-btn .i { width: 18px; height: 18px; }
.menu-btn { display: none; position: relative; width: 32px; height: 32px; border-radius: 999px; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--hd-text); transition: transform .2s; }
.menu-btn span:first-child { top: 12px; }
.menu-btn span:last-child { top: 18px; }
.menu-btn[aria-expanded=true] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded=true] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- hero ---------- */
.hd-hero { position: relative; isolation: isolate; padding-top: 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0 0 auto; height: 960px; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 32%, #000 25%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 32%, #000 25%, transparent 80%); }
.comb {
  position: absolute; inset: -112px; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='111' viewBox='0 0 64 111'%3E%3Cpath d='M32 0l32 18.5v37L32 74 0 55.5v-37zM32 74v37' fill='none' stroke='%23FFF5E6' stroke-opacity='.075'/%3E%3C/svg%3E") 0 0 / 64px 111px;
  animation: comb 40s linear infinite;
}
@keyframes comb { to { transform: translate3d(64px, 111px, 0); } }
.cursor-glow {
  position: absolute; left: 0; top: 0; width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--hd-honey) 20%, transparent), color-mix(in srgb, var(--hd-honey) 6%, transparent) 45%, transparent 70%);
  transform: translate3d(var(--gx, 50vw), var(--gy, 280px), 0); transition: transform .9s var(--hd-ease); will-change: transform;
}
.hero-in { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px 0 4px; margin-bottom: 32px; max-width: 100%;
  border: 1px solid var(--hd-line-2); border-radius: 999px; background: var(--hd-bg-1); color: var(--hd-text-2); font-size: 13px; font-weight: 500;
  transition: border-color .2s, color .2s;
}
.eyebrow:hover { border-color: color-mix(in srgb, var(--hd-honey-2) 45%, transparent); color: var(--hd-text); }
.eb-tag { padding: 2px 8px; border-radius: 999px; background: var(--hd-honey-soft); color: var(--hd-honey-2); font-size: 12px; font-weight: 600; }
.eyebrow .i { width: 14px; height: 14px; }
.display { font-size: clamp(44px, 8vw, 104px); line-height: 1; font-weight: 700; letter-spacing: -.055em; color: var(--hd-head-1); text-wrap: balance; }
.display.display-long { font-size: clamp(40px, 6.2vw, 84px); }
.display .w {
  display: inline-block; padding-bottom: .08em;
  background: linear-gradient(180deg, var(--hd-head-1) 35%, var(--hd-head-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.display .hl { background-image: linear-gradient(180deg, var(--hd-hl-1) 0%, var(--hd-honey) 95%); }
.hd-js .display .w { animation: word .9s var(--hd-ease) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
@keyframes word { from { transform: translateY(.3em); } to { transform: none; } }
.lede { max-width: 600px; margin: 24px auto 0; color: var(--hd-text-2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; letter-spacing: -.01em; text-wrap: balance; }
.hd-js .lede, .hd-js .cta-row, .hd-js .byline { animation: rise .8s var(--hd-ease) both .55s; }
.hd-js .cta-row { animation-delay: .65s; }
.hd-js .byline { animation-delay: .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; }
.pill-hero { gap: 0; }
.pill-hero .pill-p { margin-right: 12px; }
.typed { display: inline-block; width: 12ch; }
.hd-js .typed { animation: type 1.1s steps(12, end) 1s both; }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.caret { display: inline-block; width: 2px; height: 18px; margin: 0 8px 0 2px; background: var(--hd-honey); animation: blink 1s steps(1) infinite; }
.hd-js .caret { animation: caretmove 1.1s steps(12, end) 1s both, blink 1s steps(1) 2.1s infinite; }
@keyframes caretmove { from { transform: translateX(-12ch); } to { transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
.byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; color: var(--hd-dim); font-size: 14px; }
.byline b { color: var(--hd-text-2); font-weight: 600; }
.byline a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; color: var(--hd-text-2); transition: color .2s, background-color .2s; }
.byline a:hover { color: var(--hd-text); background: color-mix(in srgb, var(--hd-text) 8%, transparent); }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--hd-dim); margin: 0 4px; }

/* the live window */
.stage { position: relative; width: min(1280px, 100% - 48px); margin: 80px auto 0; perspective: 1600px; }
.stage::before { content: ""; position: absolute; left: 10%; right: 10%; top: 4%; height: 70%; z-index: -1; background: radial-gradient(closest-side, color-mix(in srgb, var(--hd-honey) 28%, transparent), transparent); filter: blur(48px); }
.window {
  border-radius: 12px; border: 1px solid var(--hd-line-2); background: #0E0D0B; overflow: hidden; will-change: transform;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 32px 80px -24px rgba(0, 0, 0, .9), 0 0 120px -40px color-mix(in srgb, var(--hd-honey) 35%, transparent);
}
.hd-js .window { animation: lift 1.2s var(--hd-ease) both .35s; }
@keyframes lift { from { opacity: 0; transform: translateY(40px) rotateX(8deg); } to { opacity: 1; transform: none; } }
.window-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-bottom: 1px solid var(--hd-line); background: #141210; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2B2723; }
.window-bar span { flex: 1; margin-right: 46px; text-align: center; color: var(--hd-dim); font: 500 12px var(--hd-mono); }
.window-body { position: relative; aspect-ratio: 16 / 9; }
.window-body > img { width: 100%; height: 100%; object-fit: cover; }
.fx { --fw: 1280px; --fh: 720px; position: absolute; inset: 0; pointer-events: none; container-type: size; overflow: hidden; }
.fx > * { animation-duration: 14s; animation-iteration-count: infinite; animation-timing-function: var(--hd-ease); }
.fx-progress { position: absolute; left: 0; top: 5%; height: .35cqh; min-height: 2px; width: 100%; background: linear-gradient(90deg, var(--hd-honey), var(--hd-honey-2)); transform-origin: left; transform: scaleX(0); animation-name: prog; animation-timing-function: linear; box-shadow: 0 0 12px color-mix(in srgb, var(--hd-honey) 80%, transparent); }
@keyframes prog { 0% { transform: scaleX(0); opacity: 1; } 90% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.fx-done { position: absolute; left: 19.8%; width: 3.1%; height: 1.75%; display: grid; place-items: center; border-radius: .3cqw; background: #173323; color: var(--hd-ok); border: 1px solid rgba(155, 217, 174, .45); font: 600 .62cqw var(--hd-sans); opacity: 0; transform: scale(.6); animation-name: done; }
.d1 { top: 19.7%; animation-delay: 1.2s; } .d2 { top: 24.1%; animation-delay: 4s; } .d3 { top: 28.5%; animation-delay: 6.6s; } .d4 { top: 32.9%; animation-delay: 9.4s; }
@keyframes done { 0% { opacity: 0; transform: scale(.6); } 3%, 70% { opacity: 1; transform: none; } 76%, 100% { opacity: 0; transform: scale(.9); } }
.fx-diff { position: absolute; left: 40.9%; width: 30.9%; top: 70.6%; height: 1.8%; background: color-mix(in srgb, var(--hd-honey) 16%, transparent); border-left: 2px solid var(--hd-honey); animation-name: diff; animation-timing-function: steps(1); }
@keyframes diff { 0% { transform: translateY(0); } 8% { transform: translateY(100%); } 16% { transform: translateY(200%); } 24% { transform: translateY(300%); } 32% { transform: translateY(400%); } 40% { transform: translateY(500%); } 48% { transform: translateY(600%); } 56% { transform: translateY(700%); } 64% { transform: translateY(800%); } 72% { transform: translateY(900%); } 80%, 100% { transform: translateY(1000%); } }
.fx-chat { position: absolute; left: 1.1%; width: 23.6%; bottom: 13.4%; display: flex; align-items: center; gap: .6cqw; padding: .55cqw .7cqw; border-radius: .6cqw; background: #1A1714; border: 1px solid color-mix(in srgb, var(--hd-honey-2) 25%, transparent); color: var(--hd-text-2); font-size: .82cqw; box-shadow: 0 1cqw 2cqw -1cqw rgba(0, 0, 0, .9); opacity: 0; transform: translateY(1cqh) scale(.96); animation-name: chat; }
.fx-chat img { width: 1.5cqw; height: 1.5cqw; flex: none; }
.fx-chat b { color: var(--hd-text); margin-right: .3cqw; }
.c1 { animation-delay: 3.4s; } .c2 { animation-delay: 7.2s; } .c3 { animation-delay: 10.6s; }
@keyframes chat { 0% { opacity: 0; transform: translateY(8px) scale(.96); } 3%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-8px); } }
.fx-bee { position: absolute; left: 0; top: 0; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); animation-timing-function: linear !important; }
.fx-bee img { width: 2.4cqw; height: auto; }
.b1 { animation-name: f1; animation-duration: 14s !important; }
.b2 { animation-name: f2; animation-duration: 18s !important; animation-delay: -6s; }
.b3 { animation-name: f3; animation-duration: 15s !important; animation-delay: -10s; }
@keyframes f1 { 0% { transform: translate(calc(var(--fw) * 0.12), calc(var(--fh) * 0.3)); } 25% { transform: translate(calc(var(--fw) * 0.4), calc(var(--fh) * 0.12)); } 50% { transform: translate(calc(var(--fw) * 0.6), calc(var(--fh) * 0.7)); } 75% { transform: translate(calc(var(--fw) * 0.82), calc(var(--fh) * 0.3)); } 100% { transform: translate(calc(var(--fw) * 0.12), calc(var(--fh) * 0.3)); } }
@keyframes f2 { 0% { transform: translate(calc(var(--fw) * 0.88), calc(var(--fh) * 0.72)) scaleX(-1); } 33% { transform: translate(calc(var(--fw) * 0.52), calc(var(--fh) * 0.4)) scaleX(-1); } 66% { transform: translate(calc(var(--fw) * 0.18), calc(var(--fh) * 0.78)) scaleX(-1); } 100% { transform: translate(calc(var(--fw) * 0.88), calc(var(--fh) * 0.72)) scaleX(-1); } }
@keyframes f3 { 0% { transform: translate(calc(var(--fw) * 0.3), calc(var(--fh) * 0.9)); } 50% { transform: translate(calc(var(--fw) * 0.7), calc(var(--fh) * 0.2)); } 100% { transform: translate(calc(var(--fw) * 0.3), calc(var(--fh) * 0.9)); } }
.stage.is-off, .download.is-off { --play: paused; }
.download * { animation-play-state: var(--play, running); }

/* ---------- numbers ---------- */
.numbers { padding: 96px 0 0; }
.num-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--hd-line); border-bottom: 1px solid var(--hd-line); }
.num-grid > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 32px 24px; border-left: 1px solid var(--hd-line); }
.num-grid > div:first-child { border-left: 0; }
.num-grid dd { font-size: 40px; line-height: 1; font-weight: 650; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.num-grid dt { color: var(--hd-dim); font-size: 14px; line-height: 1.4; }

/* ---------- sections ---------- */
.sec { padding: 128px 0; }
/* sections far below the fold are laid out and painted only when they come close */
#try, .numbers, #how, #features, #next, #office, #screens, #download, #limits, #faq, .band, .foot { content-visibility: auto; contain-intrinsic-size: auto 1200px; }
.sec-tight { padding-top: 0; }
.sec-line { border-top: 1px solid var(--hd-line); }
.head { max-width: 760px; margin-bottom: 64px; }
.head-center { margin-inline: auto; text-align: center; }
.head-center .head-sub { margin-inline: auto; }
.kicker { margin-bottom: 16px; color: var(--hd-honey-2); font-size: 14px; font-weight: 550; }
.kicker-warn { display: inline-flex; padding: 4px 12px; border: 1px solid color-mix(in srgb, var(--hd-honey) 40%, transparent); border-radius: 999px; background: var(--hd-honey-soft); }
.h2 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.04; font-weight: 650; letter-spacing: -.045em; text-wrap: balance; }
.h2 span { color: var(--hd-dim); }
.head-sub { margin-top: 24px; color: var(--hd-text-2); font-size: 18px; max-width: 640px; }
.h3 { margin: 64px 0 16px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.caption { margin-top: 16px; color: var(--hd-dim); font-size: 14px; }
.hd-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--hd-ease), transform .7s var(--hd-ease); }
.hd-js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- story ---------- */
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.story-visual { position: sticky; top: 104px; }
.sv-frame { position: relative; aspect-ratio: 16 / 11; border-radius: 16px; border: 1px solid var(--hd-line-2); background: radial-gradient(70% 60% at 50% 30%, color-mix(in srgb, var(--hd-honey) 10%, transparent), transparent 70%), linear-gradient(180deg, var(--hd-bg-2), var(--hd-bg-1)); overflow: hidden; }
.sv { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .5s var(--hd-ease), transform .5s var(--hd-ease); }
.sv.on { opacity: 1; transform: none; }
.sv-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.sv-dots li { width: 24px; height: 3px; border-radius: 3px; background: var(--hd-line-2); transition: background-color .3s, width .3s var(--hd-ease); }
.sv-dots li.on { width: 40px; background: var(--hd-honey); }
.story-steps { display: grid; }
.st-step { min-height: 40vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; border-top: 1px solid var(--hd-line); opacity: .72; transition: opacity .4s; }
.st-step:first-child { border-top: 0; }
.st-step.on { opacity: 1; }
.step-n { color: var(--hd-honey-2); font: 500 13px var(--hd-mono); }
.st-step h3 { margin-top: 8px; font-size: 32px; font-weight: 650; letter-spacing: -.04em; }
.st-step p { margin-top: 12px; color: var(--hd-text-2); font-size: 17px; max-width: 46ch; }
/* step visuals */
.sv-ask { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 8px 8px 16px; border-radius: 12px; border: 1px solid var(--hd-line-2); background: var(--hd-bg); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .8); font-size: 15px; color: var(--hd-text); }
.sv-ask .i { color: var(--hd-honey); }
.sv-typing { flex: 1; min-width: 0; }
.sv.on .sv-typing { animation: reveal-x 2.4s steps(40, end) both .2s; }
@keyframes reveal-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sv-build { flex: none; padding: 8px 16px; border-radius: 8px; background: var(--hd-honey); color: var(--hd-ink); font-weight: 600; font-size: 14px; }
.sv.on .sv-build { animation: press 1s var(--hd-ease) 2.6s both; }
@keyframes press { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--hd-honey) 0%, transparent); } 40% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--hd-honey) 25%, transparent); } }
.sv-brief { width: 100%; padding: 24px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--hd-honey) 30%, transparent); background: var(--hd-bg); }
.sv-label { display: inline-flex; align-items: center; gap: 6px; color: var(--hd-honey-2); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.sv-brief p { margin-top: 12px; color: var(--hd-text-2); font-size: 14px; }
.sv-brief p b { display: inline-block; width: 96px; color: var(--hd-honey-2); }
.sv.on .sv-brief p { animation: line .5s var(--hd-ease) both; }
.sv.on .sv-brief p:nth-of-type(2) { animation-delay: .2s; } .sv.on .sv-brief p:nth-of-type(3) { animation-delay: .4s; } .sv.on .sv-brief p:nth-of-type(4) { animation-delay: .6s; }
@keyframes line { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.sv-acts { display: flex; gap: 8px; margin-top: 16px; }
.sv-acts span { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--hd-line-2); font-size: 13px; color: var(--hd-text-2); }
.sv-acts .on { background: var(--hd-honey); border-color: var(--hd-honey); color: var(--hd-ink); font-weight: 600; }
.sv-plan { position: relative; width: 100%; aspect-ratio: 5 / 3; }
.sv-plan .edges { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: color-mix(in srgb, var(--hd-honey) 50%, transparent); stroke-width: 1.5; stroke-dasharray: 4 6; }
.sv.on .edges path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.node { position: absolute; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 10px; border: 1px solid var(--hd-line-2); background: var(--hd-bg); font-size: 13px; font-weight: 550; white-space: nowrap; box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .8); }
.node img { width: 28px; height: 28px; }
.n1 { left: 0; top: 10%; } .n3 { left: 0; top: 70%; } .n2 { left: 58%; top: 40%; } .n4 { left: 50%; top: 80%; }
.sv.on .node { animation: line .5s var(--hd-ease) both; }
.sv.on .n2 { animation-delay: .2s; } .sv.on .n3 { animation-delay: .4s; } .sv.on .n4 { animation-delay: .6s; }
.sv-code { width: 100%; border-radius: 12px; border: 1px solid var(--hd-line-2); background: var(--hd-bg); overflow: hidden; }
.code-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--hd-line); color: var(--hd-text-2); font: 500 12px var(--hd-mono); }
.who-chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 2px; border-radius: 999px; background: rgba(108, 196, 255, .14); color: #A9D5F5; font-family: var(--hd-sans); }
.who-chip img { width: 18px; height: 18px; }
.sv-code pre { padding: 12px 0; font: 500 13px/1.8 var(--hd-mono); white-space: pre; overflow: hidden; }
.ln { display: inline-block; width: 32px; padding-right: 12px; text-align: right; color: #5E564B; user-select: none; }
.cl { display: inline-block; }
.add { color: #CDEBD5; background: rgba(155, 217, 174, .08); width: calc(100% - 32px); }
.sv.on .cl { animation: line .4s var(--hd-ease) both; }
.sv.on pre .cl:nth-of-type(2) { animation-delay: .3s; }
.sv-checks { width: 100%; display: grid; gap: 8px; }
.sv-checks li { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 16px 12px 44px; border-radius: 10px; border: 1px solid var(--hd-line); background: var(--hd-bg); font-size: 14px; }
.sv-checks li::before { content: ""; position: absolute; left: 14px; width: 18px; height: 18px; border-radius: 50%; background: #173323 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239BD9AE' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.sv-checks li.bad::before { background: #3A1C16 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2A08C' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }
.sv-checks em { font-style: normal; color: #F2A08C; font-size: 12px; }
.sv-checks .final { border-color: rgba(155, 217, 174, .4); color: var(--hd-ok); font-weight: 600; }
.sv.on .sv-checks li { animation: line .4s var(--hd-ease) both; }
.sv.on .sv-checks li:nth-child(2) { animation-delay: .35s; } .sv.on .sv-checks li:nth-child(3) { animation-delay: .7s; } .sv.on .sv-checks li:nth-child(4) { animation-delay: 1.05s; } .sv.on .sv-checks li:nth-child(5) { animation-delay: 1.6s; }
.sv-ship { width: 100%; padding: 24px; border-radius: 12px; border: 1px solid var(--hd-line-2); background: var(--hd-bg); }
.gh-row { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.gh-row .muted { margin-left: auto; font-size: 12px; }
.sv-ship ol { display: grid; gap: 12px; margin-top: 16px; }
.sv-ship li { display: flex; align-items: center; gap: 12px; color: var(--hd-text-2); font-size: 14px; }
.tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--hd-line-2); flex: none; }
.sv.on .sv-ship .tick { animation: tick .4s var(--hd-ease) both; }
.sv.on .sv-ship li:nth-child(2) .tick { animation-delay: .5s; } .sv.on .sv-ship li:nth-child(3) .tick { animation-delay: 1s; } .sv.on .sv-ship li:nth-child(4) .tick { animation-delay: 1.5s; } .sv.on .sv-ship li:nth-child(5) .tick { animation-delay: 2s; }
@keyframes tick { to { border-color: transparent; background: #173323 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239BD9AE' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 320px; border-radius: 16px; border: 1px solid var(--hd-line); background: linear-gradient(180deg, var(--hd-bg-2), var(--hd-bg-1)); overflow: hidden; transform-style: preserve-3d; transition: border-color .3s, transform .3s var(--hd-ease); will-change: transform; }
.tile:hover { border-color: var(--hd-line-2); }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--px, 50%) var(--py, 0%), color-mix(in srgb, var(--hd-honey-2) 7%, transparent), transparent 60%); }
.tile-copy { position: relative; padding: 24px 24px 0; }
.tile-copy p { margin-top: 8px; color: var(--hd-dim); font-size: 15px; max-width: 52ch; }
.tile-note { margin-top: 4px; color: var(--hd-dim); font-size: 12px; line-height: 1.5; text-align: center; }
.viz { position: relative; margin-top: auto; padding: 24px; }
.t-refine { grid-column: span 4; }
.t-model { grid-column: span 2; }
.t-collab, .t-github { grid-column: span 3; }
.t-voice, .t-theme, .t-ext, .t-lend, .t-lang, .t-priv { grid-column: span 2; }
.tile:not(.is-in), .tile.is-off { --play: paused; }

/* refiner */
.refine { display: grid; gap: 12px; }
.rf-raw, .rf-brief { border-radius: 12px; border: 1px solid var(--hd-line); background: var(--hd-bg); padding: 16px; }
.rf-who { display: inline-flex; align-items: center; gap: 6px; color: var(--hd-dim); font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.rf-hl { color: var(--hd-honey-2); }
.rf-hl .i { width: 14px; height: 14px; }
.rf-text { display: block; margin-top: 8px; font: 500 14px var(--hd-mono); color: var(--hd-text-2); animation: raw 10s var(--hd-ease) infinite; }
@keyframes raw { 0%, 6% { opacity: 1; filter: none; } 14%, 86% { opacity: .4; filter: blur(.5px); } 94%, 100% { opacity: 1; } }
.rf-arrow { justify-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hd-honey); color: var(--hd-ink); animation: spin 10s var(--hd-ease) infinite; }
.rf-arrow .i { width: 20px; height: 20px; }
@keyframes spin { 0%, 8% { transform: rotate(0) scale(1); } 14% { transform: rotate(-20deg) scale(1.12); } 20%, 100% { transform: rotate(0) scale(1); } }
.rf-brief { border-color: color-mix(in srgb, var(--hd-honey) 30%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--hd-honey) 6%, transparent), var(--hd-bg) 60%); }
.rf-l { margin-top: 8px; font-size: 14px; color: var(--hd-text-2); opacity: 0; animation: rfl 10s var(--hd-ease) infinite; }
.rf-l b { display: inline-block; width: 96px; color: var(--hd-honey-2); }
.rf-l:nth-of-type(1) { animation-delay: .8s; } .rf-l:nth-of-type(2) { animation-delay: 1.3s; } .rf-l:nth-of-type(3) { animation-delay: 1.8s; } .rf-l:nth-of-type(4) { animation-delay: 2.3s; }
@keyframes rfl { 0% { opacity: 0; transform: translateY(6px); filter: blur(6px); } 8%, 82% { opacity: 1; transform: none; filter: none; } 90%, 100% { opacity: 0; filter: blur(6px); } }

/* model picker */
.vram { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.vram-label { color: var(--hd-dim); font: 600 11px var(--hd-mono); letter-spacing: .06em; }
.vram-bar { position: relative; flex: 1; height: 8px; border-radius: 4px; background: var(--hd-bg); border: 1px solid var(--hd-line); }
.vram-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 60%; border-radius: 4px; background: linear-gradient(90deg, var(--hd-honey), var(--hd-honey-2)); transform-origin: left; animation: vram 7s var(--hd-ease) infinite; }
@keyframes vram { 0% { transform: scaleX(0); } 30%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.vram-bar i { position: absolute; top: 12px; transform: translateX(-50%); color: var(--hd-dim); font: 500 10px var(--hd-mono); font-style: normal; white-space: nowrap; }
.vram-bar i:last-child { transform: translateX(-100%); }
.pk-list { display: grid; gap: 4px; margin-top: 24px; }
.pk-list li { display: flex; justify-content: space-between; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid transparent; color: var(--hd-dim); font: 500 13px var(--hd-mono); }
.pk-list em { margin-left: 8px; font: 600 11px var(--hd-sans); font-style: normal; color: var(--hd-honey-2); opacity: 0; }
.pk-list .pick { animation: pick 7s var(--hd-ease) infinite; }
.pk-list .pick em { animation: pickem 7s var(--hd-ease) infinite; }
@keyframes pick { 0%, 30% { background: transparent; border-color: transparent; color: var(--hd-dim); } 36%, 90% { background: var(--hd-honey-soft); border-color: color-mix(in srgb, var(--hd-honey) 40%, transparent); color: var(--hd-honey-2); } 100% { background: transparent; border-color: transparent; } }
@keyframes pickem { 0%, 34% { opacity: 0; } 40%, 90% { opacity: 1; } 100% { opacity: 0; } }
.pk-why { margin-top: 12px; color: var(--hd-text-2); font-size: 12px; }

/* voice */
.voice { display: grid; justify-items: center; gap: 12px; }
.orb { position: relative; width: 72px; height: 72px; }
.orb-core { position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE7B0, #FFB531 55%, #B86E12); box-shadow: 0 0 40px color-mix(in srgb, var(--hd-honey) 55%, transparent); animation: orb 2.4s ease-in-out infinite; }
.orb .hd-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--hd-honey) 50%, transparent); animation: ring 2.4s ease-out infinite; }
.orb .r2 { animation-delay: 1.2s; }
@keyframes orb { 50% { transform: scale(1.08); } }
@keyframes ring { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.wave { display: flex; align-items: center; gap: 4px; height: 32px; }
.wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--hd-honey-2); transform: scaleY(.2); animation: wav 1.1s ease-in-out infinite; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n) { animation-delay: -.6s; } .wave i:nth-child(5n) { animation-delay: -.15s; }
@keyframes wav { 50% { transform: scaleY(1); } }
.said { color: var(--hd-text-2); font-size: 14px; text-align: center; }

/* code together */
.ed { border-radius: 12px; border: 1px solid var(--hd-line); background: var(--hd-bg); overflow: hidden; }
.ed-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--hd-line); color: var(--hd-text-2); font: 500 12px var(--hd-mono); }
.peers { display: flex; gap: 4px; }
.peers i { font: 600 11px var(--hd-sans); font-style: normal; padding: 2px 8px; border-radius: 999px; }
.p-you { background: color-mix(in srgb, var(--hd-honey) 18%, transparent); color: var(--hd-honey-2); }
.p-ana { background: rgba(201, 167, 255, .18); color: #D9C4FF; }
.ed-code { position: relative; padding: 12px 0; font: 500 13px/1.9 var(--hd-mono); color: #E2DACD; white-space: pre; overflow: hidden; }
.cur { position: relative; display: inline-block; width: 2px; height: 1.2em; margin-left: 1px; vertical-align: -3px; }
.cur b { position: absolute; left: 0; bottom: 100%; z-index: 1; padding: 0 5px; border-radius: 4px 4px 4px 0; font: 600 10px/16px var(--hd-sans); white-space: nowrap; }
.c-you { background: var(--hd-honey); animation: blinkbg 1s steps(1) infinite; }
@keyframes blinkbg { 50% { background: transparent; } }
.c-you b { background: var(--hd-honey); color: var(--hd-ink); }
.c-ana { background: #C9A7FF; }
.c-ana b { background: #C9A7FF; color: #1A1426; bottom: auto; top: 100%; border-radius: 0 4px 4px 4px; }
.typing-ana { display: inline-block; vertical-align: bottom; width: 7ch; animation: anatype 6s steps(7, end) infinite; color: #FFD27A; }
@keyframes anatype { 0%, 10% { clip-path: inset(0 100% 0 0); } 50%, 90% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }

/* github */
.gh-steps { display: grid; gap: 8px; }
.gh-steps li { display: grid; grid-template-columns: 18px auto 1fr; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--hd-line); background: var(--hd-bg); font-size: 13px; opacity: .35; animation: ghs 8s var(--hd-ease) infinite; }
.gh-steps li:nth-child(2) { animation-delay: 1s; } .gh-steps li:nth-child(3) { animation-delay: 2s; } .gh-steps li:nth-child(4) { animation-delay: 3s; }
.gh-steps .dot { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--hd-line-2); animation: ghd 8s var(--hd-ease) infinite; animation-delay: inherit; }
.gh-steps li:nth-child(2) .dot { animation-delay: 1s; } .gh-steps li:nth-child(3) .dot { animation-delay: 2s; } .gh-steps li:nth-child(4) .dot { animation-delay: 3s; }
.gh-steps code { color: var(--hd-text); }
.gh-msg { color: var(--hd-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr { padding: 2px 8px; border-radius: 999px; background: rgba(155, 217, 174, .14); color: var(--hd-ok); font-weight: 600; font-size: 12px; }
.ci { color: var(--hd-text); font-weight: 550; }
@keyframes ghs { 0% { opacity: .35; } 6%, 85% { opacity: 1; } 95%, 100% { opacity: .35; } }
@keyframes ghd { 0% { border-color: var(--hd-line-2); background: transparent; } 6%, 85% { border-color: transparent; background: #173323 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239BD9AE' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; } 95%, 100% { border-color: var(--hd-line-2); background: transparent; } }

/* themes */
.themes { display: grid; gap: 12px; }
.mini { --t-bg: #0E0D0B; --t-panel: #191613; --t-acc: #FFB531; --t-text: #F2E9DA; height: 152px; border-radius: 12px; border: 1px solid var(--hd-line-2); overflow: hidden; background: var(--t-bg); animation: theme 12s steps(1) infinite; }
@keyframes theme {
  0% { --t-bg: #0E0D0B; --t-panel: #191613; --t-acc: #FFB531; --t-text: #F2E9DA; }
  25% { --t-bg: #0A0D14; --t-panel: #121722; --t-acc: #8FA8FF; --t-text: #E6ECFA; }
  50% { --t-bg: #0C120E; --t-panel: #141D17; --t-acc: #8BCF7A; --t-text: #E8F1E6; }
  75% { --t-bg: #07060D; --t-panel: #100D1C; --t-acc: #FF3DC8; --t-text: #F4EEFF; }
}
@property --t-bg { syntax: "<color>"; inherits: true; initial-value: #0E0D0B; }
@property --t-panel { syntax: "<color>"; inherits: true; initial-value: #191613; }
@property --t-acc { syntax: "<color>"; inherits: true; initial-value: #FFB531; }
@property --t-text { syntax: "<color>"; inherits: true; initial-value: #F2E9DA; }
.mini, .mini * { transition: background-color .5s, border-color .5s; }
.mini-top { display: flex; gap: 6px; padding: 8px 10px; background: var(--t-panel); }
.mini-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--t-text); opacity: .25; }
.mini-body { display: flex; gap: 8px; padding: 10px; height: calc(100% - 24px); }
.mb-side { width: 28%; border-radius: 6px; background: var(--t-panel); }
.mb-main { flex: 1; display: grid; gap: 6px; align-content: start; padding: 10px; border-radius: 6px; background: var(--t-panel); }
.mb-main i { height: 8px; border-radius: 4px; background: var(--t-text); opacity: .25; }
.mb-main i:nth-child(2) { width: 70%; }
.mb-main .acc { width: 40%; height: 20px; border-radius: 6px; background: var(--t-acc); opacity: 1; }
.theme-name { position: relative; height: 20px; overflow: hidden; color: var(--hd-text-2); font-size: 13px; }
.theme-name span { position: absolute; left: 0; top: 0; opacity: 0; animation: tname 12s steps(1) infinite; }
.theme-name span:nth-child(2) { animation-delay: 3s; } .theme-name span:nth-child(3) { animation-delay: 6s; } .theme-name span:nth-child(4) { animation-delay: 9s; }
@keyframes tname { 0% { opacity: 1; } 25%, 100% { opacity: 0; } }

/* extensions */
.ext-card { display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; border: 1px solid var(--hd-line-2); background: var(--hd-bg); }
.ext-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--hd-honey-soft); color: var(--hd-honey-2); }
.ext-ic .i { width: 20px; height: 20px; }
.ext-name { display: grid; font-size: 14px; }
.ext-name span { color: var(--hd-dim); font-size: 12px; }
.ext-card .hd-ring { grid-area: 1 / 3; width: 36px; height: 36px; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.ext-card .hd-ring circle { stroke: var(--hd-line-2); }
.ext-card .ring-p { stroke: var(--hd-honey) !important; stroke-linecap: round; stroke-dasharray: 94.3; stroke-dashoffset: 94.3; animation: ringp 6s var(--hd-ease) infinite; }
@keyframes ringp { 0% { stroke-dashoffset: 94.3; opacity: 1; } 45% { stroke-dashoffset: 0; opacity: 1; } 50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.ext-ok { grid-area: 1 / 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #173323; color: var(--hd-ok); opacity: 0; transform: scale(.6); animation: extok 6s var(--hd-ease) infinite; }
@keyframes extok { 0%, 48% { opacity: 0; transform: scale(.6); } 54%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.perms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.perms span { padding: 2px 10px; border-radius: 999px; border: 1px solid var(--hd-line); color: var(--hd-dim); font-size: 12px; }

/* lend */
.lend { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.ln-node { display: grid; justify-items: center; gap: 6px; color: var(--hd-text-2); font-size: 12px; }
.ln-node .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; border: 1px solid var(--hd-line-2); background: var(--hd-bg); color: var(--hd-honey-2); }
.ln-wire { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--hd-line-2) 0 6px, transparent 6px 12px); }
.pk { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--hd-honey); box-shadow: 0 0 12px var(--hd-honey); animation: pk 2.8s ease-in-out infinite; }
.k2 { background: #F4EEE4; box-shadow: 0 0 10px color-mix(in srgb, var(--hd-text) 60%, transparent); animation-name: pkb; animation-delay: 1.4s; }
@keyframes pk { 0% { transform: translateX(0); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateX(var(--wire, 120px)); opacity: 0; } }
@keyframes pkb { 0% { transform: translateX(var(--wire, 120px)); opacity: 0; } 10%, 90% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
.ln-words { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.ln-words span { height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--hd-line); background: var(--hd-bg); color: var(--hd-honey-2); font: 500 12px var(--hd-mono); }

/* languages */
.langs { display: grid; gap: 16px; }
.hello { display: block; min-height: 40px; font-size: 32px; font-weight: 650; letter-spacing: -.035em; line-height: 1.2; transition: opacity .25s, transform .25s, filter .25s; }
.hello.out { opacity: 0; transform: translateY(6px); filter: blur(4px); }
.lang-list { display: flex; flex-wrap: wrap; gap: 6px; }
.lang-list li { height: 28px; display: grid; place-items: center; padding: 0 10px; border-radius: 999px; border: 1px solid var(--hd-line); color: var(--hd-dim); font-size: 13px; transition: color .3s, border-color .3s, background-color .3s; }
.lang-list li.on { color: var(--hd-honey-2); border-color: color-mix(in srgb, var(--hd-honey) 45%, transparent); background: var(--hd-honey-soft); }

/* privacy */
.priv { display: flex; align-items: center; gap: 12px; }
.pv-lock { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--hd-honey) 40%, transparent); background: var(--hd-honey-soft); color: var(--hd-honey-2); animation: lockp 3s ease-in-out infinite; }
@keyframes lockp { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--hd-honey) 8%, transparent); } }
.pv-lock .i { width: 22px; height: 22px; }
.pv-host { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--hd-line); background: var(--hd-bg); font-size: 13px; color: var(--hd-text-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pv-tok { color: var(--hd-honey-2); }

/* ---------- office ---------- */
.office-live { max-width: 1120px; margin: 0 auto; border-radius: 16px; border: 1px solid var(--hd-line-2); overflow: hidden; background: #0E0D0B; box-shadow: 0 50px 120px -50px color-mix(in srgb, var(--hd-honey) 50%, transparent); }
.office-frames { position: relative; aspect-ratio: 16 / 9; }
.of { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: ofade 15s linear infinite; }
.of1 { opacity: 1; animation-delay: 0s; } .of2 { animation-delay: 5s; } .of3 { animation-delay: 10s; }
@keyframes ofade { 0% { opacity: 0; } 3%, 33% { opacity: 1; } 36%, 100% { opacity: 0; } }
.office-fx { --fw: 1120px; --fh: 630px; position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.office-fx .fx-bee img { width: 30px; }
.ob1 { animation: f1 14s linear infinite; } .ob2 { animation: f2 17s linear infinite -5s; }
.office-fx .confetti { position: absolute; left: 50%; top: 45%; width: 0; height: 0; }
.confetti i { position: absolute; width: 8px; height: 12px; border-radius: 2px; background: var(--hd-honey); opacity: 0; animation: conf 15s ease-out infinite; }
.confetti i:nth-child(3n) { background: #9BD9AE; } .confetti i:nth-child(3n+1) { background: #C9A7FF; } .confetti i:nth-child(4n) { background: #F4EEE4; }
.confetti i:nth-child(1) { --x: -220px; --y: -140px; --r: 200deg; } .confetti i:nth-child(2) { --x: -160px; --y: -200px; --r: -160deg; } .confetti i:nth-child(3) { --x: -90px; --y: -230px; --r: 260deg; } .confetti i:nth-child(4) { --x: -30px; --y: -180px; --r: -220deg; }
.confetti i:nth-child(5) { --x: 40px; --y: -240px; --r: 180deg; } .confetti i:nth-child(6) { --x: 110px; --y: -200px; --r: -260deg; } .confetti i:nth-child(7) { --x: 170px; --y: -150px; --r: 240deg; } .confetti i:nth-child(8) { --x: 230px; --y: -90px; --r: -200deg; }
.confetti i:nth-child(9) { --x: -260px; --y: -60px; --r: 300deg; } .confetti i:nth-child(10) { --x: 260px; --y: -40px; --r: -300deg; } .confetti i:nth-child(11) { --x: -130px; --y: -90px; --r: 160deg; } .confetti i:nth-child(12) { --x: 140px; --y: -110px; --r: -180deg; }
@keyframes conf { 0%, 67% { opacity: 0; transform: translate(0, 0) rotate(0); } 68% { opacity: 1; } 82% { opacity: 1; transform: translate(var(--x), calc(var(--y) + 160px)) rotate(var(--r)); } 86%, 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 200px)) rotate(var(--r)); } }
.office-live { position: relative; }
.office-steps { position: absolute; right: 10px; top: 5px; display: flex; gap: 2px; }
.office-steps li { padding: 2px 10px; border-radius: 999px; color: #BDB3A3; font-size: 12px; font-weight: 550; animation: ostep 15s steps(1) infinite; }
.office-steps li:nth-child(2) { animation-delay: 5s; } .office-steps li:nth-child(3) { animation-delay: 10s; }
@keyframes ostep { 0% { background: var(--hd-honey); color: #17110A; } 33.3%, 100% { background: transparent; color: #BDB3A3; } }
.office-live.is-off, .office-live:not(.is-in) { --play: paused; }
.office-live *, .stage *, .tile * { animation-play-state: var(--play, running); }

/* ---------- screens ---------- */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--hd-line); border-radius: 999px; background: var(--hd-bg-1); }
.seg button { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; color: var(--hd-text-2); font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s; }
.seg button:hover { color: var(--hd-text); }
.seg button[aria-selected=true], .seg button.v-active { background: var(--hd-bg-3); color: var(--hd-text); box-shadow: inset 0 0 0 1px var(--hd-line-2); }
.screens .seg { margin-bottom: 24px; }
.shot { border-radius: 12px; border: 1px solid var(--hd-line-2); overflow: hidden; background: #0E0D0B; aspect-ratio: 16 / 9; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot[hidden] { display: none; }

/* ---------- download ---------- */
.hd-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 16px; border: 1px solid var(--hd-line); background: var(--hd-bg-1); transition: border-color .3s, box-shadow .3s, transform .3s var(--hd-ease); }
.hd-card > p { color: var(--hd-text-2); font-size: 15px; }
.hd-card .b { align-self: flex-start; }
.card-head { display: flex; align-items: center; gap: 12px; }
.card-head h3 { font-size: 20px; letter-spacing: -.025em; }
.ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid var(--hd-line-2); background: var(--hd-bg-2); color: var(--hd-honey-2); }
.ic .i { width: 20px; height: 20px; }
.ic-lg { width: 24px; height: 24px; color: var(--hd-honey-2); }
.hd-chip { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: var(--hd-honey-soft); color: var(--hd-honey-2); font-size: 12px; font-weight: 600; }
.dl-cmd { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; border-color: color-mix(in srgb, var(--hd-honey) 30%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--hd-honey) 5%, transparent), var(--hd-bg-1) 50%); }
.dl-cmd-copy { display: grid; gap: 16px; }
.dl-cmd-copy > p { color: var(--hd-text-2); font-size: 15px; }
.term { border-radius: 12px; border: 1px solid var(--hd-line); background: var(--hd-bg); padding: 16px; font: 500 12.5px/1.75 var(--hd-mono); color: #E2DACD; min-height: 264px; }
.tl { white-space: pre-wrap; overflow-wrap: anywhere; }
.hd-js [data-term] .tl { opacity: 0; transition: opacity .25s; }
.hd-js [data-term] .tl.on { opacity: 1; }
.c-a { color: var(--hd-honey); font-weight: 600; }
.c-q { color: var(--hd-ok); font-weight: 600; }
.c-v { color: var(--hd-sky); }
.c-dim { color: #8C8273; }
.c-ok { color: var(--hd-ok); }
.c-tag { padding: 0 6px; border-radius: 4px; background: var(--hd-honey-soft); color: var(--hd-honey-2); }
.tcaret { display: inline-block; width: 7px; height: 14px; margin-left: 4px; vertical-align: -2px; background: var(--hd-honey); animation: blink 1s steps(1) infinite; }
.note { padding: 12px 16px; border-radius: 12px; border: 1px solid var(--hd-line); background: var(--hd-bg-2); color: var(--hd-text-2); font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-3 .hd-card p { color: var(--hd-text-2); font-size: 15px; }
.req { display: grid; grid-template-columns: 2fr 3fr; gap: 16px; margin-top: 16px; }
.req h3 { font-size: 20px; letter-spacing: -.025em; }
.fine { color: var(--hd-dim); font-size: 13px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--hd-line); border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--hd-line); }
.tbl thead th { border-top: 0; background: var(--hd-bg-2); color: var(--hd-dim); font-size: 12px; font-weight: 600; }
.tbl td { color: var(--hd-text-2); }
.tbl th[scope=row] { color: var(--hd-text); font-weight: 550; white-space: nowrap; }
.tbl .num { text-align: right; font-family: var(--hd-mono); color: var(--hd-text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl-hw td:nth-child(3) { white-space: nowrap; }
.lvl { display: inline-block; width: 40px; height: 6px; margin-right: 10px; border-radius: 3px; vertical-align: 1px; background: linear-gradient(90deg, var(--hd-honey) 0 var(--w), color-mix(in srgb, var(--hd-text) 10%, transparent) var(--w)); }
.l1 { --w: 25%; } .l2 { --w: 50%; } .l3 { --w: 75%; } .l4 { --w: 100%; }
.ticks, .crosses { display: grid; gap: 12px; }
.ticks li, .crosses li { position: relative; padding-left: 28px; color: var(--hd-text-2); font-size: 15px; }
.ticks li::before, .crosses li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--hd-honey-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD27A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.crosses li::before { background: color-mix(in srgb, var(--hd-text) 7%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BDB3A3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 10px no-repeat; }
.card-good { border-color: color-mix(in srgb, var(--hd-honey) 30%, transparent); }
.note-line { display: flex; gap: 12px; margin-top: 16px; padding: 16px 24px; border-radius: 16px; border: 1px solid var(--hd-line); background: var(--hd-bg-1); color: var(--hd-text-2); font-size: 15px; }
.note-line .i { width: 20px; height: 20px; margin-top: 2px; color: var(--hd-honey-2); }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-wrap .head { position: sticky; top: 96px; }

/* ---------- CTA band ---------- */
.band { padding: 0 0 128px; }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: 48px; border-radius: 24px; border: 1px solid color-mix(in srgb, var(--hd-honey) 25%, transparent); background: radial-gradient(60% 140% at 0% 50%, color-mix(in srgb, var(--hd-honey) 16%, transparent), transparent 60%), linear-gradient(180deg, var(--hd-bg-2), var(--hd-bg-1)); }
.band-copy p { margin-top: 8px; color: var(--hd-text-2); font-size: 17px; }
.band .h2 { font-size: clamp(28px, 3.4vw, 40px); }
.band-act { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--hd-line); padding-top: 80px; background: var(--hd-bg); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 40px; }
.foot-mel { width: 96px; height: 96px; margin: -8px 0 16px -8px; }
.foot-brand > p { margin-top: 12px; color: var(--hd-dim); font-size: 14px; }
.author { display: grid; gap: 12px; margin-top: 24px; padding: 16px; border-radius: 12px; border: 1px solid var(--hd-line); background: var(--hd-bg-1); width: max-content; max-width: 100%; font-size: 14px; color: var(--hd-text-2); }
.author-links { display: flex; flex-wrap: wrap; gap: 8px; }
.author-links a { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hd-line-2); color: var(--hd-text); font-size: 14px; font-weight: 500; transition: border-color .2s, background-color .2s; }
.author-links a:hover { border-color: color-mix(in srgb, var(--hd-honey-2) 50%, transparent); background: var(--hd-honey-soft); }
.foot-h { margin-bottom: 16px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.foot-list { display: grid; gap: 10px; font-size: 14px; }
.foot-list a { color: var(--hd-dim); text-decoration: none; transition: color .2s; }
.foot-list a:hover { color: var(--hd-text); }
.foot-more { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 80px; padding: 24px 0 32px; border-top: 1px solid var(--hd-line); color: var(--hd-dim); font-size: 13px; }

/* ---------- lend link page and 404 ---------- */
.hero-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, color-mix(in srgb, var(--hd-honey) 14%, transparent), transparent 70%); }
.wrap-narrow { width: min(800px, 100% - 48px); }
.lendpage { position: relative; padding: 80px 0; isolation: isolate; min-height: 70vh; }
.lendpage h1 { margin-bottom: 24px; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; font-weight: 650; letter-spacing: -.045em; }
.lendpage p { margin-bottom: 16px; color: var(--hd-text-2); }
.lendpage .kicker { margin-bottom: 16px; }
.lend-mel { width: 112px; margin-bottom: 16px; }
.words { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.words li { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; border: 1px solid color-mix(in srgb, var(--hd-honey) 35%, transparent); border-radius: 12px; background: var(--hd-bg-1); }
.words span { color: var(--hd-dim); font: 600 13px var(--hd-mono); }
.words b { color: var(--hd-honey-2); font: 600 clamp(20px, 3vw, 26px) var(--hd-mono); }
.lend-say { font-size: 18px; color: var(--hd-text) !important; }
.lend-facts { margin-top: 32px; }
.cmd { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 4px 0 16px; margin-bottom: 16px; border: 1px solid var(--hd-line-2); border-radius: 12px; background: var(--hd-bg-1); font-family: var(--hd-mono); }
.cmd code { flex: 1; overflow-x: auto; white-space: nowrap; font-size: 14px; }
.cmd-p { color: var(--hd-honey); }
.cmd-copy { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; color: var(--hd-text-2); }
.cmd-copy:hover { background: color-mix(in srgb, var(--hd-text) 8%, transparent); color: var(--hd-text); }
.gh { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border: 1px solid var(--hd-line-2); border-radius: 999px; font-size: 14px; }
.small { font-size: 14px; }
.foot-slim { padding-top: 0; }
.foot-slim .foot-legal { margin-top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento > .tile { grid-column: span 1; }
  .t-refine, .t-collab, .t-github { grid-column: span 2 !important; }
  .num-grid { grid-template-columns: repeat(3, 1fr); }
  .num-grid > div:nth-child(4) { border-left: 0; }
  .num-grid > div:nth-child(n+4) { border-top: 1px solid var(--hd-line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .dl-cmd { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 56px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 8px 24px 16px; background: color-mix(in srgb, var(--hd-bg) 97%, transparent); border-bottom: 1px solid var(--hd-line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--hd-line); border-radius: 0; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-visual { top: 56px; z-index: 2; margin: 0 -24px; padding: 8px 24px; background: var(--hd-bg); border-bottom: 1px solid var(--hd-line); }
  .sv-typing { white-space: normal; }
  .sv-dots { margin-top: 8px; }
  .sv-frame { aspect-ratio: 16 / 10; }
  .sv { padding: 16px; transform: scale(.9); }
  .sv.on { transform: scale(.9); }
  .st-step { min-height: 36vh; justify-content: flex-start; padding-top: 32px; }
  .os-grid, .grid-2, .grid-3, .req, .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap { gap: 0; }
  .faq-wrap .head { position: static; }
}
@media (max-width: 640px) {
  .wrap, .top-in { width: calc(100% - 32px); }
  .story-visual { margin: 0 -16px; padding: 8px 16px; }
  .hd-hero { padding-top: 64px; }
  .eyebrow { margin-bottom: 24px; }
  .eyebrow > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .display { font-size: 44px; letter-spacing: -.05em; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .pill { justify-content: space-between; }
  .cta-row .b { width: 100%; }
  .stage { width: calc(100% - 32px); margin-top: 48px; }
  .window-bar { height: 28px; }
  .numbers { padding-top: 64px; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num-grid > div { border-left: 0 !important; border-top: 1px solid var(--hd-line); padding: 24px 16px; }
  .num-grid > div:nth-child(-n+2) { border-top: 0; }
  .num-grid > div:nth-child(even) { border-left: 1px solid var(--hd-line) !important; }
  .num-grid > div:last-child { grid-column: 1 / -1; }
  .num-grid dd { font-size: 32px; }
  .sec { padding: 96px 0; }
  .sec-tight { padding-top: 0; }
  .head { margin-bottom: 40px; }
  .st-step h3 { font-size: 26px; }
  .sv { transform: scale(.78); padding: 8px; }
  .sv.on { transform: scale(.78); }
  .bento { grid-template-columns: 1fr; }
  .bento > .tile { grid-column: auto !important; min-height: 0; }
  .hd-card { padding: 24px; }
  .tbl th, .tbl td { padding: 10px 12px; }
  .tbl-hw, .tbl-hw thead, .tbl-hw tbody, .tbl-hw tr, .tbl-hw th, .tbl-hw td { display: block; }
  .tbl-hw thead { display: none; }
  .tbl-hw tr { padding: 12px 0; border-top: 1px solid var(--hd-line); }
  .tbl-hw tr:first-child { border-top: 0; }
  .tbl-hw th, .tbl-hw td { border: 0; padding: 2px 16px; }
  .tbl-hw td:nth-child(3) { white-space: normal; }
  .office-steps li { padding: 2px 6px; font-size: 10px; }
  .office-live .window-bar span { visibility: hidden; }
  .band { padding-bottom: 96px; }
  .band-in { padding: 32px 24px; }
  .band-act { flex-direction: column; align-items: stretch; width: 100%; }
  .band-act .pill { justify-content: space-between; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-legal { flex-direction: column; }
  .words { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: none !important; transition: none !important; }
  .hd-js .reveal, .hd-js [data-term] .tl { opacity: 1; transform: none; }
  .fx { display: none; }
  .rf-l, .sv, .sv-checks li, .node { opacity: 1; transform: none; filter: none; }
  .sv { opacity: 0; } .sv.on { opacity: 1; }
  .pk-list .pick { background: var(--hd-honey-soft); border-color: color-mix(in srgb, var(--hd-honey) 40%, transparent); color: var(--hd-honey-2); }
  .pk-list .pick em { opacity: 1; }
  .gh-steps li { opacity: 1; }
  .theme-name span:first-child, .ext-ok { opacity: 1; transform: none; }
  .ext-card .hd-ring { display: none; }
  .confetti, .office-fx { display: none; }
  .of { opacity: 0; } .of1 { opacity: 1; }
}

/* ---------- header switchers ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- try it ---------- */
.try-box { position: relative; max-width: 960px; margin: 0 auto; padding: 24px; border-radius: 24px; border: 1px solid var(--hd-line-2); background: radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--hd-honey) 9%, transparent), transparent 70%), linear-gradient(180deg, var(--hd-bg-2), var(--hd-bg-1)); box-shadow: 0 40px 100px -50px color-mix(in srgb, var(--hd-honey) 45%, transparent); overflow: hidden; }
.try-form { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 6px 0 16px; border-radius: 14px; border: 1px solid var(--hd-line-2); background: var(--hd-bg); transition: border-color .2s, box-shadow .2s; }
.try-form:focus-within { border-color: color-mix(in srgb, var(--hd-honey) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hd-honey) 14%, transparent); }
.try-form > .i { color: var(--hd-honey); width: 20px; height: 20px; }
.try-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--hd-text); font: 500 16px var(--hd-sans); }
.try-form input::placeholder { color: var(--hd-dim); }
.try-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.try-chips button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hd-line-2); color: var(--hd-text-2); font-size: 13px; transition: border-color .2s, color .2s, background-color .2s; }
.try-chips button:hover { border-color: color-mix(in srgb, var(--hd-honey) 50%, transparent); color: var(--hd-text); background: var(--hd-honey-soft); }
.try-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; min-height: 296px; }
.try-col { padding: 16px; border-radius: 16px; border: 1px solid var(--hd-line); background: var(--hd-bg); }
.try-h { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--hd-honey-2); font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.try-empty { color: var(--hd-dim); font-size: 14px; }
.try-brief p.bl { margin-top: 8px; color: var(--hd-text-2); font-size: 14px; animation: line .45s var(--hd-ease) both; }
.try-brief p.bl b { display: inline-block; width: 96px; color: var(--hd-honey-2); }
.try-brief .thinking { display: inline-flex; align-items: center; gap: 8px; color: var(--hd-text-2); font-size: 14px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--hd-honey); animation: pulse 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 50% { opacity: .25; } }
.try-tasks { display: grid; gap: 8px; }
.try-tasks li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--hd-line); background: var(--hd-bg-1); font-size: 14px; animation: line .4s var(--hd-ease) both; }
.try-tasks img { width: 28px; height: 28px; }
.try-tasks .who { display: block; color: var(--hd-dim); font-size: 12px; }
.ts { font: 500 12px var(--hd-mono); color: var(--hd-dim); }
.ts[data-s=running] { color: var(--hd-honey-2); }
.ts[data-s=running]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--hd-honey); animation: pulse 1s ease-in-out infinite; vertical-align: 1px; }
.ts[data-s=done] { color: var(--hd-ok); }
.try-done { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--hd-ok) 14%, transparent); color: var(--hd-ok); font-size: 14px; font-weight: 550; animation: line .4s var(--hd-ease) both; }
.try-bees { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.try-bee { position: absolute; left: 0; top: 0; width: 30px; animation: trybee 2.6s ease-in-out forwards; offset-rotate: 0deg; }
@keyframes trybee { from { transform: translate(var(--x0), var(--y0)); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } to { transform: translate(var(--x1), var(--y1)); opacity: 0; } }
.try-fine { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; color: var(--hd-dim); font-size: 13px; }
.try-fine .i { margin-top: 2px; }

/* ---------- download, the star ---------- */
.download { position: relative; background: radial-gradient(60% 40% at 50% 10%, color-mix(in srgb, var(--hd-honey) 10%, transparent), transparent 70%); }
.first-release { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 6px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--hd-honey) 40%, transparent); background: var(--hd-honey-soft); color: var(--hd-text); font-size: 14px; font-weight: 550; }
.first-release[hidden] { display: none; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hd-honey); box-shadow: 0 0 0 0 color-mix(in srgb, var(--hd-honey) 60%, transparent); animation: pdot 1.8s ease-out infinite; }
@keyframes pdot { to { box-shadow: 0 0 0 10px transparent; } }
.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.os-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px; border-radius: 24px; border: 1px solid var(--hd-line-2); background: linear-gradient(180deg, var(--hd-bg-2), var(--hd-bg-1)); transition: border-color .3s, box-shadow .3s, transform .3s var(--hd-ease); }
.os-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; border: 1px solid var(--hd-line-2); background: var(--hd-bg); color: var(--hd-honey-2); }
.os-ic .i { width: 32px; height: 32px; }
.os-card h3 { font-size: 28px; font-weight: 650; letter-spacing: -.035em; }
.os-meta { display: grid; gap: 4px; }
.os-meta code { color: var(--hd-text); font-size: 13px; }
.os-size { color: var(--hd-dim); font-size: 13px; }
.os-card .os-dl { align-self: stretch; margin-top: auto; }
.os-note { color: var(--hd-dim); font-size: 13px; line-height: 1.5; }
.os-card .chip-you { position: absolute; right: 24px; top: 24px; display: none; margin: 0; }
.os-card.is-you { border-color: color-mix(in srgb, var(--hd-honey) 60%, transparent); box-shadow: 0 40px 100px -40px color-mix(in srgb, var(--hd-honey) 55%, transparent); animation: you 3.2s ease-in-out infinite; }
.os-card.is-you .chip-you { display: inline-block; }
.os-card:not(.is-you) .os-dl { background: var(--hd-bg-3); color: var(--hd-text); box-shadow: inset 0 0 0 1px var(--hd-line-2); }
.os-card:not(.is-you) .os-dl:hover { background: var(--hd-honey); color: var(--hd-ink); }
@keyframes you { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--hd-honey) 9%, transparent), 0 40px 100px -40px color-mix(in srgb, var(--hd-honey) 65%, transparent); } }
.dl-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 32px; color: var(--hd-text-2); font-size: 15px; }
.dl-all { display: inline-flex; align-items: center; gap: 6px; color: var(--hd-honey-2); font-size: 14px; font-weight: 550; }
.dl-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.caption-center { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 48px; }
.download .dl-cmd { margin-top: 0; }

@media (max-width: 960px) {
  .os-grid, .try-stage { grid-template-columns: 1fr; }
  .top-dl { display: none; }
}
@media (max-width: 640px) {
  .try-box { padding: 16px; border-radius: 20px; }
  .try-form { height: auto; flex-wrap: wrap; padding: 8px; }
  .try-form input { height: 44px; flex-basis: calc(100% - 40px); }
  .try-form .b { width: 100%; }
  .os-card { padding: 24px; }
}

/* ---------- download cards: Mel with a box, hover, thanks ---------- */
.os-card { overflow: hidden; }
.os-art { position: relative; align-self: center; width: 200px; height: 176px; margin: -8px 0 0; }
.os-art::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); }
.os-mel { position: absolute; left: 50%; top: 0; width: 168px; height: 168px; margin-left: -84px; transition: transform .5s var(--hd-ease); }
.box { position: absolute; left: 50%; bottom: 4px; width: 120px; height: 100px; margin-left: -60px; overflow: visible; }
.box-body { fill: #E7A23A; stroke: #24160C; stroke-width: 2.5; }
.box-back { fill: #9A6420; stroke: #24160C; stroke-width: 2.5; }
.box-tape { fill: #F6D48A; opacity: .75; }
.box-lid { transform-box: fill-box; transform-origin: 0% 100%; transition: transform .45s var(--hd-ease); }
.box-lid path { fill: #F2B14A; stroke: #24160C; stroke-width: 2.5; }
.box-logo { fill: none; stroke: #24160C; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.box-hex { transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(26px) scale(.4); opacity: 0; transition: transform .5s var(--hd-ease) .05s, opacity .3s; }
.box-hex path:first-child { fill: var(--hd-honey); stroke: #24160C; stroke-width: 2; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--hd-honey) 80%, transparent)); }
.hex-shine { fill: none; stroke: #FFF4DC; stroke-width: 2; stroke-linecap: round; opacity: .8; }
.spark { position: absolute; left: 50%; top: 46%; width: 6px; height: 6px; border-radius: 50%; background: var(--hd-honey-2); opacity: 0; }
.os-card:hover .box-lid, .os-card:focus-within .box-lid, .os-card.is-thanks .box-lid { transform: rotate(-32deg) translate(-4px, -6px); }
.os-card:hover .box-hex, .os-card:focus-within .box-hex, .os-card.is-thanks .box-hex { transform: translateY(-30px) scale(1); opacity: 1; }
.os-card:hover .os-mel { transform: translateY(-4px) rotate(-2deg); }
.os-card:hover .spark { animation: spark .9s var(--hd-ease) .25s both; }
.os-card:hover .s2 { --sx: 34px; --sy: -54px; animation-delay: .32s; }
.os-card:hover .s3 { --sx: -30px; --sy: -48px; animation-delay: .38s; }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--sx, 4px), var(--sy, -66px)) scale(1); } }
.os-card h3 { display: flex; align-items: center; gap: 12px; }
.os-card .os-ic { width: 40px; height: 40px; border-radius: 12px; }
.os-card .os-ic .i { width: 22px; height: 22px; }
.os-thanks { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 28px; border-radius: inherit; background: linear-gradient(180deg, var(--hd-bg-2), var(--hd-bg-1)); animation: thanks .45s var(--hd-ease) both; overflow: hidden; }
.os-thanks[hidden] { display: none; }
.os-thanks > img { width: 88px; height: 88px; margin: -4px 0 -4px -6px; }
.thanks-h { font-size: 20px; font-weight: 650; letter-spacing: -.02em; color: var(--hd-text); }
.thanks-steps { display: grid; gap: 8px; counter-reset: st; }
.thanks-steps li { position: relative; padding-left: 32px; color: var(--hd-text-2); font-size: 14px; counter-increment: st; }
.thanks-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--hd-honey-soft); color: var(--hd-honey-2); font: 600 12px var(--hd-mono); }
.os-thanks .b { margin-top: auto; }
@keyframes thanks { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.burst { position: absolute; left: 60px; top: 60px; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; width: 7px; height: 10px; border-radius: 2px; background: var(--hd-honey); opacity: 0; animation: burst 1.1s ease-out both .1s; }
.burst i:nth-child(3n) { background: var(--hd-ok); } .burst i:nth-child(3n+1) { background: #C9A7FF; } .burst i:nth-child(4n) { background: var(--hd-text); }
.burst i:nth-child(1) { --x: 120px; --y: -40px; --r: 220deg; } .burst i:nth-child(2) { --x: 180px; --y: 10px; --r: -200deg; } .burst i:nth-child(3) { --x: 90px; --y: 60px; --r: 260deg; } .burst i:nth-child(4) { --x: 220px; --y: -70px; --r: -260deg; } .burst i:nth-child(5) { --x: 150px; --y: 90px; --r: 180deg; }
.burst i:nth-child(6) { --x: 60px; --y: -80px; --r: -180deg; } .burst i:nth-child(7) { --x: 250px; --y: 40px; --r: 300deg; } .burst i:nth-child(8) { --x: 30px; --y: 100px; --r: -300deg; } .burst i:nth-child(9) { --x: 200px; --y: 120px; --r: 200deg; } .burst i:nth-child(10) { --x: 110px; --y: -110px; --r: -220deg; }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
@media (prefers-reduced-motion: reduce) {
  .box-hex { opacity: 1; transform: translateY(-30px) scale(1); }
  .burst, .spark { display: none; }
}

/* code surfaces stay dark in every theme, like the app's code windows */
.term, .ed, .sv-code { background: #0E0D0B !important; color: #E2DACD; border-color: rgba(255, 245, 230, .12) !important; }
.ed-code, .ed-top, .code-top { color: #E2DACD; border-color: rgba(255, 245, 230, .1) !important; }
.ed-top, .code-top { color: #BDB3A3; }

/* ---------- the film ---------- */
.film { padding: 96px 0 0; }
.film-in { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 64px; align-items: center; }
.film-copy .head-sub { margin-top: 24px; }
.film-frame { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; border: 1px solid var(--hd-line-2); background: #0E0D0B; box-shadow: 0 40px 100px -40px color-mix(in srgb, var(--hd-honey) 55%, transparent), 0 0 0 8px color-mix(in srgb, var(--hd-text) 4%, transparent); }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0E0D0B; }
.film-video::cue { font: 600 15px var(--hd-sans); background: rgba(14, 13, 11, .82); color: #F4EEE4; }
.film-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; white-space: nowrap; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(14, 13, 11, .82); border: 1px solid rgba(255, 245, 230, .18); color: #F4EEE4; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .25s var(--hd-ease), background-color .2s; }
.film-play:hover { transform: translateY(-2px); background: rgba(14, 13, 11, .92); }
.film-btn { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--hd-honey); color: #17110A; flex: none; }
.film-btn::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--hd-honey) 60%, transparent); animation: ring 2.2s ease-out infinite; }
.film-btn svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.film-label { display: grid; text-align: left; line-height: 1.25; font-size: 15px; }
.film-label span { color: #BDB3A3; font: 500 12px var(--hd-mono); }
.film-frame.is-playing .film-play { opacity: 0; pointer-events: none; transform: translateY(8px); }
.film-frame.is-preview .film-play { opacity: 1; pointer-events: auto; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.film.is-off, .film:not(.is-in) { --play: paused; }
.film * { animation-play-state: var(--play, running); }

/* ---------- new tiles ---------- */
.t-mem, .t-prov { grid-column: span 3; }
.mem, .prov { display: grid; gap: 8px; }
.mem-row, .prov-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--hd-line); background: var(--hd-bg); font-size: 13px; color: var(--hd-text-2); }
.mem-tag { flex: none; padding: 1px 8px; border-radius: 999px; background: var(--hd-honey-soft); color: var(--hd-honey-2); font: 600 11px var(--hd-mono); }
.mem-session .mem-tag { background: color-mix(in srgb, var(--hd-ok) 16%, transparent); color: var(--hd-ok); }
.mem-row { animation: line 6s var(--hd-ease) infinite both; }
.mem-row:nth-child(2) { animation-delay: .4s; } .mem-row:nth-child(3) { animation-delay: .8s; }
.prov-row b { color: var(--hd-text); font-weight: 550; }
.prov-row span:last-child { margin-left: auto; color: var(--hd-dim); font-size: 12px; }
.prov-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--hd-line-2); flex: none; }
.prov-row.on { border-color: color-mix(in srgb, var(--hd-honey) 45%, transparent); }
.prov-row.on .prov-dot { border-color: var(--hd-honey); background: var(--hd-honey); box-shadow: 0 0 0 3px var(--hd-honey-soft); }

/* ---------- Hive City ---------- */
.soon { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--hd-honey); color: var(--hd-ink); font-weight: 650; }
.city-art { margin: 0 auto; max-width: 1100px; border-radius: 18px; overflow: hidden; border: 1px solid var(--hd-line-2); box-shadow: 0 50px 120px -50px color-mix(in srgb, var(--hd-honey) 45%, transparent); }
.city-art img { width: 100%; }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.city-grid .hd-card p { color: var(--hd-text-2); font-size: 14px; }
.screens .seg { max-width: 100%; }

@media (max-width: 1080px) {
  .t-mem, .t-prov { grid-column: span 1 !important; }
  .city-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .film-in { grid-template-columns: 1fr; gap: 32px; }
  .film-frame { max-width: 420px; width: 100%; justify-self: center; }
}
@media (max-width: 640px) {
  .film { padding-top: 64px; }
  .city-grid { grid-template-columns: 1fr; }
  .city-art { border-radius: 12px; overflow-x: auto; }
  .city-art img { width: 760px; max-width: none; }
  .screens .seg { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 12px; scrollbar-width: none; }
  .screens .seg button { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mem-row { opacity: 1; transform: none; filter: none; }
}

/* ---------- Hive City show ---------- */
.city { padding-top: 112px; }
.city-show { max-width: 1184px; margin: 0 auto; }
.city-tabs { display: flex; flex-wrap: wrap; justify-content: center; width: max-content; max-width: 100%; margin: 0 auto 24px; }
.city-stage { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--hd-line-2); background: #0E0D0B; box-shadow: 0 60px 140px -60px color-mix(in srgb, var(--hd-honey) 60%, transparent); }
.city-slide { margin: 0; }
.city-slide[hidden] { display: none; }
.city-slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.city-slide.is-on img { animation: cityin .7s var(--hd-ease) both; }
@keyframes cityin { from { opacity: .4; transform: scale(1.015); } to { opacity: 1; transform: none; } }
.city-slide .city-cap { padding: 16px 24px 20px; border-top: 1px solid var(--hd-line); color: var(--hd-text-2); font-size: 15px; background: var(--hd-bg-1); min-height: 88px; }
.city-slide .city-cap b { color: var(--hd-text); }
.city-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: color-mix(in srgb, var(--hd-text) 8%, transparent); }
.city-progress span { display: block; height: 100%; background: var(--hd-honey); transform-origin: left; transform: scaleX(0); }
.city-show.is-auto .city-progress span { animation: cityprog 7s linear both; }
@keyframes cityprog { to { transform: scaleX(1); } }
.city-show.is-off, .city-show:not(.is-in) { --play: paused; }
.city-show * { animation-play-state: var(--play, running); }
@media (max-width: 640px) {
  .city { padding-top: 72px; }
  .city-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: auto; border-radius: 12px; scrollbar-width: none; }
  .city-tabs button { flex: none; }
  .city-slide .city-cap { padding: 12px 16px 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .city-progress { display: none; } }

/* ---------- Monsoon components in the site's colors ---------- */
html[data-theme] {
  --background: var(--hd-bg); --foreground: var(--hd-text);
  --surface: var(--hd-bg-2); --surface-2: var(--hd-bg-3); --surface-3: var(--hd-bg-3);
  --muted: var(--hd-bg-1); --muted-foreground: var(--hd-dim);
  --border: var(--hd-line-2); --ring: var(--hd-honey);
  --primary: var(--hd-honey); --primary-foreground: var(--hd-ink);
  --accent: var(--hd-honey-soft); --accent-foreground: var(--hd-text);
  --font-sans: var(--hd-sans); --font-mono: var(--hd-mono);
}
.top-act .tooltip { display: inline-flex; }
.tooltip::after { z-index: 70; }

/* language dropdown */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 10px; border-radius: 999px; color: var(--hd-text-2); font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s; }
.lang-btn:hover, .lang-btn[aria-expanded=true] { color: var(--hd-text); background: color-mix(in srgb, var(--hd-text) 7%, transparent); }
.lang-btn .chev { width: 14px; height: 14px; transition: transform .25s var(--hd-ease); }
.lang-btn[aria-expanded=true] .chev { transform: rotate(180deg); }
.lang-menu { display: block; position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; width: 232px; max-height: min(420px, 70vh); overflow: auto; padding: 6px; border-radius: 14px; border: 1px solid var(--hd-line-2); background: var(--hd-bg-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(0, 0, 0, .3); transform-origin: top right; outline: none; }
.lang-menu:focus-visible { box-shadow: 0 0 0 2px var(--hd-honey), 0 24px 60px -20px rgba(0, 0, 0, .75); }
.lang-menu .lang-opt { display: flex; flex-direction: row; justify-content: flex-start; text-align: left;  align-items: center; gap: 10px; min-height: 36px; padding: 0 10px; border-radius: 9px; color: var(--hd-text-2); font-size: 14px; cursor: pointer; }
.lang-opt.is-active { background: color-mix(in srgb, var(--hd-text) 8%, transparent); color: var(--hd-text); }
.lang-opt[aria-selected=true] { color: var(--hd-text); font-weight: 600; }
.lang-badge { display: grid; place-items: center; width: 30px; height: 20px; border-radius: 6px; border: 1px solid var(--hd-line-2); color: var(--hd-dim); font: 600 10.5px var(--hd-mono); letter-spacing: .04em; flex: none; }
.lang-opt[aria-selected=true] .lang-badge { border-color: color-mix(in srgb, var(--hd-honey) 60%, transparent); background: var(--hd-honey-soft); color: var(--hd-honey-2); }
.lang-name { flex: 1; }
.lang-check { width: 16px; height: 16px; color: var(--hd-honey); opacity: 0; }
.lang-opt[aria-selected=true] .lang-check { opacity: 1; }
.v-pop-enter-active, .v-pop-leave-active { transition: opacity .18s var(--hd-ease), transform .18s var(--hd-ease); }
.v-pop-enter-from, .v-pop-leave-to { opacity: 0; transform: translateY(-6px) scale(.97); }

/* search button and palette */
.search-btn { display: inline-flex; align-items: center; width: auto; gap: 8px; padding: 0 8px; }
.kbd-hint { white-space: nowrap; padding: 0 6px; border-radius: 6px; border: 1px solid var(--hd-line-2); color: var(--hd-dim); font: 500 11px/18px var(--hd-mono); }
#palette .command-palette { width: min(560px, calc(100vw - 32px)); border-radius: 16px; border: 1px solid var(--hd-line-2); background: var(--hd-bg-2); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .4); }
#palette .command-palette-item { display: flex; align-items: center; gap: 10px; color: var(--hd-text-2); text-decoration: none; }
#palette .command-palette-item .i { color: var(--hd-dim); }
#palette .command-palette-item[aria-selected=true] { color: var(--hd-text); background: var(--hd-honey-soft); }
#palette .command-palette-item[aria-selected=true] .i { color: var(--hd-honey); }
#palette .command-palette-footer { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--hd-line); color: var(--hd-dim); font-size: 12px; }
#palette .command-palette-footer kbd { min-width: 0; }

/* theme popover with a segmented control */
.theme-pop { width: 300px; padding: 12px; border-radius: 14px; border-color: var(--hd-line-2); background: var(--hd-bg-2); }
.theme-pop .popover-title { display: block; margin-bottom: 8px; color: var(--hd-dim); font-size: 12px; font-weight: 600; }
.theme-seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.theme-seg .segmented-item { justify-content: flex-start; gap: 8px; padding-inline: 8px; font-size: 13px; }
.sw { width: 16px; height: 16px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hd-text) 25%, transparent); }

/* toast */
.hd-toast { align-items: center; border-color: color-mix(in srgb, var(--hd-honey) 40%, transparent); background: var(--hd-bg-2); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
.hd-toast > .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--hd-honey); color: var(--hd-ink); stroke-width: 3; }
.hd-toast .toast-title { margin: 0; font-size: 14px; }
.hd-toast .toast-description { margin: 0; font: 500 12px var(--hd-mono); }

/* tabs and FAQ in Monsoon's shapes */
.shot-tabs, .city-tabs { margin: 0 auto 24px; width: max-content; max-width: 100%; flex-wrap: wrap; }
.screens .shot-tabs { margin-left: 0; }
.faq.accordion { border-top: 0; }
.faq .collapse-title { font-size: 17px; font-weight: 550; letter-spacing: -.015em; }
.faq .collapse-content p { color: var(--hd-text-2); font-size: 15px; max-width: 70ch; }
@media (max-width: 1280px) { .kbd-hint { display: none; } }
@media (max-width: 860px) {
  .lang-cur { display: none; }
}
@media (max-width: 640px) {
  .shot-tabs, .city-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: auto; scrollbar-width: none; }
  .shot-tabs .tab, .city-tabs .tab { flex: none; }
  .theme-pop { width: min(300px, calc(100vw - 32px)); }
  .lang-menu { right: -60px; }
  .search-btn { display: none; }
}

/* ---------- in the next version ---------- */
.soon-ghost { background: transparent; color: var(--hd-honey-2); border: 1px dashed color-mix(in srgb, var(--hd-honey) 60%, transparent); }
.next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.next-card > p { color: var(--hd-text-2); font-size: 15px; }
.next-card h3 { font-size: 20px; letter-spacing: -.025em; }
.pb-demo, .any-demo { display: grid; gap: 8px; margin-top: auto; padding: 16px; border-radius: 12px; border: 1px solid var(--hd-line); background: var(--hd-bg); }
.pb-task { font-size: 14px; color: var(--hd-text); }
.pb-k, .any-who { display: block; margin-bottom: 2px; color: var(--hd-dim); font: 600 11px var(--hd-mono); text-transform: uppercase; letter-spacing: .06em; }
.pb-list { display: grid; gap: 4px; }
.pb-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 8px; border: 1px solid transparent; color: var(--hd-text-2); font-size: 13px; animation: pbscan 6s steps(1) infinite; }
.pb-list li b { font: 500 12px var(--hd-mono); color: var(--hd-dim); }
.pb-list li:nth-child(1) { animation-delay: 0s; } .pb-list li:nth-child(2) { animation-name: pbhit; } .pb-list li:nth-child(3) { animation-delay: .9s; } .pb-list li:nth-child(4) { animation-delay: 1.2s; } .pb-list li:nth-child(5) { animation-delay: 1.5s; }
@keyframes pbscan { 0% { background: color-mix(in srgb, var(--hd-text) 7%, transparent); } 6%, 100% { background: transparent; } }
@keyframes pbhit { 0%, 30% { background: transparent; border-color: transparent; } 34%, 92% { background: var(--hd-honey-soft); border-color: color-mix(in srgb, var(--hd-honey) 45%, transparent); color: var(--hd-text); } 100% { background: transparent; } }
.pb-pick { display: flex; align-items: center; gap: 8px; color: var(--hd-honey-2); font-size: 13px; font-weight: 550; opacity: 0; animation: pbpick 6s var(--hd-ease) infinite; }
@keyframes pbpick { 0%, 36% { opacity: 0; transform: translateY(4px); } 42%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.any-msg { padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--hd-text-2); opacity: 0; animation: anyin 7s var(--hd-ease) infinite; }
.any-you { justify-self: end; background: var(--hd-honey-soft); border: 1px solid color-mix(in srgb, var(--hd-honey) 35%, transparent); color: var(--hd-text); }
.any-bee { display: flex; align-items: center; gap: 8px; background: var(--hd-bg-2); border: 1px solid var(--hd-line); animation-delay: .8s; }
.any-bee img { width: 24px; height: 24px; }
.any-task { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px dashed var(--hd-line-2); color: var(--hd-text); font-size: 13px; opacity: 0; animation: anyin 7s var(--hd-ease) infinite 1.6s; }
.any-task em { margin-left: auto; font-style: normal; color: var(--hd-dim); font-size: 12px; }
.any-task .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hd-honey); }
@keyframes anyin { 0% { opacity: 0; transform: translateY(6px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.next.is-off, .next:not(.is-in) { --play: paused; }
.next * { animation-play-state: var(--play, running); }
@media (max-width: 860px) { .next-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pb-pick, .any-msg, .any-task { opacity: 1; transform: none; } .pb-list li:nth-child(2) { background: var(--hd-honey-soft); } }

/* ---------- site themes (generated from themes/*.json) ---------- */
html[data-site-theme="alto-contraste"] {
  --hd-bg: #000000; --hd-bg-1: #000000; --hd-bg-2: #0A0A0A; --hd-bg-3: #121212;
  --hd-line: color-mix(in srgb, #FFFFFF 8%, transparent); --hd-line-2: color-mix(in srgb, #FFFFFF 14%, transparent);
  --hd-text: #FFFFFF; --hd-text-2: #F0F0F0; --hd-dim: #D6D6D6;
  --hd-honey: #FFD400; --hd-honey-2: #FFE45C; --hd-ink: #000000; --hd-ok: #6CFF8F;
  --hd-head-1: #FFFFFF; --hd-head-2: #D6D6D6; --hd-hl-1: #FFD400;
  color-scheme: dark;
}
html[data-site-theme="colmeia-clara"] {
  --hd-bg: #F6F1E7; --hd-bg-1: #EFE8DA; --hd-bg-2: #FFFDF8; --hd-bg-3: #F7F2E8;
  --hd-line: color-mix(in srgb, #3A2E1F 14%, transparent); --hd-line-2: color-mix(in srgb, #3A2E1F 24%, transparent);
  --hd-text: #221A10; --hd-text-2: #4A3F31; --hd-dim: #6B5E4C;
  --hd-honey: #BD7F0A; --hd-honey-2: #8F5A00; --hd-ink: #1A1206; --hd-ok: #2F7A50;
  --hd-head-1: #221A10; --hd-head-2: #4A3F31; --hd-hl-1: #8F5A00;
  color-scheme: light;
}
html[data-site-theme="floresta"] {
  --hd-bg: #0C120E; --hd-bg-1: #101812; --hd-bg-2: #141D17; --hd-bg-3: #19241C;
  --hd-line: color-mix(in srgb, #E3F0E5 8%, transparent); --hd-line-2: color-mix(in srgb, #E3F0E5 14%, transparent);
  --hd-text: #E8F1E6; --hd-text-2: #C2D2C2; --hd-dim: #93A694;
  --hd-honey: #8BCF7A; --hd-honey-2: #B8E3A6; --hd-ink: #0B1A08; --hd-ok: #8BD3A0;
  --hd-head-1: #E8F1E6; --hd-head-2: #93A694; --hd-hl-1: #8BCF7A;
  color-scheme: dark;
}
html[data-site-theme="meia-noite"] {
  --hd-bg: #0A0D14; --hd-bg-1: #0E121B; --hd-bg-2: #121722; --hd-bg-3: #171D2A;
  --hd-line: color-mix(in srgb, #DDE6FF 8%, transparent); --hd-line-2: color-mix(in srgb, #DDE6FF 14%, transparent);
  --hd-text: #E6ECFA; --hd-text-2: #BAC4DA; --hd-dim: #8E9AB3;
  --hd-honey: #8FA8FF; --hd-honey-2: #B9C8FF; --hd-ink: #0A0F24; --hd-ok: #7FD1A8;
  --hd-head-1: #E6ECFA; --hd-head-2: #8E9AB3; --hd-hl-1: #8FA8FF;
  color-scheme: dark;
}
html[data-site-theme="neon"] {
  --hd-bg: #07060D; --hd-bg-1: #0B0914; --hd-bg-2: #100D1C; --hd-bg-3: #151126;
  --hd-line: color-mix(in srgb, #F0E6FF 8%, transparent); --hd-line-2: color-mix(in srgb, #F0E6FF 14%, transparent);
  --hd-text: #F4EEFF; --hd-text-2: #D1C6EE; --hd-dim: #A495C9;
  --hd-honey: #FF3DC8; --hd-honey-2: #FF8FE0; --hd-ink: #1A0016; --hd-ok: #3DFFB5;
  --hd-head-1: #F4EEFF; --hd-head-2: #A495C9; --hd-hl-1: #FF3DC8;
  color-scheme: dark;
}
html[data-site-theme="papel"] {
  --hd-bg: #EFE6D2; --hd-bg-1: #E8DDC5; --hd-bg-2: #FAF4E6; --hd-bg-3: #F3EBD8;
  --hd-line: color-mix(in srgb, #4A3A22 14%, transparent); --hd-line-2: color-mix(in srgb, #4A3A22 24%, transparent);
  --hd-text: #2E2416; --hd-text-2: #4E412C; --hd-dim: #6E5E44;
  --hd-honey: #A0522D; --hd-honey-2: #8A4524; --hd-ink: #FFF8EC; --hd-ok: #3F6E3A;
  --hd-head-1: #2E2416; --hd-head-2: #4E412C; --hd-hl-1: #8A4524;
  color-scheme: light;
}
html[data-site-theme="pixel"] {
  --hd-bg: #1B1B2F; --hd-bg-1: #20203A; --hd-bg-2: #262645; --hd-bg-3: #2E2E52;
  --hd-line: color-mix(in srgb, #E8E8FF 8%, transparent); --hd-line-2: color-mix(in srgb, #E8E8FF 14%, transparent);
  --hd-text: #F2F2FF; --hd-text-2: #D0D0F0; --hd-dim: #B4B4E0;
  --hd-honey: #FFCC00; --hd-honey-2: #FFE066; --hd-ink: #1B1B2F; --hd-ok: #66FF99;
  --hd-head-1: #F2F2FF; --hd-head-2: #B4B4E0; --hd-hl-1: #FFCC00;
  color-scheme: dark;
}
html[data-site-theme] body { transition: background-color .4s, color .4s; }

/* responsive fixes */
.hd-card, .dl-cmd > *, .os-card, .tile { min-width: 0; }
.term .tl, .hd-card code { overflow-wrap: anywhere; }
@media (max-width: 1180px) { .lang-cur { display: none; } }
@media (max-width: 1100px) { .top-dl { display: none; } }
/* Longer nav labels in the other languages: below 1180 px the nav folds into the menu, as it does at 860 px in English. */
@media (max-width: 1180px) {
  html:not([lang=en]) .menu-btn { display: block; }
  html:not([lang=en]) .nav { position: absolute; top: 56px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 8px 24px 16px; background: color-mix(in srgb, var(--hd-bg) 97%, transparent); border-bottom: 1px solid var(--hd-line); }
  html:not([lang=en]) .nav.is-open { display: flex; }
  html:not([lang=en]) .nav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--hd-line); border-radius: 0; }
}
@supports (overflow: clip) { .hd-hero, .hero-bg { overflow: clip; } }
/* Header tooltips open toward the page, so a long translation never passes the right edge. */
.top-act .tooltip::after { left: auto; right: -6px; translate: 0 -.25rem; }
.top-act .tooltip:hover::after, .top-act .tooltip:has(:focus-visible)::after, .top-act .tooltip:focus-visible::after { translate: 0 0; }
/* A Voodoo v-for row is a template: hidden until Voodoo clones it (the clones have no v-for). */
[v-for] { display: none !important; }
/* System faces for Japanese, Chinese and Korean text after Inter's Latin. */
html[lang=ja] { --hd-sans: "Inter", "Inter Fallback", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "Noto Sans JP", sans-serif; }
html[lang=zh-Hans] { --hd-sans: "Inter", "Inter Fallback", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html[lang=ko] { --hd-sans: "Inter", "Inter Fallback", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
