/* Kiuas: Cedar refined. Stone neutrals, copper signature, plus a Dusk theme borrowed from Afterglow. One family: Schibsted Grotesk. */
:root {
  --page: #f5f4f2;
  --surface: #ffffff;
  --raised: #ffffff;
  --sunken: #eceae6;
  --hover: #efedea;
  --ink: #1c1a18;
  --ink-2: #57524c;
  --ink-3: #6d6760;
  --line: #e2dfda;
  --line-strong: #8c857d;
  --copper: #a3461f;
  --copper-hover: #8a3816;
  --on-copper: #ffffff;
  --copper-text: #9a421c;
  --copper-soft: #f6e7dd;
  --ok: #276b43;
  --ok-soft: #e1f1e7;
  --warn: #845300;
  --warn-soft: #fbefd6;
  --danger: #b3261e;
  --danger-soft: #fbe3e1;
  --shadow-1: 0 1px 2px rgb(28 26 24 / .06), 0 1px 1px rgb(28 26 24 / .04);
  --shadow-2: 0 12px 32px -12px rgb(28 26 24 / .18), 0 2px 6px rgb(28 26 24 / .06);
  --frame-glow: none;
  --theme-color: #f5f4f2;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --dur-fast: 100ms;
  --dur-base: 180ms;
  --ease-out: cubic-bezier(.25, 1, .5, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --page: #121110;
  --surface: #1a1917;
  --raised: #22201d;
  --sunken: #0d0c0b;
  --hover: #262421;
  --ink: #eeeae4;
  --ink-2: #b2aaa1;
  --ink-3: #a0978d;
  --line: #2e2b27;
  --line-strong: #6f675f;
  --copper: #ef9a6a;
  --copper-hover: #f6b28b;
  --on-copper: #1f130c;
  --copper-text: #f2a578;
  --copper-soft: #3a2519;
  --ok: #7cc79a;
  --ok-soft: #1c3226;
  --warn: #e9b65a;
  --warn-soft: #3a2c12;
  --danger: #f08d84;
  --danger-soft: #3d1c1a;
  --shadow-1: 0 0 0 1px rgb(255 255 255 / .03);
  --shadow-2: 0 0 0 1px rgb(255 255 255 / .05), 0 24px 60px -20px rgb(0 0 0 / .7);
  --frame-glow: radial-gradient(60% 50% at 70% 0%, rgb(239 154 106 / .16), transparent 70%);
  --theme-color: #121110;
  color-scheme: dark;
}
/* Dusk: the Afterglow evening palette. Plum night, amber light. */
:root[data-theme="dusk"] {
  --page: #150f19;
  --surface: #1f1725;
  --raised: #2a2031;
  --sunken: #0f0b13;
  --hover: #2b2132;
  --ink: #f6ede6;
  --ink-2: #cbbdc8;
  --ink-3: #b1a2b3;
  --line: #352a3c;
  --line-strong: #7d6d84;
  --copper: #f4b066;
  --copper-hover: #f8c58a;
  --on-copper: #24162b;
  --copper-text: #f6bd7d;
  --copper-soft: #3c2619;
  --ok: #8dd3a8;
  --ok-soft: #1a3326;
  --warn: #f2c675;
  --warn-soft: #3a2a14;
  --danger: #ff9b92;
  --danger-soft: #3e1d22;
  --shadow-1: 0 0 0 1px rgb(255 240 230 / .04);
  --shadow-2: 0 0 0 1px rgb(255 240 230 / .06), 0 28px 60px -24px rgb(5 0 10 / .85);
  --frame-glow: radial-gradient(70% 60% at 80% 0%, rgb(244 176 102 / .22), transparent 70%);
  --sky: linear-gradient(180deg, #120c1d 0%, #2a1a35 45%, #4a2440 75%, #8a4232 100%);
  --theme-color: #150f19;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.55 "Schibsted Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* Tabular figures only where numbers line up; this face also makes punctuation tabular. */
.queue .num, .table td:first-child { font-variant-numeric: tabular-nums; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; flex: none; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--radius-m);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast), transform var(--dur-fast);
}
.btn:hover { background: var(--hover); border-color: var(--line-strong); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--copper); border-color: var(--copper); color: var(--on-copper); }
.btn-primary:hover { background: var(--copper-hover); border-color: var(--copper-hover); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 14px; border-radius: var(--radius-s); }

