/* ============================================================
   LAUNCH PAD, blueprint/terminal one-pager
   Base rule: fully styled and readable WITHOUT JavaScript.
   JS only adds: reveals, carousel arrows, canvas life, intro.
   ============================================================ */

:root {
  --paper: #F5F6F8;
  --ink: #14161A;
  --blue: #2F6BFF;
  --blue-down: #1E56E8;
  --deep: #1D33C8;
  --line: #D8DDE6;
  --fog: #7C8698;
  --body: #3A4150;
  --err: #C4372B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-padding-top: 92px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(20, 22, 26, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  letter-spacing: 0.02em;
}

img, svg, canvas { max-width: 100%; }

a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- top ruler strip ---------- */

.ruler {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 9px;
  z-index: 120;
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(90deg, var(--fog) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 96px);
  background-size: 100% 4px, 100% 9px;
  background-position: bottom left, bottom left;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 9px; left: 0; right: 0;
  z-index: 110;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(16px, 3vw, 32px);
  background: rgba(245, 246, 248, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.logo-mark { width: 26px; height: 26px; color: var(--blue); flex: none; }

.nav-links { display: flex; gap: 26px; font-size: 11.5px; }
.nav-links a { position: relative; color: var(--body); transition: color 0.15s; }
.nav-links a::before { content: "["; }
.nav-links a::after { content: "]"; }
.nav-links a::before,
.nav-links a::after {
  display: inline-block;
  width: 0.55em;
  opacity: 0;
  color: var(--blue);
  transition: opacity 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::before,
.nav-links a:hover::after { opacity: 1; }

/* ---------- buttons ---------- */

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  padding: 10px 18px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  background: var(--blue-down);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 rgba(20, 22, 26, 0.85);
}
.btn-primary:active { transform: none; box-shadow: 1px 1px 0 rgba(20, 22, 26, 0.85); }
.btn-primary.big { padding: 15px 24px; font-size: 12.5px; }

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(20, 22, 26, 0.45);
  color: var(--ink);
  padding: 10px 18px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- hero ---------- */

.hero-frame {
  margin-top: 67px;
  padding: clamp(14px, 2.6vw, 34px);
  background-color: var(--deep);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero-sheet {
  position: relative;
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(20, 22, 26, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid rgba(20, 22, 26, 0.4);
  padding: 22px clamp(16px, 3.4vw, 44px) 44px;
  overflow: hidden;
}

#dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.sheet-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  row-gap: 6px;
  font-size: 10.5px;
  color: var(--fog);
  letter-spacing: 0.08em;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
  margin-bottom: 30px;
}
.sheet-top .chip {
  border: 1px solid var(--line);
  background: #fff;
  padding: 3px 12px;
  color: var(--ink);
}
@media (max-width: 680px) {
  .sheet-top span:first-child { display: none; }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 290px) 1fr minmax(240px, 290px);
  grid-template-areas:
    "head head right"
    "left mid  right";
  gap: 30px;
}
.hero-head { grid-area: head; padding: 3vh 0 5vh; max-width: 720px; }
.col-left { grid-area: left; }
.col-right { grid-area: right; }
.hero-col { display: flex; flex-direction: column; gap: 22px; }

.kicker {
  font-size: 11.5px;
  color: var(--blue);
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.slogan {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* ---------- panels ---------- */

.panel {
  position: relative;
  background: #fff;
  border: 1px solid rgba(20, 22, 26, 0.5);
}
.panel::before,
.panel::after,
.panelish::before,
.panelish::after,
.case-visual::before,
.case-visual::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  pointer-events: none;
}
.panel::before, .panelish::before, .case-visual::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}
.panel::after, .panelish::after, .case-visual::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 246, 248, 0.65);
}
.panel-head .x { color: var(--fog); font-size: 12px; }
.panel-body { padding: 14px; font-size: 13.5px; }
.panel-cap {
  margin-top: 12px;
  font-size: 9px;
  color: var(--fog);
  letter-spacing: 0.07em;
  line-height: 1.6;
}

.orb {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-block;
  flex: none;
}
@keyframes orb-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(47, 107, 255, 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .orb { animation: orb-pulse 2.2s infinite; }
}
html.motion .orb { animation: orb-pulse 2.2s infinite; }

/* FIG.001 instruksjon */

