* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #172128;
  --muted: #53636f;
  --line: #d8e0e6;
  --paper: #f7fafb;
  --white: #ffffff;
  --blue: #006fc9;
  --cyan: #00a8c6;
  --green: #167a5b;
  --gold: #a45f00;
  --focus: #0b74de;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: 40px;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  min-height: calc(100vh - 154px);
}

.hero {
  display: grid;
  min-height: 56vh;
  padding: clamp(56px, 10vw, 104px) clamp(20px, 8vw, 112px);
  place-content: center start;
}

.hero-kelevra {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82) 45%, rgba(238, 248, 250, 0.72)),
    url("/assets/kelevra-logo.png") right 10% center / min(42vw, 520px) no-repeat,
    linear-gradient(135deg, #f8fbfd, #e9f6f6);
}

.hero-axiom {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82) 56%, rgba(235, 244, 239, 0.75)),
    linear-gradient(135deg, #f7fafb, #eef7f1 48%, #f5f1e8);
}

.eyebrow {
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  margin: 0;
  max-width: 980px;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  margin: 0 0 18px;
}

h3 {
  font-size: 1.25rem;
  margin: 28px 0 8px;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.14rem, 2vw, 1.45rem);
  max-width: 820px;
}

.motto {
  border-left: 4px solid var(--cyan);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 700;
  margin-top: 30px;
  max-width: 720px;
  padding-left: 18px;
}

.band {
  padding: clamp(42px, 7vw, 78px) clamp(20px, 8vw, 112px);
}

.band.muted {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.content-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
}

.legal {
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(42px, 7vw, 76px) clamp(20px, 5vw, 42px);
}

.legal h1 {
  font-size: clamp(2.1rem, 5vw, 3.8rem);
}

.legal h2 {
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 30px;
}

.legal p,
.legal li {
  color: #25313a;
  font-size: 1.02rem;
}

.page-meta {
  color: var(--muted);
  font-weight: 650;
  margin: 16px 0 34px;
}

blockquote {
  border-left: 4px solid var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 24px 0;
  padding: 4px 0 4px 18px;
}

code {
  background: #eef3f5;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.94em;
  padding: 0.08em 0.34em;
}

.facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.facts div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 150px 1fr;
  padding-top: 14px;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
}

.link-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px clamp(18px, 4vw, 56px);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 52vh;
  }

  .hero-kelevra {
    background: linear-gradient(135deg, #f8fbfd, #e9f6f6);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .facts div {
    grid-template-columns: 1fr;
  }
}
