/* Karib — shared stylesheet.
   No JS, no external fonts, no external assets: these pages must render
   identically on any host and load instantly for a Meta reviewer. */

:root {
  --accent: #c2410c;
  --accent-soft: #fde5d3;
  --bg: #fffbf7;
  --surface: #ffffff;
  --text: #22201e;
  --muted: #6b625c;
  --border: #ecdfd5;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #fb923c;
    --accent-soft: #3a2416;
    --bg: #17130f;
    --surface: #201a16;
    --text: #f2ece7;
    --muted: #a99e96;
    --border: #362c25;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: 44rem;
  margin: 0 auto;
}

.wrap--wide {
  max-width: 54rem;
}

/* --- header / brand --- */

header.site {
  padding: 2.5rem 0 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.brand strong {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.brand span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* --- typography --- */

h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0.5rem 0 0.75rem;
}

.hero h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2.25rem 0 0.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.02rem;
  margin: 1.5rem 0 0.35rem;
}

p,
li {
  color: var(--text);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

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

ul {
  padding-left: 1.2rem;
}

li {
  margin: 0.3rem 0;
}

dl {
  margin: 0.75rem 0;
}

dt {
  font-weight: 600;
  margin-top: 1rem;
}

dd {
  margin: 0.2rem 0 0 0;
  color: var(--muted);
}

/* --- feature cards (landing) --- */

.features {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 2.5rem 0;
}

@media (min-width: 42rem) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

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

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* --- callouts --- */

.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.1rem;
  margin: 1.75rem 0;
  font-size: 0.95rem;
}

.en {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.en h2 {
  margin-top: 0;
  font-size: 1.05rem;
  color: var(--text);
}

/* --- footer --- */

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}

footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-bottom: 0.75rem;
}
