:root {
  --bg: #0c1020;
  --panel: #141a2e;
  --panel-2: #1a2238;
  --line: #2c3858;
  --text: #eef4ff;
  --muted: #8fa0c1;
  --accent: #4da3ff;
  --accent-2: #8cc8ff;
  --copper: #d6873a;
  --green: #38e8a5;
  --danger: #ff5a74;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 74% 28%, rgba(77, 163, 255, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(77, 163, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(140, 200, 255, 0.07) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 32px 32px, 32px 32px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green), var(--copper));
  transform: scaleX(0);
  transform-origin: left center;
  animation: scrollProgress linear both;
  animation-timeline: scroll(root);
}

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

.preface-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 22px 0 28px;
}

.launch-nav {
  position: sticky;
  top: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  backdrop-filter: blur(14px);
}

.nav-actions,
.preface-auth-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--accent);
  background: rgba(20, 26, 46, 0.82);
  box-shadow: inset 0 0 16px rgba(77, 163, 255, 0.18), 0 0 24px rgba(77, 163, 255, 0.14);
}

.brand-mark img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

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

.nav-action {
  border: 1px solid rgba(140, 200, 255, 0.36);
  background: rgba(16, 24, 43, 0.74);
  padding: 10px 16px;
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-action:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  transform: translateY(-1px);
}

.preface-auth-nav {
  min-height: 38px;
}

.preface-auth-nav a,
.preface-auth-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(140, 200, 255, 0.24);
  border-radius: 6px;
  padding: 0 12px;
  color: #dce8ff;
  background: rgba(10, 16, 30, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.preface-auth-nav a:hover {
  border-color: var(--green);
  color: var(--green);
}

.preface-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 9, 18, 0.68);
}

.preface-feedback-modal[hidden] {
  display: none;
}

.preface-feedback-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 420px);
  gap: 20px;
  align-items: center;
  max-width: min(720px, 100%);
  padding: 22px;
  border: 1px solid rgba(77, 163, 255, 0.42);
  border-radius: 8px;
  background: #101827;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.preface-feedback-card img {
  width: 160px;
  max-width: 100%;
  object-fit: contain;
}

.preface-feedback-card h2,
.preface-feedback-card p {
  margin: 0 0 10px;
}

.preface-feedback-card h2 {
  font-size: 24px;
}

.preface-feedback-card textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  color: var(--text);
  background: #08111a;
  font: 13px/1.45 Inter, "Segoe UI", sans-serif;
}

.preface-feedback-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preface-feedback-actions button {
  min-height: 38px;
  border: 1px solid rgba(140, 200, 255, 0.3);
  border-radius: 6px;
  color: var(--text);
  background: rgba(16, 24, 43, 0.9);
  padding: 0 14px;
  font-weight: 800;
}

#prefaceFeedbackSubmit {
  border-color: var(--green);
  color: #06150f;
  background: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 220px);
  padding: 58px 0 34px;
}

.hero-copy {
  animation: riseIn 0.75s ease both;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgba(77, 163, 255, 0.34);
  background: rgba(20, 26, 46, 0.78);
  color: var(--accent-2);
  padding: 8px 12px;
  font-size: 13px;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: #c8d6ef;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.primary-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border: 1px solid rgba(77, 163, 255, 0.8);
  background: linear-gradient(135deg, var(--accent), var(--green));
  color: #06150f;
  padding: 0 22px 0 26px;
  font-weight: 800;
  box-shadow: 0 18px 48px rgba(77, 163, 255, 0.24);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: translateX(-120%);
  animation: sheen 2.6s ease-in-out infinite;
}

.primary-cta span {
  position: relative;
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(56, 232, 165, 0.22);
}

.cta-arrow {
  font-size: 20px;
}

.hero-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
  animation: riseIn 0.85s ease 0.1s both;
}

.board-stage {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1.08;
  border: 1px solid rgba(44, 56, 88, 0.92);
  background:
    linear-gradient(90deg, rgba(77, 163, 255, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(140, 200, 255, 0.09) 1px, transparent 1px),
    linear-gradient(145deg, rgba(20, 26, 46, 0.92), rgba(11, 17, 32, 0.95));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 0 80px rgba(77, 163, 255, 0.08);
  overflow: hidden;
}

.board-stage::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 220deg, transparent, rgba(77, 163, 255, 0.16), transparent, rgba(214, 135, 58, 0.16), transparent);
  animation: rotateGlow 9s linear infinite;
}

