/* kinlura.com. Meridian identity, from universal/apps/kinlura/lib/src/design/kinlura_tokens.dart
   and kinlura_typography.dart. Light only, by the identity lock. No third-party requests. */

@font-face { font-family: 'Familjen Grotesk'; src: url('/fonts/FamiljenGrotesk-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Familjen Grotesk'; src: url('/fonts/FamiljenGrotesk-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Familjen Grotesk'; src: url('/fonts/FamiljenGrotesk-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/SourceSerif4-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/fonts/SourceSerif4-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Spline Sans Mono'; src: url('/fonts/SplineSansMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --canvas: #F0F2F1;
  --surface: #FFFFFF;
  --band: #1B2A27;
  --band-text: #F0F2F1;
  --band-text-2: #9DB5AD;
  --ink: #17191C;
  --ink-2: #5B6B67;
  --viridian: #0E6B5B;
  --border: #D3DAD7;
  --row: #E3E8E6;
  --ui: 'Familjen Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --read: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --mono: 'Spline Sans Mono', ui-monospace, Menlo, monospace;
  --measure: 720px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--ui);
  font-size: 1.0625rem;
  line-height: 1.55;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--viridian); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--viridian); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 10; }

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
header.site .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.125rem; letter-spacing: 0.01em; }
header.site .brand img { width: 44px; height: auto; }
header.site nav a { color: var(--ink-2); text-decoration: none; margin-left: 18px; font-weight: 500; }
header.site nav a:hover { color: var(--ink); }

main { padding: 12px 0 48px; }
h1, h2, h3 { font-family: var(--ui); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin: 0.4em 0 0.35em; }
h2 { font-size: 1.35rem; margin: 1.8em 0 0.5em; }
h3 { font-size: 1.1rem; margin: 1.4em 0 0.3em; }
.lede { font-family: var(--read); font-size: 1.25rem; line-height: 1.5; color: var(--ink); margin: 0 0 1.2em; }
.reading p, .reading li { font-family: var(--read); font-size: 1.125rem; }
.muted { color: var(--ink-2); }
.eyebrow { font-weight: 500; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--viridian); margin: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.band {
  background: var(--band);
  color: var(--band-text);
  border-radius: 12px;
  padding: 24px 20px;
  margin: 28px 0;
}
.band h2 { color: var(--band-text); margin-top: 0; }
.band p { color: var(--band-text-2); }
.band a { color: var(--band-text); }

ol.sections { list-style: none; padding: 0; margin: 0; counter-reset: s; }
ol.sections li { counter-increment: s; padding: 14px 0 14px 44px; position: relative; border-top: 1px solid var(--row); }
ol.sections li:first-child { border-top: 0; }
ol.sections li::before { content: counter(s); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--canvas); color: var(--viridian); font-family: var(--mono); font-size: 0.9rem; display: grid; place-items: center; }
ol.sections strong { display: block; }

form.signup { display: grid; gap: 10px; margin-top: 12px; }
form.signup label { font-weight: 500; }
form.signup .row { display: flex; gap: 10px; flex-wrap: wrap; }
form.signup input[type=email] {
  flex: 1 1 240px; min-height: 48px; padding: 0 14px;
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px;
}
form.signup button {
  min-height: 48px; padding: 0 20px; font: inherit; font-weight: 600;
  color: #FFFFFF; background: var(--viridian); border: 0; border-radius: 8px; cursor: pointer;
}
form.signup button:hover { filter: brightness(1.08); }
.guard { border-left: 3px solid var(--viridian); padding-left: 14px; color: var(--ink-2); }
.nowrap { white-space: nowrap; }
form.signup .fine { font-size: 0.9rem; color: var(--ink-2); margin: 0; }
.band form.signup .fine { color: var(--band-text-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 14px 0; border-top: 1px solid var(--row); }
.checklist li:first-child { border-top: 0; }
.checklist .when { font-family: var(--mono); font-size: 0.9rem; color: var(--viridian); display: block; }
.checklist .source { font-size: 0.9rem; color: var(--ink-2); display: block; margin-top: 4px; }
.checklist p { margin: 2px 0 0; font-family: var(--read); font-size: 1.1rem; }

.legal h2 { font-size: 1.15rem; }
.legal p, .legal li { font-size: 1rem; }

footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--ink-2); font-size: 0.9rem; }
footer.site nav a { color: var(--ink-2); margin-right: 16px; }

@media (max-width: 480px) {
  header.site nav a { margin-left: 0; margin-right: 16px; }
  .band, .card { padding: 18px 16px; }
}

/* Reading pages set long text in the serif; labels and controls stay in the UI face. */
.reading .eyebrow, .reading .fine, .reading form, .reading ol.sections strong, .reading h2, .reading .checklist .source { font-family: var(--ui); }
.card > h2:first-child, .band > h2:first-child { margin-top: 0; }
