/* ========================================================================== 
   ANODYNE — HUMAN SIGNAL
   Production presentation layer. Content and section order remain in index.html.
   ========================================================================== */

:root {
  --blue-500: #3772ff;
  --blue-600: #2a5be0;
  --ink-700: #243151;
  --ink-800: #152342;
  --ink-900: #0a1731;
  --gray-50: #f6f8fb;
  --gray-100: #edf1f7;
  --gray-200: #dfe6f0;
  --gray-600: #5b687b;
  --gray-700: #3f4a5c;
  --surface-tint: #eef3ff;
  --canvas: #f6f8fb;
  --border: rgba(38, 55, 86, .12);
  --border-strong: rgba(38, 55, 86, .22);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 22px;
  --radius-xl: 26px;
  --radius-2xl: 30px;
  --shadow-xs: 0 1px 2px rgba(25, 43, 74, .04);
  --shadow-sm: 0 12px 34px rgba(34, 55, 89, .07);
  --shadow-md: 0 20px 54px rgba(34, 55, 89, .11);
  --shadow-lg: 0 28px 72px rgba(25, 43, 74, .14);
  --shadow-brand: 0 24px 60px rgba(42, 91, 224, .2);
  --human-max: 1440px;
}

html { scroll-padding-top: 90px; }
body { background: #fff; }
main { overflow: clip; }

/* Global shape and interaction language */
.card,
.cap-frame,
.cond-panel,
.note,
.partner-band,
.input,
.select,
.textarea,
.btn,
.num-input,
.form-status { border-radius: var(--radius-xl); }

.card {
  border: 1px solid rgba(35, 53, 84, .1);
  box-shadow: var(--shadow-sm);
}

.card--interactive,
.lift {
  transition: transform 320ms cubic-bezier(.2,.8,.2,1), box-shadow 320ms ease, border-color 320ms ease, background 320ms ease;
}

.card--interactive:hover,
.lift:hover {
  transform: translateY(-6px);
  border-color: rgba(55, 114, 255, .2);
  box-shadow: var(--shadow-md);
}

.btn {
  min-height: 48px;
  border-radius: 14px;
  font-size: 14px;
  letter-spacing: -.01em;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.btn--lg { min-height: 56px; padding-inline: 26px; font-size: 14px; }
.btn--sm { min-height: 44px; }
.btn--primary { background: #1f2d50; box-shadow: 0 14px 28px rgba(31, 45, 80, .17); }
.btn--primary:hover { background: #172440; box-shadow: 0 18px 40px rgba(31, 45, 80, .24); }
.btn--secondary { border-color: rgba(36, 49, 81, .17); box-shadow: none; }
.btn__arrow { width: 28px; height: 28px; }

.scroll-progress {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: #3772ff;
  will-change: transform;
}

/* Navigation */
.navbar {
  height: 82px;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(35, 53, 84, .09);
  backdrop-filter: saturate(140%) blur(20px);
  transition: height 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.navbar.is-scrolled {
  height: 72px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 36px rgba(29, 47, 79, .08);
}
.navbar__inner { max-width: var(--human-max); }
.navbar__links { gap: clamp(22px, 2.6vw, 42px); }
.navbar__links a {
  position: relative;
  color: #566274;
  font-size: 13px;
  font-weight: 500;
  transition: color 180ms ease;
}
.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -12px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue-500);
  transition: right 220ms ease;
}
.navbar__links a:hover::after,
.navbar__links a.is-active::after { right: 0; }
.navbar__links a.is-active { color: var(--ink-800); }
.navbar__actions .btn { color: #fff; background: var(--blue-600); border-color: transparent; box-shadow: none; }
.navbar__actions .btn:hover { background: #1f4fc8; transform: translateY(-1px); }

.brand__word { color: var(--ink-800); }
.brand__pulse { color: var(--blue-500); }

/* Typography */
h1, h2, h3, h4, h5, .display-1, .display-2 { color: var(--ink-800); }
h2 { font-size: clamp(38px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -.048em; }
.lead { color: #526075; line-height: 1.65; }
.eyebrow {
  color: var(--blue-600);
  font-size: 10px;
  letter-spacing: .16em;
}
.eyebrow::before { width: 32px; height: 1px; }
.accent { color: var(--blue-600); }

/* Hero — approved Human Signal direction */
.hero {
  min-height: 720px;
  padding-block: 0 !important;
  display: flex;
  align-items: stretch;
  background: #fff !important;
  isolation: isolate;
}
.hero > .blob { display: none; }
.hero__photo {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 45%;
  background: url('/assets/clinical-consultation.png') 56% center / cover no-repeat;
}
.hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.96) 8%, rgba(255,255,255,.62) 19%, rgba(255,255,255,0) 36%);
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.58) 72%, #fff 100%);
  pointer-events: none;
}
.hero .container {
  max-width: var(--human-max);
  display: flex;
  align-items: stretch;
}
.hero__grid {
  width: 100%;
  min-height: 720px;
  padding-block: clamp(66px, 6.5vw, 104px) 38px;
  grid-template-columns: minmax(520px, 48%) 1fr;
  gap: 0;
  align-items: stretch;
}
.hero__grid > div:first-child {
  z-index: 2;
  align-self: center;
  padding-right: 34px;
}
.hero__title {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(56px, 5.7vw, 88px);
  line-height: .96;
  letter-spacing: -.064em;
  text-wrap: balance;
}
.hero .lead {
  max-width: 610px;
  margin-top: 28px;
  color: #3f4d61;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}
.hero__cta { margin-top: 30px; gap: 12px; }
.hero__cta .btn--secondary { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); }
.hero__visual {
  z-index: 3;
  align-self: end;
  min-width: 0;
  padding: 0 0 0 18px;
}
.econ__card {
  width: 100%;
  margin-right: 0;
  padding: 20px 24px !important;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 26px;
  color: #fff;
  background: rgba(16, 39, 82, .96) !important;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  box-shadow: 0 20px 50px rgba(9,26,58,.24);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.econ__head {
  grid-column: 1 / -1;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.econ__head .eyebrow { font-size: 8px; }
.econ__tag {
  padding: 5px 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 10px;
  font-size: 8px;
}
.econ__stats {
  grid-column: 1 / -1;
  margin-top: 2px;
  gap: 0;
}
.econ__stats > div {
  padding: 7px 18px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.econ__stats > div:first-child { padding-left: 0; }
.econ__stats > div:last-child { padding-right: 0; border-right: 0; }
.econ__v { color: #fff; font-size: clamp(17px, 1.4vw, 22px); white-space: nowrap; }
.econ__l { color: rgba(255,255,255,.72); font-size: 10px; }
.econ__note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 9px;
}
.econ__piece {
  position: static;
  grid-column: 1 / -1;
  margin-top: 2px;
  padding: 14px 0 0;
  color: #fff;
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.16);
  border-radius: 0;
  box-shadow: none;
}
.econ__piece .pic { width: 34px; height: 34px; background: rgba(255,255,255,.11); color: #fff; border-radius: 12px; }
.econ__piece-t { color: #fff; }
.econ__piece-s { color: rgba(255,255,255,.68); }

/* Six-point assurance rail */
.hero + .section--tight {
  position: relative;
  z-index: 4;
  padding-block: 16px 88px !important;
  background: #fff !important;
}
.hero + .section--tight .container { max-width: var(--human-max); }
.cap-head {
  margin: 0 0 18px;
  color: var(--ink-800);
  font-size: 15px;
  letter-spacing: -.02em;
}
.cap-frame {
  margin-top: 0;
  padding: 8px;
  border-color: rgba(37, 54, 86, .1);
  border-radius: 26px;
  box-shadow: 0 16px 42px rgba(31, 48, 80, .08);
}
.cap-frame .cap-chip {
  position: relative;
  min-height: 64px;
  padding: 14px 15px;
  border-radius: 18px;
  font-size: 11px;
}
.cap-frame .cap-chip + .cap-chip::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  bottom: 15px;
  width: 1px;
  background: var(--border);
}
.cap-frame .cap-chip .ck { width: 24px; height: 24px; padding: 5px; }

/* Shared sections */
.section { padding-block: clamp(82px, 8vw, 124px); }
.section--tight { padding-block: clamp(64px, 6vw, 90px); }
.container--wide { max-width: var(--human-max); }
.section-head { max-width: 780px; }
.section-head h2 { max-width: 760px; }
.section-head .lead { max-width: 660px; }
.note {
  padding: 16px 18px;
  background: rgba(238,243,255,.8);
  border: 1px solid rgba(55,114,255,.08);
  border-radius: 18px;
}
.note p { color: #536176; }

.ux-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms cubic-bezier(.2,.8,.2,1), transform 650ms cubic-bezier(.2,.8,.2,1);
}
.ux-reveal.ux-in { opacity: 1; transform: none; }

/* Economics */
#economics { background: #fff; }
#economics .section-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
  column-gap: clamp(60px, 8vw, 130px);
  align-items: start;
}
#economics .section-head > .eyebrow { grid-column: 1; grid-row: 1; }
#economics .section-head > h2 { grid-column: 1; grid-row: 2 / 5; margin-top: 16px !important; }
#economics .section-head > .lead { grid-column: 2; grid-row: 1 / 3; margin: 0; max-width: 690px; }
#economics .section-head > .note { grid-column: 2; grid-row: 3; margin-top: 22px !important; }
#economics .econ-cols { margin-top: 64px !important; gap: 26px !important; }
#economics .econ-cols > .card {
  min-height: 470px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: 28px;
}
#economics .econ-cols > .card:first-child {
  width: min(100%, 600px);
  min-height: 338px;
  align-self: center;
  justify-self: start;
  background: linear-gradient(145deg, #f4f7fc, #edf3ff);
  box-shadow: none;
}
#economics .econ-cols > .card:first-child .feature__title { font-size: clamp(25px, 2.2vw, 34px); }
#economics .point { padding-block: 9px; font-size: 14px; line-height: 1.55; }
#economics .price__check { width: 25px; height: 25px; display: grid; place-items: center; color: var(--blue-600); background: #fff; border-radius: 50%; box-shadow: 0 4px 10px rgba(42,91,224,.1); }
.estimator { background: #fff; box-shadow: var(--shadow-md); }
.estimator .feature__title { font-size: clamp(25px, 2.2vw, 34px); }
.estimator .badge { border-radius: 12px; }
.num-input {
  height: 40px;
  border: 1px solid rgba(38,55,86,.13);
  border-radius: 12px;
  background: #f8faff;
}
.estimator input[type="range"] {
  --range-fill: 0%;
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  appearance: none;
  background: linear-gradient(90deg, var(--blue-600) 0 var(--range-fill), #dce3ed var(--range-fill) 100%);
}
.estimator input[type="range"]::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  appearance: none;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 2px 10px rgba(24,55,130,.25);
}
.estimator input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 2px 10px rgba(24,55,130,.25);
}
.estimator .card--tint {
  padding: 24px;
  border: 0;
  border-radius: 22px;
  background: #eef3ff;
  box-shadow: none;
}
.estimator__output { font-size: clamp(31px, 3vw, 46px); }
.estimator__output.is-updating { animation: estimate-pop 340ms cubic-bezier(.2,.8,.2,1); }
@keyframes estimate-pop { 0% { opacity: .4; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
.estimator > .btn { border-radius: 14px; }

/* Referral partners — human, confident, no glass or orb decoration */
#partners { padding-top: 0; background: #fff; }
#partners .partner-band {
  min-height: 390px;
  padding: clamp(56px, 7vw, 90px) clamp(32px, 8vw, 118px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  background: #15284f;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(12,31,68,.17);
}
#partners .partner-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(106,151,255,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(80,132,255,.035), 0 0 0 144px rgba(80,132,255,.025);
}
#partners .partner-band::after {
  content: "";
  position: absolute;
  right: 9%;
  top: 50%;
  width: 190px;
  height: 1px;
  background: #6592ff;
  box-shadow: 42px -19px 0 -0.25px #6592ff, 74px 23px 0 -0.25px #6592ff;
  transform: rotate(-8deg);
  opacity: .6;
}
#partners .blob { display: none; }
#partners .partner-band > * { position: relative; z-index: 1; }
#partners .partner-band h2 {
  max-width: 680px !important;
  margin: 16px 0 0 !important;
  color: #fff;
  font-size: clamp(42px, 4.8vw, 70px);
}
#partners .partner-band .lead {
  max-width: 650px;
  margin: 20px 0 0 !important;
  color: rgba(255,255,255,.74);
}
#partners .partner-band .cluster { justify-content: flex-start !important; }
#partners .btn { border-radius: 14px; }

/* Included */
#included { background: #f5f7fb; }
#included .section-head { max-width: 900px; }
#included .section-head h2 { max-width: 900px; }
#included .feat-grid { margin-top: 58px !important; gap: 20px; }
#included .card {
  min-height: 240px;
  padding: 30px;
  border-radius: 26px;
  background: #fff;
}
#included .feature__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border: 1px solid rgba(55,114,255,.12);
  border-radius: 17px;
  background: linear-gradient(145deg, #f9fbff, #e8efff);
  color: var(--blue-600);
  box-shadow: 0 10px 24px rgba(42,91,224,.1), inset 0 1px 0 rgba(255,255,255,.95);
}
#included .feature__title { font-size: 20px; }
#included .card:nth-child(1) { background: #eaf1ff; }
#included .card:nth-child(3) { background: #f0f4ff; }

/* Purposeful, quiet icon motion — one consistent line system, distinct behavior per service. */
.feature__icon {
  isolation: isolate;
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), box-shadow 420ms ease, color 220ms ease;
}
.feature__icon::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9px;
  border-radius: 12px;
  background: rgba(55,114,255,.1);
  opacity: 0;
  transform: scale(.6);
  transition: opacity 350ms ease, transform 500ms cubic-bezier(.2,.8,.2,1);
}
.card:hover .feature__icon {
  color: #174dcc;
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 0 14px 30px rgba(42,91,224,.16), inset 0 1px 0 #fff;
}
.card:hover .feature__icon::after { opacity: 1; transform: scale(1); }
.feature__icon svg {
  position: relative;
  z-index: 1;
  width: 27px;
  height: 27px;
  overflow: visible;
}
.icon-orbit { transform-origin: 12px 12px; animation: icon-orbit 5.8s linear infinite; }
.icon-pulse { stroke-dasharray: 26; stroke-dashoffset: 26; animation: icon-trace 2.8s cubic-bezier(.4,0,.2,1) infinite; }
.icon-cap { transform-origin: 12px 12px; animation: icon-cap 3.4s ease-in-out infinite; }
.icon-tassel { transform-origin: 18px 9px; animation: icon-tassel 3.4s ease-in-out infinite; }
.icon-doc-check,
.icon-shield-check { stroke-dasharray: 16; stroke-dashoffset: 16; animation: icon-draw 2.8s ease-in-out infinite; }
.icon-doc-line { stroke-dasharray: 8 12; animation: icon-march 2.6s linear infinite; }
.icon-box-lid { transform-origin: 12px 8px; animation: icon-lid 3.6s cubic-bezier(.2,.8,.2,1) infinite; }
.icon-spark { transform-origin: center; animation: icon-spark 2.5s ease-in-out infinite; }
.icon-coin { animation: icon-coin 3s ease-in-out infinite; }
.icon-growth-arrow { stroke-dasharray: 28; stroke-dashoffset: 28; animation: icon-growth 3.2s ease-in-out infinite; }
.icon-search { transform-origin: 15.5px 15.5px; animation: icon-search 3.8s ease-in-out infinite; }
.icon-submit-arrow { animation: icon-submit 3s ease-in-out infinite; }
.icon-retry-arrow { transform-origin: 12px 12px; animation: icon-retry 3.4s ease-in-out infinite; }

