/* =========================================================
   VenturaX waitlist — landing page (index.html).
   Requires base.css and shell.css.
   ========================================================= */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* A soft shade behind the copy so it reads over the brightest hills */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 14%;
  width: min(1100px, 120vw);
  height: 46%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(5, 4, 14, 0.42), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: clamp(118px, 21vh, 210px) 16px 48px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(185, 164, 255, 0.28);
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.12);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ddd3ff;
  animation: rise 0.9s 0.1s var(--ease-out) both;
}
.kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lav);
  box-shadow: 0 0 0 3px rgba(185, 164, 255, 0.22), 0 0 12px var(--lav);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 6px rgba(185, 164, 255, 0), 0 0 16px var(--lav); }
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(34px, 6.6vw, 98px);
  animation: rise 1.1s 0.2s var(--ease-out) both;
}

.hero-lede {
  max-width: 470px;
  margin-top: 22px;
  font-size: clamp(14px, 1.05vw, 15.5px);
  text-shadow: 0 1px 2px rgba(5, 4, 14, 0.9), 0 0 18px rgba(5, 4, 14, 0.95), 0 0 36px rgba(5, 4, 14, 0.8);
  animation: rise 1.1s 0.35s var(--ease-out) both;
}

/* ---------- Email pill ---------- */

.join-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(460px, 100%);
  height: 56px;
  margin-top: 30px;
  padding: 0 7px 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(26, 21, 56, 0.42);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 22px 50px -22px rgba(0, 0, 0, 0.8),
    0 0 70px -24px rgba(124, 77, 255, 0.7);
  transition: border-color 0.2s, box-shadow 0.3s, background-color 0.2s;
  animation: rise 1.1s 0.5s var(--ease-out) both;
}
.join-pill:hover { border-color: rgba(255, 255, 255, 0.26); }
.join-pill:focus-within {
  border-color: var(--lav);
  background: rgba(36, 28, 78, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 4px rgba(124, 77, 255, 0.22),
    0 0 80px -20px rgba(124, 77, 255, 0.85);
}
.join-pill.is-invalid { border-color: var(--danger); }

.join-pill input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  outline: none;
  font-size: 15px;
  color: #fff;
}
.join-pill input::placeholder { color: rgba(207, 205, 224, 0.55); }
.join-pill input:focus-visible { outline: none; }
.join-pill input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #1b1640 inset;
  caret-color: #fff;
}

.go {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0d0a22;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s;
}
.go:hover {
  transform: translateX(2px);
  box-shadow: 0 8px 30px -6px rgba(185, 164, 255, 0.95);
}
.go svg,
.joined-go svg,
.submit-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-error {
  margin-top: 7px;
  font-size: 13px;
  color: var(--danger);
  text-align: left;
}
.field-error:empty { display: none; }
.hero-error {
  margin-top: 10px;
  text-align: center;
  text-shadow: 0 1px 10px rgba(5, 4, 14, 0.9);
}

.hero-alt {
  margin-top: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(8, 7, 22, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 13.5px;
  color: rgba(207, 205, 224, 0.75);
  text-shadow: 0 1px 12px rgba(5, 4, 14, 0.9);
  animation: rise 1.1s 0.6s var(--ease-out) both;
}
.hero-alt button,
.sheet-switch button {
  padding: 2px;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: text-decoration-color 0.2s;
}
.hero-alt button:hover,
.sheet-switch button:hover { text-decoration-color: var(--lav); }

/* ---------- Already on the list ---------- */

.joined-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(500px, 100%);
  min-height: 56px;
  margin-top: 30px;
  padding: 7px 7px 7px 10px;
  border: 1px solid rgba(185, 164, 255, 0.35);
  border-radius: 999px;
  background: rgba(26, 21, 56, 0.5);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 0 70px -24px rgba(124, 77, 255, 0.8);
  animation: rise 1.1s 0.5s var(--ease-out) both;
}
.joined-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9d7bff, #6236f0);
}
.joined-check svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.joined-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 14.5px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
}
.joined-text b { color: #fff; font-weight: 600; }
.joined-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: #0d0a22;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s;
}
.joined-go:hover {
  transform: translateX(2px);
  box-shadow: 0 8px 30px -6px rgba(185, 164, 255, 0.95);
}

/* ---------- Join / log in sheet ---------- */

.sheet {
  width: min(430px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 34px 30px 26px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(124, 77, 255, 0.18), transparent 70%),
    rgba(12, 10, 30, 0.86);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 40px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 120px -40px rgba(124, 77, 255, 0.6);
  color: var(--ink);
  text-align: center;
  scrollbar-width: thin;
  scrollbar-color: rgba(185, 164, 255, 0.35) transparent;
}
.sheet[open] { animation: sheet-in 0.5s var(--ease-out); }
.sheet::backdrop {
  background: rgba(5, 4, 14, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
}

.sheet-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.sheet-close:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.sheet-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.chip {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.16);
  color: #d8ccff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sheet h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sheet-sub {
  margin: 10px auto 10px;
  max-width: 330px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
}

