/* AmbiStation website: "Lumen" design language from the AmbiStation plug-in (night default, day for light mode).
   Rules: colourless chrome, colour only where it means something (areas, parameters, modulation = green, trial = orange),
   hard chamfered corners with ink-trap notches, 1px hairlines, mono for technical lines, no extra letter-spacing. */

:root {
  /* core: night */
  --ink: #ecebe6;
  --paper: #151517;
  --ground: #0c0c0e;
  --muted: #9a9a93;
  --hair: rgba(236, 235, 230, .2);
  --blob1: #1d1d21; --blob2: #060607; --blob3: #19191c; --blob4: #141417;
  --glass: rgba(255, 255, 255, .045);
  --rim-top: rgba(255, 255, 255, .26);
  --rim-bot: rgba(140, 140, 140, .14);
  --sheen: rgba(255, 255, 255, .05);
  --foot: rgba(0, 0, 0, .28);
  --spec: rgba(255, 255, 255, .55);
  --sh: rgba(0, 0, 0, .42);
  --grain: .035;
  --ghost: rgba(138, 138, 134, .5);
  --wm-ghost: rgba(154, 124, 255, .6);

  /* print palette: night */
  --p0: #2f9ce6; --p1: #ff5cbc; --p2: #8ea3ba; --p3: #ffdc2e; --p4: #1ec4c9; --p5: #ff7d45; --p6: #9d82d6; --p7: #d8b07a;
  --p8: #22d688; --p9: #ff4f5a; --p10: #8ed6ff; --p11: #d0668c; --p12: #ff6e52; --p13: #9a7cff; --p14: #26c6dc; --p15: #5577ff;

  --trial: #f0a35e;
  --ok: #7ee081;
  --err: #ff7b7b;
  --mod: var(--p8);
  --hot: var(--p9);

  --display: "Avenir Next", "Avenir Next LT Pro", Avenir, "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --text: "Avenir Next", "Avenir Next LT Pro", Avenir, "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --mono: Menlo, "SF Mono", ui-monospace, "JetBrains Mono", Consolas, "Liberation Mono", monospace;

  --cut: 14px;
  --cut-s: 6px;
}

@media (prefers-color-scheme: light) {
  :root {
    --ink: #141414;
    --paper: #f4f3ef;
    --ground: #e9e8e4;
    --muted: #555550;
    --hair: rgba(20, 20, 20, .2);
    --blob1: #ffffff; --blob2: #d2d1cc; --blob3: #ffffff; --blob4: #dedcd6;
    --glass: rgba(255, 255, 255, .34);
    --rim-top: rgba(255, 255, 255, .95);
    --rim-bot: rgba(120, 120, 115, .45);
    --sheen: rgba(255, 255, 255, .5);
    --foot: rgba(0, 0, 0, .05);
    --spec: rgba(255, 255, 255, 1);
    --sh: rgba(0, 0, 0, .12);
    --grain: .07;
    --wm-ghost: rgba(110, 80, 200, .6);

    --p0: #0078bf; --p1: #ff48b0; --p2: #5c6e82; --p3: #ffd600; --p4: #009da5; --p5: #ff6c2f; --p6: #765ba7; --p7: #c49a62;
    --p8: #00be6e; --p9: #e5333f; --p10: #78c8f0; --p11: #963c5a; --p12: #ff5a3c; --p13: #6e50c8; --p14: #00aabe; --p15: #1e3cc8;
  }
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; position: relative; overflow-x: hidden;
  background: var(--ground); color: var(--ink);
  font: 500 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
/* drifting light clouds */
body::before {
  content: ""; position: fixed; inset: -25%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(32% 28% at 22% 24%, var(--blob1), transparent 70%),
    radial-gradient(30% 34% at 78% 30%, var(--blob3), transparent 70%),
    radial-gradient(36% 30% at 60% 78%, var(--blob4), transparent 70%),
    radial-gradient(28% 26% at 18% 82%, var(--blob2), transparent 70%),
    var(--ground);
  animation: drift 90s ease-in-out infinite alternate;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 2.2 -1.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.02); }
}

