* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #ffffff;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.site-header .container {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  color: #111827;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: #4b5563;
  text-decoration: none;
}

nav a:hover {
  color: #111827;
}

.hero {
  padding: 120px 0;

  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.60),
      rgba(0, 0, 0, 0.60)
    ),
    url("images/hero.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  text-align: center;
}

.hero .container {
  max-width: 850px;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #5b6472;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  color: #111827;
}

h2 {
  margin-top: 0;
  font-size: 34px;
  line-height: 1.2;
  color: #111827;
}

h3 {
  margin-top: 0;
  color: #111827;
}

.hero h1 {
  color: white;
}

.hero .hero-text {
  color: #e5e7eb;
}

.hero .eyebrow {
  color: #e5e7eb;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border: none;
  border-radius: 6px;
  background: #111827;
  color: white;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  opacity: 0.88;
}

.section {
  padding: 80px 0;
}

.alt-section {
  background: #f7f9fc;
}

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

.card {
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: white;
}

.card p {
  margin-bottom: 0;
}

.example-section {
  background: #111827;
  color: #e5e7eb;
}

.example-section h2,
.example-section .eyebrow {
  color: white;
}

.flow {
  margin: 30px 0;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-weight: bold;
}

.secondary-button {
  background: #374151;
}

.explanation {
  margin-top: 24px;
  padding: 20px;
  border-left: 4px solid #111827;
  background: #f3f4f6;
}

.hidden {
  display: none;
}

footer {
  padding: 30px 0;
  border-top: 1px solid #e5e7eb;
  color: #6b7280;
  text-align: center;
}

@media (max-width: 800px) {
  .site-header .container {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0;
  }
}

/* =========================
   SECTION BACKGROUNDS
========================= */

.section {
  padding: 90px 0;
  background: #ffffff;
}

.alt-section {
  background: #f5f7fb;
}

.tools-section {
  background: #eef3f9;
}

/* Optional: make the final FAQ section feel clean */
#faq {
  background: #ffffff;
}

/* =========================
   INTRO TEXT
========================= */

.section-intro {
  max-width: 850px;
  margin: 0 0 40px 0;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* =========================
   TOOLS SECTION
========================= */

.tool-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.tool-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.featured-tool {
  border: 2px solid #0f2b5b;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 30px rgba(15, 43, 91, 0.08);
}

.tool-number {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  background: #0f2b5b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tool-content h3 {
  margin: 0 0 14px 0;
  font-size: 1.7rem;
  line-height: 1.2;
  color: #0f172a;
}

.tool-content p {
  margin: 0 0 16px 0;
  color: #334155;
  line-height: 1.8;
}

.tool-label {
  display: inline-block;
  margin: 0 0 10px 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f2b5b;
  background: #e8f0ff;
  padding: 6px 10px;
  border-radius: 999px;
}

.text-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
  color: #0f2b5b;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.editorial-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid #0f2b5b;
  background: rgba(255, 255, 255, 0.8);
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
  border-radius: 10px;
}

/* =========================
   COMPARISON TABLE
========================= */

.comparison-table {
  margin-top: 35px;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid #e5eaf2;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-header {
  background: #0f2b5b;
  color: #ffffff;
  font-weight: 700;
}

/* =========================
   IMPLEMENTATION STEPS
========================= */

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.step {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #0f2b5b;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step h3 {
  margin: 0 0 12px 0;
  color: #0f172a;
}

.step p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

/* =========================
   FAQ
========================= */

.faq-item {
  margin-top: 18px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.faq-item h3 {
  margin: 0 0 10px 0;
  color: #0f172a;
  font-size: 1.15rem;
}

.faq-item p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .comparison-row {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .tool-card {
    flex-direction: column;
  }

  .tool-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
  }

  .tool-content h3 {
    font-size: 1.4rem;
  }
}

/* BLOG INDEX */

.blog-index {
  min-height: 70vh;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 45px;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.blog-card h2 {
  font-size: 1.45rem;
  margin: 10px 0 16px;
}

.blog-card h2 a {
  color: #0f172a;
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: #0f2b5b;
}

.blog-card p {
  color: #475569;
  line-height: 1.7;
}

.blog-category {
  color: #0f2b5b !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* BLOG ARTICLE */

.blog-article {
  padding: 90px 0;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  color: #64748b;
  font-size: 0.9rem;
}

.blog-article h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.blog-article h2 {
  margin-top: 50px;
  font-size: 2rem;
}

.blog-article h3 {
  margin-top: 35px;
  font-size: 1.4rem;
}

.blog-article p,
.blog-article li {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
}

.blog-article ul,
.blog-article ol {
  margin: 25px 0;
  padding-left: 30px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   HOMEPAGE — LATEST ARTICLES
========================================= */

.latest-articles-section {
  background: #ffffff;
  padding: 100px 0;
}

.latest-articles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 45px;
}

.latest-articles-header > div {
  max-width: 760px;
}

.latest-articles-header .section-intro {
  margin-bottom: 0;
}

.articles-view-all {
  flex-shrink: 0;
  color: #0f2b5b;
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid #0f2b5b;
}

.articles-view-all:hover {
  opacity: 0.7;
}


/* CARD GRID */

.latest-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


/* CARD */

.latest-article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;

  padding: 32px;

  background: #f7f9fc;

  border: 1px solid #dbe3ef;
  border-radius: 18px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.latest-article-card:hover {
  transform: translateY(-5px);
  border-color: #b7c5da;
  box-shadow: 0 16px 35px rgba(15, 43, 91, 0.09);
}


/* CATEGORY */

.article-category {
  margin: 0 0 18px;

  color: #52647d;

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* TITLE */

.latest-article-card h3 {
  margin: 0 0 18px;

  font-size: 1.45rem;
  line-height: 1.3;
}

.latest-article-card h3 a {
  color: #0b1930;
  text-decoration: none;
}

.latest-article-card h3 a:hover {
  color: #0f3975;
}


/* DESCRIPTION */

.article-description {
  margin: 0 0 30px;

  color: #475569;

  font-size: 1rem;
  line-height: 1.7;
}


/* LINK */

.article-link {
  margin-top: auto;

  color: #0f2b5b;

  font-size: 0.95rem;
  font-weight: 700;

  text-decoration: none;
}

.article-link:hover {
  text-decoration: underline;
}


/* MOBILE */

@media (max-width: 900px) {

  .latest-articles-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .latest-articles-grid {
    grid-template-columns: 1fr;
  }

  .latest-article-card {
    min-height: auto;
  }

}