@font-face {
  font-family: "Vazirmatn";
  src: url("assets/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #061724;
  --navy-2: #0a2331;
  --ink: #0f2934;
  --teal: #17aeb8;
  --cyan: #62e7eb;
  --orange: #fe962f;
  --cream: #f7f4ef;
  --muted: #aec3cb;
  --glass: rgba(11, 34, 47, 0.68);
  --line: rgba(148, 235, 239, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  color: #fff;
  background: var(--navy);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-feature-settings: "ss01", "ss02";
  overflow-x: hidden;
}

body.is-animating {
  scroll-behavior: auto;
}

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

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 clamp(20px, 5vw, 80px);
  background: linear-gradient(180deg, rgba(2, 14, 24, 0.82), rgba(2, 14, 24, 0));
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

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

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(21, 174, 184, 0.22));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.text-link,
.header-cta,
.primary-action,
.ghost-action,
.closing-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 750;
  transition: transform 180ms var(--ease-out), background-color 180ms ease, color 180ms ease;
}

.text-link {
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.75);
}

.header-cta {
  padding: 0 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.header-cta:hover,
.primary-action:hover,
.closing-button:hover {
  transform: translateY(-2px);
}

.story,
.story-stage {
  position: relative;
}

.story-stage {
  width: 100%;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #061724;
}

.scene-media,
.scene,
.scene-wash,
.scene-vignette,
.scene-grain,
.flow-field,
.ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scene-media {
  z-index: -5;
}

.scene {
  object-fit: cover;
  object-position: center 54%;
  will-change: transform, opacity;
}

.scene-order,
.scene-calm {
  opacity: 0;
  visibility: hidden;
}

.scene-wash {
  background:
    radial-gradient(circle at 55% 44%, rgba(4, 31, 45, 0.12) 0, rgba(4, 24, 36, 0.72) 56%, rgba(2, 13, 22, 0.93) 100%),
    linear-gradient(90deg, rgba(4, 19, 29, 0.25), rgba(4, 19, 29, 0.54));
}

.scene-vignette {
  box-shadow: inset 0 0 180px 30px rgba(1, 10, 17, 0.64);
}

.scene-grain {
  opacity: 0.13;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.flow-field {
  z-index: -2;
  pointer-events: none;
  filter: url(#softGlow);
  opacity: 0;
}

.flow-path {
  fill: none;
  stroke: url(#flowGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 10 18;
  vector-effect: non-scaling-stroke;
}

.ambient {
  z-index: -1;
  width: 36vw;
  height: 36vw;
  max-width: 620px;
  max-height: 620px;
  margin: auto;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}

.ambient-a {
  translate: -18vw -10vh;
  background: rgba(27, 208, 217, 0.5);
}

.ambient-b {
  translate: 24vw 22vh;
  background: rgba(254, 150, 47, 0.25);
}

.story-copy {
  position: absolute;
  z-index: 20;
  inset: 0;
  pointer-events: none;
}

.beat {
  position: absolute;
  top: clamp(170px, 27vh, 270px);
  right: clamp(28px, 7vw, 108px);
  width: min(560px, 42vw);
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.beat.is-active {
  visibility: visible;
  opacity: 1;
}

.chapter-tag,
.section-index,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #91f0f2;
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.chapter-tag::before,
.section-index::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.beat h1,
.beat h2 {
  max-width: 12ch;
  margin: 18px 0 20px;
  font-size: clamp(2.6rem, 5.4vw, 6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
}

.beat h2 {
  font-size: clamp(2.2rem, 4.5vw, 5.2rem);
}

.beat p {
  max-width: 43ch;
  margin: 0;
  color: rgba(236, 248, 250, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.95;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  pointer-events: auto;
}

.primary-action,
.ghost-action {
  min-height: 54px;
  padding: 0 22px;
}

.primary-action {
  color: #09202b;
  background: linear-gradient(135deg, #7ce9ec, #fff 56%, #ffc57f);
  box-shadow: 0 14px 34px rgba(45, 209, 217, 0.2);
}

.ghost-action {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e9f5f6;
  background: rgba(4, 25, 37, 0.45);
  backdrop-filter: blur(14px);
}

.beat-final .primary-action {
  margin-top: 28px;
  pointer-events: auto;
}

.beat-final {
  top: 15vh;
  width: min(480px, 34vw);
}

.noba-stage {
  position: absolute;
  z-index: 12;
  bottom: -8vh;
  left: 15vw;
  width: clamp(300px, 32vw, 560px);
  aspect-ratio: 1145 / 1374;
  margin: 0;
  will-change: transform, opacity;
  transform-origin: 50% 100%;
}

.noba-stage > img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 35px 42px rgba(0, 0, 0, 0.44));
}

.noba-halo {
  position: absolute;
  z-index: 0;
  top: 25%;
  right: 19%;
  left: 19%;
  width: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 228, 234, 0.3), rgba(76, 228, 234, 0));
  filter: blur(14px);
}

.noba-platform {
  position: absolute;
  z-index: 1;
  right: 14%;
  bottom: 4%;
  left: 14%;
  width: auto;
  height: 16%;
  border: 1px solid rgba(103, 235, 240, 0.42);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(81, 225, 231, 0.2), rgba(81, 225, 231, 0) 68%);
  box-shadow: 0 0 34px rgba(63, 220, 226, 0.2), inset 0 0 26px rgba(255, 255, 255, 0.06);
  transform: perspective(240px) rotateX(66deg);
  transform-origin: center;
  will-change: transform, opacity;
}

.noba-platform i {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(254, 150, 47, 0.32);
  border-radius: inherit;
}

.noba-platform i:nth-child(2) { inset: 26%; border-color: rgba(103, 235, 240, 0.4); }
.noba-platform i:nth-child(3) { inset: 41%; border-color: rgba(255, 255, 255, 0.34); }

.noba-caption {
  position: absolute;
  z-index: 3;
  right: 50%;
  bottom: 8%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(3, 21, 31, 0.7);
  backdrop-filter: blur(12px);
  translate: 50% 0;
  font-size: 0.76rem;
}

.noba-caption i,
.live-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.noba-caption i {
  content: "";
}

.orbit {
  position: absolute;
  z-index: 6;
  bottom: 7vh;
  left: 1vw;
  width: min(50vw, 740px);
  aspect-ratio: 1;
  will-change: transform, opacity;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(101, 229, 235, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 30px rgba(64, 224, 231, 0.04);
}

.orbit-ring-b {
  inset: 24%;
  border-style: dashed;
}

.signal {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: rgba(235, 250, 251, 0.78);
  background: rgba(6, 28, 41, 0.76);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  font-size: 0.72rem;
  will-change: transform, opacity;
}

.signal b {
  color: #fff;
  font-size: 0.85rem;
}

.signal-call { top: 8%; left: 5%; rotate: -7deg; }
.signal-message { top: 17%; right: 0; rotate: 6deg; }
.signal-cancel { bottom: 24%; left: 0; rotate: 4deg; }
.signal-pay { right: 3%; bottom: 13%; rotate: -5deg; }

.story-debris {
  position: absolute;
  z-index: 7;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.debris-paper,
.debris-card,
.debris-ticket,
.debris-call,
.organizer-core {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.debris-paper {
  width: clamp(170px, 18vw, 290px);
  height: auto;
  filter: drop-shadow(0 24px 26px rgba(0, 0, 0, 0.35));
}

.paper-a { top: 12%; left: 2%; }
.paper-b { right: 34%; bottom: 3%; width: clamp(150px, 15vw, 245px); }
.paper-c { top: 48%; right: -4%; width: clamp(135px, 13vw, 220px); }

.debris-card {
  width: clamp(145px, 14vw, 220px);
  aspect-ratio: 1.62;
  padding: 18px;
  border: 1px solid rgba(174, 245, 247, 0.54);
  border-radius: 20px;
  background:
    radial-gradient(circle at 92% 8%, rgba(254, 150, 47, 0.34), transparent 30%),
    linear-gradient(145deg, rgba(223, 253, 255, 0.25), rgba(8, 45, 58, 0.7));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
}

.debris-card i {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 13px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--cyan), #fff);
  box-shadow: 0 0 18px rgba(92, 231, 236, 0.28);
}

.debris-card span,
.debris-card b,
.debris-card em {
  display: block;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
}

.debris-card span { width: 72%; }
.debris-card b { width: 48%; margin-top: 8px; background: rgba(122, 235, 239, 0.6); }
.debris-card em { position: absolute; top: 18px; left: 18px; width: 20px; background: var(--orange); }
.card-a { top: 17%; left: 22%; }
.card-b { right: 8%; bottom: 14%; }
.card-c { top: 51%; left: -2%; width: clamp(130px, 12vw, 190px); }

.debris-ticket {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 150px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(7, 35, 48, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(12px);
}

.debris-ticket small { font-size: 0.64rem; }
.debris-ticket strong { color: #fff; font-size: 0.9rem; }
.debris-ticket i { grid-column: 1 / -1; width: 76%; height: 4px; margin-top: 9px; border-radius: 99px; background: var(--cyan); }
.ticket-a { top: 36%; right: 4%; }
.ticket-b { bottom: 9%; left: 34%; }

.debris-call {
  display: grid;
  place-items: center;
  width: 94px;
  aspect-ratio: 1;
}

.debris-call i {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(254, 150, 47, 0.68);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(254, 150, 47, 0.18);
}

.debris-call i:nth-child(2) { inset: 22%; border-color: rgba(92, 231, 236, 0.7); }
.debris-call span { display: grid; place-items: center; width: 40px; aspect-ratio: 1; border-radius: 50%; color: #0b2933; background: linear-gradient(135deg, #fff, var(--cyan)); font-size: 1rem; }
.call-a { top: 8%; right: 29%; }
.call-b { right: 24%; bottom: 8%; width: 76px; }

.organizer-core {
  z-index: 2;
  bottom: 22%;
  left: 24%;
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
}

.organizer-core i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(92, 231, 236, 0.7);
  border-radius: 50%;
  box-shadow: 0 0 36px rgba(92, 231, 236, 0.24);
}

.organizer-core i:nth-child(2) { inset: 18%; border-style: dashed; border-color: rgba(254, 150, 47, 0.74); }
.organizer-core span { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 50%; color: #082630; background: linear-gradient(135deg, var(--cyan), #fff); font-weight: 900; box-shadow: 0 0 28px rgba(92, 231, 236, 0.34); }

.continuity-stream {
  position: absolute;
  z-index: 7;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.stream-chip,
.stream-spark,
.stream-rail,
.resolution-stage {
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.stream-chip {
  position: absolute;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr 1fr;
  column-gap: 10px;
  align-items: center;
  width: 132px;
  height: 66px;
  padding: 10px 12px;
  border: 1px solid rgba(153, 239, 242, 0.3);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(18, 63, 76, 0.7), rgba(4, 28, 41, 0.44));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(11px);
}

.stream-chip > i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #082630;
  background: linear-gradient(135deg, var(--cyan), #fff);
  box-shadow: 0 0 20px rgba(92, 231, 236, 0.25);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
}

.stream-chip > b,
.stream-chip > em {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.64);
}

.stream-chip > em { width: 62%; background: rgba(92, 231, 236, 0.5); }
.chip-a { top: 16%; left: 40%; }
.chip-b { top: 35%; left: 5%; }
.chip-c { bottom: 16%; left: 56%; }
.chip-d { bottom: 9%; left: 39%; }
.chip-e { top: 8%; left: 57%; }

.stream-spark {
  position: absolute;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan), 0 0 24px rgba(92, 231, 236, 0.72);
}

.spark-a { top: 24%; left: 34%; }
.spark-b { top: 47%; left: 47%; width: 6px; height: 6px; }
.spark-c { top: 66%; right: 29%; }
.spark-d { top: 31%; right: 10%; width: 6px; height: 6px; background: var(--orange); box-shadow: 0 0 8px var(--orange), 0 0 24px rgba(254, 150, 47, 0.65); }
.spark-e { bottom: 18%; left: 18%; width: 7px; height: 7px; }
.spark-f { top: 12%; left: 57%; width: 5px; height: 5px; background: #fff; }

.stream-rail {
  position: absolute;
  width: min(42vw, 610px);
  aspect-ratio: 2.2;
  border: 1px solid rgba(92, 231, 236, 0.28);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(92, 231, 236, 0.16));
}

.rail-a { top: 20%; left: 18%; rotate: -14deg; }
.rail-b { right: 12%; bottom: 9%; rotate: 166deg; border-color: rgba(254, 150, 47, 0.24); border-right-color: transparent; border-bottom-color: transparent; }

.resolution-stage {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 3vh;
  left: 0;
  width: min(48vw, 670px);
  height: min(22vw, 290px);
  margin: 0 auto;
  transform-origin: 50% 100%;
  pointer-events: none;
}

.resolution-stage > i {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 8%;
  height: 62%;
  border: 1px solid rgba(92, 231, 236, 0.54);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(60, 211, 219, 0.18), rgba(60, 211, 219, 0) 67%);
  box-shadow: 0 0 42px rgba(60, 211, 219, 0.22), inset 0 0 34px rgba(255, 255, 255, 0.04);
  transform: perspective(360px) rotateX(67deg);
}

.resolution-stage > i:nth-child(2) { right: 20%; bottom: 5%; left: 20%; height: 49%; border-style: dashed; border-color: rgba(254, 150, 47, 0.54); }
.resolution-stage > i:nth-child(3) { right: 31%; bottom: 10%; left: 31%; height: 35%; border-color: rgba(255, 255, 255, 0.44); }
.resolution-stage > span { position: absolute; right: 28%; bottom: 18%; left: 28%; height: 36%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 255, 255, 0.24), rgba(92, 231, 236, 0.08) 42%, transparent 72%); filter: blur(10px); }

.calendar-panel {
  position: absolute;
  z-index: 14;
  bottom: 12vh;
  left: clamp(20px, 4vw, 64px);
  width: min(38vw, 470px);
  padding: 22px;
  border: 1px solid rgba(119, 232, 236, 0.26);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(7, 34, 48, 0.92), rgba(6, 25, 37, 0.72));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.panel-head,
.schedule-row,
.calendar-note,
.result-card {
  display: flex;
  align-items: center;
}

.panel-head {
  justify-content: space-between;
  margin-bottom: 20px;
}

.panel-head > div {
  display: grid;
  gap: 4px;
}

.panel-head strong {
  font-size: 1.22rem;
}

.panel-kicker {
  font-size: 0.7rem;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #a8f2f4;
  background: rgba(75, 220, 226, 0.09);
  font-size: 0.7rem;
}

.live-dot::before {
  content: "";
}

.schedule {
  display: grid;
  gap: 8px;
}

.schedule-row {
  gap: 12px;
}

.schedule-row time {
  width: 48px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
}

.slot {
  position: relative;
  flex: 1;
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
}

.empty-slot {
  color: #ffd09b;
  border-style: dashed;
  border-color: rgba(254, 150, 47, 0.58);
}

.slot-fill {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #06202a;
  background: linear-gradient(90deg, #5be0e5, #9ef3f4);
  transform: translateX(102%);
  will-change: transform;
}

.calendar-note {
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  opacity: 0;
}

.note-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #06202a;
  background: var(--cyan);
}

.result-stack {
  position: absolute;
  z-index: 14;
  bottom: 19vh;
  left: clamp(28px, 7vw, 104px);
  display: grid;
  gap: 14px;
  width: min(35vw, 420px);
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.result-card {
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 19px;
  background: rgba(6, 28, 41, 0.76);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
}

.result-card > div {
  display: grid;
  gap: 2px;
}

.result-card small {
  color: rgba(255, 255, 255, 0.58);
}

.result-card strong {
  font-size: 1rem;
}

.result-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: var(--cyan);
  background: rgba(90, 227, 233, 0.11);
}

.result-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-status {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: auto;
  border-radius: 50%;
  color: #0b343b;
  background: var(--cyan);
}

.profile-card {
  transform: translateX(36px);
}

.product-panel {
  position: absolute;
  z-index: 14;
  left: clamp(28px, 6vw, 96px);
  width: min(36vw, 450px);
  padding: 20px;
  border: 1px solid rgba(126, 235, 239, 0.24);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, rgba(7, 35, 49, 0.93), rgba(5, 24, 36, 0.74));
  box-shadow: 0 34px 88px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.booking-panel {
  bottom: 14vh;
}

.automation-panel {
  bottom: 12vh;
}

.customer-panel {
  bottom: 15vh;
}

.product-panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.product-panel-head > div,
.customer-heading {
  display: grid;
  gap: 2px;
}

.product-panel-head small,
.customer-heading small,
.automation-step small,
.customer-timeline small {
  color: rgba(255, 255, 255, 0.56);
}

.panel-icon,
.customer-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #09242e;
  background: linear-gradient(135deg, var(--cyan), #fff);
  box-shadow: 0 8px 24px rgba(84, 226, 232, 0.2);
}

.panel-status {
  padding: 6px 9px;
  border-radius: 999px;
  color: #a8f2f4;
  background: rgba(75, 220, 226, 0.1);
  font-size: 0.68rem;
}

.service-choice,
.booking-confirm,
.automation-step,
.customer-timeline span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.service-choice {
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.service-choice b {
  color: var(--cyan);
}

.time-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.time-choices span {
  padding: 9px 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 0.74rem;
}

.time-choices .is-picked {
  color: #06222d;
  background: var(--cyan);
  border-color: transparent;
}

.booking-confirm {
  justify-content: center;
  color: #baf8f9;
  border-color: rgba(92, 231, 236, 0.18);
  background: rgba(92, 231, 236, 0.08);
  opacity: 0;
}

.booking-confirm i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #08242d;
  background: var(--cyan);
  font-style: normal;
}

.automation-panel .product-panel-head {
  grid-template-columns: auto 1fr;
}

.automation-step {
  margin-top: 8px;
}

.automation-step > i {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(92, 231, 236, 0.32);
  border-radius: 50%;
  color: var(--cyan);
  font-style: normal;
  font-size: 0.7rem;
}

.automation-step > span {
  display: grid;
  gap: 2px;
}

.automation-step em {
  margin-right: auto;
  color: #9cecef;
  font-size: 0.66rem;
  font-style: normal;
}

.customer-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.customer-avatar {
  color: #fff;
  background: linear-gradient(135deg, #0fa7b1, #ffad5f);
  font-weight: 850;
}

.customer-timeline {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.customer-timeline span {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
}

.customer-timeline i {
  grid-row: 1 / 3;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.chapter-dots {
  position: absolute;
  z-index: 28;
  top: 50%;
  right: 22px;
  display: grid;
  gap: 9px;
  translate: 0 -50%;
  pointer-events: auto;
}

.chapter-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.chapter-dots button:hover,
.chapter-dots button.is-active {
  transform: scale(1.55);
  background: var(--cyan);
  border-color: var(--cyan);
}

.story-progress {
  position: absolute;
  z-index: 24;
  top: 50%;
  left: clamp(18px, 3vw, 48px);
  display: grid;
  justify-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  translate: 0 -50%;
  writing-mode: vertical-rl;
}

.progress-label {
  min-height: 88px;
  font-size: 0.72rem;
}

.progress-track {
  position: relative;
  width: 2px;
  height: 118px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.progress-track i {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--cyan), var(--orange));
  transform: scaleY(0);
  transform-origin: 50% 0;
}

.progress-count {
  font-size: 0.68rem;
  writing-mode: horizontal-tb;
}

.progress-count b {
  color: #fff;
  font-size: 0.92rem;
}

.scroll-cue {
  position: absolute;
  z-index: 22;
  right: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.56);
  translate: 50% 0;
  font-size: 0.7rem;
}

.scroll-cue i {
  position: relative;
  width: 27px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { translate: 0 0; opacity: 0.35; }
  45% { opacity: 1; }
  70% { translate: 0 16px; opacity: 0; }
}

.after-story {
  position: relative;
  z-index: 5;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 11vw, 170px) clamp(22px, 7vw, 110px);
  color: #f5fbfc;
  background:
    radial-gradient(circle at 12% 20%, rgba(76, 222, 228, 0.13), transparent 25%),
    radial-gradient(circle at 88% 64%, rgba(254, 150, 47, 0.07), transparent 23%),
    linear-gradient(180deg, #071b27 0%, #061824 43%, #04131c 100%);
}

.after-story::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -2px;
  right: 0;
  left: 0;
  height: min(1220px, 132svh);
  background:
    linear-gradient(180deg, rgba(5, 23, 34, 0.04), rgba(5, 23, 34, 0.48) 48%, #071b27 100%),
    url("assets/scene-calm.webp") center top / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}

.after-story::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(105, 230, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 230, 234, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  pointer-events: none;
}

.after-story > :not(.calm-flow) {
  position: relative;
  z-index: 2;
}

.calm-flow {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.calm-line,
.calm-dot {
  position: absolute;
  display: block;
  will-change: transform, opacity;
}

.calm-line {
  width: min(72vw, 980px);
  aspect-ratio: 2.35;
  border: 1px solid rgba(98, 231, 235, 0.14);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(98, 231, 235, 0.11));
}

.calm-line-a { top: 9%; left: -20%; rotate: -13deg; }
.calm-line-b { top: 44%; right: -24%; rotate: 166deg; border-color: rgba(254, 150, 47, 0.11); border-right-color: transparent; border-bottom-color: transparent; }
.calm-line-c { top: 73%; left: -14%; width: min(84vw, 1180px); rotate: -6deg; }

.calm-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan), 0 0 28px rgba(98, 231, 235, 0.48);
}

.calm-dot-a { top: 13%; right: 14%; }
.calm-dot-b { top: 31%; left: 12%; width: 5px; height: 5px; }
.calm-dot-c { top: 52%; right: 8%; background: var(--orange); box-shadow: 0 0 9px var(--orange), 0 0 26px rgba(254, 150, 47, 0.42); }
.calm-dot-d { top: 70%; left: 17%; width: 5px; height: 5px; }
.calm-dot-e { top: 89%; right: 26%; }

.summary-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: clamp(36px, 9vw, 150px);
  align-items: end;
  max-width: 1320px;
  margin: 0 auto clamp(70px, 9vw, 130px);
}

.summary-intro .section-index {
  grid-column: 1 / -1;
  color: #8ff1f3;
  margin-bottom: 22px;
}

.summary-intro h2,
.setup h2,
.closing-cta h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5.9rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.summary-intro p {
  margin: 0;
  color: rgba(225, 242, 245, 0.72);
  font-size: clamp(1.04rem, 1.45vw, 1.28rem);
  line-height: 2;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  border-top: 1px solid rgba(160, 235, 238, 0.16);
}

.capability {
  position: relative;
  min-height: 300px;
  padding: clamp(28px, 4vw, 58px);
  border-right: 1px solid rgba(160, 235, 238, 0.16);
  border-bottom: 1px solid rgba(160, 235, 238, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0));
}

.capability:nth-child(2n + 1) {
  border-right: 0;
}

.capability-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  min-height: 240px;
  border-right: 0;
}

