:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0d1426;
  --muted: #63708a;
  --faint: #eef2f7;
  --blue: #2446c5;
  --blue-strong: #18349f;
  --green: #12b981;
  --red: #ef4444;
  --amber: #d97706;
  --font:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(32, 70, 197, 0.2);
  outline-offset: 3px;
}

::selection {
  color: #ffffff;
  background: var(--blue);
}

.site-shell {
  min-height: 100svh;
  overflow-x: clip;
  background: linear-gradient(180deg, #050812 0 1080px, var(--bg) 1080px 100%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #7aa2ff, #12b981);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 48px));
  height: 72px;
  margin: 0 auto;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(4, 8, 18, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(24px) saturate(1.25);
}

.brand,
.main-nav,
.header-actions,
.hero-actions,
.proof-row,
.locale-toggle,
.header-cta,
.primary-button,
.secondary-button,
.precision-list li,
.workflow,
.workflow-step,
.prompt-card {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: max-content;
  color: #ffffff;
  font-weight: 760;
  text-decoration: none;
}

.brand-logo-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  filter: drop-shadow(0 12px 24px rgba(47, 101, 255, 0.22));
  transform: translateZ(0);
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-word-seeking {
  color: #ffffff;
}

.brand-word-beta {
  margin-left: 1px;
  color: #dce7ff;
}

.main-nav {
  justify-content: center;
  gap: 24px;
}

.main-nav a {
  color: rgba(226, 232, 240, 0.68);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.locale-toggle,
.header-cta,
.primary-button,
.secondary-button {
  min-height: 42px;
  border: 0;
  font-weight: 760;
}

.locale-toggle {
  gap: 7px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

.header-cta,
.primary-button {
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(32, 70, 197, 0.22);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.header-cta {
  padding: 0 16px;
  font-size: 14px;
}

.primary-button {
  padding: 0 22px;
}

.secondary-button {
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(15, 23, 42, 0.11);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
}

.header-cta:hover,
.primary-button:hover {
  transform: translateY(-1px);
  background: var(--blue-strong);
  box-shadow: 0 18px 42px rgba(32, 70, 197, 0.26);
}

.locale-toggle:hover,
.secondary-button:hover {
  border-color: rgba(122, 162, 255, 0.42);
  color: #7aa2ff;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 84px);
  margin: -84px auto 0;
  padding: 142px 24px 0;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0) 0%, #050812 18%, #07101f 60%, #f8fafc 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px);
  isolation: isolate;
}

.hero-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(49, 92, 255, 0.26) 0%, transparent 46%),
    linear-gradient(110deg, transparent 14%, rgba(255, 255, 255, 0.08) 42%, transparent 66%);
  content: '';
}

.hero-section::after {
  position: absolute;
  right: 0;
  bottom: 130px;
  left: 0;
  z-index: -1;
  height: 340px;
  background:
    linear-gradient(180deg, transparent, rgba(122, 162, 255, 0.16) 42%, transparent),
    repeating-linear-gradient(90deg, transparent 0 78px, rgba(122, 162, 255, 0.12) 78px 79px);
  transform: perspective(700px) rotateX(72deg);
  transform-origin: bottom center;
  content: '';
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.hero-section .eyebrow {
  color: #9fb4ff;
}

.animate-in {
  animation: rise-in 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(58px, 7.4vw, 108px);
  line-height: 0.96;
  font-weight: 850;
  text-shadow: 0 24px 76px rgba(122, 162, 255, 0.18);
}

.hero-headline {
  max-width: 820px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.22;
  font-weight: 720;
}

.hero-body {
  max-width: 700px;
  margin: 24px auto 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.proof-row {
  display: none;
}

.proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(226, 232, 240, 0.72);
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 700;
}

.proof-row svg {
  color: var(--green);
}

.hero-product-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1320px, 100%);
  min-height: 650px;
  margin: 30px auto -126px;
  overflow: visible;
  border-radius: 8px;
  isolation: isolate;
}

.hero-product-stage::before {
  position: absolute;
  inset: auto;
  z-index: -1;
  display: none;
  content: '';
}

.hero-phone {
  width: min(580px, 78vw);
  image-rendering: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  filter:
    drop-shadow(0 42px 64px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 20px rgba(70, 115, 255, 0.1));
  animation: hero-device-reveal 900ms cubic-bezier(0.22, 1, 0.36, 1) 160ms both;
}

@keyframes hero-device-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.floating-metric {
  position: absolute;
  z-index: 4;
  width: 210px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(8, 14, 30, 0.78);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(22px) saturate(1.18);
}

.floating-metric span,
.metric-card > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-section .floating-metric span {
  color: rgba(226, 232, 240, 0.68);
}

.floating-metric strong,
.metric-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 850;
}

