/* TCGKiosk — site styles
   Grid and card modules derive from the trading-card ratio 63 x 88 mm (0.716).
   ------------------------------------------------------------------------- */

/* 0. Fonts — self-hosted, latin subset. No third-party requests at runtime. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(../fonts/archivo-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/ibm-plex-mono-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* 1. Reset ---------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

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

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }


/* 2. Tokens --------------------------------------------------------------- */

:root {
  /* palette */
  --paper:   #F2F4F7;
  --surface: #FFFFFF;
  --ink:     #0E1620;
  --steel:   #5B6774;
  --volt:    #2B4CE8;
  --signal:  #E8442B;

  --line:       rgba(14, 22, 32, 0.14);
  --line-soft:  rgba(14, 22, 32, 0.07);

  /* the one gradient in the design — spec-card edge only */
  --holo-1: #7BE3FF;
  --holo-2: #A78BFA;
  --holo-3: #FFD166;
  --holo-angle: 135deg;

  /* type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* rhythm */
  --card-ratio: 63 / 88;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 62ch;
  --section-gap: clamp(4.5rem, 9vw, 8rem);
}


/* 3. Base ----------------------------------------------------------------- */

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
  line-height: 1.65;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* German compounds (Öffentlichkeitsbeauftragter, Aufbewahrungsfristen)
     are long enough to push a 320px viewport wide on their own. */
  overflow-wrap: break-word;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-family: var(--mono);
  font-size: 0.8125rem;
}
.skip:focus { left: 0; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}


/* 4. Typography ----------------------------------------------------------- */

