html { scroll-behavior: smooth; }
body { margin: 0; background: #0e1511; }
@media (prefers-color-scheme: light) { body { background: #f4f1e8; } }

/* Tokens: the NeoLabs site palette, with NeoCloud's own slate as the product tint. */
.nc {
  --bg: #0e1511; --bg-2: #0a0f0c; --surface: #171f1a; --surface-2: #1c261f;
  --ink: #ecefe5; --ink-2: #aeb7a6; --ink-3: #8b9584;
  --line: rgba(224,240,224,.09); --line-2: rgba(224,240,224,.16);
  --gold: #e1b052; --gold-ink: #eac272; --gold-soft: rgba(225,176,82,.14);
  --tint: #a49dc9; --tint-soft: rgba(164,157,201,.16);
  --btn: #e1b052; --btn-ink: #0e1511; --btn-hover: #eac272;
  --nav: rgba(10,15,12,.72);
  --shadow: 0 48px 110px -40px rgba(0,0,0,.75), 0 20px 48px -28px rgba(0,0,0,.42);
  --ring: rgba(240,232,214,.55); --ring-2: rgba(240,232,214,.18);
  --a-card: #171f1a; --a-well: #1c261f; --a-ink: #ecefe5; --a-ink-2: #aeb7a6; --a-ink-3: #8b9584;
  --a-line: rgba(224,240,224,.09); --a-line-2: rgba(224,240,224,.16); --a-gold: #e1b052; --a-ok: #74c07c; --a-tint: #b9b3d8;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4.5vw, 48px);
  --ease: cubic-bezier(.16,1,.3,1);
  position: relative; overflow-x: clip;
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55; font-weight: 440;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-color-scheme: light) {
  .nc {
    --bg: #f4f1e8; --bg-2: #ede9dc; --surface: #fdfcf8; --surface-2: #ffffff;
    --ink: #1c2117; --ink-2: #49503f; --ink-3: #62685a;
    --line: rgba(28,33,23,.10); --line-2: rgba(28,33,23,.18);
    --gold: #b07d2b; --gold-ink: #8a5f1c; --gold-soft: rgba(176,125,43,.14);
    --tint: #5b5486; --tint-soft: rgba(91,84,134,.12);
    --btn: #1c2117; --btn-ink: #fdfcf8; --btn-hover: #2a3226;
    --nav: rgba(244,241,232,.76);
    --shadow: 0 40px 90px -36px rgba(28,33,23,.36), 0 18px 40px -24px rgba(28,33,23,.16);
    --ring: rgba(96,82,50,.6); --ring-2: rgba(96,82,50,.2);
  }
}
.nc *, .nc *::before, .nc *::after { box-sizing: border-box; }
:where(.nc) a { color: inherit; text-decoration: none; }
:where(.nc) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:where(.nc) img { display: block; max-width: 100%; }
:where(.nc) :is(p, h1, h2, h3, ul) { margin: 0; padding: 0; }
:where(.nc) ul { list-style: none; }
.nc :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.nc section { scroll-margin-top: 88px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); position: relative; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); }
.pip { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px var(--gold-soft); animation: pip 2.8s ease-in-out infinite; }
.nc em { font-style: italic; color: var(--gold-ink); }
.h2 { font-family: var(--serif); font-weight: 420; font-variation-settings: "opsz" 144; font-size: clamp(42px, 6vw, 92px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); text-wrap: pretty; }
.sec { padding-block: clamp(84px, 10vw, 156px); position: relative; }
.sec-head { display: grid; gap: 22px; max-width: 880px; margin-bottom: clamp(44px, 6vw, 80px); }
.mono { font-family: var(--mono); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; transition: background .18s, border-color .18s; }
.btn-p { background: var(--btn); color: var(--btn-ink); }
.btn-p:hover { background: var(--btn-hover); }
.btn-p::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.34) 50%, transparent 65%); transform: translateX(-120%); }
.btn-p:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.btn-g { border: 1px solid var(--line-2); color: var(--ink); }
.btn-g:hover { border-color: var(--gold); }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-s { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Reveal, only once the script runs. */
.nc.js .rv { opacity: 0; transform: translateY(28px); }
.nc.js .rv.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }

/* Nav: the NeoLabs site nav, with NeoCloud marked as the current page. */
.nav { position: sticky; top: 12px; z-index: 60; padding-inline: max(4px, calc(var(--gutter) - 16px)); }
.nav-in { max-width: 1216px; margin-inline: auto; display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 8px 8px 8px 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--nav); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.brand { display: flex; align-items: center; gap: 11px; min-height: 44px; font-weight: 600; font-size: 18px; }
.brand img { width: 32px; height: 32px; }
.crumb { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.crumb::before { content: "/"; color: var(--ink-3); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 18px; flex: 1; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color .18s, background .18s; }
.nav-links a:hover { color: var(--ink); background: var(--gold-soft); }
.nav-end { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* Hero */
.hero { position: relative; padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 7vw, 96px); overflow: hidden; }
.hero-glow { position: absolute; right: -10%; top: -20%; width: 70%; height: 110%; background: radial-gradient(closest-side, var(--tint-soft), transparent); pointer-events: none; animation: drift 24s ease-in-out infinite alternate; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; position: relative; z-index: 2; }
.hx { font-family: var(--serif); font-weight: 420; font-variation-settings: "opsz" 144; font-size: clamp(64px, 8.6vw, 136px); line-height: .95; letter-spacing: -.045em; }
.hx span { display: block; }
.idtag { display: flex; align-items: center; gap: 14px; }
.idtag img { width: 52px; height: 52px; border-radius: 13px; box-shadow: 0 14px 34px -10px rgba(0,0,0,.6); }
.idtag b { display: block; font-size: 20px; font-weight: 600; line-height: 1.2; }
.wip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.wip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.platforms { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); padding-top: 20px; border-top: 1px solid var(--line); }

/* The hero visual: the NeoCloud mark as a key hierarchy. */
.vault { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: end; }
.vault svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rings circle { fill: none; transform-origin: 50% 50%; }
.r-seg { stroke: var(--ring); stroke-width: 4; stroke-dasharray: 2.2 3.6; animation: spin 90s linear infinite; }
.r-file { stroke: var(--ring); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 150 39; animation: spin 60s linear infinite reverse; }
.r-acct { stroke: var(--ring); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 78 29; animation: spin 40s linear infinite; }
.r-hair { stroke: var(--ring-2); stroke-width: 1; }
.core { position: absolute; left: 50%; top: 50%; width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 36% 32%, #fffdf6, #eee3cc 48%, #b5a888); box-shadow: 0 0 0 10px rgba(225,176,82,.08), 0 0 80px 20px rgba(225,176,82,.22); animation: breathe 5s ease-in-out infinite; }
.ktag { position: absolute; display: grid; gap: 1px; padding: 6px 12px; border-radius: 12px; background: var(--nav); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--mono); font-size: 12px; line-height: 1.35; color: var(--ink); white-space: nowrap; }
.ktag span { color: var(--ink-3); }
.orbiter { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.orbiter .file { position: absolute; left: 50%; top: 4.5%; transform: translateX(-50%); animation: spin 60s linear infinite reverse; }
.file { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; background: var(--a-card); border: 1px solid var(--a-line-2); color: var(--a-ink); font-family: var(--mono); font-size: 12px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.file svg { width: 13px; height: 13px; color: var(--a-gold); }

/* Upload card, the app's own surface. */
.app { position: relative; background: var(--a-card); color: var(--a-ink); border: 1px solid var(--a-line); border-radius: 24px; padding: clamp(16px, 2vw, 24px); box-shadow: var(--shadow); display: grid; gap: 14px; font-size: 15px; line-height: 1.5; min-width: 0; }
.app-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--a-ink-3); flex-wrap: wrap; }
.upload { position: absolute; left: -12%; bottom: -8%; width: min(340px, 72%); z-index: 3; }
.bar { height: 6px; border-radius: 6px; background: var(--a-well); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--a-tint), var(--a-gold)); transform-origin: 0 50%; animation: fill 6s var(--ease) infinite; }
.segs { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 3px; }
.segs i { height: 12px; border-radius: 3px; background: var(--a-well); border: 1px solid var(--a-line); animation: seal 6s steps(1) infinite; animation-delay: calc(var(--i) * .22s); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-family: var(--mono); font-size: 12px; font-weight: 500; border: 1px solid var(--a-line-2); color: var(--a-ink-2); white-space: nowrap; }
.tag.ok { color: var(--a-ok); border-color: rgba(116,192,124,.34); }
.tag.ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.gold { color: var(--a-gold); border-color: rgba(225,176,82,.38); background: rgba(225,176,82,.09); }