/* Theme switch: three-way */
.theme-switch { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.theme-switch button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--ink-3); cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: var(--hover); color: var(--ink); }
.theme-switch .i { width: 16px; height: 16px; }

/* ---------- Homepage ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--page) 92%, transparent); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; }
.site-nav { display: flex; gap: 22px; font-size: 15px; color: var(--ink-2); }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }
.nav-theme { display: none; }

.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; margin: 0 0 22px; max-width: 12ch; }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; color: var(--ink-3); font-size: 14px; }

/* The memorable thing: a working miniature dashboard */
.frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-2); overflow: hidden; }
.frame::before { content: ""; position: absolute; inset: 0; background: var(--frame-glow); pointer-events: none; }
.frame-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.frame-dots { display: flex; gap: 6px; margin-right: 8px; }
.frame-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame-body { display: grid; grid-template-columns: 168px 1fr; min-height: 380px; }
.mini-side { border-right: 1px solid var(--line); padding: 14px 10px; font-size: 13px; color: var(--ink-2); background: var(--page); }
.mini-server { display: flex; align-items: center; gap: 8px; padding: 6px; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.mini-server b { width: 24px; height: 24px; border-radius: 7px; background: #3f6f68; color: #fff; display: grid; place-items: center; font-size: 12px; }
.mini-side a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; text-decoration: none; }
.mini-side a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.mini-side .i { width: 15px; height: 15px; }
.mini-side .count { margin-left: auto; font-size: 11px; background: var(--copper); color: var(--on-copper); border-radius: 999px; padding: 0 6px; font-weight: 700; }
.mini-main { padding: 18px 20px; }
.mini-main h3 { margin: 0 0 4px; font-size: 17px; letter-spacing: -.01em; }
.mini-main .sub { margin: 0 0 16px; color: var(--ink-3); font-size: 13px; }
.queue { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.queue li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 13px; background: var(--surface); }
.queue li:first-child { border-top: 0; }
.queue .num { font-weight: 600; color: var(--ink-3); }
.queue .t { font-weight: 600; color: var(--ink); }
.queue .m { display: block; color: var(--ink-3); font-size: 12px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pill-wait { background: var(--warn-soft); color: var(--warn); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-new { background: var(--copper-soft); color: var(--copper-text); }
.pill-off { background: var(--sunken); color: var(--ink-3); }
.queue li.enter { animation: rowIn 420ms var(--ease-out); }
@keyframes rowIn { from { background: var(--copper-soft); } to { background: var(--surface); } }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mini-stats div { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 10px 12px; font-size: 12px; color: var(--ink-3); }
.mini-stats b { display: block; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }

.proof { padding: 28px 0 8px; }
.proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.proof div { padding: 22px 0; color: var(--ink-3); font-size: 14px; }
.proof b { display: block; color: var(--ink); font-size: 28px; font-weight: 600; letter-spacing: -.02em; }

.section { padding: 96px 0; }
.section h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; margin: 0 0 14px; max-width: 18ch; }
.section .intro { color: var(--ink-2); font-size: 18px; max-width: 36em; margin: 0 0 44px; }

/* Module index: list on the left, live preview on the right */
.modules { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.module-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.module-list button { width: 100%; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 15px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink-2); font-size: 17px; font-weight: 500; }
.module-list button:hover { color: var(--ink); }
.module-list button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.module-list button[aria-selected="true"] .i:first-child { color: var(--copper-text); }
.module-list .i:last-child { opacity: 0; transition: opacity var(--dur-fast), transform var(--dur-base) var(--ease-out); transform: translateX(-4px); }
.module-list button[aria-selected="true"] .i:last-child { opacity: 1; transform: none; }
.module-panel { border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); padding: 28px; min-height: 420px; box-shadow: var(--shadow-1); }
.module-panel[hidden] { display: none; }
.module-panel h3 { font-size: 22px; margin: 0 0 6px; letter-spacing: -.02em; }
.module-panel > p { color: var(--ink-2); margin: 0 0 22px; max-width: 40em; }
.demo { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--page); padding: 18px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .t { font-weight: 600; font-size: 15px; }
.row .m { color: var(--ink-3); font-size: 13px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); font-size: 13px; color: var(--ink-2); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; }

