/* KYV site styles. Plain CSS with custom properties; no third-party assets. */
:root {
  --bg: #f7f9fb; --surface: #ffffff; --surface-2: #eef3f7; --text: #0f2233; --muted: #4a5f72;
  --border: #d5dee7; --primary: #0f4c75; --primary-ink: #ffffff; --accent: #0d9488;
  --warn: #9a5b00; --danger: #b42318; --ok: #146c43; --shadow: 0 1px 2px rgba(15,34,51,.06), 0 8px 24px rgba(15,34,51,.06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1622; --surface: #12212f; --surface-2: #172a3b; --text: #e6edf3; --muted: #9fb3c4;
    --border: #25384a; --primary: #5eb0e5; --primary-ink: #06121c; --accent: #5eead4;
    --warn: #f0b35a; --danger: #ff8a7a; --ok: #6fd3a0; --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1622; --surface: #12212f; --surface-2: #172a3b; --text: #e6edf3; --muted: #9fb3c4;
  --border: #25384a; --primary: #5eb0e5; --primary-ink: #06121c; --accent: #5eead4;
  --warn: #f0b35a; --danger: #ff8a7a; --ok: #6fd3a0; --shadow: none; color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 1rem; }
img, svg { max-width: 100%; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: var(--primary-ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

header.site { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; letter-spacing: .02em; }
.brand small { display: none; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.spacer { flex: 1; }
nav#nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 20px 16px; }
nav#nav.open { display: block; }
nav#nav a { display: block; padding: 10px 0; color: var(--text); text-decoration: none; font-weight: 500; }
nav#nav a:hover { color: var(--primary); }
.tool { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 8px; cursor: pointer; font: inherit; text-decoration: none; font-weight: 600; font-size: .875rem; }
.tool:hover { background: var(--surface-2); }
.tool svg { width: 18px; height: 18px; }
.langs { display: inline-flex; gap: 4px; }
.langs [aria-current="true"] { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }

.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; text-decoration: none; border: 1px solid var(--primary);
  background: var(--primary); color: var(--primary-ink); cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { filter: brightness(1.08); }
.btn.secondary { background: transparent; color: var(--primary); }
.btn[disabled] { opacity: .6; cursor: progress; }

section { padding: 56px 0; }
section.alt { background: var(--surface-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2rem; letter-spacing: -.01em; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; }

.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); }
.status-list { list-style: none; margin: 12px 0; padding: 0; }
.status-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.status-list li:last-child { border-bottom: 0; }
.status-list span:first-child { color: var(--muted); }
.chip { font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: .85rem; text-align: right; }
.note { color: var(--muted); font-size: .85rem; margin: 0; }

.grid { display: grid; gap: 16px; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: var(--primary-ink); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.steps p { color: var(--muted); margin: 0; }

.cap { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px; border: 1px solid var(--accent); border-radius: 999px; font-weight: 600; margin: 8px 0 24px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { position: relative; padding: 6px 0 6px 28px; }
.list li::before { position: absolute; left: 0; top: 6px; font-weight: 700; }
.list.yes li::before { content: "\2713"; color: var(--ok); }
.list.no li::before { content: "\2715"; color: var(--danger); }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 0 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
details p { color: var(--muted); }

form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
input[type=text], input[type=email], textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 2px var(--danger); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.5em; font-weight: 600; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--danger); }

footer.site { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .9rem; }
footer.site .row { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.legal-banner { border: 2px solid var(--warn); color: var(--warn); border-radius: 8px; padding: 12px 16px; font-weight: 700; margin-bottom: 24px; }

@media (min-width: 640px) {
  h1 { font-size: 2.6rem; } .grid.two { grid-template-columns: 1fr 1fr; }
  .brand small { display: inline; }
}
@media (min-width: 960px) {
  h1 { font-size: 3rem; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; align-items: center; }
  #nav-toggle { display: none; }
  nav#nav, nav#nav.open { display: flex; position: static; background: none; border: 0; padding: 0; gap: 18px; }
  nav#nav a { padding: 0; font-size: .92rem; }
  .grid.four { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps li { padding: 52px 0 0; }
  .steps li::before { top: 0; }
  .contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.mt { margin-top: 16px; }
.narrow { max-width: 820px; }
nav#nav a { white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1199px) { .brand small { display: none; } nav#nav, nav#nav.open { gap: 12px; } }
.brand small, .brand span { white-space: nowrap; }
@media (max-width: 420px) {
  .container { padding: 0 14px; }
  .bar { gap: 6px; }
  .tool { min-width: 36px; height: 38px; padding: 0 6px; }
  .langs { gap: 3px; }
}
