:root {
  --navy: #12365d;
  --navy-mid: #17436f;
  --navy-light: #24527d;
  --gold: #b98a32;
  --gold-light: #c99a3f;
  --gold-text: #75551a;
  --gold-subtle: #f3e7cf;
  --cream: #f7f5f0;
  --cream-warm: #f1eee7;
  --text: #122033;
  --muted: #5b6878;
  --border: #ded8cc;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Manrope', sans-serif;
  --gradient-navy: linear-gradient(135deg, #12365d 0%, #17436f 100%);
  --gradient-gold: linear-gradient(135deg, #b98a32 0%, #c99a3f 100%);
  --gradient-section: linear-gradient(135deg, #f7f5f0 0%, #f1eee7 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.62;
}

.skip-link {
  position: absolute;
  left: 0.9rem;
  top: -52px;
  z-index: 150;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0.8rem;
}

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

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo strong {
  color: #8b6b2a;
}

.logo-mark {
  width: 1.9rem;
  height: 1.9rem;
}

nav {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
}

.mobile-menu-btn,
.mobile-menu,
.mobile-menu-overlay {
  display: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--navy);
}

.section,
.hero {
  padding: 5.5rem 0;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 700px;
}

.section {
  scroll-margin-top: 90px;
}

.hero h1,
.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
}

.hero h1 {
  font-size: clamp(2.35rem, 8.5vw, 4.6rem);
  line-height: 1.08;
  color: #fff;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.hero {
  min-height: 86svh;
  padding-top: 110px;
  padding-bottom: 3rem;
  background-image:
    linear-gradient(135deg, rgba(18, 54, 93, 0.88) 0%, rgba(18, 54, 93, 0.72) 52%, rgba(18, 54, 93, 0.58) 100%),
    url('./assets/hero.webp');
  background-size: cover;
  background-position: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.6rem;
  align-items: center;
}

.hero-lead {
  max-width: 520px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 1.6rem;
  padding-top: 1.2rem;
}

.hero-stats strong {
  display: block;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 1.35rem;
}

.hero-panel h3 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.hero-panel p {
  margin: 0 0 0.75rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 0.3rem;
}

.cordon-ribbon {
  position: relative;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-serif);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background:
    repeating-linear-gradient(
      -52deg,
      transparent,
      transparent 14px,
      rgba(255, 255, 255, 0.04) 14px,
      rgba(255, 255, 255, 0.04) 28px
    ),
    linear-gradient(135deg, #162e55 0%, #0d2040 40%, #162e55 100%);
  border-top: 2px solid rgba(196, 147, 58, 0.55);
  border-bottom: 2px solid rgba(196, 147, 58, 0.55);
}

.cordon-ribbon::before,
.cordon-ribbon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(196, 147, 58, 0.22);
}

.cordon-ribbon::before { top: 6px; }
.cordon-ribbon::after { bottom: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  border-radius: 4px;
  text-decoration: none;
  border: 1.5px solid transparent;
  background: var(--gradient-navy);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.btn:hover {
  filter: brightness(1.04);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

.section h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  color: var(--navy);
}

.section p {
  color: var(--muted);
}

.section-alt {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--gradient-section);
}

.section-navy {
  background: var(--gradient-navy);
}

.section-navy h2,
.section-navy h3,
.section-navy p {
  color: #fff;
}

.section-copy {
  margin: 0 0 1.4rem;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74) !important;
}

.grid {
  display: grid;
  gap: 1.1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 1.35rem;
  box-shadow: 0 2px 12px rgba(13, 27, 46, 0.06);
}

.card h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: 1.18rem;
  font-family: var(--font-serif);
}

.card p {
  margin: 0;
}

.problem-card {
  position: relative;
  overflow: hidden;
}

.problem-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--navy-light);
  opacity: 0.45;
}

.problem-number {
  display: block;
  color: #cfd9e6;
  font-family: var(--font-serif);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.feature-card h3 {
  font-size: 1.08rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.showcase-switcher {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin: 0 0 1.1rem;
}

.showcase-tab {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 0.58rem 0.95rem;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.showcase-tab.is-active {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #fff;
}

.js [data-panel] {
  display: none;
}

.js [data-panel].is-active {
  display: block;
}

.showcase-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
}

.showcase-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.28rem;
}

.showcase-card p {
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.76);
}

.showcase-card ul {
  margin: 0;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.88);
  display: grid;
  gap: 0.25rem;
}

.comparison-section {
  position: relative;
  overflow: hidden;
  padding-top: calc(5.5rem + 54px);
  background:
    radial-gradient(circle at 50% 0%, rgba(196, 147, 58, 0.12) 0%, rgba(196, 147, 58, 0) 38%),
    repeating-linear-gradient(
      -52deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0) 14px,
      rgba(13, 27, 46, 0.03) 14px,
      rgba(13, 27, 46, 0.03) 28px
    ),
    linear-gradient(180deg, rgba(243, 237, 228, 0.95) 0%, rgba(250, 248, 245, 1) 180px);
}

.comparison-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  background:
    repeating-linear-gradient(
      -52deg,
      transparent,
      transparent 14px,
      rgba(255, 255, 255, 0.04) 14px,
      rgba(255, 255, 255, 0.04) 28px
    ),
    linear-gradient(135deg, #162e55 0%, #0d2040 40%, #162e55 100%);
  border-top: 2px solid rgba(196, 147, 58, 0.55);
  border-bottom: 2px solid rgba(196, 147, 58, 0.55);
}

.comparison-section .container {
  position: relative;
  z-index: 1;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 1rem 1.2rem;
}

.comparison-table thead tr {
  background: var(--gradient-navy);
}