.inst-stage {
  position: relative;
  height: 86px;
  border: 1px dashed var(--line);
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}
.inst-msg {
  position: absolute;
  top: 12px; left: 10px;
  font-size: 10.5px;
  padding: 5px 9px;
  border: 1px solid var(--ink);
  background: #fff;
}
.inst-ai {
  position: absolute;
  top: 12px; right: 10px;
  font-size: 10.5px;
  padding: 5px 7px;
  color: var(--blue);
  border: 1px solid var(--blue);
  background: #fff;
}
.inst-stamp {
  position: absolute;
  bottom: 10px; left: 10px;
  font-size: 10.5px;
  padding: 4px 9px;
  background: var(--blue);
  color: #fff;
  opacity: 0;
  transform: rotate(-4deg) scale(1.25);
}
html.motion .inst-msg { transition: transform 0.45s ease, opacity 0.45s ease; }
html.motion .inst-ai { transition: transform 0.45s ease; }
html.motion .inst-stamp { transition: opacity 0.2s ease, transform 0.2s ease; }
.inst-msg.gone { opacity: 0; transform: translateY(34px) scale(0.9); }
.inst-ai.grab { transform: translateX(-104px); }
.inst-stamp.show { opacity: 1; transform: rotate(-4deg) scale(1); }
html:not(.js) .inst-stamp,
html.js:not(.motion) .inst-stamp { opacity: 1; transform: rotate(-4deg); }

.inst-slots {
  display: flex;
  gap: 6px;
  font-size: 9px;
}
.inst-slots span {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 4px;
  border: 1px solid var(--line);
  padding: 4px 6px;
  color: var(--fog);
}
.inst-slots b { color: var(--blue); }

/* FIG.002 systemlogg */

.syslog {
  list-style: none;
  font-size: 10.5px;
  line-height: 2;
  color: var(--body);
  height: 84px;
  overflow: hidden;
}
.syslog li.new { color: var(--blue); }

/* FIG.003 kjerneområder */

.eq {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 92px;
  padding: 4px 4px 0;
  border-bottom: 1px solid var(--ink);
}
.eq-col {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
.eq-col i {
  display: block;
  width: 100%;
  height: calc(var(--h) * 78px);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.22), rgba(47, 107, 255, 0.05));
  border: 1px solid var(--blue);
  transform-origin: bottom;
}
.eq-col span { font-size: 9px; color: var(--fog); }
@keyframes eq-move {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .eq-col i { animation: eq-move 2.4s ease-in-out infinite alternate; }
}
html.motion .eq-col i { animation: eq-move 2.4s ease-in-out infinite alternate; }
.eq-col:nth-child(2) i { animation-duration: 3.1s; animation-delay: 0.4s; }
.eq-col:nth-child(3) i { animation-duration: 2.7s; animation-delay: 0.9s; }
.eq-col:nth-child(4) i { animation-duration: 3.5s; animation-delay: 0.2s; }

/* FIG.004 ferd */

.space-win {
  position: relative;
  height: 172px;
  border: 1px solid var(--line);
  background: #0E1118;
  overflow: hidden;
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.rocket {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 92px;
  transform: translate(-50%, -50%);
  color: #E8ECF4;
}
@keyframes rocket-bob {
  from { transform: translate(-50%, -54%) rotate(-1.4deg); }
  to { transform: translate(-50%, -46%) rotate(1.4deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .rocket { animation: rocket-bob 4.6s ease-in-out infinite alternate; }
}
html.motion .rocket { animation: rocket-bob 4.6s ease-in-out infinite alternate; }
.rocket .rk-center { opacity: 0.4; }
.rocket-flame { stroke: var(--blue); stroke-dasharray: 3 4; }
@keyframes flame-run { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: no-preference) {
  .rocket-flame { animation: flame-run 0.7s linear infinite; }
}
html.motion .rocket-flame { animation: flame-run 0.7s linear infinite; }

.telemetry {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: var(--fog);
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.telemetry b { color: var(--ink); font-weight: 500; }

/* FIG.005 regnestykket */

.calc-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.09em;
  margin-bottom: 6px;
}
.calc-label span { color: var(--blue); }
#calc-n {
  width: 100%;
  accent-color: var(--blue);
  margin: 6px 0 14px;
}
.calc-out p { margin: 3px 0; font-size: 13.5px; color: var(--body); }
.calc-out b {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  color: var(--blue);
  font-weight: 700;
}

/* FIG.006 om-mini */

.om-mini { font-size: 13.5px; line-height: 1.6; color: var(--body); }
.om-mini b { color: var(--ink); }
.socials { display: flex; gap: 12px; margin-top: 14px; font-size: 10.5px; }
.socials a, .foot-socials a { color: var(--ink); transition: color 0.15s; }
.socials a:hover, .foot-socials a:hover { color: var(--blue); }

/* ---------- sections ---------- */

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(84px, 11vh, 140px) 24px 0;
}

.sec-head { margin-bottom: 48px; max-width: 780px; }
.sec-num {
  font-size: 10.5px;
  color: var(--blue);
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: inline-block;
  padding-right: 40px;
}
h2 {
  font-size: clamp(30px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.sec-sub {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--body);
  max-width: 58ch;
}

/* ---------- carousel (shared) ---------- */

.carousel { position: relative; }

.car-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.car-track::-webkit-scrollbar { display: none; }

.carousel::before,
.carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 74px;
  width: 54px;
  z-index: 2;
  pointer-events: none;
}
.carousel::before { left: -4px; background: linear-gradient(90deg, var(--paper), transparent); }
.carousel::after { right: -4px; background: linear-gradient(270deg, var(--paper), transparent); }

/* Center-snap sizing: side padding equals (track - card)/2, so the first
   card STARTS centered. Card = (track - 156px)/3, so mid-list you see the
   centered card + one full neighbor each side + blurred slivers. */
.peek-track { padding-left: calc((100% + 78px) / 3); padding-right: calc((100% + 78px) / 3); }
.car-card {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
}
@media (max-width: 980px) {
  .peek-track { padding-left: 16%; padding-right: 16%; }
}
@media (max-width: 660px) {
  .peek-track { padding-left: 8%; padding-right: 8%; }
}

/* the case carousel is full-focus: no fade masks, no peeking */
.case-carousel::before,
.case-carousel::after { display: none; }

.panelish {
  position: relative;
  background: #fff;
  border: 1px solid rgba(20, 22, 26, 0.5);
  padding: 18px 20px 26px;
  height: 100%;
}
.fig { font-size: 9px; color: var(--fog); letter-spacing: 0.12em; }
.idx {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 30px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--blue);
}
.car-card h3 { font-size: 19px; font-weight: 500; margin: 30px 0 10px; line-height: 1.25; }
.car-card p { font-size: 14px; line-height: 1.55; color: var(--body); }

