:root {
  --brand-navy: #082f3c;
  --brand-teal: #08666a;
  --brand-teal-dark: #064b52;
  --brand-mint: #dff4ed;
  --brand-cream: #fffaf1;
  --brand-paper: #fffefb;
  --brand-gold: #efb94f;
  --brand-coral: #e9825b;
  --brand-ink: #0b3040;
  --brand-copy: #405d66;
  --brand-line: #d7e4df;
}

body,
body.inner-page,
body.detail-page,
body.pricing-page {
  color: var(--brand-ink);
  background: var(--brand-cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: linear-gradient(100deg, var(--brand-navy), var(--brand-teal-dark) 55%, var(--brand-teal));
  border: 0;
  box-shadow: 0 8px 30px rgba(8, 47, 60, .12);
}

.site-header .header-inner {
  min-height: 76px;
  gap: 22px;
}

.site-header .brand,
.site-header .brand strong,
.site-header .site-nav > a:not(.button) {
  color: #fff;
}

.site-header .brand {
  flex: 0 0 auto;
  font-weight: 700;
}

.site-header .brand img {
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
}

.site-header .site-nav {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: clamp(12px, 1.35vw, 24px);
}

.site-header .site-nav > a:not(.button) {
  white-space: nowrap;
  font-size: clamp(.76rem, .82vw, .9rem);
  font-weight: 700;
}

.site-header .site-nav > a:not(.button)::after {
  background: var(--brand-gold);
}

.site-header .nav-login {
  margin-left: 4px;
  padding: 8px 14px;
  color: #fff !important;
  background: transparent;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
}

.site-header .nav-login::after { display: none; }

.site-header .nav-get-started {
  min-height: 40px;
  padding: 8px 16px;
  color: var(--brand-navy);
  background: var(--brand-gold);
  border-color: var(--brand-gold);
  border-radius: 999px;
  white-space: nowrap;
  font-size: .84rem;
}

.site-header .nav-get-started:hover {
  color: var(--brand-navy);
  background: #f5c968;
  border-color: #f5c968;
}

.inner-hero,
.detail-hero,
.pricing-hero {
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(239, 185, 79, .22), transparent 24rem),
    linear-gradient(135deg, var(--brand-navy), var(--brand-teal-dark) 58%, var(--brand-teal));
}

.inner-hero h1,
.detail-hero h1,
.pricing-hero h1,
.detail-hero p,
.pricing-hero p,
.breadcrumb,
.breadcrumb a {
  color: #fff;
}

.pricing-hero h1 em,
.inner-hero h1 em,
.detail-hero h1 em {
  color: var(--brand-gold) !important;
}

.content-card,
.support-card,
.pricing-card,
.detail-card,
.detail-hero-card,
.credit-item {
  background: var(--brand-paper);
  border-color: var(--brand-line);
  box-shadow: 0 18px 50px rgba(8, 47, 60, .08);
}

.content-card h2,
.support-card h2,
.pricing-card h2,
.detail-card h2 {
  color: var(--brand-ink);
}

.content-card p,
.content-card li,
.support-card p,
.pricing-card p,
.detail-card p {
  color: var(--brand-copy);
}

.button,
button.button {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
}

.button:hover,
button.button:hover {
  background: var(--brand-teal-dark);
  border-color: var(--brand-teal-dark);
}

.site-footer {
  color: rgba(255,255,255,.84);
  background: linear-gradient(120deg, var(--brand-navy), var(--brand-teal-dark));
}

.site-footer .brand,
.site-footer strong,
.site-footer a { color: #fff; }

/* Keep every public page readable on large displays without turning a single
   headline or hero into an entire viewport. */
.inner-hero {
  padding: 54px 0 48px;
}

.inner-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
}

.detail-hero {
  padding: 34px 0 52px;
}

.detail-hero-grid {
  gap: clamp(28px, 4vw, 54px);
}

.detail-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  line-height: 1;
}

.detail-hero-grid > div:first-child > p:last-child {
  font-size: 1rem;
}

.detail-hero-card {
  gap: 7px;
  padding: 22px;
}

.detail-section + .detail-section {
  margin-top: 54px;
}

.detail-section > h2,
.inline-cta h2,
.content-card h2,
.support-card h2,
.pricing-card h2,
.detail-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.detail-content {
  padding: 62px 0 72px;
}

@media (max-width: 620px) {
  .inner-hero { padding: 36px 0 38px; }
  .inner-hero h1,
  .detail-hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .detail-hero { padding: 28px 0 40px; }
  .detail-section + .detail-section { margin-top: 42px; }
  .detail-content { padding: 46px 0 56px; }
}

@media (max-width: 1080px) {
  .site-header .menu-button {
    display: inline-flex;
    color: #fff;
    border-color: rgba(255,255,255,.45);
  }

  .site-header .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    max-height: calc(100vh - 76px);
    padding: 22px max(24px, calc((100vw - 1180px) / 2));
    overflow-y: auto;
    background: var(--brand-navy);
    border-top: 1px solid rgba(255,255,255,.14);
  }

  .site-header .site-nav.open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .site-header .site-nav > a:not(.button) {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 12px;
    font-size: .95rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
  }

  .site-header .nav-login {
    justify-content: center;
    margin: 0;
    color: #fff !important;
  }

  .site-header .nav-get-started {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .site-header .site-nav.open { grid-template-columns: 1fr; }
  .site-header .brand span { font-size: 1rem; }
}
