:root {
  --ink: #111827;
  --muted: #5b6575;
  --soft: #eef2f7;
  --line: #d9e1ec;
  --paper: #ffffff;
  --bg: #f7f8fb;
  --blue: #165dca;
  --blue-dark: #0f3d87;
  --green: #0f7a55;
  --amber: #fff5df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.site-header {
  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 {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  color: #2d3b4f;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--blue);
  color: #fff !important;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
}

.button:hover {
  background: var(--blue-dark);
  text-decoration: none;
}

.button.secondary {
  background: #fff;
  color: var(--ink) !important;
  border-color: var(--line);
}

.button.small {
  min-height: 38px;
  padding: 9px 13px;
}

.home-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 58px 20px 42px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 40px;
  align-items: center;
}

.home-hero-copy {
  max-width: 680px;
}

.home-hero-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(17, 24, 39, 0.12);
}

.eyebrow,
.kicker,
.post-label {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 6.6vw, 72px);
}

h2 {
  font-size: clamp(28px, 4.5vw, 46px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.lead {
  margin-top: 20px;
  color: #3f4e63;
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px;
}

.section.compact {
  padding-top: 34px;
}

.section-intro {
  max-width: 760px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

.table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf4fb;
  color: #25384c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.post-list {
  display: grid;
  gap: 26px;
}

.post-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}

.post-feature:hover,
.post-card:hover {
  text-decoration: none;
  border-color: #a9bdd8;
}

.post-feature img {
  border-radius: 8px;
}

.post-feature p,
.post-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.post-card {
  min-height: 190px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.cta-band {
  max-width: 1120px;
  margin: 24px auto 70px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  background: #102033;
  color: #fff;
  border-radius: 10px;
}

.cta-band p:not(.kicker) {
  max-width: 780px;
  margin-top: 12px;
  color: #cbd8e8;
  font-size: 18px;
}

.article {
  max-width: 880px;
  margin: 0 auto;
  padding: 54px 20px 76px;
}

.article h1 {
  font-size: clamp(38px, 6vw, 60px);
}

.article h2 {
  margin-top: 42px;
  font-size: clamp(28px, 4vw, 36px);
}

.article h3 {
  margin-top: 28px;
}

.article p,
.article li {
  color: #42526a;
  font-size: 18px;
}

.article p {
  margin-top: 15px;
}

.article ul,
.article ol {
  margin: 14px 0 0;
  padding-left: 24px;
}

.article li {
  margin: 8px 0;
}

.toc,
.callout,
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.toc {
  margin: 28px 0;
  padding: 18px;
}

.toc a {
  display: block;
  margin: 8px 0;
  font-weight: 750;
}

.callout {
  margin-top: 18px;
  padding: 18px;
  background: var(--amber);
  color: #5b4312;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 20px;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 27px;
}

.check-list li::before {
  content: "\\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.footer {
  padding: 34px 20px;
  background: #09192a;
  color: #c9d4e2;
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: flex-start;
}

.footer p {
  max-width: 760px;
}

.footer a {
  color: #e8f1ff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .home-hero,
  .post-feature,
  .post-grid,
  .grid.two,
  .cta-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: 34px;
  }

  .cta-band,
  .footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 18px;
  }

  .nav-links {
    gap: 13px;
  }

  .post-card {
    min-height: auto;
  }
}
