/* ============================================================
   Kingscrowd Invest — Landing Page
   Design tokens + component system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Caveat:wght@500;600;700&family=Hanken+Grotesk:wght@400;500;600;700;800&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&display=swap');

:root {
  /* Surfaces */
  --paper: #FAF7F1;
  --paper-2: #F2EDE2;
  --card: #FFFFFF;
  --card-warm: #FCFAF5;
  --ink: #10141F;
  --ink-soft: #1B2030;
  --muted: #5E6675;
  --muted-2: #8A8F9C;
  --line: #E2DED6;
  --line-2: #DFDDD7;

  /* Brand */
  --purple: #4B2DFF;
  --purple-hover: #3517CC;
  --purple-soft: #EEE9FF;
  --purple-tint: #F4F1FF;

  /* Signals */
  --green: #148A4A;
  --amber: #D89400;
  --red: #D83A2E;
  --gold: #E9A400;

  /* Dark band */
  --navy: #1B1E54;
  --navy-2: #232765;
  --navy-line: rgba(255,255,255,0.14);

  /* System */
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16,20,31,0.04), 0 1px 3px rgba(16,20,31,0.04);
  --shadow: 0 2px 4px rgba(16,20,31,0.04), 0 8px 24px rgba(16,20,31,0.06);
  --shadow-lg: 0 8px 16px rgba(16,20,31,0.06), 0 24px 60px rgba(16,20,31,0.10);
  --maxw: 1280px;
  --gutter: 40px;

  /* Type */
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Hanken Grotesk', -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: var(--sans);
  background-color: var(--paper);
  background-image: radial-gradient(120% 65% at 50% -5%, rgba(75,45,255,0.07), transparent 60%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ============================================================
   Layout
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; z-index: 2; padding: 116px 0; }
.section--tight { padding: 84px 0; }

/* ============================================================
   Type utilities
   ============================================================ */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.h-xl { font-size: clamp(48px, 6.4vw, 88px); }
.h-lg { font-size: clamp(40px, 4.6vw, 60px); }
.h-md { font-size: clamp(32px, 3.4vw, 46px); }
.h-sm { font-size: clamp(26px, 2.6vw, 34px); }

.display .dot { color: var(--purple); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow--muted { color: var(--muted); }

.serif { font-family: var(--serif); }
.lead {
  font-family: var(--serif);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.body { color: var(--muted); font-size: 16.5px; line-height: 1.62; }
.small { font-size: 13.5px; color: var(--muted); }

.serif-em { font-style: italic; color: var(--purple); }

/* hand annotation */
.note {
  font-family: var(--hand);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.05;
  color: var(--purple);
}
.note--green { color: var(--green); }
.note--amber { color: var(--amber); }
.note--red { color: var(--red); }

/* underline marker */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: "";
  position: absolute; left: -1px; right: -1px; bottom: -2px; height: 7px;
  background: currentColor; opacity: 0.22;
  border-radius: 4px; transform: rotate(-0.6deg);
}
.mark--purple { color: var(--purple); }
.mark--green { color: var(--green); }
.mark--amber { color: var(--amber); }
.mark--red { color: var(--red); }

/* purple brackets */
.bracketed { position: relative; display: inline-block; padding: 6px 34px; }
.bracketed::before, .bracketed::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 18px;
  border: 4px solid var(--purple);
}
.bracketed::before { left: 0; border-right: none; }
.bracketed::after { right: 0; border-left: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 14px 22px; border-radius: 11px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 6px 16px rgba(75,45,255,0.24); }
.btn--primary:hover { background: var(--purple-hover); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(75,45,255,0.30); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-tint); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn--on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--sm { padding: 11px 16px; font-size: 14px; }

