/* Apex Venture Group — B2B arm of Parfait Tailored Hair
   Palette + type per Parfait Brand Kit v2.0 (monochrome; no accent colour). */

:root {
  --black: #000000;
  --ink: #1F1F1F;
  --bg: #FAFAFA;
  --surface: #F1F5F9;
  --line: #E3E3E6;
  --muted: #6E6E73;
  --maxw: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", "Avenir Next", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--black); }

h1, h2, h3 { font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.4vw, 54px); letter-spacing: .01em; }
h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .02em; text-transform: uppercase; }
h3 { font-size: 22px; letter-spacing: .01em; }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(19px, 2.1vw, 23px); color: var(--muted); max-width: 62ch; }
.eyebrow {
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,250,250,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand svg, .brand img { width: 30px; height: 30px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; letter-spacing: .16em; font-size: 15px; text-transform: uppercase; }
.brand-sub { font-size: 11px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.nav a.navlink {
  text-decoration: none; font-size: 15px; color: var(--muted);
  letter-spacing: .04em;
}
.nav a.navlink:hover { color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 2px;
  font-size: 15px; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; font-weight: 500; border: 1px solid var(--black);
  background: var(--black); color: #fff; transition: opacity .15s ease;
}
.btn:hover { opacity: .82; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--black); color: #fff; }
.btn-invert { background: #fff; color: var(--black); border-color: #fff; }
.btn-invert:hover { color: var(--black); }

/* ---------- hero ---------- */
.hero {
  background: var(--black); color: #fff;
  padding: clamp(72px, 11vw, 132px) 0 clamp(64px, 9vw, 108px);
}
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { color: rgba(255,255,255,.72); }
.hero .eyebrow { color: rgba(255,255,255,.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- sections ---------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
section.alt { background: var(--surface); }
.section-head { max-width: 66ch; margin-bottom: 48px; }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line);
  padding: 32px; border-radius: 2px;
}
section.alt .card { background: #fff; }
.card h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-size: 12px; letter-spacing: .18em; color: var(--muted);
  display: block; margin-bottom: 14px;
}

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .n {
  font-size: 13px; letter-spacing: .16em; color: var(--muted); padding-top: 6px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin-bottom: 0; color: var(--muted); }

/* ---------- detail lists ---------- */
.deflist { border-top: 1px solid var(--line); margin: 0; }
.deflist > div {
  display: grid; grid-template-columns: minmax(160px, 240px) 1fr; gap: 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.deflist dt { color: var(--muted); font-size: 15px; letter-spacing: .04em; }
.deflist dd { margin: 0; }

ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li {
  padding: 10px 0 10px 26px; position: relative; border-bottom: 1px solid var(--line);
}
ul.ticks li::before {
  content: ""; position: absolute; left: 4px; top: 20px;
  width: 8px; height: 8px; background: var(--ink);
}

/* ---------- legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 80px) 0; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 22px; text-transform: none; letter-spacing: .01em; margin-top: 44px; }
.legal h2:first-of-type { margin-top: 32px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 15px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--black); color: rgba(255,255,255,.72);
  padding: 64px 0 40px; font-size: 15px;
}
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid {
  display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.16);
}
.site-footer h4 {
  color: #fff; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 16px; font-weight: 500;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom {
  padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: space-between; font-size: 14px; color: rgba(255,255,255,.56);
}
.legal-name { color: #fff; }

@media (max-width: 760px) {
  .nav { gap: 16px; }
  .nav a.navlink { display: none; }
  .nav a.navlink.keep { display: inline; }
  .deflist > div { grid-template-columns: 1fr; gap: 4px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .step .n { padding-top: 0; }
}