.chip-card,
.floating-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(140, 200, 255, 0.36);
  background: rgba(14, 20, 38, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

.chara {
  position: absolute;
  right: 42px;
  bottom: 22px;
  z-index: 4;
  width: 150px;
  height: 286px;
  --chara-scale: 1;
  transform-origin: right bottom;
  animation: charaFloat 4.8s ease-in-out infinite;
}

.chara-head {
  position: absolute;
  left: 44px;
  top: 49px;
  width: 62px;
  height: 70px;
  border: 2px solid #c77845;
  background: #d99262;
  border-radius: 44% 44% 48% 48%;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.chara-hair {
  position: absolute;
  left: 6px;
  right: 6px;
  top: -2px;
  height: 23px;
  background: #1b1720;
  border-radius: 22px 22px 12px 12px;
}

.chara-hair::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  width: 13px;
  height: 18px;
  background: #1b1720;
  border-radius: 0 0 12px 12px;
  transform: rotate(16deg);
}

.chara-cap {
  position: absolute;
  left: 35px;
  top: 22px;
  z-index: 2;
  width: 78px;
  height: 36px;
  background: #17223b;
  border: 2px solid var(--accent);
  border-radius: 38px 38px 12px 12px;
  box-shadow: 0 0 18px rgba(77, 163, 255, 0.25);
}

.chara-cap::after {
  content: "";
  position: absolute;
  right: -21px;
  bottom: 1px;
  width: 30px;
  height: 10px;
  background: #17223b;
  border: 2px solid var(--accent);
  border-left: 0;
  border-radius: 0 15px 15px 0;
}

.cap-flag {
  position: absolute;
  left: 27px;
  top: 8px;
  width: 24px;
  height: 15px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: #fff;
  overflow: hidden;
}

.cap-flag span {
  display: block;
  height: 33.333%;
}

.flag-saffron {
  background: #ff9933;
}

.flag-white {
  position: relative;
  background: #ffffff;
}

.flag-white span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid #000080;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.flag-green {
  background: #138808;
}

.chara-eye {
  position: absolute;
  top: 35px;
  width: 6px;
  height: 9px;
  background: #10182b;
  border-radius: 50%;
  animation: charaBlink 5s ease-in-out infinite;
}

.chara-eye.eye-left {
  left: 18px;
}

.chara-eye.eye-right {
  right: 18px;
}

.chara-smile {
  position: absolute;
  left: 23px;
  top: 51px;
  width: 17px;
  height: 8px;
  border-bottom: 2px solid #7b3427;
  border-radius: 0 0 18px 18px;
}

.chara-neck {
  position: absolute;
  left: 65px;
  top: 113px;
  width: 20px;
  height: 20px;
  background: #d99262;
  border-left: 2px solid #c77845;
  border-right: 2px solid #c77845;
}

.chara-body {
  position: absolute;
  left: 38px;
  top: 128px;
  width: 74px;
  height: 78px;
  background: #f5f8ff;
  border: 2px solid rgba(140, 200, 255, 0.68);
  border-radius: 17px 17px 12px 12px;
  overflow: hidden;
}

.jersey-panel {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #d92333 0 23%, transparent 23% 77%, #d92333 77%),
    linear-gradient(#d92333 0 15px, transparent 15px);
}

.shirt-collar {
  position: absolute;
  left: 23px;
  top: 0;
  z-index: 2;
  width: 28px;
  height: 20px;
  background: #f5f8ff;
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

.chara-arm {
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 72px;
  background: #d99262;
  border: 2px solid #c77845;
  border-radius: 14px;
}

.chara-arm::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -12px;
  width: 20px;
  height: 20px;
  background: #d99262;
  border: 2px solid #c77845;
  border-radius: 50%;
}

.chara-arm.arm-left {
  left: 24px;
  top: 134px;
  transform: rotate(13deg);
}

.chara-arm.arm-right {
  right: 19px;
  top: 117px;
  height: 82px;
  transform-origin: 50% 12px;
  animation: charaWave 1.8s ease-in-out infinite;
}

.chara-leg {
  position: absolute;
  top: 202px;
  width: 27px;
  height: 60px;
  background: #1e5b9c;
  border: 2px solid #163f6e;
  border-radius: 0 0 10px 10px;
}

.leg-left {
  left: 45px;
  transform: rotate(2deg);
}

.leg-right {
  right: 45px;
  transform: rotate(-2deg);
}

.chara-shoe {
  position: absolute;
  top: 257px;
  width: 38px;
  height: 14px;
  background: #10182b;
  border: 1px solid rgba(140, 200, 255, 0.34);
}

.shoe-left {
  left: 34px;
  border-radius: 16px 4px 6px 6px;
}

.shoe-right {
  right: 34px;
  border-radius: 4px 16px 6px 6px;
}

.chara-figure {
  position: fixed;
  right: -18px;
  bottom: 12px;
  z-index: 30;
  width: clamp(150px, 18vw, 220px);
  pointer-events: none;
  --chara-render-scale: 1;
  animation: charaRenderFloat 4.6s ease-in-out infinite, guideNod 7.2s ease-in-out infinite;
}

.chara-figure::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 18px;
  height: 18px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.36), transparent 68%);
  filter: blur(4px);
  animation: charaShadow 4.6s ease-in-out infinite;
}

