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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--blue); color: #fff; }

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button { font: inherit; }

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

.skip {
  position: absolute;
  left: 12px; top: -90px;
  z-index: 999;
  background: var(--navy); color: #fff;
  padding: 12px 16px; border-radius: 8px;
  font-family: var(--mono); font-size: 12px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 76px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft), border-color 0.35s var(--ease-soft);
}
.nav[data-theme="dark"] {
  background: var(--navy);
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.nav-inner {
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}
.brand b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue-deep);
  border: 1px solid currentColor;
  padding: 4px 7px;
  border-radius: 4px;
  transform: rotate(-2deg);
}
.nav[data-theme="dark"] .brand .tag { color: var(--cyan); }
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
}
.nav-links a {
  font-size: 14px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.25s var(--ease-soft), color 0.25s var(--ease-soft);
}
.nav-links a:hover { background: var(--ice); color: var(--blue-deep); }
.nav[data-theme="dark"] .nav-links a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-auth { display: flex; align-items: center; gap: 12px; }
.nav-auth .login { font-size: 14px; text-decoration: none; padding: 8px 10px; }
.nav-auth .login:hover { color: var(--blue-deep); }
.nav[data-theme="dark"] .nav-auth .login:hover { color: var(--cyan); }
.nav-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--blue);
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  transition: transform 0.1s linear;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--blue-deep);
  color: #fff;
  border-radius: var(--r-pill);
  box-shadow: 0 12px 30px rgba(47, 75, 224, 0.28);
}
.btn-primary:hover { background: #2740c4; box-shadow: 0 18px 40px rgba(47, 75, 224, 0.34); }
.btn-ghost {
  background: #fff;
  color: var(--blue-deep);
  border-color: var(--line);
  border-radius: 16px;
}
.btn-ghost:hover { border-color: var(--blue); background: var(--ice); }
.btn-light {
  background: #fff;
  color: var(--navy);
  border-radius: var(--r-pill);
}
.btn-light:hover { background: var(--cyan); color: var(--navy); }
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  border-radius: 16px;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--blue-deep);
  border-radius: 10px;
  background: transparent;
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.chip-btn:hover { background: var(--blue-deep); color: #fff; }
.chip-btn svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(76px + clamp(24px, 4.6vh, 58px));
  padding-bottom: clamp(28px, 4.6vh, 54px);
  overflow: clip;
  background:
    radial-gradient(90% 70% at 86% 4%, #dce5ff 0%, rgba(220, 229, 255, 0) 58%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 74%);
  isolation: isolate;
}
.hero-gridbg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(77, 107, 254, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 107, 254, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(78% 68% at 62% 40%, #000 0%, transparent 78%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(77, 107, 254, 0.28) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.28;
  mask-image: radial-gradient(46% 44% at 22% 26%, #000 0%, transparent 75%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(340px circle at var(--mx, 70%) var(--my, 32%), rgba(77, 107, 254, 0.2), transparent 70%);
  pointer-events: none;
  transition: background 0.1s linear;
}
.hero-orb {
  position: absolute;
  z-index: 0;
  width: 44vw;
  height: 44vw;
  max-width: 620px;
  max-height: 620px;
  right: -10vw;
  top: -8vw;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(127, 227, 255, 0.42), rgba(77, 107, 254, 0.18) 56%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
  min-height: calc(100svh - 76px - clamp(52px, 9.2vh, 112px));
}

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

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--t-h1);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: clamp(22px, 3vh, 34px);
}
.mask { display: block; overflow: hidden; padding-bottom: 0.08em; }
.mask > span {
  display: block;
  transition: transform 1.1s var(--ease);
}
.js .mask > span { transform: translateY(116%); }
.hero h1 .line-2 > span { transition-delay: 0.12s; }
.hero h1 em {
  font-style: normal;
  color: var(--blue);
  display: inline-block;
  transform: rotate(-1.4deg);
  transform-origin: 0 80%;
}
body.is-loaded .mask > span { transform: translateY(0); }

.hero-lede {
  max-width: 31em;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  line-height: 1.85;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.endpoint {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 11px 12px 11px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(21, 42, 120, 0.08);
}
.endpoint .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}
.endpoint code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
}
.endpoint .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #1fce8a;
  box-shadow: 0 0 0 4px rgba(31, 206, 138, 0.14);
  flex: none;
}
.endpoint .copy { min-height: 34px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  max-width: 560px;
}
.hero-stats div {
  padding-right: 26px;
  margin-right: 26px;
  border-right: 1px solid var(--line);
}
.hero-stats div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}
.hero-stats span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

/* hero art */
.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 560px);
  height: min(68svh, 650px);
  z-index: 1;
}
.hero-art .ring {
  position: absolute;
  left: 50%; top: 48%;
  width: min(118%, 700px);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px dashed rgba(77, 107, 254, 0.28);
  border-radius: 50%;
  animation: spin 50s linear infinite;
  pointer-events: none;
}
.hero-art .ring::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(77, 107, 254, 0.14);
  border-radius: 50%;
}
@keyframes spin { to { rotate: 360deg; } }

.art-back {
  position: absolute;
  inset: 5% -3% -3% 7%;
  background: linear-gradient(150deg, #4d6bfe 0%, #1d33a8 62%, #0c1746 100%);
  border-radius: 10px 54px 10px 54px;
  transform: rotate(-5deg);
}
.art-frame {
  position: absolute;
  inset: 0 10%;
  border-radius: 54px 10px 54px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-blue);
  transform: rotate(2.2deg);
  transition: clip-path 1.25s var(--ease) 0.18s, opacity 0.5s linear 0.18s, transform 1.25s var(--ease) 0.18s;
}
.js .art-frame { clip-path: inset(0 0 100% 0); opacity: 0; }
body.is-loaded .art-frame {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: rotate(2.2deg);
}
.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
  transform: scale(1.04) translateY(var(--art-y, 0px));
}
.hero-art .outline {
  position: absolute;
  left: -22%;
  top: 6%;
  z-index: -1;
  font-family: var(--display);
  font-size: 15vw;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(77, 107, 254, 0.22);
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
}

