/* NextGen Acquisitions prototype - shared styles */
:root {
  --ink: #0c0c0d;
  --ink-soft: #3f3f46;
  --grey: #667085;
  --grey-light: #98a2b3;
  --line: #eaecf0;
  --panel: #f6f7f9;
  --yellow: #ffd400;
  --yellow-deep: #f2c400;
  --radius-lg: 24px;
  --radius-md: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-tile { width: 38px; height: 38px; border-radius: 9px; display: block; }
.logo-word {
  display: flex; flex-direction: column; gap: 3px;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: 15px; line-height: 1; letter-spacing: .02em;
  color: var(--ink);
}
.logo-word small {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 8px; font-weight: 700; letter-spacing: .38em; color: var(--grey);
}
.nav { display: flex; gap: 32px; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500;
}
.nav a:hover { color: var(--ink); }
.header-cta {
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600;
  padding: 10px 20px; border-radius: 10px;
}
.header-cta:hover { background: #26262b; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 700; font-size: 17px;
  padding: 17px 34px; border-radius: 14px;
  transition: transform .08s ease, background .15s ease;
  border: none; cursor: pointer; font-family: inherit;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26262b; }
.btn-outline {
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}
.btn-outline:hover { background: var(--panel); }

/* ---------- hero ---------- */
.hero { padding: 88px 0 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--ink); text-transform: uppercase;
  background: var(--yellow);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.08; letter-spacing: -0.025em; font-weight: 800;
  max-width: 880px; margin: 0 auto;
}
.hero .sub {
  font-size: 20px; color: var(--grey);
  max-width: 640px; margin: 22px auto 0;
}
.hero-actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .micro { margin-top: 16px; font-size: 14px; color: var(--grey-light); }

/* ---------- photo band ---------- */
.photo-band { padding: 24px 0 0; }
.photo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.photo-grid img {
  width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; object-position: top center;
  border-radius: var(--radius-lg); display: block;
}

/* ---------- proof strip ---------- */
.proof { padding: 64px 0 8px; text-align: center; }
.proof .label {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--grey-light); text-transform: uppercase;
}
.proof-items {
  margin-top: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.proof-item .big { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; }
.proof-item .small { margin-top: 4px; font-size: 14px; color: var(--grey); }

/* ---------- generic section ---------- */
.section { padding: 96px 0 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; }
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12; letter-spacing: -0.02em; font-weight: 800;
}
.section-head .sub { margin-top: 16px; font-size: 18px; color: var(--grey); }

