/* ==========================================================================
   Final Call – website styles
   Shared by every language version (/en/, /de/, …). Keep copy out of CSS.
   ========================================================================== */

:root {
  --color-text: #0a0a0a;
  --color-text-muted: #666666;
  --color-text-soft: #6f6f6f;
  --color-accent: #0086ff;
  --color-accent-dark: #0069c9;
  --color-accent-btn: #0070e0;   /* 4.6:1 with white text */
  --color-accent-btn: #0070e0;   /* 4.6:1 with white text */
  --color-accent-btn: #0070e0;   /* 4.6:1 with white text */
  --color-accent-btn: #0070e0;   /* 4.6:1 with white text */
  --color-accent-tint: rgba(0, 134, 255, 0.08);
  --color-accent-tint-strong: rgba(0, 134, 255, 0.14);
  --color-success: #15803d;
  --color-danger: #d13b3b;
  --color-bg: #ffffff;
  --color-surface: #f7f7f8;
  --color-surface-2: #f0f1f3;
  --color-line: #e6e7ea;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1120px;
  --gutter: 20px;
  --section-gap: clamp(72px, 10vw, 128px);

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-float: 0 10px 40px rgba(0, 0, 0, 0.12);
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* Japanese pages: system CJK fonts (Inter only covers Latin) */
html[lang="ja"] body { font-family: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] h4 { letter-spacing: 0; }
html[lang="ja"] .hero h1 { font-size: clamp(34px, 5.5vw, 56px); max-width: 16ch; }

html[lang="es"] .hero h1 { max-width: 20ch; }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 14px; border-radius: var(--radius-pill);
  background: var(--color-text); color: #fff; font-weight: 600; font-size: 14px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; outline-color: #fff; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-tint);
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-accent);
}
.eyebrow .sep { opacity: 0.4; }

.section-head {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.section-head .lead {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  color: var(--color-text-soft);
  margin-bottom: 4px;
}
.section-head p {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 17px;
}

.muted { color: var(--color-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--color-accent-btn);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 134, 255, 0.28);
}
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-outline {
  background: #fff;
  color: var(--color-text);
  border-color: var(--color-line);
}
.btn-outline:hover { border-color: #c9cbd1; background: var(--color-surface); }
.btn-block { width: 100%; }

.text-link {
  color: var(--color-text-muted);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.2);
}
.text-link:hover { color: var(--color-text); }

.store-badge img { height: 48px; width: auto; }
.store-badge:hover { opacity: 0.9; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px var(--gutter);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.nav-links a:hover { color: var(--color-text); background: rgba(0, 0, 0, 0.04); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 0; background: transparent; border-radius: 50%;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--color-text); border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(40px, 8vw, 96px);
  text-align: center;
}
.hero h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  letter-spacing: -0.035em;
  margin: 20px auto 20px;
  max-width: 14ch;
}
.hero .hero-text {
  max-width: 560px;
  margin-inline: auto;
  font-size: 17px;
  color: var(--color-text-muted);
}
.hero .hero-text strong { color: var(--color-text); font-weight: 600; }
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.hero-note { font-size: 13px; color: var(--color-text-soft); }
.hero-note + .text-link { margin-top: -8px; }

/* The screenshots already carry their own desktop background,
   so they stand on their own – no extra frame. */
.hero-visual {
  margin-top: clamp(40px, 6vw, 72px);
  max-width: 1020px;
  margin-inline: auto;
}
.hero-visual img,
.cta-final img.shot {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.14);
}

/* ---------- Sections ---------- */
.section { padding-top: var(--section-gap); }
.section:last-of-type { padding-bottom: var(--section-gap); }

