/* sathisystems.com — the company face. One stylesheet, no build, no
   scripts, no external requests (the altruistic pattern; handoff §4.4).
   Sober by intent: this is the corporate/institutional surface. Warm
   paper ground like the product's design canon; a deep, quiet accent
   that is neither the product's flag hues nor the framework's viridian.
   Dark mode follows the OS. No mark, no favicon — brand marks are the
   owner's own work. */

:root {
  --paper: #f7f4ee;
  --card: #ffffff;
  --ink: #22201c;
  --muted: #6c675e;
  --line: #e0dbd0;
  --accent: #1f3a5f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17150f;
    --card: #211e18;
    --ink: #efeae1;
    --muted: #a39c8f;
    --line: #37322a;
    --accent: #8fb0d9;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 Georgia, "Times New Roman", "Hiragino Mincho ProN",
    "Yu Mincho", serif;
  -webkit-text-size-adjust: 100%;
}

header.top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
}

.wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

header.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  font-family: -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI",
    Roboto, sans-serif;
  font-size: 0.85rem;
}

header.top nav a { color: var(--muted); text-decoration: none; }
header.top nav a:hover { color: var(--ink); text-decoration: underline; }
header.top nav em { color: var(--ink); font-style: normal; font-weight: 600; }
.langs { margin-left: auto; color: var(--muted); }
.langs em { font-weight: 600; }

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.hero { padding: 3rem 0 1rem; }

h1 {
  font-size: 1.9rem;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.lede { font-size: 1.1rem; color: var(--muted); margin: 0; }

section { padding: 1.75rem 0 0; }

h2 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.kicker {
  display: block;
  font-family: -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI",
    Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

p { margin: 0.6rem 0; }

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

ul { padding-left: 1.2rem; margin: 0.6rem 0; }
li { margin: 0.35rem 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 0.9rem 0;
}

.card h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.card p { margin: 0.3rem 0; }

.pledge { border-left: 3px solid var(--accent); padding-left: 1rem; }

.note {
  font-family: -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI",
    Roboto, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

dl.facts { margin: 0.75rem 0; }
dl.facts dt {
  font-family: -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI",
    Roboto, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.8rem;
}
dl.facts dd { margin: 0.15rem 0 0; }

footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-family: -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI",
    Roboto, sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}

footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }
