@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


/* =========================================
   VARIABLES
========================================= */

:root {
  --primary: #1D4ED8;
  --primary-hover: #1E40AF;
  --primary-light: #EFF6FF;

  --text: #0F172A;
  --muted: #475569;

  --white: #FFFFFF;
  --alt: #F8FAFC;
  --border: #E2E8F0;

  --footer: #0F172A;

  --max-width: 1120px;
}


/* =========================================
   RESET / BASE
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    Inter,
    Arial,
    sans-serif;

  color: var(--text);

  background: var(--white);

  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}


/* =========================================
   CONTAINER
========================================= */

.container {
  width: min(
    calc(100% - 40px),
    var(--max-width)
  );

  margin-left: auto;
  margin-right: auto;
}

.narrow {
  max-width: 820px;
}


/* =========================================
   HEADER
========================================= */

.site-header {
  border-bottom: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.96);

  position: sticky;
  top: 0;

  z-index: 10;

  backdrop-filter: blur(8px);
}

.nav-wrap {
  min-height: 72px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;
}

.brand {
  text-decoration: none;

  font-weight: 700;

  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;

  gap: 28px;

  align-items: center;

  position: absolute;

  left: 50%;

  transform: translateX(-50%);
}

.site-nav a {
  text-decoration: none;

  color: var(--muted);

  font-size: 0.95rem;

  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {
  display: none;

  border: 1px solid var(--border);

  background: #fff;

  border-radius: 8px;

  padding: 7px 10px;

  font-size: 1.25rem;

  cursor: pointer;
}


/* =========================================
   GLOBAL HEADINGS
========================================= */

h1,
h2,
h3 {
  line-height: 1.2;

  letter-spacing: -0.03em;

  margin-top: 0;

  margin-bottom: 18px;
}

h1 {
  font-size: clamp(
    2.5rem,
    7vw,
    4.6rem
  );
}

h2 {
  font-size: clamp(
    1.8rem,
    4vw,
    2.5rem
  );
}

h3 {
  font-size: 1.35rem;
}


/* =========================================
   HERO
========================================= */

.hero {
  padding: 110px 0 100px;

  background:
    linear-gradient(
      180deg,
      var(--primary-light),
      #fff
    );
}

.lead {
  font-size: 1.18rem;

  color: var(--muted);

  max-width: 720px;
}


/* =========================================
   PAGE HERO
========================================= */

.page-hero {
  padding: 64px 0 56px;

  background:
    linear-gradient(
      180deg,
      var(--primary-light),
      #fff
    );

  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 2.75rem;

  margin-bottom: 14px;
}

.page-intro {
  color: var(--muted);

  font-size: 1.05rem;

  max-width: 700px;

  margin: 0;
}


/* =========================================
   EYEBROW
========================================= */

.eyebrow {
  color: var(--primary);

  font-size: 0.78rem;

  font-weight: 700;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  margin: 0 0 12px;
}


/* =========================================
   BUTTONS
========================================= */

.actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}

.button {
  display: inline-block;

  text-decoration: none;

  padding: 11px 18px;

  border-radius: 8px;

  font-weight: 600;

  border: 1px solid transparent;
}

.button.primary {
  background: var(--primary);

  color: #fff;
}

.button.primary:hover {
  background: var(--primary-hover);
}

.button.secondary {
  border-color: var(--border);

  background: #fff;
}

.button.secondary:hover {
  border-color: #CBD5E1;
}


/* =========================================
   SECTIONS
========================================= */

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--alt);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);

  max-width: 680px;
}

.section-title {
  font-size: 2rem;

  font-weight: 700;

  margin-bottom: 2rem;
}

.centered {
  text-align: center;
}


/* =========================================
   CARDS
========================================= */

.card {
  border: 1px solid var(--border);

  border-radius: 10px;

  padding: 28px;

  background: #fff;

  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05);

  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.card:hover {
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.06);

  transform: translateY(-2px);
}

.card p {
  color: var(--muted);

  margin-top: 0;
}

.card-label {
  display: inline-block;

  color: var(--primary);

  background: var(--primary-light);

  padding: 4px 9px;

  border-radius: 999px;

  font-size: 0.75rem;

  font-weight: 600;

  margin-bottom: 15px;
}

.grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 24px;

  max-width: 760px;

  margin-left: auto;
  margin-right: auto;
}

.card-badge {
  display: inline-block;

  color: var(--primary);

  background: var(--primary-light);

  padding: 4px 9px;

  border-radius: 4px;

  font-size: 0.75rem;

  font-weight: 700;

  letter-spacing: 0.05em;

  text-transform: uppercase;

  margin-bottom: 12px;
}

.card-title {
  font-size: 1.25rem;

  font-weight: 700;

  line-height: 1.35;

  margin-bottom: 8px;
}

.card-title a {
  color: inherit;

  text-decoration: none;
}

.card-title a:hover {
  color: var(--primary);
}

.card-desc {
  color: var(--muted);

  font-size: 0.9375rem;

  margin-top: 0;

  margin-bottom: 18px;
}

.card-link {
  color: var(--primary);

  font-weight: 600;

  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}


/* =========================================
   LINKS
========================================= */

.text-link,
.inline-link {
  color: var(--primary);

  font-weight: 600;

  text-decoration: none;
}

.text-link:hover,
.inline-link:hover {
  text-decoration: underline;
}

.email-link {
  display: inline-block;

  color: var(--primary);

  font-weight: 600;

  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}


/* =========================================
   INNER PAGE
========================================= */

.page {
  padding: 48px 0 100px;
}


/* =========================================
   BREADCRUMBS
========================================= */

