:root {
  --bg-dark: #0f1629;
  --bg-soft: #16223c;
  --surface: #ffffff;
  --surface-soft: #eef2fb;
  --text-primary: #10203f;
  --text-light: #f9fbff;
  --text-muted: #53607e;
  --accent: #ff6a1a;
  --accent-strong: #ff4d00;
  --accent-soft: #ffd4bf;
  --ring: rgba(255, 106, 26, 0.28);
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-soft: 0 18px 40px rgba(16, 32, 63, 0.18);
  --shadow-strong: 0 24px 56px rgba(16, 32, 63, 0.24);
  --top-ribbon-height: 56px;
  --mobile-viewport-height: 100svh;
  --floating-expand-progress: 0;
}

* {
  box-sizing: border-box;
}

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

body {
  background: linear-gradient(180deg, #f7f9ff 0%, #f0f4ff 45%, #ffffff 100%);
  color: var(--text-primary);
  font-family: "Manrope", "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

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

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.bg-orb-1 {
  width: 260px;
  height: 260px;
  background: #ffb07f;
  top: -80px;
  right: -60px;
}

.bg-orb-2 {
  width: 320px;
  height: 320px;
  background: #8db0ff;
  left: -110px;
  top: 320px;
}

.topbar,
main,
.footer,
.floating-cta {
  position: relative;
  z-index: 2;
}

.top-ribbon {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(135deg, #081328, #10254a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(7, 16, 35, 0.34);
  backdrop-filter: saturate(120%) blur(6px);
}

.topbar {
  width: 100%;
  padding: 0.72rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  flex: 0 1 auto;
  min-width: 0;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: clamp(0.92rem, 0.7rem + 0.7vw, 1.18rem);
  letter-spacing: 0.012em;
  color: #ffffff;
}

.brand-text {
  white-space: nowrap;
}

.top-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 0.34rem;
  margin-left: auto;
}

.top-ribbon .btn {
  padding: 0.66rem 0.92rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.top-ribbon .btn-light {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
}

.top-ribbon .btn-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.top-ribbon .btn-primary {
  box-shadow: 0 12px 22px rgba(255, 77, 0, 0.32);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 5.5rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, var(--bg-dark), var(--bg-soft));
  color: var(--text-light);
  height: calc(var(--mobile-viewport-height) - var(--top-ribbon-height));
  min-height: calc(var(--mobile-viewport-height) - var(--top-ribbon-height));
  padding: clamp(1.6rem, 3.2vw, 2.7rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  box-shadow: none;
  isolation: isolate;
  --hero-intermission-fade-duration: 640ms;
  --hero-brand-fade-duration: 220ms;
  --hero-brand-fade-gap: 60ms;
  --hero-intermission-label-duration: 440ms;
  --hero-intermission-label-delay: calc(var(--hero-brand-fade-duration) + var(--hero-brand-fade-gap));
  --hero-intermission-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 15, 32, 0.14) 0%, rgba(8, 15, 32, 0.22) 46%, rgba(5, 10, 22, 0.44) 50%, rgba(4, 8, 18, 0.56) 66%, rgba(3, 6, 14, 0.64) 82%, rgba(2, 4, 10, 0.72) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #081328 0%, #0f2a56 58%, #133a74 100%);
  opacity: 0;
  transition: opacity var(--hero-intermission-fade-duration) var(--hero-intermission-ease);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transform-origin: top center;
  transform: scale(1.015);
  opacity: 1;
  transition: opacity var(--hero-intermission-fade-duration) var(--hero-intermission-ease);
}

.hero-media.is-intermission .hero-video {
  opacity: 0;
}

.hero-media.is-intermission::after {
  opacity: 1;
}

.hero-brand,
.hero-intermission-title,
.hero-intermission-logo,
.hero .hero-content,
.hero h1,
.hero .hero-subtitle,
.hero .hero-actions {
  position: relative;
  z-index: 2;
}

.hero-brand {
  position: absolute;
  top: clamp(0.95rem, 2.2vw, 1.45rem);
  left: clamp(0.95rem, 2.2vw, 1.45rem);
  opacity: 1;
  transition: opacity var(--hero-brand-fade-duration) var(--hero-intermission-ease);
}

.hero-brand-logo {
  width: clamp(86px, 11vw, 128px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 16px rgba(25, 67, 186, 0.26));
}

.hero-intermission-title {
  position: absolute;
  top: clamp(1.4rem, 7vh, 4.8rem);
  left: 50%;
  width: min(90vw, 720px);
  margin: 0;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #f4f8ff;
  text-shadow: 0 10px 28px rgba(3, 10, 25, 0.55);
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity var(--hero-intermission-label-duration) var(--hero-intermission-ease),
    transform var(--hero-intermission-label-duration) var(--hero-intermission-ease);
  will-change: opacity, transform;
}

.hero-intermission-logo {
  position: absolute;
  top: clamp(6.9rem, 21vh, 12.4rem);
  left: 50%;
  width: clamp(176px, 24vw, 320px);
  opacity: 0;
  transform: translate(-50%, 20px) scale(0.92);
  pointer-events: none;
  transition: opacity var(--hero-intermission-label-duration) var(--hero-intermission-ease),
    transform var(--hero-intermission-label-duration) var(--hero-intermission-ease);
  will-change: opacity, transform;
}

.hero-intermission-logo-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(18, 42, 104, 0.42));
}

