:root {
  --bg: #ffffff;
  --ink: #111315;
  --muted: #5f6670;
  --soft: #eef2f6;
  --line: rgba(17, 19, 21, 0.12);
  --line-strong: rgba(17, 19, 21, 0.2);
  --accent: #0877ff;
  --accent-dark: #0059c8;
  --accent-soft: #eaf3ff;
  --stage: #0f1722;
  --green: #28c174;
  --orange: #ff8a3d;
  --shadow: 0 24px 70px rgba(15, 23, 34, 0.16);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-height);
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(17, 19, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-glyph {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, #ffffff 0 44%, transparent 45%),
    linear-gradient(135deg, var(--accent), #00b6ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease;
}

.header-cta:hover {
  background: var(--accent-soft);
  border-color: rgba(8, 119, 255, 0.34);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 0.83fr) minmax(460px, 1.17fr);
  align-items: center;
  gap: clamp(28px, 4vw, 78px);
  padding: calc(var(--header-height) + 52px) clamp(20px, 4vw, 64px) 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(8, 119, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 54%, #ffffff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.98));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  animation: rise-in 680ms ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 10ch;
  font-size: clamp(3.8rem, 7vw, 6.8rem);
  font-weight: 820;
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--accent);
}

.legal-page {
  padding: calc(var(--header-height) + 64px) clamp(20px, 5vw, 76px) clamp(72px, 10vw, 128px);
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 320px),
    #ffffff;
}

.legal-document {
  max-width: 860px;
}

.legal-document h1 {
  max-width: 11ch;
  margin-bottom: 16px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-document h2 {
  margin: 48px 0 14px;
  max-width: none;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.08;
}

.legal-document p {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.legal-document .legal-updated {
  margin-bottom: 34px;
  color: #343a42;
  font-weight: 720;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 34px;
  color: #3f4650;
  font-size: clamp(1.1rem, 1.7vw, 1.42rem);
  font-weight: 620;
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 16px 34px rgba(8, 119, 255, 0.22);
}

.button-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-strong);
}

.hero-stage {
  position: relative;
  z-index: 1;
  animation: stage-in 840ms 120ms cubic-bezier(0.2, 0.84, 0.23, 1) both;
}

.stage-shell {
  min-height: 570px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 32%),
    var(--stage);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(3deg);
  transform-origin: center;
}

.stage-topbar {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 680;
}

.stage-topbar p {
  margin: 0;
}

.stage-topbar strong {
  color: #ffffff;
}

.window-controls {
  display: flex;
  gap: 7px;
}

.window-controls span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.window-controls span:nth-child(1) {
  background: #ff6961;
}

.window-controls span:nth-child(2) {
  background: #ffbd4a;
}

.window-controls span:nth-child(3) {
  background: #5bd66f;
}

.stage-body {
  display: grid;
  grid-template-columns: 70px minmax(280px, 1fr) minmax(230px, 0.72fr);
  gap: 18px;
  min-height: 516px;
  padding: 18px;
}

.slide-rail {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.rail-item {
  display: block;
  height: 52px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rail-item.active {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(8, 119, 255, 0.85);
}

.slide-screen {
  position: relative;
  min-height: 472px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.95), rgba(234, 243, 255, 0.88)),
    #ffffff;
  color: var(--ink);
}

.slide-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(8, 119, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 119, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, black, transparent);
}

.slide-title {
  position: relative;
  z-index: 1;
  padding: 42px;
}

