:root {
  --accent: #2d7a55;
  --accent-soft: #7eb198;
  --accent-on-dark: #3ada87;
  --accent-on-dark-soft: #b6e8c6;
  --ink: #212529;
  --muted: #6c757d;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-dark: #222;
  --border: #e6e6e6;
  --max: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(24,24,24,0.97);
  color: #fff;
  backdrop-filter: blur(6px);
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
nav .brand { font-weight: 700; letter-spacing: 0.08em; text-transform: none; color: #fff; }
nav .brand .brand-front { color: var(--accent-on-dark); }
nav .brand .brand-back  { color: var(--accent-on-dark-soft); }
nav .brand .brand-suffix { color: #fff; font-weight: 400; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
nav ul a { color: #fff; text-transform: none; font-size: 0.82rem; letter-spacing: 0.08em; }
nav ul a:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 640px) { nav ul { gap: 0.9rem; } nav ul a { font-size: 0.72rem; } }

/* Hero */
header.hero {
  background:
    linear-gradient(135deg, rgba(20,30,25,0.55) 0%, rgba(28,38,32,0.55) 100%),
    url("hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
header.hero #particles-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}
header.hero > .container { position: relative; z-index: 1; }
header.hero .eyebrow {
  text-transform: none; letter-spacing: 0.02em;
  font-size: 0.85rem; color: var(--accent); margin-bottom: 0.5rem;
}
header.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1rem; text-transform: none; letter-spacing: 0.04em;
}
header.hero p { max-width: 640px; margin: 0 auto; color: #d0d0d0; font-size: 1.05rem; }
header.hero .acronym {
  max-width: 720px; margin: 1.5rem auto 0;
  font-size: 0.95rem; color: #b8b8b8;
  letter-spacing: 0.02em;
}
header.hero .acronym .l { font-weight: 700; }
header.hero .acronym .l.full { color: var(--accent-on-dark); }
header.hero .acronym .l.soft { color: var(--accent-on-dark-soft); }

/* Sections */
section { padding: 3.5rem 0; }
section.alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 {
  text-transform: none; letter-spacing: 0.06em;
  font-size: 2rem; margin: 0 0 0.5rem;
}
.section-head p { color: var(--muted); margin: 0; }

/* Principles grid */
.grid { display: grid; gap: 2rem; }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .grid.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .grid.cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid.cols-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid.cols-4 { grid-template-columns: 1fr; } .grid.cols-5 { grid-template-columns: 1fr; } }

.principle { text-align: center; padding: 1rem; }
.principle .icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.principle .icon svg { width: 32px; height: 32px; }
.principle h4 { margin: 0.25rem 0 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.05rem; }
.principle p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Detail-page "Principles in practice" list */
.principles-list { list-style: none; padding: 0; max-width: 820px; margin: 0 auto; }
.principles-list li {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 1.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.55;
}
.principles-list li:last-child { border-bottom: none; }
.principles-list li strong {
  color: var(--accent);
  text-transform: none; letter-spacing: 0.06em;
  font-size: 0.82rem;
  padding-top: 0.15rem;
}
@media (max-width: 640px) {
  .principles-list li { grid-template-columns: 1fr; gap: 0.25rem; }
}

/* Category */
.category-head {
  display: flex; align-items: center; gap: 0.75rem;
  margin: 2.5rem 0 1.25rem;
  text-transform: none; letter-spacing: 0.08em;
  color: var(--ink); font-weight: 700;
}
.category-head svg { width: 22px; height: 22px; color: var(--accent); }
.category-head .rule { flex: 1; height: 1px; background: var(--border); }

/* App cards */
.app-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.app-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); border-color: #d6d6d6; }
.card-link {
  display: flex;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.card-link > .app-card { flex: 1; }
.card-link:hover { text-decoration: none; color: inherit; }
.app-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 0.75rem; margin-bottom: 0.9rem;
}
.app-icon {
  width: 64px; height: 64px; border-radius: 14px;
  object-fit: contain;
  flex-shrink: 0;
}
img.app-icon { /* render natively — icon PNGs already carry their own background */ }
.app-icon.dark { background-color: #1a1a1a; padding: 4px; box-shadow: 0 2px 6px rgba(0,0,0,0.18); }
/* Drop the 4 px inner padding for icons whose artwork doesn't fill its
   own canvas — gives the visible silhouette ~15% more room inside the
   same backdrop. Used by nudg. */
.app-icon.dark.fill { padding: 0; }
/* Background-image variant for icons that need to be zoomed beyond
   100% of their own canvas while the dark backdrop stays at the
   container size. Applied to nudg in card + hero variants. */
.app-icon.bg-zoom {
  background-image: url("icons/nudg.png");
  background-size: 115%;
  background-position: center;
  background-repeat: no-repeat;
}
.app-icon-bg {
  width: 64px; height: 64px; border-radius: 14px;
  flex-shrink: 0; display: inline-block;
  background-color: #1a1a1a;
  background-size: 150%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.app-card .badge {
  font-size: 0.7rem; text-transform: none; letter-spacing: 0.02em;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 0.15rem 0.5rem; border-radius: 999px;
  white-space: nowrap; align-self: flex-start;
}
.app-card .badge.dev {
  color: #b85c00; border-color: #b85c00;
  background: rgba(184, 92, 0, 0.06);
}
.app-card .badges { display: inline-flex; gap: 0.35rem; flex-wrap: wrap; align-self: flex-start; }
.app-icon-mono {
  width: 64px; height: 64px; border-radius: 14px;
  flex-shrink: 0; display: inline-flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a2a2a, #131313);
  color: #fafafa;
  font-weight: 700; font-size: 1.7rem;
  line-height: 1; letter-spacing: -0.02em;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  user-select: none;
}
.app-card h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.app-card p { color: var(--muted); margin: 0 0 1rem; flex: 1; }
.app-card .meta { font-size: 0.82rem; color: var(--muted); }

/* Support / Coffee */
.support {
  text-align: center;
  background: linear-gradient(135deg, #f3dba9 0%, #e1a95f 100%);
}
.coffee-btn {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 0.9rem 1.75rem;
  text-transform: none; letter-spacing: 0.08em;
  font-weight: 700; border-radius: 4px;
  margin-top: 1rem;
  transition: background 0.15s ease;
}
.coffee-btn:hover { background: #1f5a3d; text-decoration: none; }
.coffee-btn[aria-disabled="true"] { background: #999; cursor: not-allowed; }

/* Top Android-freedom banner — left/right combo of Keep-Android-Open + FSFE Free-Your-Android */
.android-banner { background: #f0f0f0; padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.android-banner > .container { max-width: calc(var(--max) * 1.10); }
/* Temporarily hidden — re-enable by deleting the following rule */
.android-banner { display: none; }
.android-banner-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7rem; align-items: stretch;
}
.android-banner .ab-side { min-width: 0; }
.android-banner .ab-kao,
.android-banner .ab-fsfe {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
}
.android-banner .ab-kao {
  display: flex; flex-direction: column; justify-content: center;
}
.android-banner .ab-kao #kao-slot { /* KAO JS injects its own styled banner here */ }
.android-banner .ab-fsfe {
  display: flex; align-items: center; gap: 1.25rem;
}
.android-banner .ab-fsfe img { width: 88px; height: auto; flex-shrink: 0; }
.android-banner .ab-fsfe .text { text-align: left; }
.android-banner .ab-fsfe h3 {
  margin: 0 0 0.3rem; font-size: 1rem;
  text-transform: none; letter-spacing: 0.06em;
}
.android-banner .ab-fsfe p { margin: 0 0 0.4rem; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.android-banner .ab-fsfe a.cta { color: var(--accent); font-weight: 700; text-transform: none; letter-spacing: 0.06em; font-size: 0.8rem; }
@media (max-width: 780px) {
  .android-banner-inner { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 520px) {
  .android-banner .ab-fsfe { flex-direction: column; gap: 0.75rem; text-align: center; }
  .android-banner .ab-fsfe .text { text-align: center; }
}

/* Footer */
footer {
  background: var(--bg-dark); color: #c8c8c8;
  padding: 2rem 0; text-align: center; font-size: 0.88rem;
}
footer a { color: #fff; }

/* ============================================================
   Per-app detail pages (apps/*.html)
   ============================================================ */

/* App-page hero — same look as landing hero but with a big icon */
header.app-hero {
  background: #2c2c2c;
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}
header.app-hero .app-icon-big {
  width: 128px; height: 128px; border-radius: 28px;
  margin: 0 auto 1.25rem; display: block;
  object-fit: contain;
}
header.app-hero .app-icon-big.dark { background: #1a1a1a; padding: 8px; }
header.app-hero .app-icon-big.dark.fill { padding: 0; }
header.app-hero .app-icon-big.bg-zoom {
  background-image: url("icons/nudg.png");
  background-size: 115%;
  background-position: center;
  background-repeat: no-repeat;
}
header.app-hero .app-icon-big-mono {
  width: 128px; height: 128px; border-radius: 28px;
  margin: 0 auto 1.25rem; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
  color: #fff; font-weight: 700; font-size: 3.2rem;
  line-height: 1; letter-spacing: -0.02em;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  user-select: none;
}
header.app-hero .badge.dev {
  color: #ffb069; border-color: #ffb069;
  background: rgba(255, 176, 105, 0.08);
}
header.app-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.6rem; text-transform: none; letter-spacing: 0.04em;
}
header.app-hero .tagline { max-width: 640px; margin: 0 auto 1.2rem; color: #d0d0d0; font-size: 1.05rem; text-wrap: balance; }
header.app-hero .badges { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
header.app-hero .badge {
  font-size: 0.82rem; text-transform: none; letter-spacing: 0.02em;
  color: var(--accent-on-dark); border: 1px solid var(--accent-on-dark);
  background: #181818;
  padding: 0.3rem 0.85rem; border-radius: 999px;
}
/* Language-count badge: dark fill (like every other hero badge) but a
   full-saturation 6-hue ring in place of a flat accent border - reads as
   both "many languages" and a pride nod, without touching text contrast. */
header.app-hero .badge.badge-i18n {
  color: #fff;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#181818, #181818) padding-box,
    linear-gradient(90deg, #ff5c5c, #ffa94d, #ffe066, #3ada87, #4dabf7, #b197fc) border-box;
}

/* Hero store CTA (placeholder until the Play listing is live) */
header.app-hero .hero-cta { margin-top: 1.6rem; }
.store-btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: #111; color: #fff;
  padding: 0.55rem 1.4rem; border-radius: 10px;
  border: 1px solid #2c2c2c; line-height: 1.05;
  transition: background 0.15s ease, transform 0.15s ease;
}
.store-btn:hover { background: #000; color: #fff; text-decoration: none; transform: translateY(-1px); }
.store-btn .store-glyph { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn .store-txt {
  display: flex; flex-direction: column; align-items: flex-start;
  font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em;
}
.store-btn .store-txt small {
  font-size: 0.62rem; font-weight: 400; opacity: 0.78;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.store-btn[aria-disabled="true"] { opacity: 0.72; cursor: not-allowed; pointer-events: none; }

/* About — narrow prose column for readability */
.read { max-width: 720px; margin: 0 auto; }
.read p { font-size: 1.02rem; color: var(--ink); }

/* Screenshots — horizontal scroll-snap, CSS-only */
.shots {
  display: flex; gap: 1rem; justify-content: safe center;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1.25rem;
  /* Firefox / Edge native styling */
  scrollbar-width: auto;
  scrollbar-color: var(--accent) #e6e6e6;
}
/* Webkit (Chrome / Safari / new Edge) */
.shots::-webkit-scrollbar { height: 10px; }
.shots::-webkit-scrollbar-track { background: #e6e6e6; border-radius: 5px; }
.shots::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 5px; }
.shots::-webkit-scrollbar-thumb:hover { background: #1f5a3d; }
.shots .shot {
  flex: 0 0 auto;
  width: 240px; height: 240px;
  border-radius: 14px;
  background: #fafafa;
  border: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  scroll-snap-align: start;
  font-size: 0.9rem; text-align: center; padding: 1rem;
}
.shots .shot img {
  max-width: 100%; max-height: 100%;
  border-radius: 10px;
  filter: contrast(1.20) brightness(1.18);
}
/* Counter-rotate a screenshot whose content is captured at an angle */
.shots .shot.tilt-correct img { transform: rotate(3deg); }
.shots .shot.round {
  border-radius: 50%; border: none; background: transparent;
  padding: 0; overflow: hidden;
  position: relative;
}
.shots .shot.round img { border-radius: 0; }
/* Black-out the bottom strip (used to hide version/footer text).
   Per-instance height via --crop-height inline custom property; defaults to 20px. */
.shots .shot.round.crop-bottom::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--crop-height, 20px);
  background: #000;
}

/* Annotated screenshot — 4-quadrant explainer overlay */
.shots .shot.annotated { position: relative; }
.shots .shot.annotated .annot-overlay {
  position: absolute; inset: 6px;
  border-radius: 50%; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  pointer-events: none;
}
.shots .shot.annotated .quad {
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center; justify-content: center;
  font-size: 0.72rem; line-height: 1.15;
  text-align: center; color: #dcdcdc;
  font-weight: 700; text-transform: none; letter-spacing: 0.04em;
  padding: 0.4rem;
}
.shots .shot.annotated .q-tl { border-right: 1px solid rgba(255,255,255,0.25); border-bottom: 1px solid rgba(255,255,255,0.25); }
.shots .shot.annotated .q-tr { border-bottom: 1px solid rgba(255,255,255,0.25); }
.shots .shot.annotated .q-bl { border-right: 1px solid rgba(255,255,255,0.25); }
.shots .shot.annotated .quad span { padding: 0.25rem 0.5rem; }
/* Nudge each label ~3px toward the image centre */
.shots .shot.annotated .q-tl span { transform: translate( 3px,  3px); }
.shots .shot.annotated .q-tr span { transform: translate(-3px,  3px); }
.shots .shot.annotated .q-bl span { transform: translate( 3px, -3px); }
.shots .shot.annotated .q-br span { transform: translate(-3px, -3px); }
/* Central settings-tap zone — circular, overlaid on the quad grid */
.shots .shot.annotated .quad-center {
  position: absolute;
  top: 50%; left: 50%;
  width: 88px; height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  text-align: center; color: #dcdcdc;
  font-weight: 700; text-transform: none; letter-spacing: 0.04em;
}

/* Features grid — cleaner, more compact than principles */
.features { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
.feature {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 1.25rem 1.5rem; background: #fff;
}
.feature h3, .feature h4 { margin: 0 0 0.35rem; font-size: 1.02rem; text-transform: none; letter-spacing: 0.04em; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }

/* Privacy list */
.privacy-list { list-style: none; padding: 0; margin: 0; max-width: 720px; margin: 0 auto; }
.privacy-list li {
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.privacy-list li:last-child { border-bottom: none; }
.privacy-list code {
  background: #f0f0f0; color: var(--ink);
  padding: 0.05rem 0.4rem; border-radius: 3px;
  font-size: 0.85rem; white-space: nowrap;
}
.privacy-list .why { color: var(--muted); }

/* FAQ — pure CSS accordion via <details>/<summary> */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border); border-radius: 6px;
  margin-bottom: 0.75rem; background: #fff;
  padding: 0.9rem 1.25rem;
}
.faq summary {
  cursor: pointer; font-weight: 700;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] { padding-bottom: 1.1rem; }
.faq details p { margin: 0.75rem 0 0; color: var(--muted); }

/* Download buttons */
.downloads { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border); border-radius: 4px;
  text-transform: none; letter-spacing: 0.06em;
  font-size: 0.82rem; font-weight: 700;
  color: var(--ink); background: #fff;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.dl-btn:hover { background: var(--bg-alt); text-decoration: none; border-color: #d0d0d0; }
.dl-btn[aria-disabled="true"] { color: #999; background: #fafafa; cursor: not-allowed; pointer-events: none; }
.dl-btn .platform { color: var(--accent); }

/* Back-to-apps link */
.back-link {
  display: inline-block; margin: 2rem 0 0;
  font-weight: 700; text-transform: none;
  letter-spacing: 0.06em; font-size: 0.85rem;
}

/* Environment-banner pill — the inline script sets data-env + the
   env-show-badge class on <html> if we're on a local host. The label
   text is supplied by CSS so it works regardless of when the badge
   span is parsed. Public hosts: no badge. */
nav .brand .env-badge { display: none; }
html.env-show-badge nav .brand .env-badge {
  display: inline-block;
  font-size: 0.62rem;
  text-transform: none; letter-spacing: 0.02em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  margin-left: 0.6rem;
  font-weight: 700;
  vertical-align: 0.18em;
  color: #1a1a1a;
}
html.env-show-badge[data-env="dev"]  nav .brand .env-badge { background: #ff9d4d; }
html.env-show-badge[data-env="prod"] nav .brand .env-badge { background: #5fa8ff; }
html.env-show-badge[data-env="dev"]  nav .brand .env-badge::before { content: "local-dev"; }
html.env-show-badge[data-env="prod"] nav .brand .env-badge::before { content: "local-prod"; }

/* Dev-only links (e.g. the portfolio overview). Rendered ONLY when the
   env-detect script has set data-env="dev" — i.e. on dev/staging/local-dev
   builds. The public prod build never sets data-env, and local-prod sets it
   to "prod", so these stay hidden on prod. */
.dev-only-link { display: none !important; }
html[data-env="dev"] .dev-only-link { display: block !important; }
nav ul li.dev-only-link a { color: #ff9d4d; }


/* Language switcher (en/de) in the nav (#40) */
nav ul li.lang-switch { display: flex; align-items: center; gap: 0.3rem; }
nav ul li.lang-switch button { background: none; border: 0; color: #fff; font: inherit; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: none; cursor: pointer; opacity: 0.65; padding: 0; }
nav ul li.lang-switch button:hover { opacity: 0.9; }
nav ul li.lang-switch button:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; opacity: 1; }
nav ul li.lang-switch button.active { opacity: 1; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
nav ul li.lang-switch span { color: #fff; opacity: 0.35; }

/* Pre-paint i18n: hide translatable text for non-English visitors until lang.js swaps it (#40, no flash) */
html.i18n-pending [data-i18n], html.i18n-pending [data-de] { visibility: hidden; }