.chara-render {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.26)) drop-shadow(0 0 16px rgba(77, 163, 255, 0.18));
}

.chara-bubble {
  position: absolute;
  left: auto;
  right: calc(100% - 18px);
  top: 11%;
  z-index: 4;
  width: min(178px, 64vw);
  border: 1px solid rgba(140, 200, 255, 0.42);
  background: rgba(12, 16, 32, 0.92);
  color: var(--text);
  padding: 9px 11px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 0 20px rgba(77, 163, 255, 0.08);
  animation: bubblePulse 3.8s ease-in-out infinite;
}

.chara-bubble::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 46%;
  width: 18px;
  height: 18px;
  border-top: 1px solid rgba(140, 200, 255, 0.42);
  border-right: 1px solid rgba(140, 200, 255, 0.42);
  background: rgba(12, 16, 32, 0.92);
  transform: rotate(45deg);
}

.chara-bubble strong,
.chara-bubble span {
  display: block;
}

.chara-bubble strong {
  color: var(--green);
  font-size: 15px;
}

.chara-bubble span {
  margin-top: 3px;
  color: #c8d6ef;
  font-size: 11px;
  line-height: 1.3;
}

.wave-ring {
  position: absolute;
  left: 4%;
  top: 17%;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 2px solid rgba(56, 232, 165, 0.72);
  border-radius: 50%;
  opacity: 0;
  animation: waveSignal 1.8s ease-out infinite;
}

.ring-two {
  animation-delay: 0.62s;
}

.guide-spark {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  background: var(--copper);
  box-shadow: 0 0 16px rgba(214, 135, 58, 0.62);
  animation: guideSpark 2.7s ease-in-out infinite;
}

.spark-one {
  left: 12%;
  top: 11%;
}

.spark-two {
  left: 23%;
  top: 19%;
  animation-delay: -0.9s;
}

.spark-three {
  left: 3%;
  top: 27%;
  animation-delay: -1.8s;
}

.main-chip {
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 242px;
  height: 202px;
  transform: translate(-50%, -50%);
  animation: floatMain 4.8s ease-in-out infinite;
}

.main-chip img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(77, 163, 255, 0.52));
}

.main-chip strong {
  font-size: 30px;
}

.main-chip small,
.floating-card span {
  color: var(--muted);
  font-size: 12px;
}

.pin-strip {
  position: absolute;
  left: 9%;
  right: 9%;
  height: 9px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 27px);
}

.pin-strip.top {
  top: -5px;
}

.pin-strip.bottom {
  bottom: -5px;
}

.floating-card {
  width: 150px;
  padding: 16px;
  animation: floatSide 4.2s ease-in-out infinite;
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  margin-top: 6px;
}

.card-one {
  left: 38px;
  top: 82px;
}

.card-two {
  right: 34px;
  top: 124px;
  animation-delay: -1.2s;
}

.card-three {
  left: 74px;
  bottom: 84px;
  animation-delay: -2.2s;
}

.trace {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--copper), var(--accent), transparent);
  transform-origin: left center;
  animation: tracePulse 2.8s ease-in-out infinite;
}

.trace-a {
  left: 80px;
  top: 230px;
  width: 430px;
}

.trace-b {
  left: 138px;
  top: 332px;
  width: 340px;
  transform: rotate(-28deg);
  animation-delay: -0.9s;
}

.trace-c {
  left: 250px;
  top: 150px;
  width: 290px;
  transform: rotate(38deg);
  animation-delay: -1.7s;
}

