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

:root {
  --bg: #f7f5fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #17151d;
  --muted: #696470;
  --muted-strong: #504a58;
  --line: rgba(39, 32, 48, 0.10);
  --line-strong: rgba(39, 32, 48, 0.16);
  --accent: #6f4bd8;
  --accent-deep: #5732be;
  --accent-soft: #eee8ff;
  --success: #3f8d68;
  --shadow:
    0 28px 70px rgba(55, 37, 83, 0.10),
    0 8px 24px rgba(55, 37, 83, 0.06);
}

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

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 17% 12%, rgba(133, 99, 228, 0.08), transparent 27%),
    radial-gradient(circle at 86% 88%, rgba(151, 128, 221, 0.08), transparent 29%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
  padding:
    max(26px, env(safe-area-inset-top))
    clamp(22px, 5vw, 76px)
    max(24px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.ambient {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.64;
}

.ambient-one {
  width: min(32vw, 460px);
  aspect-ratio: 1;
  right: -12%;
  top: 14%;
  background: radial-gradient(circle, rgba(112, 76, 216, 0.10), transparent 68%);
  animation: drift-one 14s ease-in-out infinite alternate;
}

.ambient-two {
  width: min(28vw, 400px);
  aspect-ratio: 1;
  left: -12%;
  bottom: 2%;
  background: radial-gradient(circle, rgba(143, 113, 224, 0.08), transparent 70%);
  animation: drift-two 18s ease-in-out infinite alternate;
}

.site-header,
.site-footer,
.hero {
  width: min(100%, 1240px);
  margin-inline: auto;
}

.site-header {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(23, 21, 29, 0.12);
  overflow: hidden;
}

.brand-mark-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
  left: 7px;
  top: 7px;
}

.brand-mark-line {
  position: absolute;
  width: 16px;
  height: 6px;
  border-radius: 999px 0 0 999px;
  background: #9d81ef;
  right: -2px;
  bottom: 7px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 450;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(63, 141, 104, 0.09);
  animation: pulse-status 2.8s ease-in-out infinite;
}

.hero {
  align-self: center;
  padding-block: clamp(60px, 10vh, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.78fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-deep);
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 550;
  letter-spacing: 0.01em;
}

.hero-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 6.8vw, 6.45rem);
  line-height: 0.96;
  letter-spacing: -0.072em;
  font-weight: 500;
  text-wrap: balance;
}

.title-accent {
  display: inline-block;
  color: var(--accent);
}

.hero-description {
  max-width: 640px;
  margin: clamp(26px, 4vw, 38px) 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.65;
  letter-spacing: -0.018em;
  font-weight: 400;
}

.launch-note {
  margin-top: clamp(30px, 4vw, 44px);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  max-width: 600px;
}

.launch-line {
  width: 34px;
  height: 1px;
  margin-top: 0.72em;
  background: var(--line-strong);
}

.launch-note p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.65;
}

.visual-card {
  position: relative;
  width: 100%;
  min-height: 460px;
  border: 1px solid rgba(68, 51, 91, 0.11);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.93), rgba(255,255,255,0.80)),
    var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 32px);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 83, 222, 0.10), transparent 72%);
  pointer-events: none;
}

.visual-card-top,
.visual-footer,
.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.micro-label {
  display: block;
  color: #8b8590;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  font-weight: 550;
}

.visual-title {
  margin: 6px 0 0;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
  font-weight: 550;
}

.tiny-badge {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.73rem;
  font-weight: 500;
}

.flow-visual {
  position: relative;
  height: 244px;
  margin: 38px 0 16px;
}

.flow-track {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 50%;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(111, 75, 216, 0.45) 0%,
      rgba(111, 75, 216, 0.45) 72%,
      rgba(72, 65, 80, 0.13) 72%,
      rgba(72, 65, 80, 0.13) 100%
    );
}

.flow-node {
  position: absolute;
  top: 50%;
  width: 82px;
  transform: translate(-50%, -50%);
  text-align: center;
}

.node-one { left: 8%; }
.node-two { left: 36%; }
.node-three { left: 64%; }
.node-four { left: 92%; }

.flow-node::before {
  content: "";
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(43, 35, 52, 0.06);
}

.flow-node.is-active::before {
  background:
    linear-gradient(145deg, rgba(111, 75, 216, 0.15), rgba(111, 75, 216, 0.04)),
    #ffffff;
  border-color: rgba(111, 75, 216, 0.20);
}

.flow-node::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 11px;
  height: 11px;
  border: 2px solid rgba(98, 91, 106, 0.38);
  border-radius: 50%;
  transform: translateX(-50%);
}

.flow-node.is-active::after {
  border-color: var(--accent);
  background: rgba(111, 75, 216, 0.06);
}

.node-index {
  display: block;
  color: #9b949f;
  font-size: 0.63rem;
  line-height: 1;
  letter-spacing: 0.08em;
}

.node-label {
  display: block;
  margin-top: 5px;
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 500;
}

