.hero-section {
  --hero-scroll-progress: 0;
}

.hero-phase1 {
  display: grid;
  gap: 16px;
  transform: translateY(calc(var(--hero-scroll-progress) * -22px)) scale(calc(1 - var(--hero-scroll-progress) * 0.02));
  opacity: calc(1 - var(--hero-scroll-progress) * 0.22);
  transform-origin: top center;
  transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out);
}

.hero-copy-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy-centered h1,
.hero-copy-centered p {
  margin-left: auto;
  margin-right: auto;
}

.hero-copy-centered h1 {
  max-width: 14ch;
}

.hero-copy-centered p {
  max-width: 62ch;
}

.hero-stack-stage {
  position: relative;
  border: 1px solid rgba(149, 191, 173, 0.36);
  border-radius: 28px;
  background:
    radial-gradient(120% 110% at 50% 0%, rgba(74, 222, 128, 0.13), transparent 68%),
    linear-gradient(180deg, rgba(8, 13, 12, 0.9), rgba(6, 10, 9, 0.84));
  box-shadow: var(--shadow-elevated);
  padding: 16px;
  overflow: hidden;
}

.hero-stack-stage::before {
  content: none;
}

.hero-stack-canvas {
  position: relative;
  z-index: 2;
  min-height: 560px;
  perspective: 1600px;
  transform-style: preserve-3d;
  transition: transform 200ms var(--ease-out);
}

.hero-shot {
  --shot-rotate: 0deg;
  --shot-depth: 0px;
  --shot-offset-y: 0px;
  position: absolute;
  inset: auto auto 0 auto;
  border-radius: 24px;
  border: 1px solid rgba(149, 191, 173, 0.36);
  background: linear-gradient(180deg, rgba(10, 16, 14, 0.97), rgba(7, 11, 10, 0.9));
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(196, 235, 216, 0.05) inset;
  overflow: hidden;
  transform: translate3d(0, var(--shot-offset-y), var(--shot-depth)) rotate(var(--shot-rotate));
  transform-origin: 50% 100%;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), opacity 280ms var(--ease-out), filter 280ms var(--ease-out);
  will-change: transform;
  cursor: pointer;
}

.hero-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shot-back {
  width: 89%;
  height: 432px;
  left: 0%;
  top: 94px;
  opacity: 0.68;
  filter: blur(1px) saturate(0.82);
  --shot-rotate: -8deg;
  --shot-depth: -56px;
  --shot-offset-y: 6px;
  z-index: 1;
}

.hero-shot-mid {
  width: 89%;
  height: 438px;
  left: 5.5%;
  top: 84px;
  opacity: 0.84;
  filter: saturate(0.9);
  --shot-rotate: -4deg;
  --shot-depth: -32px;
  --shot-offset-y: 3px;
  z-index: 2;
}

.hero-shot-front {
  width: 89%;
  height: 444px;
  left: 11%;
  top: 72px;
  opacity: 1;
  --shot-rotate: -1deg;
  --shot-depth: 12px;
  --shot-offset-y: 0px;
  z-index: 3;
}

.hero-shot:hover,
.hero-shot:focus-within {
  transform: translate3d(0, calc(var(--shot-offset-y) - 8px), calc(var(--shot-depth) + 24px)) rotate(var(--shot-rotate));
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.54),
    0 0 0 1px rgba(196, 235, 216, 0.18) inset,
    0 0 36px rgba(74, 222, 128, 0.16);
}

.hero-stack-stage.hero-stack-swap .hero-shot-back {
  animation: stageSwapLayer 340ms var(--ease-out) 80ms both;
}

.hero-stack-stage.hero-stack-swap .hero-shot-mid {
  animation: stageSwapLayer 380ms var(--ease-out) 40ms both;
}

.hero-stack-stage.hero-stack-swap .hero-shot-front {
  animation: stageSwapIn 420ms var(--ease-out);
}

.hero-stack-stage.hero-intro-play .hero-shot-back {
  animation: heroLayerIntroBack 860ms var(--ease-out) 90ms both;
}

.hero-stack-stage.hero-intro-play .hero-shot-mid {
  animation: heroLayerIntroMid 900ms var(--ease-out) 150ms both;
}

.hero-stack-stage.hero-intro-play .hero-shot-front {
  animation: heroLayerIntroFront 940ms var(--ease-out) 220ms both;
}

.hero-phase1.hero-intro-play .hero-copy-centered {
  animation: heroCopyIntro 560ms var(--ease-out) 10ms both;
}