.node {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border: 2px solid var(--green);
  background: #0c1020;
  box-shadow: 0 0 22px rgba(56, 232, 165, 0.42);
  animation: blinkNode 2.2s ease-in-out infinite;
}

.n1 {
  left: 78px;
  top: 224px;
}

.n2 {
  right: 70px;
  top: 224px;
  animation-delay: -0.6s;
}

.n3 {
  left: 132px;
  bottom: 180px;
  animation-delay: -1.2s;
}

.n4 {
  right: 132px;
  bottom: 148px;
  animation-delay: -1.8s;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 20px;
}

.feature-strip article {
  min-height: 132px;
  border: 1px solid rgba(44, 56, 88, 0.88);
  background: rgba(20, 26, 46, 0.72);
  padding: 18px;
  animation: riseIn 0.75s ease both;
}

.feature-strip article:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-strip article:nth-child(3) {
  animation-delay: 0.16s;
}

.feature-strip span {
  color: var(--copper);
  font-weight: 800;
  font-size: 13px;
}

.feature-strip strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.feature-strip p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.scroll-panel,
.metric-band,
.about-preface,
.final-launch {
  margin-top: 78px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  animation: revealSection 0.9s ease forwards;
  animation-timeline: view();
  animation-range: entry 12% cover 36%;
}

.workflow-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: center;
  border-top: 1px solid rgba(44, 56, 88, 0.72);
  padding-top: 64px;
}

.section-kicker {
  width: fit-content;
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-kicker {
  margin: 0 auto 18px;
  border: 1px solid rgba(77, 163, 255, 0.52);
  background: rgba(12, 16, 32, 0.78);
  color: var(--accent-2);
  padding: 10px 22px;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 900;
  text-align: center;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(77, 163, 255, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), inset 0 0 24px rgba(77, 163, 255, 0.1);
  animation: aboutKickerFloat 3.2s ease-in-out infinite;
}

.about-beta-line {
  width: fit-content;
  margin: -8px auto 16px;
  border-top: 1px solid rgba(140, 200, 255, 0.28);
  color: rgba(238, 244, 255, 0.52);
  padding-top: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.workflow-panel p:not(.section-kicker) {
  max-width: 560px;
  margin: 18px 0 0;
  color: #c8d6ef;
  font-size: 17px;
  line-height: 1.72;
}

.flow-lanes {
  position: relative;
  display: grid;
  gap: 14px;
}

.flow-lanes::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--green), var(--copper));
  animation: lanePulse 3s ease-in-out infinite;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 82px;
  border: 1px solid rgba(44, 56, 88, 0.86);
  background: rgba(20, 26, 46, 0.78);
  padding: 14px 18px;
  box-shadow: inset 0 0 26px rgba(77, 163, 255, 0.05);
}

.flow-step strong,
.flow-step small {
  grid-column: 2;
}

.flow-step strong {
  font-size: 19px;
}

.flow-step small {
  color: var(--muted);
}

.flow-dot {
  grid-row: 1 / span 2;
  width: 17px;
  height: 17px;
  border: 2px solid var(--green);
  background: var(--bg);
  box-shadow: 0 0 22px rgba(56, 232, 165, 0.42);
  animation: blinkNode 2.4s ease-in-out infinite;
}

.flow-step:nth-child(2) .flow-dot {
  animation-delay: -0.5s;
}

.flow-step:nth-child(3) .flow-dot {
  animation-delay: -1s;
}

.flow-step:nth-child(4) .flow-dot {
  animation-delay: -1.5s;
}

.upcoming-updates {
  display: grid;
  gap: 24px;
  border: 1px solid rgba(44, 56, 88, 0.86);
  background:
    linear-gradient(90deg, rgba(77, 163, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(140, 200, 255, 0.055) 1px, transparent 1px),
    rgba(13, 19, 36, 0.82);
  background-size: 30px 30px;
  padding: clamp(24px, 4.5vw, 46px);
}

.updates-heading {
  max-width: 820px;
}

.updates-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

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

.updates-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 360px;
  border: 1px solid rgba(140, 200, 255, 0.2);
  background: linear-gradient(145deg, rgba(20, 26, 46, 0.94), rgba(8, 14, 28, 0.92));
  padding: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 42px rgba(77, 163, 255, 0.055);
}

.updates-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 232, 165, 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.updates-grid article:hover::before {
  opacity: 1;
}

