/*
 * Styles for the static, crawlable pages (/about/ and the translated /<lang>/ pages).
 * Deliberately self-contained and tiny: these pages must render with no app bundle, no
 * fonts and no network beyond this file, because they exist to be read by crawlers,
 * answer engines, and readers on slow connections. Palette matches the app shell.
 */

:root {
  --bg: #070a14;
  --bg-card: #101526;
  --text: #e9e7e3;
  --muted: #9aa1af;
  --accent: #d8c9a3;
  --rule: #1e2438;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Noto Sans CJK SC", "Noto Sans CJK JP", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

header.site {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  font-size: 1.85rem;
  line-height: 1.25;
  margin: 2rem 0 0.5rem;
}

h2 {
  font-size: 1.2rem;
  margin: 2.25rem 0 0.5rem;
  color: var(--accent);
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

.lead {
  font-size: 1.1rem;
}

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

.small {
  font-size: 0.9rem;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

a:hover {
  color: #fff;
}

.cta {
  display: inline-block;
  margin: 0.75rem 0 0;
  padding: 0.7rem 1.4rem;
  background: var(--accent);
  color: #16131b;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
}

.cta:hover {
  background: #efe3c6;
  color: #16131b;
}

/* Plans */
.plans {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.plan {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 0.6rem;
  padding: 1rem 1.1rem;
  margin: 0;
}

.plan-name {
  font-weight: 700;
  display: block;
}

.plan-price {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
}

/* A quiet, honest notice block — disclaimers and the crisis note. */
.notice {
  border-left: 3px solid var(--rule);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
  border-radius: 0 0.4rem 0.4rem 0;
}

.notice strong {
  color: var(--accent);
}

nav.langs {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
}

nav.langs ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

footer.site {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}

footer.site a {
  color: var(--muted);
}