.hero-stack-stage.hero-intro-complete .hero-shot {
  opacity: 1;
  filter: blur(0) saturate(1);
}

.hero-handoff-fade {
  margin-top: 14px;
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(7, 11, 10, 0), rgba(6, 10, 9, 0.78));
  opacity: calc(0.52 + var(--hero-scroll-progress) * 0.48);
  transition: opacity 240ms var(--ease-out);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 16px;
  align-items: stretch;
}

.hero-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(170deg, rgba(12, 21, 18, 0.76), rgba(8, 14, 12, 0.65));
  box-shadow: var(--shadow-panel);
  text-align: left;
}

.hero-copy .badge {
  margin-bottom: 10px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  max-width: 18ch;
  font-size: clamp(32px, 5.5vw, 62px);
}

.hero-copy p {
  margin: 0 0 18px;
  max-width: 54ch;
  color: #bdd5ca;
}

.hero-tabs-stage,
.hero-windows-stage {
  position: relative;
  border: 1px solid rgba(149, 191, 173, 0.38);
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(74, 222, 128, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(9, 16, 14, 0.88), rgba(7, 12, 11, 0.86));
  box-shadow: var(--shadow-elevated);
  padding: 14px;
  transform-style: preserve-3d;
  transition: transform 220ms var(--ease-out);
  overflow: hidden;
}

.hero-tabs-stage::before,
.hero-windows-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(153, 197, 179, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 197, 179, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-windows-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 520px;
}

.app-window-stack {
  position: relative;
  min-height: 460px;
  border-radius: 16px;
  perspective: 1200px;
}

.app-window {
  position: absolute;
  border: 1px solid rgba(149, 191, 173, 0.34);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(9, 15, 14, 0.92), rgba(7, 11, 10, 0.82));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.app-window-main {
  top: 16px;
  left: 11%;
  width: 78%;
  z-index: 3;
  padding: 12px;
  transform: translate3d(0, 0, 0);
}

.hero-windows-stage.hero-stage-swap .app-window-main {
  animation: stageSwapIn 420ms var(--ease-out);
}

.app-window-left {
  left: 0;
  top: 74px;
  width: 42%;
  min-height: 240px;
  z-index: 1;
  opacity: 0.78;
  transform: rotateY(18deg) rotateX(3deg) translateZ(-12px);
  animation: floatSoft 7.5s ease-in-out infinite;
}

.app-window-right {
  right: 0;
  top: 92px;
  width: 44%;
  min-height: 230px;
  z-index: 2;
  opacity: 0.82;
  transform: rotateY(-16deg) rotateX(3deg) translateZ(-10px);
  animation: floatSoft 8.2s ease-in-out infinite reverse;
}

.app-window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(149, 191, 173, 0.24);
  border-radius: 10px;
  background: rgba(7, 11, 10, 0.88);
  padding: 8px 10px;
  margin-bottom: 10px;
}

.app-window-bar strong {
  color: #d8f4e7;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-left: 4px;
}

.app-window-bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(195, 233, 215, 0.46);
}

.app-window-lines {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}

.app-window-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(149, 191, 173, 0.36), rgba(149, 191, 173, 0.1));
}

.app-window-lines span:nth-child(2) { width: 88%; }
.app-window-lines span:nth-child(3) { width: 76%; }
.app-window-lines span:nth-child(4) { width: 92%; }

.stage-head,
.stage-hero-copy,
.stage-metrics,
.stage-points {
  position: relative;
  z-index: 1;
}

.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.stage-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(8, 13, 12, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}

.stage-tabs::-webkit-scrollbar {
  display: none;
}

.stage-tab {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #a8c3b7;
  font: 600 12px/1 "Space Grotesk", sans-serif;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.stage-tab.active {
  color: var(--accent-ink);
  border-color: rgba(171, 237, 205, 0.76);
  background: linear-gradient(145deg, rgba(149, 247, 198, 0.95), rgba(74, 222, 128, 0.88));
  box-shadow: 0 6px 16px rgba(74, 222, 128, 0.3);
}

.stage-chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(9, 14, 13, 0.78);
  color: #c6ead8;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 10px;
  white-space: nowrap;
}

.stage-hero-copy {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 12, 11, 0.72);
  padding: 12px;
  margin-bottom: 10px;
}

.stage-hero-copy h3 {
  margin: 0 0 6px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(19px, 2.5vw, 30px);
  letter-spacing: -0.015em;
}

.stage-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.stage-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.stage-metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 13, 12, 0.72);
  padding: 10px;
}

