/* ============================================================
   Whaletech Investor — standalone page styles
   Gated business plan page at /investor
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  color: #1d1d1f;
  background: #faf8f5;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

/* ===== Nav (mirrors landing & research) ===== */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem 0; transition: 0.3s; }
nav.scrolled { padding: 0.65rem 0; background: rgba(2, 6, 23, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.05); }
nav.on-light { background: rgba(250, 248, 245, 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(15,23,42,0.05); }
nav.on-light.scrolled { background: rgba(250, 248, 245, 0.97); }
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 72px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-item { position: relative; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.15rem;
}
.nav-link-cn {
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(226, 232, 240, 0.82);
  transition: color 0.28s ease, text-shadow 0.28s ease;
}
.nav-link-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
  transition: color 0.28s ease, text-shadow 0.28s ease;
}
nav.on-light .nav-link-cn { color: rgba(15, 23, 42, 0.82); }
nav.on-light .nav-link-en { color: rgba(71, 85, 105, 0.7); }
.nav-caret {
  width: 10px; height: 10px; flex-shrink: 0;
  color: rgba(148, 163, 184, 0.55);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), color 0.28s, filter 0.28s;
}
nav.on-light .nav-caret { color: rgba(71, 85, 105, 0.55); }
.nav-link::after {
  content: ''; position: absolute;
  left: 50%; bottom: -2px;
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #38bdf8, #a855f7, transparent);
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75));
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1);
}
.nav-link:hover::after,
.has-dropdown:hover .nav-link::after,
.has-dropdown:focus-within .nav-link::after { width: 100%; }
.nav-link:hover .nav-link-cn,
.has-dropdown:hover .nav-link-cn,
.has-dropdown:focus-within .nav-link-cn {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(147, 197, 253, 0.55);
}
nav.on-light .nav-link:hover .nav-link-cn,
nav.on-light .has-dropdown:hover .nav-link-cn,
nav.on-light .has-dropdown:focus-within .nav-link-cn {
  color: #0f172a;
  text-shadow: none;
}
.nav-link:hover .nav-link-en,
.has-dropdown:hover .nav-link-en,
.has-dropdown:focus-within .nav-link-en {
  color: #7dd3fc;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.65), 0 0 28px rgba(56, 189, 248, 0.3);
}
nav.on-light .nav-link:hover .nav-link-en,
nav.on-light .has-dropdown:hover .nav-link-en,
nav.on-light .has-dropdown:focus-within .nav-link-en {
  color: #1d4ed8;
  text-shadow: none;
}
.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
  color: #38bdf8;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75));
}
.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  margin-top: 0.55rem;
  min-width: 210px; padding: 0.5rem;
  background: rgba(10, 22, 40, 0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16,1,0.3,1), visibility 0.22s;
}
.nav-dropdown::before { content: ''; position: absolute; top: -0.7rem; left: 0; right: 0; height: 0.7rem; }
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block; padding: 0.52rem 0.9rem;
  font-size: 0.82rem; font-weight: 500; color: rgba(226, 232, 240, 0.72); white-space: nowrap;
  border-radius: 6px; transition: background 0.18s, color 0.18s;
}
.nav-dropdown a:hover { background: rgba(56, 189, 248, 0.14); color: #fff; }
.nav-dropdown a.current { color: #7dd3fc; background: rgba(56, 189, 248, 0.08); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: #fff; margin: 5px 0; transition: background 0.3s; }
nav.on-light .nav-toggle span { background: #0f172a; }

/* ===== Hero ===== */
.investor-hero {
  position: relative;
  padding: 9rem 0 4rem;
  background: #020617;
  color: #f8fafc;
  overflow: hidden;
}
.investor-hero::before, .investor-hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(130px); z-index: 0;
}
.investor-hero::before { width: 42vw; height: 42vw; background: rgba(56, 189, 248, 0.18); top: -28%; left: -10%; }
.investor-hero::after  { width: 32vw; height: 32vw; background: rgba(139, 92, 246, 0.16); bottom: -40%; right: -8%; }
.investor-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 75%);
}
.investor-hero .container { position: relative; z-index: 1; max-width: 880px; }
.investor-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 1.2rem;
}
.investor-hero .hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #38bdf8; box-shadow: 0 0 8px #38bdf8;
}
.investor-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 0.55rem;
}
.investor-hero h1 .accent {
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.investor-hero .hero-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem; font-weight: 700;
  color: rgba(148, 163, 184, 0.85);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.investor-hero .hero-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(203, 213, 225, 0.85);
  max-width: 640px;
}

