/* ============================================================
   NinjaDEX Landing v5 — REFERRAL-FIRST
   Light premium fintech · white / silver / NinjaDEX blue
   Energy: opportunity + community + rewards, still credible
   ============================================================ */

:root {
  --blue-900: #0b1e4b;
  --blue-800: #12306e;
  --blue-700: #1a4193;
  --blue-600: #1e50c7;
  --blue-500: #2563eb;
  --blue-400: #4c7fee;
  --blue-300: #93b1f5;
  --blue-100: #e6edfb;
  --blue-050: #f2f6ff;

  --white: #ffffff;
  --pearl: #fafcff;
  --silver-050: #f7f9fc;
  --silver-100: #f1f4f8;
  --silver-200: #e6ebf3;
  --silver-300: #d4dbe6;

  --ink-900: #0b1830;
  --ink-800: #17233d;
  --ink-700: #2b3854;
  --ink-500: #556278;
  --ink-400: #7a869c;

  --stroke: #e6ebf3;
  --stroke-strong: #d4dbe6;
  --stroke-blue: rgba(37, 99, 235, 0.18);

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --sh-xs: 0 1px 2px rgba(11, 24, 48, 0.05);
  --sh-sm: 0 4px 14px rgba(30, 80, 199, 0.06), 0 1px 2px rgba(11, 24, 48, 0.04);
  --sh-md: 0 12px 32px rgba(30, 80, 199, 0.1), 0 2px 6px rgba(11, 24, 48, 0.04);
  --sh-lg: 0 30px 60px rgba(30, 80, 199, 0.14), 0 8px 20px rgba(11, 24, 48, 0.06);
  --sh-btn: 0 10px 24px rgba(30, 80, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}
section[id], [id="hero-form"] { scroll-margin-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--silver-050);
  color: var(--ink-800);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-wrap: pretty;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue-100); color: var(--blue-800); }

/* ========== Ambient background ========== */
.bg-layer {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(37, 99, 235, 0.07), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(37, 99, 235, 0.04), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 45%, #f1f4f8 100%);
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.bg-orb--blue {
  width: 600px; height: 600px;
  top: 5%; right: -150px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
  animation: orbFloat 18s ease-in-out infinite;
}
.bg-orb--silver {
  width: 700px; height: 700px;
  top: 45%; left: -220px;
  background: radial-gradient(circle, rgba(147, 177, 245, 0.16), transparent 70%);
  animation: orbFloat 22s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(30px, -20px, 0); }
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(11, 24, 48, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 24, 48, 0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 70%);
  opacity: 0.6;
}

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 64px 0; position: relative; }
.section--soft {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.6) 20%, rgba(255,255,255,0.6) 80%, transparent);
}
@media (max-width: 720px) { .section { padding: 44px 0; } }

/* ========== Header ========== */
.site-header {
  position: sticky; top: 0;
  z-index: 50;
  padding: 12px 0;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--stroke);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { height: 40px; width: auto; max-width: 180px; }
.header-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--ink-700); }
.header-nav a { transition: color 0.2s; }
.header-nav a:hover { color: var(--blue-600); }
@media (max-width: 780px) {
  .header-nav { display: none; }
  .brand-logo { height: 34px; max-width: 150px; }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s, color 0.2s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--xl { padding: 20px 36px; font-size: 17px; letter-spacing: 0.01em; }
.btn--full { width: 100%; padding: 16px 22px; font-size: 16px; }

.btn--primary {
  background: linear-gradient(180deg, #3b7bff 0%, #2563eb 50%, #1e50c7 100%);
  color: #fff;
  box-shadow: var(--sh-btn);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(30, 80, 199, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.65s;
  pointer-events: none;
}
.btn--primary:hover::before { transform: translateX(100%); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-800);
  border: 1px solid var(--stroke-strong);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: #fff;
  border-color: var(--stroke-blue);
  color: var(--blue-700);
}

.btn--text {
  background: transparent;
  color: var(--blue-600);
  padding: 10px 14px;
  font-weight: 500;
}
.btn--text:hover { color: var(--blue-800); transform: translateY(1px); }

/* ========== Hero ========== */
.hero { padding: 60px 0 80px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 36px 0 32px; }
}

.hero-left { position: relative; padding-top: 4px; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--blue-050));
  border: 1px solid var(--stroke-blue);
  color: var(--blue-700);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
  box-shadow: var(--sh-xs);
}
.pre-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 10px var(--blue-400);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.35); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--ink-900);
  max-width: 640px;
}
.blue-text { color: var(--blue-600); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  color: var(--ink-700);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  max-width: 560px;
}

