:root {
  --ink: #17212b;
  --muted: #5f6c78;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --line: #d8e0e7;
  --navy: #12364b;
  --blue: #0c5b7d;
  --gold: #a46f00;
  --green: #1d6a4c;
  --red: #9b2f25;
  --plum: #5f3d65;
  --shadow: 0 18px 48px rgba(18, 54, 75, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.58;
}

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

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  color: #263540;
  text-decoration: none;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(164, 111, 0, 0.14), transparent 32%),
    linear-gradient(125deg, #f6fafc 0%, #ffffff 48%, #fff8ea 100%);
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  padding: 72px 0 54px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(27px, 4vw, 43px);
  line-height: 1.08;
}

h3 {
  margin: 0 0 9px;
  font-size: 21px;
  line-height: 1.2;
}

p {
  margin: 0 0 14px;
}

.lead {
  max-width: 800px;
  color: #2d3b47;
  font-size: clamp(18px, 2.1vw, 23px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  border-radius: 7px;
  color: var(--navy);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--navy);
}

.visual-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.visual-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.section {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.section.soft {
  background: var(--soft);
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 30px;
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 9px 24px rgba(18, 54, 75, 0.06);
}

.card.compact {
  padding: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eaf2f5;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.note {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 7px;
  background: #fff8ea;
}

.note.good {
  border-left-color: var(--green);
  background: #eef8f3;
}

.note.bad {
  border-left-color: var(--red);
  background: #fff1ef;
}

.question {
  margin: 18px 0;
  padding: 22px;
  border: 1px solid #bfd1dc;
  border-radius: 8px;
  background: #f4fafc;
  color: #1e3444;
  font-size: 20px;
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline-date {
  color: var(--gold);
  font-weight: 900;
}

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

.source-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf4f7;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr:last-child td {
  border-bottom: 0;
}

.footer {
  padding: 36px 0;
  background: #102f42;
  color: #fff;
}

.footer a,
.footer h2 {
  color: #fff;
}

.muted {
  color: var(--muted);
}

.fine {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .grid,
  .two,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding: 46px 0 38px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