.capability-number {
  color: #83edf0;
  font-size: 0.78rem;
}

.capability h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  letter-spacing: -0.035em;
}

.capability p {
  max-width: 48ch;
  margin: 0;
  color: rgba(220, 239, 242, 0.66);
  line-height: 1.95;
}

.capability-mark {
  color: rgba(185, 245, 247, 0.08);
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.09em;
}

.capability-dark {
  color: #fff;
  background:
    radial-gradient(circle at 84% 22%, rgba(98, 231, 235, 0.11), transparent 34%),
    rgba(3, 18, 28, 0.36);
}

.capability-dark p,
.capability-dark .capability-number {
  color: rgba(215, 240, 243, 0.68);
}

.setup {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(48px, 9vw, 150px);
  max-width: 1320px;
  margin: clamp(110px, 14vw, 210px) auto;
}

.setup-heading .section-index {
  margin-bottom: 24px;
  color: #8ff1f3;
}

.setup h2 {
  font-size: clamp(2.1rem, 4vw, 4.8rem);
}

.setup-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(160, 235, 238, 0.16);
}

.setup-steps li > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(137, 237, 240, 0.34);
  border-radius: 50%;
  color: #8ff1f3;
  background: rgba(98, 231, 235, 0.06);
}

.setup-steps li > div {
  display: grid;
  gap: 6px;
}

