/* =====================
   TOKENS
   ===================== */
:root {
  --navy:        #132638;
  --orange:      #f35a05;
  --orange-dark: #d44e04;
  --muted:       #687d92;
  --light-bg:    #f5f5f3;
  --border:      #e3e6ea;
  --white:       #ffffff;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1080px;
  --header-h: 62px;
  --radius: 6px;
  --radius-lg: 14px;
}

/* =====================
   RESET
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Offset anchor targets so sticky header doesn't cover them */
[id] {
  scroll-margin-top: var(--header-h);
}

/* =====================
   LAYOUT
   ===================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  font-size: 0.875rem;
}

.btn-ghost:hover {
  color: var(--navy);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.875rem 1.875rem;
}

.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* =====================
   HEADER
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.brand {
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-actions .btn-ghost {
  display: none;
}

/* Hide heading <br> on mobile — let text wrap naturally */
h1 br, h2 br {
  display: none;
}

/* =====================
   HERO
   ===================== */
.hero {
  padding: 4rem 0 6.5rem;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--orange);
  margin-bottom: 1.375rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--navy);
  margin-bottom: 1.375rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin: 0 auto 2.25rem;
}

.trust-line {
  margin-top: 1.25rem;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: var(--muted);
}

/* =====================
   SECTION SEPARATOR
   ===================== */
.section-sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* =====================
   VIDEO SECTION
   ===================== */
.video-section {
  padding: 6rem 0;
  text-align: center;
}

.video-section h2 {
  font-size: 2.375rem;  /* 38px */
  font-weight: 700;
  line-height: 57px;
  letter-spacing: 0;
  color: var(--navy);
  max-width: 30ch;
  margin: 0 auto 2.75rem;
}

.video-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16 / 9;
  box-shadow: 0 28px 72px rgba(26, 43, 60, 0.16);
}

.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.18s;
}

.video-btn:hover .play-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.07);
}

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2.5rem;
  text-align: center;
  overflow: hidden;
}

.how-it-works h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 3.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.steps-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.step-wrap {
  position: relative;
  margin-top: 32px;
  padding: 40px 16px 6px;
}

.steps-grid .step-wrap:nth-child(3) {
  transform: translateY(-24px);
}

.step-number {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.step-flip-card {
  height: 220px;
  perspective: 1200px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease;
}

.step-flip-card:hover {
  transform: translateY(-4px);
}

.step-flip-card.is-flipped:hover {
  transform: none;
}

.step-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-flip-card.is-flipped .step-card-inner {
  transform: rotateY(180deg);
}

.step-card-front,
.step-card-back {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.step-card-front {
  background: #F2F2F2;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding-bottom: 2.25rem;
}

.step-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.step-card-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0;
}

.step-card-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  align-items: center;
}

.step-card-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.2;
}

.step-card-dots .dot.active {
  background: var(--orange);
  opacity: 1;
}

.step-card-back {
  transform: rotateY(180deg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.step-card-back-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.step-card-back-label {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
}

.step-card-back-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* =====================
   CLOSING CTA
   ===================== */
.closing-cta {
  padding: 8rem 0;
  text-align: center;
}

.closing-cta h2 {
  font-weight: 700;
  letter-spacing: 0;
  color: #000000;
  margin-bottom: 1.375rem;
}

.cta-line1 {
  display: block;
  font-size: 2rem;    /* 32px */
  line-height: 44px;
}

.cta-line2 {
  display: block;
  font-size: 2.5rem;  /* 40px */
  line-height: 44px;
}

.closing-cta .hero-sub {
  margin-bottom: 2.25rem;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: var(--navy);
  padding: 3.5rem 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.footer-inner > a {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.footer-logo {
  height: 64px;
  width: auto;
  display: block;
}

.footer-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

@media (max-width: 600px) {
  .footer-inner > a {
    position: static;
    transform: none;
  }
}

.footer-brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
}

.footer-tagline {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #ffffff;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.375rem;
}

.footer-links a {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #ffffff;
  transition: opacity 0.15s;
}

.footer-links a:hover {
  opacity: 0.75;
}

.footer-sep {
  font-size: 1.125rem;
  font-weight: 200;
  color: #ffffff;
}

.footer-copy {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0;
  color: #ffffff;
  margin-top: 0.25rem;
}

/* =====================
   RESPONSIVE — 680px+
   ===================== */
@media (max-width: 540px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-connector {
    display: none;
  }
}

@media (min-width: 680px) {
  .btn-group {
    flex-direction: row;
    justify-content: center;
  }
}

/* =====================
   MOBILE NAV TOGGLE
   ===================== */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--navy);
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 1.25rem;
    z-index: 98;
    box-shadow: 0 8px 24px rgba(19, 38, 56, 0.1);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    font-size: 1rem;
  }

  .site-nav .nav-socials {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-top: 0.25rem;
  }

  .site-nav .nav-socials .social-icon {
    color: var(--orange);
  }

  .site-nav .nav-socials .social-icon:hover {
    color: var(--orange-dark);
  }
}

.nav-socials {
  display: none;
}

/* =====================
   RESPONSIVE — 900px+
   ===================== */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
  }

  .header-actions .btn-ghost {
    display: inline-flex;
  }

  .hero {
    padding: 7.5rem 0 9rem;
  }

  .hero h1 {
    font-size: 4rem;    /* exactly 64px */
    line-height: 63px;  /* exactly per spec */
  }

  h1 br, h2 br {
    display: block;
  }
}

/* =====================
   NAV ACTIVE STATE
   ===================== */
.site-nav .nav-active {
  color: var(--navy);
  font-weight: 600;
}

