:root {
  --ink: #131720;
  --muted: #626a78;
  --blue: #6871f4;
  --blue-strong: #5863ef;
  --blue-soft: #eef0ff;
  --lavender: #f5f3ff;
  --line: #e9e8ef;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(68, 58, 139, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.announcement {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  color: #fff;
  background: linear-gradient(90deg, #636cf2, #7379f7);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.announcement span {
  color: #ffd56f;
  font-size: 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 40px;
  text-align: center;
}

.hero-glow,
.closing-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 12%, rgba(112, 104, 255, 0.23), rgba(112, 104, 255, 0.07) 25%, transparent 56%);
}

.hero-shell,
.closing-shell {
  position: relative;
  z-index: 1;
}

.audience-pill,
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid rgba(93, 95, 146, 0.15);
  border-radius: 999px;
  color: #687083;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 8px 28px rgba(84, 73, 156, 0.11);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(12px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(104, 113, 244, 0.11);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.mechanism-section h2,
.proof-section h2,
.closing-section h2 {
  margin: 28px auto 20px;
  font-size: clamp(44px, 6.4vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  font-weight: 800;
}

.hero h1 {
  max-width: 980px;
}

.hero h1 em,
.mechanism-section h2 em,
.closing-section h2 em {
  display: block;
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(104, 113, 244, 0.55);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.hero-subhead {
  max-width: 800px;
  margin: 0 auto 42px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.hero-subhead strong {
  color: #3d4553;
  font-weight: 800;
}

.training-frame {
  width: min(860px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 13px solid var(--white);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: left;
}

.training-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  aspect-ratio: 16 / 9;
  background: #111;
  cursor: pointer;
}

.training-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.training-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 13, 18, 0.08), rgba(10, 13, 18, 0.5)),
    linear-gradient(90deg, transparent 45%, rgba(10, 13, 18, 0.16));
}

.training-button:hover img {
  transform: scale(1.015);
}

.play-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 12px 32px rgba(38, 33, 103, 0.32);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease;
}

.training-button:hover .play-disc {
  transform: translate(-50%, -50%) scale(1.06);
}

.play-disc svg {
  width: 34px;
  fill: #fff;
  transform: translateX(2px);
}

.training-kicker,
.training-copy {
  position: absolute;
  left: 28px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.training-kicker {
  bottom: 54px;
  color: #d9dcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.training-copy {
  bottom: 25px;
  font-size: clamp(17px, 2.3vw, 25px);
  font-weight: 800;
}

.training-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 8px 1px;
  color: #858b98;
  font-size: 12px;
}

.training-note span:first-child {
  color: #323845;
  font-weight: 700;
}

