/* Skrifttyper hostes selv (ingen kald til Google) – licens: assets/fonts/OFL.txt */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }

:root {
  --paper: #F3F5F4;
  --ink: #1F2A30;
  --muted: #56626A;
  --red: #C8102E;
  --red-dark: #A00D25;
  --link: #C8102E;
  --rule: #D5DBDD;
  --surface: #FFFFFF;
  --band: #1F2A30;
  --header-bg: rgba(243,245,244,.92);
  --input-border: #C3CBCE;
  --hover-tint: rgba(31,42,48,.07);
  --shadow-color: rgba(31,42,48,.4);
  --ok: #1E7A46;
  /* faste farver (ens i lyst og mørkt tema) */
  --plate: #FFFFFF;
  --plate-ink: #1F2A30;
  --eu-blue: #1F4E8C;
  --line-yellow: #F2B705;
  color-scheme: light;

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Mørkt tema: følger systemet, medmindre brugeren har valgt lyst eller mørkt */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --paper: #12181B;
  --ink: #E6EBED;
  --muted: #9AA7AE;
  --red: #D61F3C;
  --red-dark: #B5162F;
  --link: #FF6B7D;
  --rule: #2A353B;
  --surface: #1B2428;
  --band: #0A0F11;
  --header-bg: rgba(18,24,27,.88);
  --input-border: #3A474D;
  --hover-tint: rgba(255,255,255,.08);
  --shadow-color: rgba(0,0,0,.6);
  --ok: #4CC27F;
  color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #12181B;
  --ink: #E6EBED;
  --muted: #9AA7AE;
  --red: #D61F3C;
  --red-dark: #B5162F;
  --link: #FF6B7D;
  --rule: #2A353B;
  --surface: #1B2428;
  --band: #0A0F11;
  --header-bg: rgba(18,24,27,.88);
  --input-border: #3A474D;
  --hover-tint: rgba(255,255,255,.08);
  --shadow-color: rgba(0,0,0,.6);
  --ok: #4CC27F;
  color-scheme: dark;
}


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

html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 5rem); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; font-weight: 600; margin-bottom: 0.35em; }
p { margin: 0 0 1em; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--eu-blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2.5rem); }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--band); color: #fff; padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.7rem 1.4rem;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  text-decoration: none; border-radius: 10px;
  background: var(--red); color: #fff; border: 2px solid var(--red);
  transition: background-color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-small { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.95rem; white-space: nowrap; }
.btn-light { background: #fff; color: var(--plate-ink); border-color: #fff; }
.btn-light:hover { background: #F3F5F4; border-color: #F3F5F4; }
.btn-light-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.logo-mark {
  display: inline-grid; place-items: center;
  width: 2.3rem; height: 1.6rem;
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  background: var(--plate); color: var(--plate-ink);
  border: 2px solid var(--red); border-radius: 4px;
}
.logo-mark-sm { width: 1.9rem; height: 1.3rem; font-size: .8rem; }
.logo-word { font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.site-header nav { margin-left: auto; }
.nav { display: flex; gap: 1.5rem; list-style: none; margin: 0 .5rem 0 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); white-space: nowrap; }
.nav a:hover { color: var(--ink); }

/* Hamburgermenu – vises kun når der ikke er plads til menupunkterne */
.menu-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem; margin-left: .5rem;
  padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: var(--ink); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle:hover { background: var(--hover-tint); }
.menu-toggle span {
  display: block; width: 22px; height: 2.5px; border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero h1 .red { color: var(--red); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1rem; }
.fineprint { font-size: 0.95rem; color: var(--muted); }

.hero-visual { position: relative; padding-bottom: 1rem; }

/* App screenshot in an iPhone */
.phone-wrap {
  position: relative;
  width: min(340px, 68%);
  margin: 0 1.5rem 0 auto;
  animation: phone-in .7s cubic-bezier(.2,.8,.2,1) both;
}
.phone { display: block; width: 100%; height: auto; }

/* Rød prik på klokken i appen – kommer lige efter notifikationen.
   Først 3 store ringe, derefter en rolig, gentagende ring. */
.phone-wrap { container-type: inline-size; }
.bell-dot {
  position: absolute;
  left: 76.6%; top: 13.0%;
  width: 3.2%; aspect-ratio: 1;
  translate: -50% -50%;
  background: #FF2D2D;
  border: .45cqw solid #121413;
  border-radius: 50%;
  box-shadow: 0 0 2.2cqw rgba(255,45,45,.75);
  animation: dot-in .4s 3.5s cubic-bezier(.2,1.8,.4,1) both;
}
.bell-dot::before,
.bell-dot::after {
  content: ""; position: absolute; inset: -.45cqw;
  border-radius: 50%;
  border: .6cqw solid #FF2D2D;
  opacity: 0;
}
.bell-dot::before { animation: dot-ring-big 1.1s 3.9s ease-out 3; }          /* 3 store ringe */
.bell-dot::after  { animation: dot-ring 2s 7.2s ease-out infinite; }         /* derefter som før */
@keyframes dot-in { from { opacity: 0; transform: scale(0); } }
@keyframes dot-ring-big { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(5.5); } }
@keyframes dot-ring { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(2.8); } }

.notice {
  position: absolute; z-index: 2; left: 0; top: 46%;
  width: min(21rem, 78%);
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 0.95rem 1.1rem 1rem;
  box-shadow: 0 20px 40px -20px var(--shadow-color);
  animation: notice-in .55s 3s cubic-bezier(.2,1.3,.4,1) both; /* popper op 3 sek. efter sidevisning */
}
.notice-head { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: .35rem; }
.notice-app { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); }
.notice-title { font-weight: 600; margin: 0 0 .15rem; }
.notice-body { margin: 0; font-size: .95rem; color: var(--muted); }