/* =====================
   SOCIAL ICONS
   ===================== */
.social-icons {
  display: none;
  align-items: center;
  gap: 0.875rem;
  margin-left: 0.25rem;
}

.social-icon {
  display: flex;
  align-items: center;
  color: var(--orange);
  transition: color 0.15s;
}

.social-icon:hover {
  color: var(--orange-dark);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 900px) {
  .social-icons {
    display: flex;
  }
}

/* =====================
   HOW IT WORKS PAGE
   ===================== */

/* Page hero — no buttons, generous space */
.page-hero {
  padding: 5.5rem 0 4.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  color: #132638;
  margin-bottom: 1.25rem;
}

.page-hero p {
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: 500;
  color: #000000;
  line-height: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Step sections — alternating layout */
.step-section {
  padding: 3rem 0;
}

.step-section--alt {
  background: #f6f6f6;
}

.step-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.step-content {
  width: 100%;
}

.step-media {
  width: 100%;
}

.step-tag {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: #000000;
  margin-bottom: 0.75rem;
}

.step-h {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  color: #f35a05;
  margin-bottom: 0.5rem;
}

.step-body {
  font-size: 0.875rem;
  font-weight: 500;
  color: #265039;
  line-height: 20px;
  letter-spacing: 0;
}

/* Step video */
.step-video {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16 / 9;
  box-shadow: 0 16px 48px rgba(26, 43, 60, 0.14);
}

.step-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.18s;
}

.step-video[data-video-id] {
  cursor: pointer;
}

.step-video[data-video-id]:hover img {
  opacity: 0.88;
}

.step-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.step-video .play-icon {
  background: rgba(26, 43, 60, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.65);
}

/* Page CTA — single button */
.page-cta {
  padding: 7.5rem 0;
  text-align: center;
}

.page-cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.page-cta h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.375;
  color: #000000;
  margin-bottom: 1rem;
}

.page-cta p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.375;
  color: #000000;
  margin-bottom: 2.25rem;
}

/* Desktop — alternating side-by-side layout */
@media (min-width: 760px) {
  .page-hero {
    padding: 8rem 0 6.5rem;
  }

  .page-hero h1 {
    font-size: 4rem;        /* exactly 64px */
    line-height: 63px;      /* exactly per spec */
  }

  .page-hero p {
    font-size: 1.375rem;    /* exactly 22px */
    line-height: 1;
  }

  .page-cta h2 {
    font-size: 2rem;        /* exactly 32px */
    line-height: 44px;      /* exactly per spec */
  }

  .page-cta p {
    font-size: 1.5rem;      /* exactly 24px */
    line-height: 57px;      /* exactly per spec */
  }

  .step-inner {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }

  .step-inner--reverse {
    flex-direction: row-reverse;
  }

  .step-content,
  .step-media {
    flex: 1;
    min-width: 0;
  }
}

/* =====================
   FEATURES PAGE
   ===================== */

.bridging-line {
  padding: 3rem 0 3.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.bridging-line p {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.7;
}

.features-section {
  padding: 0 0 6rem;
}

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

/* =====================
   FLIP CARD
   ===================== */
.feature-card {
  height: 280px;
  perspective: 1200px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card.is-flipped .card-inner {
  transform: rotateY(180deg);
}

/* Disable hover lift on flipped cards */
.feature-card.is-flipped:hover {
  transform: none;
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Card front — bordered grey cards */
.card-front {
  background: var(--light-bg);
  border: 1px solid var(--border);
}

.card-front-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 38px;
  height: 38px;
  stroke: var(--orange);
}

.card-front-name {
  color: var(--navy);
  font-size: 0.975rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
}

/* Card back */
.card-back {
  background: var(--orange);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
}

.card-back-body {
  padding: 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-back-name {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-back-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Cards grid — responsive */
@media (min-width: 580px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================
   CONTACT SECTION
   ===================== */

.contact-section {
  padding: 4rem 0 6rem;
  background: var(--white);
}

.contact-section > .container > h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.contact-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 2.75rem;
}

.contact-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(19, 38, 56, 0.07);
  padding: 3rem;
  max-width: 640px;
  margin: 0 auto;
}

.contact-card-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

.req {
  color: #e03131;
}

.contact-submit {
  width: 100%;
  justify-content: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-field input,
.contact-field textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--orange);
}

.contact-check label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}

.contact-check input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--orange);
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}

.contact-check a {
  color: var(--orange);
  text-decoration: underline;
}

.contact-error {
  color: #c0392b;
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-success {
  text-align: center;
  padding: 2rem 0;
}

.contact-success h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.contact-success p {
  font-size: 1.125rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 2rem;
}

@media (max-width: 580px) {
  .contact-row {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 1.75rem 1.25rem;
  }
}

/* =====================
   LEGAL PAGES (/terms, /privacy)
   ===================== */
.legal-section {
  padding: 3.5rem 0 5rem;
}

.legal-doc {
  max-width: 800px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 2.25rem;
}

.legal-block + .legal-block {
  padding-top: 2.25rem;
  border-top: 1px solid var(--border);
}

.legal-block h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.625rem;
}

.legal-block p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #33414f;
}

.legal-block p + p {
  margin-top: 0.75rem;
}

.legal-block a {
  color: var(--orange);
  text-decoration: underline;
}

.legal-block strong {
  font-weight: 600;
  color: var(--navy);
}

.legal-signature {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 2px solid var(--border);
  text-align: center;
}

.legal-signature .legal-brand {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.legal-signature p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-signature a {
  color: var(--orange);
  text-decoration: underline;
}