.metric-display-text {
  display: block;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-section .floating-metric strong {
  color: #ffffff;
}

.hero-metric-one {
  top: 168px;
  left: 120px;
}

.hero-metric-two {
  right: 118px;
  bottom: 210px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 104px 0;
  scroll-margin-top: 112px;
}

.cinema-section {
  margin: 0;
  scroll-margin-top: 112px;
  color: #f8fafc;
  background:
    linear-gradient(180deg, #050812 0%, #07101f 48%, #0b1223 100%),
    repeating-linear-gradient(90deg, rgba(122, 162, 255, 0.07) 0 1px, transparent 1px 88px);
}

.cinema-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 138px 0 118px;
}

.cinema-heading {
  max-width: 820px;
  margin: 0 auto 76px;
  text-align: center;
}

.cinema-heading .eyebrow {
  color: #9fb4ff;
}

.cinema-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  font-weight: 820;
}

.cinema-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(226, 232, 240, 0.78);
  font-size: 17px;
  line-height: 1.65;
}

.cinema-layout {
  display: grid;
  grid-template-columns: minmax(500px, 1.12fr) minmax(340px, 0.88fr);
  gap: 86px;
  align-items: start;
}

.cinema-sticky {
  position: sticky;
  top: 92px;
  display: grid;
  min-height: 860px;
  place-items: center;
}

.cinema-device-field {
  position: relative;
  display: grid;
  width: min(760px, 100%);
  min-height: 820px;
  place-items: center;
  perspective: 1200px;
}