.hero-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-500);
  max-width: 560px;
  margin: 0 0 26px;
  line-height: 1.6;
}

/* Hero benefit chips */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(180deg, #fff, #fafcff);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--ink-800);
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: var(--sh-xs);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.chip:hover {
  border-color: var(--stroke-blue);
  transform: translateY(-1px);
  box-shadow: var(--sh-sm);
}
.chip svg {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  padding: 3px;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.35);
  flex-shrink: 0;
  width: 20px; height: 20px;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ========== Form ========== */
.lead-form { position: relative; z-index: 1; }
.form-card {
  position: relative;
  padding: 30px;
  background: linear-gradient(180deg, #ffffff, #fafcff);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
}
.form-card::after {
  content: '';
  position: absolute;
  top: -60%; left: -20%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(37, 99, 235, 0.05) 50%, transparent 60%);
  transform: rotate(15deg);
  pointer-events: none;
}
@media (max-width: 560px) { .form-card { padding: 24px 20px; } }

.form-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-050);
  border: 1px solid var(--stroke-blue);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.form-head { margin-bottom: 20px; }
.form-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.form-sub {
  margin: 0;
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.5;
}

.form-field { margin-bottom: 15px; display: flex; flex-direction: column; }
.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: 7px;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--stroke-strong);
  border-radius: 12px;
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-field input::placeholder { color: var(--ink-400); }
.form-field input:focus,
.form-field select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23556278' stroke-width='1.5'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  color: var(--ink-900);
}
.form-field.has-error input,
.form-field.has-error select {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.field-error {
  color: #dc2626;
  font-size: 12.5px;
  margin-top: 6px;
  display: block;
  min-height: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { margin-top: 8px; }

.btn.is-loading .btn-label,
.btn.is-loading .btn-arrow { visibility: hidden; }
.btn-spinner {
  display: none;
  position: absolute;
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-meta {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--ink-500);
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 500;
}
.form-privacy {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--ink-400);
  text-align: center;
  line-height: 1.5;
}
.form-privacy a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }

/* Success */
.form-success {
  padding: 44px 32px;
  text-align: center;
  background: linear-gradient(180deg, #fff, var(--blue-050));
  border: 1px solid var(--stroke-blue);
  border-radius: 24px;
  box-shadow: var(--sh-lg);
  animation: successIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes successIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.success-check { width: 76px; height: 76px; margin: 0 auto 20px; }
.success-check svg { width: 100%; height: 100%; display: block; }
.success-check circle {
  stroke: var(--blue-500);
  stroke-width: 3;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: dash 0.6s ease-out forwards;
}
.success-check path {
  stroke: var(--blue-500);
  stroke-width: 4;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 45;
  stroke-dashoffset: 45;
  animation: dash 0.45s 0.4s ease-out forwards;
}
@keyframes dash { to { stroke-dashoffset: 0; } }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink-900);
}
.form-success p { margin: 0 0 6px; color: var(--ink-700); font-size: 15px; }
.form-success .success-sub { color: var(--ink-500); font-size: 14px; margin-bottom: 22px; }

/* ========== Section head ========== */
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}
.eyebrow {
  display: inline-block;
  color: var(--blue-600);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0 0 14px;
}
.section-lede {
  font-size: 17px;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.55;
}