/* Status note */
.status { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--surface); }
.status svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.status b { color: var(--ink); font-weight: 600; }
.status p { color: var(--ink-2); font-size: 15.5px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.pl { position: relative; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform .5s var(--ease), border-color .3s; }
.pl:hover { transform: translateY(-4px); border-color: var(--line-2); }
.pl .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--tint-soft); color: var(--tint); }
.pl .ic svg { width: 22px; height: 22px; }
.pl h3 { font-family: var(--serif); font-weight: 420; font-size: 28px; line-height: 1.08; letter-spacing: -.02em; }
.pl p { color: var(--ink-2); font-size: 15.5px; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), var(--tint-soft), transparent 70%); opacity: 0; transition: opacity .3s; }
.spot:hover::before { opacity: 1; }

/* Keys */
.keys { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ladder { display: grid; gap: 10px; }
.nc .lv { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); text-align: left; transition: border-color .25s, background .25s, transform .4s var(--ease); }
.nc .lv:hover { border-color: var(--line-2); }
.nc .lv.on { border-color: var(--gold); background: var(--gold-soft); transform: translateX(6px); }
.lv .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; border: 1px solid var(--line-2); color: var(--ink-2); }
.lv.on .n { border-color: var(--gold); color: var(--gold-ink); }
.lv b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.lv span { font-size: 14px; color: var(--ink-3); }
.lv .w { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.kpanel { display: grid; gap: 18px; position: sticky; top: 100px; }
.kpanel h3 { font-family: var(--serif); font-weight: 420; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -.025em; }
.kpanel .body { color: var(--ink-2); font-size: 17px; animation: rise .5s var(--ease); }
.tree { font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: var(--a-ink-2); white-space: pre; overflow-x: auto; }
.tree b { color: var(--a-gold); font-weight: 500; }
.limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 52px); }
.limits > div { padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }
.limits b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* Features */
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ft { position: relative; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; overflow: hidden; }
.ft svg { width: 24px; height: 24px; color: var(--tint); }
.ft h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.ft p { color: var(--ink-2); font-size: 15.5px; }

/* Backups */
.bk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bk-list { display: grid; gap: 12px; }
.bk-list li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.bk-list li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--tint); transform: translateY(-2px); }
.flow { display: grid; gap: 12px; }
.src { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--a-well); border: 1px solid var(--a-line-2); }
.src img { width: 34px; height: 34px; border-radius: 9px; }
.pipe { position: relative; height: 34px; margin-left: 32px; width: 2px; background: repeating-linear-gradient(180deg, var(--a-line-2) 0 5px, transparent 5px 10px); }
.pipe::after { content: ""; position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--a-gold); box-shadow: 0 0 10px 2px rgba(225,176,82,.6); animation: drop 2.4s var(--ease) infinite; }
.targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tg { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--a-line); background: var(--a-well); display: grid; gap: 2px; }
.tg b { font-weight: 600; font-size: 15px; }
.tg span { font-family: var(--mono); font-size: 12px; color: var(--a-ink-3); }

