:root {
  --brand-blue: #415ad3;
  --brand-blue-deep: #2f45b8;
  --brand-blue-bright: #5b73e8;
  --ink: #0b1220;
  --ink-soft: #e8ecf8;
  --text: #1a2336;
  --text-muted: #4a556c;
  --surface: #f4f6fc;
  --white: #ffffff;
  --bg-how: #f4f6fc;
  --bg-features: #ffffff;
  --bg-testimonials: #f4f6fc;
  --bg-compare: #eef1fb;
  --bg-demand: #2438a8;
  --bg-cta: #eef1fb;
  --overlay-top: rgba(8, 14, 32, 0.72);
  --overlay-bottom: rgba(12, 28, 78, 0.78);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --header-h: 5.5rem;
  --section-pad-x: clamp(1.25rem, 4vw, 3.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: flex;
  flex-direction: column;
}

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

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

/* —— Header / brand —— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3.5rem);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-mark {
  display: grid;
  place-items: center;
  color: var(--brand-blue);
  filter: drop-shadow(0 8px 18px rgba(65, 90, 211, 0.35));
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.brand-era {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-media {
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.92;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: stretch;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: hero-drift 28s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(8, 14, 32, 0.55) 0%,
      var(--overlay-top) 38%,
      var(--overlay-bottom) 100%
    ),
    radial-gradient(
      ellipse 80% 60% at 50% 45%,
      rgba(65, 90, 211, 0.28) 0%,
      transparent 70%
    );
}

.hero-content {
  width: min(920px, calc(100% - 2.5rem));
  margin: auto;
  padding: calc(var(--header-h) + 1.5rem) 0 3rem;
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--ink-soft);
  animation: rise 0.7s ease both;
}

.hero-title {
  margin: 0 auto 1.15rem;
  max-width: 16ch;
  font-size: clamp(2.35rem, 6.2vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
  animation: rise 0.75s ease 0.08s both;
}

.hero-copy {
  margin: 0 auto 2rem;
  max-width: 42rem;
  font-size: clamp(0.98rem, 1.35vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(232, 236, 248, 0.9);
  text-wrap: pretty;
  animation: rise 0.8s ease 0.16s both;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.55rem;
  border-radius: 0.55rem;
  background: linear-gradient(180deg, var(--brand-blue-bright), var(--brand-blue));
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 14px 30px rgba(65, 90, 211, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.hero .cta {
  animation: rise 0.85s ease 0.24s both;
}

.cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #6a80ef, var(--brand-blue-deep));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 18px 36px rgba(65, 90, 211, 0.42);
}

.cta:active {
  transform: translateY(0);
}

.cta--light {
  background: var(--white);
  color: var(--brand-blue-deep);
  box-shadow: 0 14px 30px rgba(8, 14, 32, 0.2);
}

.cta--light:hover {
  background: #f4f6ff;
  color: var(--brand-blue-deep);
  box-shadow: 0 18px 36px rgba(8, 14, 32, 0.26);
}

.cta-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.cta:hover .cta-arrow {
  transform: translateX(3px);
}

.hero-proof {
  list-style: none;
  margin: 1.5rem auto 0;
  padding: 0.95rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 28rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  animation: rise 0.9s ease 0.32s both;
}

.hero-proof li {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-proof li:last-child {
  border-right: none;
}

.hero-proof-value {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.92);
  font-variant-numeric: tabular-nums;
}

.hero-proof-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: rgba(232, 236, 248, 0.62);
  text-align: center;
  white-space: nowrap;
}

.section-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

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

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.how-step.reveal {
  transform: translateY(36px) scale(0.98);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-reveal-delay="4"] {
  transition-delay: 0.32s;
}

/* —— Section waves (in-flow, next-section color, no overlap) —— */
.section-wave {
  display: block;
  width: 100%;
  height: clamp(48px, 6vw, 72px);
  margin: 0 0 -1px;
  line-height: 0;
  position: relative;
  z-index: 2;
}

.section-wave path {
  fill: currentColor;
}

.hero .section-wave {
  color: var(--bg-how);
}

.how .section-wave {
  color: var(--bg-features);
}

.features .section-wave {
  color: var(--bg-testimonials);
}

.testimonials .section-wave {
  color: var(--bg-compare);
}

.compare .section-wave {
  color: var(--bg-demand);
}

.demand .section-wave {
  color: var(--bg-cta);
}

.how,
.features,
.testimonials,
.compare,
.demand,
.bottom-cta {
  position: relative;
  margin: 0;
}

.how {
  background: var(--bg-how);
  color: var(--text);
  padding: 0;
}

.how-inner {
  width: min(1100px, calc(100% - 2 * var(--section-pad-x)));
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.how-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.how-intro {
  margin: 0 auto 1.5rem;
  max-width: 46rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: 1rem;
  background: linear-gradient(165deg, var(--brand-blue-bright), var(--brand-blue-deep));
  color: var(--white);
  text-align: center;
  box-shadow: 0 10px 24px rgba(47, 69, 184, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.how-step.is-visible:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(47, 69, 184, 0.28);
}

.how-icon {
  display: grid;
  place-items: center;
  color: var(--white);
}

.how-icon svg {
  width: 40px;
  height: 40px;
}

.how-step-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.how-step-copy {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: pretty;
}

/* —— Features —— */
.features {
  background: var(--bg-features);
  color: var(--text);
  padding: 0;
}

.features-inner {
  width: min(1100px, calc(100% - 2 * var(--section-pad-x)));
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0 clamp(2rem, 4vw, 3rem);
}

.features-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.features-intro {
  margin: 0 auto 1.5rem;
  max-width: 44rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.2rem 1.15rem 1.25rem;
  text-align: left;
  background: linear-gradient(180deg, #fff, #f8f9ff);
  border: 1px solid rgba(65, 90, 211, 0.1);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature.is-visible:hover {
  transform: translateY(-3px);
  border-color: rgba(65, 90, 211, 0.22);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.1rem;
  color: var(--brand-blue);
}

.feature-icon svg {
  width: 2.75rem;
  height: 2.75rem;
}

.feature-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.feature-copy {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* —— Testimonials —— */
.testimonials {
  background: var(--bg-testimonials);
  color: var(--text);
  padding: 0;
}

.testimonials-inner {
  width: min(1100px, calc(100% - 2 * var(--section-pad-x)));
  margin: 0 auto;
  text-align: center;
  padding: clamp(1.75rem, 3.5vw, 3rem) 0;
}

.testimonials-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.testimonials-subtitle {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.testimonials-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1.2rem 1.15rem 1.15rem;
  text-align: left;
  background: var(--white);
  border: 1px solid rgba(65, 90, 211, 0.08);
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
}

.testimonial-stars span {
  width: 0.85rem;
  height: 0.85rem;
  background: #f5b942;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.testimonial-quote {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}

.testimonial-meta {
  position: relative;
  z-index: 1;
}

.testimonial-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.testimonial-role {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.testimonial-mark {
  position: absolute;
  right: 0.85rem;
  bottom: -0.35rem;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(65, 90, 211, 0.12);
  pointer-events: none;
  user-select: none;
}

/* —— Demand growth —— */
.demand {
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  padding: 0;
  background: var(--bg-demand);
}

.demand-media {
  position: absolute;
  inset: 0 0 clamp(48px, 6vw, 72px);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.demand-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.28;
}

.demand-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--bg-demand) 0%,
    rgba(36, 56, 168, 0.88) 18%,
    rgba(36, 56, 168, 0.88) 82%,
    var(--bg-demand) 100%
  );
}

.demand-inner {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 2 * var(--section-pad-x)));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  text-align: center;
}

.demand-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.demand-subtitle {
  margin: 0 auto 1.35rem;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(232, 236, 248, 0.9);
  text-wrap: pretty;
}

.demand-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.demand-point {
  padding: 1rem 1.15rem 1.05rem;
  border-radius: 0.9rem;
  background: rgba(11, 18, 32, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  backdrop-filter: blur(6px);
}

.demand-point-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.demand-point-copy {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(232, 236, 248, 0.88);
  text-wrap: pretty;
}

/* —— Why inbound —— */
.compare {
  background: var(--bg-compare);
  color: var(--text);
  padding: 0;
}

.compare-inner {
  width: min(1100px, calc(100% - 2 * var(--section-pad-x)));
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.compare-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

.compare-intro {
  margin: 0 0 1.15rem;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.compare-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.compare-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.compare-check {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.12rem;
  border-radius: 0.28rem;
  background: var(--brand-blue);
  color: var(--white);
  flex-shrink: 0;
}

.compare-list p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.compare-list strong {
  color: var(--ink);
  font-weight: 700;
}

.compare-art {
  display: grid;
  place-items: center;
}

.compare-svg {
  width: min(100%, 440px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(47, 69, 184, 0.15));
}

/* —— Bottom CTA band —— */
.bottom-cta {
  background: var(--bg-cta);
  padding: clamp(2.5rem, 5vw, 4rem) var(--section-pad-x);
}

.bottom-cta-wrap {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: 1.25rem;
  background: linear-gradient(165deg, var(--brand-blue-bright), var(--brand-blue-deep));
  color: var(--white);
  box-shadow: 0 20px 44px rgba(47, 69, 184, 0.28);
}

.bottom-cta-inner {
  text-align: left;
}

.bottom-cta-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bottom-cta-copy {
  margin: 0 0 1.25rem;
  max-width: 28rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.bottom-cta .cta {
  background: var(--white);
  color: var(--brand-blue-deep);
  box-shadow: 0 10px 24px rgba(8, 14, 32, 0.18);
}

.bottom-cta .cta:hover {
  background: #f4f6ff;
  color: var(--brand-blue-deep);
}

.bottom-cta-art {
  display: grid;
  place-items: center;
}

.bottom-cta-svg {
  width: min(100%, 320px);
  height: auto;
}

@media (max-width: 900px) {
  .how-steps,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin: 0 auto;
  }

  .compare-inner,
  .bottom-cta-wrap {
    grid-template-columns: 1fr;
  }

  .compare-art {
    order: -1;
  }

  .bottom-cta-inner {
    text-align: center;
  }

  .bottom-cta-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .bottom-cta-art {
    order: -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 4.5rem;
  }

  .hero-content {
    width: min(100%, calc(100% - 1.75rem));
    padding-bottom: 3rem;
  }

  .hero-title {
    max-width: none;
  }

  .cta {
    width: 100%;
    max-width: 22rem;
  }

  .hero-proof {
    gap: 0;
    max-width: 20rem;
    padding-top: 0.85rem;
  }

  .hero-proof li {
    flex: 1 1 auto;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-top: none;
    padding: 0 0.65rem;
  }

  .hero-proof li:last-child {
    border-right: none;
  }

  .hero-proof-label {
    white-space: normal;
    max-width: 9ch;
  }

  .section-cta .cta {
    width: 100%;
    max-width: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo {
    animation: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-eyebrow,
  .hero-title,
  .hero-copy,
  .hero .cta,
  .hero-proof {
    animation: none;
  }
}

/* —— Site footer —— */
.site-footer {
  background: #0b1220;
  color: rgba(232, 236, 248, 0.78);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--section-pad-x) 1.75rem;
}

.footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand--footer {
  color: var(--white);
}

.footer-tagline {
  margin: 0.85rem 0 0;
  max-width: 24rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(232, 236, 248, 0.65);
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-list a {
  font-size: 0.92rem;
  color: rgba(232, 236, 248, 0.75);
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--white);
}

.footer-bottom {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding-top: 1.35rem;
  display: grid;
  gap: 0.75rem;
}

.footer-bottom > p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(232, 236, 248, 0.5);
}

.footer-disclaimer {
  max-width: 58rem;
}

.footer-disclaimer a,
.footer-bottom a {
  color: rgba(232, 236, 248, 0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-disclaimer a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

/* —— Legal / contact pages —— */
.page {
  min-height: 100vh;
  background: var(--surface);
  color: var(--text);
}

.page-header {
  position: relative;
  background: #0b1220;
  color: var(--white);
  padding: 1.25rem var(--section-pad-x);
}

.page-main {
  width: min(760px, calc(100% - 2 * var(--section-pad-x)));
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}

.page-main h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.page-updated {
  margin: 0 0 1.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.page-main h2 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.page-main p,
.page-main li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.page-main p {
  margin: 0 0 0.9rem;
}

.page-main ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.page-main a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-card {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid rgba(65, 90, 211, 0.12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.contact-card p {
  margin: 0 0 0.55rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* —— Application page —— */
.apply-page .page-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.apply-main {
  padding: clamp(1.75rem, 4vw, 3rem) var(--section-pad-x) clamp(2.5rem, 5vw, 4rem);
}

.apply-layout {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.apply-aside {
  position: sticky;
  top: 1.25rem;
  padding: 0.25rem 0;
}

.apply-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
}

.apply-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.apply-lead {
  margin: 0 0 1.35rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.apply-perks {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.apply-perks li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
  font-weight: 600;
}

.apply-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 0.2rem;
  background: var(--brand-blue);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.apply-aside-contact {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.apply-aside-contact p {
  margin: 0 0 0.2rem;
  font-weight: 700;
  color: var(--ink);
}

.apply-aside-contact a {
  color: var(--brand-blue);
  text-decoration: none;
}

.apply-aside-contact a:hover {
  text-decoration: underline;
}

.apply-panel {
  background: var(--white);
  border: 1px solid rgba(65, 90, 211, 0.1);
  border-radius: 1.15rem;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.apply-form-title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.apply-form-sub {
  margin: 0 0 1.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.apply-form {
  display: grid;
  gap: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(26, 35, 54, 0.14);
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fbfcff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(65, 90, 211, 0.15);
  background: var(--white);
}

.form-field textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.form-check input {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand-blue);
}

.form-check a {
  color: var(--brand-blue);
}

.apply-submit {
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.apply-secure {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* —— Thank you / completion page —— */
.thanks-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 70% 55% at 50% 18%, rgba(65, 90, 211, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(31, 157, 87, 0.08), transparent 65%),
    linear-gradient(165deg, #eef1fb 0%, #f7f8fc 45%, #eef2fa 100%);
}

.thanks-main {
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--section-pad-x);
}

.thanks-panel {
  width: min(420px, 100%);
  text-align: center;
  padding: clamp(2.25rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(65, 90, 211, 0.1);
  border-radius: 1.35rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 48px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  animation: thanks-in 0.55s ease both;
}

.thanks-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  color: var(--ink);
  pointer-events: none;
}

.thanks-brand .brand-mark {
  color: var(--brand-blue);
  filter: none;
}

.thanks-brand .brand-era {
  font-size: 1.2rem;
}

.thanks-brand .brand-media {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 1;
}

.thanks-check {
  position: relative;
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  margin: 0 auto 1.35rem;
}

.thanks-check-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(31, 157, 87, 0.14);
  animation: thanks-ring 0.7s ease 0.15s both;
}

.thanks-check svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 20px rgba(31, 157, 87, 0.28));
  animation: thanks-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.thanks-check-path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: thanks-draw 0.45s ease 0.35s forwards;
}

.thanks-panel h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.thanks-note {
  margin: 0.55rem 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

@keyframes thanks-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes thanks-pop {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes thanks-ring {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes thanks-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 900px) {
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .apply-aside {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
