/* GG Publishing ApS — design system
   Near-black dark · lime & chartreuse · Unbounded + Plus Jakarta Sans
   Bento grid · dot-grid motif · cut corners · floating pill nav */

:root {
  --bg: #0b0d0a;
  --bg-2: #10130e;
  --surface: #151a12;
  --surface-2: #1c2318;
  --line: #2b3526;
  --line-strong: #3d4a35;
  --text: #eef3e4;
  --muted: #a6b19a;
  --lime: #c8f53a;
  --lime-soft: #e3fb94;
  --chartreuse: #9bd12b;
  --ink: #0b0d0a;
  --danger: #ff8a6b;

  --font-display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --cut: 18px;
  --cut-sm: 10px;
  --radius-pill: 999px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --space: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

/* dot-grid motif on the page canvas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(200, 245, 58, .11) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .15) 100%);
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: var(--lime-soft); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--space); }
.section--tint { background: var(--bg-2); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.hl { color: var(--lime); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--lime);
  color: var(--ink);
  padding: .6em 1em;
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Cut-corner primitives ---------- */
.cut {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.cut-sm {
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .8em 1.5em;
  font: 700 .95rem/1 var(--font-body);
  letter-spacing: .01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--lime-soft); color: var(--ink); transform: translateY(-1px); }
.btn--ghost {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--line); color: var(--text); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Floating pill nav ---------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding-inline: var(--gutter);
  margin-top: 14px;
}
.nav-pill {
  max-width: var(--wrap);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 8px 8px 8px 22px;
  background: rgba(21, 26, 18, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--lime); }
.brand:hover { color: var(--text); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .55em 1em;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-cta.btn { border-radius: var(--radius-pill); clip-path: none; min-height: 42px; padding: .6em 1.2em; font-size: .9rem; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5em;
  min-height: 42px;
  padding: 0 1.1em;
  font: 700 .9rem/1 var(--font-body);
  color: var(--ink);
  background: var(--lime);
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-pill { flex-wrap: wrap; border-radius: 26px; }
  .nav-menu { display: none; width: 100%; padding: 6px 6px 10px 0; }
  .nav-pill.is-open .nav-menu { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: .8em 1em; }
  .nav-cta.btn { width: 100%; margin-top: 6px; }
  .no-js .nav-menu { display: block; }
  .no-js .nav-toggle { display: none; }
}
@media (min-width: 901px) {
  .nav-menu { display: flex; align-items: center; gap: 10px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 110px) clamp(48px, 6vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: .45em; }
.hero h1 .hl { display: inline; background: linear-gradient(180deg, transparent 62%, rgba(200, 245, 58, .22) 62%); color: var(--lime); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 6vw, 64px);
  background: var(--line);
  border: 1px solid var(--line);
}
.fact-strip div { background: var(--bg); padding: 18px 20px; }
.fact-strip dt {
  font-family: var(--font-display);
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.fact-strip dd { margin: 0; font-weight: 700; font-size: .98rem; }
@media (max-width: 760px) { .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .fact-strip { grid-template-columns: 1fr; } }

/* ---------- Hero widget: pitch-route checker ---------- */
.widget {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(22px, 3vw, 30px);
}
.widget::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 46px; height: 46px;
  background: linear-gradient(225deg, var(--lime) 0 50%, transparent 50%);
  opacity: .9;
}
.widget h2 { font-size: 1.15rem; margin-bottom: .35em; padding-right: 40px; }
.widget > p { color: var(--muted); font-size: .95rem; }
.widget fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.widget legend {
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: .5em .95em;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.chip input:checked + span { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.chip span:hover { border-color: var(--lime); }

.widget-result {
  margin-top: 6px;
  padding: 18px;
  background: var(--bg);
  border: 1px dashed var(--line-strong);
}
.widget-result h3 { font-size: .98rem; color: var(--lime); margin-bottom: .4em; }
.widget-result p { font-size: .93rem; color: var(--muted); margin-bottom: .7em; }
.widget-result ul { margin: 0 0 1em; padding-left: 1.1em; font-size: .93rem; }
.widget-result .btn { min-height: 42px; font-size: .88rem; }
.widget-noscript { font-size: .93rem; color: var(--muted); }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.tile {
  position: relative;
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 30px);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tile--wide { grid-column: span 4; }
.tile--half { grid-column: span 3; }
.tile--accent { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tile--accent p, .tile--accent .muted { color: #2a3410; }
.tile--accent .tile-num { color: rgba(11, 13, 10, .35); }
.tile--dots {
  background-color: var(--surface);
  background-image: radial-gradient(rgba(200, 245, 58, .22) 1.2px, transparent 1.6px);
  background-size: 16px 16px;
}
.tile h3 { margin-bottom: .55em; }
.tile p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
.tile-num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  color: var(--chartreuse);
  letter-spacing: .1em;
  margin-bottom: 18px;
  display: block;
}
.tile-icon { width: 40px; height: 40px; margin-bottom: 18px; color: var(--lime); }
.tile--accent .tile-icon { color: var(--ink); }
.tile a.tile-link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: .92rem; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--wide, .tile--half { grid-column: span 1; }
  .tile--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--wide, .tile--half { grid-column: span 1; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 26px 22px;
  position: relative;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--lime);
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.02rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--lime);
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--line-strong); }
.faq .faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.detail-list li { background: var(--surface); padding: 14px 18px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
.detail-list .k { font-family: var(--font-display); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .3em; }
.detail-list .v { font-weight: 600; overflow-wrap: anywhere; }
.detail-list a { color: var(--text); }
.detail-list a:hover { color: var(--lime); }
@media (max-width: 460px) { .detail-list li { grid-template-columns: 1fr; gap: 2px; } }

.form-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 34px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .92rem; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: .8em .9em;
  border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--lime); outline-offset: 0; border-color: var(--lime); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; margin-bottom: 20px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--lime); flex: none; }