/* ===== Gate section ===== */
.gate-section {
  padding: 4rem 0 6rem;
  background: #faf8f5;
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
body.unlocked .gate-section {
  opacity: 0; transform: translateY(-20px); pointer-events: none;
  max-height: 0; padding: 0; overflow: hidden;
}
.gate-card {
  max-width: 680px; margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 2.6rem 2.4rem;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  position: relative;
}
.gate-card::before {
  content: ''; position: absolute;
  top: 0; left: 2.6rem; right: 2.6rem; height: 2px;
  background: linear-gradient(90deg, #60a5fa, #c084fc);
  border-radius: 0 0 2px 2px;
}
.gate-header { margin-bottom: 1.8rem; }
.gate-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #2563eb;
  padding: 0.25rem 0.7rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.gate-title {
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}
.gate-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.75;
}

/* form primitives */
.gate-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.45rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form-label {
  font-size: 0.82rem; font-weight: 600;
  color: #0f172a; letter-spacing: 0.01em;
}
.form-label .req { color: #dc2626; margin-left: 0.2rem; }
.form-label .opt {
  margin-left: 0.45rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; font-weight: 500;
  color: #94a3b8; letter-spacing: 0.14em;
  text-transform: uppercase;
}
.form-label .label-en {
  margin-left: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; font-weight: 600;
  color: #64748b; letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Gate-card bilingual rhythm */
.gate-title .gate-title-en {
  display: block;
  margin-top: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; font-weight: 600;
  color: #64748b; letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gate-desc.gate-desc-en {
  margin-top: 0.65rem;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.7;
  font-style: italic;
}

/* Attestation checkbox EN secondary line */
.check .check-en {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.6;
  font-style: italic;
}

/* Form note EN secondary line */
.form-note .form-note-en {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  color: #94a3b8;
  font-style: italic;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 9px;
  background: #fdfcfa;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #94a3b8; }
.form-input:hover, .form-select:hover, .form-textarea:hover { border-color: rgba(37, 99, 235, 0.3); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.03);
}
.form-input.error:focus, .form-select.error:focus, .form-textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.form-textarea { min-height: 92px; resize: vertical; }

.form-phone { display: flex; align-items: stretch; }
.form-phone .phone-prefix {
  display: flex; align-items: center;
  padding: 0 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-right: none;
  border-radius: 9px 0 0 9px;
  background: #f5f2ed;
  color: #64748b;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
}
.form-phone .form-input {
  border-radius: 0 9px 9px 0;
}

.form-error {
  font-size: 0.78rem; color: #dc2626;
  min-height: 1em; margin-top: 0.1rem;
}

/* chips for multi-select stage */
.chip-group {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.chip {
  display: inline-flex; align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  background: #fdfcfa;
  font-size: 0.85rem; font-weight: 500;
  color: #475569;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: rgba(37, 99, 235, 0.35); color: #1d4ed8; }
.chip.on {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.14), rgba(192, 132, 252, 0.14));
  border-color: rgba(37, 99, 235, 0.4);
  color: #1d4ed8;
  font-weight: 600;
}

/* attestation checkboxes */
.form-attest {
  margin-top: 0.3rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #faf8f4;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.check {
  display: flex; align-items: flex-start; gap: 0.7rem;
  cursor: pointer;
  font-size: 0.85rem; line-height: 1.65;
  color: #334155;
}
.check input {
  appearance: none; -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1.5px solid rgba(15, 23, 42, 0.25);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  margin-top: 0.15rem;
  transition: border-color 0.2s, background 0.2s;
}
.check input:hover { border-color: #2563eb; }
.check input:checked {
  background: #2563eb;
  border-color: #2563eb;
}
.check input:checked::after {
  content: '';
  position: absolute;
  left: 4px; top: 0.5px;
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* submit button */
.submit-btn {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.4rem;
  border: none;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 55%, #7c3aed 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28), 0 0 18px rgba(56, 189, 248, 0.18);
  transition: background-position 0.5s, transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
}
.submit-btn:hover:not(:disabled) {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.36), 0 0 24px rgba(124, 58, 237, 0.25);
}
.submit-btn:active:not(:disabled) { transform: translateY(0); }
.submit-btn:disabled {
  background: #cbd5e1;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.85;
}
.submit-btn .spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  margin-top: 0.1rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.65;
  text-align: center;
}

/* honeypot — visually hidden but not display:none (bots often skip display:none) */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ===== Returning-investor quick sign-in (collapsible card) ===== */
.returning-section {
  padding: 7rem 0 0;  /* top space reserves room for the fixed nav (no hero anymore) */
  background: #faf8f5;
}
.returning-card {
  max-width: 680px; margin: 0 auto;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.04) 0%, rgba(192, 132, 252, 0.04) 100%);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.returning-card:hover { border-color: rgba(37, 99, 235, 0.3); }
.returning-card[open] {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.08);
}
.returning-summary {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.95rem 1.3rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  transition: background 0.18s;
}
.returning-summary::-webkit-details-marker { display: none; }
.returning-summary::after {
  content: '';
  position: absolute;
  right: 1.3rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid #2563eb;
  border-bottom: 1.5px solid #2563eb;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
}
.returning-card[open] .returning-summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.returning-summary:hover { background: rgba(37, 99, 235, 0.05); }
.returning-summary-main {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  padding-right: 1.6rem;
}
.returning-summary-cta {
  color: #1d4ed8;
  margin-left: 0.3rem;
  font-weight: 700;
}
.returning-summary-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #64748b;
}
.returning-form {
  padding: 0 1.3rem 1.3rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.returning-form .form-label {
  margin-top: 0.4rem;
  font-size: 0.78rem; color: #475569; font-weight: 500;
}
.returning-row {
  display: flex; gap: 0.55rem; align-items: stretch;
}
.returning-row .form-input {
  flex: 1 1 auto;
}
.returning-btn {
  flex-shrink: 0;
  padding: 0.7rem 1.15rem;
  border: none;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 55%, #7c3aed 100%);
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.returning-btn:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.returning-btn:disabled { background: #cbd5e1; cursor: not-allowed; }
.returning-note {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.7;
  margin-top: 0.35rem;
}

@media (max-width: 640px) {
  .returning-row { flex-direction: column; }
  .returning-btn { width: 100%; justify-content: center; }
}

/* ===== Flash banners (form page: errors or "already authed" CTA) ===== */
.flash-container {
  max-width: 680px; margin: 0 auto;
  padding: 1.5rem 2rem 0;
}
.flash {
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.7;
  border: 1px solid;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.flash.error {
  background: rgba(220, 38, 38, 0.06);
  border-color: rgba(220, 38, 38, 0.28);
  color: #991b1b;
}
.flash.info {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.28);
  color: #1e3a8a;
}
.flash-cta {
  display: inline-flex; align-items: center;
  padding: 0.42rem 0.95rem;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 55%, #7c3aed 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border-radius: 8px;
  transition: filter 0.2s, transform 0.2s;
}
.flash-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ===== BP greeting section (header of /investor/bp) ===== */
.bp-greeting-section {
  position: relative;
  padding: 8rem 0 3.6rem;
  background: linear-gradient(160deg, #020617 0%, #0c1e3d 60%, #1e293b 100%);
  color: #f8fafc;
  overflow: hidden;
}
.bp-greeting-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 70%);
}
.bp-greeting-section::before,
.bp-greeting-section::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(130px); z-index: 0;
}
.bp-greeting-section::before { width: 40vw; height: 40vw; background: rgba(56, 189, 248, 0.2); top: -30%; left: -10%; }
.bp-greeting-section::after  { width: 32vw; height: 32vw; background: rgba(192, 132, 252, 0.16); bottom: -45%; right: -5%; }
.bp-greeting-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}
.bp-greeting-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 1.5rem;
}
.bp-greeting-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #38bdf8; box-shadow: 0 0 8px #38bdf8;
}
.bp-greeting-salute {
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin-bottom: 1.4rem;
}
.bp-greeting-salute .salute-prefix {
  color: rgba(226, 232, 240, 0.8);
  font-weight: 500;
  margin-right: 0.45rem;
}
.bp-greeting-salute .salute-body {
  background: linear-gradient(135deg, #bfdbfe 0%, #c4b5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 700;
}
.bp-greeting-body {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 1rem;
}
.bp-greeting-body em {
  font-style: normal;
  color: #fcd34d;
  font-weight: 500;
}
.bp-greeting-sign {
  margin-top: 1.8rem;
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 0.7rem 1.1rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 12px;
  border-left: 3px solid #38bdf8;
}
.bp-greeting-sign .sign-whale {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.6));
}
.bp-greeting-sign .sign-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.bp-greeting-sign .sign-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
  margin-top: 0.2rem;
}

