/* Landing and about pages: plain HTML, no script, the app's brand tokens (batch 7). */
/* Colours and fonts: /kc-tokens.css (built from src/styles/tokens.css + fonts.css). */
:root {
  --bg: var(--surface-sunken);
  --bg-2: var(--surface);
  --panel: var(--surface-card);
  --stroke: var(--line);
  --accent: var(--action);
  --text: var(--ink);
  --text-2: color-mix(in srgb, var(--ink) 80%, var(--ink-muted));
  --muted: var(--ink-muted);
  --sans: var(--font-text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg)) fixed;
  color: var(--text);
  font: 17px/1.55 var(--sans);
}
a {
  color: var(--accent);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 16px;
  top: 8px;
  background: var(--panel);
  padding: 8px 12px;
  z-index: 1;
}
.top,
main,
.foot {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
}
.top nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
.top nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand img {
  display: block;
  height: 40px;
  width: auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  background: var(--action);
  color: var(--on-action);
  font-weight: 700;
  text-decoration: none;
}
.btn.big {
  min-height: 52px;
  padding: 0 32px;
  font-size: 19px;
}
.hero {
  padding: 48px 0 32px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--ink-heading);
  font-size: clamp(34px, 8vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.lead {
  font-size: 20px;
  color: var(--text-2);
  max-width: 40em;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 16px 0 40px;
}
.features > div,
.spots,
.prose {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 16px 20px;
}
.features h2 {
  font-size: 18px;
  margin: 0 0 6px;
}
.features p {
  margin: 0;
  color: var(--text-2);
}
.spots {
  margin-bottom: 24px;
}
.spot-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 4px 16px;
}
.spot-list a {
  display: inline-block;
  min-height: 44px;
  padding: 10px 0;
}
.prose {
  margin: 32px 0;
}
.foot {
  padding-top: 24px;
  padding-bottom: 40px;
  font-size: 14px;
}
.foot a {
  display: inline-block;
  min-height: 44px;
  padding: 12px 0;
}

h2,
h3 {
  font-family: var(--font-heading);
  color: var(--ink-heading);
}
/* the brand's warm accent, once per view: the hero bar */
.hero::after {
  content: '';
  display: block;
  width: 96px;
  height: 4px;
  margin-top: 32px;
  border-radius: var(--radius-pill);
  background: var(--gradient-sunset);
}

/* About (batch 11): a comfortable reading column, the safety note as a highlighted card, the source list */
.prose {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.65;
}
.prose h1 {
  font-family: var(--font-heading);
  color: var(--ink-heading);
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.15;
  margin: 8px 0 16px;
}
.prose h2 {
  margin: 36px 0 8px;
}
.prose ul {
  padding-left: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--stroke);
  margin: 32px 0;
}
.prose .note {
  border: 1px solid var(--accent);
  border-left-width: 4px;
  border-radius: 8px;
  padding: 4px 16px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.prose h4 {
  margin: 20px 0 4px;
  font-family: var(--font-heading);
  color: var(--ink-heading);
}
.prose section ul li {
  font-size: 14px;
  line-height: 1.5;
}