/* ========== Benefits (Why join) ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-card {
  padding: 30px 26px;
  background: linear-gradient(180deg, #fff, #fafcff);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  box-shadow: var(--sh-sm);
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--stroke-blue);
  box-shadow: var(--sh-md);
}
.benefit-card:hover::before { opacity: 1; }
.benefit-icon {
  width: 68px; height: 68px;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 18px rgba(37, 99, 235, 0.2));
  animation: iconFloat 6s ease-in-out infinite;
}
.benefit-card:nth-child(2) .benefit-icon { animation-delay: -1.5s; }
.benefit-card:nth-child(3) .benefit-icon { animation-delay: -3s; }
.benefit-card:nth-child(4) .benefit-icon { animation-delay: -4.5s; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.benefit-icon svg { width: 100%; height: 100%; display: block; }
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.benefit-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Section-level CTA (repeated pattern) */
.section-cta {
  margin-top: 32px;
  text-align: center;
}
.section-cta h4 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

/* ========== MODEL (Join. Refer. Grow.) ========== */
.model-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .model-wrap { grid-template-columns: 1fr; gap: 32px; }
}

.model-graphic {
  position: relative;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.model-graphic svg { width: 100%; height: auto; display: block; }

/* Network drawing (dash-offset reveal) */
.model-lines .ml {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.35;
}
.model-graphic.is-active .ml-you-hub { stroke-dashoffset: 0; transition-delay: 0.2s; opacity: 0.9; }
.model-graphic.is-active .ml-branch { stroke-dashoffset: 0; transition-delay: 0.7s; opacity: 0.6; }
.model-graphic.is-active .ml-return { stroke-dashoffset: 0; transition-delay: 1.5s; opacity: 0.55; }

/* Nodes: fade + scale in */
.model-node {
  transform-origin: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s, transform 0.6s cubic-bezier(0.2, 1.2, 0.2, 1);
}
.model-graphic.is-active .model-you { opacity: 1; transform: scale(1); transition-delay: 0s; }
.model-graphic.is-active .model-hub { opacity: 1; transform: scale(1); transition-delay: 0.5s; }

.model-person {
  transform-origin: center;
  opacity: 0;
  transform: translateY(6px) scale(0.7);
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.2, 1.2, 0.2, 1);
  transition-delay: calc(0.9s + var(--i, 0) * 0.15s);
}
.model-graphic.is-active .model-person {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reward-pulse {
  opacity: 0;
  transform-origin: center;
}
.model-graphic.is-active .reward-pulse {
  animation: rewardPulse 2.2s 2.2s ease-out infinite;
}
@keyframes rewardPulse {
  0%   { opacity: 0.9; transform: scale(1); }
  60%  { opacity: 0.3; transform: scale(1.9); }
  100% { opacity: 0;   transform: scale(2.4); }
}

.model-flow-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.mfl {
  position: absolute;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.6s;
}
.model-graphic.is-active .mfl { opacity: 0.9; }
.mfl-1 { top: 12%; left: 50%; transform: translateX(-50%); transition-delay: 0.8s; }
.mfl-2 { bottom: 26%; right: 6%; transition-delay: 1.7s; }

/* Steps list */
.model-steps { display: flex; flex-direction: column; gap: 14px; }
.model-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  box-shadow: var(--sh-xs);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.model-step:hover {
  border-color: var(--stroke-blue);
  transform: translateX(3px);
  box-shadow: var(--sh-sm);
}
.ms-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
  letter-spacing: 0.02em;
}
.ms-body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.ms-body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.55;
}

.model-note {
  margin: 20px auto 0;
  max-width: 780px;
  font-size: 12px;
  color: var(--ink-400);
  line-height: 1.55;
  text-align: center;
  padding: 0 12px;
}

/* ========== Credibility (Section 5) ========== */
.cred-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto 28px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  box-shadow: var(--sh-sm);
}
.cf-node {
  flex: 1 1 140px;
  min-width: 140px;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fafcff);
  transition: border-color 0.3s, transform 0.3s;
}
.cf-node:hover { border-color: var(--stroke-blue); transform: translateY(-2px); }
.cf-node--highlight {
  background: linear-gradient(180deg, var(--blue-050), #fff);
  border-color: var(--stroke-blue);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
}
.cf-num {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.cf-node strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink-900);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.cf-arrow {
  display: grid;
  place-items: center;
  color: var(--blue-400);
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .cred-flow { flex-direction: column; }
  .cf-arrow { transform: rotate(90deg); }
  .cf-node { width: 100%; }
}

.cred-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 800px) { .cred-points { grid-template-columns: 1fr; } }
.cred-point {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s;
}
.cred-point:hover { border-color: var(--stroke-blue); transform: translateY(-2px); }
.cred-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0.02));
  color: var(--blue-600);
  display: grid; place-items: center;
  border: 1px solid var(--stroke-blue);
}
.cred-point h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.cred-point p {
  margin: 0;
  color: var(--ink-500);
  font-size: 13.5px;
  line-height: 1.5;
}