.stage-metric span {
  display: block;
  color: #9cb8ac;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stage-metric strong {
  display: block;
  margin-top: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.stage-points {
  margin: 0;
  padding: 12px 12px 12px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 12, 11, 0.72);
  display: grid;
  gap: 6px;
}

.stage-points li {
  color: #c8e7d9;
  font-size: 13px;
}

.stats-grid-reveal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero195-shell {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 14, 13, 0.86), rgba(7, 11, 10, 0.78));
  box-shadow: var(--shadow-panel);
  padding: 14px;
}

.hero195-shell.hero195-swap .hero195-panel-main,
.hero195-shell.hero195-swap .hero195-panel-side {
  animation: stageSwapIn 420ms var(--ease-out);
}

.hero195-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hero195-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 13, 12, 0.72);
  color: #a8c8b9;
  font: 600 12px/1 "Space Grotesk", sans-serif;
  padding: 8px 12px;
  cursor: pointer;
}

.hero195-tab.active {
  color: var(--accent-ink);
  border-color: rgba(171, 237, 205, 0.76);
  background: linear-gradient(145deg, rgba(149, 247, 198, 0.95), rgba(74, 222, 128, 0.88));
}

.hero195-preview {
  position: relative;
  border: 1px solid rgba(149, 191, 173, 0.35);
  border-radius: 14px;
  overflow: hidden;
  min-height: 330px;
  background:
    radial-gradient(80% 95% at 78% -2%, rgba(74, 222, 128, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(7, 12, 10, 0.88), rgba(5, 9, 8, 0.8));
  padding: 14px;
}

.hero195-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hero195-chip,
.hero195-status {
  border: 1px solid rgba(149, 191, 173, 0.3);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bfe8d4;
  background: rgba(7, 11, 10, 0.72);
}

.hero195-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 10px;
  min-height: 270px;
}

.hero195-panel {
  border: 1px solid rgba(149, 191, 173, 0.26);
  border-radius: 12px;
  background: rgba(7, 11, 10, 0.64);
  padding: 12px;
}

.hero195-panel-main h3 {
  margin: 0 0 6px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.02em;
}

.hero195-panel-main p {
  margin: 0 0 10px;
  color: #bdd9cc;
}

.hero195-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero195-stats article {
  border: 1px solid rgba(149, 191, 173, 0.22);
  border-radius: 10px;
  background: rgba(7, 12, 11, 0.72);
  padding: 8px;
}

.hero195-stats span {
  display: block;
  color: #9bbcab;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero195-stats strong {
  display: block;
  margin-top: 5px;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.hero195-panel-side h4 {
  margin: 0 0 8px;
  font: 700 13px/1 "Outfit", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b2dfc8;
}

.hero195-panel-side ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 7px;
}

.hero195-panel-side li {
  color: #c6e5d7;
  font-size: 13px;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  padding: 14px;
  box-shadow: var(--shadow-panel);
}

.stat-card:hover {
  border-color: rgba(74, 222, 128, 0.56);
  animation: pulseGlow 1800ms ease-in-out infinite;
}

.stat-label {
  display: block;
  color: #a4c3b5;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-value {
  display: block;
  margin-top: 9px;
  font: 700 34px/1 "Outfit", sans-serif;
}

.stat-suffix {
  display: block;
  margin-top: 4px;
  color: #87b39f;
  font-size: 12px;
}

.kinetic-band {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(8, 14, 13, 0.68);
}

.kinetic-track {
  display: inline-flex;
  gap: 40px;
  padding: 14px 0;
  white-space: nowrap;
  min-width: 100%;
  animation: kineticSlide 22s linear infinite;
}

.kinetic-track span {
  font-family: "Outfit", sans-serif;
  font-size: clamp(30px, 5vw, 62px);
  letter-spacing: -0.04em;
  color: rgba(194, 238, 215, 0.82);
}

@keyframes kineticSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.how-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 12px;
}

.ribbon-scene {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 380px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 13, 12, 0.78), rgba(7, 11, 10, 0.66));
}

.ribbon {
  position: absolute;
  left: -14%;
  width: 130%;
  height: 120px;
  border-radius: 999px;
  filter: blur(8px);
  background: linear-gradient(90deg, rgba(74, 222, 128, 0), rgba(74, 222, 128, 0.33), rgba(74, 222, 128, 0));
}

.ribbon-1 {
  top: 20%;
  animation: waveDriftA 18s ease-in-out infinite;
}

.ribbon-2 {
  top: 43%;
  animation: waveDriftB 23s ease-in-out infinite;
}