.breadcrumbs {
  display: flex;

  gap: 9px;

  color: var(--muted);

  font-size: 0.9rem;

  margin-bottom: 50px;

  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--primary);

  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}


/* =========================================
   ARTICLE
========================================= */

.article {
  padding-bottom: 80px;
}

.article-container {
  max-width: 900px;
}

.article-breadcrumbs {
  padding-top: 42px;

  margin-bottom: 0;
}


/* -----------------------------------------
   Article Header
----------------------------------------- */

.article-header {
  padding: 48px 0 36px;

  margin-bottom: 0;

  border-bottom: 1px solid var(--border);
}

.article-header .eyebrow {
  margin-bottom: 12px;
}

.article-header h1 {
  max-width: 820px;

  font-size: 2.35rem;

  font-weight: 800;

  line-height: 1.25;

  letter-spacing: -0.02em;

  margin: 0;
}


/* -----------------------------------------
   Article Images
----------------------------------------- */

.article-image {
  width: 100%;

  margin: 36px 0;

  border-radius: 10px;

  overflow: hidden;

  border: 1px solid var(--border);

  background: var(--alt);
}

.article-image img {
  display: block;

  width: 100%;

  height: auto;
}


/* -----------------------------------------
   Article Content
----------------------------------------- */

.article-content {
  max-width: 760px;

  margin: 0 auto;

  padding-top: 8px;
}

.article-content p {
  color: var(--muted);

  margin-top: 0;

  margin-bottom: 1.25rem;
}

.article-content h2 {
  font-size: 1.5rem;

  font-weight: 700;

  line-height: 1.3;

  margin-top: 2.75rem;

  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.15rem;

  font-weight: 700;

  line-height: 1.35;

  margin-top: 2rem;

  margin-bottom: 0.75rem;
}

.article-content ul {
  color: var(--muted);

  margin-top: 0;

  margin-bottom: 1.5rem;

  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.45rem;
}

.article-content strong {
  color: var(--text);
}


/* -----------------------------------------
   Article Tables
----------------------------------------- */

.article-table-wrapper {
  width: 100%;

  overflow-x: auto;

  margin: 2rem 0;
}

.article-table {
  width: 100%;

  border-collapse: collapse;

  font-size: 0.95rem;

  background: #fff;
}

.article-table th,
.article-table td {
  padding: 12px 16px;

  text-align: left;

  border: 1px solid var(--border);
}

.article-table th {
  background: var(--alt);

  color: var(--text);

  font-weight: 700;
}

.article-table td {
  color: var(--muted);
}


/* -----------------------------------------
   Article Formula
----------------------------------------- */

.article-formula {
  padding: 1rem 1.25rem;

  background: var(--primary-light);

  border-left: 4px solid var(--primary);

  border-radius: 8px;

  margin: 1.5rem 0 2rem;
}

.article-formula strong {
  color: var(--text);
}


/* -----------------------------------------
   Article Footer
----------------------------------------- */

.article-footer {
  margin-top: 3rem;

  padding-top: 2rem;

  border-top: 1px solid var(--border);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  background: var(--footer);

  color: #fff;

  padding: 38px 0;
}

.footer-wrap {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  align-items: center;
}

.footer-wrap p {
  margin: 4px 0 0;

  color: #CBD5E1;

  font-size: 0.9rem;
}

.footer-wrap a {
  color: #fff;

  text-decoration: none;

  font-size: 0.9rem;
}

.footer-wrap a:hover {
  text-decoration: underline;
}


/* =========================================
   404
========================================= */

.error-code {
  font-size: 5rem;

  font-weight: 700;

  color: var(--primary);

  margin: 0;

  line-height: 1;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

  .container {
    width:
      min(
        calc(100% - 28px),
        var(--max-width)
      );
  }

  .nav-wrap {
    min-height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;

    position: absolute;

    top: 64px;

    left: 0;

    right: 0;

    background: #fff;

    border-bottom: 1px solid var(--border);

    padding: 14px;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    transform: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .hero {
    padding: 75px 0 70px;
  }

  .section {
    padding: 65px 0;
  }

  .page-hero {
    padding: 48px 0 44px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .article {
    padding-bottom: 60px;
  }

  .article-breadcrumbs {
    padding-top: 28px;

    margin-bottom: 0;
  }

  .article-header {
    padding: 34px 0 28px;
  }

  .article-header h1 {
    font-size: 2rem;

    line-height: 1.25;
  }

  .article-image {
    margin: 28px 0;
  }

  .article-content h2 {
    font-size: 1.4rem;

    margin-top: 2.25rem;
  }

  .article-content h3 {
    font-size: 1.1rem;
  }

  .article-table {
    min-width: 500px;
  }

  .footer-wrap {
    flex-direction: column;

    align-items: flex-start;
  }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }
}
/* =========================================
   ARTICLE TABLE OF CONTENTS
========================================= */

.table-of-contents {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 35px 0;
  background: var(--alt);
}

.table-of-contents h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.table-of-contents ul {
  margin: 0;
  padding-left: 22px;
}

.table-of-contents li {
  margin-bottom: 8px;
}

.table-of-contents a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.table-of-contents a:hover {
  text-decoration: underline;
}

/* =========================================
   ARTICLE TABLES
========================================= */

.article-table {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0 40px;
}

.article-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: #fff;
}

.article-table th,
.article-table td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.article-table th {
  background: var(--alt);
  font-weight: 600;
}

.article-table td {
  color: var(--muted);
}


/* =========================================
   ARTICLE FAQ
========================================= */

.faq-list {
  margin-top: 25px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* =========================================
   ARTICLE TITLE
========================================= */

.article h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
}
   
}
