:root {
  --bg: #070b14;
  --bg-2: #0b1220;
  --bg-3: #101a2e;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #e9edf6;
  --muted: #9ba7bf;
  --faint: #6f7a92;
  --accent: #7c9cff;
  --accent-2: #4fd1c5;
  --accent-3: #b08cff;
  --grad: linear-gradient(120deg, #9db2ff 0%, #7c9cff 35%, #4fd1c5 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
  --display: "Syne", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  font-weight: 700;
}

h3 {
  font-size: 1.22rem;
  font-weight: 700;
}

h4 {
  font-family: var(--body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

p {
  margin: 0 0 1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #050814;
}

.skip-link:focus {
  left: 1rem;
}

.container {
  width: min(var(--max), 100% - 3rem);
  margin-inline: auto;
}

.narrow {
  width: min(820px, 100% - 3rem);
}

.center {
  text-align: center;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 62ch;
}

.center .lead,
.lead.center {
  margin-inline: auto;
}

.lead-sm {
  font-size: 1.08rem;
  color: var(--muted);
}

.fine {
  font-size: 0.86rem;
  color: var(--faint);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.98rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:focus-visible,
.site-nav a:focus-visible,
.seg:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--grad);
  color: #060a16;
  box-shadow: 0 10px 30px -10px rgba(124, 156, 255, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px rgba(79, 209, 197, 0.55);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(124, 156, 255, 0.5);
}

.btn-sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.text-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.text-link::after {
  content: " \2192";
}

.text-link:hover {
  color: var(--accent-2);
}

/* Header */
.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-top.scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 11, 20, 0.88);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
}

.logo-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.96rem;
  transition: color 0.15s ease;
}