.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 14.5px; color: var(--purple);
  transition: gap .15s ease;
}
.tlink svg { width: 16px; height: 16px; transition: transform .15s ease; }
.tlink:hover { gap: 11px; }
.tlink:hover svg { transform: translateX(2px); }
.tlink--muted { color: var(--muted); }
.tlink--muted:hover { color: var(--ink); }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card--pad { padding: 22px; }
.card-h {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.card-t { font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

/* small chips/tags */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
}
.tag--purple { background: var(--purple-soft); color: var(--purple); }
.tag--green { background: rgba(20,138,74,0.12); color: var(--green); }
.tag--amber { background: rgba(216,148,0,0.14); color: var(--amber); }
.tag--gray { background: #F0EEE8; color: var(--muted); }
.tag--hot { background: rgba(216,58,46,0.12); color: var(--red); }

.pill-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  border: 1.5px solid var(--purple); color: var(--purple);
  font-weight: 700; font-size: 14px; flex: none;
  background: var(--purple-tint);
}

/* signal badge text */
.sig-strong { color: var(--green); font-weight: 700; }
.sig-neutral { color: var(--muted); font-weight: 600; }

/* stars */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 15px; height: 15px; }
.stars .off { color: #D8D4CB; }

/* company avatar tile */
.avt {
  width: 30px; height: 30px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px; color: #fff;
}

/* divider */
.hr { height: 1px; background: var(--line); border: 0; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background-color: rgba(250,247,241,0.78);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(16,20,31,0.02), 0 6px 20px rgba(16,20,31,0.04); }
.header-in {
  max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
  height: 72px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; color: var(--ink); }
.brand-name { font-family: var(--display); font-size: 22px; letter-spacing: 0.02em; }
.brand-name .k { color: var(--ink); } .brand-name .c { color: var(--purple); }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-logo--light { filter: brightness(0) invert(1); height: 24px; }
@media (max-width: 640px) { .brand-logo { height: 22px; } }

.nav { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.nav a { font-weight: 600; font-size: 14.5px; color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--purple); transition:width .2s ease; }
.nav a:hover { color: var(--purple); } .nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.se-link { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.se-link .top { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; }
.se-link .sub { white-space: nowrap; }
.se-link .top svg { width: 13px; height: 13px; color: var(--muted); }
.se-link:hover .top { color: var(--purple); }
.se-link .sub { font-size: 11px; color: var(--muted-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 64px 0 56px; position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.18fr; gap: 56px; align-items: center; }
.hero-headline { position: relative; }
.hero-headline .h-xl { font-size: clamp(46px, 5.6vw, 80px); }
.hero-sub { margin-top: 26px; max-width: 460px; }
.hero-sub p + p { margin-top: 14px; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-tertiary { margin-top: 18px; }

.hero-anno-1 { position: absolute; right: -28px; top: 86px; transform: rotate(-6deg); text-align: center; }
.hero-anno-arrow { display: block; }

/* hero product cluster */
.hero-panel { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; position: relative; }
.hp-col { display: flex; flex-direction: column; gap: 16px; }
.hero-anno-2 { position: absolute; right: -6px; bottom: -20px; transform: rotate(-4deg); display: flex; align-items: flex-start; gap: 8px; }

/* mini list rows */
.row { display: flex; align-items: center; gap: 11px; padding: 9px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row .grow { flex: 1; min-width: 0; }
.row .name { font-weight: 600; font-size: 14px; color: var(--ink); }
.row .sub { font-size: 12px; color: var(--muted-2); }
.row .val { font-weight: 700; font-size: 14px; text-align: right; }

.ratings-head, .ratings-row { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 8px; align-items: center; }
.ratings-head { font-size: 11px; color: var(--muted-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

.bigstat { display: flex; flex-direction: column; gap: 2px; }
.bigstat .n { font-family: var(--sans); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.bigstat .n.purple { color: var(--purple); }
.bigstat .l { font-size: 12px; color: var(--muted); }

/* mini area chart */
.spark { width: 100%; height: 64px; }

/* platform mini list */
.plist { display: flex; flex-direction: column; gap: 11px; }
.plist .pi { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); }
.plist .pi svg { width: 16px; height: 16px; color: var(--purple); }
.plist .pi .ptile {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 9.5px; letter-spacing: 0.02em;
  background: var(--purple-tint); color: var(--purple); border: 1px solid var(--purple-soft);
}

.rating-big { font-family: var(--sans); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.02em; }

/* ============================================================
   PROOF ROW
   ============================================================ */
.proof-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 52px; }
.proof-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; box-shadow: var(--shadow-sm);
}
.proof-card .ic { color: var(--purple); margin-bottom: 12px; }
.proof-card .ic svg { width: 22px; height: 22px; }
.proof-card .n { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.proof-card .l { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* ============================================================
   CREDIBILITY STRIP
   ============================================================ */
.cred { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 38px 0; position: relative; z-index: 2; }
.cred-top { display: flex; align-items: baseline; gap: 28px; margin-bottom: 26px; flex-wrap: wrap; }
.cred-title { font-weight: 800; font-size: 15px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); }
.cred-sub { font-family: var(--serif); font-size: 16px; color: var(--muted); max-width: 520px; }
.logos { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo { color: #6A7080; opacity: 0.78; font-weight: 700; transition: opacity .2s ease, color .2s ease; }
.logo:hover { opacity: 1; color: var(--ink); }
.logo .lname { font-size: 17px; letter-spacing: -0.01em; }
.logo .lsub { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; }
.logo--serif .lname { font-family: var(--serif); font-weight: 600; font-size: 19px; }

/* real brand logos in the credibility strip */
.logos .logo { opacity: 1; display: flex; align-items: center; justify-content: center; }
.logos .logo img {
  width: auto; height: auto; max-height: 38px; max-width: 148px;
  object-fit: contain; display: block;
  filter: grayscale(1); opacity: 0.68;
  transition: filter .28s ease, opacity .28s ease;
}
.logos .logo:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 640px) { .logos .logo img { max-height: 30px; max-width: 110px; } }

/* ============================================================
   WHY NOW
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: start; }
.why-left .display { margin: 14px 0 22px; }
.why-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; }
.step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.step-badge {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; border: 2px solid;
  background: var(--card);
}
.step-badge.s1 { border-color: var(--green); color: var(--green); }
.step-badge.s2 { border-color: var(--amber); color: var(--amber); }
.step-badge.s3 { border-color: var(--purple); color: var(--purple); }
.step-line { flex: 1; height: 2px; background: var(--line); position: relative; }
.step-line::after { content:""; position:absolute; right:0; top:-3px; border:4px solid transparent; border-left-color: var(--line); }
.step-ic { width: 66px; height: 66px; margin-bottom: 16px; color: var(--ink); transform-origin: center; }
.step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step h4.green { color: var(--green); } .step h4.amber { color: var(--amber); } .step h4.purple { color: var(--purple); }
.step .note { margin-top: 16px; display: inline-flex; align-items: center; gap: 4px; }

/* ============================================================
   TRACTION (dark)
   ============================================================ */
.traction { background: var(--navy); color: #fff; position: relative; z-index: 2; padding: 100px 0; overflow: hidden; }
.traction::before {
  content:""; position:absolute; inset:0; opacity:0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.traction .wrap { position: relative; }
.traction-top { display: grid; grid-template-columns: 0.9fr 1.6fr; gap: 48px; align-items: start; margin-bottom: 44px; }
.traction-top .display { color: #fff; }
.traction-top .body { color: rgba(255,255,255,0.66); margin-top: 16px; font-size: 15px; }
.tstats { display: grid; grid-template-columns: repeat(6, 1fr); }
.tstat { padding: 4px 18px; border-left: 1px solid var(--navy-line); }
.tstat:first-child { border-left: none; padding-left: 0; }
.tstat .ic { color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.tstat .ic svg { width: 22px; height: 22px; }
.tstat .n { font-weight: 800; font-size: 27px; letter-spacing: -0.02em; }
.tstat .l { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }

.traction-mods { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.dark-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.val-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.val-badge { text-align: right; background: var(--purple-tint); border: 1px solid var(--purple-soft); border-radius: 10px; padding: 8px 12px; }
.val-badge .v { font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.val-badge .y { font-size: 12px; font-weight: 700; color: var(--green); }
.val-chart { width: 100%; height: 200px; margin-top: 6px; }
.val-foot { font-size: 11.5px; color: var(--muted-2); margin-top: 10px; }

/* ============================================================
   MOAT / SCORECARD
   ============================================================ */
.moat-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 52px; align-items: start; }
.moat-left .display { margin: 0 0 22px; }
.moat-list { display: flex; flex-direction: column; gap: 22px; margin: 26px 0 30px; }
.moat-item { display: flex; gap: 14px; }
.moat-item .mic { width: 30px; height: 30px; flex: none; color: var(--purple); }
.moat-item h5 { font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.moat-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }

.scorecard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.sc-head { padding: 24px 28px 18px; }
.sc-head .display { font-size: 26px; }
.sc-head .sub { font-family: var(--serif); font-size: 15px; color: var(--muted); margin-top: 4px; }
.sc-table { width: 100%; }
.sc-colhead { display: grid; grid-template-columns: 1.1fr 2.1fr 1.7fr 1fr; gap: 12px; padding: 10px 28px; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sc-colhead span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sc-colhead .right { text-align: right; }
.sc-row { display: grid; grid-template-columns: 1.1fr 2.1fr 1.7fr 1fr; gap: 12px; padding: 16px 28px; align-items: center; border-bottom: 1px solid var(--line); }
.sc-dim { display: flex; align-items: center; gap: 10px; }
.sc-dim svg { width: 20px; height: 20px; color: var(--purple); flex: none; }
.sc-dim .dn { font-weight: 700; font-size: 15px; }
.sc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.sc-focus { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.sc-score { text-align: right; }
.sc-score .num { font-weight: 800; font-size: 16px; margin-top: 3px; }
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; background: var(--purple-tint); }
.sc-foot .lbl { font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple); }
.sc-foot .res { display: flex; align-items: center; gap: 14px; }
.sc-foot .big { font-family: var(--sans); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.sc-foot .word { font-weight: 700; color: var(--green); }

.sc-annos { position: absolute; right: -190px; top: 60px; width: 180px; display: flex; flex-direction: column; gap: 30px; }
.sc-anno { display: flex; align-items: center; gap: 6px; }

/* ============================================================
   PRODUCT / DATA LAYER
   ============================================================ */
.prod-top { display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.prod-top .body { margin-top: 18px; }
.prod-hand { position: relative; padding-left: 8px; }
.prod-hand .note { font-size: 26px; line-height: 1.04; }

.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; grid-auto-rows: auto; }
.m-ratings { grid-column: span 5; }
.m-reports { grid-column: span 7; }
.m-regcf  { grid-column: span 3; }
.m-exits  { grid-column: span 5; }
.m-valuation { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; }
.m-rail   { grid-column: span 12; }
.m-data   { grid-column: span 12; }

.report-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.report-row + .report-row { border-top: 1px solid var(--line); }
.report-row .grow { flex: 1; min-width: 0; }
.report-row .rt { font-weight: 600; font-size: 14px; }
.report-row .rs { font-size: 12px; color: var(--muted-2); }
.report-row .rd { font-size: 12px; color: var(--muted); text-align: right; }

.exit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.exit-h { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.exit-row { padding: 8px 0; border-top: 1px solid var(--line); }
.exit-row:first-of-type { border-top: none; }
.exit-row .en { font-weight: 600; font-size: 13.5px; }
.exit-row .em { font-size: 12px; color: var(--muted-2); display: flex; gap: 8px; align-items: center; }
.dotg { color: var(--green); } .dotr { color: var(--red); }

.regcf-big { font-weight: 800; font-size: 44px; letter-spacing: -0.02em; line-height: 1; }
.valuation-big { font-weight: 800; font-size: 52px; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }

.rail-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.rail-card { flex: none; width: 210px; background: var(--card-warm); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.rail-card .rc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rail-card .rc-name { font-weight: 700; font-size: 15px; }
.rail-card .rc-cat { font-size: 12px; color: var(--muted-2); }
.rail-card .rc-raise { font-weight: 700; font-size: 14px; margin-top: 10px; }
.rail-card .rc-series { font-size: 12px; color: var(--muted); }

.data-strip { display: grid; grid-template-columns: 1.4fr repeat(7, 1fr); gap: 0; }
.data-cell { padding: 6px 18px; border-left: 1px solid var(--line); }
.data-cell:first-child { border-left: none; padding-left: 0; }
.data-cell .dn { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.data-cell .dl { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.data-cell.lead-cell .dn { color: var(--purple); }

/* ============================================================
   KC CAPITAL
   ============================================================ */
.cap-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 48px; }
.cap-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: stretch; }
.flow-step { position: relative; padding: 0 14px; display: flex; }
.flow-step:first-child { padding-left: 0; } .flow-step:last-child { padding-right: 0; }
.flow-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; flex: 1; }
.flow-num { width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid var(--purple); color: var(--purple); background: var(--purple-tint); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.flow-ic { width: 46px; height: 46px; color: var(--ink); margin-bottom: 16px; }
.flow-ic.kc { font-family: var(--display); display: flex; align-items: center; justify-content: center; }
.flow-card h5 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.flow-card .fdiv { width: 28px; height: 2px; background: var(--line); margin: 0 auto 12px; }
.flow-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.flow-arrow { position: absolute; right: -8px; top: 50%; transform: translateY(-50%); z-index: 3; color: var(--purple); }
.flow-arrow svg { width: 18px; height: 18px; }

/* KC Capital — refreshed loop (photo + numbered timeline) */
.cap-body { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.cap-photo { position: sticky; top: 96px; }
.cap-frame { border: 3px solid var(--purple); border-radius: 8px; padding: 9px; background: var(--card); box-shadow: var(--shadow); }
.cap-img { width: 100%; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; }
.cap-tag { position: absolute; left: 24px; bottom: 30px; background: rgba(255,255,255,0.95); border-radius: 9px; padding: 11px 16px; box-shadow: var(--shadow-lg); }
.cap-tag .ct { font-family: var(--hand); font-weight: 700; font-size: 23px; color: var(--purple); line-height: 1; }
.cap-tag .cs { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 2px; }

.cap-steps { position: relative; }
.cstep { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: 30px; position: relative; }
.cstep:last-child { padding-bottom: 0; }
.cstep::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: -2px; width: 2px; background: var(--line); z-index: 0; }
.cstep:last-child::before { display: none; }
.cstep-n {
  width: 48px; height: 48px; border-radius: 13px; flex: none; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 23px; letter-spacing: 0.02em;
  background: var(--card); border: 2px solid var(--purple-soft); color: var(--purple);
}
.cstep-tx { padding-top: 6px; }
.cstep-tx h5 { font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.cstep-tx p { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 460px; }
.cstep--hub .cstep-n { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: 0 10px 22px rgba(75,45,255,0.30); }
.cstep--hub .cstep-tx h5 { color: var(--purple); }
.cap-loop { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-weight: 700; font-size: 12.5px; letter-spacing: 0.01em; color: var(--purple); background: var(--purple-tint); border: 1px solid var(--purple-soft); padding: 6px 12px; border-radius: 999px; }
.cap-loop svg { width: 15px; height: 15px; }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: start; }
.founder-photo-wrap { position: relative; }
.founder-frame { border: 3px solid var(--purple); border-radius: 6px; padding: 9px; position: relative; }
.founder-photo { width: 100%; aspect-ratio: 4/4.6; border-radius: 3px; overflow: hidden; }
.founder-name-tag { position: absolute; left: 26px; bottom: 36px; background: rgba(255,255,255,0.94); border-radius: 8px; padding: 10px 16px; box-shadow: var(--shadow); }
.founder-name-tag .fn { font-family: var(--hand); font-weight: 700; font-size: 24px; color: var(--purple); line-height: 1; }
.founder-name-tag .fr { font-size: 13px; color: var(--muted); font-weight: 600; }
.founder-anno { margin-top: 16px; display: flex; align-items: flex-start; gap: 11px; padding-left: 8px; }

.founder-quote { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; color: var(--ink); margin: 18px 0 18px; position: relative; }
.founder-quote .qmark { font-family: var(--serif); color: var(--purple); font-size: 56px; line-height: 0; position: absolute; left: -36px; top: 22px; }
.founder-attr { font-size: 15px; color: var(--muted); margin-bottom: 34px; }
.founder-attr b { color: var(--ink); }
.founder-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fp-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.fp-card .fic { color: var(--purple); margin-bottom: 14px; } .fp-card .fic svg { width: 24px; height: 24px; }
.fp-card .fn { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.fp-card .fl { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }

.founder-partners { margin-top: 38px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.fpartner-label { font-weight: 800; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); max-width: 150px; line-height: 1.4; }
.fpartner-logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.fpartner-logos .logo .lname { font-size: 16px; }

/* ============================================================
   UPDATES + FAQ
   ============================================================ */
.util-container { background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.util-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; }
.util-col { padding: 44px; }
.util-col + .util-col { border-left: 1px solid var(--line); }
.util-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.util-head .ic { width: 34px; height: 34px; border-radius: 9px; background: var(--purple-soft); color: var(--purple); display: flex; align-items: center; justify-content: center; flex: none; }
.util-head .ic svg { width: 18px; height: 18px; }
.util-head h3 { font-family: var(--display); font-size: 24px; }
.util-sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; }

.update-card { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.update-card:first-of-type { border-top: none; padding-top: 4px; }
.update-thumb { width: 130px; height: 84px; flex: none; border-radius: 10px; overflow: hidden; }
.update-body .meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.update-body .meta .date { font-size: 12px; color: var(--muted-2); }
.update-body h5 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.update-body p { font-size: 13px; color: var(--muted); line-height: 1.45; margin-bottom: 8px; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-of-type { border-top: none; }
.faq-q { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 0; font-family: var(--sans); }
.faq-q .qic { width: 32px; height: 32px; border-radius: 9px; background: var(--paper-2); color: var(--muted); display: flex; align-items: center; justify-content: center; flex: none; }
.faq-q .qic svg { width: 16px; height: 16px; }
.faq-q .qt { flex: 1; font-weight: 600; font-size: 15px; color: var(--ink); }
.faq-q .qplus { color: var(--purple); transition: transform .25s ease; flex: none; }
.faq-q .qplus svg { width: 18px; height: 18px; }
.faq-item.open .qplus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-in { padding: 0 0 18px 46px; font-size: 14px; color: var(--muted); line-height: 1.6; }

.util-bottom { border-top: 1px solid var(--line); padding: 28px 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--card-warm); flex-wrap: wrap; }
.util-bottom .ub-left { display: flex; align-items: center; gap: 16px; }
.util-bottom .ub-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--purple-soft); color: var(--purple); display: flex; align-items: center; justify-content: center; flex: none; }
.util-bottom h4 { font-size: 17px; font-weight: 700; }
.util-bottom p { font-size: 13.5px; color: var(--muted); }
.util-bottom .ub-actions { display: flex; align-items: center; gap: 18px; }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.final { position: relative; z-index: 2; padding: 110px 0 0; overflow: hidden; }
.final-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 40px; align-items: center; }
.final-left .display { margin-bottom: 24px; }
.final-left .body { max-width: 460px; } .final-left .body + .body { margin-top: 14px; }
.final-actions { display: flex; gap: 14px; margin: 30px 0 18px; flex-wrap: wrap; }
.final-trust { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink); }
.final-trust svg { width: 18px; height: 18px; color: var(--green); }
.final-image { position: relative; height: 440px; }
.final-image image-slot {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

.numbers-strip { margin-top: 64px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto repeat(5, 1fr); gap: 0; }
.numbers-strip .ns-label { padding: 26px 22px 26px 0; font-weight: 800; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); align-self: center; }
.ns-cell { padding: 26px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.ns-cell .ic { color: var(--purple); } .ns-cell .ic svg { width: 18px; height: 18px; }
.ns-cell .n { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.ns-cell .l { font-size: 12px; color: var(--muted); line-height: 1.35; }

.compliance { margin-top: 8px; border-top: 1px solid var(--line); padding: 22px 0; display: flex; gap: 12px; align-items: flex-start; }
.compliance svg { width: 18px; height: 18px; color: var(--muted-2); flex: none; margin-top: 2px; }
.compliance p { font-size: 11.5px; color: var(--muted-2); line-height: 1.6; max-width: 1000px; }
.compliance a { color: var(--purple); }

.footer { background: var(--ink); color: rgba(255,255,255,0.7); position: relative; z-index: 2; padding: 40px 0; margin-top: 8px; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .brand-name { color: #fff; }
.footer .brand-mark { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s; }
.footer-social a:hover { background: var(--purple); }
.footer-social svg { width: 16px; height: 16px; }

/* footer small-print disclaimer (moved from compliance block) */
.footer-legal { margin: 26px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-legal p { font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,0.45); max-width: 1040px; }
.footer-legal a { color: rgba(255,255,255,0.7); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: #fff; }
/* footer: disclaimer nested under the nav (compact footer) */
.footer-mid { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.footer-legal-p { font-size: 11px; line-height: 1.6; color: rgba(255,255,255,0.5); }
.footer-legal-p a { color: rgba(255,255,255,0.78); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-p a:hover { color: #fff; }

/* ============================================================
   FULL-BLEED IMAGE BANNERS
   ============================================================ */
.banner { position: relative; z-index: 2; isolation: isolate; }
.banner-media {
  position: relative; width: 100%;
  min-height: clamp(360px, 38vw, 480px);
  overflow: hidden;
  background: var(--navy);
  display: flex;
}
.banner-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.banner--left .banner-scrim {
  background:
    linear-gradient(90deg, rgba(8,10,30,0.86) 0%, rgba(8,10,30,0.62) 36%, rgba(8,10,30,0.18) 66%, rgba(8,10,30,0.04) 100%),
    linear-gradient(0deg, rgba(8,10,30,0.30) 0%, rgba(8,10,30,0) 50%);
}
.banner--center .banner-scrim {
  background:
    radial-gradient(120% 100% at 50% 50%, rgba(8,10,30,0.30) 0%, rgba(8,10,30,0.55) 100%),
    linear-gradient(180deg, rgba(8,10,30,0.35) 0%, rgba(8,10,30,0.20) 45%, rgba(8,10,30,0.50) 100%);
}
.banner-inner { position: relative; z-index: 2; display: flex; width: 100%; }
.banner--left .banner-inner { align-items: flex-end; }
.banner--center .banner-inner { align-items: center; }
.banner-content { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 44px var(--gutter); position: relative; }
.banner--center .banner-content { text-align: center; }
.banner-eyebrow { color: #C9BEFF; }
.banner-title { color: #fff; margin: 14px 0 16px; }
.banner--left .banner-title { max-width: 18ch; }
.banner--center .banner-title { max-width: 20ch; margin-left: auto; margin-right: auto; }
.banner-sub {
  font-family: var(--serif); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5;
  color: rgba(255,255,255,0.84); max-width: 460px; margin-bottom: 24px;
}
.banner--center .banner-sub { margin-left: auto; margin-right: auto; }
.banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.banner--center .banner-actions { justify-content: center; }
.banner-anno {
  position: absolute; right: var(--gutter); top: 34px;
  display: flex; align-items: flex-start; gap: 8px; transform: rotate(-4deg);
}
.banner-anno .note { color: #C9BEFF; }
@media (max-width: 1080px) { .banner-anno { display: none; } }
@media (max-width: 640px) {
  .banner-media { height: clamp(320px, 70vw, 420px); }
  .banner-content { padding: 30px var(--gutter); }
}

/* ============================================================
   Reveal animation
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .sc-annos { display: none; }
  .hero-anno-1 { display: none; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .hero-grid, .why-grid, .moat-grid, .prod-top, .cap-top, .cap-body, .founder-grid, .final-grid { grid-template-columns: 1fr; }
  .traction-top { grid-template-columns: 1fr; }
  .proof-row { grid-template-columns: repeat(3, 1fr); }
  .tstats { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
  .why-steps { grid-template-columns: 1fr; }
  .cap-flow { grid-template-columns: 1fr 1fr; gap: 18px; }
  .cap-body { gap: 36px; }
  .cap-photo { position: relative; top: 0; max-width: 420px; }
  .flow-step { padding: 0; } .flow-arrow { display: none; }
  .mosaic > * { grid-column: span 12 !important; }
  .data-strip { grid-template-columns: repeat(4, 1fr); gap: 16px 0; }
  .util-grid { grid-template-columns: 1fr; }
  .util-col + .util-col { border-left: none; border-top: 1px solid var(--line); }
  .numbers-strip { grid-template-columns: repeat(3, 1fr); }
  .numbers-strip .ns-label { grid-column: 1 / -1; padding-bottom: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding: 72px 0; }
  .proof-row, .founder-proof, .data-strip, .numbers-strip { grid-template-columns: 1fr 1fr; }
  .cap-flow, .exit-cols { grid-template-columns: 1fr; }
  .hero-panel { grid-template-columns: 1fr; }
  .header-cta .se-link { display: none; }
}