.speech {
  position: absolute;
  z-index: 6;
  left: -7%;
  top: 6%;
  width: min(250px, 52%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px 22px 22px 5px;
  padding: 13px 17px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  transition: opacity 0.5s var(--ease) 0.55s, scale 0.6s var(--ease) 0.55s;
}
.js .speech { opacity: 0; scale: 0.7; }
.speech::after {
  content: "";
  position: absolute;
  left: 18px; bottom: -7px;
  width: 13px; height: 13px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
body.is-loaded .speech { opacity: 1; scale: 1; }

.float-chip {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(21, 42, 120, 0.12);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--ink);
  white-space: nowrap;
  transition: opacity 0.5s var(--ease), scale 0.6s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
.js .float-chip { opacity: 0; scale: 0.6; }
.float-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.float-chip--a { right: -6%; top: 20%; transition-delay: 0.7s; }
.float-chip--b { right: 4%; bottom: 20%; transition-delay: 0.85s; animation-delay: 1.2s; }
.float-chip--b .dot { background: #1fce8a; }
body.is-loaded .float-chip { opacity: 1; scale: 1; }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.mini-card {
  position: absolute;
  z-index: 7;
  left: -8%;
  bottom: -3%;
  width: 174px;
  padding: 7px 7px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px 6px 18px 6px;
  box-shadow: var(--shadow);
  transform: rotate(-7deg);
  transition: opacity 0.6s var(--ease) 0.9s, translate 0.7s var(--ease) 0.9s;
}
.js .mini-card { opacity: 0; translate: 0 18px; }
.mini-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px 3px 12px 3px;
}
.mini-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 3px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
body.is-loaded .mini-card { opacity: 1; translate: 0 0; }

.vertical-label {
  position: absolute;
  right: -40px;
  top: 10%;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--blue-deep);
  opacity: 0.8;
}

.hero-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.hero-scroll::after {
  content: "";
  width: 46px; height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: scroll-cue 2.6s var(--ease) infinite;
}
@keyframes scroll-cue {
  0%, 100% { transform: scaleX(0.25); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ---------------------------------------------------------------- ticker */
.ticker-wrap {
  position: relative;
  z-index: 4;
  overflow: clip;
  margin-block: clamp(18px, 3vw, 34px) 0;
}
.ticker {
  background: var(--blue-deep);
  color: #fff;
  padding: 13px 0;
  transform: rotate(-1.1deg) scale(1.03);
  box-shadow: 0 18px 40px rgba(47, 75, 224, 0.2);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 42px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.05em;
  animation: marquee 32s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 42px; white-space: nowrap; }
.ticker-track i { font-style: normal; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- rail */
.rail {
  position: fixed;
  right: 20px;
  top: 50%;
  translate: 0 -50%;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-end;
}
.rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-decoration: none;
  border: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.rail a::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-soft);
  transition: background 0.25s var(--ease), scale 0.25s var(--ease);
}
.rail a span {
  position: absolute;
  right: 34px;
  top: 50%;
  translate: 0 -50%;
  padding: 5px 9px;
  background: var(--navy);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), translate 0.2s var(--ease);
  white-space: nowrap;
}
.rail a:hover span { opacity: 1; translate: 0 -50%; }
.rail a.active { border-color: var(--blue); }
.rail a.active::before { background: var(--blue); scale: 1.5; }

/* ---------------------------------------------------------------- sections */
.section { position: relative; padding-block: clamp(76px, 10vw, 140px); }
.sect-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(34px, 5vw, 64px);
}
.sect-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--t-h2);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.sect-id {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blue-deep);
  white-space: nowrap;
}
.sect-id::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
}
.sect-note { max-width: 32ch; font-size: 13px; color: var(--muted); padding-bottom: 8px; }

/* ---------------------------------------------------------------- profile */
.profile {
  background: var(--navy);
  color: #fff;
  margin-top: -2.2vw;
  padding-block: clamp(94px, 12vw, 170px);
  clip-path: polygon(0 3.6vw, 100% 0, 100% calc(100% - 3.6vw), 0 100%);
  overflow: clip;
}
.profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 80%);
  pointer-events: none;
}
.profile .wrap { position: relative; z-index: 2; }
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
}
.profile-art {
  position: relative;
  justify-self: center;
  width: min(100%, 450px);
  height: min(66svh, 610px);
}
.profile-art .back {
  position: absolute;
  inset: 5% -4% -3% 6%;
  border-radius: 10px 46px 10px 46px;
  background: linear-gradient(155deg, rgba(77, 107, 254, 0.9), rgba(27, 42, 107, 0.4));
  transform: rotate(-4deg);
}
.profile-art .frame {
  position: absolute;
  inset: 0;
  border-radius: 46px 10px 46px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: rotate(2.4deg) translateY(var(--py, 0px));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}
.profile-art .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.profile-art .stamp {
  position: absolute;
  z-index: 3;
  left: -6%; bottom: 7%;
  background: #fff;
  color: var(--ink);
  padding: 9px 13px;
  border-radius: 12px 4px 12px 4px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transform: rotate(-6deg);
  box-shadow: var(--shadow);
}
.profile-art .outline-num {
  position: absolute;
  right: -16%;
  top: -8%;
  z-index: 0;
  font-family: var(--display);
  font-size: 16vw;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(143, 164, 255, 0.3);
  transform: rotate(6deg);
  user-select: none;
}