/* Benefit cards */
.card-grid {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.card:hover { background: #fff; border-color: var(--color-line); box-shadow: var(--shadow-card); }
.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p { color: var(--color-text-muted); font-size: 15px; }
.icon {
  flex: none;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--color-accent-tint-strong);
  color: var(--color-accent);
}
.icon svg { width: 16px; height: 16px; }

/* Feature spotlights */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.spotlight + .spotlight { margin-top: 24px; }
.spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.spotlight-copy h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  margin-top: 18px;
  max-width: 14ch;
}
.spotlight-copy p { color: var(--color-text-muted); font-size: 15.5px; max-width: 42ch; }
.spotlight-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  place-items: start center;
  padding: 0;
  background: #a2a6e9;
  min-height: 420px;
}
.spotlight-media--blue { background: #4f66e3; }
/* Variant: screenshot sits inset in the tile and runs off its bottom edge */
.spotlight-media--inset { padding: 36px 44px 0; }
.spotlight-media--inset img {
  border-radius: 10px 10px 0 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.spotlight--reverse .spotlight-copy { order: 2; }
.spotlight--reverse .spotlight-media { order: 1; }

/* Comparison */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.compare-col {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
}
.compare-col h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  margin-bottom: 20px;
}
.compare-col--us {
  border-color: transparent;
  background: linear-gradient(180deg, #f2f8ff 0%, #ffffff 100%);
  box-shadow: 0 0 0 1px var(--color-accent-tint-strong), var(--shadow-card);
}
.compare-col--us h3 { color: var(--color-accent-dark); }
.compare-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--color-line);
}
.compare-list li:first-child { border-top: 0; padding-top: 0; }
.compare-list strong { display: block; font-weight: 600; font-size: 15px; }
.compare-list span { color: var(--color-text-muted); font-size: 14.5px; }
.mark {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.mark svg { width: 12px; height: 12px; }
.mark--no { background: #fdeaea; color: var(--color-danger); }
.mark--yes { background: #e3f3e8; color: var(--color-success); }

/* Platforms */
.platforms {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
  margin-top: 0;
}
.platforms > * { min-width: 0; }
.platforms h2 { font-size: clamp(28px, 4vw, 40px); max-width: 14ch; }
.platforms p { color: var(--color-text-muted); margin-top: 18px; font-size: 15.5px; }
.logo-wall {
  margin-top: 40px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1b73e8 0%, #2b8bf2 55%, #5aa8ff 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.logo-wall li {
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 2.6;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}
.logo-wall img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.logo-wall .logo-sq img { max-height: 54px; }
.logo-wall .more { font-weight: 600; font-size: 15px; text-align: center; line-height: 1.3; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.plan {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background: #fff;
}
.plan--featured {
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--color-accent), var(--shadow-card);
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-name { font-weight: 600; font-size: 16px; }
.plan-badge {
  font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--color-accent-btn); color: #fff;
}
.plan-price {
  display: flex; align-items: baseline; gap: 8px;
  margin: 18px 0 22px;
}
.plan-price .amount { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.plan-price .period { color: var(--color-text-muted); font-size: 15px; }
.plan-features { margin-top: 22px; display: grid; gap: 10px; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
}
.plan-features .check {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e3f3e8; color: var(--color-success);
}
.plan-features .check svg { width: 11px; height: 11px; }
.pricing-foot {
  margin-top: 32px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
}
.pricing-foot strong { display: block; color: var(--color-text); font-weight: 600; margin-bottom: 6px; }
.pricing-foot small { display: block; font-size: 12.5px; color: var(--color-text-soft); max-width: 520px; margin: 8px auto 0; }

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.step {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-accent-btn); color: #fff;
  font-weight: 600; font-size: 14px;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--color-text-muted); font-size: 15px; }
.steps-note { margin-top: 24px; text-align: center; color: var(--color-text-soft); font-size: 14px; }

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
  display: grid;
  gap: 10px;
}
.faq-list details {
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 0 22px;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--color-text-soft);
  border-bottom: 2px solid var(--color-text-soft);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 4px;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); }
.faq-list details p {
  padding: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 15px;
  max-width: 64ch;
}

/* Closing CTA */
.cta-final {
  margin-top: var(--section-gap);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--section-gap);
  padding: 56px 0 32px;
  border-top: 1px solid var(--color-line);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p { color: var(--color-text-muted); margin: 12px 0 20px; }
.footer-brand .store-badge img { height: 40px; }
.footer-col h4 {
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-text-soft); margin-bottom: 14px; font-weight: 600;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--color-text-muted); }
.footer-col a:hover { color: var(--color-text); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  color: var(--color-text-soft); font-size: 13px;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom a:hover { color: var(--color-text); }
/* Language menu (header): dark grey, no frame, far right */
.lang-menu { position: relative; margin-left: 2px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 10px;
  border: 0; border-radius: var(--radius-pill);
  background: transparent; color: #3a3a3a;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  line-height: 1; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { color: var(--color-text); background: rgba(0, 0, 0, 0.05); }
.lang-btn svg { width: 17px; height: 17px; stroke-width: 1.6; }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 150px; padding: 6px; margin: 0;
  border-radius: 14px;
  background: #fff; border: 1px solid var(--color-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 60;
}
.lang-list[hidden] { display: none; }
.lang-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--color-text);
}
.lang-list a:hover { background: var(--color-surface); }
.lang-list a[aria-current="true"]::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .spotlight, .compare, .platforms, .footer-grid { grid-template-columns: 1fr; }
  .spotlight--reverse .spotlight-copy { order: 1; }
  .spotlight--reverse .spotlight-media { order: 2; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: minmax(0, 420px); }
  .platforms { gap: 24px; }
  .logo-wall { margin-top: 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .nav { gap: 4px; }
  .lang-btn { padding: 0 8px; }
  .lang-menu { order: 5; margin-left: auto; }
  .nav-toggle { order: 6; }
  .nav.is-open { border-radius: 24px; flex-wrap: wrap; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; width: 100%; order: 3; padding: 8px 0 4px;
  }
  .nav.is-open .nav-links a { padding: 12px 10px; font-size: 16px; }
  .nav.is-open .btn { display: inline-flex; width: 100%; order: 7; margin-bottom: 4px; }
  .nav.is-open .nav-links { order: 7; }
  .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .spotlight-copy { padding: 26px; }
  .spotlight-media { min-height: 0; aspect-ratio: 4 / 3; }
  .spotlight-media--inset { padding: 20px 20px 0; }
  .plan { padding: 24px; }
}

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

