/* Shellium product page. Dark, single theme on purpose (it is the product's signature look).
   Layout: centered 1200px column; hero split copy / product frame; bento feature grid;
   split security section; tabbed tour; migrate steps; install tabs; download cards. */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("../fonts/plus-jakarta-sans-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #05060c;
  --bg-2: #090b16;
  --panel: rgba(16, 19, 36, 0.62);
  --panel-solid: #0d1020;
  --line: rgba(150, 165, 255, 0.11);
  --line-strong: rgba(150, 165, 255, 0.22);
  --fg: #eef1fa;
  --muted: #9ca5bf;
  --dim: #6d7592;
  --cyan: #22d3ee;
  --indigo: #818cf8;
  --pink: #f472b6;
  --ok: #34d399;
  --grad: linear-gradient(100deg, #22d3ee 0%, #818cf8 52%, #f472b6 100%);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Jakarta", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
code, kbd, pre { font-family: var(--mono); }
code { font-size: 0.86em; color: #c9d2ff; background: rgba(129, 140, 248, 0.12); border: 1px solid rgba(129, 140, 248, 0.18); border-radius: 6px; padding: 0.05em 0.4em; }
kbd { font-size: 0.78em; padding: 0.1em 0.45em; border-radius: 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; background: rgba(255, 255, 255, 0.04); color: var(--fg); }
.sprite { position: absolute; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ---------- ambient background ---------- */
.aurora { position: fixed; inset: -20vh -10vw auto; height: 120vh; z-index: -2; pointer-events: none; filter: blur(80px) saturate(140%); opacity: 0.55; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; left: 4vw; top: -6vh; background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 65%); }
.aurora span:nth-child(2) { width: 52vw; height: 52vw; left: 34vw; top: -14vh; background: radial-gradient(circle, rgba(129, 140, 248, 0.55), transparent 65%); animation-duration: 32s; animation-delay: -8s; }
.aurora span:nth-child(3) { width: 40vw; height: 40vw; right: -6vw; top: 8vh; background: radial-gradient(circle, rgba(244, 114, 182, 0.42), transparent 65%); animation-duration: 38s; animation-delay: -16s; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(4vw, 3vh, 0) scale(1.08); } 100% { transform: translate3d(-3vw, 6vh, 0) scale(0.96); } }
.gridlines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(150, 165, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 165, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-glow { position: relative; color: #05060c; background: var(--grad); box-shadow: 0 10px 34px -10px rgba(129, 140, 248, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-glow:hover { transform: translateY(-1px); box-shadow: 0 14px 44px -10px rgba(129, 140, 248, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-glow .ver { font-family: var(--mono); font-size: 12px; opacity: 0.75; }
.btn-ghost { color: var(--fg); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- nav ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(5, 6, 12, 0.62); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; max-width: calc(var(--max) + 40px); margin: 0 auto; padding: 14px 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-word { height: 19px; width: 96px; color: var(--fg); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--fg); }

main, .foot { max-width: var(--max); margin: 0 auto; padding-inline: 20px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr); gap: 56px; align-items: center; padding-block: 56px 40px; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); color: var(--muted); font: 500 12.5px var(--mono); letter-spacing: 0.02em; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 22px 0 30px; color: var(--muted); font-size: 18px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--dim); font: 500 13px var(--mono); }
.hero-facts li { display: flex; align-items: center; gap: 7px; }
.hero-facts .ico { width: 15px; height: 15px; color: var(--indigo); }

.hero-visual { position: relative; min-width: 0; }
.halo { position: absolute; inset: 8% 4% -6% 6%; background: var(--grad); filter: blur(70px); opacity: 0.45; border-radius: 40px; z-index: -1; }
.frame { margin: 0; border-radius: 16px; overflow: hidden; background: var(--panel-solid); border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.03) inset; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: linear-gradient(#141831, #0e1124); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f4a; }
.frame-bar i:nth-child(1) { background: #f87171; } .frame-bar i:nth-child(2) { background: #fbbf24; } .frame-bar i:nth-child(3) { background: #34d399; }
.frame-bar span { margin-left: 10px; color: var(--dim); font: 500 12px var(--mono); }
.frame-hero { transform: perspective(1800px) rotateY(-7deg) rotateX(3deg); transform-origin: left center; }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; font: 500 12.5px var(--mono); color: var(--fg); background: rgba(13, 16, 32, 0.82); border: 1px solid var(--line-strong); backdrop-filter: blur(12px); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8); animation: float 7s ease-in-out infinite; }
.chip .ico { width: 15px; height: 15px; color: var(--cyan); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.chip-a { left: -26px; bottom: 16%; }
.chip-b { right: -10px; top: -18px; animation-delay: -2.5s; }
.chip-c { right: 8%; bottom: -20px; animation-delay: -4.5s; }
.chip-c .ico { color: var(--pink); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); backdrop-filter: blur(10px); }
.stats div { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { font: 800 30px var(--display); letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- sections ---------- */
.section { padding-block: 96px 8px; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.eyebrow { margin: 0 0 12px; font: 600 12px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.sub { margin: 16px 0 0; color: var(--muted); font-size: 17px; max-width: 62ch; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; padding: 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); backdrop-filter: blur(10px); overflow: hidden; transition: border-color 0.25s, transform 0.25s; min-width: 0; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(34, 211, 238, 0.5), transparent 35%, transparent 65%, rgba(244, 114, 182, 0.4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover { transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 20px; line-height: 1.25; margin: 16px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(140deg, rgba(34, 211, 238, 0.16), rgba(244, 114, 182, 0.12)); border: 1px solid var(--line-strong); }
.card-ico svg { width: 21px; height: 21px; fill: none; stroke: url(#aurora-icon) var(--cyan); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card-wide { grid-column: span 2; }
.card-tall { grid-row: span 2; }
.card-media { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 22px; align-items: center; padding-right: 0; }
.card-media img { border-radius: 12px 0 0 12px; border: 1px solid var(--line-strong); border-right: 0; box-shadow: -20px 20px 60px -30px rgba(0, 0, 0, 0.9); }
.card-accent { background: linear-gradient(170deg, rgba(34, 211, 238, 0.09), rgba(129, 140, 248, 0.06) 50%, rgba(16, 19, 36, 0.62)); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; color: var(--muted); font-size: 14.5px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 14px; height: 14px; border-radius: 4px; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.env { font: 700 10.5px var(--mono); letter-spacing: 0.04em; padding: 1px 6px; border-radius: 5px; }
.env-prod { color: #fca5a5; background: rgba(239, 68, 68, 0.16); border: 1px solid rgba(239, 68, 68, 0.35); }
.env-test { color: #86efac; background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.32); }
.env-dev { color: #93c5fd; background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.35); }

/* ---------- security ---------- */
.security { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.sec-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.sec-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; color: var(--muted); font-size: 15px; }
.sec-list .ico { width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: var(--cyan); background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.22); }
.sec-list strong { color: var(--fg); font-weight: 600; }
.spec { position: sticky; top: 96px; display: grid; gap: 16px; min-width: 0; }
.spec-head { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 16px 16px 0 0; background: #0d1020; }
.spec-head span { width: 10px; height: 10px; border-radius: 50%; background: #2a2f4a; }
.spec-head b { margin-left: 8px; color: var(--dim); font: 500 12px var(--mono); }
.spec pre { margin: -16px 0 0; padding: 18px 20px 22px; border: 1px solid var(--line-strong); border-radius: 0 0 16px 16px; background: rgba(8, 10, 20, 0.85); color: #d7dcf3; font-size: 13px; line-height: 1.85; overflow-x: auto; }
.spec .k { color: var(--indigo); }
.spec-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); }

/* ---------- tour ---------- */
.tour { display: grid; gap: 18px; }
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tour-tabs button { font: 500 14px var(--sans); color: var(--muted); padding: 9px 15px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); cursor: pointer; transition: all 0.2s; }
.tour-tabs button:hover { color: var(--fg); border-color: var(--line-strong); }
.tour-tabs button[aria-selected="true"] { color: var(--fg); border-color: transparent; background: linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 8px 30px -14px rgba(129, 140, 248, 0.8); }
.frame-tour { position: relative; }
.tour-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tour-zoom img { transition: opacity 0.25s; }
.tour-zoom img.swap { opacity: 0.25; }
.frame-tour figcaption { padding: 14px 18px; color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--line); background: #0b0e1c; }

/* ---------- migrate ---------- */
.migrate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "cards shot" "steps shot"; grid-template-rows: auto 1fr; gap: 26px 40px; align-items: start; }
.mig-cards { grid-area: cards; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* four cards: a 2 x 2 grid */
.mig { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.mig b { font: 700 15px var(--display); letter-spacing: -0.01em; }
.mig span { color: var(--dim); font-size: 13px; }
.steps { grid-area: steps; counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 50px; color: var(--muted); font-size: 15px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 36px; height: 30px; display: grid; place-items: center; border-radius: 9px; font: 600 12px var(--mono); color: var(--fg); background: rgba(129, 140, 248, 0.14); border: 1px solid rgba(129, 140, 248, 0.32); }
.steps b { color: var(--fg); font-weight: 600; }
.frame-small { grid-area: shot; max-width: 560px; justify-self: end; background: #f6f7fb; }

/* ---------- install ---------- */
.install { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); backdrop-filter: blur(10px); overflow: hidden; }
.os-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); background: rgba(8, 10, 20, 0.5); }
.os-tabs button { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 0; background: none; color: var(--muted); font: 500 14.5px var(--sans); cursor: pointer; }
.os-tabs button:hover { color: var(--fg); background: rgba(255, 255, 255, 0.04); }
.os-tabs button[aria-selected="true"] { color: var(--fg); background: rgba(129, 140, 248, 0.14); box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.35); }
.os-pane { padding: 28px 30px 32px; }
.install-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.install-steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--muted); }
.install-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font: 700 13px var(--mono); color: #05060c; background: var(--grad); }
.install-steps b { color: var(--fg); font-weight: 600; }
.cmd { margin: 10px 0 0; padding: 14px 16px; border-radius: 12px; background: #070913; border: 1px solid var(--line); color: #dfe4fb; font-size: 13.5px; line-height: 1.75; overflow-x: auto; }
.cmd .p { color: var(--ok); user-select: none; }
.cmd .c { color: var(--dim); }

/* ---------- download ---------- */
.dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); min-width: 0; }
.dl-card.is-mine { background: linear-gradient(var(--panel-solid), var(--panel-solid)) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 30px 80px -40px rgba(129, 140, 248, 0.9); }
.dl-card.is-mine::after { content: "Your system"; position: absolute; top: 18px; right: 18px; font: 600 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); }
.dl-os { width: 34px; height: 34px; color: var(--fg); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dl-card h3 { font-size: 22px; margin-top: 6px; }
.dl-card p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.dl-card .btn.is-soon { background: rgba(255, 255, 255, 0.05); color: var(--muted); box-shadow: none; border: 1px dashed var(--line-strong); cursor: default; transform: none; }
.dl-card.is-soon code { opacity: 0.5; }
.dl-card code { margin-top: 6px; font-size: 12px; background: none; border: 0; padding: 0; color: var(--dim); overflow-wrap: anywhere; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--indigo); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- footer ---------- */
.foot { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; margin-top: 110px; padding-block: 36px 48px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand .brand-mark { width: 44px; height: 44px; }
.foot-brand p { margin: 4px 0 0; color: var(--dim); font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 22px; justify-self: end; color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--fg); }
.foot-note { grid-column: 1 / -1; margin: 0; color: var(--dim); font-size: 13px; }

/* ---------- lightbox ---------- */
.lightbox { padding: 0; border: 1px solid var(--line-strong); border-radius: 14px; background: #05060c; max-width: min(96vw, 1600px); width: fit-content; overflow: hidden; }
.lightbox::backdrop { background: rgba(3, 4, 10, 0.82); backdrop-filter: blur(6px); }
.lightbox img { max-height: 88vh; width: auto; }
.lb-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(5, 6, 12, 0.8); color: var(--fg); font-size: 22px; line-height: 1; cursor: pointer; }

/* ---------- reveal (only when JS runs; content is visible without it) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 36px; }
  .frame-hero { transform: none; }
  .chip-a { left: 8px; } .chip-b { right: 8px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-wide { grid-column: span 2; }
  .card-tall { grid-row: auto; }
  .security { grid-template-columns: 1fr; }
  .spec { position: static; }
  .migrate { grid-template-columns: 1fr; grid-template-areas: "cards" "steps" "shot"; }
  .dl { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { gap: 12px; justify-content: space-between; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .card-wide { grid-column: auto; }
  .card-media { grid-template-columns: 1fr; padding-right: 26px; }
  .card-media img { border-radius: 12px; border-right: 1px solid var(--line-strong); }
  .chip { display: none; }
  .section { padding-top: 72px; }
  .os-pane { padding: 22px 18px; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora span, .chip, .pulse-dot { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}