.profile-copy { position: relative; z-index: 2; }
.profile-copy .kicker-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 16px;
}
.profile-copy .kicker-line::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.profile-copy h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.profile-name {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.4vw, 5.6rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--blue-soft);
  transform: rotate(-1.6deg);
  margin: 6px 0 24px;
}
.profile-name small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  transform: none;
  margin-top: 12px;
}
.profile-quote {
  display: inline-block;
  position: relative;
  background: #eaf0ff;
  color: var(--ink);
  border-radius: 18px 18px 18px 4px;
  padding: 13px 18px;
  font-size: 15px;
  line-height: 1.65;
  transform: rotate(1deg);
  margin-bottom: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}
.profile-bio {
  max-width: 33em;
  color: #c6d2f2;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 26px;
}
.profile-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  max-width: 460px;
}
.profile-meta dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #8fa2d8;
  text-transform: uppercase;
}
.profile-meta dd { margin-top: 3px; font-size: 14px; color: #fff; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.profile-tags span {
  border: 1px solid rgba(127, 227, 255, 0.4);
  color: var(--cyan);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.next-char {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 12px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px 4px 12px 4px;
  color: #9fb0dd;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  transform: rotate(-1.5deg);
}
.next-char b { font-family: var(--display); font-size: 22px; color: var(--blue-soft); font-weight: 400; }

/* ---------------------------------------------------------------- price */
.price {
  background: var(--ice);
  padding-block: clamp(76px, 10vw, 140px);
  overflow: clip;
}
.price .bg-word {
  position: absolute;
  right: -2%;
  top: 2%;
  font-family: var(--display);
  font-size: 18vw;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(77, 107, 254, 0.16);
  transform: rotate(-4deg);
  pointer-events: none;
  user-select: none;
}
.price .wrap { position: relative; z-index: 2; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  align-items: stretch;
  perspective: 1200px;
}
.price-card {
  --rot: -2deg;
  --lift: 0px;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 430px;
  padding: clamp(22px, 2.6vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 42px 10px 42px 10px;
  box-shadow: var(--shadow);
  transform: rotate(var(--rot)) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  transform-style: preserve-3d;
}
.price-card:nth-child(2) { --rot: 1.7deg; border-radius: 10px 42px 10px 42px; }
.price-card:nth-child(3) { --rot: -1.2deg; }
.price-card:hover { --lift: -10px; --rot: 0deg; box-shadow: 0 34px 90px rgba(20, 40, 120, 0.2); }
.price-card--hero {
  background: linear-gradient(155deg, #3f5cf5 0%, #2539b8 60%, #182a8f 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-blue);
  z-index: 2;
}
.price-card--hero:hover { box-shadow: 0 40px 100px rgba(47, 75, 224, 0.4); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--blue-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.pc-tag--light { background: rgba(255, 255, 255, 0.14); color: #fff; }
.pc-index { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.price-card--hero .pc-index { color: #c6d2ff; }
.pc-name {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.pc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.price-card--hero .pc-desc { color: #d3ddff; }
.pc-prices { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.pc-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.price-card--hero .pc-price { border-top-color: rgba(255, 255, 255, 0.2); }
.pc-price span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted); }
.price-card--hero .pc-price span { color: #c6d2ff; }
.pc-price b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}
.price-card--hero .pc-price b { color: #fff; }
.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 13px;
}
.price-card--hero .pc-foot { color: #c6d2ff; border-top-color: rgba(255, 255, 255, 0.24); }
.price-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(24px, 4vw, 40px);
}
.price-foot p { max-width: 54em; font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.price-foot p b { color: var(--ink); }
.price-foot .arrow-link { flex: none; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-decoration: none;
  font-size: 13px;
  color: var(--blue-deep);
  border-bottom: 1px solid currentColor;
}
.arrow-link svg { width: 15px; height: 15px; transition: translate 0.25s var(--ease); }
.arrow-link:hover svg { translate: 4px 0; }

/* ---------------------------------------------------------------- connect */
.connect {
  background: linear-gradient(180deg, #fff 0%, #e8efff 100%);
  overflow: clip;
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  margin-bottom: clamp(34px, 5vw, 54px);
}
.step {
  --rot: -2deg;
  position: relative;
  padding: clamp(22px, 2.8vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px 40px 10px 40px;
  box-shadow: var(--shadow);
  transform: rotate(var(--rot));
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.step:nth-child(2) { --rot: 1.4deg; border-radius: 40px 10px 40px 10px; }
.step:nth-child(3) { --rot: -1deg; }
.step:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 30px 80px rgba(20, 40, 120, 0.18); }
.step b {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.step h3 { font-size: 19px; font-weight: 700; margin: 16px 0 8px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.step .tag {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue-deep);
}
.code {
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: 10px 36px 10px 36px;
  transform: rotate(-1deg);
  box-shadow: 0 30px 80px rgba(8, 13, 30, 0.26);
  overflow: hidden;
}
.code::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: 0.4;
  pointer-events: none;
}
.code-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #9fb0dd;
}
.code-bar .chip-btn { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.code-bar .chip-btn:hover { background: #fff; color: var(--navy); }
.code-body { position: relative; padding: 20px; display: grid; gap: 12px; }
.code-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--mono);
  font-size: clamp(0.72rem, 1vw, 0.84rem);
}
.code-row span { font-size: 11px; letter-spacing: 0.16em; color: #8fa2d8; white-space: nowrap; }
.code-row code { color: #fff; text-align: right; overflow-wrap: anywhere; }
.connect-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.connect-cta .arrow-link { color: var(--blue-deep); }

/* ---------------------------------------------------------------- outro */
.outro {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding-block: clamp(80px, 11vw, 150px) 0;
  overflow: clip;
}
.outro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 60% at 80% 30%, rgba(77, 107, 254, 0.3), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
  mask-image: radial-gradient(85% 85% at 50% 40%, #000, transparent 90%);
  pointer-events: none;
}
.outro .wrap { position: relative; z-index: 2; }
.outro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
}
.outro h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 7.4vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.outro h2 em { font-style: normal; color: var(--cyan); }
.outro p { max-width: 30em; color: #c6d2f2; font-size: 15px; line-height: 1.9; }
.outro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.outro-art {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
  aspect-ratio: 1;
}
.outro-art .ring {
  position: absolute;
  inset: -5%;
  border: 1px dashed rgba(127, 227, 255, 0.4);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.outro-art .face {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  transform: rotate(2deg) translateY(var(--py, 0px));
}
.outro-art .face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.outro-art .speech {
  left: -8%;
  top: 4%;
  width: 210px;
  opacity: 1;
  scale: 1;
  transform: rotate(-4deg);
}
.outro-art .badge {
  position: absolute;
  right: -4%; bottom: 8%;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 10px 3px 10px 3px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  transform: rotate(5deg);
  box-shadow: var(--shadow);
}

.footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(60px, 8vw, 100px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 34px;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.foot-brand b { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: -0.01em; }
.foot-brand p { margin-top: 10px; max-width: 26em; font-size: 12px; color: #8fa2d8; line-height: 1.8; }
.foot-col h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #8fa2d8;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.foot-col a { display: block; padding: 5px 0; font-size: 12.5px; color: #c6d2f2; text-decoration: none; }
.foot-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-legal {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #7f90c4;
}

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] {
  transform: translateY(42px) rotate(calc(var(--rot, 0deg) - 2deg));
  transition: transform 1.05s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: transform;
}
.js [data-reveal="left"] { transform: translateX(-58px) rotate(calc(var(--rot, 0deg) - 2deg)); }
.js [data-reveal="right"] { transform: translateX(58px) rotate(calc(var(--rot, 0deg) + 2deg)); }
.js [data-reveal="scale"] { transform: scale(0.95) rotate(calc(var(--rot, 0deg) - 1deg)); }
.js [data-reveal].in {
  opacity: 1;
  transform: rotate(var(--rot, 0deg)) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .mask > span, .js .art-frame, .speech, .mini-card, .float-chip {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
  }
  .ticker-track, .hero-art .ring, .outro-art .ring, .hero-scroll::after,
  .js .price-grid.in .price-card, .js .steps.in .step { animation: none !important; }
}


@keyframes rise { from { translate: 0 38px; } to { translate: 0 0; } }
.js .price-grid.in .price-card { animation: rise 0.9s var(--ease) both; }
.js .price-grid.in .price-card:nth-child(2) { animation-delay: 0.08s; }
.js .price-grid.in .price-card:nth-child(3) { animation-delay: 0.16s; }
.js .steps.in .step { animation: rise 0.9s var(--ease) both; }
.js .steps.in .step:nth-child(2) { animation-delay: 0.08s; }
.js .steps.in .step:nth-child(3) { animation-delay: 0.16s; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .hero-art { width: min(100%, 500px); height: min(64svh, 600px); }
  .hero h1 { font-size: clamp(3.2rem, 8.8vw, 7.2rem); }
  .vertical-label { display: none; }
  .rail { display: none; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 18px; gap: 34px; }
  .hero { padding-top: calc(76px + 28px); min-height: 0; }
  .hero-art { order: -1; width: min(100%, 420px); height: min(58svh, 520px); }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(3rem, 10vw, 5.4rem); }
  .hero-scroll { display: none; }
  .hero-stats { max-width: none; }
  .profile-grid { grid-template-columns: 1fr; gap: 38px; }
  .profile-art { width: min(100%, 380px); height: 500px; }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .price-card { --rot: 0deg; min-height: 0; }
  .price-card:nth-child(2), .price-card:nth-child(3) { --rot: 0deg; }
  .steps { grid-template-columns: 1fr; max-width: 560px; }
  .step { --rot: 0deg; }
  .step:nth-child(2), .step:nth-child(3) { --rot: 0deg; }
  .outro-grid { grid-template-columns: 1fr; }
  .outro-art { width: min(70vw, 340px); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav { height: 68px; }
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .brand b { font-size: 21px; }
  .brand .tag { display: none; }
  .nav-progress { bottom: -1px; }
  .wrap { padding-inline: var(--gutter); }
  .hero { padding-top: calc(68px + 22px); }
  .hero-art { width: min(82vw, 350px); height: min(46svh, 400px); }
  .art-frame { inset: 0 5%; }
  .speech { left: -4%; top: 3%; width: 55%; font-size: 12px; padding: 10px 13px; }
  .mini-card { width: 132px; left: -4%; }
  .mini-card figcaption { font-size: 11px; }
  .float-chip { font-size: 11px; padding: 7px 10px; }
  .float-chip--a { right: -2%; top: 14%; }
  .float-chip--b { right: 2%; bottom: 14%; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .hero-actions .btn { width: 100%; }
  .endpoint { width: 100%; justify-content: space-between; }
  .endpoint code { font-size: 11px; }
  .hero-stats div { padding-right: 16px; margin-right: 16px; }
  .hero-stats b { font-size: 22px; }
  .sect-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .profile { clip-path: polygon(0 26px, 100% 0, 100% calc(100% - 26px), 0 100%); }
  .profile-art { width: min(80vw, 320px); height: 420px; }
  .profile-name { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .profile-meta { grid-template-columns: 1fr 1fr; }
  .price-foot { flex-direction: column; }
  .code { transform: rotate(-0.5deg); }
  .outro h2 { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-legal { flex-direction: column; gap: 6px; }
}

@media (max-width: 420px) {
  .speech { display: none; }
  .float-chip--a { top: 8%; }
  .hero-art { width: 86vw; }
}
