:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0d1a2a;
  --surface-2: #122238;
  --text: #f5efe2;
  --muted: #b9c1cc;
  --gold: #d6b66f;
  --line: rgba(214, 182, 111, 0.28);
  --good: #75c6a4;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -20%, rgba(214, 182, 111, 0.12), transparent 36rem),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--gold); }
a:hover { color: #efd493; }

.shell {
  width: min(100% - 2rem, 54rem);
  margin: 0 auto;
}

.site-header {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.language-switcher {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.language-switcher button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  min-height: 44px;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--surface-2);
  color: var(--text);
}

main { padding: 3.5rem 0 4rem; }

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
}

h1 {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(2.15rem, 7vw, 4.2rem);
}

h2 {
  margin: 2.4rem 0 0.6rem;
  font-size: 1.45rem;
}

.lede {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.updated,
.note {
  color: var(--muted);
  font-size: 0.92rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.card,
.callout {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(13, 26, 42, 0.88);
}

.card {
  display: block;
  padding: 1.2rem;
  color: var(--text);
  text-decoration: none;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.card span { color: var(--muted); }

.callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-color: rgba(117, 198, 164, 0.38);
}

.callout strong { color: var(--good); }

ul,
ol { padding-inline-start: 1.4rem; }
li + li { margin-top: 0.45rem; }

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.15rem;
}

[hidden] { display: none !important; }

button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.landing-page main { padding-top: 4rem; }
.landing-hero { max-width: 48rem; padding-bottom: 2rem; }
.landing-local-name { margin: .5rem 0 0; color: var(--muted); font-size: 1.05rem; }
.hero-promise { font-size: clamp(1.65rem, 4.7vw, 2.8rem); font-weight: 650; line-height: 1.4; margin: 1.8rem 0 1rem; letter-spacing: -.02em; }
.landing-hero .lede { max-width: 42rem; font-size: 1.05rem; line-height: 1.8; }
.download-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.download-button { display: flex; flex-direction: column; justify-content: center; min-width: 10rem; min-height: 64px; padding: .55rem 1.4rem; text-decoration: none; background: var(--gold); color: #1a160b; border: 1px solid var(--gold); border-radius: .8rem; line-height: 1.4; text-align: center; }
.download-button:hover { color: #1a160b; background: #e5c780; }
.release-availability { max-width: 44rem; margin: 1.2rem auto 0; padding: 1rem 1.2rem; border: 1px solid var(--gold); border-radius: .8rem; font-size: .95rem; line-height: 1.65; }
.download-button small { font-size: .73rem; }
.download-button strong { font-size: 1.13rem; font-weight: 750; }
.download-button.secondary-download { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.download-button.secondary-download:hover { border-color: var(--gold); color: var(--text); }
.download-note { color: var(--muted); font-size: .83rem; line-height: 1.75; margin: 1rem 0 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0 3.5rem; }
.feature-card { border: 1px solid var(--line); padding: 1.4rem; border-radius: 1rem; background: linear-gradient(145deg, rgba(214, 182, 111, .045), transparent), var(--surface); }
.feature-step { font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.feature-card h2 { font-family: inherit; font-size: 1.15rem; margin: .75rem 0; line-height: 1.45; }
.feature-card p { font-size: .92rem; line-height: 1.8; color: var(--muted); margin: 0; }
.landing-privacy { padding: 1.8rem; border: 1px solid rgba(117, 198, 164, .3); border-radius: 1rem; background: rgba(117, 198, 164, .035); margin: 0 0 2.5rem; }
.landing-privacy h2, .landing-core h2 { font-family: inherit; font-size: 1.5rem; margin: 0 0 1rem; }
.landing-privacy p, .landing-core p { color: var(--muted); font-size: .98rem; max-width: 46rem; }
.landing-privacy a { display: inline-block; min-height: 44px; padding-block: .4rem; }
.landing-core { padding-inline: .3rem; }
.brand-verification-summary { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.legal-cards { margin-top: 2rem; }
.legal-cards .card strong { font-family: inherit; font-size: 1rem; }
.legal-cards .card span { font-size: .87rem; }

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .header-row,
  .footer-row { align-items: flex-start; }
  .footer-row { flex-direction: column; }
  main { padding-top: 2.5rem; }
  .landing-page .header-row { flex-wrap: wrap; }
  .landing-page main { padding-top: 2.7rem; }
  .feature-grid { grid-template-columns: 1fr; margin-bottom: 2.5rem; }
  .feature-card { padding: 1.25rem; }
  .feature-card h2 { margin-top: .5rem; }
  .landing-privacy { padding: 1.3rem; }
}

@media (max-width: 380px) { .download-links { gap: .6rem; }.download-button { min-width: 0; flex: 1 1 0; padding-inline: .7rem; }.brand { font-size: 1rem; }.language-switcher button { padding-inline: .65rem; } }

@media (prefers-reduced-motion: no-preference) {
  .card { transition: border-color 140ms ease, transform 140ms ease; }
}