.setup-steps strong {
  font-size: 1.15rem;
}

.setup-steps small {
  color: rgba(218, 239, 242, 0.62);
  font-size: 0.9rem;
}

.closing-cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  max-width: 1320px;
  min-height: 520px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 84px);
  border-radius: 44px;
  color: #fff;
  background:
    radial-gradient(circle at 17% 30%, rgba(77, 227, 233, 0.28), transparent 35%),
    linear-gradient(145deg, #0c303e, #061720 72%);
  box-shadow: 0 40px 100px rgba(13, 43, 54, 0.16);
}

.closing-cta .section-index {
  margin-bottom: 20px;
}

.closing-cta h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 5.3vw, 6rem);
}

.closing-button {
  flex: 0 0 auto;
  gap: 30px;
  min-height: 74px;
  padding: 0 28px;
  color: var(--ink);
  background: #fff;
}

.closing-button b {
  font-size: 1.8rem;
}

.demo-showcase {
  max-width: 1320px;
  margin: clamp(120px, 16vw, 230px) auto 0;
  padding: clamp(36px, 6vw, 84px);
  border: 1px solid rgba(159, 235, 238, 0.11);
  border-radius: 44px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(81, 225, 231, 0.2), transparent 29%),
    radial-gradient(circle at 88% 92%, rgba(254, 150, 47, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(11, 45, 59, 0.72), rgba(4, 20, 29, 0.56) 72%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  scroll-margin-top: 40px;
}

.demo-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  column-gap: clamp(30px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 88px);
}