/* ===== BP section (shown by default on /investor/bp; hidden on /investor until unlock) ===== */
.bp-section {
  padding: 3rem 0 5rem;
  background: #faf8f5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s,
    transform 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s,
    max-height 0s linear 0.95s,
    visibility 0s linear 0.95s;
}
body.unlocked .bp-section {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  max-height: none;
  overflow: visible;
  transition:
    opacity 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s,
    transform 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s,
    max-height 0s linear 0s,
    visibility 0s linear 0s;
}

/* shared inline heading rhythm inside BP sections */
.bp-sec h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 1.5rem 0 0.6rem;
  letter-spacing: -0.005em;
}

.bp-stamp {
  max-width: 880px; margin: 0 auto 2.2rem;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #64748b;
}
.bp-stamp .stamp-left {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.18);
}
.bp-stamp .stamp-left::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #2563eb;
}
.bp-stamp .stamp-right { color: #94a3b8; }

.bp-container { max-width: 880px; margin: 0 auto; padding: 0 2rem; }

.bp-sec {
  padding: 2.6rem 0 2.2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}
.bp-sec:first-of-type { border-top: none; padding-top: 0.6rem; }
.bp-sec-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 0.6rem;
}
.bp-sec-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.015em;
  line-height: 1.28;
  margin-bottom: 0.4rem;
}
.bp-sec-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1.6rem;
}
.bp-sec p {
  font-size: 1rem;
  color: #334155;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.bp-sec p:last-child { margin-bottom: 0; }
.bp-sec strong { color: #0f172a; font-weight: 700; }
.bp-sec a.inline-link { color: #1d4ed8; border-bottom: 1px solid rgba(37, 99, 235, 0.3); }
.bp-sec a.inline-link:hover { color: #7c3aed; border-bottom-color: #7c3aed; }

.bp-sec ul { list-style: none; padding: 0; margin: 0.4rem 0 1rem; }
.bp-sec ul li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.55rem;
  color: #334155;
  line-height: 1.85;
}
.bp-sec ul li::before {
  content: ''; position: absolute;
  left: 0.2rem; top: 0.75em;
  width: 5px; height: 5px; border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
}

/* stat cards row for one-pager */
.bp-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.4rem 0 1.8rem;
}
.bp-stat {
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fdfcfa;
}
.bp-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.5rem;
}
.bp-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
}