/* Switch */
.switch { position: relative; width: 38px; height: 22px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line-strong); transition: background var(--dur-fast), border-color var(--dur-fast); }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-3); transition: transform var(--dur-base) var(--ease-out), background var(--dur-fast); }
.switch input:checked + span { background: var(--copper); border-color: var(--copper); }
.switch input:checked + span::after { transform: translateX(16px); background: var(--on-copper); }
.switch input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }

.ladder { display: grid; gap: 8px; }
.ladder div { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 12px; font-size: 14px; }
.ladder .bar { height: 8px; border-radius: 99px; background: var(--sunken); overflow: hidden; }
.ladder .bar i { display: block; height: 100%; background: var(--copper); border-radius: 99px; }
.spark { width: 100%; height: 140px; display: block; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { list-style: none; padding: 28px 28px 0 0; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--ink-2); }

.free { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); padding: 44px; }
.free h2 { margin-bottom: 10px; }
.free p { color: var(--ink-2); max-width: 38em; margin: 0 0 20px; }
.free img { width: 200px; height: 200px; object-fit: contain; filter: drop-shadow(0 18px 24px rgb(28 26 24 / .12)); }
:root[data-theme="dark"] .free img { filter: drop-shadow(0 0 40px rgb(239 154 106 / .25)); }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--ink-3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.site-footer nav { display: flex; gap: 20px; margin-left: auto; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- Dashboard ---------- */
.app { display: grid; grid-template-columns: 256px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; border-right: 1px solid var(--line); background: var(--page); overflow-y: auto; }
.side .brand { padding: 4px 8px 14px; font-size: 18px; }
.server-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); cursor: pointer; text-align: left; box-shadow: var(--shadow-1); }
.server-btn b { width: 32px; height: 32px; border-radius: 9px; background: #3f6f68; color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.server-btn span { flex: 1; min-width: 0; line-height: 1.25; }
.server-btn strong { display: block; font-size: 14px; }
.server-btn small { color: var(--ink-3); font-size: 12px; }
.server-pop { position: absolute; z-index: 30; margin-top: 6px; width: 232px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--raised); box-shadow: var(--shadow-2); padding: 6px; }
.server-pop[hidden] { display: none; }
.server-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; background: none; border-radius: var(--radius-s); cursor: pointer; text-align: left; font-size: 14px; }
.server-pop button:hover { background: var(--hover); }
.server-pop b { width: 24px; height: 24px; border-radius: 7px; color: #fff; display: grid; place-items: center; font-size: 12px; }
.nav-group { margin-top: 18px; }
.nav-group > span { display: block; padding: 0 10px 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.nav-link { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--radius-s); color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; cursor: pointer; border: 0; background: none; width: 100%; text-align: left; transition: background var(--dur-fast), color var(--dur-fast); }
.nav-link:hover { background: var(--hover); color: var(--ink); }
.nav-link[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.nav-link[aria-current="page"] .i { color: var(--copper-text); }
.nav-link .count { margin-left: auto; font-size: 12px; font-weight: 700; background: var(--copper); color: var(--on-copper); border-radius: 999px; padding: 0 7px; }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px 8px 2px; border-top: 1px solid var(--line); font-size: 13px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; flex: none; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 28px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--page) 94%, transparent); }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.crumbs strong { color: var(--ink); font-weight: 600; }
.crumbs .i { width: 14px; height: 14px; }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 280px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); color: var(--ink-3); font-size: 14px; }
.search input { border: 0; outline: 0; background: none; flex: 1; min-width: 0; }
.search kbd { font: 600 11px/1 "Schibsted Grotesk", sans-serif; border: 1px solid var(--line); border-radius: 4px; padding: 3px 5px; color: var(--ink-3); }
.content { padding: 32px 28px 120px; max-width: 1240px; width: 100%; }
.page-head { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.page-head h1 { margin: 0; font-size: 28px; letter-spacing: -.025em; font-weight: 600; }
.page-head p { margin: 4px 0 0; color: var(--ink-2); }
.page-head .btn { margin-left: auto; }
.view[hidden] { display: none; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-1); }
.panel + .panel { margin-top: 20px; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 0; }
.panel-head h2 { margin: 0; font-size: 16px; font-weight: 600; }
.panel-head p { margin: 2px 0 0; color: var(--ink-3); font-size: 13px; }
.panel-head .btn, .panel-head a.link { margin-left: auto; }
.panel-body { padding: 16px 20px 20px; }
.link { color: var(--copper-text); font-weight: 600; font-size: 14px; text-decoration: none; }
.link:hover { text-decoration: underline; }