.demo-intro .section-index {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.demo-intro h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 5.7rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.demo-intro p {
  margin: 0;
  color: rgba(225, 242, 245, 0.68);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 2;
}

.demo-guide {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.52fr) 1.48fr;
  align-items: center;
  min-height: 310px;
  margin-bottom: clamp(40px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 70%, rgba(92, 231, 236, 0.18), transparent 28%),
    rgba(255, 255, 255, 0.045);
}

.demo-guide-noba {
  position: relative;
  align-self: end;
  height: 290px;
}

.demo-guide-noba span {
  position: absolute;
  right: 50%;
  bottom: 16px;
  width: 68%;
  aspect-ratio: 1;
  translate: 50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 226, 232, 0.34), transparent 67%);
  filter: blur(10px);
}

.demo-guide-noba img {
  position: absolute;
  right: 50%;
  bottom: -38px;
  width: min(270px, 94%);
  height: auto;
  aspect-ratio: 1145 / 1374;
  translate: 50% 0;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.38));
}

.demo-guide-copy {
  max-width: 700px;
  padding: 38px clamp(24px, 5vw, 68px) 38px 38px;
}

.noba-says {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a8f2f4;
  font-size: 0.76rem;
  font-weight: 800;
}

.noba-says i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.demo-guide-copy p {
  margin: 12px 0 24px;
  color: rgba(238, 249, 250, 0.82);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 2;
}

