/* Quits — brand manual v1.0: navy #18213D, electric green #A8FF3E (never text on white), warm white #F7F8F4. */
:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --text: #18213d;
  --muted: #5e6478;
  --border: #e8eaE4;
  --accent: #18213d;
  --green: #a8ff3e;
  --on-green: #18213d;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1428;
    --surface: #18213d;
    --text: #f7f8f4;
    --muted: #a3aac0;
    --border: #2c3656;
    --accent: #a8ff3e;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
h1, h2, h3, .brand-type { font-family: "Manrope", "Inter", system-ui, sans-serif; line-height: 1.2; }
h1 { font-size: clamp(32px, 6vw, 48px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: 24px; font-weight: 600; margin: 40px 0 12px; }
h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
p, li { color: var(--text); }
a { color: var(--accent); text-underline-offset: 3px; }
.muted { color: var(--muted); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.site img { height: 34px; width: auto; display: block; }
.logo-dark { display: none !important; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none !important; }
  .logo-dark { display: block !important; }
}
nav.lang a { font-size: 14px; color: var(--muted); text-decoration: none; }
nav.lang a[aria-current="true"] { color: var(--text); font-weight: 600; }

.hero { padding: 48px 0 24px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 14px;
  background: var(--green); color: var(--on-green); font-weight: 700; text-decoration: none;
  font-family: "Manrope", "Inter", sans-serif;
}
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 40px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.doc { padding: 16px 0 48px; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: start; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.code {
  font: 700 34px/1 "Manrope", monospace; letter-spacing: 0.18em;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; display: inline-block; margin: 8px 0 24px;
}

footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer.site a { color: var(--muted); }
