:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #1f2937;
  --muted: #586174;
  --line: #e5e7eb;
  --line-strong: #d8e0f0;
  --blue: #2563eb;
  --blue-dark: #0f172a;
  --teal: #14b8a6;
  --green: #10b981;
  --gold: #f59e0b;
  --violet: #7c3aed;
  --red: #ef4444;
  --shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --hero-start: #0f172a;
  --hero-mid: #1d4ed8;
  --hero-end: #14b8a6;
  --hero-glow-a: rgba(20, 184, 166, 0.22);
  --hero-glow-b: rgba(124, 58, 237, 0.16);
  --hero-text: #ffffff;
  --hero-subtitle: rgba(255, 255, 255, 0.96);
  --hero-chip-bg: rgba(255, 255, 255, 0.12);
  --hero-chip-border: rgba(255, 255, 255, 0.2);
  --hero-meta-color: rgba(255, 255, 255, 0.98);
  --hero-title-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
  --hero-summary-bg: rgba(255, 255, 255, 0.14);
  --hero-summary-card-bg: rgba(255, 255, 255, 0.16);
  --hero-summary-border: rgba(255, 255, 255, 0.18);
  --hero-summary-heading: #ffffff;
  --hero-summary-title: #ffffff;
  --hero-summary-icon: #ffffff;
  --hero-summary-text: rgba(255, 255, 255, 0.9);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #556072;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.hamburger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: #374151;
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 18px;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #ebeff5;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, var(--hero-glow-a), transparent 28%),
    radial-gradient(circle at bottom right, var(--hero-glow-b), transparent 32%),
    linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 48%, var(--hero-end) 100%);
  color: var(--hero-text);
  padding: 84px 24px 64px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 95%);
  opacity: 0.28;
}

.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--hero-text);
  background: var(--hero-chip-bg);
  border: 1px solid var(--hero-chip-border);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 50px;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--hero-text);
  text-shadow: var(--hero-title-shadow);
  overflow-wrap: anywhere;
}

.hero-subtitle {
  max-width: 850px;
  margin: 0 auto 28px;
  font-size: 19px;
  line-height: 1.75;
  color: var(--hero-subtitle);
  overflow-wrap: anywhere;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hero-meta-color);
  background: var(--hero-chip-bg);
  border: 1px solid var(--hero-chip-border);
}

.quick-summary {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
  color: var(--hero-summary-heading);
  background: var(--hero-summary-bg);
  border: 1px solid var(--hero-summary-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.quick-summary h2 {
  font-size: 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hero-summary-heading);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.summary-card {
  background: var(--hero-summary-card-bg);
  border: 1px solid var(--hero-summary-border);
  border-radius: 16px;
  padding: 18px;
  overflow-wrap: anywhere;
}

.summary-card i {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--hero-summary-icon);
}

.summary-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.35;
  color: var(--hero-summary-title);
}

.summary-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--hero-summary-text);
}

.main {
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 24px 0;
}

.content-section,
.author-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 38px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 224, 240, 0.7);
}

.content-section.intro-section {
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: #eef4ff;
  border-radius: 999px;
  padding: 8px 12px;
}

.content-section h2 {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.content-section h2 i {
  color: var(--blue);
}

.content-section h3 {
  font-size: 22px;
  line-height: 1.35;
  margin: 28px 0 14px;
  color: #111827;
}

.content-section p,
.content-section li {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.content-section p + p {
  margin-top: 14px;
}

.content-section ul,
.content-section ol {
  margin: 18px 0 18px 24px;
}

.content-section li + li {
  margin-top: 10px;
}

.content-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  display: block;
  margin: 6px auto 14px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
  background: #fff;
}

.image-caption {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  text-align: center;
  font-style: italic;
  margin-bottom: 22px;
}

.info-box,
.tip-box,
.warning-box {
  border-radius: 16px;
  padding: 22px 22px 22px 20px;
  margin: 22px 0;
  border-left: 5px solid var(--blue);
  background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
}

.tip-box {
  border-left-color: var(--green);
  background: linear-gradient(135deg, #ecfdf5 0%, #f6fff9 100%);
}

.warning-box {
  border-left-color: var(--gold);
  background: linear-gradient(135deg, #fff7ed 0%, #fffaf3 100%);
}

.info-box h4,
.tip-box h4,
.warning-box h4 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #111827;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.process-card {
  background: var(--surface-soft);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e8eef7;
}

.process-card h4 {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
}

.process-card h4 span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  flex-shrink: 0;
}

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

.callout-list li {
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e6edf6;
  border-radius: 14px;
  padding: 14px 16px;
}

.callout-list li i {
  color: var(--blue);
  margin-top: 4px;
  flex-shrink: 0;
}

.example-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eef4ff 100%);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid #dde7fa;
  margin-top: 20px;
}