.demo-guide-copy a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 13px;
  color: #08202b;
  background: linear-gradient(135deg, var(--cyan), #fff);
  font-size: 0.8rem;
  font-weight: 800;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.demo-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  transition: transform 220ms var(--ease-out), border-color 220ms ease, background-color 220ms ease;
}

.demo-card::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--demo-accent);
  filter: blur(70px);
  opacity: 0.2;
}

.demo-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--demo-accent) 48%, transparent);
  background: rgba(255, 255, 255, 0.07);
}

.demo-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  border-radius: 14px;
  color: #08202b;
  background: var(--demo-accent);
  font-weight: 900;
}

.demo-card small {
  color: rgba(255, 255, 255, 0.5);
}

.demo-card h3 {
  min-height: 2.8em;
  margin: 7px 0 24px;
  font-size: 1.15rem;
  line-height: 1.45;
}

.demo-card > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.demo-card a {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.7rem;
  font-weight: 780;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.demo-card a:last-child,
.demo-card a:hover {
  color: #08202b;
  border-color: transparent;
  background: var(--demo-accent);
}

.demo-card a:last-child:hover {
  background: #fff;
}

.final-calm {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  min-height: 260px;
  margin-top: clamp(70px, 9vw, 120px);
  padding: clamp(26px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(159, 239, 242, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 50%, rgba(98, 231, 235, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.035);
  text-align: center;
}

.final-calm-orbit {
  position: relative;
  width: 132px;
  aspect-ratio: 1;
}

.final-calm-orbit i {
  position: absolute;
  inset: 7%;
  border: 1px solid rgba(98, 231, 235, 0.44);
  border-radius: 50%;
}

.final-calm-orbit i:nth-child(2) {
  inset: 24%;
  border-style: dashed;
  border-color: rgba(254, 150, 47, 0.62);
}

.final-calm-logo {
  position: absolute;
  inset: 18%;
  width: 64%;
  height: 64%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(98, 231, 235, 0.42));
}

.final-calm h3 {
  max-width: 18ch;
  margin: 10px auto 0;
  font-size: clamp(1.8rem, 3vw, 3.4rem);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.final-calm > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 16px;
  color: #08202b;
  background: linear-gradient(135deg, var(--cyan), #fff);
  font-size: 0.84rem;
  font-weight: 850;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .product-panel {
    right: 18px;
    bottom: 11vh;
    left: 18px;
    width: auto;
    margin: 0 auto;
  }

  .chapter-dots {
    top: auto;
    right: 50%;
    bottom: 54px;
    display: flex;
    translate: 50% 0;
  }

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

  .demo-guide {
    grid-template-columns: minmax(160px, 0.65fr) 1.35fr;
  }
}

@media (max-width: 680px) {
  .product-panel {
    bottom: 9vh;
    width: auto;
    padding: 14px;
    border-radius: 18px;
    z-index: 14;
  }

  .product-panel-head {
    margin-bottom: 10px;
  }

  .automation-step {
    padding: 8px 10px;
  }

  .customer-panel {
    bottom: 12vh;
  }

  .chapter-dots {
    bottom: 42px;
    gap: 7px;
  }

  .chapter-dots button {
    width: 7px;
    height: 7px;
  }

  .demo-showcase {
    margin-top: 110px;
    padding: 30px 18px;
    border-radius: 28px;
  }

  .demo-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .demo-intro h2 {
    font-size: clamp(2.15rem, 10vw, 3.5rem);
  }

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

  .demo-guide {
    grid-template-columns: 1fr;
    padding-top: 26px;
  }

  .demo-guide-noba {
    order: 2;
    height: 230px;
  }

  .demo-guide-copy {
    order: 1;
    padding: 26px 22px 0;
    text-align: center;
  }

  .demo-guide-copy a {
    justify-content: center;
    width: 100%;
  }

  .demo-card {
    min-height: 220px;
  }

  .final-calm {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 430px;
    padding: 38px 22px;
    text-align: center;
  }

  .final-calm-orbit {
    width: 112px;
  }

  .final-calm > a {
    width: 100%;
  }
}

body.is-animating .after-story {
  position: fixed;
  z-index: 24;
  inset: 0;
  width: 100vw;
  height: 100svh;
  min-height: 620px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 22%, rgba(76, 222, 228, 0.12), transparent 27%),
    radial-gradient(circle at 84% 76%, rgba(254, 150, 47, 0.08), transparent 23%),
    linear-gradient(180deg, rgba(6, 24, 36, 0.92), rgba(4, 19, 28, 0.98));
}

body.is-animating .after-story::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(5, 23, 34, 0.24), rgba(5, 23, 34, 0.72)),
    url("assets/scene-calm.webp") center / cover no-repeat;
  opacity: 0.48;
}