@keyframes icon-orbit { to { transform: rotate(360deg); } }
@keyframes icon-trace { 0%, 18% { stroke-dashoffset: 26; opacity: .35; } 48%, 82% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -26; opacity: .35; } }
@keyframes icon-cap { 0%, 100% { transform: translateY(0) rotate(0); } 48% { transform: translateY(-1.8px) rotate(-2deg); } }
@keyframes icon-tassel { 0%, 100% { transform: rotate(0); } 48% { transform: rotate(7deg); } }
@keyframes icon-draw { 0%, 18% { stroke-dashoffset: 16; opacity: .3; } 48%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -16; opacity: .3; } }
@keyframes icon-march { to { stroke-dashoffset: -20; } }
@keyframes icon-lid { 0%, 100% { transform: translateY(0); } 45%, 62% { transform: translateY(-1.7px); } }
@keyframes icon-spark { 0%, 100% { opacity: .5; transform: scale(.72) rotate(0); } 48% { opacity: 1; transform: scale(1.08) rotate(12deg); } }
@keyframes icon-coin { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-2px); } 62% { transform: translateY(-1px); } }
@keyframes icon-growth { 0%, 15% { stroke-dashoffset: 28; opacity: .35; } 52%, 86% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -28; opacity: .35; } }
@keyframes icon-search { 0%, 100% { transform: translate(0,0) rotate(0); } 35% { transform: translate(-1px,-1px) rotate(-5deg); } 65% { transform: translate(1px,1px) rotate(4deg); } }
@keyframes icon-submit { 0%, 100% { transform: translate(0,0); } 45% { transform: translate(2px,-1px); } }
@keyframes icon-retry { 0%, 100% { transform: rotate(0); } 46% { transform: rotate(5deg); } 68% { transform: rotate(2deg); } }