.example-box h3 {
  margin-top: 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #dde7f5;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.comparison-table thead th {
  background: #eef4ff;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 16px;
  text-align: left;
}

.comparison-table tbody td {
  padding: 14px 16px;
  border-top: 1px solid #e7edf8;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  vertical-align: top;
  background: #fff;
}

.comparison-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.faq-item {
  margin-top: 16px;
  padding: 22px 24px;
  border-radius: 14px;
  border: 1px solid #dfe7f3;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

.faq-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #111827;
}

.faq-item h3::before {
  content: "Q";
  display: inline-flex;
  flex: 0 0 30px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  vertical-align: middle;
}

.faq-item p {
  margin: 0 0 0 42px;
  color: #566174;
  font-size: 16px;
  line-height: 1.7;
}

.cta-section {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 52%, #14b8a6 100%);
  color: #fff;
  border-radius: 22px;
  padding: 42px;
  text-align: center;
  margin-top: 10px;
  box-shadow: 0 20px 44px rgba(29, 78, 216, 0.18);
}

.cta-section h2 {
  color: #fff;
  justify-content: center;
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;
  margin: 0 auto 22px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta.primary {
  background: #fff;
  color: var(--blue);
}

.btn-cta.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.related-posts {
  margin: 64px auto 48px;
  padding: 52px 24px 0;
  border-top: 1px solid var(--line);
  max-width: 980px;
}

.related-posts h2 {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 28px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.related-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e6ebf3;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.related-tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.related-card h3 {
  font-size: 22px;
  margin: 0;
  color: #111827;
}

.related-card p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.7;
}

.read-more {
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.author-box {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto 0;
  background: linear-gradient(135deg, #eef4ff 0%, #f7fbff 100%);
}

.author-box img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.author-box h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: #111827;
}

.author-role {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}

footer {
  background: #111827;
  color: #fff;
  padding: 64px 24px 32px;
  margin-top: 64px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-section p,
.footer-section a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.75;
  display: block;
  margin-bottom: 10px;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  font-size: 14px;
  color: #9ca3af;
  text-align: center;
}

a.inline-link {
  color: var(--violet);
  font-weight: 700;
  text-decoration: none;
}

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .hero {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .summary-grid,
  .process-grid,
  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .content-section,
  .author-box {
    padding: 26px;
  }

  .cta-section {
    padding: 30px 24px;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding-inline: 4px;
    max-width: 350px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.15;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.65;
    max-width: 300px;
  }

  .quick-summary {
    padding: 16px;
    max-width: 340px;
  }

  .summary-card {
    padding: 16px;
  }

  .summary-card h3 {
    font-size: 15px;
  }

  .summary-card p {
    font-size: 13px;
    line-height: 1.55;
  }

  .main {
    padding: 30px 16px 0;
  }

  .content-section.intro-section {
    margin-top: -24px;
  }

  .content-section h2 {
    font-size: 28px;
  }

  .content-section h3,
  .related-card h3,
  .author-box h3 {
    font-size: 20px;
  }

  .faq-item {
    padding: 18px;
  }

  .faq-item h3 {
    font-size: 17px;
  }

  .faq-item p {
    margin-left: 0;
    font-size: 15px;
  }

  .hero-meta {
    gap: 10px;
  }

  .hero-meta span,
  .eyebrow {
    font-size: 11px;
  }

  .author-box {
    text-align: center;
    justify-content: center;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