.ribbon-3 {
  top: 66%;
  animation: waveDriftA 28s ease-in-out infinite reverse;
}

.device-mock {
  position: absolute;
  right: 8%;
  top: 16%;
  width: min(320px, 58%);
  border: 1px solid rgba(149, 191, 173, 0.45);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 16, 14, 0.92), rgba(7, 12, 11, 0.78));
  padding: 16px;
  box-shadow: var(--shadow-elevated);
}

.device-mock h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
}

.device-mock p {
  margin: 0;
  color: var(--muted);
}

.device-lines {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.device-lines span {
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.36), rgba(149, 191, 173, 0.08));
}

.how-steps {
  display: grid;
  gap: 10px;
}

.how-step {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 12, 0.76);
  padding: 14px;
  box-shadow: var(--shadow-panel);
}

.step-tag {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.26);
  background: rgba(74, 222, 128, 0.14);
  color: #90f2bc;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.how-step h3 {
  margin: 8px 0 4px;
  font-size: 19px;
  font-family: "Outfit", sans-serif;
}

.how-step p {
  margin: 0;
  color: #bfd8cc;
}

.feature-bento-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.feature9-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feature9-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 12, 0.76);
  box-shadow: var(--shadow-panel);
  padding: 16px;
}

.feature9-card h3 {
  margin: 0 0 6px;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
}

.feature9-card p {
  margin: 0;
  color: #c7e1d4;
}

.bento-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 12, 0.76);
  box-shadow: var(--shadow-panel);
  padding: 14px;
  grid-column: span 3;
}

.bento-wide {
  grid-column: span 6;
}

.bento-card h3 {
  margin: 0 0 6px;
  font-family: "Outfit", sans-serif;
  font-size: 21px;
}

.bento-card p {
  margin: 0;
  color: #bed8cb;
}

.bento-mock-lines {
  margin-top: 12px;
  height: 90px;
  border-radius: 12px;
  border: 1px solid rgba(149, 191, 173, 0.24);
  background:
    linear-gradient(180deg, rgba(74, 222, 128, 0.14), transparent 66%),
    repeating-linear-gradient(90deg, rgba(153, 197, 179, 0.18) 0 1px, transparent 1px 18px);
}

.bento-pills {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bento-pills span {
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 999px;
  padding: 6px 10px;
  color: #a6f1c9;
  font-size: 12px;
  background: rgba(74, 222, 128, 0.11);
}

.bento-bars {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}

.bento-bars span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.48), rgba(74, 222, 128, 0.06));
}

.timeline-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.timeline-list li {
  border: 1px solid rgba(149, 191, 173, 0.24);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(7, 12, 10, 0.68);
  color: #cee7db;
}

.floating-proof-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 300px;
}

.proof-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 50% at 50% 40%, rgba(74, 222, 128, 0.32), transparent 72%),
    radial-gradient(34% 34% at 26% 70%, rgba(74, 222, 128, 0.12), transparent 70%);
}

.proof-surface {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(9, 15, 13, 0.88), rgba(7, 11, 10, 0.78));
  box-shadow: var(--shadow-elevated);
  padding: 20px;
  max-width: 740px;
  margin: 0 auto;
  animation: floatSoft 5.5s ease-in-out infinite;
}

.proof-tag {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  padding: 5px 10px;
  color: #9ff2c6;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(74, 222, 128, 0.11);
}

.proof-surface h3 {
  margin: 10px 0 8px;
  font: 700 clamp(28px, 5vw, 46px)/1.06 "Outfit", sans-serif;
  letter-spacing: -0.03em;
}

.proof-surface p {
  margin: 0;
  color: #bdd8cb;
}

.proof-points {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.final-conversion-rail {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow-panel);
  padding: 24px;
  text-align: center;
}

.final-conversion-rail h2 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(24px, 4vw, 42px);
  letter-spacing: -0.024em;
}

.final-conversion-rail p {
  margin: 0 auto 16px;
  max-width: 680px;
  color: var(--muted);
}

.feature-comparison-demo {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 13, 12, 0.82), rgba(7, 12, 11, 0.76));
  box-shadow: var(--shadow-panel);
  padding: 14px;
}

.compare-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 10, 0.76);
  margin-bottom: 12px;
}

.compare-toggle button {
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #a6c4b6;
  font: 600 13px/1 "Space Grotesk", sans-serif;
  padding: 8px 14px;
  cursor: pointer;
}