.cinema-phone-shell {
  position: relative;
  z-index: 4;
  width: min(500px, 68vw);
  transform: none;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cinema-phone-shell img {
  width: 100%;
  border-radius: 8px;
  filter:
    drop-shadow(0 46px 88px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 30px rgba(122, 162, 255, 0.12));
  animation: product-swap 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cinema-side-phone {
  position: absolute;
  z-index: 1;
  width: 292px;
  opacity: 0.3;
  filter: drop-shadow(0 32px 60px rgba(0, 0, 0, 0.34));
}

.cinema-side-phone img {
  width: 100%;
  border-radius: 8px;
}

.cinema-side-phone.left {
  left: 0;
  transform: translateY(34px) rotateY(18deg) rotateZ(-6deg) scale(0.92);
}

.cinema-side-phone.right {
  right: 0;
  transform: translateY(-26px) rotateY(-18deg) rotateZ(5deg) scale(0.9);
}

.cinema-glass-card {
  position: absolute;
  z-index: 6;
  width: 242px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(9, 15, 31, 0.74);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(20px) saturate(1.16);
}

.cinema-glass-card span {
  display: block;
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.cinema-glass-card strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.15;
}

.top-card {
  top: 116px;
  right: 16px;
}

.bottom-card {
  bottom: 110px;
  left: 28px;
}

.cinema-scenes {
  display: grid;
  gap: 26px;
  padding: 132px 0 136px;
}

.cinema-scene {
  min-height: 342px;
  padding: 38px;
  border: 1px solid rgba(159, 180, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 13, 27, 0.78);
  opacity: 0.84;
  transform: scale(0.98);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
  transition:
    opacity 420ms ease,
    transform 420ms ease,
    border-color 420ms ease,
    background-color 420ms ease;
}

.cinema-scene.is-active {
  border-color: rgba(159, 180, 255, 0.72);
  background: linear-gradient(135deg, rgba(14, 26, 52, 0.96), rgba(27, 43, 81, 0.9));
  opacity: 1;
  transform: scale(1);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cinema-scene span {
  color: #a9bdff;
  font-size: 13px;
  font-weight: 860;
}

.cinema-scene h3 {
  margin: 24px 0 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.14;
}

.cinema-scene p {
  margin: 18px 0 0;
  color: rgba(241, 245, 249, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

.cinema-scene strong {
  display: inline-flex;
  margin-top: 28px;
  padding: 10px 13px;
  border: 1px solid rgba(159, 180, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(36, 70, 197, 0.36);
  font-size: 13px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-heading.compact {
  max-width: 820px;
}

.section-heading h2,
.feature-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.08;
  font-weight: 820;
}

.section-heading p:not(.eyebrow),
.feature-copy > p:not(.eyebrow),
.final-cta p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.story-section {
  width: 100%;
  padding: 142px max(24px, calc((100vw - 1220px) / 2)) 126px;
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f8fafc 100%),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.035) 0 1px, transparent 1px 92px);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(64px, 8vw, 128px);
  align-items: start;
}

.sticky-showcase {
  position: sticky;
  top: 118px;
  display: grid;
  min-height: 700px;
  place-items: center;
  isolation: isolate;
}

.sticky-showcase::before {
  position: absolute;
  inset: 11% 11% 5%;
  z-index: -1;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(36, 70, 197, 0.08), rgba(18, 185, 129, 0.05)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  content: '';
}

.sticky-showcase img {
  width: min(450px, 100%);
  filter: drop-shadow(0 38px 60px rgba(15, 23, 42, 0.16));
}

.image-swap {
  animation: product-swap 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes product-swap {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.story-steps {
  display: grid;
  gap: 0;
  padding: 24px 0 96px;
}

.story-step {
  min-height: 270px;
  padding: 44px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  background: transparent;
  opacity: 0.46;
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.story-step.is-active {
  opacity: 1;
  transform: translateX(10px);
}

.step-index {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 820;
}

.story-step h3,
.trust-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.12;
  font-weight: 800;
}

.story-step p:not(.eyebrow),
.trust-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.story-step strong {
  display: inline-block;
  margin-top: 28px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 820;
}

.feature-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(64px, 7vw, 112px);
  align-items: center;
  padding: 142px max(24px, calc((100vw - 1240px) / 2));
}

.rebalance-section {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  background: #f8fafc;
}

.rebalance-section .feature-copy {
  order: 2;
}

.risk-section {
  color: #ffffff;
  background:
    linear-gradient(180deg, #050812 0%, #0a1020 100%),
    repeating-linear-gradient(90deg, rgba(122, 162, 255, 0.08) 0 1px, transparent 1px 96px);
}

.risk-section .feature-copy h2,
.risk-section .precision-list li,
.risk-section .metric-card strong {
  color: #ffffff;
}

.risk-section .feature-copy > p:not(.eyebrow),
.risk-section .metric-card p {
  color: rgba(226, 232, 240, 0.76);
}

.risk-section .metric-grid {
  border-color: rgba(159, 180, 255, 0.16);
  background: rgba(159, 180, 255, 0.14);
}

.risk-section .metric-card {
  background: rgba(10, 18, 36, 0.92);
}

.risk-section .metric-card span {
  color: rgba(169, 189, 255, 0.9);
}

.risk-section .section-phone {
  filter:
    drop-shadow(0 46px 88px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 24px rgba(122, 162, 255, 0.1));
}

.feature-copy {
  max-width: 540px;
}

.precision-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.precision-list li {
  gap: 12px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
}

.precision-list svg {
  flex: 0 0 auto;
  color: var(--blue);
}

.feature-media {
  display: grid;
  gap: 28px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.08);
}

.metric-card {
  min-height: 164px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.metric-card:hover {
  transform: none;
  box-shadow: none;
}

.metric-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.metric-card > span + p {
  margin-top: 28px;
}

.image-pair {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 0.72fr;
  gap: 0;
  align-items: center;
  justify-items: center;
  min-height: 650px;
}

.image-pair.reverse {
  grid-template-columns: 0.78fr 0.92fr;
}

.section-phone {
  width: min(450px, 100%);
  max-height: 700px;
  object-fit: contain;
  filter: drop-shadow(0 44px 72px rgba(15, 23, 42, 0.18));
}

.secondary-phone {
  width: min(360px, 88%);
  transform: translateY(64px) translateX(-18px);
  opacity: 0.82;
}

.workflow {
  align-items: stretch;
  gap: 10px;
  margin-top: 34px;
}

.workflow-step {
  flex: 1;
  min-height: 110px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.workflow-step span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 820;
}

.workflow-step strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}

.ai-section {
  width: 100%;
  padding: 136px max(24px, calc((100vw - 1180px) / 2));
  background: #ffffff;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(64px, 7vw, 112px);
  align-items: center;
}

.ai-prompts {
  display: grid;
  gap: 12px;
}

.prompt-card {
  gap: 12px;
  min-height: 70px;
  padding: 0 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  box-shadow: none;
  font-weight: 750;
}

.prompt-card svg {
  color: var(--blue);
}

.ai-phone-wrap {
  display: grid;
  place-items: center;
  min-height: 720px;
}

.ai-phone {
  width: min(500px, 100%);
  filter: drop-shadow(0 38px 64px rgba(15, 23, 42, 0.16));
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.08);
}

.trust-card {
  min-height: 230px;
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.trust-card svg {
  margin-bottom: 28px;
  color: var(--blue);
}

.trust-card h3 {
  font-size: 19px;
}

.final-cta-section {
  padding-top: 92px;
  padding-bottom: 118px;
}

.final-cta {
  display: grid;
  justify-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 42px 20px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.final-cta h2 {
  max-width: 680px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.14;
  font-weight: 780;
}

.final-cta p {
  max-width: 610px;
  font-size: 16px;
}

.final-cta svg {
  color: var(--blue);
}

.final-cta .primary-button {
  margin-top: 26px;
}

.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 12, 28, 0.42);
  backdrop-filter: blur(16px);
  animation: fade-in 220ms ease both;
}

.waitlist-modal {
  position: relative;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(6, 12, 28, 0.28);
  animation: modal-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  color: var(--ink);
  background: #ffffff;
}

.waitlist-modal h2,
.success-state h2 {
  margin: 0;
  padding-right: 36px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.1;
}

.waitlist-modal p,
.success-state p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.waitlist-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  color: var(--ink);
  background: #ffffff;
  padding: 0 14px;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  outline: 3px solid rgba(32, 70, 197, 0.16);
  border-color: rgba(32, 70, 197, 0.46);
}

.waitlist-form input:disabled,
.waitlist-form select:disabled,
.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.waitlist-form [aria-invalid='true'] {
  border-color: rgba(239, 68, 68, 0.72);
}

.waitlist-form small {
  color: var(--red);
  font-size: 13px;
  font-weight: 650;
}

.form-error {
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 8px;
  padding: 12px 14px;
  color: #b42318;
  background: #fff5f5;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.success-state {
  display: grid;
  justify-items: start;
}

.success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
}

.success-state .primary-button {
  margin-top: 26px;
}

.product-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    display: none;
  }

  .hero-copy h1 {
    font-size: 64px;
  }

  .hero-headline {
    max-width: 660px;
    font-size: 26px;
  }

  .hero-product-stage {
    min-height: 620px;
  }

  .hero-phone {
    width: min(500px, 76vw);
  }

  .floating-metric {
    display: none;
  }

  .cinema-layout {
    grid-template-columns: 1fr;
  }

  .story-layout {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
    gap: 44px;
  }

  .feature-section {
    grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.1fr);
    gap: 42px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .rebalance-section {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.76fr);
  }

  .ai-layout {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
    gap: 42px;
  }

  .cinema-heading h2 {
    font-size: 42px;
  }

  .cinema-sticky {
    position: relative;
    top: auto;
    min-height: 650px;
  }

  .cinema-scenes {
    padding: 0 0 72px;
  }

  .cinema-scene {
    min-height: auto;
  }

  .rebalance-section .feature-copy {
    order: 2;
  }

  .feature-copy {
    max-width: 800px;
  }

  .sticky-showcase {
    position: sticky;
    top: 112px;
    min-height: 600px;
    order: 0;
  }

  .sticky-showcase img {
    width: min(330px, 100%);
  }

  .story-steps {
    padding-bottom: 0;
  }

  .story-step {
    min-height: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 28px);
    height: 64px;
    gap: 12px;
  }

  .brand-wordmark {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .locale-toggle {
    min-height: 38px;
    padding: 0 10px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-section,
  .section,
  .cinema-inner {
    width: calc(100% - 28px);
  }

  .hero-section {
    width: 100%;
    padding: 74px 14px 0;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-headline {
    margin-top: 22px;
    font-size: 20px;
    line-height: 1.22;
  }

  .hero-body,
  .section-heading p:not(.eyebrow),
  .feature-copy > p:not(.eyebrow),
  .final-cta p {
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-product-stage {
    min-height: 560px;
    margin: 12px auto -70px;
  }

  .hero-product-stage::before {
    inset: 64px 0 54px;
  }

  .hero-phone {
    width: min(360px, 92vw);
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .feature-copy h2,
  .final-cta h2,
  .cinema-heading h2 {
    font-size: 30px;
    line-height: 1.16;
  }

  .cinema-inner {
    padding: 72px 0 58px;
  }

  .cinema-heading {
    margin-bottom: 34px;
  }

  .cinema-heading p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.58;
  }

  .story-layout,
  .feature-section,
  .rebalance-section,
  .ai-layout,
  .cinema-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story-section,
  .risk-section,
  .rebalance-section,
  .ai-section {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .sticky-showcase {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .sticky-showcase img {
    width: min(360px, 88vw);
  }

  .rebalance-section .feature-copy {
    order: 0;
  }

  .cinema-sticky {
    min-height: 520px;
  }

  .cinema-device-field {
    min-height: 500px;
  }

  .cinema-phone-shell {
    width: min(310px, 76vw);
    transform: none;
  }

  .cinema-side-phone {
    width: 150px;
  }

  .cinema-glass-card {
    width: 180px;
    padding: 14px;
  }

  .top-card {
    top: 44px;
    right: 0;
  }

  .bottom-card {
    bottom: 44px;
    left: 0;
  }

  .cinema-scene {
    padding: 24px;
  }

  .cinema-scene h3 {
    font-size: 27px;
  }

  .story-step {
    padding: 24px;
  }

  .story-step h3 {
    font-size: 23px;
  }

  .metric-grid,
  .image-pair,
  .image-pair.reverse,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: auto;
  }

  .secondary-phone {
    transform: none;
  }

  .workflow {
    flex-direction: column;
  }

  .trust-card {
    min-height: auto;
  }

  .final-cta {
    padding: 34px 14px;
  }

  .final-cta h2 {
    font-size: 28px;
    line-height: 1.18;
  }

  .waitlist-modal {
    padding: 28px 20px;
  }

  .waitlist-modal h2,
  .success-state h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
