/* Performance Assembly — site styles */
:root {
  --ink: #0E1116;
  --ink-2: #3A414D;
  --muted: #4A5261;
  --line: #E6E8EC;
  --line-2: #DDE1E6;
  --soft: #F6F7F9;
  --accent: #0E7C7B;
  --accent-dark: #0A5957;
  --accent-on-dark: #6FD3D1;
  --pink: #E5177B;
  --dark-line: #2A303A;
  --dark-muted: #B4BBC6;
  --radius: 12px;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Geist', 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2, h3, p, ul, blockquote { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.pink { color: var(--pink); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 700px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -1.2px; font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 14px 22px; border-radius: 6px; font-weight: 500; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border: 1px solid #C9CED6; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.text-link { font-weight: 500; text-decoration: none; color: var(--accent); }
.text-link:hover { color: var(--accent-dark); text-decoration: underline; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); position: sticky; top: 0; z-index: 5; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.mark { width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 600; letter-spacing: 1px; line-height: 1; }
.wordmark { display: flex; flex-direction: column; gap: 4px; font-size: 12px; letter-spacing: 3.4px; line-height: 1; }
.wordmark span:first-child { font-weight: 600; }
.wordmark span:last-child { font-weight: 500; color: var(--muted); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links .btn { min-height: 44px; padding: 10px 18px; }

/* Hero */
.hero { padding-top: 112px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -2.2px; font-weight: 600; max-width: 980px; }
.hero .btn-row { padding-top: 8px; }

/* Logos */
.brands { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brands .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.brands h2 { font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.logo-grid li { height: 88px; display: flex; align-items: center; justify-content: center; padding: 0 16px; background: #fff; border: 1px solid #E1E4E9; border-radius: 8px; }
.logo-grid img { object-fit: contain; max-width: 100%; }

/* Services */
.services { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 48px; }
.feature { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 40px; display: flex; flex-wrap: wrap; gap: 40px; }
.feature-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.feature-tag { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.feature h3 { font-size: 34px; line-height: 1.1; letter-spacing: -0.8px; font-weight: 600; }
.feature p { font-size: 18px; color: var(--muted); }
.feature p.small { font-size: 15px; }
.steps { flex: 1 1 320px; list-style: none; padding: 0; }
.steps li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.steps li:last-child { border-bottom: 0; }
.steps span { color: var(--accent); font-family: var(--mono); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 22px; letter-spacing: -0.4px; font-weight: 600; }
.card p { color: var(--muted); }
.icon { color: var(--accent); }

/* Dark band */
.dark { background: var(--ink); color: #fff; }
.dark .eyebrow { color: var(--accent-on-dark); }
.dark .wrap { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.tile { background: var(--ink); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.tile .num { font-family: var(--mono); font-size: 13px; color: var(--accent-on-dark); }
.tile h3 { font-size: 20px; font-weight: 600; }
.tile p { color: var(--dark-muted); }
.categories { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.categories span:first-child { font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #8A93A1; }
.categories span:last-child { font-size: 18px; color: #E6E8EC; }
.stat { font-size: 64px; font-weight: 600; letter-spacing: -2px; line-height: 1; }

/* About teaser / founder */
.split { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > img { flex: 1 1 460px; min-width: 0; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.split-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.split-copy p { font-size: 18px; color: var(--muted); }

/* CTA */
.cta { border-top: 1px solid var(--line); }
.cta .wrap { padding-top: 128px; padding-bottom: 128px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -1.8px; font-weight: 600; max-width: 860px; }
.cta p { font-size: 19px; color: var(--muted); max-width: 620px; }

/* About page */
.page-hero { padding-top: 104px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 24px; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.03; letter-spacing: -2px; font-weight: 600; max-width: 960px; }
.founder { padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.founder > img { flex: 1 1 520px; min-width: 0; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.founder-copy { flex: 1 1 380px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.founder blockquote { font-size: 26px; line-height: 1.38; letter-spacing: -0.4px; font-weight: 500; }
.rule { width: 48px; height: 3px; background: var(--accent); }
.name { font-size: 18px; font-weight: 600; }
.role { font-size: 15px; color: var(--muted); }
.dark.numbers .wrap { padding-top: 88px; padding-bottom: 88px; gap: 40px; }
.dark.numbers h2 { font-family: var(--mono); font-size: 13px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-on-dark); }
.dark.numbers .tile { padding: 36px; gap: 10px; }
.story { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 56px; }
.story-head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.story-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -1.1px; font-weight: 600; }
.story-body { flex: 2 1 520px; display: flex; flex-direction: column; gap: 20px; font-size: 18px; color: var(--ink-2); }
.glance { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.glance dl { margin: 0; padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.glance dt { font-size: 14px; color: var(--muted); }
.glance dd { margin: 6px 0 0; font-size: 20px; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand .mark { width: 32px; height: 32px; border-width: 1.5px; border-radius: 4px; font-size: 12px; letter-spacing: .5px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--accent); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .hero { padding-top: 64px; padding-bottom: 64px; }
  .services, .split, .story, .dark .wrap { padding-top: 72px; padding-bottom: 72px; }
  .cta .wrap { padding-top: 80px; padding-bottom: 80px; }
  .page-hero { padding-top: 64px; padding-bottom: 48px; }
  .founder { padding-bottom: 72px; }
  .feature { padding: 28px; }
  .nav-links { gap: 8px 18px; font-size: 14px; }
  .lead { font-size: 18px; }
  .stat { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