.slide-title span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slide-title strong {
  display: block;
  max-width: 8ch;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.chart-bars {
  position: absolute;
  inset: auto 42px 46px;
  display: flex;
  align-items: end;
  gap: 16px;
  height: 210px;
}

.chart-bars span {
  flex: 1;
  min-width: 28px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #0877ff, #74c4ff);
  animation: bar-pulse 2.8s ease-in-out infinite;
}

.chart-bars span:nth-child(2) {
  animation-delay: 160ms;
}

.chart-bars span:nth-child(3) {
  animation-delay: 320ms;
}

.chart-bars span:nth-child(4) {
  animation-delay: 480ms;
}

.chart-bars span:nth-child(5) {
  animation-delay: 640ms;
}

.voice-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 472px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-label {
  margin: 0;
  color: #83c4ff;
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question {
  margin: 22px 0;
  font-size: clamp(1.3rem, 2vw, 1.86rem);
  font-weight: 780;
  line-height: 1.06;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 74px;
}

.waveform span {
  width: 10px;
  border-radius: 999px;
  background: #83c4ff;
  animation: wave 1.2s ease-in-out infinite;
}

.waveform span:nth-child(1) {
  height: 26px;
}

.waveform span:nth-child(2) {
  height: 58px;
  animation-delay: 90ms;
}

.waveform span:nth-child(3) {
  height: 38px;
  animation-delay: 180ms;
}

.waveform span:nth-child(4) {
  height: 68px;
  animation-delay: 270ms;
}

.waveform span:nth-child(5) {
  height: 31px;
  animation-delay: 360ms;
}

.waveform span:nth-child(6) {
  height: 49px;
  animation-delay: 450ms;
}

.answer {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  font-weight: 620;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: #ffffff;
}

.proof-strip p {
  margin: 0;
  padding: 20px;
  text-align: center;
  color: #343a42;
  font-size: 0.9rem;
  font-weight: 760;
  border-right: 1px solid var(--line);
}

.proof-strip p:last-child {
  border-right: 0;
}

.section {
  padding: clamp(72px, 10vw, 138px) clamp(20px, 5vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(200px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(24px, 6vw, 92px);
  align-items: start;
  margin-bottom: clamp(34px, 5vw, 72px);
}

h2 {
  margin-bottom: 0;
  max-width: 900px;
  font-size: clamp(2.4rem, 5vw, 5.7rem);
  font-weight: 820;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 780;
  line-height: 1.08;
}

.workflow-section {
  background: #ffffff;
}

.workflow-list {
  border-top: 1px solid var(--line);
}

.workflow-row {
  display: grid;
  grid-template-columns: 86px minmax(180px, 0.55fr) minmax(280px, 1fr);
  gap: clamp(18px, 4vw, 64px);
  align-items: center;
  min-height: 138px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 220ms ease, border-color 220ms ease;
}

.workflow-row:hover {
  transform: translateX(8px);
  border-color: rgba(8, 119, 255, 0.38);
}

.workflow-row p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.step-index {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
}

.interruption-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
  background: #f5f8fb;
}

.interruption-visual {
  position: relative;
  min-height: 520px;
  border-radius: 0;
}

.detour-map {
  position: absolute;
  inset: 36px 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(74px, 9vw, 118px);
  height: clamp(74px, 9vw, 118px);
  color: #ffffff;
  border-radius: 50%;
  background: var(--stage);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 820;
  box-shadow: 0 18px 40px rgba(15, 23, 34, 0.16);
}

.node-target {
  background: var(--accent);
  animation: pulse-node 2.4s ease-in-out infinite;
}

.node-return {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.line {
  flex: 1;
  min-width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--stage), var(--accent));
}

.line.return {
  background: linear-gradient(90deg, var(--accent), var(--line-strong));
}

.moment-capture {
  position: absolute;
  right: 0;
  bottom: 48px;
  width: min(430px, 78%);
  padding: 28px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.moment-capture p {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.moment-capture strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  line-height: 1;
}

.moment-capture span,
.interruption-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.interruption-copy p:last-child {
  max-width: 640px;
  margin-top: 26px;
}

.detail-section {
  background: #ffffff;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-grid article {
  min-height: 270px;
  padding: clamp(24px, 4vw, 44px);
  background: #ffffff;
}

.detail-grid p {
  color: var(--muted);
  font-size: 1.02rem;
}

.final-cta {
  min-height: 72svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: clamp(72px, 10vw, 138px) clamp(20px, 5vw, 76px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(8, 119, 255, 0.86), rgba(15, 23, 34, 0.96)),
    var(--stage);
}

.final-cta .eyebrow {
  color: #a8d8ff;
  margin: 0;
}

.final-cta h2 {
  max-width: 920px;
  color: #ffffff;
}

.final-cta .button-primary {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--accent-dark);
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 76px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 22px;
}

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

@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateX(56px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.62);
    opacity: 0.58;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes bar-pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scaleY(0.96);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes pulse-node {
  0%,
  100% {
    box-shadow: 0 18px 40px rgba(8, 119, 255, 0.22);
  }
  50% {
    box-shadow: 0 20px 54px rgba(8, 119, 255, 0.38);
  }
}

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

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 42px);
  }

  h1 {
    max-width: 12ch;
  }

  .stage-shell {
    min-height: auto;
    transform: none;
  }

  .stage-body {
    grid-template-columns: 58px 1fr;
  }

  .voice-panel {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .section-heading,
  .interruption-section {
    grid-template-columns: 1fr;
  }

  .interruption-visual {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .brand-mark {
    font-size: 1.05rem;
  }

  .hero {
    min-height: auto;
    padding-inline: 18px;
    padding-bottom: 38px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .stage-topbar {
    grid-template-columns: 62px 1fr auto;
    gap: 8px;
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .stage-body {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .slide-rail {
    flex-direction: row;
  }

  .rail-item {
    flex: 1;
    height: 34px;
  }

  .slide-screen {
    min-height: 360px;
  }

  .slide-title {
    padding: 28px;
  }

  .chart-bars {
    inset: auto 24px 34px;
    height: 150px;
    gap: 10px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip p:nth-child(2) {
    border-right: 0;
  }

  .workflow-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 26px 0;
  }

  .workflow-row:hover {
    transform: none;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-grid article {
    min-height: auto;
  }

  .detour-map {
    gap: 10px;
  }

  .moment-capture {
    width: 100%;
    bottom: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .header-cta {
    min-height: 34px;
    padding-inline: 12px;
  }

  .hero-lede,
  .workflow-row p,
  .moment-capture span,
  .interruption-copy p {
    font-size: 1rem;
  }

  .node {
    width: 62px;
    height: 62px;
  }
}