.attention { list-style: none; margin: 0; padding: 0; }
.attention li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.attention li:first-child { border-top: 0; padding-top: 0; }
.attention .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.attention .t { font-weight: 600; font-size: 15px; }
.attention .m { color: var(--ink-3); font-size: 13px; }
.attention .btn { margin-left: auto; }

.health-top { display: flex; align-items: center; gap: 16px; }
.ring { --p: 66; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--copper) calc(var(--p) * 1%), var(--sunken) 0); display: grid; place-items: center; flex: none; }
.ring::after { content: attr(data-label); width: 50px; height: 50px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.checklist { list-style: none; margin: 16px 0 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--ink-2); }
.checklist li.done { color: var(--ink-3); }
.checklist .box { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; }
.checklist li.done .box { background: var(--ok); border-color: var(--ok); color: var(--surface); }
.checklist .box .i { width: 13px; height: 13px; stroke-width: 2.5; }
.checklist li.next { color: var(--ink); font-weight: 600; }

.module-board { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.mod { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--page); }
.mod-top { display: flex; align-items: center; gap: 10px; }
.mod-top .i { color: var(--ink-2); }
.mod-top strong { font-size: 15px; }
.mod-top .switch { margin-left: auto; }
.mod p { margin: 0; color: var(--ink-3); font-size: 13px; flex: 1; }
.mod a { font-size: 13px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); margin-bottom: 20px; box-shadow: var(--shadow-1); }
.stat-row div { padding: 16px 20px; border-left: 1px solid var(--line); }
.stat-row div:first-child { border-left: 0; }
.stat-row span { color: var(--ink-3); font-size: 13px; }
.stat-row b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.stat-row em { font-style: normal; font-size: 13px; color: var(--ok); font-weight: 600; }
.stat-row em.down { color: var(--danger); }