.hero-media.is-intermission ~ .hero-intermission-title {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: var(--hero-intermission-label-delay);
}

.hero-media.is-intermission ~ .hero-intermission-logo {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  transition-delay: calc(var(--hero-intermission-label-delay) + 90ms);
}

.hero-media.is-intermission ~ .hero-brand {
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  --hero-gap-title-subtitle: clamp(1.4rem, 3.05vh, 2.2rem);
  --hero-gap-subtitle-actions: clamp(1.2rem, 2.9vh, 2.1rem);
  width: min(820px, 100%);
  max-width: 100%;
  min-height: 42%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding-bottom: calc(max(0px, env(safe-area-inset-bottom)) + clamp(0.3rem, 0.9vh, 0.85rem));
}

.hero h1 {
  margin: 0;
  max-width: 24ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.3rem, 4.9vw + 0.45rem, 4.7rem);
  line-height: 1.03;
  text-shadow: 0 4px 18px rgba(7, 14, 28, 0.35);
}

.hero-subtitle {
  margin: var(--hero-gap-title-subtitle) 0 0;
  max-width: 46ch;
  color: #e8efff;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.08rem, 1.35vw + 0.72rem, 1.52rem);
  font-weight: 600;
  line-height: 1.32;
  text-shadow: 0 4px 16px rgba(7, 14, 28, 0.3);
}

.hero-actions {
  margin-top: var(--hero-gap-subtitle-actions);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn {
  min-height: 3.1rem;
  padding: 0.9rem 1.15rem;
  font-size: 1.04rem;
}

 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-large {
  padding: 0.95rem 1.35rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 16px 24px rgba(255, 77, 0, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 20px 28px rgba(255, 77, 0, 0.34);
}

.btn-light {
  background: var(--surface);
  color: var(--text-primary);
  border-color: #d9e2fb;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.benefits {
  margin-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--surface);
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.1rem;
}

.benefits-title {
  margin: 0;
  color: var(--text-primary);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.12rem, 1.35vw + 0.82rem, 1.6rem);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: -0.01em;
}

.benefits-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.25rem 1.1rem;
}

.benefit-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-lg) - 0.35rem);
  margin-bottom: 0.9rem;
  border: 1px solid #dce5fb;
}


.benefit-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  line-height: 1.3;
}

.benefit-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.5rem;
  line-height: 1.45;
}

.steps {
  margin-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--surface);
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.2rem;
}

.steps h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  text-align: center;
}

.steps-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.step {
  background: var(--surface-soft);
  border-radius: var(--radius-lg);
  padding: 0.8rem 0.9rem;
}

