:root {
  --ink: #1b2142;
  --muted: #65708a;
  --line: #e7e9f4;
  --soft: #f7f8ff;
  --blue: #2558ff;
  --blue-dark: #1737b7;
  --pink: #ff5aa8;
  --yellow: #ffd94a;
  --green: #25c68a;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(33, 43, 91, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--blue);
}

.brand img {
  height: 42px;
  width: auto;
}

nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid transparent;
}

.nav-cta,
.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px rgba(37, 88, 255, 0.25);
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border-color: #cfd7ff;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(44px, 8vw, 96px) clamp(20px, 5vw, 72px) 42px;
  max-width: 1280px;
  margin: 0 auto;
}

.home-hero h1,
.article-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.home-hero p,
.dek {
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 24px);
  max-width: 720px;
}

.home-hero img {
  width: 100%;
  aspect-ratio: 1.05 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eaf0ff;
  color: var(--blue);
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px 78px;
}

.post-card,
.related-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(33, 43, 91, 0.08);
}

.post-card a,
.related-card {
  display: grid;
  height: 100%;
}

.post-card img,
.related-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.post-card div,
.related-card {
  padding: 20px;
}

.post-card span,
.related-card span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.post-card h2,
.related-card strong {
  display: block;
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.14;
}

.post-card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.post-card time,
.meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.article-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 44px 20px 80px;
}

.article {
  background: #fff;
}

.article-hero {
  padding: clamp(20px, 5vw, 58px) 0 34px;
}

.article-hero h1 {
  max-width: 950px;
}

.hero-image img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

.article section,
blockquote {
  margin: 0 auto 30px;
  max-width: 760px;
}

.article section h2,
.related h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  margin: 44px 0 14px;
}

.article p {
  color: #303956;
  font-size: 18px;
  line-height: 1.78;
}

.article p a,
.sources a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

blockquote {
  border-left: 3px solid var(--line);
  background: #fff;
  padding: 8px 0 8px 22px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.55;
}

blockquote cite {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

th,
td {
  text-align: left;
  border: 1px solid var(--line);
  padding: 12px 14px;
  vertical-align: top;
}

th {
  background: var(--blue);
  color: #fff;
}

.faq-section details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 10px 0;
  background: var(--soft);
}

.faq-section summary {
  cursor: pointer;
  font-weight: 900;
}

.cta-panel {
  background: #17255f;
  color: #fff;
  border-radius: 24px;
  padding: 28px;
}

.cta-panel p,
.cta-panel h2 {
  color: #fff;
}

.cta-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sources ul {
  padding-left: 20px;
}

.related {
  padding-top: 34px;
}

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

.site-footer {
  padding: 16px clamp(18px, 4vw, 72px) 18px;
  border-top: 1px solid #d8dbe6;
  background: #fff;
  color: #39425a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.legal-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 14px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  align-items: center;
}

.legal-links a {
  color: #39425a;
}

.legal-links a:hover {
  color: var(--blue);
}

.pipe {
  color: #1e2436;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 320px;
}

.trust-badges img {
  width: auto;
  height: 32px;
  object-fit: contain;
}

.trust-badges img[alt="Visa"],
.trust-badges img[alt="Mastercard"] {
  height: 24px;
}

.fine-print {
  max-width: none;
  margin: 0;
  color: #39425a;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header,
  .home-hero,
  .legal-top {
    grid-template-columns: 1fr;
  }

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

  .post-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .trust-badges {
    justify-content: flex-start;
    min-width: 0;
  }
}