.comparison-table thead th {
  color: #fff;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.th-highlight {
  color: var(--gold-light) !important;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table tbody td {
  color: var(--muted);
  font-size: 0.9rem;
}

.comparison-table tbody td:first-child {
  color: var(--navy);
  font-weight: 600;
}

.table-footnote {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
  text-align: right;
}

.yes {
  color: var(--gold-text);
  font-weight: 700;
}

.testimonial-card p {
  font-style: italic;
  line-height: 1.75;
}

.testimonial-card h3 {
  margin-top: 0.9rem;
  margin-bottom: 0.1rem;
}

.testimonial-card span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 700;
}

.cta {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--gold-light);
}

.cta p {
  margin: 0 auto 1rem;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.75) !important;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  background: #fff;
}

.faq-item h3 {
  margin: 0;
}

.faq-item p {
  margin: 0;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-align: left;
  color: var(--navy);
  font-size: 1.05rem;
  font-family: var(--font-serif);
  font-weight: 700;
}

.faq-question[aria-expanded='true'] {
  color: var(--gold-text);
}

.faq-answer {
  margin-top: 0.55rem;
}

.js .faq-answer {
  display: none;
}

.js .faq-item.is-open .faq-answer {
  display: block;
}

.js .faq-item.is-open .faq-question {
  color: var(--gold-text);
}

.site-footer {
  background: var(--gradient-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.85rem;
}

.site-footer .logo {
  color: #fff;
}

.site-footer .logo strong {
  color: var(--gold-light);
}

.footer-inner {
  min-height: unset;
  align-items: flex-start;
  display: grid;
  grid-template-columns: 1.45fr 1.15fr 0.9fr 0.9fr 1.1fr;
  gap: 2.2rem;
  padding: 3.2rem 0 2.4rem;
}

.footer-brand p {
  margin: 0.9rem 0 0;
  max-width: 320px;
}

.footer-disclaimer {
  margin-top: 1rem;
  font-size: 0.78rem !important;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.52) !important;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-company p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
}

.footer-company strong {
  color: #fff;
}

.footer-links h3 {
  margin: 0 0 0.55rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  font-family: var(--font-sans);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.footer-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.66);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
}

.footer-link-button:hover {
  color: #fff;
}

.legal-header .btn-ghost {
  border-color: rgba(18, 54, 93, 0.18);
  color: var(--navy);
  background: #fff;
}

.legal-header .btn-ghost:hover {
  border-color: rgba(185, 138, 50, 0.36);
  background: var(--cream);
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.35rem;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 130;
  width: min(430px, calc(100vw - 2rem));
}

.cookie-banner-inner {
  width: 100%;
  background: #0f2747;
  border: 1px solid rgba(196, 147, 58, 0.45);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  box-shadow: 0 20px 44px rgba(8, 18, 30, 0.28);
}

.cookie-banner-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-banner-inner a {
  color: var(--gold-light);
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.cookie-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--gradient-gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
}

.cookie-btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 30, 0.58);
}

.cookie-modal-panel {
  position: relative;
  width: min(640px, 92%);
  margin: 8vh auto 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.cookie-modal-panel h2 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--navy);
}

.cookie-modal-panel > p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem;
  margin-bottom: 0.65rem;
}

.cookie-option h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy);
}

.cookie-option p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-option-toggle {
  cursor: pointer;
}

.cookie-option-toggle input {
  width: 19px;
  height: 19px;
}

.cookie-badge {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--gold-text);
}

.cookie-modal-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 95px;
  }

  .hero-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: none;
  }

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

  .hero-stats {
    gap: 1rem;
  }

  .js nav {
    display: none;
  }

  .no-js nav {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .js .mobile-menu-btn {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .mobile-menu-btn span {
    display: block;
    width: 16px;
    height: 1.8px;
    border-radius: 2px;
    background: var(--navy);
  }

  .js .mobile-menu-overlay.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 46, 0.45);
    z-index: 98;
  }

  .js .mobile-menu.is-open {
    display: grid;
    position: fixed;
    left: 1rem;
    right: 1rem;
    top: 76px;
    z-index: 99;
    border: 1px solid rgba(196, 147, 58, 0.24);
    border-radius: 14px;
    background: rgba(255, 249, 239, 0.98);
    backdrop-filter: blur(14px);
    padding: 0.65rem;
    gap: 0.25rem;
    box-shadow: 0 24px 52px rgba(13, 27, 46, 0.25);
  }

  .mobile-menu a {
    text-decoration: none;
    color: var(--navy);
    padding: 0.7rem 0.75rem;
    border-radius: 10px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
  }

  .mobile-menu .btn {
    margin-top: 0.3rem;
    color: #fff;
  }

  .section,
  .hero {
    padding: 3.5rem 0;
  }

  .comparison-section {
    padding-top: calc(3.5rem + 54px);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 2.4rem 0 1.8rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    width: auto;
  }

  .cookie-banner-inner {
    padding: 0.95rem;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .cookie-btn {
    flex: 1 1 auto;
  }

  .cookie-modal-panel {
    margin-top: 6vh;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1200px, 90%);
  }

  .section h2 {
    font-size: clamp(1.75rem, 7.4vw, 2.4rem);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .showcase-tab {
    width: 100%;
    text-align: center;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.85rem 0.95rem;
    font-size: 0.8rem;
  }

  .table-footnote {
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-inner {
    text-align: left;
  }

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

body.menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 480px) {
  .hero,
  .section {
    padding: 2.8rem 0;
  }

  .hero {
    padding-top: 92px;
  }

  .comparison-section {
    padding-top: calc(2.8rem + 54px);
  }
}