.sheet-note {
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(124, 77, 255, 0.14);
  color: #ddd3ff;
  font-size: 13px;
}
.sheet-note:empty { display: none; }

/* Pill inputs with floating labels, as on the app's login page */
.pill-field {
  position: relative;
  margin-top: 10px;
  text-align: left;
}
.pill-field input {
  width: 100%;
  height: 56px;
  padding: 22px 24px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.pill-field.has-toggle input { padding-right: 58px; }
.pill-field input:hover { border-color: rgba(255, 255, 255, 0.2); }
.pill-field input:focus {
  border-color: var(--lav);
  background: rgba(124, 77, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.22);
}
.pill-field.is-invalid input { border-color: var(--danger); }
.pill-field.is-invalid input:focus { box-shadow: 0 0 0 4px rgba(255, 122, 154, 0.18); }
.pill-field input:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #17132f inset;
  caret-color: #fff;
  transition: background-color 9999s;
}
.pill-field label {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--ink-soft);
  pointer-events: none;
  transition: top 0.2s var(--ease-out), font-size 0.2s var(--ease-out), color 0.2s;
}
.pill-field input:focus + label,
.pill-field input:not(:placeholder-shown) + label,
.pill-field input:-webkit-autofill + label {
  top: 16px;
  font-size: 11.5px;
  color: var(--lav);
}
.pill-field + .field-error,
.strength + .field-error { padding-left: 24px; }

/* Password strength, under the password while joining: four segments that fill and change
   colour from weak (pink) to strong (mint), with a word and a tip beside them */
.strength {
  --level: var(--danger);
  margin-top: 9px;
  padding: 0 22px 0 24px;
  text-align: left;
}
.strength[data-level="2"] { --level: var(--peach); }
.strength[data-level="3"] { --level: var(--lav); }
.strength[data-level="4"] { --level: var(--success); }
.strength-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.strength-bar span {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.25s, box-shadow 0.25s;
}
.strength[data-level="1"] .strength-bar span:nth-child(-n+1),
.strength[data-level="2"] .strength-bar span:nth-child(-n+2),
.strength[data-level="3"] .strength-bar span:nth-child(-n+3),
.strength[data-level="4"] .strength-bar span {
  background: var(--level);
  box-shadow: 0 0 10px -2px var(--level);
}
.strength-text {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-muted);
}
.strength-text b {
  font-weight: 600;
  color: var(--level);
}
.strength-text b:not(:empty) + span:not(:empty)::before { content: "· "; }
@media (prefers-reduced-motion: reduce) {
  .strength-bar span { transition: none; }
}

.reveal {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}
.reveal:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.reveal svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reveal .eye-closed,
.reveal[aria-pressed="true"] .eye-open { display: none; }
.reveal[aria-pressed="true"] .eye-closed { display: block; }

