/* crasora.app — one stylesheet for every page. System fonts only: no font
   or script is loaded from a third party (see netlify.toml, CSP). */

:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --text: #16161a;
  --muted: #5d5d66;
  --line: #e4e2da;
  --accent: #a67800;
  --accent-strong: #ffd700;
  --link: #8a6300;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0d;
    --surface: #141416;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --line: #2a2a2e;
    --accent: #ffd700;
    --accent-strong: #ffd700;
    --link: #ffd24d;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
  color: var(--text);
  text-decoration: none;
}
.brand span { color: var(--accent); }
nav.site { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

main { padding: 28px 0 56px; }

.lang-switch {
  display: inline-flex;
  gap: 6px;
  margin: 0 0 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
}
.lang-switch a {
  padding: 4px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
}
.lang-switch a:hover { color: var(--text); background: var(--line); }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 22px; line-height: 1.3; margin: 36px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
li { margin: 0 0 6px; }
.stand { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

section.lang + section.lang {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 2px solid var(--line);
}

address { font-style: normal; margin: 0 0 14px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 0 0 14px;
}

.hero { padding: 24px 0 8px; }
.hero h1 { font-size: 40px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 19px; color: var(--muted); max-width: 560px; }

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer.site .wrap { padding-top: 18px; padding-bottom: 28px; }
footer.site a { color: var(--muted); }