.h-xl, .h-lg, .h-md, .h-sm {
  hyphens: auto;
  font-family: var(--display);
  font-variation-settings: "wdth" 112, "wght" 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h-xl { font-size: clamp(2.4rem, 1.5rem + 4.4vw, 4.6rem); }
.h-lg { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.9rem); }
.h-md { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.55rem); font-variation-settings: "wdth" 105, "wght" 700; }
.h-sm {
  font-size: 1rem;
  font-variation-settings: "wdth" 100, "wght" 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.lede {
  hyphens: auto;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
  max-width: 46ch;
  color: var(--ink);
}

.prose { max-width: var(--measure); color: var(--steel); hyphens: auto; }
.prose + .prose { margin-top: 1rem; }
.prose strong { color: var(--ink); font-weight: 600; }

.mono { font-family: var(--mono); font-size: 0.875rem; }

.link {
  color: var(--volt);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.link:hover { text-decoration-thickness: 2px; }


/* 5. Header --------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.mark {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-family: var(--display);
  font-variation-settings: "wdth" 112, "wght" 400;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
}

.mark-strong { font-variation-settings: "wdth" 112, "wght" 800; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.75rem);
}

.nav-link {
  font-size: 0.9rem;
  color: var(--steel);
  text-decoration: none;
}
.nav-link:hover { color: var(--ink); }

.lang {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.lang a {
  padding: 0.25rem 0.5rem;
  text-decoration: none;
  color: var(--steel);
}
.lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }

.nav-primary { display: none; }
@media (min-width: 62rem) {
  .nav-primary {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 2vw, 1.75rem);
  }
}


/* 6. Sections ------------------------------------------------------------- */

.band { padding-block: var(--section-gap); }
.band-line { border-top: 1px solid var(--line); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink .prose { color: rgba(242, 244, 247, 0.72); }
.band-ink .prose strong { color: var(--paper); }
.band-ink .eyebrow { color: rgba(242, 244, 247, 0.55); }

.band-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.band-head .eyebrow { display: block; margin-bottom: 0.85rem; }
.band-head .prose { margin-top: 1.1rem; }


/* 7. Intro + spec card ---------------------------------------------------- */

.intro { padding-block: clamp(3rem, 7vw, 5.5rem) var(--section-gap); }

.intro-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}
@media (min-width: 62rem) {
  .intro-grid { grid-template-columns: minmax(0, 1fr) 22.5rem; gap: 4rem; }
}

.intro-copy .eyebrow { display: block; margin-bottom: 1.25rem; }
.intro-copy .h-xl { margin-bottom: 1.5rem; }

.intro-facts {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
}
.intro-fact {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.intro-fact dt {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.3rem;
}
.intro-fact dd {
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: 1.0625rem;
  margin: 0;
}

/* --- the signature element --- */

.speccard {
  --lift: 0;
  position: relative;
  padding: 3px;
  border-radius: 14px;
  background: linear-gradient(
    var(--holo-angle),
    var(--holo-1) 0%,
    var(--holo-2) 38%,
    var(--holo-3) 68%,
    var(--holo-1) 100%
  );
  box-shadow: 0 1px 2px rgba(14, 22, 32, 0.1),
              0 18px 40px -18px rgba(14, 22, 32, 0.4);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
  max-width: 22.5rem;
  margin-inline: auto;
}

.speccard-face {
  background: var(--surface);
  border-radius: 11px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.speccard-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.speccard-name {
  font-family: var(--display);
  font-variation-settings: "wdth" 105, "wght" 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.speccard-model {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--steel);
  white-space: nowrap;
}

.speccard-window {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  overflow: hidden;
}
.speccard-window svg { height: 100%; width: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.chip {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  line-height: 1.3;
}

.statlist { border-top: 1px solid var(--line); }
.statrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
}
.statrow dt { color: var(--steel); }
.statrow dd { margin: 0; font-weight: 500; text-align: right; }

.speccard-foot {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  color: var(--steel);
  letter-spacing: 0.03em;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  flex: none;
}

.speccard-caption {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--steel);
  text-align: center;
  max-width: 22.5rem;
  margin-inline: auto;
}


/* 8. Photo carousel ------------------------------------------------------- */

/* A native scroll-snap track. With JavaScript off it is a plain horizontal
   scroller: every slide visible, every caption in place, a real scrollbar to
   drag. The script only adds the arrows, the dots and the dimming of the
   slides that are not centred. */

/* Narrower than the text column on purpose: at the full 1180 px the neighbours
   stop peeking and start reading as a three-up row. */
.carousel {
  --slide-w: min(100%, 30rem);
  max-width: 48rem;
  margin-inline: auto;
}

.carousel-track {
  position: relative;          /* offsetParent the script measures against */
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  /* Lets the first and the last slide reach the middle of the track. */
  padding-inline: calc((100% - var(--slide-w)) / 2);
  padding-block: 0.25rem 1rem;
}
.carousel.is-enhanced .carousel-track {
  padding-bottom: 0.25rem;     /* the scrollbar is no longer the affordance */
  scrollbar-width: none;
}
.carousel.is-enhanced .carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 var(--slide-w);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.carousel.is-enhanced .carousel-slide {
  opacity: 0.38;
  transition: opacity 0.4s ease;
}
.carousel.is-enhanced .carousel-slide.is-active { opacity: 1; }

.carousel-slide img {
  width: 100%;
  height: auto;
  /* Square, like the source files and like the machine's own proportions —
     a letterbox would just pad the sides with more white. */
  aspect-ratio: 1 / 1;
  object-fit: contain;
  /* The sources are 520 px. The cap stops the browser scaling them up
     past what is actually in the file. */
  max-height: 26rem;
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
}

.carousel-slide figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  border-top: 1px solid var(--line-soft);
  padding: 0.7rem 1rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.carousel-index { color: var(--volt); }

.carousel-controls { display: none; }
.carousel.is-enhanced .carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
}
.carousel-dot {
  position: relative;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
/* A finger-sized target without a finger-sized dot. */
.carousel-dot::before {
  content: "";
  position: absolute;
  inset: -14px -4px;
}
.carousel-dot:hover { background: var(--steel); }
.carousel-dot[aria-current="true"] { background: var(--volt); transform: scale(1.35); }

.carousel-status {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.carousel-nav {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.carousel-nav svg { width: 1.15rem; height: 1.15rem; }
.carousel-nav:hover:not([aria-disabled="true"]) { color: var(--volt); border-color: var(--volt); }
.carousel-nav[aria-disabled="true"] { color: var(--steel); opacity: 0.35; cursor: default; }


/* 9. Card grids ----------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 46rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 58rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Discrete blocks instead of the seamless hairline grid. Cells carry their own
   border and sit on real gaps, so a trailing empty slot reads as empty space
   rather than exposed container background. Matches .line in the range section. */
.grid-blocks {
  gap: 1rem;
  background: none;
  border: 0;
}
.grid-blocks > .cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.band-ink .grid-blocks { background: none; border: 0; }
.band-ink .grid-blocks > .cell {
  background: var(--ink);
  border-color: rgba(242, 244, 247, 0.18);
}

.cell {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.cell .prose { max-width: none; font-size: 0.9375rem; }

.band-ink .grid { background: rgba(242, 244, 247, 0.18); border-color: rgba(242, 244, 247, 0.18); }
.band-ink .cell { background: var(--ink); }


/* 10. Range / product lines ------------------------------------------------ */

.lines { display: grid; gap: 1rem; }
@media (min-width: 46rem) { .lines { grid-template-columns: repeat(2, 1fr); } }

.line {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.line-main { border-left: 3px solid var(--volt); }
.line-role {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.line-main .line-role { color: var(--volt); }
.line p { font-size: 0.9375rem; color: var(--steel); }

.disclaimer {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--steel);
  max-width: var(--measure);
}


/* 11. Spec table ---------------------------------------------------------- */

.table-scroll { overflow-x: auto; }

.spectable { font-family: var(--mono); font-size: 0.8125rem; min-width: 32rem; }
.spectable caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 244, 247, 0.55);
  padding-bottom: 0.9rem;
}
.spectable th,
.spectable td {
  text-align: left;
  padding: 0.7rem 1rem 0.7rem 0;
  border-bottom: 1px solid rgba(242, 244, 247, 0.16);
  vertical-align: top;
}
.spectable th { font-weight: 400; color: rgba(242, 244, 247, 0.6); width: 42%; }
.spectable td { font-weight: 500; }
.spectable tr:last-child th,
.spectable tr:last-child td { border-bottom: 0; }


/* 12. Operating sequence -------------------------------------------------- */

.steps { counter-reset: step; display: grid; gap: 0; }

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--volt);
  padding-top: 0.28rem;
}
.step p { color: var(--steel); font-size: 0.9375rem; margin-top: 0.35rem; max-width: 58ch; }


/* 13. FAQ ----------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); max-width: 52rem; }

.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2.5rem 1.15rem 0;
  position: relative;
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: 1rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--volt);
}
.qa[open] summary::after { content: "\2013"; }
.qa p {
  padding: 0 2.5rem 1.35rem 0;
  color: var(--steel);
  font-size: 0.9375rem;
  max-width: 62ch;
  margin-top: -0.25rem;
}


/* 14. Contact ------------------------------------------------------------- */

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 52rem) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.contact-intro .eyebrow { display: block; margin-bottom: 0.85rem; }
.contact-intro .prose { margin-top: 1.1rem; }

.addr { font-style: normal; font-size: 1.0625rem; line-height: 1.9; }
.addr .label {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 244, 247, 0.5);
  margin-top: 1.4rem;
  margin-bottom: 0.15rem;
  line-height: 1.4;
}
.addr .label:first-child { margin-top: 0; }
.addr a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }


/* 15. Footer -------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.75rem 3.5rem;
  font-size: 0.875rem;
  color: var(--steel);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.75rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-note {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  max-width: 78ch;
}


/* 16. Legal pages --------------------------------------------------------- */

.legal { padding-block: clamp(3rem, 7vw, 5rem) var(--section-gap); }
.legal-title { margin: 0.85rem 0 1.75rem; }
.legal-body { max-width: 68ch; hyphens: auto; }
.legal-body h2 {
  font-family: var(--display);
  font-variation-settings: "wdth" 105, "wght" 700;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.legal-body h3 {
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 700;
  font-size: 1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}
.legal-body p { color: var(--steel); margin-bottom: 0.9rem; }
.legal-body ul { margin: 0 0 1.1rem; padding-left: 0; }
.legal-body li {
  color: var(--steel);
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 1px;
  background: var(--steel);
}
.legal-body .updated {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--steel);
}

.fillin {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(43, 76, 232, 0.09);
  border-bottom: 1px dashed var(--volt);
  color: var(--volt);
  padding: 0.05em 0.3em;
  border-radius: 2px;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--volt);
  border-radius: 6px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--steel);
}


/* Data and labels are read, not flowed — never hyphenate them. */
.eyebrow, .mono, .chip, .statrow, .spectable, .fillin,
.speccard-model, .mark, .lang, .cell-index { hyphens: none; }


/* 17. Motion -------------------------------------------------------------- */

/* The hidden state is gated on .js, which the script sets on itself.
   With JavaScript off, these rules never apply and the content is simply there. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .speccard { opacity: 0; transform: translateY(22px) scale(0.985); }
.js .speccard.is-in {
  opacity: 1;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .speccard.is-tracking { transition: none; }

.js .speccard .statrow { opacity: 0; transform: translateY(6px); }
.js .speccard.is-in .statrow {
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease var(--d, 0s), transform 0.4s ease var(--d, 0s);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal,
  .js .speccard,
  .js .speccard .statrow {
    opacity: 1 !important;
    transform: none !important;
  }
}



/* 18. Print --------------------------------------------------------------- */

@media print {
  .masthead, .footer-links, .speccard-caption, .carousel-controls { display: none; }
  body { background: #fff; }
  .band, .intro { padding-block: 1.5rem; }
  .band-ink { background: #fff; color: #000; }
  .band-ink .prose, .spectable th { color: #333; }
  .spectable th, .spectable td { border-color: #ccc; }
  /* Paper has no scroll position — lay every slide out at once. */
  .carousel-track { overflow: visible; flex-wrap: wrap; padding-inline: 0; }
  .carousel-slide { flex-basis: 45%; opacity: 1 !important; }
}