.compare-toggle button.active {
  color: var(--accent-ink);
  border-color: rgba(171, 237, 205, 0.76);
  background: linear-gradient(145deg, rgba(149, 247, 198, 0.95), rgba(74, 222, 128, 0.88));
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(149, 191, 173, 0.26);
  border-radius: 14px;
}

.feature-compare-table {
  width: 100%;
  border-collapse: collapse;
}

.feature-compare-table th,
.feature-compare-table td {
  text-align: left;
  border-bottom: 1px solid rgba(149, 191, 173, 0.2);
  padding: 11px 10px;
  font-size: 13px;
}

.feature-compare-table th {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bad8cb;
  background: rgba(11, 19, 17, 0.86);
}

.feature-compare-table td {
  color: #d4ece2;
}

.feature-comparison-demo.plan-trial .feature-compare-table .col-trial,
.feature-comparison-demo.plan-trial .feature-compare-table td:nth-child(2),
.feature-comparison-demo.plan-pro .feature-compare-table .col-pro,
.feature-comparison-demo.plan-pro .feature-compare-table td:nth-child(3) {
  color: #f0fff8;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.2), rgba(74, 222, 128, 0.06));
}

.compare-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 12px;
}

.feature-comparison-slider {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 13, 12, 0.86), rgba(7, 12, 11, 0.8));
  box-shadow: var(--shadow-panel);
  padding: 14px;
}

.compare-toggle-slider {
  margin-bottom: 12px;
}

.compare-toggle-slider button {
  min-width: 112px;
}

.comparison-stage {
  position: relative;
  min-height: 358px;
  border: 1px solid rgba(149, 191, 173, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(8, 13, 12, 0.65);
}

.comparison-pane {
  position: absolute;
  inset: 0;
  padding: 14px;
}

.comparison-pane header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.comparison-pane header strong {
  font-family: "Outfit", sans-serif;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.comparison-pane header span {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-pane ul,
.comparison-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.comparison-pane li,
.comparison-bullets li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid rgba(149, 191, 173, 0.22);
  border-radius: 10px;
  background: rgba(7, 11, 10, 0.7);
  color: #e5f7ef;
  font-size: 13px;
}

.comparison-pane li strong,
.comparison-bullets li strong {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
}

.comparison-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.comparison-price span {
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: #f2fff8;
}

.comparison-price small {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9dc8b3;
}

.comparison-pane-trial {
  clip-path: polygon(0 0, var(--split, 52%) 0, var(--split, 52%) 100%, 0 100%);
  background: linear-gradient(90deg, rgba(29, 60, 48, 0.48), rgba(11, 20, 17, 0.24));
}

.comparison-pane-trial header span {
  color: #95d9b8;
}

.comparison-pane-pro {
  clip-path: polygon(var(--split, 52%) 0, 100% 0, 100% 100%, var(--split, 52%) 100%);
  background: linear-gradient(90deg, rgba(13, 26, 22, 0.3), rgba(74, 222, 128, 0.22));
}

.comparison-pane-pro header span {
  color: #c8f7df;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 52%);
  width: 2px;
  background: linear-gradient(180deg, rgba(148, 246, 198, 0.84), rgba(74, 222, 128, 0.5));
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.4);
  pointer-events: none;
}

.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(5, 36, 23, 0.88);
  background: linear-gradient(145deg, rgba(149, 247, 198, 0.98), rgba(74, 222, 128, 0.9));
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.5);
}

.comparison-range-label {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 7px;
  color: #a9cbbd;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.comparison-range {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.26), rgba(149, 191, 173, 0.26));
  outline: none;
}

.comparison-range::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(5, 36, 23, 0.8);
  background: linear-gradient(145deg, rgba(149, 247, 198, 0.98), rgba(74, 222, 128, 0.9));
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.46);
  cursor: ew-resize;
}

.comparison-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(5, 36, 23, 0.8);
  background: linear-gradient(145deg, rgba(149, 247, 198, 0.98), rgba(74, 222, 128, 0.9));
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.46);
  cursor: ew-resize;
}

.comparison-visual {
  display: grid;
  gap: 8px;
  margin-bottom: 9px;
}

.comparison-window {
  border: 1px solid rgba(149, 191, 173, 0.25);
  border-radius: 10px;
  background: rgba(7, 11, 10, 0.74);
  padding: 9px;
}

.comparison-window header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  margin-bottom: 8px;
}

.comparison-window header strong {
  margin-left: 5px;
  font: 600 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ccecdc;
}

.comparison-window header span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(194, 233, 215, 0.48);
}

.comparison-bars {
  display: grid;
  gap: 6px;
}