/* Workflow */
#how { background: #fff; }
#how .section-head { max-width: 900px; }
#how .steps-grid {
  position: relative;
  margin-top: 64px !important;
  gap: 18px;
}
#how .steps-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 38px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: linear-gradient(90deg, #3772ff, #9ab8ff);
}
#how .step-card {
  position: relative;
  z-index: 1;
  min-height: 300px;
  padding: 26px;
  border-radius: 26px;
  background: rgba(255,255,255,.98);
}
#how .step-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(90deg, var(--blue-600), #77a0ff);
  opacity: .82;
}
#how .step-num {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  background: #eef3ff;
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(42,91,224,.13);
  font-size: 28px;
}
#how .feature__title { font-size: 20px; }

/* Clinical scope and animated program result */
#how + .section {
  background: #edf3ff;
  border-block: 1px solid rgba(55,114,255,.08);
}
#how + .section > .container > .grid { gap: clamp(34px, 6vw, 90px) !important; }
.cond-panel {
  margin-top: 30px !important;
  padding: 14px 24px;
  border: 1px solid rgba(36,49,81,.1);
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 46px rgba(34,55,89,.08);
}
.cond-item { min-height: 54px; }
.cond-item .cd { width: 27px; height: 27px; background: #edf3ff; }
#how + .section .grid > .card {
  min-height: 440px;
  padding: clamp(30px, 4vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.ring {
  width: 156px;
  height: 156px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 56%, #f6f8ff 57%);
}
.ring svg { width: 156px; height: 156px; }
.ring__track { stroke: #dce7ff; }
.ring__prog { stroke: var(--blue-500); filter: drop-shadow(0 3px 6px rgba(55,114,255,.18)); }
.ring__txt { font-size: 30px; }

/* Insurance */
#how + .section + .section { background: #fff; }
#how + .section + .section > .container > .grid { gap: clamp(50px, 8vw, 120px) !important; }
#how + .section + .section .feat-grid { gap: 14px !important; }
#how + .section + .section .feat-grid .card {
  min-height: 126px;
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(34,55,89,.06);
}
#how + .section + .section .feature__icon {
  width: 54px !important;
  height: 54px !important;
  border: 1px solid rgba(55,114,255,.12);
  border-radius: 17px;
  background: linear-gradient(145deg, #f9fbff, #e8efff);
  box-shadow: 0 10px 24px rgba(42,91,224,.09), inset 0 1px 0 rgba(255,255,255,.95);
}

/* Contact */
#contact {
  position: relative;
  background: #f2f5fb;
}
#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(55,114,255,.35), transparent);
}
#contact > .container > .grid { gap: clamp(46px, 8vw, 118px) !important; }
#contact .point { padding-block: 7px; }
#contact .price__check { color: var(--blue-600); }
#contact .card--tint {
  border: 0;
  border-radius: 22px;
  background: #e7efff;
  box-shadow: none;
}
#contact-form-card {
  padding: clamp(28px, 4vw, 46px);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}
