/* CardputerZero unofficial introduction — typographic field manual */

:root {
  --paper: #efece4;
  --paper-2: #e4e0d6;
  --paper-3: #f6f3ec;
  --ink: #16171a;
  --ink-soft: #3c3e43;
  --muted: #6a6760;
  --line: #d0cbc0;
  --line-strong: #b9b3a6;
  --accent: #c44512;
  --accent-hover: #9e340c;
  --teal: #1f6f69;
  --chassis: #23262b;
  --chassis-2: #1a1c20;
  --chassis-ink: #f3f0ea;
  --chassis-muted: #a8a49b;
  --chassis-line: #3a3e45;
  --white: #fff;
  --focus: #1f6f69;
  --badge: #c44512;

  --sans: "IBM Plex Sans", "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --serif: "Instrument Serif", "Noto Serif SC", "Source Han Serif SC",
    "Songti SC", "STSong", "SimSun", Palatino, serif;
  --mono: "IBM Plex Mono", "Sarasa Mono SC", "Source Han Mono SC", ui-monospace,
    "SFMono-Regular", Menlo, Consolas, monospace;

  --wide: 72rem;
  --measure: 40rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --gutter: clamp(1rem, 3vw, 2rem);

  --step-00: 0.75rem;
  --step-0: 0.875rem;
  --step-1: 1.0625rem;
  --step-2: 1.2rem;
  --step-3: clamp(1.35rem, 1.15rem + 0.8vw, 1.65rem);
  --step-4: clamp(1.85rem, 1.2rem + 2.2vw, 2.75rem);
  --step-5: clamp(2.6rem, 1.3rem + 4.2vw, 4.75rem);

  --nav-h: 3.5rem;
  --radius: 2px;
  --shadow: 0 20px 50px -24px rgba(22, 23, 26, 0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html,
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: var(--sans);
  font-size: var(--step-1);
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-hover);
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  font-size: var(--step-0);
}

.skip:focus {
  top: 0.75rem;
}

/* Key-legend color rail — a quiet nod to the keyboard */
.color-rail {
  display: flex;
  height: 4px;
  width: 100%;
}
.color-rail span {
  flex: 1;
}
.color-rail span:nth-child(1) { background: #e85d1c; }
.color-rail span:nth-child(2) { background: #f5c400; }
.color-rail span:nth-child(3) { background: #3dd68c; }
.color-rail span:nth-child(4) { background: #2bb7c7; }
.color-rail span:nth-child(5) { background: #c44dff; }
.color-rail span:nth-child(6) { background: #23262b; }

.wrap {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.kicker,
.section-index,
.mono {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(var(--wide), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand-mark em {
  font-style: normal;
  color: var(--accent);
}

.badge {
  flex: none;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px solid var(--ink);
  padding: 0.18rem 0.42rem;
  color: var(--ink);
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--step-0);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.ext {
  color: var(--accent);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  background: var(--paper-3);
  padding: 0.1rem;
  gap: 0;
}

.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.5rem;
  cursor: pointer;
  line-height: 1;
}

.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--paper-3);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) + 4px);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem var(--gutter) 0.8rem;
    margin-left: 0;
  }
  .nav.is-open .nav-links {
    display: flex;
  }
  .nav-links a,
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.7rem;
  }
}

@media (min-width: 761px) {
  .nav-tools {
    display: contents;
  }
  .nav-links .nav-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.4rem;
  }
}

/* ——— Hero ——— */
.hero {
  padding: clamp(1.75rem, 4vw, 3.5rem) 0 clamp(2.5rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hero-copy .kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 1.1rem;
}
html[lang="en"] .hero-copy .kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dot {
  width: 0.28rem;
  height: 0.28rem;
  background: var(--accent);
  display: inline-block;
  border-radius: 50%;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-5);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
  text-wrap: pretty;
}

.hero h1 .sub {
  display: block;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.78em;
  margin-top: 0.15em;
}

.lede {
  font-size: var(--step-2);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.6rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  line-height: 1;
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-strong);
  max-width: 28rem;
}

@media (min-width: 560px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
  }
}

.stat {
  padding: 0.85rem 0.7rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 560px) {
  .stat {
    border-bottom: 0;
    padding-right: 1rem;
  }
  .stat + .stat {
    border-left: 1px solid var(--line);
    padding-left: 1rem;
  }
}

.stat b {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.stat span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--mono);
  margin-top: 0.2rem;
}

.hero-figure {
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  position: relative;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
}

.hero-figure figcaption {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 0.55rem 0.15rem 0;
  background: var(--paper);
}

/* ——— Sections ——— */
.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-head {
  display: grid;
  gap: 0.85rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  align-items: end;
}

@media (min-width: 800px) {
  .section-head.split {
    grid-template-columns: 1fr minmax(16rem, 28rem);
  }
}

.section-index {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-index::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-strong);
  max-width: 8rem;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-4);
  line-height: 1.2;
  margin: 0;
  text-wrap: pretty;
}

.section-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--step-1);
  text-wrap: pretty;
}

.dark {
  background: var(--chassis);
  color: var(--chassis-ink);
}

.dark .section-index,
.dark .section-lead,
.dark figcaption,
.dark .muted {
  color: var(--chassis-muted);
}

.dark .section-index::after {
  background: var(--chassis-line);
}

.dark a {
  color: #ffb196;
}

.dark a:hover {
  color: #ffe1d6;
}

/* ——— Gallery ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }
  .gallery-grid .tile:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }
}

.tile {
  margin: 0;
  background: #111214;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  width: 100%;
  display: block;
  font: inherit;
  position: relative;
}

.tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.tile:nth-child(1) img {
  aspect-ratio: auto;
}

.tile figcaption,
.tile .cap {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--chassis-muted);
  padding: 0.5rem 0.15rem 0.15rem;
  background: var(--chassis);
}

/* ——— Feature rows ——— */
.feature {
  display: grid;
  gap: 1.25rem 3rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.75rem) 0;
}