.updates-grid img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 150px;
  border: 1px solid rgba(77, 163, 255, 0.24);
  background: rgba(8, 14, 28, 0.72);
  object-fit: contain;
  padding: 18px;
}

.updates-grid .chara-update-card img {
  height: 180px;
  padding: 0;
  object-position: center bottom;
}

.updates-grid span,
.updates-grid h3,
.updates-grid p {
  position: relative;
  z-index: 1;
}

.updates-grid span {
  width: fit-content;
  border: 1px solid rgba(56, 232, 165, 0.34);
  color: var(--green);
  background: rgba(56, 232, 165, 0.08);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.updates-grid h3 {
  margin: 0;
  color: #eef4ff;
  font-size: 22px;
  line-height: 1.15;
}

.updates-grid p {
  margin: 0;
  color: #b7c7e2;
  font-size: 14px;
  line-height: 1.65;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-band article {
  border: 1px solid rgba(44, 56, 88, 0.86);
  background: linear-gradient(145deg, rgba(20, 26, 46, 0.9), rgba(12, 16, 32, 0.8));
  padding: 24px;
}

.metric-band strong {
  display: block;
  color: var(--accent-2);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.metric-band span {
  color: var(--muted);
}

.about-preface {
  border: 1px solid rgba(44, 56, 88, 0.86);
  background:
    linear-gradient(90deg, rgba(77, 163, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(140, 200, 255, 0.06) 1px, transparent 1px),
    rgba(20, 26, 46, 0.74);
  background-size: 28px 28px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: inset 0 0 46px rgba(77, 163, 255, 0.06);
}

.about-heading {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  max-width: 820px;
}

.about-heading>div {
  text-align: left;
}

.about-heading img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  align-self: center;
  margin-top: 42px;
  border: 1px solid rgba(77, 163, 255, 0.5);
  background: rgba(12, 16, 32, 0.74);
  padding: 14px;
  filter: drop-shadow(0 0 18px rgba(77, 163, 255, 0.28));
}

.about-heading h2 {
  font-size: clamp(36px, 5vw, 66px);
}

.about-heading p:not(.section-kicker) {
  margin: 12px 0 0;
  color: #c8d6ef;
  font-size: 17px;
  line-height: 1.7;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.about-team article {
  position: relative;
  min-height: 294px;
  border: 1px solid rgba(44, 56, 88, 0.9);
  background: linear-gradient(145deg, rgba(12, 16, 32, 0.78), rgba(26, 34, 56, 0.72));
  padding: 16px;
  overflow: hidden;
}

.about-team article::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--green), var(--copper));
  opacity: 0.82;
}

.about-team img {
  display: block;
  width: min(100%, 178px);
  height: 178px;
  margin: 16px auto 0;
  object-fit: contain;
  object-position: top center;
  border: 1px solid rgba(140, 200, 255, 0.18);
  background: rgba(8, 12, 24, 0.7);
  filter: saturate(1.04);
}

.about-team h3 {
  margin: 14px 0 4px;
  font-size: 18px;
  line-height: 1.2;
}

.about-team p {
  margin: 0;
  color: var(--muted);
}

.about-rights {
  margin: 22px 0 0;
  border-top: 1px solid rgba(44, 56, 88, 0.72);
  color: var(--muted);
  padding-top: 16px;
  font-size: 13px;
}

.final-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 240px;
  border: 1px solid rgba(77, 163, 255, 0.28);
  background:
    linear-gradient(90deg, rgba(77, 163, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(140, 200, 255, 0.08) 1px, transparent 1px),
    rgba(20, 26, 46, 0.82);
  background-size: 30px 30px;
  padding: clamp(24px, 5vw, 54px);
}

.contact-feedback-section {
  align-items: stretch;
}

.feedback-space,
.contact-space {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.feedback-space {
  flex: 1.2;
}

.contact-space {
  flex: 0.8;
}

.feedback-space textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  border: 1px solid rgba(140, 200, 255, 0.24);
  border-radius: 8px;
  padding: 14px;
  color: var(--text);
  background: rgba(8, 14, 26, 0.82);
  font: 14px/1.5 Inter, "Segoe UI", sans-serif;
}

.feedback-space button,
.contact-space>a:not(.primary-cta) {
  width: fit-content;
  min-height: 42px;
  border: 1px solid rgba(56, 232, 165, 0.48);
  border-radius: 6px;
  padding: 0 16px;
  color: #06150f;
  background: var(--green);
  font-weight: 800;
}

.contact-space>a:not(.primary-cta) {
  display: inline-flex;
  align-items: center;
}

.contact-space .primary-cta {
  margin-top: 8px;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollProgress {
  to {
    transform: scaleX(1);
  }
}

@keyframes revealSection {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lanePulse {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

@keyframes charaFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg) scale(var(--chara-scale));
  }

  50% {
    transform: translateY(-9px) rotate(1deg) scale(var(--chara-scale));
  }
}

@keyframes charaBlink {
  0%,
  44%,
  50%,
  100% {
    transform: scaleY(1);
  }

  47% {
    transform: scaleY(0.18);
  }
}

@keyframes charaWave {
  0%,
  100% {
    transform: rotate(-34deg);
  }

  50% {
    transform: rotate(-72deg);
  }
}

@keyframes charaRenderFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg) scale(var(--chara-render-scale));
  }

  50% {
    transform: translateY(-11px) rotate(1deg) scale(var(--chara-render-scale));
  }
}