.step-index {
  margin: 0;
  color: var(--accent-strong);
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.step p:last-child {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  line-height: 1.45;
}

.testimonials {
  margin-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, #10203f, #1c3564);
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.3rem 1.35rem;
  color: var(--text-light);
  overflow: hidden;
}

.testimonials-head {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 0.1rem;
  text-align: center;
}

.testimonials-eyebrow {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.55rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #ffffff;
}

.testimonials-subhead {
  margin: 0 auto;
  color: #cddcff;
  font-size: 0.98rem;
  line-height: 1.45;
  white-space: nowrap;
  text-align: center;
}

.testimonial-carousel {
  margin-top: 1.15rem;
}

.testimonial-track {
  display: grid;
}

.testimonial-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms ease, transform 320ms ease;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.1rem 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 26px rgba(10, 18, 38, 0.2);
  min-height: 0;
  pointer-events: none;
}

.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
}

.testimonial-avatar {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(135deg, #3167ff, #1b3ba3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-person {
  min-width: 0;
}

.testimonial-author {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.98rem;
}

.testimonial-location {
  margin: 0.12rem 0 0;
  color: #b8ccf7;
  font-size: 0.84rem;
}

.testimonial-rating {
  margin: 0.55rem 0 0;
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
}

.testimonial-stars {
  font-size: 1.42rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #fff5bc 0%, #ffe073 42%, #ffc433 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(255, 214, 102, 0.5), 0 0 24px rgba(255, 183, 32, 0.34);
}

.testimonial-rating-text {
  color: #fff3cb;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.testimonial-quote {
  margin: 0.82rem 0 0;
  color: #f6f9ff;
  font-size: 1.02rem;
  line-height: 1.62;
  max-width: none;
}

.testimonial-controls {
  margin-top: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.testimonial-nav {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.testimonial-nav:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
}

.testimonial-nav:focus-visible,
.testimonial-dot:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.testimonial-dot {
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.38);
  transition: transform 180ms ease, background 180ms ease;
}

.testimonial-dot.is-active {
  background: var(--accent);
  transform: scale(1.18);
}

.final-cta {
  margin-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(125deg, #fff1e9, #fff8f2);
  border: 1px solid #ffe1d1;
  border-radius: 0;
  padding: 1.4rem 1.2rem;
}

.final-cta h2 {
  margin: 0 0 1rem;
  font-family: "Sora", sans-serif;
}

.final-cta p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
}

.final-cta .btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: #ffbe97;
}

.final-cta .hero-actions {
  justify-content: center;
}

.faq {
  margin-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--surface);
  border-radius: 0;
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.2rem;
}

.faq h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.benefits-title,
.testimonials-eyebrow,
.testimonials-subhead,
.final-cta h2,
.faq h2 {
  text-align: center;
}


.faq-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.6rem;
}

.faq-item {
  border: 1px solid #dce5fb;
  border-radius: 14px;
  background: #f8fbff;
  padding: 0.78rem 0.88rem;
}

.faq-item[open] {
  background: #f2f7ff;
  border-color: #cfdcff;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: #0f2449;
  padding-right: 1.1rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.08rem;
  color: var(--accent-strong);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  line-height: 1.55;
}
.footer {
  padding: 1.4rem 1rem 9rem;
  text-align: center;
  color: #5d6a89;
  font-size: 0.9rem;
}

.floating-cta {
  position: fixed;
  z-index: 50;
  --floating-expand-progress: 0;
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  bottom: 0.8rem;
  width: min(480px, calc(100% - 1rem));
  padding: 0.55rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(16, 32, 63, 0.24);
  border: 1px solid #d6e0f8;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, width 260ms ease, padding 260ms ease, border-radius 260ms ease, box-shadow 260ms ease;
}