@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes notice-in { from { opacity: 0; transform: translateY(-18px) scale(.96); } }

/* CarXent wordmark as a Danish licence plate */
.brand-plate {
  display: inline-flex; align-items: stretch;
  font-size: .78em; line-height: 1;
  vertical-align: .08em;
  background: var(--plate);
  border: .075em solid var(--red);
  border-radius: .14em;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 .12em .3em -.12em rgba(31,42,48,.45);
  transform: rotate(-1.5deg);
  animation: brand-plate-in .6s .5s cubic-bezier(.2,.8,.2,1) both;
}
.brand-eu {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: .1em .1em .1em; gap: .04em;
  background: var(--eu-blue); color: #fff;
  font-size: .3em; font-weight: 600; letter-spacing: .02em;
}
.brand-star { color: var(--line-yellow); font-size: .9em; }
.brand-text { color: var(--red); padding: .08em .16em .06em .14em; letter-spacing: .03em; }
@keyframes brand-plate-in { from { opacity: 0; transform: translateY(.3em) rotate(-8deg); } }
.logo-x { color: var(--red); }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--rule); }
.section-intro { font-size: 1.15rem; color: var(--muted); max-width: 38rem; margin-bottom: 2.5rem; }

/* Steps: a real sequence, so numbered */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; margin-bottom: 1rem;
  font-family: var(--display); font-weight: 700; font-size: 1.4rem;
  border: 2px solid var(--ink); border-radius: 50%;
}
.steps li:last-child::before { background: var(--red); border-color: var(--red); color: #fff; }
.steps p { color: var(--muted); margin: 0; }

/* Road timeline */
.section-road { background: var(--band); color: #fff; border-top: 0; }
.section-road .section-intro { color: #B9C3C8; }
.road { position: relative; margin: 1rem 0 0; padding: 2.2rem 0 0; }
.road-line {
  position: absolute; left: 0; right: 0; top: 2.9rem; height: 4px;
  background: repeating-linear-gradient(90deg, var(--line-yellow) 0 28px, transparent 28px 46px);
}
.road-stops { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; }
.road-stops li { display: flex; flex-direction: column; gap: .2rem; padding-top: 2rem; position: relative; }
.road-stops li::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--band); border: 4px solid #fff;
}
.road-stops .stop-deadline::before { background: var(--red); border-color: var(--red); }
.stop-when { font-family: var(--display); font-size: 1.7rem; font-weight: 700; }
.stop-what { color: #B9C3C8; }
.caption { font-size: .9rem; color: #8E9AA1; margin: 1.5rem 0 3rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; border-top: 1px solid #3A474E; padding-top: 2.5rem; }
.feature p { color: #B9C3C8; margin: 0; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.8rem; line-height: 1; color: var(--red); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.15rem; margin: 0; max-width: 60ch; }

/* For værksteder */
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: .4rem; }
.workshop-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.workshop-benefits { display: grid; gap: 1.5rem; border-top: 2px solid var(--red); padding-top: 1.5rem; }
.benefit p { margin: 0; color: var(--muted); }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.checks legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: .45rem; width: 100%; }
.check { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--red); }
.checks .error { width: 100%; }
.red { color: var(--red); }
.workshop-hero { border-top: 0; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.workshop-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); max-width: 16ch; }
.workshop-hero .lead { margin-bottom: 1.75rem; }
.benefits-row { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); }
.workshop-band { background: var(--surface); }
.workshop-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.workshop-band .section-intro { margin-bottom: 0; }
.nav a[aria-current="page"] { color: var(--ink); }
.field input::placeholder { color: var(--muted); opacity: .7; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact { display: grid; gap: 1.5rem; border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.contact-item h3 { margin-bottom: .2em; }
.contact-item p { margin: 0; color: var(--muted); }
.contact-item a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; word-break: break-word; }
.contact-item a:hover { color: var(--red); }

.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; align-content: start; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  font: inherit; color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--input-border); border-radius: 10px;
  padding: .7rem .85rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--hover-tint); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field .error { color: var(--red); font-size: .9rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--ink); }