/* ---------- pillars ---------- */
.pillars {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.pillar {
  background: var(--panel); border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.pillar .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.pillar h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.pillar p { font-size: 15px; color: var(--grey); }

/* ---------- quote ---------- */
.quote-panel {
  margin-top: 48px;
  background: var(--ink); border-radius: 28px;
  padding: 64px 56px;
  color: #fff;
  position: relative;
}
.quote-panel .mark {
  font-size: 72px; line-height: 1; color: var(--yellow);
  font-weight: 800; height: 44px; display: block;
}
.quote-panel blockquote {
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.42; font-weight: 500; letter-spacing: -0.01em;
  max-width: 900px;
}
.quote-panel .attr { margin-top: 32px; display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; flex: none;
}
.quote-panel .attr .name { font-weight: 700; font-size: 16px; }
.quote-panel .attr .role { font-size: 14px; color: #a1a1aa; }

/* ---------- founder ---------- */
.founder-grid {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.founder-card {
  background: var(--panel); border-radius: var(--radius-lg);
  padding: 32px; display: flex; align-items: center; gap: 20px;
}
.founder-card .avatar { width: 72px; height: 72px; font-size: 24px; }
.founder-card .name { font-size: 20px; font-weight: 700; }
.founder-card .role { font-size: 15px; color: var(--grey); margin-top: 2px; }
.link-card {
  background: var(--yellow); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; color: var(--ink); gap: 24px;
}
.link-card:hover { background: var(--yellow-deep); }
.link-card .txt { font-size: 20px; font-weight: 700; line-height: 1.3; max-width: 360px; }
.link-card .go { font-weight: 700; font-size: 15px; }

/* ---------- mission ---------- */
.mission {
  margin-top: 48px;
  background: var(--panel); border-radius: 28px;
  padding: 56px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.mission .label {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  color: var(--grey); text-transform: uppercase;
}
.mission h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.18; letter-spacing: -0.02em; font-weight: 800;
}
.mission-chips { display: flex; flex-direction: column; gap: 12px; }
.chip {
  background: #fff; border-radius: 999px;
  padding: 14px 22px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 16px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.chip .tick {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- different ---------- */
.diff-list { margin-top: 24px; }
.diff-row {
  display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: 32px;
  padding: 40px 8px; border-bottom: 1px solid var(--line);
  align-items: start;
}
.diff-row:first-child { border-top: 1px solid var(--line); }
.diff-row .num {
  font-size: 15px; font-weight: 800; color: var(--grey-light);
  padding-top: 6px;
}
.diff-row h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.diff-row p { font-size: 17px; color: var(--grey); }

/* ---------- paths (dual version) ---------- */
.paths {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.path-card {
  border-radius: 28px; padding: 40px;
  display: flex; flex-direction: column;
}
.path-card.partner { background: var(--panel); }
.path-card.acquire { background: var(--ink); color: #fff; }
.path-card .eyebrow { margin-bottom: 20px; align-self: flex-start; }
.path-card h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.15;
}
.path-card .lead { margin-top: 12px; font-size: 16px; color: var(--grey); }
.path-card.acquire .lead { color: #a1a1aa; }
.path-card ul { list-style: none; margin: 26px 0 32px; display: flex; flex-direction: column; gap: 13px; }
.path-card li { display: flex; gap: 12px; font-size: 16px; align-items: flex-start; }
.path-card li .tick {
  width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 1px;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.path-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- compare table ---------- */
.compare-wrap { margin-top: 48px; overflow-x: auto; }
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  min-width: 640px;
}
.compare th, .compare td {
  padding: 18px 22px; text-align: left; font-size: 16px;
  border-bottom: 1px solid var(--line);
}
.compare thead th { font-size: 17px; font-weight: 800; border-bottom: 2px solid var(--ink); }
.compare tbody th { font-weight: 600; color: var(--grey); width: 24%; font-size: 15px; }
.compare .col-partner { background: var(--panel); }
.compare thead .col-partner { border-radius: 14px 14px 0 0; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: none; }

/* ---------- news ---------- */
.news-card {
  margin-top: 48px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid; grid-template-columns: 160px 1fr; gap: 32px;
}
.news-card .tag {
  font-size: 13px; font-weight: 700; color: var(--grey);
  text-transform: uppercase; letter-spacing: .08em;
}
.news-card .date { margin-top: 8px; font-size: 14px; color: var(--grey-light); }
.news-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.news-card p { margin-top: 10px; font-size: 16px; color: var(--grey); max-width: 640px; }

/* ---------- final CTA ---------- */
.final-cta {
  margin-top: 96px;
  background: var(--yellow);
  border-radius: 28px;
  padding: 72px 40px; text-align: center;
}
.final-cta h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.02em; font-weight: 800; line-height: 1.12;
  max-width: 700px; margin: 0 auto;
}
.final-cta .sub { margin-top: 14px; font-size: 18px; color: rgba(12,12,13,.72); }
.final-cta .actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-primary { background: var(--ink); color: #fff; }
.final-cta .btn-primary:hover { background: #26262b; }
.final-cta .btn-outline { box-shadow: inset 0 0 0 2px var(--ink); background: transparent; }
.final-cta .btn-outline:hover { background: rgba(255,255,255,.35); }

/* ---------- contact ---------- */
.contact { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.02em; font-weight: 800; line-height: 1.15; }
.contact .sub { margin-top: 16px; font-size: 17px; color: var(--grey); max-width: 440px; }
.contact .direct { margin-top: 32px; font-size: 16px; }
.contact .direct a { color: var(--ink); font-weight: 700; }
.contact .promise { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.contact .promise div { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-soft); }
.contact .promise .tick {
  width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--yellow); display: flex; align-items: center; justify-content: center;
}
.form-card {
  background: var(--panel); border-radius: var(--radius-lg);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px;
  padding: 12px 14px; border: 1px solid #d0d5dd; border-radius: 10px;
  background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--yellow); outline-offset: 0; border-color: var(--yellow-deep);
}
.form-card .btn { width: 100%; margin-top: 8px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--grey-light); text-align: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.footer-inner .logo-tile { width: 30px; height: 30px; border-radius: 7px; }
.footer-inner .logo-word { font-size: 13px; }
.footer-inner .logo-word small { font-size: 7px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--grey); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--ink); }
.copyright { font-size: 13px; color: var(--grey-light); width: 100%; margin-top: 18px; }

/* ---------- subpage hero ---------- */
.page-hero { padding: 76px 0 8px; text-align: center; }
.page-hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1; letter-spacing: -0.025em; font-weight: 800;
  max-width: 840px; margin: 0 auto;
}
.page-hero .sub { font-size: 19px; color: var(--grey); max-width: 620px; margin: 18px auto 0; }
.page-hero .hero-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- steps ---------- */
.steps { margin-top: 32px; }
.step-row {
  display: grid; grid-template-columns: 88px 1fr 1.2fr; gap: 32px;
  padding: 36px 8px; border-bottom: 1px solid var(--line); align-items: start;
}
.step-row:first-child { border-top: 1px solid var(--line); }
.step-row .n {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.step-row h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; padding-top: 8px; }
.step-row p { font-size: 17px; color: var(--grey); padding-top: 8px; }

/* ---------- feature grid ---------- */
.features { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--panel); border-radius: var(--radius-lg); padding: 28px 24px; }
.feature .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-weight: 800; font-size: 18px;
}
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--grey); }