.floating-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.floating-cta.is-bottom {
  width: min(980px, calc(100% - 0.45rem));
  bottom: 0.35rem;
  padding: 1.12rem 1rem 1rem;
  gap: 0.82rem;
  border-radius: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  border-color: #c4d5ff;
  box-shadow: 0 28px 56px rgba(16, 32, 63, 0.38);
}

.floating-cta.is-bottom .btn {
  padding: 1.02rem 1.2rem;
  font-size: clamp(0.98rem, 0.72vw + 0.8rem, 1.12rem);
  min-height: 3.15rem;
  flex: 0 1 320px;
  width: min(100%, 320px);
}


.floating-cta .btn {
  flex: 1;
}

.floating-cta-copy {
  display: none;
  width: 100%;
  margin: 0;
  text-align: center;
  color: #0f2449;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.floating-cta.is-bottom .floating-cta-copy {
  display: block;
  margin: 0.12rem 0 0.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (min-width: 981px) {
  main {
    padding-top: clamp(1.8rem, 2.8vw, 2.9rem);
    padding-bottom: 6.2rem;
  }

  main > section + section {
    margin-top: clamp(1.6rem, 2.2vw, 2.4rem);
  }

  .benefits,
  .testimonials,
  .final-cta,
  .steps,
  .faq {
    padding-left: clamp(1.4rem, 2.2vw, 2rem);
    padding-right: clamp(1.4rem, 2.2vw, 2rem);
  }

  .benefits {
    padding-top: clamp(1.7rem, 2.3vw, 2.25rem);
    padding-bottom: clamp(1.7rem, 2.3vw, 2.25rem);
  }

  .benefits-grid {
    margin-top: 1.25rem;
    gap: 1.2rem;
  }

  .benefit-card {
    padding: 1.4rem 1.2rem;
  }

  .testimonials {
    padding-top: clamp(1.9rem, 2.4vw, 2.4rem);
    padding-bottom: clamp(1.65rem, 2.1vw, 2.15rem);
  }

  .testimonials-head {
    margin-bottom: 0.45rem;
  }

  .testimonials-subhead {
    white-space: normal;
    max-width: 68ch;
  }

  .testimonial-carousel {
    margin-top: 1.35rem;
  }

  .testimonial-slide {
    padding: 1.32rem 1.28rem 1.22rem;
  }

  .final-cta {
    padding-top: clamp(1.7rem, 2.2vw, 2.2rem);
    padding-bottom: clamp(1.7rem, 2.2vw, 2.2rem);
  }

  .steps {
    padding-top: clamp(1.75rem, 2.25vw, 2.3rem);
    padding-bottom: clamp(1.75rem, 2.25vw, 2.3rem);
  }

  .steps-grid {
    margin-top: 1.2rem;
    gap: 1rem;
  }

  .step {
    padding: 0.95rem 1rem;
  }

  .faq {
    padding-top: clamp(1.7rem, 2.2vw, 2.25rem);
    padding-bottom: clamp(1.7rem, 2.2vw, 2.25rem);
  }

  .faq-list {
    margin-top: 1.1rem;
    gap: 0.8rem;
  }

  .faq-item {
    padding: 0.92rem 0.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-video,
  .hero-media::after,
  .hero-intermission-title,
  .hero-intermission-logo {
    transition: none;
  }
}
@media (max-width: 980px) {
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 1.6rem 1.2rem;
  }

  .hero .hero-content {
    min-height: 38%;
    --hero-gap-title-subtitle: clamp(1.16rem, 2.65vh, 1.72rem);
    --hero-gap-subtitle-actions: clamp(1.02rem, 2.45vh, 1.62rem);
  }

  .hero h1 {
    max-width: 23ch;
    margin: 0;
    font-size: clamp(2.02rem, 5.2vw, 3.25rem);
    line-height: 1.06;
  }

  .hero-subtitle {
    max-width: 40ch;
    font-size: clamp(1.02rem, 1.6vw + 0.68rem, 1.3rem);
    line-height: 1.3;
  }

  .hero-actions {
    gap: 0.7rem;
  }

  .hero-actions .btn {
    min-height: 2.8rem;
    padding: 0.8rem 1rem;
    font-size: 0.98rem;
  }

  .hero-brand {
    top: 1rem;
    left: 1rem;
  }

  .hero-brand-logo {
    width: clamp(72px, 18vw, 104px);
  }

  .hero-intermission-title {
    top: clamp(1.15rem, 6.6vh, 3.7rem);
    font-size: clamp(1.4rem, 3.4vw, 2.05rem);
  }

  .hero-intermission-logo {
    top: clamp(5.9rem, 20vh, 10rem);
    width: clamp(160px, 31vw, 260px);
  }

  .btn {
    padding: 0.66rem 0.9rem;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 0.86rem 1.15rem;
    font-size: 0.95rem;
  }

  .top-ribbon .btn {
    padding: 0.62rem 0.82rem;
    font-size: 0.86rem;
  }

  .testimonials-subhead {
    white-space: normal;
  }
}

@media (max-width: 740px) {
  .topbar {
    padding: 0.48rem 0.45rem;
    gap: 0.34rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .brand {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    justify-content: flex-start;
    font-size: clamp(0.8rem, 2.9vw, 0.98rem);
    letter-spacing: 0.01em;
  }

  .top-actions {
    width: auto;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.3rem;
    margin-left: auto;
  }

  .top-actions .btn,
  .top-ribbon .btn {
    width: auto;
    min-width: 0;
    padding: 0.56rem 0.74rem;
    font-size: 0.82rem;
    line-height: 1;
    justify-content: center;
  }

  main {
    padding: 0 0 6.2rem;
  }

  .hero {
    height: calc(var(--mobile-viewport-height) - var(--top-ribbon-height));
    min-height: calc(var(--mobile-viewport-height) - var(--top-ribbon-height));
    margin-top: 0;
    border-radius: 0;
    padding: 0.85rem 0.82rem 0.92rem;
  }

  .hero .hero-content {
    position: absolute;
    left: clamp(0.72rem, 2.6vw, 0.92rem);
    right: clamp(0.72rem, 2.6vw, 0.92rem);
    top: clamp(5.9rem, 23vh, 10.6rem);
    bottom: max(0.92rem, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    --hero-gap-title-subtitle: clamp(0.62rem, 0.28rem + 1.35vh, 1.3rem);
    --hero-gap-subtitle-actions: clamp(0.5rem, 0.24rem + 1.12vh, 1.14rem);
  }

  .hero h1 {
    max-width: 21ch;
    margin: 0;
    font-size: clamp(1.34rem, 0.8rem + 4.15vw + 0.52vh, 2.56rem);
    line-height: 1.07;
  }

  .hero .hero-subtitle {
    max-width: 33ch;
    margin-top: var(--hero-gap-title-subtitle);
    font-size: clamp(0.88rem, 0.52rem + 1.65vw + 0.28vh, 1.24rem);
    line-height: 1.28;
  }

  .hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.42rem, 1.5vh, 0.66rem);
    margin-top: var(--hero-gap-subtitle-actions);
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: clamp(2.34rem, 1.82rem + 0.72vh, 3.1rem);
    padding: clamp(0.56rem, 0.36rem + 0.48vh, 0.82rem)
      clamp(0.58rem, 0.32rem + 1.35vw, 0.92rem);
    font-size: clamp(0.84rem, 0.62rem + 1.02vw + 0.18vh, 1.04rem);
    line-height: 1.12;
  }

  .hero-brand {
    top: 0.72rem;
    left: 0.72rem;
  }

  .hero-brand-logo {
    width: clamp(68px, 20vw, 84px);
  }

  .hero-intermission-title {
    top: clamp(0.95rem, 7.6vh, 2.9rem);
    font-size: clamp(1.28rem, 7.2vw, 1.85rem);
    letter-spacing: 0.04em;
  }

  .hero-intermission-logo {
    top: clamp(5.2rem, 20.8vh, 8.4rem);
    width: clamp(146px, 50vw, 212px);
  }

  .floating-cta {
    --floating-progress: clamp(0, var(--floating-expand-progress), 1);
    width: calc((100% - 1rem) + (1rem * var(--floating-progress)));
    bottom: calc(0.8rem * (1 - var(--floating-progress)));
    padding-top: calc((0.55rem * (1 - var(--floating-progress))) + (1.4rem * var(--floating-progress)));
    padding-right: calc((0.55rem * (1 - var(--floating-progress))) + (0.92rem * var(--floating-progress)));
    padding-left: calc((0.55rem * (1 - var(--floating-progress))) + (0.92rem * var(--floating-progress)));
    padding-bottom: calc((0.55rem * (1 - var(--floating-progress))) + ((env(safe-area-inset-bottom) + 1.42rem) * var(--floating-progress)));
    gap: calc((0.5rem * (1 - var(--floating-progress))) + (1.22rem * var(--floating-progress)));
    border-radius: calc(999px * (1 - var(--floating-progress)));
    border-left-width: calc(1px - (1px * var(--floating-progress)));
    border-right-width: calc(1px - (1px * var(--floating-progress)));
    border-bottom-width: calc(1px - (1px * var(--floating-progress)));
    flex-wrap: wrap;
    justify-content: center;
  }

  .floating-cta .floating-cta-copy {
    display: block;
    max-height: calc(3.4rem * var(--floating-progress));
    opacity: var(--floating-progress);
    margin: calc(0.44rem * var(--floating-progress)) 0 calc(0.34rem * var(--floating-progress));
    font-size: calc(0.92rem + (0.11rem * var(--floating-progress)));
    transform: translateY(calc(8px * (1 - var(--floating-progress))));
    overflow: hidden;
    pointer-events: none;
    transition: opacity 260ms ease, transform 260ms ease, max-height 260ms ease, margin 260ms ease;
  }

  .floating-cta .btn {
    flex: 1 1 calc(50% - 0.42rem);
    min-width: 0;
    min-height: calc(2.86rem + (0.22rem * var(--floating-progress)));
    font-size: calc(0.96rem + (0.01rem * var(--floating-progress)));
    padding: calc(0.68rem + (0.04rem * var(--floating-progress))) calc(0.78rem + (0.12rem * var(--floating-progress)));
  }
}


@media (max-width: 740px) and (max-height: 760px) {
  .hero .hero-content {
    top: clamp(5.4rem, 21vh, 8.9rem);
    bottom: max(0.82rem, env(safe-area-inset-bottom));
    --hero-gap-title-subtitle: clamp(0.48rem, 0.22rem + 0.92vh, 1.02rem);
    --hero-gap-subtitle-actions: clamp(0.4rem, 0.18rem + 0.78vh, 0.92rem);
  }

  .hero h1 {
    font-size: clamp(1.2rem, 0.72rem + 3.3vw + 0.3vh, 2.06rem);
  }

  .hero .hero-subtitle {
    font-size: clamp(0.82rem, 0.5rem + 1.35vw + 0.2vh, 1.08rem);
  }

  .hero-actions .btn {
    min-height: clamp(2.2rem, 1.72rem + 0.52vh, 2.74rem);
    font-size: clamp(0.84rem, 0.6rem + 0.86vw, 0.98rem);
  }
}

@media (max-width: 740px) and (max-height: 680px) {
  .hero .hero-content {
    top: clamp(5rem, 19vh, 7.8rem);
  }

  .hero h1 {
    font-size: clamp(1.12rem, 0.68rem + 3.1vw, 1.88rem);
  }

  .hero .hero-subtitle {
    font-size: clamp(0.82rem, 0.5rem + 1.2vw, 1rem);
  }

  .hero-actions .btn {
    min-height: clamp(2.08rem, 1.66rem + 0.45vh, 2.58rem);
    font-size: clamp(0.82rem, 0.58rem + 0.72vw, 0.92rem);
  }
}

@media (hover: none) and (pointer: coarse) {
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr !important;
  }

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