.field { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field label { font-weight: 600; font-size: 14px; }
.field .hint { color: var(--ink-3); font-size: 13px; }
.select, .input, .textarea { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); font-size: 14px; }
.textarea { height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.toggle-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.toggle-row .grow { flex: 1; }
.toggle-row .t { font-weight: 600; font-size: 14px; }
.toggle-row .m { color: var(--ink-3); font-size: 13px; }
.perm-warn { display: flex; gap: 8px; align-items: center; margin-top: 6px; color: var(--warn); font-size: 13px; font-weight: 500; }
.perm-warn .i { width: 15px; height: 15px; }
.perm-warn button { margin-left: 4px; border: 0; background: none; color: var(--copper-text); font-weight: 600; cursor: pointer; padding: 0; font-size: 13px; text-decoration: underline; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: 12px; padding: 0 12px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.who { display: flex; align-items: center; gap: 10px; }
.who .avatar { width: 26px; height: 26px; font-size: 11px; }

.chart-wrap { position: relative; height: 240px; }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--ink-3); margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

.empty { text-align: center; padding: 56px 20px; }
.empty img { width: 150px; height: 150px; object-fit: contain; margin: 0 auto 16px; }
.empty h2 { margin: 0 0 6px; font-size: 20px; }
.empty p { margin: 0 auto 18px; color: var(--ink-2); max-width: 30em; }

/* Discord-style save bar */
.savebar { position: fixed; left: calc(256px + 28px); right: 28px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: var(--radius-m); background: var(--ink); color: var(--page); box-shadow: var(--shadow-2); transform: translateY(140%); transition: transform 240ms var(--ease-out); }
.savebar.show { transform: none; }
.savebar p { margin: 0; flex: 1; font-weight: 500; font-size: 15px; }
.savebar .btn-ghost { color: var(--page); }
.savebar .btn-ghost:hover { background: rgb(127 127 127 / .2); }
.toast { position: fixed; right: 28px; bottom: 24px; z-index: 50; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--radius-m); background: var(--raised); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.toast .i { color: var(--ok); }
.concept-note { font-size: 12px; color: var(--ink-3); padding: 0 10px 8px; }

.mobile-bar { display: none; }

@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .site-nav, .header-actions .btn:not(.btn-primary):not(.menu-btn), .header-actions .theme-switch { display: none; }
  .menu-btn { display: inline-flex; }
  .site-nav .nav-theme { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 4px; color: var(--ink-2); }
  .site-header.open .site-nav { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--page); border-bottom: 1px solid var(--line); padding: 8px 28px 16px; }
  .site-header.open .site-nav a { padding: 12px 0; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .proof .wrap { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .free { grid-template-columns: 1fr; padding: 28px; }
  .free img { width: 140px; height: 140px; }
  .frame-body { grid-template-columns: 1fr; }
  .mini-side { display: none; }

  .app { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 60; transform: translateX(-100%); transition: transform 240ms var(--ease-out); box-shadow: var(--shadow-2); background: var(--page); }
  .app.drawer .side { transform: none; }
  .scrim { position: fixed; inset: 0; z-index: 55; background: rgb(0 0 0 / .4); }
  .scrim[hidden] { display: none; }
  .mobile-bar { display: inline-flex; }
  .topbar { padding: 0 16px; }
  .search, .crumbs > span, .crumbs > .i { display: none; }
  .topbar .theme-switch { margin-left: auto; }
  .savebar p { font-size: 14px; }
  .content { padding: 22px 16px 120px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-row div:nth-child(3) { border-left: 0; }
  .stat-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .form-cols { grid-template-columns: 1fr; }
  .savebar { left: 16px; right: 16px; }
  .page-head { flex-wrap: wrap; }
  .table .hide-m { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .module-panel { padding: 18px; }
  .site-footer nav { margin-left: 0; flex-wrap: wrap; }
  .header-actions .btn-primary { padding: 0 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .btn:active { transform: none; }
  .switch span::after, .savebar, .side, .toast, .module-list .i:last-child { transition-property: opacity, background, color !important; }
}

/* =====================================================================
   Kiuas additions: four-way theme switch, Dusk scenery, server rail,
   mascot art, and the microinteraction layer.
   ===================================================================== */
:root { --spring: cubic-bezier(.34, 1.4, .64, 1); --dur-slow: 260ms; }

/* Theme switch with a sliding thumb */
.theme-switch { position: relative; isolation: isolate; }
.theme-switch .thumb { position: absolute; z-index: -1; top: 3px; left: 3px; width: 30px; height: 30px; border-radius: 999px; background: var(--hover); box-shadow: var(--shadow-1); transform: translateX(calc(var(--i, 0) * 32px)); transition: transform var(--dur-slow) var(--spring); }
.theme-switch button[aria-pressed="true"] { background: transparent; }
.theme-switch button { position: relative; transition: color var(--dur-fast); }
.theme-switch button:hover { color: var(--ink); }
.theme-switch button:active .i { transform: scale(.85); }
.theme-switch .i { transition: transform var(--dur-fast); }
.theme-switch button[aria-pressed="true"][data-theme-set="dusk"] { color: var(--copper-text); }

/* Tooltips (rail, icon buttons) */
[data-tip] { position: relative; }
[data-tip]::after { content: attr(data-tip); position: absolute; z-index: 80; pointer-events: none; white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--page); font: 600 13px/1.2 "Schibsted Grotesk", sans-serif; opacity: 0; transition: opacity 120ms, transform 160ms var(--ease-out); }
[data-tip-pos="right"]::after { left: calc(100% + 14px); top: 50%; transform: translate(-4px, -50%); }
[data-tip-pos="right"]:hover::after, [data-tip-pos="right"]:focus-visible::after { opacity: 1; transform: translate(0, -50%); transition-delay: 80ms; }
[data-tip-pos="bottom"]::after { top: calc(100% + 8px); left: 50%; transform: translate(-50%, -4px); }
[data-tip-pos="bottom"]:hover::after, [data-tip-pos="bottom"]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); transition-delay: 300ms; }

/* Buttons: arrow nudge and a pressable feel */
.btn .nudge { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .nudge { transform: translateX(3px); }
.btn { transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast), transform 120ms var(--ease-out), box-shadow var(--dur-base); }
.btn-primary:hover { box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--copper) 80%, transparent); }
.btn:active { transform: scale(.97); }
.btn.is-busy { pointer-events: none; }
.btn .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Switch: the knob stretches while pressed, like a real toggle */
.switch input:active + span::after { width: 20px; }
.switch input:checked:active + span::after { transform: translateX(12px); }
.switch span::after { transition: transform var(--dur-slow) var(--spring), width 140ms var(--ease-out), background var(--dur-fast); }

