:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-alt: #eef2fa;
  --text: #0f172a;
  --muted: #52607a;
  --line: rgba(15, 23, 42, 0.1);
  --brand: #163f8c;
  --brand-deep: #102f68;
  --brand-soft: #dce7ff;
  --accent: #ff7a00;
  --accent-dark: #dd6800;
  --max-width: 1160px;
  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-soft: 0 20px 44px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(22, 63, 140, 0.06), transparent 18%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 40%, #eef2f8 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.hero,
.section {
  position: relative;
}

.scroll-stage {
  --stage-progress: 1;
}

.hero {
  padding: 70px 0 24px;
}

.section {
  padding: 96px 0;
}

.section-soft::before,
.section-band::before {
  content: "";
  position: absolute;
  inset: 8px 0;
  z-index: -1;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.section-soft::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(232, 238, 249, 0.8));
}

.section-band::before {
  background: linear-gradient(180deg, rgba(223, 232, 251, 0.9), rgba(245, 247, 251, 0.78));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(245, 247, 251, 0.86);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, #2b66d9 100%);
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-size: 1.1rem;
}

.nav-actions,
.cta-row,
.trust-inline,
.contact-meta,
.footer-links,
.final-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bubble-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bubble-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(22, 63, 140, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.bubble-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(22, 63, 140, 0.22);
}

.footer-links a,
.contact-meta a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.contact-meta a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #ff9740 100%);
  box-shadow: 0 16px 32px rgba(255, 122, 0, 0.28);
}

.button-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, #ff8d30 100%);
}

.button-secondary {
  border: 1px solid rgba(22, 63, 140, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
}

.button-block {
  width: 100%;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero-banner {
  min-height: 470px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(22, 63, 140, 0.1);
  background:
    radial-gradient(circle at 50% 18%, rgba(70, 150, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(233, 240, 252, 0.98) 100%);
  box-shadow: var(--shadow-soft);
}

.hero-banner-interactive {
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-banner-overlay {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14px 28px 160px;
  text-align: center;
  color: var(--text);
}

.hero-banner .eyebrow {
  color: rgba(16, 47, 104, 0.72);
}

.hero-banner h1,
.section-heading h2,
.final-cta h2,
.contact-card h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-banner h1 {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(2.56rem, 6.4vw, 4.8rem);
  color: var(--text);
}

.hero-banner h1 span {
  display: block;
}

.hero-lead,
.section-heading p,
.final-copy,
.plan-copy,
.plan-note,
.site-footer p,
.contact-card .form-note,
.process-card p,
.reality-card p,
.trust-item p {
  margin: 18px 0 0;
  color: var(--muted);
}

.hero-banner .hero-lead {
  margin: 18px auto 0;
  max-width: 50ch;
  color: rgba(15, 23, 42, 0.72);
}

.hero-copy,
.hero-copy-compact,
.section-heading,
.site-footer {
  text-align: center;
}

.hero-copy-compact {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 18px;
}

.scroll-stage > .container {
  position: relative;
  transition: transform 0.14s linear, opacity 0.14s linear;
}

.hero-actions,
.final-actions,
.contact-meta {
  justify-content: center;
}

.reality-grid,
.service-grid,
.process-grid,
.pricing-grid,
.final-cta,
.footer-shell {
  display: grid;
  gap: 20px;
}

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

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

.pricing-grid-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.final-cta {
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.footer-shell {
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
}

.reality-card,
.info-card,
.process-card,
.pricing-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.reality-card,
.info-card,
.process-card,
.pricing-card,
.contact-card {
  padding: 28px;
}

.card-art,
.process-art {
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(22, 63, 140, 0.08);
  background: linear-gradient(180deg, #f7f9ff 0%, #edf3ff 100%);
}

.card-art img,
.process-art img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.trust-inline,
.stack-list,
.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trust-inline {
  justify-content: center;
  flex-wrap: nowrap;
  gap: 22px;
}

.stack-list,
.check-list {
  display: grid;
  gap: 14px;
}

.trust-inline li,
.stack-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
}

.trust-inline li::before,
.stack-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 122, 0, 0.14);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.reality-card {
  text-align: left;
  background: linear-gradient(180deg, rgba(22, 63, 140, 0.06) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.reality-card h3,
.info-card h3,
.process-card h3,
.trust-item h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.process-card,
.pricing-card {
  text-align: center;
}

.process-art img {
  height: 138px;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
}

.pricing-card {
  position: relative;
}

.pricing-card-featured {
  border-color: rgba(255, 122, 0, 0.32);
  background: linear-gradient(180deg, rgba(255, 122, 0, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.plan-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-dark);
  background: rgba(255, 122, 0, 0.14);
}

.plan-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand);
}

.plan-price {
  margin: 14px 0;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.plan-price span {
  font-size: 1rem;
  color: var(--muted);
}

.contact-card {
  text-align: left;
}

.contact-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 700;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: 2px solid rgba(255, 122, 0, 0.28);
  border-color: rgba(255, 122, 0, 0.32);
}

.form-note {
  font-size: 0.94rem;
}

.site-footer {
  padding: 28px 0 36px;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.brand-footer {
  margin-bottom: 14px;
}

.footer-links {
  justify-content: center;
  flex-wrap: wrap;
}

.footer-copy {
  text-align: right;
}

@media (min-width: 961px) {
  .scroll-stage {
    min-height: 118vh;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .scroll-stage > .container {
    position: sticky;
    top: 50%;
    z-index: 1;
    transform:
      translateY(calc(-50% + ((1 - var(--stage-progress)) * 168px)))
      scale(calc(0.95 + (var(--stage-progress) * 0.05)));
    opacity: calc(0.04 + (var(--stage-progress) * 0.96));
    filter: blur(calc((1 - var(--stage-progress)) * 7px));
    clip-path: inset(0 0 calc((1 - var(--stage-progress)) * 28%) 0 round 32px);
    will-change: transform, opacity, filter, clip-path;
  }

  .hero.scroll-stage {
    min-height: 112vh;
  }
}

@media (max-width: 1080px) {
  .bubble-nav {
    display: none;
  }

  .nav-actions .button-secondary {
    display: none;
  }

  .reality-grid,
  .service-grid,
  .process-grid,
  .pricing-grid,
  .final-cta,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    text-align: center;
  }

  .footer-copy {
    text-align: center;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .bubble-nav,
  .nav-actions {
    display: none;
  }

  .site-header.menu-open .nav-shell {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  .site-header.menu-open .bubble-nav,
  .site-header.menu-open .nav-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.menu-open .bubble-nav {
    gap: 10px;
    padding-top: 8px;
  }

  .site-header.menu-open .nav-actions .button-secondary {
    display: inline-flex;
  }

  .site-header.menu-open .nav-actions {
    padding-top: 8px;
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding-top: 52px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    position: static;
  }

  .hero-banner {
    min-height: 390px;
  }

  .hero-banner-overlay {
    padding: 12px 22px 124px;
  }

  .hero-banner h1 {
    max-width: 15ch;
    font-size: clamp(2.16rem, 12vw, 3.44rem);
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .trust-inline,
  .cta-row,
  .contact-meta,
  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bubble-nav a {
    width: 100%;
  }

  .trust-inline {
    flex-wrap: wrap;
    gap: 14px;
  }

  .button,
  .site-header.menu-open .nav-actions .button {
    width: 100%;
  }

  .reality-card,
  .info-card,
  .process-card,
  .pricing-card,
  .contact-card,
  .final-cta {
    border-radius: 22px;
  }

  .plan-badge {
    position: static;
    display: inline-flex;
    margin-bottom: 12px;
  }
}
