:root {
  --ink: #0b1829;
  --ink-soft: #334154;
  --bg: #f2f5f8;
  --paper: #ffffff;
  --accent: #d9892b;
  --accent-dark: #a86514;
  --line: #dce3eb;
  --hero-a: #0d2237;
  --hero-b: #163856;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(12, 28, 46, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(217, 137, 43, 0.15), transparent 26%),
    radial-gradient(circle at 92% 12%, rgba(12, 44, 84, 0.09), transparent 32%),
    var(--bg);
  line-height: 1.65;
}

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

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 25, 42, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}

.brand {
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.brand span {
  color: #ffc06d;
}

.brand-with-logo {
  line-height: 1;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.9rem;
}

.menu-cta {
  background: var(--accent);
  color: #1b0f04 !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.hero {
  padding: 56px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
}

.hero-grid > div,
.hero-panel {
  background: linear-gradient(160deg, var(--hero-a), var(--hero-b));
  border-radius: 24px;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 34px;
}

.hero-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f8ba6f;
  font-weight: 700;
  margin: 0 0 8px;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: 'Fraunces', serif;
  line-height: 1.2;
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 14px;
}

.hero-sub {
  opacity: 0.96;
  font-size: 1.07rem;
  margin-bottom: 22px;
}

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

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
}

.cta-primary {
  background: var(--accent);
  color: #271302;
  box-shadow: 0 10px 24px rgba(185, 103, 15, 0.28);
}

.cta-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

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

.hero-panel h2 {
  font-size: 1.45rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
}

.section {
  padding: 34px 0;
}

.section.soft {
  padding-top: 16px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-head a,
.text-link {
  color: #0b4e88;
  font-weight: 800;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(16, 38, 64, 0.12);
}

.tag {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #8b5a1f;
  font-weight: 800;
  margin: 0 0 8px;
}

.card h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--ink-soft);
  margin: 0;
}

.card-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
}

.card-meta span {
  font-size: 0.86rem;
  color: #667488;
}

.card-meta a {
  color: #0d5a98;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bullet-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.bullet-box ul {
  margin: 0;
  padding-left: 18px;
}

.lead {
  font-size: 1.07rem;
  color: var(--ink-soft);
  margin-top: 0;
}

.search {
  margin: 20px 0 24px;
}

.search label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.search-row {
  display: flex;
  gap: 10px;
}

.search input {
  flex: 1;
  border: 1px solid #b9c6d4;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
}

.search button {
  border: 0;
  background: #0e3e67;
  color: #fff;
  border-radius: 12px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
}

.empty {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.pagination a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 11px;
  font-weight: 700;
}

.pagination a.active {
  border-color: #134d80;
  color: #fff;
  background: #134d80;
}

.article-wrap {
  padding: 32px 0 40px;
}

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

.article-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}

.article-main h1 {
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  margin-bottom: 12px;
}

.article-meta {
  color: #6a778a;
  font-size: 0.9rem;
}

.article-section {
  margin-top: 20px;
}

.article-section h2 {
  margin-bottom: 8px;
  font-size: 1.42rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 12px;
  background: #fbfcfe;
}

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

.faq a {
  color: #0f548d;
  font-weight: 800;
  text-decoration: underline;
}

.article-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sticky-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(13, 36, 58, 0.08);
}

.sticky-box:first-child {
  position: sticky;
  top: 96px;
}

.conversion-panel {
  border: 1px solid #ffcf97;
  background: linear-gradient(165deg, #fff7ed, #fff);
}

.conversion-panel:not(.variant-a) {
  border-color: #f7a955;
  background: linear-gradient(170deg, #fff1dd, #fff8ee 55%, #fff);
}

.cta-proof {
  margin: 8px 0 4px;
  font-weight: 700;
  color: #8a4f12;
}

.cta-conversion {
  width: 100%;
  padding: 16px 18px;
  margin-top: 10px;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #ffb230, #ff8610);
  color: #271302;
  text-align: center;
  border: 1px solid #de7b14;
  box-shadow: 0 18px 28px rgba(205, 109, 19, 0.35);
}

.cta-conversion:hover {
  background: linear-gradient(135deg, #ff9f1c, #ea6f00);
  color: #fff;
  transform: translateY(-1px);
}

.cta-conversion-b {
  background: linear-gradient(135deg, #f97316, #ff4d00);
  border-color: #d94b00;
  color: #fff;
}

.cta-conversion-b:hover {
  background: linear-gradient(135deg, #ef5c00, #d94800);
}

.sticky-box a:not(.cta-conversion) {
  display: block;
  margin-top: 8px;
  color: #0f548d;
  font-weight: 700;
}

.bottom-cta {
  padding: 18px 0 26px;
}

.bottom-cta-inner {
  background: linear-gradient(150deg, #0d2c48, #174466);
  border-radius: 22px;
  color: #fff;
  padding: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.bottom-cta h2 {
  margin-bottom: 8px;
}

.site-footer {
  background: #091a2d;
  color: #dae7f4;
  padding: 40px 0 26px;
  margin-top: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}

.footer-grid h3 {
  margin-bottom: 8px;
}

.footer-grid a {
  display: block;
  color: #f7bd76;
  margin-bottom: 6px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  color: #9eb2c8;
  font-size: 0.88rem;
}

.mobile-fixed-cta {
  display: none;
}

@media (max-width: 1080px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid,
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sticky-box:first-child {
    position: static;
  }
}

@media (max-width: 720px) {
  .menu {
    display: none;
  }

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

  .hero,
  .section,
  .article-wrap {
    padding-top: 22px;
  }

  .hero-grid > div,
  .hero-panel,
  .article-main,
  .sticky-box,
  .card {
    padding: 16px;
  }

  .search-row {
    flex-direction: column;
  }

  .search button {
    padding: 11px 18px;
  }

  .bottom-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-fixed-cta {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    background: #dc8a2f;
    color: #1a0d02;
    text-align: center;
    border-radius: 999px;
    padding: 12px 14px;
    font-weight: 800;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  }

  body {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card,
  .hero-grid > div,
  .hero-panel,
  .article-main,
  .sticky-box {
    animation: fadeup 0.45s ease both;
  }

  .cta-conversion {
    animation: ctaPulse 2.1s ease-in-out infinite;
  }

  .card:nth-child(2n) {
    animation-delay: 0.06s;
  }

  .card:nth-child(3n) {
    animation-delay: 0.12s;
  }

  @keyframes fadeup {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes ctaPulse {
    0%, 100% {
      box-shadow: 0 18px 28px rgba(205, 109, 19, 0.35);
    }
    50% {
      box-shadow: 0 22px 38px rgba(205, 109, 19, 0.5);
    }
  }
}