.comparison-bars span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(149, 191, 173, 0.34), rgba(149, 191, 173, 0.1));
}

.comparison-bars span:nth-child(2) { width: 86%; }
.comparison-bars span:nth-child(3) { width: 72%; }
.comparison-bars span:nth-child(4) { width: 92%; }

.comparison-window-fade .comparison-metric,
.comparison-window-accent .comparison-metric {
  border: 1px solid rgba(149, 191, 173, 0.3);
  border-radius: 9px;
  padding: 10px;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.comparison-window-fade .comparison-metric {
  background: linear-gradient(145deg, rgba(149, 191, 173, 0.14), rgba(149, 191, 173, 0.04));
  color: #d8f0e4;
}

.comparison-window-accent .comparison-metric {
  border-color: rgba(74, 222, 128, 0.5);
  background: linear-gradient(145deg, rgba(74, 222, 128, 0.24), rgba(74, 222, 128, 0.08));
  color: #edfff6;
}

.about3-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 10px;
}

.about3-main,
.about3-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 12, 0.78);
  box-shadow: var(--shadow-panel);
}

.about3-main img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.about3-main-visual {
  min-height: 340px;
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(84% 74% at 88% 12%, rgba(74, 222, 128, 0.18), transparent 74%),
    linear-gradient(160deg, rgba(9, 16, 14, 0.98), rgba(6, 10, 9, 0.9));
  display: grid;
  gap: 10px;
}

.about3-main-window {
  border: 1px solid rgba(149, 191, 173, 0.3);
  border-radius: 12px;
  background: rgba(7, 11, 10, 0.72);
  padding: 10px;
}

.about3-main-window header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 9px;
}

.about3-main-window header strong {
  margin-left: 5px;
  font: 700 11px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #cbebdc;
}

.about3-main-window header span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(194, 233, 215, 0.52);
}

.about3-main-bars,
.about3-main-list {
  display: grid;
  gap: 7px;
}

.about3-main-bars span,
.about3-main-list span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(149, 191, 173, 0.42), rgba(149, 191, 173, 0.12));
}

.about3-main-bars span:nth-child(2) { width: 86%; }
.about3-main-bars span:nth-child(3) { width: 68%; }
.about3-main-bars span:nth-child(4) { width: 92%; }

.about3-main-list span:nth-child(2) { width: 74%; }
.about3-main-list span:nth-child(3) { width: 88%; }

.about3-main-window-secondary {
  align-self: start;
}