body.is-animating .after-story::after {
  position: absolute;
  inset: 0;
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}

body.is-animating .after-story > :not(.calm-flow) {
  position: absolute;
  z-index: 2;
  margin: 0;
}

body.is-animating .summary-intro,
body.is-animating .capability-list,
body.is-animating .setup,
body.is-animating .demo-showcase,
body.is-animating .demo-intro,
body.is-animating .demo-guide,
body.is-animating .demo-card,
body.is-animating .final-calm {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

body.is-animating .story-progress,
body.is-animating .chapter-dots {
  z-index: 40;
}

body.is-animating .summary-intro {
  top: 19vh;
  right: 7vw;
  left: 7vw;
  max-width: none;
}

body.is-animating .capability-list {
  top: 13vh;
  right: 7vw;
  left: 7vw;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
  border: 0;
  gap: 12px;
}

body.is-animating .capability,
body.is-animating .capability-wide {
  grid-column: auto;
  display: block;
  min-height: 270px;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(160, 235, 238, 0.15);
  border-radius: 24px;
  background: rgba(4, 26, 38, 0.56);
  backdrop-filter: none;
}

body.is-animating .capability-mark {
  position: absolute;
  bottom: 28px;
  left: 28px;
  font-size: clamp(4rem, 8vw, 8rem);
}

body.is-animating .setup {
  top: 18vh;
  right: 8vw;
  left: 8vw;
  max-width: none;
}

body.is-animating .demo-showcase {
  inset: 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

body.is-animating .demo-intro {
  top: 10vh;
  right: 7vw;
  left: 7vw;
  margin: 0;
}

body.is-animating .demo-intro h2 {
  font-size: clamp(2.15rem, 4.2vw, 4.9rem);
}

body.is-animating .demo-guide {
  top: 38vh;
  right: 13vw;
  left: 13vw;
  min-height: 330px;
  margin: 0;
}

body.is-animating .demo-grid {
  position: absolute;
  z-index: 3;
  top: 35vh;
  right: 7vw;
  bottom: 8vh;
  left: 7vw;
  display: block;
}

body.is-animating .demo-card {
  top: 0;
  width: calc((100% - 28px) / 3);
  min-height: 330px;
  max-height: 48vh;
  background: rgba(6, 31, 43, 0.9);
  backdrop-filter: none;
}

body.is-animating .demo-card:nth-child(3n + 1) { right: 0; }
body.is-animating .demo-card:nth-child(3n + 2) { right: calc((100% - 28px) / 3 + 14px); }
body.is-animating .demo-card:nth-child(3n) { left: 0; }

body.is-animating .demo-card a,
body.is-animating .final-calm > a {
  pointer-events: auto;
}

body.is-animating .final-calm {
  inset: 0;
  width: 100vw;
  height: 100svh;
  min-height: 620px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  translate: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(98, 231, 235, 0.2), transparent 25%),
    rgba(4, 27, 39, 0.42);
  backdrop-filter: none;
}

body.is-animating .final-calm-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(170px, 16vw, 220px);
  translate: -50% -50%;
}

body.is-animating .final-calm > div:nth-child(2) {
  position: absolute;
  top: calc(50% + 128px);
  left: 50%;
  width: min(620px, calc(100vw - 48px));
  translate: -50% 0;
  text-align: center;
}

body.is-animating .final-calm > a {
  position: absolute;
  bottom: clamp(28px, 6vh, 64px);
  left: 50%;
  translate: -50% 0;
}

