:root {
  --ink: #17252b;
  --muted: #627178;
  --teal: #0c5871;
  --teal-deep: #073f53;
  --teal-soft: #e8f2f4;
  --moss: #506b5e;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #dbe2e1;
  --warm: #d7b17a;
  --shadow: 0 18px 60px rgba(18, 42, 49, 0.12);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 226, 225, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  min-width: 144px;
  line-height: 1;
}

.brand strong {
  font-size: 26px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.nav-links a {
  color: #32434a;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--teal);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--teal);
  border-radius: 4px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  text-transform: uppercase;
  transition: 180ms ease;
}

.button:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--teal);
}

.button.secondary:hover {
  background: var(--teal-soft);
}

.button.light {
  border-color: var(--white);
  background: var(--white);
  color: var(--teal-deep);
}

.icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.hero {
  min-height: min(720px, calc(100vh - 78px));
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--teal-deep);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 30, 39, 0.8) 0%, rgba(5, 30, 39, 0.42) 46%, rgba(5, 30, 39, 0.04) 76%),
    linear-gradient(0deg, rgba(5, 30, 39, 0.62) 0%, rgba(5, 30, 39, 0) 48%);
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 90px 0 72px;
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: inherit;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero h1,
.article-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 640;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  margin: 22px 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-strip {
  background: var(--teal);
  color: var(--white);
}

.trust-strip-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading .eyebrow {
  color: var(--teal);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 620;
  line-height: 1.12;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 6px 22px rgba(18, 42, 49, 0.04);
  transition: 220ms ease;
}

.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.article-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 500ms ease;
}

.article-card:hover img {
  transform: scale(1.025);
}

.article-card-body {
  padding: 28px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 0;
  font-size: clamp(23px, 2.8vw, 34px);
  font-weight: 620;
  line-height: 1.18;
}

.article-card p {
  margin: 14px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
  text-transform: uppercase;
}

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

.topic-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 60px 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.topic-inner h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 620;
  line-height: 1.14;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.topic-list a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.topic-list a:hover {
  background: var(--teal-soft);
  border-color: #b8ced3;
  color: var(--teal-deep);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--white);
}

.cta-band::after {
  width: 430px;
  height: 430px;
  position: absolute;
  top: -250px;
  right: -120px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.cta-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 310px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 58px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.cta-inner h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 620;
  line-height: 1.14;
}

.cta-inner p {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.site-footer {
  background: #10242c;
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}

.footer-inner h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-inner p,
.footer-inner a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-decoration: none;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
}

/* Article pages */
.article-hero {
  background: var(--white);
}

.article-hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 48px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}

.article-hero .eyebrow {
  color: var(--teal);
}

.article-hero h1 {
  max-width: 1050px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 76px);
}

.article-deck {
  max-width: 820px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 17px;
}

.article-cover {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 6px;
}

.article-cover img {
  width: 100%;
  height: min(62vw, 720px);
  min-height: 420px;
  object-fit: cover;
}

.article-layout {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 68px 0 96px;
  display: grid;
  grid-template-columns: 260px minmax(0, 720px);
  gap: 72px;
  justify-content: center;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 105px;
}

.sidebar-box {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sidebar-box + .sidebar-box {
  margin-top: 28px;
}

.sidebar-box h2 {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-box a {
  display: block;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.sidebar-box a:hover {
  color: var(--teal);
}

.author {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
}

.author-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 750;
}

.author strong {
  display: block;
  font-size: 11px;
}

.author span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.article-body {
  min-width: 0;
}

.direct-answer {
  margin: 0 0 42px;
  padding: 26px 28px;
  border-left: 4px solid var(--teal);
  background: var(--teal-soft);
}

.direct-answer strong {
  display: block;
  margin-bottom: 7px;
  color: var(--teal-deep);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.direct-answer p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 540;
}

.article-body h2 {
  margin: 56px 0 18px;
  font-size: clamp(27px, 3.4vw, 40px);
  font-weight: 620;
  line-height: 1.18;
}

.article-body h3 {
  margin: 34px 0 12px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.25;
}

.article-body p {
  margin: 0 0 20px;
  color: #3f5057;
  font-size: 15px;
}

.article-body ul,
.article-body ol {
  margin: 20px 0 26px;
  padding-left: 22px;
  color: #3f5057;
  font-size: 14px;
}

.article-body li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.quote {
  margin: 46px 0;
  padding: 36px;
  border-radius: 6px;
  background: var(--teal-deep);
  color: var(--white);
}

.quote p {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 530;
  line-height: 1.5;
}

.inline-cta {
  margin: 48px 0;
  padding: 32px;
  border: 1px solid #bfd0d4;
  border-radius: 6px;
  background: var(--white);
}

.inline-cta h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.inline-cta p {
  margin-bottom: 20px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 34px;
}

.check-item {
  min-height: 80px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: #3f5057;
  font-size: 12px;
  font-weight: 600;
}

.check-item span {
  width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
}

.faq {
  margin-top: 68px;
  border-top: 1px solid var(--line);
}

.faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.faq details p {
  max-width: 650px;
  margin: 12px 0 0;
}

.related {
  padding: 78px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.related-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.related-inner h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 620;
}

.mobile-menu-button {
  display: none;
}

@media (max-width: 900px) {
  .nav {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    display: grid;
    gap: 0;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 28px rgba(18, 42, 49, 0.1);
  }

  .nav-links.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu-button {
    width: 42px;
    height: 42px;
    margin-left: auto;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--white);
    color: var(--teal);
  }

  .hero {
    min-height: 680px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(5, 30, 39, 0.84) 0%, rgba(5, 30, 39, 0.18) 76%),
      linear-gradient(90deg, rgba(5, 30, 39, 0.38), rgba(5, 30, 39, 0));
  }

  .hero-content {
    padding-bottom: 48px;
  }

  .trust-strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: none;
  }

  .article-grid,
  .topic-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .topic-inner {
    gap: 30px;
  }

  .cta-inner {
    display: block;
  }

  .cta-inner .button {
    margin-top: 24px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .sidebar-box + .sidebar-box {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .nav,
  .section,
  .hero-content,
  .trust-strip-inner,
  .topic-inner,
  .cta-inner,
  .footer-inner,
  .footer-bottom,
  .article-hero-inner,
  .article-layout,
  .related-inner {
    width: min(100% - 28px, var(--max));
  }

  .brand strong {
    font-size: 22px;
  }

  .hero {
    min-height: 610px;
  }

  .hero h1,
  .article-hero h1 {
    font-size: 39px;
  }

  .hero p,
  .article-deck {
    font-size: 14px;
  }

  .trust-strip-inner,
  .article-grid,
  .topic-list,
  .article-sidebar,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .trust-item:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section {
    padding: 64px 0;
  }

  .article-card-body,
  .inline-cta,
  .quote {
    padding: 22px;
  }

  .article-hero-inner {
    padding: 44px 0 32px;
  }

  .article-cover {
    width: 100%;
    border-radius: 0;
  }

  .article-cover img {
    min-height: 320px;
    height: 68vw;
  }

  .article-layout {
    padding: 46px 0 68px;
  }
}