/* ========== Opportunity CTA (Section 6) ========== */
.opp {
  padding: 56px 0;
  position: relative;
}
.opp-inner {
  position: relative;
  overflow: hidden;
  padding: 56px 48px;
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(600px 320px at 15% 20%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(500px 260px at 85% 80%, rgba(147, 177, 245, 0.32), transparent 60%),
    linear-gradient(135deg, #f2f6ff 0%, #e6edfb 60%, #dae4f8 100%);
  border: 1px solid var(--stroke-blue);
  box-shadow: var(--sh-md);
}
@media (max-width: 720px) {
  .opp { padding: 56px 0; }
  .opp-inner { padding: 48px 24px; border-radius: 24px; }
}
.opp-shine {
  position: absolute;
  top: -50%; left: -30%;
  width: 55%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  transform: rotate(15deg);
  animation: shine 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 100% { transform: translateX(-30%) rotate(15deg); }
  50% { transform: translateX(180%) rotate(15deg); }
}

/* Floating nodes background */
.opp-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.opp-nodes span {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #2563eb);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  animation: floatNode 8s ease-in-out infinite;
}
.opp-nodes span:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.opp-nodes span:nth-child(2) { top: 30%; right: 12%; animation-delay: -2s; width: 8px; height: 8px; }
.opp-nodes span:nth-child(3) { bottom: 20%; left: 15%; animation-delay: -4s; width: 12px; height: 12px; }
.opp-nodes span:nth-child(4) { bottom: 30%; right: 18%; animation-delay: -6s; }
.opp-nodes span:nth-child(5) { top: 55%; left: 45%; animation-delay: -3s; width: 6px; height: 6px; }
.opp-nodes span:nth-child(6) { top: 20%; left: 55%; animation-delay: -5s; width: 8px; height: 8px; }
@keyframes floatNode {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  50% { transform: translate(6px, -10px); opacity: 1; }
}

.opp-eyebrow {
  position: relative; z-index: 1;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 18px;
}
.opp-title {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0 0 18px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.opp-sub {
  position: relative; z-index: 1;
  font-size: 17px;
  color: var(--ink-700);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.opp .btn { position: relative; z-index: 1; }
.opp-micro {
  position: relative; z-index: 1;
  margin: 16px auto 0;
  max-width: 500px;
  font-size: 13px;
  color: var(--ink-500);
  font-family: var(--font-display);
  font-weight: 500;
}

.opp-marquee {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--stroke-blue);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-700);
  flex-wrap: wrap;
}
.opp-marquee .dot { color: var(--blue-300); }

/* ========== Footer ========== */
.site-footer {
  border-top: 1px solid var(--stroke);
  padding: 48px 0 32px;
  background: #ffffff;
}
.footer-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--stroke);
  margin-bottom: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-logo { height: 36px; width: auto; max-width: 160px; }
.footer-tag { margin: 0; font-size: 13.5px; color: var(--ink-400); }
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-500);
}
.footer-nav a { transition: color 0.2s; }
.footer-nav a:hover { color: var(--blue-600); }
.footer-legal { color: var(--ink-400); font-size: 12px; line-height: 1.6; }
.footer-legal p { margin: 0 0 8px; }
.disclaimer { max-width: 900px; }

