:root {
  --navy: #0b1f3a;
  --navy-deep: #071525;
  --navy-mid: #132a4a;
  --navy-soft: #1a3558;
  --gold: #c9a227;
  --gold-dark: #a8861c;
  --gold-soft: #e8d7a3;
  --cream: #f7f5f0;
  --paper: #fbfaf7;
  --line: #e4dfd4;
  --line-dark: rgba(201, 162, 39, 0.28);
  --text: #132033;
  --muted: #5b6573;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 31, 58, 0.04), 0 12px 32px rgba(11, 31, 58, 0.05);
  --max: 1180px;
  --nav-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
.display {
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 1rem;
}

h1,
.display {
  font-size: clamp(2.3rem, 4.6vw, 4.15rem);
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-family: Manrope, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.85rem;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section.tight {
  padding: 72px 0;
}

.section.cream {
  background: var(--cream);
}

.section.navy {
  background: var(--navy);
  color: #d7deea;
}

.section.navy h2,
.section.navy h3,
.section.navy .display {
  color: var(--white);
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-family: Manrope, sans-serif;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-mid);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: #d4af3a;
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-link {
  color: var(--navy);
  font-family: Manrope, sans-serif;
  font-weight: 650;
  font-size: 0.92rem;
}

.btn-link:hover {
  color: var(--gold-dark);
}

.text-link {
  font-family: Manrope, sans-serif;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--navy);
}

.text-link:hover {
  color: var(--gold-dark);
}

.insights-more {
  margin-top: 28px;
}

.edu-sub {
  font-size: 1.05rem;
  margin: 1.4rem 0 0;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav .brand {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 16px 0;
  box-sizing: border-box;
  overflow: visible;
  flex-shrink: 0;
}

.nav .brand img {
  height: calc(var(--nav-h) - 32px);
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: Manrope, sans-serif;
  font-size: 0.9rem;
  font-weight: 560;
  color: var(--navy);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background:
    linear-gradient(180deg, #fbfaf7 0%, #f3f0e8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 31, 58, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 31, 58, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero p.lead {
  font-size: 1.12rem;
  max-width: 540px;
  color: var(--muted);
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 72%;
}

.mark-card {
  position: absolute;
  inset: 24px 0 24px 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.mark-card svg {
  width: 100%;
  height: 100%;
}

/* Credibility */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.trust-item {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item span {
  display: block;
  font-family: Manrope, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.trust-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Cards */
.cards-3,
.cards-2,
.cards-6 {
  display: grid;
  gap: 20px;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.cards-6 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #d8c98a;
}

.icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--navy);
}

.icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Why */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.pillar {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar:nth-child(2n) {
  border-right: none;
}

.pillar:nth-last-child(-n + 2) {
  border-bottom: none;
}

.pillars-5 .pillar:last-child {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
}

.pillars-5 .pillar:nth-child(3),
.pillars-5 .pillar:nth-child(4) {
  border-bottom: 1px solid var(--line);
}

.pillar .num {
  font-family: Manrope, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.step {
  padding: 0 18px;
  position: relative;
}

.step-index {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--paper);
  display: grid;
  place-items: center;
  font-family: Manrope, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

/* Industries */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry {
  min-height: 168px;
  padding: 24px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.industry::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  transform: rotate(24deg);
}

.industry h3 {
  color: var(--white);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.industry p {
  margin: 8px 0 0;
  color: #c5cedb;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.industry:nth-child(even) {
  background: var(--navy-mid);
}

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.founder-mark {
  border: 1px solid var(--line-dark);
  min-height: 360px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.08), transparent 40%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(201, 162, 39, 0.07) 18px,
      rgba(201, 162, 39, 0.07) 19px
    );
}

.founder-mark .name {
  font-family: Manrope, sans-serif;
  font-size: 2rem;
  color: var(--white);
  letter-spacing: -0.03em;
}

.founder-mark .role {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 650;
  margin-top: 8px;
}

/* Education */
.edu-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.edu-panel {
  padding: 0;
  overflow: hidden;
}

.edu-panel h3 {
  padding: 24px 24px 0;
}

.edu-panel > p {
  padding: 0 24px;
}

.edu-checks {
  margin: 8px 0 0;
  padding: 8px 24px 24px;
  list-style: none;
}

.edu-checks li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.edu-checks strong {
  display: block;
  color: var(--navy);
  font-weight: 650;
  margin-bottom: 2px;
}

.edu-steps {
  counter-reset: edu;
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.edu-steps li {
  counter-increment: edu;
  padding: 16px 0 16px 56px;
  position: relative;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.edu-steps li::before {
  content: counter(edu, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 16px;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  color: var(--gold-dark);
}

.disclaimer {
  font-size: 0.84rem;
  color: var(--muted);
  border-left: 2px solid var(--gold);
  padding-left: 14px;
}

/* Case studies */
.case {
  padding: 0;
  overflow: hidden;
}

.case-label {
  padding: 14px 22px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
}

.case-body {
  padding: 24px 22px 26px;
}

.meta-row {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  font-size: 0.92rem;
}

.meta-row div {
  display: flex;
  gap: 10px;
}

.meta-row strong {
  min-width: 128px;
  color: var(--navy);
  font-weight: 650;
}

.coming {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 650;
}

/* Insights */
.insight {
  padding: 0;
  overflow: hidden;
}

.insight-cat {
  padding: 16px 22px 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
}

.insight h3 {
  padding: 8px 22px 0;
}

.insight p {
  padding: 0 22px;
}

.insight .more {
  display: block;
  padding: 4px 22px 22px;
}

/* Final CTA */
.cta-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-block p {
  font-size: 1.08rem;
  margin-bottom: 28px;
}

/* Footer */
.footer {
  background: var(--navy-deep);
  color: #b7c2d2;
  padding: 64px 0 28px;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(140px, 1fr));
  gap: 40px 48px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.footer-brand img {
  height: 72px;
  width: auto;
  display: block;
}

.footer-intro {
  margin: 0 0 14px;
  max-width: 34ch;
  line-height: 1.65;
}

.footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--gold);
}

.footer .btn {
  margin-top: 4px;
}

.footer-note {
  color: #8b97a8;
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 38ch;
}

.legal {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #8b97a8;
}

/* Forms */
.form-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: var(--radius);
}

.form .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--navy);
  margin-bottom: 6px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  border-radius: 4px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(201, 162, 39, 0.45);
  border-color: var(--gold);
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.btn:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.success {
  display: none;
  padding: 28px;
  border: 1px solid var(--gold);
  background: #fbf6e8;
}

.success.show {
  display: block;
}

/* Page hero */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfaf7, #f3f0e8);
}

.page-hero p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Article */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article p,
.article li {
  color: #334155;
}

.article h2 {
  font-size: 1.55rem;
  margin-top: 2.2rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-family: Manrope, sans-serif;
  font-weight: 650;
  color: var(--navy);
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-plain li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

/* Funding fit */
.fit-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.fit-steps span {
  flex: 1;
  height: 3px;
  background: var(--line);
}

.fit-steps span.on {
  background: var(--gold);
}

.fit-panel {
  display: none;
}

.fit-panel.on {
  display: block;
}

.result-box {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 28px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Mobile nav */
.mobile-panel {
  display: none;
}

body.nav-open .mobile-panel {
  display: block;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--paper);
  z-index: 40;
  padding: 24px;
}

.mobile-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: Manrope, sans-serif;
  font-weight: 600;
  color: var(--navy);
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions .btn-outline {
    display: none;
  }

  :root {
    --nav-h: 72px;
  }

  .nav .brand img {
    height: calc(var(--nav-h) - 32px);
  }

  .nav-actions .btn-primary {
    font-size: 0.88rem;
    padding: 0 16px;
    min-height: 42px;
    max-width: none;
    line-height: 1.2;
    white-space: nowrap;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 36px 0 40px;
  }

  .hero-grid,
  .founder-grid,
  .edu-grid,
  .form-wrap,
  .split,
  .footer-grid,
  .cards-3,
  .cards-6,
  .process,
  .pillars {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-intro,
  .footer-note {
    max-width: none;
  }

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

  .hero-visual {
    min-height: 0;
    order: -1;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-frame img {
    aspect-ratio: 16 / 10;
  }

  .trust {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .trust-grid {
    display: flex;
    width: max-content;
    min-width: 100%;
  }

  .trust-item {
    flex: 0 0 210px;
    border-right: 1px solid var(--line);
    border-bottom: none;
  }

  .process::before {
    display: none;
  }

  .step {
    padding: 0 0 22px 8px;
    border-left: 1px solid var(--gold);
    margin-left: 10px;
  }

  .pillar:nth-child(2n) {
    border-right: none;
  }

  .pillar {
    border-right: none;
  }

  .pillars-5 .pillar:nth-child(3),
  .pillars-5 .pillar:nth-child(4),
  .pillars-5 .pillar:last-child {
    grid-column: auto;
    border-bottom: 1px solid var(--line);
  }

  .pillars-5 .pillar:last-child {
    border-bottom: none;
  }

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

  .section {
    padding: 56px 0;
  }

  .container {
    width: min(var(--max), calc(100% - 32px));
  }
}

@media (max-width: 640px) {
  .cards-2,
  .hero-actions,
  .industries {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-block .btn {
    width: 100%;
  }

  h1 {
    font-size: 2.05rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .page-hero {
    padding: 40px 0 32px;
  }

  .founder-mark {
    min-height: 240px;
  }

  .form {
    padding: 20px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }
}