@media (max-width: 680px) {
  body.is-animating .after-story {
    min-height: 620px;
  }

  body.is-animating .summary-intro {
    top: 12vh;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 18px;
  }

  body.is-animating .summary-intro h2 {
    font-size: clamp(2rem, 9.4vw, 3.2rem);
  }

  body.is-animating .summary-intro p {
    margin-top: 0;
    font-size: 0.9rem;
  }

  body.is-animating .capability-list {
    top: 10vh;
    right: 16px;
    left: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.is-animating .capability,
  body.is-animating .capability-wide {
    min-height: 245px;
    padding: 18px 15px;
    border-radius: 18px;
  }

  body.is-animating .capability-number {
    font-size: 0.65rem;
  }

  body.is-animating .capability h3 {
    margin: 10px 0 8px;
    font-size: 1.05rem;
    line-height: 1.45;
  }

  body.is-animating .capability p {
    font-size: 0.72rem;
    line-height: 1.75;
  }

  body.is-animating .capability-mark {
    right: auto;
    bottom: 14px;
    left: 14px;
    font-size: 3.2rem;
  }

  body.is-animating .setup {
    top: 11vh;
    right: 20px;
    left: 20px;
    gap: 28px;
  }

  body.is-animating .setup h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.8rem);
  }

  body.is-animating .setup-steps li {
    padding: 18px 0;
  }

  body.is-animating .demo-intro {
    top: 9vh;
    right: 20px;
    left: 20px;
    gap: 12px;
    text-align: center;
  }

  body.is-animating .demo-intro h2 {
    margin: 0 auto;
    font-size: clamp(1.9rem, 8.8vw, 2.8rem);
  }

  body.is-animating .demo-intro p {
    font-size: 0.78rem;
    line-height: 1.75;
  }

  body.is-animating .demo-guide {
    top: 35vh;
    right: 20px;
    left: 20px;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    min-height: 390px;
    padding: 0;
  }

  body.is-animating .demo-guide-copy {
    order: 1;
    padding: 28px 18px;
    text-align: right;
  }

  body.is-animating .demo-guide-copy p {
    margin-bottom: 18px;
    font-size: 0.83rem;
    line-height: 1.8;
  }

  body.is-animating .demo-guide-noba {
    order: 2;
    height: 100%;
  }

  body.is-animating .demo-guide-copy a {
    min-height: 44px;
    font-size: 0.67rem;
  }

  body.is-animating .demo-grid {
    top: 38vh;
    right: 20px;
    bottom: 7vh;
    left: 20px;
  }

  body.is-animating .demo-card {
    right: 0 !important;
    left: 0 !important;
    width: 100%;
    min-height: 142px;
    max-height: 142px;
    padding: 14px 16px;
    border-radius: 17px;
  }

  body.is-animating .demo-card:nth-child(3n + 1) { top: 0; }
  body.is-animating .demo-card:nth-child(3n + 2) { top: 151px; }
  body.is-animating .demo-card:nth-child(3n) { top: 302px; }

  body.is-animating .demo-icon {
    float: right;
    width: 36px;
    height: 36px;
    margin: 0 0 8px 12px;
    border-radius: 11px;
  }

  body.is-animating .demo-card h3 {
    min-height: 0;
    margin: 4px 0 10px;
    font-size: 0.92rem;
  }

  body.is-animating .demo-card > div {
    clear: both;
  }

  body.is-animating .demo-card a {
    min-height: 34px;
    padding: 5px;
    font-size: 0.62rem;
  }

  body.is-animating .final-calm {
    inset: 0;
    width: 100vw;
    min-height: 620px;
    padding: 0;
  }

  body.is-animating .final-calm-orbit {
    width: 150px;
  }

  body.is-animating .final-calm > div:nth-child(2) {
    top: calc(50% + 94px);
    width: calc(100vw - 40px);
  }

  body.is-animating .final-calm h3 {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  body.is-animating .final-calm > a {
    bottom: 24px;
    width: min(280px, calc(100vw - 40px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-panel,
  .automation-panel,
  .customer-panel,
  .chapter-dots {
    display: none;
  }
}

/* Real touch devices have a much smaller GPU compositing budget than a desktop browser resized to
   a phone viewport. Keep every story beat and scroll-linked transform, but remove the full-screen
   filters and translucent live blurs that are expensive on mobile Safari/Chrome. */
@media (pointer: coarse), (hover: none) {
  html,
  body {
    touch-action: pan-y;
    overscroll-behavior-y: none;
    -webkit-overflow-scrolling: touch;
  }

  .story-stage {
    contain: layout paint;
  }

  .scene-grain,
  .ambient,
  .flow-field {
    display: none !important;
  }

  .scene-vignette {
    box-shadow: inset 0 0 90px 12px rgba(1, 10, 17, 0.58);
  }

  .ghost-action,
  .signal,
  .debris-card,
  .debris-ticket,
  .stream-chip,
  .product-panel,
  .result-card,
  .customer-panel,
  .demo-showcase {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .noba-stage > img,
  .debris-paper,
  .stream-rail,
  .demo-guide-noba img,
  .final-calm-logo {
    filter: none;
  }

  .noba-halo,
  .resolution-stage > span,
  .demo-guide-noba span,
  .demo-card::before,
  .calm-line {
    filter: none;
  }

  .signal,
  .story-debris > *,
  .continuity-stream > *,
  .product-panel,
  .result-card,
  .customer-panel {
    will-change: auto;
  }
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px clamp(22px, 7vw, 110px);
  color: rgba(255, 255, 255, 0.58);
  background: #04121a;
  font-size: 0.82rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.noscript-note {
  position: fixed;
  z-index: 100;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 12px;
  color: #071827;
  background: #fff;
  border-radius: 12px;
  text-align: center;
}

@media (max-width: 980px) {
  .beat {
    top: 15vh;
    right: 20px;
    left: 20px;
    width: min(88vw, 700px);
    margin: 0 auto;
    text-align: center;
  }

  .beat h1,
  .beat h2,
  .beat p {
    margin-right: auto;
    margin-left: auto;
  }

  .beat h1,
  .beat h2 {
    max-width: 15ch;
  }

  .hero-actions {
    justify-content: center;
  }

  .noba-stage {
    bottom: -11vh;
    right: 0;
    left: 0;
    width: min(54vw, 500px);
    margin: 0 auto;
  }

  .orbit {
    bottom: -1vh;
    right: 0;
    left: 0;
    width: min(74vw, 680px);
    margin: 0 auto;
  }

  .calendar-panel,
  .result-stack {
    right: 18px;
    bottom: 11vh;
    left: 18px;
    width: auto;
    margin: 0 auto;
  }

  .result-stack {
    bottom: 16vh;
  }

  .story-progress {
    top: auto;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: flex;
    translate: 0;
    writing-mode: horizontal-tb;
  }

  .progress-label {
    min-height: 0;
    min-width: 92px;
  }

  .progress-track {
    flex: 1;
    width: auto;
    height: 2px;
  }

  .progress-track i {
    transform: scaleX(0);
    transform-origin: 100% 50%;
  }

  .scroll-cue {
    display: none;
  }

  .summary-intro,
  .setup {
    grid-template-columns: 1fr;
  }

  .summary-intro p {
    max-width: 58ch;
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 68px;
    padding: 0 16px;
  }

  .brand span,
  .text-link {
    display: none;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 15px;
    border-radius: 12px;
    font-size: 0.82rem;
  }

  .story-stage {
    min-height: 620px;
  }

  .scene {
    object-position: center;
  }

  .scene-wash {
    background: linear-gradient(180deg, rgba(2, 14, 23, 0.76), rgba(3, 18, 28, 0.18) 52%, rgba(3, 17, 26, 0.66));
  }

  .beat {
    top: 12vh;
    width: calc(100vw - 40px);
  }

  .beat h1,
  .beat h2 {
    margin: 10px auto 12px;
    font-size: clamp(2rem, 10.6vw, 3.25rem);
    line-height: 1.12;
  }

  .beat p {
    max-width: 34ch;
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .chapter-tag {
    font-size: 0.7rem;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .primary-action,
  .ghost-action {
    min-height: 46px;
    padding: 0 15px;
    font-size: 0.78rem;
  }

  .noba-stage {
    bottom: -7vh;
    width: min(45vw, 210px);
  }

  .noba-caption {
    display: none;
  }

  .beat-final {
    top: 10vh;
    width: calc(100vw - 40px);
  }

  .orbit {
    bottom: -5vh;
    width: 88vw;
  }

  .story-debris {
    z-index: 7;
  }

  .continuity-stream {
    z-index: 7;
  }

  .stream-chip {
    width: 102px;
    height: 52px;
    padding: 7px 8px;
    border-radius: 13px;
  }

  .stream-chip > i { width: 24px; height: 24px; border-radius: 8px; }
  .chip-a { top: 45%; left: -12px; }
  .chip-b { top: 57%; right: -14px; left: auto; }
  .chip-c { right: auto; bottom: 12%; left: 12px; }
  .chip-d,
  .chip-e,
  .spark-e,
  .spark-f { display: none; }

  .spark-a { top: 48%; left: 40%; }
  .spark-b { top: 61%; left: 23%; }
  .spark-c { top: 70%; right: 16%; }
  .spark-d { top: 53%; right: 6%; }

  .stream-rail { width: 116vw; }
  .rail-a { top: 46%; left: -42%; }
  .rail-b { right: -42%; bottom: 3%; }

  .resolution-stage {
    bottom: 12vh;
    width: 96vw;
    height: 210px;
  }

  .debris-paper {
    width: 126px;
  }

  .paper-a { top: 45%; left: -18px; }
  .paper-b { right: -24px; bottom: 12%; width: 112px; }
  .paper-c,
  .card-c,
  .ticket-b,
  .call-b { display: none; }

  .debris-card {
    width: 112px;
    padding: 12px;
    border-radius: 15px;
  }

  .debris-card i { width: 24px; height: 24px; margin-bottom: 9px; border-radius: 8px; }
  .debris-card em { top: 12px; left: 12px; width: 15px; }
  .card-a { top: 49%; left: 30%; }
  .card-b { right: -12px; bottom: 28%; }

  .debris-ticket { top: 54%; right: -12px; width: 112px; padding: 9px 10px; }
  .debris-call { top: 41%; right: 4%; width: 62px; }
  .organizer-core { bottom: 14%; left: 20%; width: 76px; }
  .organizer-core span { width: 32px; }

  .signal {
    min-width: 118px;
    padding: 8px 10px;
    font-size: 0.62rem;
  }

  .signal b {
    font-size: 0.7rem;
  }

  .calendar-panel {
    bottom: 10vh;
    width: calc(100vw - 36px);
    padding: 15px;
    border-radius: 19px;
    z-index: 14;
  }

  .panel-head {
    margin-bottom: 12px;
  }

  .panel-head strong {
    font-size: 1rem;
  }

  .slot {
    padding: 7px 9px;
  }

  .calendar-note {
    margin-top: 11px;
    padding-top: 10px;
  }

  .result-stack {
    bottom: 16vh;
    width: calc(100vw - 46px);
    z-index: 14;
  }

  .result-card {
    padding: 12px;
  }

  .story-progress {
    bottom: 12px;
    gap: 8px;
  }

  .progress-label {
    min-width: 76px;
    font-size: 0.65rem;
  }

  .after-story {
    padding: 96px 20px 78px;
  }

  .after-story::before {
    height: 105svh;
    background-position: 58% top;
  }

  .calm-line {
    width: 118vw;
  }

  .calm-line-a { top: 8%; left: -58%; }
  .calm-line-b { top: 46%; right: -64%; }
  .calm-line-c { top: 77%; left: -48%; width: 142vw; }

  .summary-intro {
    margin-bottom: 64px;
  }

  .summary-intro h2,
  .setup h2,
  .closing-cta h2 {
    font-size: clamp(2.15rem, 10vw, 3.5rem);
  }

  .summary-intro p {
    margin-top: 26px;
    font-size: 0.98rem;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .capability,
  .capability-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 34px 18px;
    border-right: 0;
  }

  .capability-mark {
    position: absolute;
    left: 4px;
    bottom: 16px;
    font-size: 5rem;
  }

  .setup {
    margin: 110px auto;
  }

  .closing-cta {
    display: grid;
    min-height: 480px;
    padding: 32px 24px;
    border-radius: 28px;
  }

  .closing-button {
    width: 100%;
    min-height: 62px;
  }

  footer {
    gap: 18px;
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .story-stage {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    padding: 110px 22px 60px;
  }

  .scene-media {
    position: fixed;
  }

  .scene-order,
  .scene-calm,
  .flow-field,
  .orbit,
  .story-debris,
  .continuity-stream,
  .resolution-stage,
  .calendar-panel,
  .result-stack,
  .story-progress,
  .scroll-cue {
    display: none;
  }

  .calm-flow {
    display: none;
  }

  .noba-stage {
    position: relative;
    bottom: auto;
    left: auto;
    width: min(70vw, 420px);
    margin: 20px auto 0;
  }

  .story-copy {
    position: relative;
    display: grid;
    gap: 28px;
  }

  .beat,
  .beat.is-active {
    position: relative;
    top: auto;
    right: auto;
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(4, 23, 34, 0.78);
    visibility: visible;
    opacity: 1;
    translate: 0;
    text-align: right;
  }
}
