/* ENLV public website (website/, docs/07 section 23).
   Brand tokens as in CLAUDE.md "Designsystem": Ivory & Gold, cards of 20 px radius with a
   1 px border and a very soft shadow, the system font, large numbers and headings in navy.
   No JavaScript, no external resources (the CSP of the site allows none), light only. */

:root {
  --gold: #c9a961;
  --gold-ink: #8a6420;
  --gold-icon: #a67a25;
  --navy: #0b1f3b;
  --sage: #476b57;
  --mist: #e9eef4;
  --charcoal: #1f2937;
  --ivory: #fafaf8;
  --ink2: #44546f;
  --ink3: #70809e;
  --line: rgba(11, 31, 59, 0.08);
  --card-border: rgba(11, 31, 59, 0.06);
  --head-wash: #eaf0f5;
  --r: 20px;
  --shadow-card: 0 1px 2px rgba(11, 31, 59, 0.03), 0 4px 12px rgba(11, 31, 59, 0.05);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: var(--gold-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--navy);
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(34px, 6vw, 56px);
}

h2 {
  font-size: clamp(24px, 3.6vw, 34px);
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- header ---- */
.site-header {
  background: linear-gradient(180deg, var(--head-wash), var(--ivory));
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 30px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-ink);
}

.site-nav .login {
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--gold-ink);
}

/* ---- hero ---- */
.hero {
  padding: 56px 0 40px;
}

.hero .kicker {
  color: var(--gold-ink);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero .lead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--ink2);
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
}

.btn:hover,
.btn:focus-visible {
  background: var(--charcoal);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--gold);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  background: var(--mist);
}

/* ---- sections and cards ---- */
section {
  padding: 40px 0;
}

.section-intro {
  color: var(--ink2);
  max-width: 720px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--mist);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--gold-icon);
}

.card .icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card p {
  color: var(--ink2);
  margin: 0;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink2);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L19 7'/></svg>") center / 100% no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L19 7'/></svg>") center / 100% no-repeat;
}

.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.note {
  background: var(--mist);
  border-radius: 16px;
  padding: 16px 20px;
  color: var(--ink2);
  font-size: 15px;
}

.contact {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
}

/* ---- legal pages ---- */
.legal {
  max-width: 760px;
}

.legal h2 {
  font-size: 22px;
  margin-top: 32px;
}

.legal dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  margin: 0 0 16px;
}

.legal dt {
  color: var(--ink3);
}

.legal dd {
  margin: 0;
}

.placeholder {
  color: var(--gold-ink);
  font-style: italic;
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
  color: var(--ink3);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

@media (max-width: 600px) {
  .legal dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .legal dd {
    margin-bottom: 10px;
  }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: 8px;
  }
}