/* blurred "out of reach" side cards, JS toggles .dim */
.js .car-card.dim .panelish,
.js .car-card.dim { filter: blur(2.5px); opacity: 0.45; }
.js .car-card.dim { transform: scale(0.97); }
html.motion .car-card { transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease; }

.car-ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}
html:not(.js) .car-ctrl { display: none; }
.car-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.car-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.car-progress { font-size: 11px; letter-spacing: 0.16em; min-width: 64px; text-align: center; }

/* ---------- system map ---------- */

.sysmap {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 44px;
  align-items: start;
}

.map-legend {
  list-style: none;
  border: 1px solid rgba(20, 22, 26, 0.5);
  background: #fff;
}
.legend-group {
  padding: 12px 16px 8px;
  font-size: 10px;
  color: var(--fog);
  letter-spacing: 0.16em;
}
.map-legend li[data-path] {
  padding: 11px 16px 12px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.15s;
}
.map-legend li[data-path] > span {
  color: var(--blue);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  margin-right: 6px;
}
.map-legend li[data-path] small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #5A6374;
  line-height: 1.45;
  margin-top: 3px;
}
.map-legend li[data-path].hot {
  background: rgba(47, 107, 255, 0.06);
  box-shadow: inset 3px 0 0 var(--blue);
}

.map-fig { margin: 0; }
.map-svg { width: 100%; height: auto; display: block; }

.map-path { fill: none; }
.map-path.base { stroke: #C3CAD6; stroke-width: 1.3; stroke-dasharray: 4 5; }
.map-path.lit {
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}
.map-path.lit.on { stroke-dashoffset: 0; opacity: 1; }
html.motion .map-path.lit { transition: stroke-dashoffset 0.5s ease, opacity 0.12s ease; }

.map-node rect { fill: #fff; stroke: rgba(20, 22, 26, 0.55); stroke-width: 1.2; }
.map-node.hot rect { stroke: var(--blue); stroke-width: 1.8; }
.node-label { font-size: 12.5px; fill: var(--ink); letter-spacing: 0.06em; }
.node-sub { font-size: 10px; fill: var(--fog); letter-spacing: 0.04em; }

.map-hub rect { fill: rgba(47, 107, 255, 0.05); stroke: var(--blue); stroke-width: 1.6; }
.map-hub ellipse, .map-hub > path { stroke: var(--ink); fill: none; stroke-width: 1.3; }
.hub-label { font-size: 15px; fill: var(--ink); letter-spacing: 0.12em; font-weight: 600; }
.hub-dot { fill: var(--blue); }
@keyframes hubdot { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: no-preference) { .hub-dot { animation: hubdot 1.6s infinite; } }
html.motion .hub-dot { animation: hubdot 1.6s infinite; }

.map-cap {
  font-size: 9px;
  color: var(--fog);
  letter-spacing: 0.1em;
  margin-top: 12px;
  line-height: 1.6;
}

.flow-mobile { display: none; }

@media (max-width: 940px) {
  .sysmap { grid-template-columns: 1fr; gap: 26px; }
  .map-fig { display: none; }
  .flow-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
  }
  .flow-chip {
    border: 1px solid rgba(20, 22, 26, 0.5);
    background: #fff;
    padding: 11px 14px;
    font-size: 13.5px;
  }
  .flow-hub {
    text-align: center;
    color: var(--blue);
    font-size: 11px;
    letter-spacing: 0.14em;
    padding: 8px 0;
  }
}

/* ---------- bevis / case files ---------- */

.case-track { gap: 22px; }
.case-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: 44px;
  align-items: start;
  padding: 8px 4px;
}
@media (max-width: 900px) {
  .case-slide { grid-template-columns: 1fr; gap: 26px; }
}

.badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: rgba(47, 107, 255, 0.07);
  margin-bottom: 6px;
}
.badge.example {
  border: 1px dashed var(--fog);
  color: var(--fog);
  background: transparent;
}

.case-info h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; margin: 10px 0 20px; }

.case-dl {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 16px;
  row-gap: 13px;
  font-size: 11px;
  margin-bottom: 22px;
}
.case-dl dt { color: var(--fog); letter-spacing: 0.08em; padding-top: 2px; }
.case-dl dd {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: #2A303C;
}
.case-note { font-size: 10px; color: var(--fog); letter-spacing: 0.05em; margin-bottom: 18px; }

.case-visual {
  position: relative;
  background: #fff;
  border: 1px solid rgba(20, 22, 26, 0.4);
  padding: 18px 18px 12px;
}
.case-svg { width: 100%; height: auto; display: block; }

.cs-frame { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.cs-line { fill: none; stroke: var(--fog); stroke-width: 1.2; }
.cs-line-c { fill: none; stroke: var(--fog); stroke-width: 1; }
.cs-url { font-size: 11px; fill: var(--fog); letter-spacing: 0.05em; }
.cs-screen { fill: #10131A; stroke: var(--ink); stroke-width: 1; }
.cs-brand { fill: #F2F4F7; font-family: 'Space Grotesk', sans-serif; font-size: 26px; letter-spacing: 0.12em; }
.cs-gold { stroke: #C9A461; stroke-width: 2; }
.cs-ghost { fill: rgba(242, 244, 247, 0.22); }
.cs-btn { fill: none; stroke: #C9A461; stroke-width: 1.2; }
.cs-ghost-box { fill: none; stroke: rgba(242, 244, 247, 0.4); stroke-dasharray: 4 4; }
.cs-label { font-size: 12px; fill: var(--ink); letter-spacing: 0.1em; }
.cs-tiny { font-size: 9px; fill: var(--fog); letter-spacing: 0.06em; }
.cs-tiny-w { font-size: 9px; fill: #fff; letter-spacing: 0.06em; }
.cs-grid line { stroke: var(--line); }
.cs-slot { fill: rgba(20, 22, 26, 0.06); stroke: var(--fog); stroke-width: 1; }
.cs-slot.blue { fill: var(--blue); stroke: var(--blue); }

.after-note {
  text-align: center;
  font-size: 10px;
  color: var(--fog);
  letter-spacing: 0.14em;
  margin-top: 30px;
}

/* ---------- om ---------- */

.om-grid {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 44px;
  align-items: start;
}
@media (max-width: 900px) {
  .om-grid { grid-template-columns: 1fr; }
}
.om-text p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #2A303C;
  max-width: 62ch;
}
.om-text p + p { margin-top: 18px; }

.facts-dl {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 14px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
}
.facts-dl dt { color: var(--fog); }
.facts-dl dd { text-align: right; color: var(--ink); }

/* ---------- kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 44px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form .panel-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 9.5px; letter-spacing: 0.12em; color: var(--fog); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="tel"], input[type="email"], textarea {
  border: 1px solid rgba(20, 22, 26, 0.45);
  border-radius: 0;
  background: #fff;
  padding: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.14);
}
textarea { resize: vertical; min-height: 110px; }

/* dropdown, styled to match the inputs but flat (no native chrome) */
.field select {
  border: 1px solid rgba(20, 22, 26, 0.45);
  border-radius: 0;
  background: #fff;
  padding: 12px 34px 12px 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%232F6BFF' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.14);
}

#f-hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
}

.form-err { color: var(--err); font-size: 10.5px; letter-spacing: 0.06em; }

.success-panel .panel-body {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14.5px;
  line-height: 1.5;
}
.success-check { width: 52px; height: 52px; flex: none; }
@keyframes draw-check { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
html.motion .success-check path {
  stroke-dasharray: 40;
  animation: draw-check 0.5s ease 0.15s backwards;
}

.direct { margin-top: 26px; font-size: 12px; letter-spacing: 0.06em; line-height: 1.9; }
.direct a { color: var(--blue); }
.direct a:hover { text-decoration: underline; }
.direct-sub { margin-top: 16px; font-size: 9.5px; color: var(--fog); line-height: 1.9; letter-spacing: 0.06em; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--ink);
  margin-top: clamp(84px, 11vh, 140px);
  padding: 42px 24px 60px;
}
.foot-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: 0.1em; }
.foot-links { display: flex; gap: 22px; font-size: 10.5px; flex-wrap: wrap; }
.foot-links a:hover, .foot-meta a:hover { color: var(--blue); }
.foot-meta { display: flex; align-items: center; gap: 20px; font-size: 10.5px; }
.foot-socials { display: inline-flex; gap: 10px; }
.foot-line {
  max-width: 1200px;
  margin: 30px auto 0;
  font-size: 9.5px;
  color: var(--fog);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  line-height: 1.8;
}

/* ---------- reveals (JS + motion only) ---------- */

html.js.motion .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--rd, 0s);
}
html.js.motion .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- intro overlay (JS-injected) ---------- */

.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--paper);
  background-image: radial-gradient(circle, rgba(20, 22, 26, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  cursor: pointer;
}
.intro-word {
  display: flex;
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 8vw, 92px);
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1;
}
.intro-letter { opacity: 0; }
.intro-letter.sp { width: 0.45em; }
.intro-letter.lit { animation: letter-flick 0.34s steps(1, end) forwards; }
@keyframes letter-flick {
  0% { opacity: 0; }
  18% { opacity: 1; }
  34% { opacity: 0; }
  52% { opacity: 1; }
  68% { opacity: 0.2; }
  100% { opacity: 1; }
}
.intro-bar {
  width: min(340px, 62vw);
  height: 3px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.intro-bar i {
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}
.intro.armed .intro-bar i {
  transform: scaleX(1);
  transition: transform 1.5s cubic-bezier(0.3, 0, 0.2, 1);
}
.intro-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--fog);
}
.intro.done { opacity: 0; transition: opacity 0.45s ease; pointer-events: none; }

