:root {
  --navy-950: #0a0e1f;
  --navy-900: #0d1226;
  --navy-700: #1c2547;
  --ink: #e9ecf7;
  --ink-dim: #aab1d1;
  --ink-faint: #7b83a8;
  --violet: #8b6cf0;
  --blue: #4f8ef7;
  --white: #ffffff;
  --gradient: linear-gradient(90deg, var(--violet), var(--blue));
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--navy-950); }
body {
  overflow-x: hidden;
  background: var(--navy-950);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Space Grotesk', Inter, ui-sans-serif, system-ui, sans-serif; }

.page { max-width: 1400px; margin: 0 auto; padding: 40px 48px 56px; }
.page-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 17.3px; }
.brand-mark { width: 56.9px; height: 56.9px; border-radius: 17.3px; object-fit: cover; flex-shrink: 0; background: linear-gradient(135deg, #4f8ef7, #8b6cf0); padding: 2px; }
.brand-title { margin: 0; font: 700 27.2px/1 'Space Grotesk', Inter, sans-serif; letter-spacing: -.01em; white-space: nowrap; }
.brand-title .accent, .page-heading .grad, .cta-text strong { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-title .suffix { background: linear-gradient(90deg, #9aa1c2, #5c6389); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { margin-top: 7px; color: #e8eaf3; font-size: 13.6px; font-weight: 600; letter-spacing: .14em; }
a.brand-sub { text-decoration: underline; text-decoration-color: rgba(139, 108, 240, .65); text-underline-offset: 4px; text-decoration-thickness: 2px; transition: color .15s, text-decoration-color .15s; }
a.brand-sub:hover { color: #ffffff; text-decoration-color: var(--blue); }
.lede-link { color: #a98cff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(139, 108, 240, .55); text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.lede-link:hover { color: var(--blue); text-decoration-color: var(--blue); }
.back-link { color: var(--ink-dim); font-size: 13px; font-weight: 600; }
.back-link:hover { color: var(--white); }

.hero { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 0; align-items: stretch; min-height: 720px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; justify-content: center; padding: 32px 10px 32px 0; }
.page-heading { max-width: 410px; margin: 0; font-size: clamp(39.4px, 3.66vw, 53.4px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.page-heading.heading-wide { font-size: clamp(36px, 3.25vw, 46px); letter-spacing: -.03em; }
.page-heading.mcp-heading { font-size: clamp(22px, 1.85vw, 28px); letter-spacing: -.025em; }
.page-lede { max-width: 44ch; margin: 0; color: var(--ink); font-size: 16px; line-height: 1.6; }


/* --- Homepage-specific classes (index.html) --- */
.headline { margin: 0; font-size: clamp(39.4px, 3.66vw, 53.4px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.headline .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 44ch; margin: 0; color: var(--ink); font-size: 16px; line-height: 1.6; }
.lede .hl { color: #b9a6ff; font-weight: 600; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 15.3px; display: block; }
/* Side bullet list — same as Home page features */
.section-label { color: #b9a6ff; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 2px 0 -10px; }
.section-label:empty { display: none; }
.features { display: flex; flex-direction: column; gap: 18px; }
.features.compact { gap: 10px; }
.features.compact .feature-icon { width: 34px; height: 34px; }
.features.compact .feature-icon svg { width: 17px; height: 17px; }
.features.compact h3 { font-size: 13.5px; }
.features.compact p { font-size: 12px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(139,108,240,0.55); display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(139,108,240,0.08); color: inherit; }
.feature-icon svg { width: 21.25px; height: 21.25px; stroke: #ffffff; }
.feature h3 { font-size: 15px; font-weight: 600; margin: 0 0 2px; color: var(--ink); }
.feature p { font-size: 13.5px; line-height: 1.5; color: var(--ink-faint); margin: 0; max-width: none; }
.feature.active .feature-icon { background: var(--gradient); border-color: transparent; box-shadow: 0 6px 18px rgba(107,90,240,.35); }
.feature.active h3 a { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature h3 a:hover { color: var(--white); }

.cta-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 4px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.09); }
.cta-text { max-width: 200px; color: var(--ink); font-size: 13px; line-height: 1.5; }
.cta-text strong { font-size: 14px; font-weight: 600; }
.slamdunk-link { display: inline-block; margin-top: 4px; font-size: clamp(20px, 3vw, 28px); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .15s, transform .15s; }
.slamdunk-link:hover { opacity: .88; transform: translateY(-1px); }
.page-heading.flow-heading { letter-spacing: -.025em; }
@media (max-width: 980px) {
  .page-heading.flow-heading { font-size: clamp(35px, 7.15vw, 52px); white-space: nowrap; }
}
@media (max-width: 560px) {
  .page-heading.flow-heading { font-size: clamp(24px, 6.5vw, 34px); white-space: nowrap; }
}
.cta-button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: var(--gradient); color: var(--white); font-size: 14.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 28px rgba(107,90,240,.35); }
.cta-button:hover { transform: translateY(-1px); }
.hero-photo-frame { position: relative; min-height: 720px; overflow: hidden; clip-path: polygon(9% 0%, 100% 0%, 100% 100%, 0% 100%); background: var(--navy-900); }
.hero-photo-frame img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }

.page-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.09); color: var(--ink-faint); font-size: 12px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.footer-contact { display: flex; flex-direction: column; gap: 5px; text-align: right; line-height: 1.5; }
.footer-contact a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(139,108,240,.55); }
.footer-contact a:hover { color: var(--white); }

@media (max-width: 980px) {
  .page { padding: 28px 20px 40px; }
  .page-nav { margin-bottom: 24px; }
  .brand { gap: 12px; }
  .brand-mark { width: 48px; height: 48px; border-radius: 14px; }
  .brand-title { font-size: 20px; }
  .brand-sub { font-size: 10px; letter-spacing: .11em; }
  .back-link { font-size: 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { gap: 20px; padding: 0 0 24px; }
  .page-heading { max-width: 680px; font-size: clamp(39.4px, 3.66vw, 53.4px); }
  .page-lede { max-width: 680px; }
  .cta-row { max-width: 680px; }
  .hero-photo-frame { min-height: 430px; clip-path: none; }
  .hero-photo-frame img { object-position: 100% 50%; }
}

@media (max-width: 560px) {
  .page-nav { align-items: flex-start; }
  .back-link { padding-top: 10px; }
  .page-heading { font-size: clamp(39.4px, 3.66vw, 53.4px); }
  .cta-text { max-width: 300px; }
  .cta-button { min-height: 44px; }
  .hero-photo-frame, .hero-photo-frame img { min-height: 330px; }
  .page-footer { flex-direction: column; gap: 8px; }
  .footer-contact { text-align: left; }
}