@keyframes charaShadow {
  0%,
  100% {
    opacity: 0.38;
    transform: scaleX(1);
  }

  50% {
    opacity: 0.24;
    transform: scaleX(0.86);
  }
}

@keyframes guideNod {
  0%,
  100% {
    filter: saturate(1);
  }

  48%,
  56% {
    filter: saturate(1.08);
  }
}

@keyframes bubblePulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 0 20px rgba(77, 163, 255, 0.08);
  }

  50% {
    transform: translateY(-5px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32), inset 0 0 26px rgba(56, 232, 165, 0.1);
  }
}

@keyframes waveSignal {
  0% {
    opacity: 0.75;
    transform: scale(0.2);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes guideSpark {
  0%,
  100% {
    opacity: 0.28;
    transform: translateY(0) rotate(0deg) scale(0.8);
  }

  50% {
    opacity: 1;
    transform: translateY(-8px) rotate(45deg) scale(1.15);
  }
}

@keyframes aboutKickerFloat {
  0%,
  100% {
    transform: translateY(0);
    filter: brightness(1);
  }

  50% {
    transform: translateY(-6px);
    filter: brightness(1.22);
  }
}

@keyframes sheen {
  48%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes rotateGlow {
  to {
    transform: rotate(1turn);
  }
}

@keyframes floatMain {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-12px);
  }
}

@keyframes floatSide {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes tracePulse {
  0%,
  100% {
    opacity: 0.4;
    filter: saturate(0.8);
  }

  50% {
    opacity: 1;
    filter: saturate(1.4) drop-shadow(0 0 10px rgba(77, 163, 255, 0.44));
  }
}

@keyframes blinkNode {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.88);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
  }

  .hero-visual {
    min-height: auto;
  }

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

  .workflow-panel {
    grid-template-columns: 1fr;
  }

  .metric-band {
    grid-template-columns: 1fr;
  }

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

  .about-heading {
    grid-template-columns: 72px 1fr;
  }

  .about-heading img {
    width: 72px;
    height: 72px;
    margin-top: 34px;
    padding: 10px;
  }

  .about-team {
    grid-template-columns: 1fr;
  }

  .final-launch {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .preface-shell {
    width: min(100% - 22px, 1180px);
  }

  .launch-nav {
    align-items: flex-start;
  }

  .nav-action {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .primary-cta {
    width: 100%;
  }

  .about-heading {
    grid-template-columns: 1fr;
  }

  .about-heading img {
    margin: 0 auto;
  }

  .board-stage {
    aspect-ratio: 0.86;
  }

  .floating-card {
    width: 132px;
    padding: 13px;
  }

  .main-chip {
    width: 206px;
    height: 176px;
  }

  .chara {
    right: 20px;
    bottom: 18px;
    --chara-scale: 0.78;
    transform-origin: right bottom;
  }

  .chara-figure {
    right: -24px;
    bottom: 6px;
    width: 128px;
  }

  .chara-bubble {
    right: calc(100% - 12px);
    top: 2%;
    width: 124px;
    padding: 8px 9px;
  }

  .chara-bubble strong {
    font-size: 13px;
  }

  .chara-bubble span {
    font-size: 10px;
  }

}

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

@supports not (animation-timeline: view()) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    animation: riseIn 0.8s ease both;
  }

  body::before {
    transform: scaleX(1);
    animation: none;
  }
}