.primary-cta {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 16px 34px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #747cf8, #5e67ed);
  box-shadow: 0 12px 28px rgba(86, 96, 232, 0.3);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.primary-cta:hover {
  box-shadow: 0 16px 34px rgba(86, 96, 232, 0.38);
  transform: translateY(-2px);
}

.authority-line {
  display: flex;
  width: min(820px, 100%);
  justify-content: center;
  gap: 0;
  margin: 42px auto 0;
  border-top: 1px solid rgba(91, 92, 120, 0.12);
  border-bottom: 1px solid rgba(91, 92, 120, 0.12);
}

.authority-line span {
  flex: 1;
  padding: 18px 16px;
  color: #7a8190;
  font-size: 12px;
}

.authority-line span + span {
  border-left: 1px solid rgba(91, 92, 120, 0.12);
}

.authority-line strong {
  display: block;
  margin-bottom: 3px;
  color: #343a47;
  font-size: 15px;
}

.application-section,
.mechanism-section,
.proof-section {
  padding: 90px 0;
  text-align: center;
}

.application-section {
  padding-top: 32px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.application-section h2 {
  margin: 20px 0 10px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-intro {
  max-width: 610px;
  margin: 0 auto 38px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-intro.wide {
  max-width: 780px;
}

.application-embed {
  width: min(860px, 100%);
  min-height: 500px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dedee8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(44, 39, 96, 0.1);
  text-align: left;
}

.form-progress {
  height: 5px;
  background: #eeeefa;
}

.form-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--blue);
  transition: width 220ms ease;
}

#applicationForm {
  min-height: 440px;
}

.form-step {
  display: none;
  min-height: 440px;
  padding: 76px 11% 58px;
}

.form-step.active {
  display: block;
  animation: step-in 230ms ease both;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-number {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.form-step label {
  display: block;
  max-width: 680px;
  margin-bottom: 28px;
  color: #202532;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.form-step input,
.form-step textarea,
.form-step select {
  width: 100%;
  border: 0;
  border-bottom: 2px solid #bfc3ff;
  border-radius: 0;
  outline: 0;
  color: #30364a;
  background: transparent;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.5;
  transition: border-color 150ms ease;
}

.form-step input,
.form-step select {
  min-height: 58px;
}

.form-step textarea {
  resize: vertical;
}

.form-step input:focus,
.form-step textarea:focus,
.form-step select:focus {
  border-color: var(--blue);
}

.form-step input::placeholder,
.form-step textarea::placeholder {
  color: #a6aabc;
}

.form-next,
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 28px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.form-next span {
  opacity: 0.65;
}

.form-error {
  display: none;
  margin: 10px 0 0;
  color: #c54040;
  font-size: 12px;
}

.form-step.has-error .form-error {
  display: block;
}

.form-step.has-error input,
.form-step.has-error textarea,
.form-step.has-error select {
  border-color: #c54040;
}

.form-success {
  display: none;
  min-height: 440px;
  padding: 100px 30px;
  text-align: center;
}

.form-success.visible {
  display: block;
}

.form-success h3 {
  margin-bottom: 10px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.form-success p {
  color: var(--muted);
}

.success-check {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 28px;
}

.embed-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  color: #9297a3;
  font-size: 11px;
}

.mechanism-section {
  position: relative;
  overflow: hidden;
}

.mechanism-section::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(105, 113, 244, 0.09), transparent 42%);
  content: "";
  pointer-events: none;
}

.mechanism-section .shell {
  position: relative;
}

.mechanism-section h2,
.closing-section h2 {
  max-width: 940px;
  font-size: clamp(42px, 6vw, 66px);
}

.mechanism-board {
  width: min(980px, 100%);
  margin: 46px auto 0;
  overflow: hidden;
  border: 1px solid #dfdff0;
  border-radius: 20px;
  background:
    linear-gradient(rgba(101, 108, 180, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(101, 108, 180, 0.055) 1px, transparent 1px),
    #fcfcff;
  background-size: 34px 34px;
  box-shadow: var(--shadow);
  text-align: left;
}

.board-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border-bottom: 1px solid #e5e5f1;
  color: #858ba0;
  background: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.board-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  padding: 48px 34px 28px;
}

.board-flow article {
  padding: 24px 20px;
  border: 1px solid #dedff0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(63, 55, 127, 0.07);
}

.board-flow small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.board-flow h3 {
  margin: 9px 0 8px;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.board-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.flow-arrow {
  align-self: center;
  color: var(--blue);
  font-size: 24px;
}

.mechanism-board blockquote {
  margin: 16px 34px 34px;
  padding: 22px 26px;
  border-left: 4px solid var(--blue);
  color: #1c2130;
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.proof-section h2 {
  max-width: 850px;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 66px);
}

.proof-section .section-intro {
  color: #aeb3c4;
}

.proof-feature {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 0;
  width: min(980px, 100%);
  margin: 48px auto 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #171b24;
  text-align: left;
}

.public-breakdown {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.public-breakdown img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
}

.proof-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.proof-label {
  color: #969dfb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.proof-feature-copy h3 {
  margin: 12px 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.proof-feature-copy p {
  color: #aeb3c4;
  font-size: 14px;
  line-height: 1.6;
}

.proof-feature-copy a {
  color: #aeb3ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.proof-slot {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(100deg, #f4f4f8 25%, #fafafc 37%, #f4f4f8 63%);
  background-size: 400% 100%;
  animation: proofShimmer 3.2s ease-in-out infinite;
}

.proof-slot-filled {
  padding: 0;
  background: var(--line);
  animation: none;
}

.proof-slot-filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proof-tag {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@keyframes proofShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .proof-slot {
    animation: none;
    background: #f4f4f8;
  }
}

.closing-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;
  text-align: center;
}

.closing-section p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fbfbfd;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  color: #6e7481;
  font-size: 12px;
}

.footer-inner span {
  color: #2b303c;
  font-weight: 700;
}

.footer-inner p {
  max-width: 570px;
  margin: 0;
  line-height: 1.55;
  text-align: right;
}

:focus-visible {
  outline: 3px solid rgba(104, 113, 244, 0.48);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .board-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

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

  .public-breakdown {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

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

@media (max-width: 640px) {
  .shell {
    width: min(100% - 28px, 1080px);
  }

  .announcement {
    min-height: 42px;
    font-size: 11px;
  }

  .hero {
    padding: 34px 0 58px;
  }

  .audience-pill,
  .section-pill {
    padding: 9px 13px;
    font-size: 11px;
  }

  .hero h1,
  .mechanism-section h2,
  .proof-section h2,
  .closing-section h2 {
    margin-top: 22px;
    font-size: clamp(37px, 11vw, 52px);
    line-height: 1.01;
  }

  .hero-subhead {
    margin-bottom: 30px;
    font-size: 15px;
  }

  .training-frame {
    border-width: 7px;
    border-radius: 13px;
  }

  .play-disc {
    width: 64px;
    height: 64px;
    border-width: 5px;
  }

  .play-disc svg {
    width: 26px;
  }

  .training-kicker,
  .training-copy {
    left: 16px;
  }

  .training-kicker {
    bottom: 38px;
    font-size: 8px;
  }

  .training-copy {
    bottom: 17px;
    font-size: 14px;
  }

  .training-note {
    display: block;
    padding: 9px 5px 1px;
    line-height: 1.5;
  }

  .training-note span {
    display: block;
  }

  .primary-cta {
    width: 100%;
    min-height: 54px;
    margin-top: 26px;
    padding: 15px 18px;
    font-size: 12px;
  }

  .authority-line {
    display: block;
    margin-top: 30px;
  }

  .authority-line span {
    display: block;
    padding: 13px;
  }

  .authority-line span + span {
    border-top: 1px solid rgba(91, 92, 120, 0.12);
    border-left: 0;
  }

  .application-section,
  .mechanism-section,
  .proof-section {
    padding: 68px 0;
  }

  .application-section h2 {
    font-size: 44px;
  }

  .application-embed {
    min-height: 470px;
    border-radius: 13px;
  }

  #applicationForm,
  .form-step,
  .form-success {
    min-height: 410px;
  }

  .form-step {
    padding: 54px 24px 42px;
  }

  .form-step label {
    font-size: 24px;
  }

  .form-step input,
  .form-step textarea,
  .form-step select {
    font-size: 18px;
  }

  .embed-footer {
    display: none;
  }

  .board-topline {
    display: block;
    padding: 13px 16px;
  }

  .board-topline span {
    display: block;
  }

  .board-topline span + span {
    margin-top: 4px;
  }

  .board-flow {
    padding: 28px 18px 18px;
  }

  .mechanism-board blockquote {
    margin: 10px 18px 22px;
    padding: 18px;
  }

  .proof-feature-copy {
    padding: 26px 22px;
  }

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

  .proof-slot {
    min-height: 170px;
  }

  .proof-slot strong {
    margin-top: 28px;
  }

  .closing-section {
    padding: 76px 0 82px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner p {
    margin-top: 12px;
    text-align: left;
  }
}

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