.site-nav a:not(.btn):hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a.active {
  position: relative;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.site-nav .nav-signin {
  padding-left: 1.6rem;
  border-left: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  padding: 6rem 0 7rem;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 900px;
  height: 900px;
  z-index: -2;
  background:
    radial-gradient(closest-side, rgba(124, 156, 255, 0.28), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(79, 209, 197, 0.18), transparent 70%);
  filter: blur(10px);
}

@keyframes flow {
  to {
    stroke-dashoffset: -320;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hero-inner {
  max-width: var(--max);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2rem;
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.3vw, 4rem);
  margin-bottom: 0.4em;
  overflow-wrap: normal;
  word-break: normal;
}

.hero h1 .grad {
  display: inline-block;
  background-size: 220% 100%;
  animation: shimmer 7s ease-in-out infinite alternate;
}

.hero-sub {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.hero-body {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-actions.center {
  justify-content: center;
}

.page-hero {
  position: relative;
  padding: 7rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 40%;
  height: 640px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(124, 156, 255, 0.2), transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

:is(.page-applications, .page-about, .page-partners, .page-contact) .page-hero .narrow:not(.center) {
  width: min(var(--max), 100% - 3rem);
}

:is(.page-applications, .page-about, .page-partners, .page-contact) .page-hero .narrow:not(.center) > * {
  max-width: 820px;
}

.not-found {
  padding: 10rem 0 8rem;
}

/* Sections */
.section {
  padding: 6.5rem 0;
}

.section-tight {
  padding-top: 2rem;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 3rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.split + .container {
  margin-top: 3.5rem;
}

.prose p {
  color: var(--muted);
  font-size: 1.1rem;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chips li {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--surface);
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.app-card,
.feature-card,
.mini-card,
.price-card,
.app-detail {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.app-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 156, 255, 0.45);
  box-shadow: 0 24px 50px -28px rgba(124, 156, 255, 0.55);
}

.app-card p {
  color: var(--muted);
  flex: 1;
}

.app-card .more {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

.app-card .more::after {
  content: " \2192";
  transition: margin 0.2s ease;
}

.app-card:hover .more::after {
  margin-left: 4px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(124, 156, 255, 0.22), rgba(79, 209, 197, 0.12));
  border: 1px solid rgba(124, 156, 255, 0.3);
  color: #b9c8ff;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card {
  padding: 1.8rem;
}

.feature-card p,
.mini-card p {
  color: var(--muted);
}

.feature-card.lg {
  padding: 2.4rem;
}

.feature-card.lg h2 {
  font-size: 1.6rem;
}

.mini-card {
  padding: 1.5rem;
}

.mini-card h3 {
  font-size: 1.05rem;
}

.mini-card p {
  margin: 0;
  font-size: 0.96rem;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}

.ticks li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* Vision */
.vision {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.vision::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;
  width: 1000px;
  height: 600px;
  transform: translateX(-50%);
  z-index: -1;
  background: radial-gradient(closest-side, rgba(176, 140, 255, 0.16), transparent 70%);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
}

.pillar {
  padding: 2.2rem 2rem 0 0;
}

.pillar + .pillar {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.pillar p {
  color: var(--muted);
}

.pillar-num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* CTA band */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2.4rem 2.6rem;
  border-radius: var(--radius);
  border: 1px solid rgba(124, 156, 255, 0.35);
  background:
    radial-gradient(600px 200px at 0% 0%, rgba(124, 156, 255, 0.2), transparent 70%),
    radial-gradient(600px 200px at 100% 100%, rgba(79, 209, 197, 0.16), transparent 70%),
    var(--bg-3);
}

.cta-band h3 {
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.cta-band p {
  color: var(--muted);
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.closing {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.closing::before {
  content: "";
  position: absolute;
  inset: auto 0 -60% 0;
  height: 600px;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(124, 156, 255, 0.22), transparent 70%);
}

/* Applications page */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.status {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid;
}

.status-available {
  color: #7ee8c9;
  border-color: rgba(126, 232, 201, 0.4);
  background: rgba(126, 232, 201, 0.08);
}

.status-partner {
  color: #a9bbff;
  border-color: rgba(169, 187, 255, 0.4);
  background: rgba(169, 187, 255, 0.08);
}

.status-research {
  color: #d1b8ff;
  border-color: rgba(209, 184, 255, 0.4);
  background: rgba(209, 184, 255, 0.08);
}

.app-list {
  display: grid;
  gap: 1.5rem;
}

.app-detail {
  padding: 2.6rem;
}

.app-detail-head {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  margin-bottom: 1rem;
}

.app-detail-head .icon {
  margin: 0;
  flex-shrink: 0;
}

.app-detail-head > div {
  min-width: 0;
}

.app-detail-head h2 {
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  margin: 0.5rem 0 0;
}

.app-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.app-cols p {
  color: var(--muted);
}

/* Pricing */
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 1.8rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}

.seg {
  padding: 0.6rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: 600 0.92rem/1 var(--body);
  cursor: pointer;
}

.seg.active {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.price-card[hidden] {
  display: none;
}

.price-card > p:not(.price):not(.price-kind):not(.price-range) {
  color: var(--muted);
}

.price-card .ticks {
  flex: 1;
}

.price-action {
  margin: 0;
}

.price-alt {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
}

.price-alt:hover {
  color: var(--text);
}

.price-card.featured {
  border-color: rgba(124, 156, 255, 0.55);
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(124, 156, 255, 0.18), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
}

.ribbon {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--grad);
  color: #060a16;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-kind {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.6rem;
}

.price {
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 700;
  margin: 0.2rem 0 0.2rem;
  line-height: 1.1;
}

.price .from {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-right: 0.25rem;
}

.price .per {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-range {
  font-size: 0.86rem;
  color: var(--faint);
  margin-bottom: 1.1rem;
}

.price-note {
  margin: 2rem auto 0;
  max-width: 820px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--faint);
}

.model-list {
  display: grid;
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.model {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  padding: 1.8rem 2rem;
  background: var(--bg-2);
}

.model h3 {
  margin-bottom: 0.4rem;
}

.model p {
  margin: 0;
  color: var(--muted);
}

.model-num {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124, 156, 255, 0.7);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.seg-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.seg-table th,
.seg-table td {
  text-align: left;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.seg-table th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}

.seg-table td:first-child {
  font-weight: 600;
}

.seg-table td {
  color: var(--muted);
}

.seg-table tr:last-child td {
  border-bottom: 0;
}

.seg-table + .fine,
.table-wrap + .fine {
  margin-top: 1.2rem;
}

.phases {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.phase {
  position: relative;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.phase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.6rem;
  right: 1.6rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--line-2);
}

.phase.now::before {
  background: var(--grad);
}

.phase.research::before {
  background: linear-gradient(90deg, var(--accent-3), transparent);
}

.phase p {
  color: var(--muted);
  font-size: 0.96rem;
}

.phase-tag {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.phase.research .phase-tag {
  color: #d1b8ff;
}

.phase .phase-model {
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--text);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.2rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.06rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

/* Partners */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.steps li {
  padding: 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.steps p {
  color: var(--muted);
  margin: 0;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--grad);
  color: #060a16;
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  padding: 2.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: block;
  margin-bottom: 1.2rem;
}

.field > span {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.field em {
  color: var(--accent-2);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: rgba(5, 8, 16, 0.6);
  color: var(--text);
  font: 400 1rem/1.4 var(--body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.field select option {
  background: var(--bg-2);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 156, 255, 0.2);
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: #ff7b8a;
}

.field.hp {
  position: absolute;
  left: -9999px;
}

.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.check input {
  margin-top: 0.3rem;
  accent-color: var(--accent);
}

.check a {
  color: var(--accent);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.form-status {
  margin: 0;
  font-size: 0.95rem;
}

.form-status.ok {
  color: #7ee8c9;
}

.form-status.err {
  color: #ff9aa6;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

/* Legal */
.legal h2 {
  font-size: 1.3rem;
  margin-top: 2.2rem;
}

.legal p {
  color: var(--muted);
}

.legal a {
  color: var(--accent);
}

.legal h3 {
  font-size: 1.02rem;
  margin: 1.4rem 0 0.4rem;
}

.legal ul {
  color: var(--muted);
  padding-left: 1.3rem;
  margin: 0.6rem 0 1rem;
}

.legal li {
  margin-bottom: 0.45rem;
}

.legal li strong {
  color: var(--text);
  font-weight: 600;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.2rem;
  font-size: 0.93rem;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.legal th {
  color: var(--text);
  font-weight: 600;
  background: var(--surface);
}

.legal td {
  color: var(--muted);
}

.legal code {
  font-size: 0.88em;
  color: var(--accent-2);
}

.legal-meta {
  margin: 1.2rem 0 0;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

.legal-toc {
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.legal-toc > p {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.3rem;
  columns: 2;
  column-gap: 2rem;
  font-size: 0.93rem;
}

.legal-toc li {
  margin-bottom: 0.3rem;
  break-inside: avoid;
}

.legal-toc a {
  text-decoration: none;
}

.legal h2[id] {
  scroll-margin-top: 6rem;
}

.legal-related {
  margin-top: 2.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.legal-card {
  display: block;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.legal-card:hover {
  border-color: rgba(124, 156, 255, 0.5);
  transform: translateY(-2px);
}

.legal-card h2 {
  font-size: 1.12rem;
  margin: 0 0 0.5rem;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-hub-notes {
  margin-top: 2.5rem;
}

.contact-direct p + p {
  margin-top: 0.6rem;
}

.contact-direct a,
.contact-aside .fine a {
  color: var(--accent);
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-bottom: 1rem;
}

.footer-policies a {
  color: var(--muted);
  text-decoration: none;
}

.footer-policies a:hover {
  color: var(--text);
}

.account-links {
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
}

.account-links li {
  margin-bottom: 0.45rem;
}

.account-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.legal-fine {
  margin: 1.1rem 0 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--faint);
  text-align: center;
}

.legal-fine a,
.legal-check a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}

.legal-fine a:hover,
.legal-check a:hover {
  color: var(--accent);
}

.auth-form .check.legal-check {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--faint);
}

@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc ol {
    columns: 1;
  }

  .legal table {
    display: block;
    overflow-x: auto;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #050810;
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36ch;
  margin: 1.1rem 0 1.4rem;
}

.site-footer h4 {
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 0.6rem;
}

.site-footer li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer li a:hover {
  color: var(--text);
}

.footer-legal {
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--faint);
}

.footer-legal p {
  margin: 0 0 0.5rem;
}

.footer-note {
  max-width: 90ch;
}

/* Accounts */
.nav-logout {
  margin: 0;
}

.nav-logout button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 0.96rem/1.4 var(--body);
  cursor: pointer;
  transition: color 0.15s ease;
}

.nav-logout button:hover,
.nav-logout button:focus-visible {
  color: var(--text);
}

.auth-section {
  position: relative;
  padding: 9.5rem 0 6rem;
  min-height: 78vh;
}

.auth-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 360px at 18% 10%, rgba(124, 156, 255, 0.14), transparent 70%),
    radial-gradient(600px 320px at 90% 40%, rgba(79, 209, 197, 0.08), transparent 70%);
  pointer-events: none;
}

.auth-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 460px);
  gap: 4rem;
  align-items: start;
}

.auth-intro {
  min-width: 0;
  padding-top: 1rem;
}

.auth-intro h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  overflow-wrap: break-word;
}

.auth-card,
.account-card {
  min-width: 0;
  padding: 2.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.auth-form .check {
  margin-bottom: 1.2rem;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin: 1.2rem 0 0;
  font-size: 0.94rem;
  color: var(--muted);
}

.auth-links a,
.auth-card .fine a,
.account-card .fine a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

.notice {
  margin: 0 0 1.4rem;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.notice-ok {
  border-color: rgba(126, 232, 201, 0.4);
  background: rgba(79, 209, 197, 0.08);
  color: #b9f3e2;
}

.notice-info {
  border-color: rgba(124, 156, 255, 0.4);
  background: rgba(124, 156, 255, 0.08);
  color: #cdd8ff;
}

.notice-warn {
  border-color: rgba(255, 206, 122, 0.4);
  background: rgba(255, 206, 122, 0.07);
  color: #ffe2ad;
}

.notice-err {
  border-color: rgba(255, 123, 138, 0.45);
  background: rgba(255, 123, 138, 0.08);
  color: #ffc2c9;
}

.account-hero {
  padding-bottom: 2.5rem;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.account-main,
.account-side {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.account-card h2 {
  font-size: 1.35rem;
}

.account-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.account-card-head h2 {
  margin: 0;
}

.kv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.6rem;
}

.kv-stack {
  grid-template-columns: 1fr;
}

.kv div {
  min-width: 0;
}

.kv dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.kv dd {
  margin: 0.3rem 0 0;
  overflow-wrap: anywhere;
}

.pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: capitalize;
  border: 1px solid var(--line-2);
}

.pill-ok {
  color: #7ee8c9;
  border-color: rgba(126, 232, 201, 0.45);
}

.pill-info {
  color: #b4c4ff;
  border-color: rgba(124, 156, 255, 0.45);
}

.pill-warn {
  color: #ffd38a;
  border-color: rgba(255, 206, 122, 0.45);
}

.plan-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  border-top: 1px solid var(--line);
}

.plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.plan-row > div {
  min-width: 0;
}

.plan-row > div > span,
.plan-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.plan-note {
  margin: 0;
  flex-shrink: 0;
}

.plan-row form {
  margin: 0;
  flex-shrink: 0;
}

.plan-row > .btn,
.plan-row form .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.dd-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--faint);
}

.auth-form .field small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--faint);
}

.danger-zone {
  border-color: rgba(255, 123, 138, 0.3);
}

.btn-danger {
  background: rgba(255, 123, 138, 0.12);
  border-color: rgba(255, 123, 138, 0.5);
  color: #ffc2c9;
}

.btn-danger:hover {
  background: rgba(255, 123, 138, 0.2);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero h1 .grad,
  .orb *,
  .orb-core,
  .float-chip,
  .hero-aurora span,
  .hero-stars,
  .marquee-track,
  .scroll-cue span,
  .journey-line line,
  .journey-art *,
  .closing::before,
  .closing::after {
    animation: none !important;
  }
  .orb-signals {
    display: none;
  }
  .app-card,
  .app-card .icon,
  .journey-step {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .card-grid.four,
  .phases,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.6rem;
    background: rgba(7, 11, 20, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .site-nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a:not(.btn) {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .site-nav a.active::after {
    display: none;
  }
  .site-nav .nav-signin {
    padding-left: 0;
    border-left: 0;
  }
  .site-nav .btn {
    margin-top: 1.2rem;
  }
  .nav-logout button {
    width: 100%;
    padding: 0.85rem 0;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .auth-wrap,
  .account-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .auth-section {
    padding-top: 7.5rem;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .card-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .contact-grid,
  .app-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero {
    padding: 5rem 0 6rem;
  }
  .hero-visual {
    max-width: 420px;
    margin: 1rem auto 0;
  }
  .journey-track {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .journey-line {
    display: none;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .section {
    padding: 4.5rem 0;
  }
  .section-tight {
    padding-top: 1rem;
  }
  .page-hero {
    padding: 4.5rem 0 3rem;
  }
  .card-grid.two,
  .card-grid.three,
  .card-grid.four,
  .phases,
  .steps,
  .pillars,
  .field-row {
    grid-template-columns: 1fr;
  }
  .pillar,
  .pillar + .pillar {
    padding: 1.8rem 0 0;
    border-left: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .app-detail,
  .contact-form,
  .auth-card,
  .account-card {
    padding: 1.6rem;
  }
  .kv {
    grid-template-columns: 1fr;
  }
  .plan-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .model {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Home page: hero visual, marquee, highlights, journey, motion
   ========================================================================== */
@keyframes shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-rev {
  to { transform: rotate(-360deg); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.12); }
}

@keyframes travel {
  0% { offset-distance: 0%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes cue {
  0% { transform: translateY(-6px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

@keyframes halo-pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.96); }
  50% { opacity: 0.7; transform: scale(1.04); }
}

.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.hero-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: drift 16s ease-in-out infinite;
}

.hero-aurora span:nth-child(1) {
  width: 420px; height: 420px; left: -6%; top: 6%;
  background: rgba(124, 156, 255, 0.26);
}

.hero-aurora span:nth-child(2) {
  width: 360px; height: 360px; right: 8%; bottom: -8%;
  background: rgba(79, 209, 197, 0.2);
  animation-delay: -5s;
}

.hero-aurora span:nth-child(3) {
  width: 300px; height: 300px; right: 34%; top: -8%;
  background: rgba(176, 140, 255, 0.2);
  animation-delay: -10s;
}

.hero-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #cfd9ff 50%, transparent 52%),
    radial-gradient(1px 1px at 28% 68%, #b7c7ff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 44% 14%, #9ff0e6 50%, transparent 52%),
    radial-gradient(1px 1px at 58% 82%, #cfd9ff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 73% 30%, #b7c7ff 50%, transparent 52%),
    radial-gradient(1px 1px at 86% 62%, #9ff0e6 50%, transparent 52%),
    radial-gradient(1px 1px at 93% 18%, #cfd9ff 50%, transparent 52%),
    radial-gradient(1.5px 1.5px at 6% 84%, #b7c7ff 50%, transparent 52%),
    radial-gradient(1px 1px at 66% 8%, #cfd9ff 50%, transparent 52%);
  animation: twinkle 6s ease-in-out infinite;
}

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  justify-self: end;
}

.orb-stage {
  position: relative;
  aspect-ratio: 1;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

.orb {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}

.orb-core {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 156, 255, 0.28), transparent 72%);
  filter: blur(14px);
  animation: halo-pulse 5s ease-in-out infinite;
  pointer-events: none;
}

.orb-ring ellipse,
.orb-ring circle {
  fill: none;
  stroke: url(#orb-ring);
  stroke-width: 1.2;
  stroke-dasharray: 3 9;
}

.orb-ring {
  transform-origin: 260px 260px;
}

.ring-a { animation: spin 46s linear infinite; }
.ring-b { animation: spin-rev 62s linear infinite; }
.ring-c { animation: spin 90s linear infinite; }

.orb-edge {
  fill: none;
  stroke: rgba(160, 185, 255, 0.55);
  stroke-width: 1.2;
}

.orb-grid ellipse,
.orb-grid line {
  fill: none;
  stroke: rgba(160, 185, 255, 0.16);
  stroke-width: 0.8;
}

.orb-net {
  transform-origin: 260px 260px;
  animation: spin 140s linear infinite;
}

.orb-lines line {
  stroke: rgba(150, 185, 255, 0.42);
  stroke-width: 0.9;
}

.orb-nodes circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 4.5s ease-in-out infinite;
}

.signal {
  fill: #ffffff;
  offset-rotate: 0deg;
  filter: drop-shadow(0 0 5px #7ef0e3) drop-shadow(0 0 10px #7c9cff);
  animation: travel 3s linear infinite;
}

.orbiter {
  transform-origin: 260px 260px;
}

.orbiter circle {
  fill: #4fd1c5;
  filter: drop-shadow(0 0 8px #4fd1c5);
}

.orbiter.o1 { animation: spin 18s linear infinite; }
.orbiter.o2 { animation: spin-rev 26s linear infinite; }
.orbiter.o3 { animation: spin 34s linear infinite; }

.orbiter.o2 circle { fill: #7c9cff; filter: drop-shadow(0 0 8px #7c9cff); }
.orbiter.o3 circle { fill: #b08cff; filter: drop-shadow(0 0 8px #b08cff); }

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(12, 18, 34, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.8);
  animation: float-y 6s ease-in-out infinite;
}

.float-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 10px var(--accent-2);
}

.chip-1 { top: 8%; left: -2%; }
.chip-2 { top: 20%; right: -4%; animation-delay: -1.5s; }
.chip-2 i { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.chip-3 { bottom: 16%; left: -6%; animation-delay: -3s; }
.chip-3 i { background: var(--accent-3); box-shadow: 0 0 10px var(--accent-3); }
.chip-4 { bottom: 6%; right: 4%; animation-delay: -4.5s; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  width: 24px;
  height: 38px;
  margin-left: -12px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  opacity: 0.8;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--accent-2);
  animation: cue 2s ease-in-out infinite;
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  padding: 1.1rem 0 1.1rem 2.2rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--muted);
}

.marquee-track span::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

/* Highlights */
.highlights {
  padding: 3.2rem 0 1rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.highlight {
  position: relative;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
}

.highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--grad);
  opacity: 0.8;
}

.highlight strong {
  display: block;
  font-family: var(--display);
  font-size: 1.95rem;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight > span {
  color: var(--muted);
  font-size: 0.93rem;
}

.highlight .count {
  font: inherit;
  color: inherit;
}

/* Journey */
.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.journey-line {
  position: absolute;
  left: 16%;
  right: 16%;
  top: 56px;
  width: 68%;
  height: 12px;
  overflow: visible;
  pointer-events: none;
}

.journey-line line {
  stroke: rgba(124, 156, 255, 0.55);
  stroke-width: 2;
  stroke-dasharray: 6 10;
  animation: flow 14s linear infinite;
  vector-effect: non-scaling-stroke;
}

.journey-step {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.journey-step:hover .journey-art {
  box-shadow: 0 0 56px -6px rgba(124, 156, 255, 0.8), inset 0 0 24px rgba(79, 209, 197, 0.14);
}

.journey-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124, 156, 255, 0.22), rgba(7, 11, 20, 0.9) 78%);
  border: 1px solid rgba(124, 156, 255, 0.4);
  box-shadow: 0 0 40px -10px rgba(124, 156, 255, 0.55), inset 0 0 24px rgba(79, 209, 197, 0.08);
}

.journey-art svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: #b9c8ff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.journey-art svg .fill {
  fill: rgba(79, 209, 197, 0.22);
  stroke: var(--accent-2);
}

.journey-art svg .halo {
  stroke: rgba(79, 209, 197, 0.5);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: halo-pulse 3.6s ease-in-out infinite;
}

.journey-num {
  display: block;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.journey-step h3 {
  margin-bottom: 0.5rem;
}

.journey-step p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 32ch;
}

/* Richer cards */
.app-card {
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 156, 255, 0.16), transparent 60%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.app-card:hover::before {
  opacity: 1;
}

.app-card > * {
  position: relative;
  z-index: 1;
}

.app-card .icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.app-card:hover .icon {
  transform: translateY(-3px) rotate(-6deg) scale(1.06);
  box-shadow: 0 12px 28px -10px rgba(124, 156, 255, 0.7);
  background: linear-gradient(140deg, rgba(124, 156, 255, 0.4), rgba(79, 209, 197, 0.25));
}

.pillar-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(124, 156, 255, 0.45);
  background: rgba(124, 156, 255, 0.1);
  box-shadow: 0 0 22px -6px rgba(124, 156, 255, 0.6);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

/* Closing band: rotating rings */
.closing::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 760px;
  height: 760px;
  margin: -380px 0 0 -380px;
  z-index: -1;
  border-radius: 50%;
  border: 1px dashed rgba(124, 156, 255, 0.22);
  box-shadow: inset 0 0 0 90px rgba(124, 156, 255, 0.02), 0 0 0 110px rgba(79, 209, 197, 0.015);
  animation: spin 80s linear infinite;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  z-index: 60;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad);
  pointer-events: none;
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { max-width: 400px; margin: 1.5rem auto 0; justify-self: center; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
  .chip-3 { left: 0; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-track { grid-template-columns: 1fr; gap: 2.4rem; }
  .journey-line { display: none; }
  .scroll-cue { display: none; }
}

@media (max-width: 640px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .float-chip { font-size: 0.78rem; padding: 0.4rem 0.7rem; }
  .closing::after { width: 520px; height: 520px; margin: -260px 0 0 -260px; }
}