/* ========== Sticky mobile CTA ========== */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--stroke);
  box-shadow: 0 -8px 24px rgba(11, 24, 48, 0.08);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s;
}
.mobile-cta-bar.is-hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3b7bff 0%, #2563eb 50%, #1e50c7 100%);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--sh-btn);
}
@media (max-width: 720px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ========== Reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   MOBILE POLISH — tighten everything under 720px
   ============================================================ */
@media (max-width: 720px) {
  .container { padding: 0 18px; }

  /* Header — smaller CTA, no wrap */
  .site-header { padding: 10px 0; }
  .header-inner { gap: 10px; }
  .brand-logo { height: 32px; max-width: 140px; }
  .header-cta,
  .site-header .btn { padding: 8px 14px; font-size: 12.5px; }

  /* Hero — tighter spacing, smaller pill wrap */
  .hero { padding: 24px 0 28px; }
  .hero-grid { gap: 28px; }
  .eyebrow-pill {
    font-size: 10.5px;
    padding: 7px 12px;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    line-height: 1.3;
  }
  .hero-title { font-size: clamp(30px, 8vw, 40px); margin-bottom: 12px; }
  .hero-tagline { font-size: 17px; margin-bottom: 14px; }
  .hero-sub { font-size: 14.5px; margin-bottom: 20px; }
  .hero-chips { gap: 8px; margin-bottom: 22px; }
  .chip { font-size: 12.5px; padding: 8px 12px; }
  .chip svg { width: 18px; height: 18px; }
  .hero-cta-row { width: 100%; }
  .hero-cta-row .btn--lg { width: 100%; padding: 15px 20px; }
  .hero-cta-row .btn--text { padding: 8px 0; }

  /* Form on mobile — less padding, bigger tap targets already set */
  .form-card { padding: 22px 18px; border-radius: 20px; }
  .form-title { font-size: 20px; }
  .form-sub { font-size: 13.5px; }

  /* Section headers */
  .section-head { margin-bottom: 36px; }
  .section-title { font-size: clamp(26px, 7vw, 34px); }
  .section-lede { font-size: 15px; }

  /* Benefits — 1 column on very small, 2 columns from 480 up */
  .benefits-grid { grid-template-columns: 1fr; gap: 14px; }
  .benefit-card { padding: 22px 20px; }
  .benefit-icon { width: 54px; height: 54px; margin-bottom: 14px; }
  .benefit-card h3 { font-size: 17px; }

  .section-cta { margin-top: 32px; }
  .section-cta h4 { font-size: 18px; margin-bottom: 14px; }
  .section-cta .btn--lg { width: 100%; }

  /* Model / referral network */
  .model-wrap { gap: 22px; }
  .model-graphic { padding: 14px; border-radius: 20px; }
  .mfl { font-size: 9px; letter-spacing: 0.1em; }
  .mfl-1 { top: 8%; }
  .mfl-2 { bottom: 22%; right: 4%; }
  .model-step { padding: 16px 18px; gap: 14px; }
  .ms-num { width: 36px; height: 36px; font-size: 13px; }
  .ms-body h4 { font-size: 16px; }
  .ms-body p { font-size: 13.5px; }

  /* Credibility */
  .cred-flow { padding: 18px 14px; margin-bottom: 32px; }
  .cf-node { padding: 12px 10px; }
  .cred-points { gap: 12px; }
  .cred-point { padding: 16px; gap: 12px; }

  /* Opportunity CTA */
  .opp { padding: 44px 0; }
  .opp-inner { padding: 40px 22px; border-radius: 22px; }
  .opp-title { font-size: clamp(26px, 7vw, 34px); margin-bottom: 14px; }
  .opp-sub { font-size: 15px; margin-bottom: 24px; }
  .opp .btn--xl {
    width: 100%;
    padding: 16px 22px;
    font-size: 15px;
    white-space: normal;
    line-height: 1.2;
  }
  .opp-marquee { font-size: 11.5px; gap: 12px; margin-top: 28px; padding-top: 22px; }

  /* Footer */
  .footer-inner { gap: 20px; flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 14px 16px; font-size: 13px; }
  .footer-legal { font-size: 11px; }

  /* Mobile CTA bar — pinned button */
  .mobile-cta-btn { padding: 13px 20px; font-size: 14.5px; }
}

/* Extra-small (very narrow) — down to 360px iPhone SE */
@media (max-width: 400px) {
  .hero-title { font-size: 28px; }
  .hero-tagline { font-size: 15.5px; }
  .chip { flex: 1 1 100%; justify-content: flex-start; }
  .eyebrow-pill { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