a { color: var(--ink); text-decoration-color: var(--hair); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--ink); }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 2.6rem); }
h2 { font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.5rem); margin-top: 1.6em; }
h3 { font-weight: 600; font-size: 1.15rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .88em; }
code { word-break: break-all; }
strong { font-weight: 700; }
del { text-decoration-thickness: 1px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--paper); padding: 8px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow, .tag {
  font: 400 11px/1.4 var(--mono); text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}
.meta { color: var(--muted); font-size: .9rem; }
.mono-line { font: 400 11px/1.6 var(--mono); text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ wordmark (misregistered ghost) */

.wordmark {
  position: relative; display: inline-block; isolation: isolate;
  font: 800 42px/1 var(--display); letter-spacing: 0; text-transform: lowercase; color: var(--ink);
}
.wordmark::before {
  content: attr(data-text); position: absolute; left: 0; top: 0; z-index: -1;
  color: var(--ghost); transform: translateX(3px);
  animation: misregister 6.3s steps(1, end) infinite;
}
.wordmark.hub::before { color: var(--wm-ghost); }
.wordmark.wm-s { font-size: 26px; }
.wordmark.wm-xl { font-size: clamp(3rem, 15vw, 9.5rem); }
.wordmark.wm-xl::before { transform: translateX(.07em); animation-name: misregister-xl; }
@keyframes misregister { 0%, 88.8% { transform: translateX(3px); } 88.9%, 100% { transform: translateX(4.5px); } }
@keyframes misregister-xl { 0%, 88.8% { transform: translateX(.07em); } 88.9%, 100% { transform: translateX(.105em); } }

.plate-tag {
  display: inline-block; vertical-align: middle; margin-left: 12px;
  background: var(--ink); color: var(--paper); font: 700 12px/22px var(--mono); padding: 0 12px; min-width: 54px; text-align: center;
}

/* ------------------------------------------------------------------ chamfered glass */

.glass {
  position: relative; isolation: isolate; padding: clamp(18px, 3vw, 30px);
  filter: drop-shadow(0 3px 2px var(--sh)) drop-shadow(0 6px 5px rgba(0,0,0,.08)) drop-shadow(0 9px 9px rgba(0,0,0,.06)) drop-shadow(0 12px 14px rgba(0,0,0,.05));
  --shape: polygon(var(--cut) 0, calc(100% - 22px) 0, calc(100% - 16px) 5px, calc(100% - 10px) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 22px 100%, 16px calc(100% - 5px), 10px 100%, 0 100%, 0 var(--cut));
}
.glass::before, .glass::after { content: ""; position: absolute; z-index: -1; clip-path: var(--shape); pointer-events: none; }
.glass::before { inset: 0; background: linear-gradient(to bottom, var(--rim-top), var(--rim-bot)); }
.glass::after {
  inset: 1px;
  background:
    linear-gradient(90deg, transparent 6%, var(--spec) 30%, var(--spec) 70%, transparent 94%) top / 100% 1.2px no-repeat,
    linear-gradient(to bottom, var(--sheen), transparent 90px),
    linear-gradient(to top, var(--foot), transparent 24px),
    linear-gradient(var(--glass), var(--glass)),
    var(--ground);
}
.glass.solid::after { background:
    linear-gradient(90deg, transparent 6%, var(--spec) 30%, var(--spec) 70%, transparent 94%) top / 100% 1.2px no-repeat,
    linear-gradient(to bottom, var(--sheen), transparent 90px),
    linear-gradient(to top, var(--foot), transparent 24px),
    var(--paper); }
.glass > :last-child { margin-bottom: 0; }
.glass + .glass { margin-top: 18px; }

/* print crop marks: 10px marks, 4px gap */
.crop { position: relative; }
.crop > .marks {
  position: absolute; inset: -14px; pointer-events: none; z-index: 1;
  --m: linear-gradient(var(--muted), var(--muted));
  background:
    var(--m) left 0 top 14px / 10px 1px no-repeat, var(--m) left 14px top 0 / 1px 10px no-repeat,
    var(--m) right 0 top 14px / 10px 1px no-repeat, var(--m) right 14px top 0 / 1px 10px no-repeat,
    var(--m) left 0 bottom 14px / 10px 1px no-repeat, var(--m) left 14px bottom 0 / 1px 10px no-repeat,
    var(--m) right 0 bottom 14px / 10px 1px no-repeat, var(--m) right 14px bottom 0 / 1px 10px no-repeat;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-block; cursor: pointer; text-decoration: none; text-align: center;
  font: 600 15px/1 var(--text); color: var(--ink); padding: 14px 20px; border: 0;
  background: linear-gradient(to bottom, var(--sheen), transparent), var(--glass);
  box-shadow: inset 0 0 0 1px var(--hair);
  clip-path: polygon(var(--cut-s) 0, 100% 0, 100% calc(100% - var(--cut-s)), calc(100% - var(--cut-s)) 100%, 0 100%, 0 var(--cut-s));
  transition: transform .12s ease, background-color .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn-primary:hover { color: var(--paper); box-shadow: none; filter: brightness(1.08); }
.btn-trial { background: var(--trial); color: #141414; box-shadow: none; }
.btn-trial:hover { color: #141414; box-shadow: none; filter: brightness(1.06); }
.btn-lg { padding: 17px 26px; font-size: 16px; }
.btn-ghost { background: transparent; }

/* ------------------------------------------------------------------ header / footer */

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.logo { text-decoration: none; display: inline-flex; align-items: center; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }

.site-footer { border-top: 1px solid var(--hair); padding: 36px 0 28px; margin-top: 40px; }
.footer-inner { display: grid; gap: 12px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-inner nav a { color: var(--muted); text-decoration: none; }
.footer-inner nav a:hover { color: var(--ink); }
.watermark { font: 400 9.5px/1.6 var(--mono); text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ sections */

.section { padding: clamp(52px, 8vw, 104px) 0; }
.section-title { margin-top: 0; }
.section-head { max-width: 640px; margin-bottom: 34px; }
.rule { border: 0; border-top: 1px solid var(--hair); margin: 0; }

.hero { padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 10px; }
.hero-grid > figure { margin: 0; }
.wordmark.wm-xl { max-width: 100%; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin: 0 0 .25em; }
.lead { font-size: clamp(1.08rem, 2.1vw, 1.3rem); color: var(--ink); max-width: 560px; }
.lead.muted { color: var(--muted); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.grid .glass + .glass { margin-top: 0; }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.four { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ viewport visual */

.viewport { padding: 14px; }
.viewport svg { display: block; width: 100%; height: auto; }
.vp-line { stroke: var(--hair); stroke-width: 1; fill: none; }
.vp-line.strong { stroke: var(--muted); }
.vp-ink { stroke: var(--ink); stroke-width: 1; fill: none; }
.vp-fill-ink { fill: var(--ink); }
.vp-label { font: 400 9px var(--mono); fill: var(--muted); text-transform: uppercase; }
.vp-num { font: 700 9px var(--mono); fill: var(--ink); }
.s0 { stroke: var(--p0); } .s1 { stroke: var(--p1); } .s4 { stroke: var(--p4); } .s3 { stroke: var(--p3); } .s6 { stroke: var(--p6); }
.f0 { fill: var(--p0); } .f1 { fill: var(--p1); } .f4 { fill: var(--p4); } .f3 { fill: var(--p3); } .f6 { fill: var(--p6); }
.scribble { fill: none; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.ring { fill: none; stroke-width: 1.2; }
.path-mod { fill: none; stroke: var(--mod); stroke-width: 1.2; stroke-dasharray: 4 5; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.mote { animation: mote 7s ease-in-out infinite alternate; }
.mote.m2 { animation-duration: 9s; animation-delay: -3s; }
.mote.m3 { animation-duration: 11s; animation-delay: -5s; }
.mote.m4 { animation-duration: 8s; animation-delay: -1s; }
@keyframes mote { 0% { transform: translate(0, 0); opacity: .9; } 50% { transform: translate(6px, -8px); opacity: .45; } 100% { transform: translate(-5px, 4px); opacity: 1; } }
.orbit { animation: orbit 14s ease-in-out infinite alternate; transform-origin: 300px 210px; }
@keyframes orbit { from { transform: translate(0, 0); } to { transform: translate(-26px, 10px); } }

/* segmented meter: 4px segments every 5px, red hot end */
.meter { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; margin-top: 12px; }
.meter .bar {
  height: 8px; position: relative;
  background: repeating-linear-gradient(90deg, var(--hair) 0 4px, transparent 4px 5px);
}
.meter .bar::after {
  content: ""; position: absolute; inset: 0; width: 72%;
  background:
    repeating-linear-gradient(90deg, transparent 0 4px, var(--ground) 4px 5px),
    linear-gradient(90deg, var(--ink) 0 70%, var(--p3) 82%, var(--hot) 100%);
  background-size: auto, 138.9% 100%;
  animation: level 2.4s ease-in-out infinite alternate;
}
@keyframes level { 0% { width: 54%; } 35% { width: 76%; } 60% { width: 63%; } 100% { width: 88%; } }
.meter .scale-labels { grid-column: 2; display: flex; justify-content: space-between; font: 400 9px var(--mono); color: var(--muted); }

/* ------------------------------------------------------------------ data plates */

.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px 22px; }
.plate {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px;
  background: var(--paper); border-block: 1px solid var(--ink); padding: 7px 10px; font-family: var(--mono);
}
.plate .code { font-size: 10px; color: var(--muted); text-transform: uppercase; }
.plate .val { font-size: 13px; font-weight: 700; white-space: nowrap; }
.plate .scale {
  position: relative; height: 12px;
  background:
    linear-gradient(var(--hair), var(--hair)) left 50% / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 10%) left bottom / 100% 5px no-repeat;
}
.plate .scale i { position: absolute; top: -1px; bottom: -1px; width: 2px; background: var(--ink); left: 50%; }
.plate .scale i.at-0 { left: 0; } .plate .scale i.at-15 { left: 15%; } .plate .scale i.at-30 { left: 30%; } .plate .scale i.at-45 { left: 45%; }
.plate .scale i.at-60 { left: 60%; } .plate .scale i.at-75 { left: 75%; } .plate .scale i.at-90 { left: 90%; } .plate .scale i.at-100 { left: calc(100% - 2px); }
.plate .scale b { position: absolute; top: 3px; bottom: 3px; left: 25%; width: 50%; background: color-mix(in srgb, var(--mod) 35%, transparent); }
.plate .scale b::after { content: ""; position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--mod); left: 0; animation: tick 2.6s ease-in-out infinite alternate; }
@keyframes tick { to { left: calc(100% - 2px); } }
.plate.big .val { font-size: 20px; }
.plate.struck .val { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }

/* ------------------------------------------------------------------ areas */

.area { --a: var(--muted); overflow: hidden; }
.area.vael { --a: var(--p0); } .area.kesh { --a: var(--p6); } .area.tiru { --a: var(--p1); } .area.solm { --a: var(--p4); }
/* each area tints its own ambient cloud (12-20 %) */
.area::after {
  background:
    linear-gradient(90deg, transparent 6%, var(--spec) 30%, var(--spec) 70%, transparent 94%) top / 100% 1.2px no-repeat,
    radial-gradient(80% 70% at 88% 0%, color-mix(in srgb, var(--a) 18%, transparent), transparent 72%),
    linear-gradient(to bottom, var(--sheen), transparent 90px),
    linear-gradient(to top, var(--foot), transparent 24px),
    linear-gradient(var(--glass), var(--glass)),
    var(--ground);
}
.area-title {
  position: relative; display: inline-block; isolation: isolate;
  font: 800 clamp(2.2rem, 4.2vw, 2.6rem)/1 var(--display); margin: 2px 0 8px; text-transform: lowercase;
}
.area-title::before {
  content: attr(data-text); position: absolute; left: 0; top: 0; z-index: -1;
  color: color-mix(in srgb, var(--a) 70%, transparent);
  animation: ghostdrift 9s ease-in-out infinite alternate;
}
@keyframes ghostdrift { 0% { transform: translate(3px, 0); } 50% { transform: translate(5px, 1px); } 100% { transform: translate(2px, -1px); } }
.area .tag { color: var(--a); margin-bottom: 14px; }
.area ul { margin: 0; padding: 0; list-style: none; }
.area li { padding: 8px 0; border-top: 1px solid var(--hair); font-size: .95rem; }

.objects .glass h3 { margin-bottom: .4em; }

.rules { list-style: none; padding: 0; margin: 0; counter-reset: r; }
.rules li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair); font-size: 1.05rem; }
.rules li:last-child { border-bottom: 1px solid var(--hair); }
.rules li::before { counter-increment: r; content: "0" counter(r); font: 400 11px/1.9 var(--mono); color: var(--muted); }
.rules .green { color: var(--mod); font-weight: 600; }

/* ------------------------------------------------------------------ licence card */

.price-card .ticks { list-style: none; padding: 0; margin: 22px 0; }
.price-card .ticks li { padding: 8px 0 8px 24px; border-top: 1px solid var(--hair); position: relative; font-size: .97rem; }
.price-card .ticks li:last-child { border-bottom: 1px solid var(--hair); }
.price-card .ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 10px; height: 1px; background: var(--ink); }
.offer { display: inline-block; font: 700 11px/1 var(--mono); text-transform: uppercase; padding: 6px 10px; background: var(--ink); color: var(--paper); margin-bottom: 14px; }
.price-plates { display: grid; gap: 8px; margin: 18px 0 8px; }
.student { font-size: .95rem; margin: 10px 0 0; }

.buy-form { display: grid; gap: 14px; margin-top: 24px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none; flex: none; margin: .2em 0 0; width: 16px; height: 16px; cursor: pointer;
  border: 1px solid var(--ink); background: transparent; display: grid; place-content: center;
}
.check input::after { content: ""; width: 8px; height: 8px; background: var(--ink); transform: scale(0); transition: transform .1s; }
.check input:checked::after { transform: scale(1); }
.buy-buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.notice { border-block: 1px solid var(--hair); padding: 14px 0; color: var(--muted); font-family: var(--mono); font-size: .85rem; }

/* ------------------------------------------------------------------ downloads */

.downloads { list-style: none; padding: 0; display: grid; gap: 16px; margin: 28px 0; }
.downloads li { display: grid; gap: 8px; }
.downloads .btn { justify-self: start; }
.downloads .meta { font-family: var(--mono); font-size: .78rem; }
.hash code { font-size: .74rem; color: var(--muted); }

/* ------------------------------------------------------------------ FAQ */

.faq-group { font: 400 11px/1.4 var(--mono); text-transform: uppercase; color: var(--muted); margin: 2.6em 0 .6em; }
details { border-top: 1px solid var(--hair); }
details:last-of-type { border-bottom: 1px solid var(--hair); }
summary { cursor: pointer; padding: 15px 40px 15px 0; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 18px var(--mono); color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 0 18px; color: var(--muted); max-width: 70ch; }
details p strong, details p a { color: var(--ink); }

/* ------------------------------------------------------------------ licence key (success) */

.licence { margin: 22px 0; }
.licence .label { margin: 0 0 8px; font: 400 11px var(--mono); text-transform: uppercase; color: var(--muted); }
.licence .key { margin: 0 0 10px; }
.licence .key code { display: block; background: var(--paper); border-block: 1px solid var(--ink); padding: 12px; font-size: 1.05rem; font-weight: 700; user-select: all; color: var(--ink); }

/* ------------------------------------------------------------------ legal */

.legal h2 { font-size: 1.3rem; font-weight: 700; margin-top: 2em; }
.legal .de { color: var(--muted); font-weight: 500; font-size: .5em; }
.legal li { margin: 4px 0; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 400 12px var(--mono); margin: 20px 0 28px; }
.toc a { color: var(--muted); }

ol.steps { padding-left: 1.2em; }
ol.steps li { margin: 6px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