.contact-form .btn { justify-self: start; cursor: pointer; }
.contact-form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.fail { color: var(--red); }

/* Download */
.download { background: var(--red); color: #fff; padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.download-inner { text-align: center; }
.download h2 { max-width: 18ch; margin-inline: auto; }
.download .store-buttons { justify-content: center; }

/* Footer */
.site-footer { background: var(--band); color: #C9D1D5; padding: 1.25rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: .4rem; }
.footer-links li { display: block; }
.footer-links li + li::before { content: "|"; margin: 0 1.1rem; color: #6F7C83; }
.footer-links a { color: #C9D1D5; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 34rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .workshop-grid { grid-template-columns: 1fr; }
  .benefits-row, .steps.steps-3 { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .header-inner .btn-small { margin-left: auto; }
  .menu-toggle { display: inline-flex; flex-shrink: 0; margin-left: .25rem; }
  .header-inner .theme-toggle { display: none; }
  .header-inner { gap: .5rem; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    margin: 0; padding: .25rem 1.25rem .75rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 16px 24px -16px var(--shadow-color);
  }
  .nav-open .nav { display: flex; animation: menu-in .2s ease-out; }
  .nav a { display: block; padding: .9rem 0; font-size: 1.15rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .nav li:last-child a { border-bottom: 0; }
}

@media (max-width: 680px) {
  .footer-links { flex-direction: column; align-items: center; }
  .footer-links li + li::before { display: none; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .road-line { top: 2.2rem; bottom: 2.5rem; left: .6rem; right: auto; width: 4px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line-yellow) 0 22px, transparent 22px 36px); }
  .road { padding-top: 2.2rem; }
  .road-stops { grid-template-columns: 1fr; gap: 1.75rem; }
  .road-stops li { padding: 0 0 0 2.6rem; }
  .road-stops li::before { top: .35rem; }
  }

@media (max-width: 360px) {
  .header-inner .btn-small { padding: 0.45rem .8rem; font-size: .9rem; }
  .logo-word { font-size: 1.35rem; }
}

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

/* Afkrydsningsfelter (skal stå efter de generelle .field-regler) */
.field.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; align-items: center; }
.field.checks .check input { width: 1.2rem; height: 1.2rem; padding: 0; margin: 0; border-radius: 4px; }

/* Temavælger */
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); cursor: pointer;
}
.theme-toggle:hover { background: var(--hover-tint); color: var(--ink); }
.theme-toggle svg, .theme-switch svg { width: 20px; height: 20px; }
.theme-toggle svg { display: none; }
[data-theme-choice="system"] .theme-toggle .i-system,
[data-theme-choice="light"] .theme-toggle .i-light,
[data-theme-choice="dark"] .theme-toggle .i-dark { display: block; }

.theme-switch {
  display: inline-flex; gap: 2px; padding: 3px;
  border: 1px solid #34424A; border-radius: 999px;
}
.theme-switch button {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border: 0; border-radius: 999px;
  background: transparent; color: #C9D1D5;
  font: inherit; font-size: .85rem; cursor: pointer;
}
.theme-switch svg { width: 16px; height: 16px; }
.theme-switch button:hover { color: #fff; }
.theme-switch button[aria-pressed="true"] { background: #fff; color: #1F2A30; }
.footer-theme { display: flex; justify-content: center; margin-top: 1rem; }

/* Juridiske sider */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.legal .back { margin-bottom: 1.5rem; }
.legal .back a { color: var(--muted); text-decoration: none; font-weight: 500; }
.legal .back a:hover { color: var(--ink); }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: .3em; }
.legal .updated { color: var(--muted); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.75rem; margin: 2.4rem 0 .6rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--link); }
.todo { background: #FFE58A; color: var(--ink); padding: 0 .25em; border-radius: 3px; }