/* Devices */
.devs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.dv { padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.dv .os { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--tint); }
.dv h3 { font-family: var(--serif); font-weight: 420; font-size: 26px; letter-spacing: -.02em; }
.dv p { color: var(--ink-2); font-size: 15px; }
.dv.soon { border-style: dashed; }
.more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.more span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }

/* Move from Nextcloud */
.move { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 40px); padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.move h2 { font-family: var(--serif); font-weight: 420; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.03em; }
.move .arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold-ink); }
.move .arrow svg { width: 22px; height: 22px; animation: nudge 2.4s var(--ease) infinite; }
.move ul { display: grid; gap: 8px; color: var(--ink-2); }
.move li { display: flex; gap: 10px; align-items: center; }
.move li svg { flex: none; width: 18px; height: 18px; color: var(--a-ok); }

/* Install */
.inst { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.term { background: #0a0f0c; color: var(--a-ink); border: 1px solid var(--a-line-2); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); min-width: 0; }
.term-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--a-line); }
.nc .tab { min-height: 44px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--a-ink-2); transition: background .18s, color .18s; }
.nc .tab:hover { color: var(--a-ink); }
.nc .tab.on { background: var(--a-well); color: var(--a-ink); }
.term-b { padding: 22px; display: grid; gap: 12px; font-family: var(--mono); font-size: 14px; line-height: 1.6; }
.term-b p { overflow-wrap: anywhere; animation: rise .5s var(--ease) both; }
.term-b i { font-style: normal; color: var(--a-gold); margin-right: 8px; }
.term-b .out { color: var(--a-ink-3); }
.caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: -3px; margin-left: 4px; background: var(--a-gold); animation: blink 1.1s steps(2) infinite; }
.keynote { display: flex; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--a-line); font-size: 14px; color: var(--a-ink-2); }
.keynote svg { flex: none; width: 18px; height: 18px; color: var(--a-gold); margin-top: 2px; }
.keynote code { font-family: var(--mono); color: var(--a-gold); }

/* Close */
.end { position: relative; text-align: center; padding-block: clamp(110px, 14vw, 200px); overflow: hidden; }
.end-mark { position: absolute; left: 50%; top: 50%; width: min(980px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(42deg); opacity: .12; pointer-events: none; }
.end-mark circle { fill: none; stroke: var(--ring); stroke-linecap: round; transform-origin: 50% 50%; }
.end-in { position: relative; display: grid; gap: 26px; justify-items: center; }
.end .cta-row { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; font-size: 14px; color: var(--ink-3); }
.foot-in nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-in a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); }
.foot-in a:hover { color: var(--gold-ink); }

@keyframes pip { 50% { box-shadow: 0 0 0 9px transparent; } }
@keyframes drift { to { transform: translate(-6%, 8%) scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { box-shadow: 0 0 0 16px rgba(225,176,82,.05), 0 0 110px 30px rgba(225,176,82,.3); } }
@keyframes fill { 0% { transform: scaleX(.08); } 80%, 100% { transform: scaleX(1); } }
@keyframes seal { 0% { background: var(--a-well); border-color: var(--a-line); } 6%, 100% { background: rgba(225,176,82,.75); border-color: rgba(225,176,82,.9); } }
@keyframes drop { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
@keyframes nudge { 50% { transform: translateX(4px); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1120px) { .nav-links { display: none; } }
@media (max-width: 899px) {
  .hero-grid, .keys, .bk, .inst { grid-template-columns: minmax(0, 1fr); }
  .vault { justify-self: center; max-width: 440px; order: -1; }
  .upload { display: none; }
  .kpanel { position: static; }
  .move { grid-template-columns: minmax(0, 1fr); }
  .move .arrow { transform: rotate(90deg); }
  .nav-end .btn-g { display: none; }
}
@media (max-width: 520px) {
  .crumb { display: none; }
  .ktag { font-size: 11px; padding: 4px 8px; }
  .targets { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nc *, .nc *::before, .nc *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.nc.still *, .nc.still *::before, .nc.still *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

[hidden] { display: none !important; }