.form-status { margin-top: 14px; font-weight: 600; color: var(--lime); }
.form-status.is-error { color: var(--danger); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 100px) clamp(32px, 4vw, 48px); }
.page-hero .lead { margin-top: .6em; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-top: 2.2em; }
.prose h3 { font-size: 1.05rem; margin-top: 1.6em; }
.prose p, .prose li { color: #d3dac9; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--muted); font-size: .95rem; }

.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-display); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface); font-weight: 500; }
tr:last-child td { border-bottom: 0; }
code { font-size: .92em; color: var(--lime-soft); }

/* ---------- Details card (about) ---------- */
.card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.service-block { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; padding-block: 36px; border-top: 1px solid var(--line); }
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-block .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--lime); line-height: 1; }
.service-block ul { color: var(--muted); margin: 0; }
@media (max-width: 600px) { .service-block { grid-template-columns: 1fr; gap: 8px; } }

.cta-band {
  background: var(--lime);
  color: var(--ink);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { margin: 0 0 .25em; }
.cta-band p { margin: 0; color: #2a3410; max-width: 56ch; }
.cta-band .btn { --btn-bg: var(--ink); --btn-fg: var(--lime); }
.cta-band .btn:hover { --btn-bg: #1f261a; color: var(--lime); }

/* ---------- 404 ---------- */
.lost { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.lost .big { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 12rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--lime); margin-bottom: 20px; }
.lost .lead { margin-inline: auto; }
.lost .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--space); border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 56px 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2 { font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a, .linklike { color: var(--text); text-decoration: none; }
.footer-grid a:hover, .linklike:hover { color: var(--lime); text-decoration: underline; }
.footer-grid address { font-style: normal; color: var(--muted); }
.footer-grid address a { color: var(--text); }
.footer-summary { color: var(--muted); max-width: 40ch; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .88rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 100;
  width: min(100% - 32px, 760px);
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55);
  padding: 22px 24px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.02rem; margin-bottom: .5em; }
.cookie-banner p { font-size: .93rem; color: #d3dac9; margin-bottom: 16px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { min-height: 44px; font-size: .9rem; padding: .7em 1.2em; }
.cookie-actions .btn-equal { flex: 1 1 140px; }
.cookie-prefs { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.cookie-prefs[hidden] { display: none; }
.pref-row { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pref-row:last-of-type { border-bottom: 0; margin-bottom: 12px; }
.pref-row strong { display: block; font-size: .95rem; }
.pref-row span.desc { display: block; font-size: .86rem; color: var(--muted); }
.switch { position: relative; flex: none; width: 50px; height: 28px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch input:disabled { cursor: not-allowed; }
.switch .track { position: absolute; inset: 0; background: var(--line-strong); border-radius: 999px; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; background: var(--text); border-radius: 50%; transition: transform .2s; }
.switch input:checked + .track { background: var(--lime); }
.switch input:checked + .track::after { transform: translateX(22px); background: var(--ink); }
.switch input:disabled + .track { opacity: .65; }
.switch input:focus-visible + .track { outline: 2px solid var(--lime); outline-offset: 2px; }
