/* Kafa "coming soon" site (DEC-065, TASK-058). Static, no script, no web font, no third-party request.
   Colours: the teal brand of DEC-052 (light / dark); gold is the mark's colour only. */
:root {
  color-scheme: light dark;
  --page: #f6f8f7;
  --surface: #ffffff;
  --text: #13201e;
  --muted: #4a5a57;
  --line: #d5dfdc;
  --brand: #17675f;
  --on-brand: #ffffff;
  --brand-subtle: #ddeeec;
  --on-brand-subtle: #134f49;
  --focus: #17675f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0e1615;
    --surface: #152120;
    --text: #e4eeec;
    --muted: #a7b8b5;
    --line: #2a3b39;
    --brand: #5cc4b8;
    --on-brand: #0b1413;
    --brand-subtle: #183532;
    --on-brand-subtle: #a9e5df;
    --focus: #5cc4b8;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
a { color: var(--brand); text-underline-offset: 0.18em; }
a:focus-visible, .button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 1;
}
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--line); background: var(--surface); }
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.brand img { width: 36px; height: 36px; display: block; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
nav a {
  display: inline-block;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.975rem;
}
nav a:hover { color: var(--text); background: var(--brand-subtle); }
nav a[aria-current="page"] { color: var(--on-brand-subtle); background: var(--brand-subtle); }

main { flex: 1; }
.hero { padding: 72px 0 56px; }
.hero .mark { width: 88px; height: 88px; display: block; margin-bottom: 28px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-subtle);
  color: var(--on-brand-subtle);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.lead { margin: 0 0 32px; font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { filter: brightness(1.06); }
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 0 0 72px;
  padding: 0;
  list-style: none;
}
.points li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}
.points strong { display: block; margin-bottom: 4px; }
.points span { color: var(--muted); }
.note { color: var(--muted); font-size: 0.95rem; max-width: 52ch; }

footer { border-top: 1px solid var(--line); background: var(--surface); }
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 0.925rem;
}
footer p { margin: 0; }
@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .hero .mark { width: 72px; height: 72px; margin-bottom: 20px; }
  nav a { padding: 10px 12px; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, nav a { transition: background-color 120ms ease, filter 120ms ease; }
}