/* ---------- responsive hero ---------- */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "head head"
      "left right";
  }
}
@media (max-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "right"
      "left";
  }
  .hero-head { padding-top: 1vh; }
  .nav-links { display: none; }
}
@media (min-width: 721px) and (max-width: 1000px) {
  .nav-links { gap: 16px; }
}

/* ---------- blueprint art objects (decorative, outside hero) ---------- */

.section { position: relative; }
.section::before {
  content: "+";
  position: absolute;
  top: 46px;
  left: 26px;
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 15px;
  color: var(--blue);
  opacity: 0.45;
  pointer-events: none;
}
.sec-num { border-bottom-color: rgba(47, 107, 255, 0.4); }

.bp-art {
  position: absolute;
  z-index: -1;
  color: var(--blue);
  opacity: 0.5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.bp-art svg { display: block; width: 100%; height: auto; }
.bp-cap {
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.bp-line { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.bp-dash { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 4 5; opacity: 0.8; }
.bp-faint { fill: none; stroke: currentColor; stroke-width: 0.9; opacity: 0.55; }
.bp-fill { fill: currentColor; stroke: none; }

.bp-art-planet { top: 96px; right: 36px; width: 140px; transform: rotate(5deg); }
.bp-art-sat { top: 84px; right: 90px; width: 160px; transform: rotate(7deg); }
.bp-art-moon { top: 64px; right: 44px; width: 140px; transform: rotate(-5deg); }
.bp-art-astro { bottom: -34px; right: 60px; width: 110px; transform: rotate(-10deg); }
.bp-art-gantry { bottom: -6px; right: 56px; width: 140px; }

@media (max-width: 1100px) {
  .bp-art { display: none; }
}

/* ---------- system map v2: server cabinet + AI ring ---------- */

.cab-frame { fill: #fff; stroke: rgba(20, 22, 26, 0.6); stroke-width: 1.6; }
.cab-detail { fill: none; stroke: var(--fog); stroke-width: 1; }
.cab-dim { fill: none; stroke: var(--fog); stroke-width: 1; opacity: 0.5; }
.cab-port { stroke: var(--blue); stroke-width: 2.4; }
.cab-row { fill: rgba(47, 107, 255, 0.1); stroke: var(--blue); stroke-width: 0.8; }
.cab-row.dim-row { fill: rgba(20, 22, 26, 0.05); stroke: var(--fog); }
.cab-cyl { fill: rgba(47, 107, 255, 0.05); stroke: var(--ink); stroke-width: 1.3; }
.cab-led { fill: var(--line); }
.door-face { fill: #F0F2F5; stroke: rgba(20, 22, 26, 0.55); stroke-width: 1.4; }
.door-screw { fill: none; stroke: var(--fog); stroke-width: 1; }
.door-handle { fill: var(--fog); }

.map-ring {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-dasharray: 7 6;
}
.map-ring.on { stroke: var(--deep); stroke-width: 2.6; }

.ring-dot {
  fill: var(--blue);
  transform-box: fill-box;
  transform-origin: center;
}
.ring-dot.on { fill: var(--deep); r: 7; }
#node-ai.hot .ring-dot { fill: var(--deep); }

.ai-pill rect { fill: #fff; stroke: var(--blue); stroke-width: 1.4; }
.ai-pill text {
  fill: var(--blue);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
#node-ai.hot .ai-pill rect { fill: var(--blue); }
#node-ai.hot .ai-pill text { fill: #fff; }

.map-legend li[data-path="ai"] > span { color: var(--deep); }
.map-legend li[data-path="ai"].hot {
  background: rgba(29, 51, 200, 0.06);
  box-shadow: inset 3px 0 0 var(--deep);
}

/* open/closed states: OPEN is the default (no-JS, reduced motion).
   JS adds .closed at init (motion only, first load of the session) and
   removes it once the figure scrolls into view, so the cabinet unpacks
   exactly one time. Later page loads never add .closed again. */

.map-node, .map-ring {
  transform-box: fill-box;
  transform-origin: center;
}
#cab-door { opacity: 0; transform: translate(150px, 0); }
.map-fig.closed #cab-door { opacity: 1; transform: none; }
.map-fig.closed #cab-inside { opacity: 0; }
.map-fig.closed .map-node {
  opacity: 0;
  transform: translate(var(--cx, 0px), var(--cy, 0px)) scale(0.35);
}
.map-fig.closed .map-path.base { opacity: 0; }
.map-fig.closed .map-ring { opacity: 0; transform: scale(0.8); }
.map-fig.closed .ring-dot { opacity: 0; transform: scale(0); }
.map-fig.closed .ai-pill { opacity: 0; }

html.motion .map-fig #cab-door {
  transition: transform 1.1s cubic-bezier(0.55, 0, 0.3, 1) 0.4s, opacity 0.6s ease 0.95s;
}
html.motion .map-fig #cab-inside { transition: opacity 0.7s ease 1.25s; }
html.motion .map-fig .map-ring {
  transition: opacity 0.7s ease 1.75s, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.75s;
}
html.motion .map-fig .ai-pill { transition: opacity 0.5s ease 2.3s; }
html.motion .map-fig .map-node {
  transition: opacity 0.7s ease var(--nd, 2.2s),
    transform 1s cubic-bezier(0.2, 0.7, 0.2, 1) var(--nd, 2.2s);
}
html.motion .map-fig .map-path.base { transition: opacity 0.9s ease 3.2s; }
html.motion .map-fig .ring-dot {
  transition: opacity 0.4s ease var(--dd, 3.5s),
    transform 0.4s cubic-bezier(0.3, 1.4, 0.5, 1) var(--dd, 3.5s);
}

/* ADDING .closed must snap, never animate in reverse: on back-navigation
   the browser restores scroll, so .closed can land while the figure is
   in full view. Only REMOVING .closed plays the unpack. */
html.motion .map-fig.closed #cab-door,
html.motion .map-fig.closed #cab-inside,
html.motion .map-fig.closed .map-ring,
html.motion .map-fig.closed .ai-pill,
html.motion .map-fig.closed .map-node,
html.motion .map-fig.closed .map-path.base,
html.motion .map-fig.closed .ring-dot { transition: none; }

/* the AI ring is never at rest: the dashes march around the cabinet */
@keyframes ring-march { to { stroke-dashoffset: -52; } }
@media (prefers-reduced-motion: no-preference) {
  .map-ring { animation: ring-march 5.5s linear infinite; }
}
html.motion .map-ring { animation: ring-march 5.5s linear infinite; }

/* server-rack door units + node icons + trace junction dots */
.door-unit { fill: #FAFBFC; stroke: rgba(20, 22, 26, 0.4); stroke-width: 1.1; }
.node-ico {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.node-ico-fill { fill: var(--blue); stroke: none; }
.map-jdot { fill: #AEB8C6; }

/* ---------- systemkart v3: icons only, depth, two-way hover ---------- */

.map-legend li[data-path] {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
}
.map-legend li[data-path] > div { min-width: 0; }
.leg-ico {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--blue);
  margin-top: 2px;
}
.leg-ico * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.leg-ico .fi { fill: currentColor; stroke: none; }

/* icon nodes: currentColor flows through <use>, back copy gives depth */
.ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icf { fill: currentColor; stroke: none; }
use.ico-back { color: #C7CEDA; }
use.ico-front { color: var(--blue); }
html.motion use.ico-front { transition: transform 0.18s ease; }
.map-node.hot use.ico-front { color: var(--deep); transform: translate(-2px, -2px); }
.cab-shadow, .ico-shadow { fill: rgba(20, 22, 26, 0.09); }
.ico-hit { fill: transparent; stroke: none; pointer-events: all; }
.map-node, #node-ai { cursor: pointer; }

/* the AI chip on the ring (word-free) */
.ai-chip .chip-body { fill: #fff; stroke: var(--blue); stroke-width: 1.5; }
.ai-chip .chip-core { fill: rgba(47, 107, 255, 0.12); stroke: var(--blue); stroke-width: 1.2; }
.ai-chip .pin { stroke: var(--blue); stroke-width: 1.5; }
#node-ai.hot .ai-chip .chip-body { fill: var(--blue); }
#node-ai.hot .ai-chip .chip-core { fill: #fff; stroke: #fff; }

/* intro wordmark: serif (Sutéra's mark is custom lettering, this is the
   in-brand serif the hero slogan already uses) */
.intro-word {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* ---------- priser page ---------- */

.nav-links a.active { color: var(--ink); }
.nav-links a.active::before,
.nav-links a.active::after { opacity: 1; }

.pris-main { margin-top: 67px; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .tier-grid { grid-template-columns: 1fr; }
}

.tier-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tier-card h3 { font-size: 25px; font-weight: 500; margin-top: 20px; }
.tier-for { font-size: 13.5px; color: var(--body); line-height: 1.5; }
.tier-price {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 6px;
}
.tier-price span {
  font-size: 9.5px;
  color: var(--fog);
  font-weight: 400;
  letter-spacing: 0.12em;
}
.tier-mo { font-size: 11px; color: var(--blue); letter-spacing: 0.1em; }
.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 6px;
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  font-size: 13.5px;
  color: var(--body);
}
.tier-list li { padding-left: 18px; position: relative; line-height: 1.45; }
.tier-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-family: 'JetBrains Mono', monospace;
}
.tier-pitch {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 16px;
  color: #2A303C;
  border-left: 2px solid var(--blue);
  padding-left: 12px;
  margin-top: auto;
  line-height: 1.4;
}
.tier-time { font-size: 9px; color: var(--fog); letter-spacing: 0.14em; margin-top: 4px; }
.tier-card.featured { border-color: var(--blue); box-shadow: 5px 5px 0 rgba(47, 107, 255, 0.16); }
.tier-card.featured::before,
.tier-card.featured::after { border-color: var(--blue); }
.tier-badge {
  position: absolute;
  top: -11px;
  left: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 4px 10px;
}

.cmp-head, .cmp-row, .cmp-sum, .cmp-total {
  display: grid;
  grid-template-columns: 1fr auto 110px;
  gap: 14px;
  align-items: center;
}
.cmp-head {
  font-size: 9px;
  color: var(--fog);
  letter-spacing: 0.12em;
  padding: 4px 0 10px;
}
.cmp-head span:last-child { text-align: center; }
.cmp-row {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 11px 0;
  border-top: 1px dashed var(--line);
}
.cmp-row b { color: var(--fog); font-weight: 400; white-space: nowrap; }
.cmp-check { color: var(--blue); font-style: normal; font-weight: 700; text-align: center; }
.cmp-sum {
  border-top: 1px solid var(--ink);
  padding: 14px 0 4px;
  font-size: 10px;
  color: var(--fog);
  letter-spacing: 0.06em;
}
.cmp-sum b { color: #4A5262; font-weight: 500; text-align: right; }
.cmp-total { padding: 10px 0 4px; font-size: 11px; letter-spacing: 0.08em; }
.cmp-total b { color: var(--blue); font-size: 19px; font-weight: 700; text-align: right; }
@media (max-width: 640px) {
  .cmp-head, .cmp-row, .cmp-sum, .cmp-total { grid-template-columns: 1fr auto; }
  .cmp-check, .cmp-head span:last-child { display: none; }
}

.fair-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) {
  .fair-grid { grid-template-columns: 1fr; }
}
.fair-item {
  border: 1px solid rgba(20, 22, 26, 0.5);
  background: #fff;
  padding: 20px 22px;
}
.fair-item h4 {
  font-size: 10.5px;
  color: var(--blue);
  letter-spacing: 0.14em;
  font-weight: 500;
  margin-bottom: 10px;
}
.fair-item p { font-size: 13.5px; line-height: 1.55; color: var(--body); }

.pris-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 38px;
}

/* daily framing under each tier price + the two value anchors */
.tier-day {
  font-size: 9.5px;
  color: var(--fog);
  letter-spacing: 0.12em;
  margin-top: 3px;
}
.pris-anchors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 24px;
}
@media (max-width: 760px) {
  .pris-anchors { grid-template-columns: 1fr; }
}
.pris-anchors .fair-item strong { color: var(--blue); font-weight: 500; }

/* ---------- tier spec matrix: features x tiers, with status lights ---------- */
.spec-scroll { overflow-x: auto; margin-top: 6px; padding-top: 16px; }
.spec-matrix {
  min-width: 480px;
  border: 1px solid rgba(20, 22, 26, 0.5);
  background: #fff;
}
.spec-row {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  align-items: stretch;
}
.spec-row + .spec-row { border-top: 1px dashed var(--line); }

.spec-feat {
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--body);
  padding: 12px 16px 12px 20px;
}
.spec-corner { color: var(--fog); font-size: 9px; letter-spacing: 0.14em; }

.spec-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
}
.spec-cell.featured {
  background: rgba(47, 107, 255, 0.05);
  box-shadow: inset 1px 0 0 rgba(47, 107, 255, 0.22), inset -1px 0 0 rgba(47, 107, 255, 0.22);
}

/* header */
.spec-head-row { border-bottom: 1px solid var(--ink); }
.spec-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 18px 8px 14px;
  text-align: center;
}
.spec-tier.featured {
  background: rgba(47, 107, 255, 0.05);
  box-shadow: inset 1px 0 0 rgba(47, 107, 255, 0.35), inset -1px 0 0 rgba(47, 107, 255, 0.35);
}
.spec-tier-name { font-size: 17px; font-weight: 500; color: var(--ink); }
.spec-tier-eng { font-size: 12px; color: #2A303C; font-weight: 500; letter-spacing: 0.02em; }
.spec-tier-mo { font-size: 15px; font-weight: 700; color: var(--blue); margin-top: 4px; }
.spec-tier-day { font-size: 8px; color: var(--fog); letter-spacing: 0.1em; }
.spec-badge {
  position: absolute;
  top: -10px;
  background: var(--blue);
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
}

/* status light: hollow = not in this tier, solid blue = included */
.spec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 22, 26, 0.2);
  background: transparent;
  box-sizing: border-box;
}
.spec-dot.on { border-color: var(--blue); background: var(--blue); }

@keyframes spec-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0); opacity: 1; }
  50% { box-shadow: 0 0 8px 1px rgba(47, 107, 255, 0.6); opacity: 0.72; }
}
/* blink only with motion; reduced-motion + no-JS see a steady lit dot */
html.motion .spec-dot.on { animation: spec-blink 2.4s ease-in-out infinite; }
html.motion .spec-cell:nth-child(3) .spec-dot.on { animation-delay: 0.4s; }
html.motion .spec-cell:nth-child(4) .spec-dot.on { animation-delay: 0.8s; }