@keyframes stageSwapIn {
  0% { opacity: 0.42; filter: blur(6px); transform: translateY(8px); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@keyframes stageSwapLayer {
  0% { opacity: 0.45; filter: blur(6px) saturate(0.9); }
  100% { opacity: 1; filter: blur(0) saturate(1); }
}

@keyframes heroTabIntro {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroCopyIntro {
  0% {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes heroLayerIntroBack {
  0% {
    opacity: 0;
    filter: blur(10px) saturate(0.64);
    transform: translate3d(0, 34px, -74px) rotate(-9deg) scale(0.96);
  }
  100% {
    opacity: 0.68;
    filter: blur(1px) saturate(0.82);
    transform: translate3d(0, 6px, -56px) rotate(-8deg) scale(1);
  }
}

@keyframes heroLayerIntroMid {
  0% {
    opacity: 0;
    filter: blur(8px) saturate(0.72);
    transform: translate3d(0, 38px, -56px) rotate(-5deg) scale(0.96);
  }
  100% {
    opacity: 0.84;
    filter: blur(0) saturate(0.9);
    transform: translate3d(0, 3px, -32px) rotate(-4deg) scale(1);
  }
}

@keyframes heroLayerIntroFront {
  0% {
    opacity: 0;
    filter: blur(8px) saturate(0.76);
    transform: translate3d(0, 44px, -24px) rotate(-2deg) scale(0.96);
  }
  100% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform: translate3d(0, 0, 12px) rotate(-1deg) scale(1);
  }
}

.about3-card {
  padding: 16px;
}

.about3-card h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.about3-card p {
  margin: 0 0 12px;
  color: #c8e4d7;
}

.changelog-list {
  display: grid;
  gap: 10px;
}

.changelog-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 12, 0.76);
  box-shadow: var(--shadow-panel);
  padding: 14px;
}

.changelog-item h3 {
  margin: 8px 0 6px;
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.changelog-item p {
  margin: 0;
  color: #bfd8cc;
}

.sticky-progress-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.sticky-progress-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  text-decoration: none;
  padding: 0;
  background: rgba(162, 190, 175, 0.5);
  transition: background 260ms var(--ease-out), transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}

.sticky-progress-nav a:hover {
  background: rgba(212, 245, 230, 0.9);
  transform: scale(1.5);
  box-shadow: 0 0 6px rgba(149, 231, 194, 0.4);
}

.sticky-progress-nav a.active {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  transform: scale(1.35);
}

.sticky-progress-nav a.active:hover {
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.65);
  transform: scale(1.6);
}

.sticky-progress-nav a span {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  font: 600 10px/1 "Space Grotesk", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(220, 244, 233, 0.92);
  background: rgba(6, 11, 10, 0.92);
  border: 1px solid rgba(149, 231, 194, 0.2);
  border-radius: 6px;
  padding: 5px 8px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateX(4px);
  pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.sticky-progress-nav a:hover span {
  opacity: 1;
  transform: translateX(0);
}

.sticky-progress-nav a::before {
  display: none;
}

/* Shared body-content styles for public pages */
.content-grid,
.pricing-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.content-row {
  display: grid;
  gap: 12px;
}

.content-card,
.price-card,
.step-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 14, 13, 0.68);
  padding: 16px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.content-card h2,
.content-card h3,
.price-card h2,
.price-card h3 {
  margin: 0 0 8px;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.content-card p,
.price-card p,
.step-card p {
  margin: 0;
  color: #c7e1d5;
}

.check-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.check-list li {
  position: relative;
  padding-left: 18px;
  color: #d4ece2;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.step-num {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.26);
  background: rgba(74, 222, 128, 0.14);
  color: #90f2bc;
  font-size: 12px;
  padding: 4px 8px;
  margin-bottom: 10px;
}

.price-card.pop {
  border-color: rgba(74, 222, 128, 0.46);
}

.plan {
  margin-bottom: 6px;
  font: 700 20px/1 "Outfit", sans-serif;
}

.amount {
  margin: 6px 0 2px;
  font: 800 36px/1 "Outfit", sans-serif;
}

.small {
  font-size: 12px;
  color: var(--muted);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(149, 191, 173, 0.25);
  border-radius: 12px;
  overflow: hidden;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid rgba(149, 191, 173, 0.2);
  padding: 11px 10px;
  text-align: left;
  font-size: 13px;
}

.compare-table th {
  font-size: 12px;
  color: #b9d8cc;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(11, 19, 17, 0.86);
}

.yes {
  color: #93f5c3;
  font-weight: 700;
}

.no {
  color: #fca5a5;
  font-weight: 700;
}

.maybe {
  color: #fcd34d;
  font-weight: 700;
}

.sd-controls {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(140px, 1fr) minmax(120px, 0.8fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 12px;
}

.sd-input {
  width: 100%;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(149, 191, 173, 0.32);
  background: #091311;
  color: var(--text);
  font: 500 14px/1.2 "Space Grotesk", sans-serif;
}

.sd-results {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.sd-card {
  border: 1px solid rgba(149, 191, 173, 0.24);
  border-radius: 14px;
  padding: 14px;
  background: rgba(8, 14, 13, 0.72);
  display: grid;
  gap: 10px;
}

.sd-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sd-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(149, 191, 173, 0.3);
  background: rgba(5, 9, 8, 0.8);
  object-fit: contain;
  padding: 3px;
}

.sd-name {
  font: 700 20px/1.1 "Outfit", sans-serif;
}

.sd-meta {
  color: var(--muted);
  font-size: 13px;
}

.sd-chip-wrap {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.sd-chip {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.28);
  color: #b8f3d6;
}

.sd-coaches {
  display: grid;
  gap: 7px;
}

.sd-coach {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 7px 9px;
  border-radius: 9px;
  border: 1px solid rgba(149, 191, 173, 0.2);
  background: rgba(10, 16, 15, 0.64);
}

.sd-coach-name {
  font-size: 13px;
  font-weight: 700;
  color: #e8f7ef;
}

.sd-coach-role {
  font-size: 11px;
  color: #a9c9bb;
}

.sd-coach-email {
  font-size: 12px;
  color: #b7dfcf;
}

.sd-empty {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.sd-error {
  margin-top: 10px;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.42);
  background: rgba(248, 113, 113, 0.09);
  color: #fecaca;
  font-size: 13px;
}

.faq-stack {
  display: grid;
  gap: 10px;
}

.faq-stack details {
  border: 1px solid rgba(149, 191, 173, 0.28);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(10, 16, 15, 0.72);
}

.faq-stack summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-stack p {
  margin-top: 8px;
  color: #d4ece2;
  font-size: 14px;
}

.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 7, 6, 0.74);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-card {
  width: min(560px, 95vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)), rgba(10, 16, 15, 0.95);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  padding: 18px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.modal-head h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.close-btn {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: #c5e5d8;
  cursor: pointer;
  padding: 7px 10px;
}

.modal-sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.err {
  display: none;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.44);
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  font-size: 13px;
  padding: 9px 10px;
}

.err.show {
  display: block;
}

.fg {
  margin-bottom: 10px;
}

.fg label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #b8d4c8;
}