/* Phone: the country code sits inside the pill, before the number */
.phone-field select {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 9px;
  transform: translateY(-50%);
  width: 92px;
  height: 40px;
  padding: 0 24px 0 14px;
  border: 0;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a4ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 12px no-repeat,
    rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.phone-field select:hover { background-color: rgba(255, 255, 255, 0.13); }
.phone-field select:focus-visible { outline-offset: 1px; }
.phone-field select option { background: #17132f; color: #fff; }
.pill-field.phone-field input { padding-left: 112px; }
.phone-field label { left: 113px; }

/* Username: an @ before the name, shown once the label has moved up out of the way */
.pill-field.username-field input { padding-left: 42px; }
.username-field .at {
  position: absolute;
  top: 22px;
  bottom: 6px;
  left: 25px;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--ink-muted);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.username-field input:focus ~ .at,
.username-field input:not(:placeholder-shown) ~ .at { opacity: 1; }

/* Entrepreneur or investor */
.role {
  margin: 16px 0 4px;
  padding: 0;
  border: 0;
  text-align: left;
}
.role legend {
  padding: 0 0 8px 6px;
  font-size: 13px;
  color: var(--ink-muted);
}
.role-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.role-option { position: relative; cursor: pointer; }
.role-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.role-card {
  display: grid;
  gap: 3px;
  height: 100%;
  padding: 14px 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.role-card svg {
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
  fill: none;
  stroke: var(--lav);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.role-card b { font-size: 14.5px; font-weight: 600; }
.role-card small { font-size: 12.5px; color: var(--ink-muted); }
.role-option:hover .role-card { border-color: rgba(255, 255, 255, 0.22); }
.role-option input:checked + .role-card {
  border-color: var(--lav);
  background: rgba(124, 77, 255, 0.16);
  box-shadow: inset 0 0 0 1px var(--lav);
}
.role-option input:focus-visible + .role-card {
  outline: 2px solid var(--lav);
  outline-offset: 3px;
}
.role .field-error { padding-left: 6px; }

/* Buttons */
.submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 56px;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0d0a22;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s;
}
.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px -10px rgba(185, 164, 255, 0.9);
}
.spinner {
  position: absolute;
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(13, 10, 34, 0.2);
  border-top-color: #0d0a22;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.submit-btn.is-loading { cursor: progress; }
.submit-btn.is-loading .submit-label { visibility: hidden; }
.submit-btn.is-loading .spinner { display: block; }

.sheet-switch {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-muted);
}

.fine {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(149, 146, 189, 0.8);
}

.text-btn {
  margin-top: 14px;
  padding: 6px 8px;
  border: 0;
  background: none;
  color: var(--ink-muted);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s;
}
.text-btn:hover { color: #fff; }

/* Log-in mode hides the join-only fields */
.sheet[data-mode="login"] [data-join-only] { display: none; }

/* ---------- Done ---------- */

.sheet-done { padding-top: 6px; }
.done-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #9d7bff, #6236f0);
  box-shadow: 0 0 0 8px rgba(124, 77, 255, 0.16), 0 20px 50px -14px rgba(124, 77, 255, 0.95);
  animation: pop 0.6s var(--ease-out) both;
}
.done-mark svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw 0.5s 0.35s var(--ease-out) forwards;
}
.sheet-done h2 { margin-top: 22px; outline: none; }
.sheet-done p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.sheet-done p b { color: #fff; font-weight: 600; word-break: break-word; }
.sheet-done .submit-btn { margin-top: 26px; }

@keyframes pop {
  from { opacity: 0; transform: scale(0.6); }
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .done-mark svg { stroke-dashoffset: 0; }
}

/* ---------- Scroll cue (bottom of the hero) ---------- */

/* The field fades into the page below, so the hero runs on into the Mission section */
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(rgba(5, 4, 14, 0), var(--bg));
  pointer-events: none;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-shadow: 0 1px 10px rgba(5, 4, 14, 0.9);
  transition: color 0.2s;
  animation: rise 1.1s 0.8s var(--ease-out) both;
}
.scroll-cue:hover { color: #fff; }
.scroll-cue svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--lav);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  50% { transform: translateY(4px); }
}
.motion-off .scroll-cue svg { animation: none; }
@media (max-height: 640px) {
  .scroll-cue { display: none; }
}

/* ---------- Mission ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.mission {
  position: relative;
  isolation: isolate;
  width: min(1140px, 100%);
  margin: 0 auto;
  padding: 104px 16px 120px;
}
/* A faint violet glow behind the heading, like the light over the field */
.mission::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20px;
  left: 50%;
  width: min(900px, 100%);
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(124, 77, 255, 0.16), transparent);
  pointer-events: none;
}

.mission-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.mission-kicker { animation: none; }
.mission-title {
  margin-top: 22px;
  font-size: clamp(26px, 4.2vw, 54px);
  text-wrap: balance;
}
.mission-statement {
  max-width: 690px;
  margin-top: 26px;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.55;
  color: #fff;
  text-wrap: pretty;
}
.mission-why {
  max-width: 620px;
  margin-top: 16px;
  font-size: 15px;
  text-wrap: pretty;
}

.mission-how-title {
  margin: 76px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  color: var(--lav);
}

.mission-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.mission-step {
  position: relative;
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgba(124, 77, 255, 0.12), transparent 70%),
    rgba(12, 10, 30, 0.7);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.mission-step:hover {
  border-color: rgba(185, 164, 255, 0.3);
  transform: translateY(-2px);
}
.mission-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, #8f6bff, #4b2bd0);
  box-shadow: 0 10px 24px -12px rgba(124, 77, 255, 0.95);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.mission-step h4 {
  margin: 18px 0 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.mission-step p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.mission-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}
.mission-btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0d0a22;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s;
}
.mission-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px -10px rgba(185, 164, 255, 0.9);
}
.mission-risk {
  max-width: 420px;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: rgba(149, 146, 189, 0.8);
}

@media (max-width: 1000px) {
  .mission-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
  .mission-step { transition: border-color 0.25s; }
  .mission-step:hover { transform: none; }
}

/* ---------- Small screens ---------- */

@media (max-width: 560px) {
  .mission { padding: 86px 16px 96px; }
  .mission-how-title { margin-top: 56px; }
  .mission-steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mission-step { padding: 20px 20px 22px; }
  .hero-content { padding-top: 130px; }
  .hero-title { font-size: clamp(30px, 10vw, 44px); }
  .join-pill { height: 54px; padding-left: 20px; }
  .joined-pill { flex-wrap: wrap; border-radius: 26px; padding: 10px; }
  .joined-text { flex-basis: calc(100% - 50px); white-space: normal; }
  .joined-go { width: 100%; justify-content: center; }
  .sheet { padding: 30px 20px 22px; border-radius: 26px; }
  .role-options { grid-template-columns: 1fr; }
}