/* footer rows: delivery time + one-line pitch */
.spec-foot-row { border-top: 1px solid var(--ink); }
.spec-txt { font-size: 10px; letter-spacing: 0.08em; color: var(--fog); }
.spec-pitch {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 14px;
  color: #2A303C;
  text-align: center;
  line-height: 1.3;
  padding: 6px 10px 16px;
}
.spec-note { margin-top: 12px; }

/* existing-system callout: sell the backend onto what a client already has */
.pris-existing {
  border: 1px solid rgba(20, 22, 26, 0.5);
  border-left: 3px solid var(--blue);
  background: #fff;
  padding: 18px 22px;
  margin-top: 20px;
}
.pris-existing-tag {
  font-size: 10.5px;
  color: var(--blue);
  letter-spacing: 0.14em;
  font-weight: 500;
  margin-bottom: 8px;
}
.pris-existing-body { font-size: 13.5px; line-height: 1.55; color: var(--body); }

@media (max-width: 720px) {
  .spec-feat { font-size: 11.5px; padding: 10px 8px 10px 12px; }
  .spec-tier-name { font-size: 14px; }
  .spec-tier-mo { font-size: 13px; }
  .spec-pitch { font-size: 12px; }
}

/* ---------- kundeord (reviews strip, display examples) ---------- */
.reviews { margin-bottom: 42px; }
.reviews-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
  margin-bottom: 22px;
}
.reviews-label { font-size: 11px; letter-spacing: 0.16em; color: var(--fog); }
.reviews-flag { font-size: 9px; letter-spacing: 0.12em; color: var(--blue); }
.reviews-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 820px) { .reviews-row { grid-template-columns: 1fr; } }
.review {
  margin: 0;
  border: 1px solid rgba(20, 22, 26, 0.4);
  background: #fff;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review p {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 18px;
  line-height: 1.4;
  color: #2A303C;
}
.review cite {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fog);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ex-tag {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 2px 5px;
}

/* ---------- FAQ accordion (native details, works without JS) ---------- */
.faq-list { max-width: 840px; border-top: 1px dashed var(--line); }
.faq-item { border-bottom: 1px dashed var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 2px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { flex: none; font-size: 10px; color: var(--fog); letter-spacing: 0.1em; }
.faq-q { flex: 1; font-size: 16.5px; font-weight: 500; color: var(--ink); }
.faq-ico { position: relative; flex: none; width: 15px; height: 15px; }
.faq-ico::before, .faq-ico::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--blue);
}
.faq-ico::before { width: 13px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-ico::after {
  width: 1.5px;
  height: 13px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-ico::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item[open] .faq-q { color: var(--deep); }
.faq-a { padding: 0 2px 20px 40px; }
.faq-a p { font-size: 14.5px; line-height: 1.6; color: var(--body); max-width: 64ch; }
@media (max-width: 620px) {
  .faq-a { padding-left: 2px; }
  .faq-q { font-size: 15px; }
}