.input, .select, .textarea {
  min-height: 52px;
  padding-inline: 16px;
  border: 1px solid rgba(36,49,81,.15);
  border-radius: 14px;
  background: #fbfcff;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.textarea { min-height: 128px; padding-block: 14px; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(42,91,224,.3); }
.input:focus, .select:focus, .textarea:focus { background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(55,114,255,.12); }
.input:user-valid:not(:placeholder-shown), .textarea:user-valid:not(:placeholder-shown) { border-color: rgba(24,178,107,.55); }
#f-submit { border-radius: 14px; }

/* Footer */
.footer {
  padding-block: 88px 34px;
  background: #0a1427;
  border-radius: 30px 30px 0 0;
}
.footer__grid { gap: 48px; }
.footer h5 { color: #8fb1ff; font-size: 10px; }
.footer a { transition: color 160ms ease, transform 160ms ease; }
.footer a:hover { transform: translateX(3px); }

/* Responsive */
@media (max-width: 1120px) {
  .hero__photo { left: 43%; background-position: 58% center; }
  .hero__grid { grid-template-columns: minmax(470px, 46%) 1fr; }
  .hero__title { font-size: clamp(50px, 6vw, 74px); }
  .econ__card { grid-template-columns: 1fr; }
  .econ__v { font-size: 17px; }
  .cap-grid { grid-template-columns: repeat(3, 1fr); }
  .cap-frame .cap-chip:nth-child(4)::before { display: none; }
  #how .steps-grid { grid-template-columns: repeat(2, 1fr); }
  #how .steps-grid::before { display: none; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 74px; }
  .navbar { height: 74px; }
  .navbar.is-scrolled { height: 68px; }
  .navbar__links {
    top: 74px;
    padding: 8px var(--gutter) 18px;
    border-radius: 0 0 24px 24px;
  }
  .navbar__links a { min-height: 48px; display: flex; align-items: center; }
  .navbar__links a::after { display: none; }
  .hero { min-height: 980px; display: block; }
  .hero__photo {
    inset: 49% 0 0;
    background-position: 60% center;
  }
  .hero__photo::before {
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.98) 8%, rgba(255,255,255,.22) 32%, rgba(255,255,255,0) 48%);
  }
  .hero .container { display: block; }
  .hero__grid {
    min-height: 980px;
    padding-block: 62px 28px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 36px;
  }
  .hero__grid > div:first-child { max-width: 690px; padding-right: 0; }
  .hero__visual { align-self: end; padding-left: 0; }
  .econ__card {
    width: 100%;
    margin-right: 0;
    border-radius: 26px;
  }
  .hero + .section--tight { padding-top: 54px !important; }
  #economics .section-head { display: block; }
  #economics .section-head > .lead { margin-top: 24px; }
  #economics .econ-cols { grid-template-columns: 1fr; }
  #economics .econ-cols > .card { min-height: auto; }
  #partners .partner-band::after { display: none; }
  #included .feat-grid { grid-template-columns: repeat(2, 1fr); }
  #how + .section > .container > .grid,
  #how + .section + .section > .container > .grid,
  #contact > .container > .grid { grid-template-columns: 1fr; }
  #how + .section .grid > .card { min-height: auto; }
}