.flow-orb {
  position: absolute;
  z-index: 3;
  top: calc(50% - 4px);
  left: calc(8% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 5px rgba(111, 75, 216, 0.10),
    0 0 20px rgba(111, 75, 216, 0.36);
  animation: travel-orb 5.8s cubic-bezier(.64, 0, .22, 1) infinite;
}

.progress-block {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.progress-meta {
  color: var(--muted);
  font-size: 0.75rem;
}

.progress-bar {
  height: 7px;
  margin-top: 12px;
  border-radius: 999px;
  background: #ece8f0;
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6f4bd8, #8869dd);
  transform-origin: left center;
  animation: fill-in 1.35s 0.5s cubic-bezier(.22, .84, .28, 1) both;
}

.visual-footer {
  margin-top: 21px;
  color: #817a86;
  font-size: 0.72rem;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.version {
  color: #a09aa5;
}

.site-footer {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8b8490;
  font-size: 0.75rem;
}

.footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b8b2bb;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-in 0.75s cubic-bezier(.22, .84, .28, 1) forwards;
}

.reveal-1 { animation-delay: 0.08s; }
.reveal-2 { animation-delay: 0.16s; }
.reveal-3 { animation-delay: 0.28s; }
.reveal-4 { animation-delay: 0.42s; }

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fill-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes pulse-status {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.86); opacity: 0.78; }
}

@keyframes travel-orb {
  0%, 8% { left: calc(8% - 4px); }
  28%, 38% { left: calc(36% - 4px); }
  58%, 68% { left: calc(64% - 4px); }
  88%, 100% { left: calc(92% - 4px); }
}

@keyframes drift-one {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-22px, 18px, 0) scale(1.07); }
}

@keyframes drift-two {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, -15px, 0) scale(1.06); }
}

@media (max-width: 980px) {
  .page-shell {
    overflow: visible;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 76px 66px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-title {
    max-width: 850px;
  }

  .visual-card {
    width: min(100%, 670px);
    min-height: 430px;
  }
}


@media (max-width: 620px) {
  html,
  body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
  }

  body {
    min-height: 100dvh;
    background:
      radial-gradient(circle at 18% 8%, rgba(133, 99, 228, 0.09), transparent 30%),
      var(--bg);
  }

  .page-shell {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
    padding:
      max(16px, env(safe-area-inset-top))
      18px
      max(16px, env(safe-area-inset-bottom));
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

  .site-header {
    min-height: 34px;
    flex: 0 0 auto;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }

  .brand-mark-dot {
    width: 6px;
    height: 6px;
    left: 6px;
    top: 6px;
  }

  .brand-mark-line {
    width: 14px;
    height: 5px;
    bottom: 6px;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .status-pill {
    min-height: 29px;
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .status-dot {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px rgba(63, 141, 104, 0.08);
  }

  .hero {
    min-height: 0;
    align-self: stretch;
    padding-block: clamp(24px, 4.5dvh, 42px) clamp(18px, 3.4dvh, 30px);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: center;
    gap: clamp(18px, 3dvh, 28px);
  }

  .hero-copy {
    max-width: none;
  }

  .eyebrow {
    margin-bottom: 11px;
    font-size: 0.7rem;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.55rem, 12.4vw, 3.65rem);
    line-height: 0.94;
    letter-spacing: -0.06em;
  }

  .hero-description {
    max-width: 560px;
    margin-top: 16px;
    font-size: clamp(0.86rem, 3.7vw, 0.96rem);
    line-height: 1.5;
  }

  .launch-note {
    display: none;
  }

  .visual-card {
    width: 100%;
    min-height: 0;
    height: clamp(250px, 34dvh, 320px);
    padding: 18px 16px;
    border-radius: 22px;
  }

  .visual-title {
    margin-top: 4px;
    font-size: 0.95rem;
  }

  .micro-label {
    font-size: 0.58rem;
  }

  .tiny-badge {
    padding: 6px 9px;
    font-size: 0.63rem;
  }

  .flow-visual {
    height: clamp(116px, 15dvh, 145px);
    margin: 16px 0 8px;
  }

  .flow-track {
    left: 18px;
    right: 18px;
  }

  .flow-node {
    width: 62px;
  }

  .flow-node::before {
    width: 31px;
    height: 31px;
    margin-bottom: 7px;
    border-radius: 10px;
  }

  .flow-node::after {
    top: 10px;
    width: 9px;
    height: 9px;
  }

  .node-label {
    margin-top: 4px;
    font-size: 0.64rem;
  }

  .node-index {
    font-size: 0.52rem;
  }

  .progress-block {
    padding-top: 12px;
  }

  .progress-meta {
    font-size: 0.67rem;
  }

  .progress-bar {
    height: 6px;
    margin-top: 8px;
  }

  .visual-footer {
    margin-top: 12px;
    font-size: 0.64rem;
  }

  .site-footer {
    min-height: 24px;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.64rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .footer-separator {
    display: none;
  }

  .site-footer > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 620px) and (max-height: 740px) {
  .hero {
    padding-block: 18px 14px;
    gap: 14px;
  }

  .eyebrow {
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 11vw, 3rem);
  }

  .hero-description {
    margin-top: 12px;
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .visual-card {
    height: clamp(225px, 33dvh, 260px);
    padding: 15px 14px;
  }

  .flow-visual {
    height: 104px;
    margin: 10px 0 5px;
  }

  .visual-footer {
    display: none;
  }

  .progress-block {
    padding-top: 9px;
  }
}

@media (max-width: 410px) {
  .status-pill {
    max-width: 132px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .node-one { left: 7%; }
  .node-two { left: 36%; }
  .node-three { left: 65%; }
  .node-four { left: 93%; }
}

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

  .flow-orb {
    left: calc(64% - 4px);
  }
}