/* product cards row */
.bp-products {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin: 1rem 0 0.5rem;
}
.bp-product {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.22s, transform 0.22s;
}
.bp-product:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}
.bp-product-name {
  font-weight: 800;
  color: #0f172a;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.bp-product-en {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #64748b;
}
.bp-product p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
  margin: 0.4rem 0 0;
}

/* funding table-ish block */
.bp-funding-grid {
  display: grid; grid-template-columns: max-content 1fr;
  gap: 0.55rem 1.6rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  background: #fdfcfa;
  margin: 0.8rem 0 1.4rem;
}
.bp-funding-grid dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #64748b;
  padding-top: 0.15rem;
}
.bp-funding-grid dd {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 600;
}

/* CTA block at bottom */
.bp-cta {
  margin-top: 2rem;
  padding: 1.8rem 1.8rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%);
  color: #f8fafc;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.bp-cta-text h3 {
  font-size: 1.15rem; font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}
.bp-cta-text p { font-size: 0.92rem; color: rgba(203, 213, 225, 0.85); margin: 0; line-height: 1.6; }
.bp-cta-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.bp-cta-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  transition: background 0.22s, border-color 0.22s, transform 0.2s;
}
.bp-cta-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}
.bp-cta-btn.primary {
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 100%);
  color: #0f172a;
  border-color: transparent;
}
.bp-cta-btn.primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.bp-confidential {
  margin-top: 2rem;
  padding: 0.9rem 1.2rem;
  border-left: 3px solid #f59e0b;
  background: rgba(245, 158, 11, 0.06);
  font-size: 0.82rem;
  color: #78350f;
  line-height: 1.7;
  border-radius: 0 8px 8px 0;
}

/* TBD markers — obvious, hard to miss */
.bp-tbd {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  margin: 0 0.15rem;
  border: 1px dashed #f97316;
  border-radius: 6px;
  background: rgba(249, 115, 22, 0.06);
  color: #c2410c;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.bp-tbd::before {
  content: 'TBD · ';
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: #ea580c;
  opacity: 0.75;
}

/* ===== Verification-code modal ===== */
body.code-modal-open { overflow: hidden; }

.code-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  animation: codeModalIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes codeModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.code-modal[hidden] { display: none; }