@media (max-width: 620px) {
  h2 { font-size: clamp(35px, 11vw, 48px); }
  .navbar__actions .btn { display: none; }
  .navbar__inner { gap: 16px; }
  .hero {
    min-height: 1220px;
  }
  .hero__photo { inset: 53% 0 23%; background-position: 61% center; }
  .hero__photo::before { display: none; }
  .hero__grid {
    min-height: 1220px;
    padding-top: 48px;
    padding-bottom: 18px;
    grid-template-rows: auto 1fr;
  }
  .hero__grid > div:first-child {
    min-width: 0;
    padding-bottom: 28px;
    background: #fff;
  }
  .hero .eyebrow {
    max-width: 100%;
    align-items: flex-start;
    font-size: 7.5px;
    line-height: 1.5;
    letter-spacing: .11em;
    white-space: normal;
  }
  .hero .eyebrow::before { width: 26px; flex: 0 0 26px; margin-top: .55em; }
  .hero__title { font-size: clamp(42px, 11.4vw, 48px); line-height: .98; letter-spacing: -.058em; }
  .hero .lead { margin-top: 22px; font-size: 16px; }
  .hero__cta { margin-top: 24px; }
  .hero__cta .btn { width: 100%; }
  .hero__visual { align-self: end; }
  .econ__card { padding: 18px !important; gap: 10px; }
  .econ__stats { grid-template-columns: 1fr 1fr; }
  .econ__stats > div { padding: 12px; }
  .econ__stats > div:nth-child(2) { border-right: 0; text-align: right; }
  .econ__stats > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.16); text-align: left; }
  .econ__note { line-height: 1.45; }
  .hero + .section--tight { padding: 48px 0 68px !important; }
  .cap-head { text-align: left; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-frame .cap-chip + .cap-chip::before { top: 0; right: 12px; bottom: auto; width: auto; height: 1px; }
  .cap-frame .cap-chip:nth-child(4)::before { display: block; }
  .section { padding-block: 72px; }
  #economics .econ-cols { margin-top: 42px !important; }
  #economics .econ-cols > .card { padding: 24px; border-radius: 24px; }
  .rng-row { align-items: flex-start; }
  .rng-row .label { max-width: 55%; }
  .estimator__output { font-size: 31px; white-space: normal; }
  #partners .partner-band { min-height: 440px; padding: 48px 26px; border-radius: 26px; }
  #partners .partner-band::before { right: -250px; }
  #partners .partner-band h2 { font-size: 41px; }
  #partners .partner-band .btn { width: 100%; }
  #included .feat-grid { grid-template-columns: 1fr; margin-top: 40px !important; }
  #included .card { min-height: auto; }
  #how .steps-grid { grid-template-columns: 1fr; margin-top: 42px !important; }
  #how .step-card { min-height: auto; }
  .cond-grid2 { grid-template-columns: 1fr; }
  .cond-grid2 .cond-item:nth-child(2) { border-top: 1px solid var(--border); }
  #how + .section .grid > .card { padding: 26px; }
  #how + .section .grid > .card > .cluster { align-items: flex-start !important; }
  .ring { width: 132px; height: 132px; }
  .ring svg { width: 132px; height: 132px; }
  #contact-form-card { padding: 24px; border-radius: 26px; }
  #contact-form-card .grid-2 { grid-template-columns: 1fr; }
  .footer { border-radius: 26px 26px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ux-reveal { opacity: 1; transform: none; }
  .estimator__output.is-updating { animation: none; }
  .feature__icon *,
  .feature__icon { animation: none !important; transition-duration: .01ms !important; }
}