.feature + .feature {
  border-top: 1px solid var(--line);
}

@media (min-width: 860px) {
  .feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .feature.reverse {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
  .feature.reverse .feature-copy {
    order: -1;
  }
}

.feature-copy h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.feature-copy p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

.feature-copy p:last-child {
  margin-bottom: 0;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.spec-chips li {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--line-strong);
  padding: 0.28rem 0.5rem;
  color: var(--ink-soft);
  background: var(--paper-3);
}

.photo-frame {
  margin: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  object-fit: contain;
}

.photo-frame.is-wide img,
.photo-frame.is-diagram img {
  aspect-ratio: auto;
}

.photo-frame figcaption {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  padding: 0.55rem 0.1rem 0;
  background: var(--paper);
}

.pair {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 600px) {
  .pair.two {
    grid-template-columns: 1fr 1fr;
  }
}

/* ——— Specs ——— */
.spec-groups {
  display: grid;
  gap: 1.5rem 2.25rem;
}

@media (min-width: 800px) {
  .spec-groups {
    grid-template-columns: 1fr 1fr;
  }
}

.spec-group {
  border-top: 2px solid var(--ink);
  padding-top: 0.85rem;
}

.spec-group h3 {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step-0);
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.75rem 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 400;
  padding-right: 1rem;
}

.spec-table td {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.note {
  font-size: var(--step-0);
  color: var(--muted);
  margin: 1.25rem 0 0;
  max-width: 48rem;
}

/* ——— Compare ——— */
.compare-wrap {
  overflow-x: auto;
  border-top: 2px solid var(--ink);
  -webkit-overflow-scrolling: touch;
}

.compare {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: var(--step-0);
}

.compare th,
.compare td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare thead th {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  background: var(--paper-2);
  position: sticky;
  top: 0;
}

.compare thead th .sku {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.25rem;
  font-style: normal;
}

.compare tbody th {
  font-weight: 500;
  color: var(--ink-soft);
  width: 22%;
}

.compare .yes {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.compare .no {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.compare caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  padding: 0.6rem 0;
  caption-side: bottom;
}

/* ——— Use cases ——— */
.uses {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}

.use {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .use {
    grid-template-columns: 8rem 1fr minmax(0, 32rem);
    align-items: baseline;
  }
}

.use-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.use h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  margin: 0;
  line-height: 1.3;
}

.use p {
  margin: 0;
  color: var(--ink-soft);
}

/* ——— Power ——— */
.power-grid {
  display: grid;
  gap: 1.5rem 3rem;
  align-items: start;
}

@media (min-width: 860px) {
  .power-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.steps li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.75rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.steps .n {
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 500;
}

.steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--step-0);
}

.warn {
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
  font-size: var(--step-0);
  color: var(--ink-soft);
}

.warn strong {
  color: var(--ink);
  font-weight: 600;
}

/* ——— Links ——— */
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}

.link-list li {
  border-bottom: 1px solid var(--line);
}

.link-list a {
  display: grid;
  gap: 0.15rem 1rem;
  text-decoration: none;
  color: inherit;
  padding: 1rem 0;
}

@media (min-width: 720px) {
  .link-list a {
    grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr);
    align-items: baseline;
  }
}

.link-list a:hover .link-title {
  color: var(--accent);
}

.link-title {
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1.25;
}

.link-url {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

/* ——— Campaign ——— */
.campaign {
  background: var(--paper-2);
  padding: 1.15rem 1.2rem;
  margin-top: 2rem;
  font-size: var(--step-0);
  color: var(--ink-soft);
  max-width: 48rem;
}

.campaign strong {
  color: var(--ink);
  font-weight: 600;
}

/* ——— Footer ——— */
.footer {
  background: var(--chassis-2);
  color: var(--chassis-ink);
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--step-3);
  margin: 0 0 0.75rem;
}

.footer p {
  margin: 0 0 0.75rem;
  color: var(--chassis-muted);
  font-size: var(--step-0);
  max-width: 38rem;
}

.footer a {
  color: #ffb196;
}

.fineprint {
  margin-top: 2.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--chassis-line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--chassis-muted);
  letter-spacing: 0.04em;
}

/* ——— Lightbox ——— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 11, 12, 0.94);
  display: none;
  color: var(--chassis-ink);
}

.lightbox.is-open {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--chassis-muted);
}

.lightbox-bar .spacer {
  flex: 1;
}

.lightbox button {
  appearance: none;
  background: transparent;
  border: 1px solid #5a5e66;
  color: var(--chassis-ink);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
}

.lightbox button:hover {
  background: #fff;
  color: #111;
}

.lightbox-stage {
  display: grid;
  place-items: center;
  padding: 0.5rem 1rem 1rem;
  min-height: 0;
}

.lightbox-stage img {
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  background: #fff;
}

.lightbox-cap {
  padding: 0 1rem 1rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--chassis-muted);
}

body.is-locked {
  overflow: hidden;
}

/* English typography tweaks */
html[lang="en"] .hero h1 {
  letter-spacing: -0.02em;
}

html[lang="en"] h2,
html[lang="en"] h3 {
  letter-spacing: -0.015em;
}

.tile:focus-visible {
  outline: 2px solid #7ec8c4;
  outline-offset: 3px;
}

.tile:hover img {
  filter: brightness(1.03);
}

@media (prefers-reduced-motion: no-preference) {
  .tile img {
    transition: filter 0.2s ease;
  }
}