.fg input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(149, 191, 173, 0.3);
  background: #091311;
  color: var(--text);
  font: 500 14px/1.25 "Space Grotesk", sans-serif;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.modal-note {
  margin-top: 10px;
  color: #89ac9f;
  font-size: 12px;
}

.modal-consent {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #a9c8bc;
  font-size: 12px;
}

.modal-consent input[type="checkbox"] {
  margin-top: 3px;
}

.modal-consent a {
  color: #c8ead9;
  text-decoration: none;
}

.modal-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  .hero-phase1 {
    gap: 12px;
  }

  .hero-stack-canvas {
    min-height: 470px;
  }

  .hero-shot-back {
    width: 90%;
    height: 360px;
    top: 86px;
    left: 0;
  }

  .hero-shot-mid {
    width: 90%;
    height: 366px;
    top: 76px;
    left: 5%;
  }

  .hero-shot-front {
    width: 90%;
    height: 374px;
    top: 66px;
    left: 10%;
  }

  .hero-content,
  .how-scene {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 1;
  }

  .hero-tabs-stage,
  .hero-windows-stage {
    order: 2;
  }

  .hero-windows-stage {
    min-height: auto;
  }

  .app-window-stack {
    min-height: 520px;
  }

  .app-window-main {
    left: 6%;
    width: 88%;
  }

  .app-window-left,
  .app-window-right {
    width: 52%;
    opacity: 0.68;
  }

  .app-window-right {
    top: 120px;
  }

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

  .feature9-grid,
  .about3-grid {
    grid-template-columns: 1fr;
  }

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

  .bento-card,
  .bento-wide {
    grid-column: span 2;
  }

  .sticky-progress-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-copy-centered {
    padding: 18px;
  }

  .hero-stack-stage {
    padding: 12px;
    border-radius: 18px;
  }

  .hero-stack-canvas {
    min-height: 330px;
  }

  .hero-shot-back {
    width: 94%;
    height: 248px;
    top: 56px;
    left: 0;
  }

  .hero-shot-mid {
    width: 94%;
    height: 254px;
    top: 52px;
    left: 3%;
  }

  .hero-shot-front {
    width: 94%;
    height: 260px;
    left: 6%;
    top: 48px;
  }

  .stage-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .stage-tabs {
    width: 100%;
  }

  .app-window-stack {
    min-height: 560px;
  }

  .app-window-main {
    left: 2%;
    width: 96%;
    top: 20px;
  }

  .app-window-left,
  .app-window-right {
    display: none;
  }

  .comparison-pane li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .comparison-pane header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .comparison-stage {
    min-height: 420px;
  }

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

  .hero195-stats {
    grid-template-columns: 1fr;
  }

  .stats-grid-reveal {
    grid-template-columns: 1fr;
  }

  .feature-bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-wide {
    grid-column: span 1;
  }

  .cols,
  .sd-controls {
    grid-template-columns: 1fr;
  }

  .compare-cta-row {
    justify-content: flex-start;
  }
}

/* ─────────────────────────────────────────────────────────────
   Navigation: Login button always visible + Legal dropdown
   ───────────────────────────────────────────────────────────── */

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.btn-login {
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.btn-login:hover {
  background: var(--surface-elevated);
  border-color: var(--accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font: inherit;
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-arrow {
  font-size: 0.75em;
  transition: transform 0.2s;
}

.nav-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background: var(--surface-hover);
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

/* Mobile: login button stays visible */
@media (max-width: 768px) {
  .nav-right {
    order: 2;
  }

  .menu-toggle {
    order: 1;
  }

  .btn-login {
    order: 2;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
  }

}

/* Back to home button */
.back-home-btn {
  position: fixed;
  top: 80px;
  left: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 50;
  transition: background 0.2s, color 0.2s;
}

.back-home-btn:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}

.back-arrow {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .back-home-btn {
    top: auto;
    bottom: 1rem;
    left: 1rem;
  }
}