/* ---------- value grid (partner) ---------- */
.value-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-card { background: var(--panel); border-radius: 28px; padding: 40px 36px; }
.value-card .stat {
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1;
}
.value-card .stat em { font-style: normal; box-shadow: inset 0 -0.34em 0 var(--yellow); }
.value-card p { margin-top: 12px; font-size: 16px; color: var(--grey); max-width: 460px; }

/* ---------- FAQ ---------- */
.faq { margin: 40px auto 0; max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 26px; font-weight: 500; color: var(--grey);
  transition: transform .15s ease; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 4px 22px; color: var(--grey); font-size: 16px; max-width: 680px; }

/* ---------- blog cards ---------- */
.post-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: var(--ink); transition: border-color .15s ease;
}
.post-card:hover { border-color: var(--ink); }
.post-card .tag {
  font-size: 12px; font-weight: 700; color: var(--grey);
  text-transform: uppercase; letter-spacing: .08em;
}
.post-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.post-card p { font-size: 15px; color: var(--grey); }
.post-card .date { margin-top: auto; font-size: 13px; color: var(--grey-light); }

/* ---------- article ---------- */
.article { max-width: 780px; margin: 0 auto; padding: 72px 24px 0; }
.article .back {
  font-size: 14px; font-weight: 700; color: var(--grey); text-decoration: none;
}
.article .back:hover { color: var(--ink); }
.article .tag {
  display: inline-block; margin-top: 28px;
  font-size: 12px; font-weight: 700; color: var(--grey);
  text-transform: uppercase; letter-spacing: .08em;
}
.article h1 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12; letter-spacing: -0.02em; font-weight: 800;
}
.article .meta { margin-top: 14px; color: var(--grey-light); font-size: 14px; }
.article .body { margin-top: 36px; }
.article .body p { font-size: 17px; color: var(--ink-soft); margin-bottom: 18px; line-height: 1.65; }
.article .body h2 { font-size: 24px; letter-spacing: -0.01em; margin: 34px 0 12px; }
.article .body ul { margin: 0 0 18px 22px; }
.article .body li { font-size: 17px; color: var(--ink-soft); margin-bottom: 8px; line-height: 1.6; }
.article .note { font-size: 14px; color: var(--grey-light); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 32px; }

/* ---------- misc ---------- */
.learn-link { margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; display: inline-block; }
.learn-link:hover { text-decoration: underline; }
.path-card.acquire .learn-link { color: var(--yellow); }
.section-cta { margin-top: 44px; text-align: center; }
.nav a.active { color: var(--ink); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-items { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .founder-grid { grid-template-columns: 1fr; }
  .mission { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .diff-row { grid-template-columns: 48px 1fr; }
  .diff-row p { grid-column: 2; }
  .paths { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .features, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 60px 1fr; }
  .step-row p { grid-column: 2; padding-top: 0; }
  .news-card { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
  .quote-panel { padding: 44px 28px; }
}
@media (max-width: 540px) {
  .pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0 0; }
  .features, .post-grid { grid-template-columns: 1fr; }
}