.code-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.code-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 2rem 2rem 1.8rem;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.25), 0 2px 6px rgba(15, 23, 42, 0.08);
  animation: codeCardIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes codeCardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.code-modal-card::before {
  content: ''; position: absolute;
  top: 0; left: 2rem; right: 2rem; height: 2px;
  background: linear-gradient(90deg, #60a5fa, #c084fc);
  border-radius: 0 0 2px 2px;
}

.code-modal-close {
  position: absolute; top: 0.7rem; right: 0.9rem;
  background: none; border: none;
  width: 32px; height: 32px;
  font-size: 1.5rem; line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.code-modal-close:hover { background: rgba(15, 23, 42, 0.06); color: #0f172a; }

.code-modal-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #2563eb;
  padding: 0.3rem 0.7rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 0.85rem;
}
.code-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}
.code-modal-title .code-modal-title-en {
  display: block;
  margin-top: 0.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #64748b;
}
.code-modal-intro {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.65;
}
.code-modal-intro strong {
  color: #0f172a;
  font-weight: 700;
  word-break: break-all;
}
.code-modal-intro .code-modal-intro-en {
  color: #94a3b8;
  font-style: italic;
  font-size: 0.78rem;
}

.code-form { margin-top: 1.4rem; }

.code-inputs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.code-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: #0f172a;
  border: 1.5px solid rgba(15, 23, 42, 0.18);
  background: #fdfcfa;
  border-radius: 10px;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.code-box:hover { border-color: rgba(37, 99, 235, 0.35); }
.code-box:focus {
  outline: none;
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.code-box.error {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.04);
}

.code-error {
  font-size: 0.82rem;
  color: #dc2626;
  min-height: 1.1em;
  margin-bottom: 0.8rem;
}

.code-submit {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: none;
  border-radius: 11px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 55%, #7c3aed 100%);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.25);
  transition: filter 0.2s, transform 0.2s, opacity 0.2s;
}
.code-submit:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.code-submit:disabled { background: #cbd5e1; box-shadow: none; cursor: not-allowed; }

.code-modal-footer {
  margin-top: 1rem;
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.code-link-btn {
  background: none; border: none;
  color: #1d4ed8;
  font-family: inherit;
  font-size: 0.85rem; font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0.4rem;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
.code-link-btn:hover:not(:disabled) { background: rgba(37, 99, 235, 0.08); }
.code-link-btn:disabled { color: #94a3b8; cursor: not-allowed; }
.code-sep { color: #cbd5e1; }

.code-modal-hint {
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  background: rgba(245, 158, 11, 0.06);
  border-left: 3px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  font-size: 0.78rem;
  color: #78350f;
  line-height: 1.6;
}

@media (max-width: 520px) {
  .code-modal { padding: 1rem; }
  .code-modal-card { padding: 1.6rem 1.3rem 1.4rem; }
  .code-inputs { gap: 0.35rem; }
  .code-box { font-size: 1.3rem; }
}

/* ===== Footer ===== */
footer { padding: 2.5rem 0; border-top: 1px solid #e8e5e0; background: #faf8f5; }
footer .container { display: flex; justify-content: center; align-items: center; }
footer span { font-size: 0.8rem; color: #86868b; }

/* ===== Mobile ===== */
@media (max-width: 820px) {
  .container { padding: 0 1.5rem; }
  .nav-logo img { height: 56px; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(2, 6, 23, 0.97);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s, opacity 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-item { border-top: 1px solid rgba(255,255,255,0.05); }
  .nav-item:first-child { border-top: none; }
  .nav-link { padding: 0.9rem 1.8rem; width: 100%; }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
    border: none; box-shadow: none;
    padding: 0 0 0.6rem 1.8rem; margin: 0;
    min-width: 0;
  }
  .nav-dropdown a { padding: 0.5rem 0.9rem; font-size: 0.82rem; }
  .nav-toggle { display: block; }
  nav.on-light .nav-links { background: rgba(250, 248, 245, 0.98); }
  nav.on-light .nav-item { border-top-color: rgba(15, 23, 42, 0.06); }

  .investor-hero { padding: 7rem 0 3rem; }
  .gate-section { padding: 2.5rem 0 4rem; }
  .gate-card { padding: 2rem 1.6rem; border-radius: 14px; }
  .gate-card::before { left: 2rem; right: 2rem; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 1rem; }
  .bp-stats { grid-template-columns: 1fr; }
  .bp-products { grid-template-columns: 1fr; }
  .bp-funding-grid { grid-template-columns: 1fr; gap: 0.1rem 0; padding: 1.2rem 1.3rem; }
  .bp-funding-grid dt { padding-top: 0.9rem; border-top: 1px solid rgba(15, 23, 42, 0.06); }
  .bp-funding-grid dt:first-of-type { padding-top: 0; border-top: none; }
  .bp-funding-grid dd { padding-bottom: 0.6rem; }
  .bp-cta { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.4rem; }
  .bp-stamp { padding: 0 1.5rem; }
  .bp-container { padding: 0 1.5rem; }
}