/* ---------- Homepage additions ---------- */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -68px 0 -80px; z-index: -1; background: var(--sky, none); opacity: 0; transition: opacity 500ms; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
:root[data-theme="dusk"] .hero::before { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: -68px 0 30%; z-index: -1; pointer-events: none; opacity: 0; background-image: radial-gradient(1px 1px at 8% 22%, #fff 50%, transparent), radial-gradient(1px 1px at 22% 8%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 38% 30%, #fff 50%, transparent), radial-gradient(1px 1px at 55% 12%, #fff 50%, transparent), radial-gradient(1px 1px at 72% 26%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 90% 10%, #fff 50%, transparent), radial-gradient(1px 1px at 64% 4%, #fff 50%, transparent); transition: opacity 600ms; }
:root[data-theme="dusk"] .hero::after { opacity: .8; }
:root[data-theme="dusk"] .site-header:not(.scrolled) { background: transparent; }
:root[data-theme="dusk"] .hero .lead { color: #e2d3dc; }

/* One orchestrated load moment: the headline settles in word by word */
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(14px); animation: word 620ms var(--ease-out) forwards; animation-delay: calc(var(--n) * 70ms + 80ms); }
@keyframes word { to { opacity: 1; transform: none; } }
.hero .lead, .hero-actions, .hero-note { animation: fadeUp 600ms var(--ease-out) both; }
.hero .lead { animation-delay: 360ms; } .hero-actions { animation-delay: 440ms; } .hero-note { animation-delay: 520ms; }
.frame-wrap { position: relative; animation: fadeUp 800ms var(--ease-out) 300ms both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* Mascot perched on the product frame */
.perch { position: absolute; z-index: 3; right: 26px; top: -112px; width: 150px; height: 150px; object-fit: contain; transform-origin: 50% 100%; transition: transform 400ms var(--spring); filter: drop-shadow(0 10px 10px rgb(28 26 24 / .12)); cursor: pointer; }
.perch:hover { transform: rotate(-4deg) translateY(-3px); }
.perch.wiggle { animation: wiggle 700ms var(--ease-out); }
@keyframes wiggle { 20% { transform: rotate(-7deg); } 45% { transform: rotate(5deg); } 70% { transform: rotate(-2deg); } }
:root[data-theme="dark"] .perch, :root[data-theme="dusk"] .perch { filter: drop-shadow(0 0 26px rgb(244 160 100 / .28)); }

/* Module panel art and transitions */
.module-panel { position: relative; overflow: hidden; }
.module-panel.enter { animation: panelIn 320ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.panel-art { position: absolute; right: 18px; top: 14px; width: 112px; height: 112px; object-fit: contain; transform: rotate(4deg); transition: transform 500ms var(--spring); }
.module-panel:hover .panel-art { transform: rotate(-2deg) scale(1.04); }
.module-panel h3, .module-panel > p { padding-right: 120px; }
.module-list button { position: relative; transition: color var(--dur-fast), padding var(--dur-base) var(--ease-out); }
.module-list button:hover { padding-left: 8px; }
.module-list button[aria-selected="true"] { padding-left: 8px; }
.module-list button::before { content: ""; position: absolute; left: -12px; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--copper); transform: translateY(-50%); transition: height var(--dur-slow) var(--spring); }
.module-list button[aria-selected="true"]::before { height: 60%; }

.free img { transition: transform 600ms var(--spring); }
.free:hover img { transform: translateY(-6px) rotate(-3deg); }

/* Footer links: underline that grows */
.site-footer nav a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur-base) var(--ease-out), color var(--dur-fast); }
.site-footer nav a:hover { background-size: 100% 1px; }

/* ---------- Dashboard: server rail ---------- */
.app { grid-template-columns: 72px 248px 1fr; }
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 0; background: var(--sunken); border-right: 1px solid var(--line); overflow: visible; z-index: 30; }
.rail-item { position: relative; display: flex; justify-content: center; width: 72px; }
/* The Discord-style pill: hidden, a short nub on hover, a full bar when selected */
.rail-item::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 40px; margin-top: -20px; border-radius: 0 4px 4px 0; background: var(--ink); transform: scaleY(0); transform-origin: center; transition: transform var(--dur-slow) var(--spring); }
.rail-item:hover::before { transform: scaleY(.5); }
.rail-item.active::before { transform: scaleY(1); }
.rail-btn { position: relative; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 24px; background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--ink-2); overflow: hidden; transition: border-radius var(--dur-slow) var(--ease-out), background var(--dur-base), color var(--dur-base), transform 120ms var(--ease-out); }
.rail-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.rail-item:hover .rail-btn, .rail-item.active .rail-btn { border-radius: 15px; }
.rail-item:hover .rail-btn img { transform: scale(1.06); }
.rail-btn:active { transform: translateY(1px) scale(.94); }
.rail-btn:focus-visible { outline-offset: 3px; border-radius: 15px; }
.rail-home .rail-btn { background: var(--copper-soft); }
.rail-home .rail-btn img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.rail-sep { width: 32px; height: 2px; border-radius: 2px; background: var(--line); margin: 2px 0; }
.rail-add .rail-btn { color: var(--ok); }
.rail-add:hover .rail-btn { background: var(--ok); color: var(--surface); }
.rail-add .i { transition: transform var(--dur-slow) var(--spring); }
.rail-add:hover .i { transform: rotate(90deg); }
.rail-badge { position: absolute; right: 8px; bottom: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font: 700 11px/18px "Schibsted Grotesk", sans-serif; text-align: center; box-shadow: 0 0 0 3px var(--sunken); animation: pop 420ms var(--spring) both; animation-delay: 600ms; }
:root[data-theme="dark"] .rail-badge, :root[data-theme="dusk"] .rail-badge { color: #2a0d0d; }
@keyframes pop { from { transform: scale(0); } }
.rail-item.switching .rail-btn { animation: railPress 380ms var(--ease-out); }
@keyframes railPress { 30% { transform: scale(.9); } }

/* Server header in the sidebar replaces the old dropdown */
.server-head { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); box-shadow: var(--shadow-1); }
.server-head img { width: 36px; height: 36px; border-radius: 11px; }
.server-head strong { display: block; font-size: 14px; line-height: 1.25; }
.server-head small { color: var(--ink-3); font-size: 12px; }

/* Sliding active indicator for the sidebar nav */
.side nav { position: relative; }
.nav-indicator { position: absolute; left: 0; right: 0; top: 0; height: 36px; border-radius: var(--radius-s); background: var(--surface); box-shadow: var(--shadow-1); transform: translateY(var(--y, 0)); transition: transform var(--dur-slow) var(--spring), opacity var(--dur-base); pointer-events: none; }
.nav-indicator::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--copper); }
.nav-link { position: relative; z-index: 1; }
.nav-link[aria-current="page"] { background: transparent; box-shadow: none; }
.nav-link .i { transition: transform var(--dur-base) var(--spring); }
.nav-link:hover .i { transform: scale(1.12); }

/* Dusk dashboard: the Afterglow sky band behind the top bar */
:root[data-theme="dusk"] .topbar { background: linear-gradient(100deg, #1b1224 0%, #2d1a36 45%, #5a2a3c 80%, #8a4232 100%); border-bottom-color: rgb(255 255 255 / .06); }
:root[data-theme="dusk"] .topbar .crumbs strong { color: #fff3e8; }
:root[data-theme="dusk"] .topbar .crumbs { color: #d9c6d2; }
:root[data-theme="dusk"] .rail { background: #0d0910; }
:root[data-theme="dusk"] .side { background: linear-gradient(180deg, #1a1220, var(--page) 40%); }

/* Content changes when switching server or page */
.content.swap { animation: swap 300ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }

/* Cards */
.mod { transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base), background var(--dur-base); }
.mod:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.mod .mod-top > .i { transition: transform 400ms var(--spring); }
.mod:hover .mod-top > .i { transform: rotate(-8deg) scale(1.1); }
.mod.is-off { background: var(--sunken); }
.mod.is-off strong, .mod.is-off p { color: var(--ink-3); }

/* Count-up numbers and the setup ring */
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring { transition: --p 900ms var(--ease-out); }

/* Checklist items can be completed by clicking; the check draws itself */
.checklist li { border-radius: 8px; transition: background var(--dur-fast), color var(--dur-base); }
.checklist li.todo { cursor: pointer; padding-left: 6px; margin-left: -6px; }
.checklist li.todo:hover { background: var(--hover); }
.checklist .box { transition: background var(--dur-base), border-color var(--dur-base), transform 300ms var(--spring); }
.checklist .box .i path { stroke-dasharray: 24; stroke-dashoffset: 0; }
.checklist li.just-done .box { transform: scale(1.15); }
.checklist li.just-done .box .i path { animation: draw 420ms var(--ease-out) 80ms both; }
@keyframes draw { from { stroke-dashoffset: 24; } }
.setup-done { display: none; align-items: center; gap: 14px; margin-top: 12px; }
.setup-done img { width: 92px; height: 92px; object-fit: contain; animation: hop 900ms var(--spring); }
.setup-done.show { display: flex; }
@keyframes hop { 0% { transform: translateY(16px) scale(.8); opacity: 0; } 60% { transform: translateY(-6px); opacity: 1; } }

/* Needs-attention items slide away when handled */
.attention li { transition: opacity 220ms, transform 260ms var(--ease-out); }
.attention li.leaving { opacity: 0; transform: translateX(24px); }
.attention-empty { display: none; align-items: center; gap: 16px; padding: 4px 0; color: var(--ink-2); }
.attention-empty img { width: 110px; height: 110px; object-fit: contain; }
.attention-empty.show { display: flex; animation: fadeUp 400ms var(--ease-out); }

/* Search expands on focus */
.search { transition: width var(--dur-slow) var(--ease-out), border-color var(--dur-fast), box-shadow var(--dur-base); }
.search:focus-within { width: 340px; border-color: var(--copper); box-shadow: 0 0 0 3px color-mix(in srgb, var(--copper) 22%, transparent); }

/* Save bar and toast: springy entrance */
.savebar { left: calc(72px + 248px + 28px); transition: transform 360ms var(--spring); }
.savebar .btn-primary { min-width: 128px; }
.toast { transition: opacity var(--dur-base), transform 360ms var(--spring); }
.toast img { width: 34px; height: 34px; object-fit: contain; margin: -6px 0; }

/* Rows */
.table tbody tr, .queue li { transition: background var(--dur-fast); }
.table tbody tr:hover, .queue li:hover { background: var(--hover); }

/* Mobile: the rail travels with the drawer */
.nav-shell { display: contents; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .nav-shell { display: flex; position: fixed; inset: 0 auto 0 0; z-index: 60; transform: translateX(-100%); transition: transform 280ms var(--ease-out); }
  .app.drawer .nav-shell { transform: none; box-shadow: var(--shadow-2); }
  .nav-shell .side { position: static; transform: none; width: 264px; height: 100vh; box-shadow: none; }
  .nav-shell .rail { height: 100vh; }
  .savebar { left: 16px; }
  .perch { width: 110px; height: 110px; top: -84px; right: 14px; }
  .panel-art { width: 80px; height: 80px; }
  .module-panel h3, .module-panel > p { padding-right: 84px; }
  .search:focus-within { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .w, .hero .lead, .hero-actions, .hero-note, .frame-wrap { animation: none; opacity: 1; transform: none; }
  .theme-switch .thumb, .rail-item::before, .rail-btn, .nav-indicator, .savebar, .toast, .mod, .perch, .panel-art, .free img, .module-list button, .ring, .nav-shell { transition: none !important; }
  .mod:hover, .perch:hover, .module-panel:hover .panel-art, .free:hover img, .rail-btn:active { transform: none; }
  .rail-badge, .setup-done img, .content.swap, .module-panel.enter, .checklist li.just-done .box .i path, .perch.wiggle { animation: none; }
}

/* Bars read their width from --w so the dashboard can animate them in */
.ladder .bar i { width: var(--w, 0); }

/* Checklist steps are real buttons inside list items */
.todo-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }

/* Stacked hero: leave room for the mascot perched on the frame */
@media (max-width: 1020px) { .frame-wrap { margin-top: 96px; } }