/* ==========================================================================
   Subpages
   ========================================================================== */

/* Page intro (title + lead) */
.page-hero {
  padding-top: clamp(40px, 7vw, 80px);
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.03em;
}
.page-hero .lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--color-text-muted);
}
.page-hero .meta {
  margin-top: 14px;
  font-size: 14px;
  color: var(--color-text-soft);
}
.page-hero .lead a, .prose a, .faq-list p a, .section-head p a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 105, 201, 0.3);
}

/* Long-form text */
.prose {
  max-width: 720px;
  margin: 40px auto 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--color-text);
}
.prose--wide { max-width: 860px; }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin-top: 2.2em;
}
.prose h3 {
  font-size: 19px;
  margin-top: 1.8em;
}
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 0.4em; }
.prose li::marker { color: var(--color-text-soft); }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--color-line); margin: 2.5em 0; }
.prose .small { font-size: 14px; color: var(--color-text-muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.prose th, .prose td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-top: 1px solid var(--color-line);
}
.prose th { font-weight: 600; }
.prose thead th {
  border-top: 0;
  background: var(--color-surface);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}
.prose tbody th { width: 22%; color: var(--color-text); }
.prose .table-wrap { overflow-x: auto; margin-top: 1.4em; border: 1px solid var(--color-line); border-radius: var(--radius-md); }
.prose .table-wrap table { margin: 0; }
.prose .table-wrap th:first-child, .prose .table-wrap td:first-child { padding-left: 18px; }

/* Author block (portrait, signature) */
.author-portrait {
  display: block;
  width: 144px; height: auto;
  margin: 32px auto 0;
  border-radius: 14px;
}
.signature { display: block; width: 180px; height: auto; margin-top: 1.6em; }

/* Notice / callout box */
.notice {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: #f2f8ff;
  border: 1px solid rgba(0, 134, 255, 0.18);
  font-size: 15px;
  color: var(--color-text-muted);
}
.notice strong { display: block; color: var(--color-text); margin-bottom: 4px; }

/* Key facts list (one pager) */
.facts {
  display: grid;
  gap: 6px;
  font-size: 15.5px;
}
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.facts dt { font-weight: 600; margin: 0; }
.facts dd { margin: 0; color: var(--color-text-muted); }

/* Changelog */
.changelog {
  max-width: 720px;
  margin: 48px auto 0;
  display: grid;
  gap: 16px;
}
.release {
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.release-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--color-text-soft);
}
.release-meta .version {
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--color-accent-tint-strong);
  color: var(--color-accent-dark);
  font-weight: 600;
}
.release h2 { font-size: 20px; margin-top: 14px; }
.release .body { margin-top: 12px; color: var(--color-text-muted); font-size: 15.5px; }
.release .body > * + * { margin-top: 0.7em; }
.release .body ul { padding-left: 1.2em; list-style: disc; }
.release .body li { margin-top: 0.3em; }
.release .body a { color: var(--color-accent-dark); font-weight: 500; }

/* FAQ groups (support page) */
.faq-group { max-width: 760px; margin: 48px auto 0; }
.faq-group h2 { font-size: 20px; margin-bottom: 14px; }
.faq-group .faq-list { margin-top: 0; }

/* Legal pages */
.legal .prose p, .legal .prose li { font-size: 15.5px; }
.legal .prose h2 { font-size: 22px; margin-top: 2em; }
.legal .prose h3 { font-size: 17px; }
.legal address { font-style: normal; }

/* Nav state */
.nav-links a[aria-current="page"] { color: var(--color-text); }

@media (max-width: 640px) {
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .release { padding: 22px; }
}

/* ==========================================================================
   Consent banner
   ========================================================================== */
/* Dimmed backdrop while the dialog is open */
html.consent-open::before {
  content: "";
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
html.consent-open { overflow: hidden; }
.consent {
  position: fixed;
  z-index: 100;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 26px 26px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  font-size: 14.5px;
  line-height: 1.55;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 16px; margin-bottom: 8px; }
.consent p { color: var(--color-text-muted); }
.consent p a { color: var(--color-text); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px;
}
.consent-actions .btn { padding: 10px 16px; font-size: 14px; }
.consent-actions .btn-link {
  background: none; border: 0; padding: 10px 6px;
  color: var(--color-text-muted); font-size: 14px; font-weight: 500; cursor: pointer;
}
.consent-actions .btn-link:hover { color: var(--color-text); }
.consent-details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
  display: grid; gap: 10px;
}
.consent-details[hidden] { display: none; }
.consent-row {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start;
}
.consent-row strong { display: block; font-weight: 600; }
.consent-row span { color: var(--color-text-muted); font-size: 13.5px; }
.consent-row input[type="checkbox"] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--color-accent); }
@media (max-width: 640px) {
  .consent { width: calc(100% - 20px); padding: 20px; }
  .consent-actions .btn { flex: 1 1 auto; }
}
