:root {
  --bg: #081019;
  --bg-soft: #0c1620;
  --panel: #101b26;
  --panel-2: #0b141d;
  --text: #edf2f6;
  --muted: #93a2b0;
  --muted-2: #6f7f8d;
  --line: #1d2c3a;
  --line-soft: rgba(151, 179, 199, .12);
  --accent: #78c7e8;
  --accent-2: #d8f2fb;
  --success: #91ddb0;
  --warning: #e2bb78;
  --header: rgba(8,16,25,.83);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 2; }

.page-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .065;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0, rgba(255,255,255,.035) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0, rgba(255,255,255,.02) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: soft-light;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.025em; }
.brand-logo {
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: .92;
  flex: 0 0 auto;
}
nav { display: flex; align-items: center; gap: 26px; font-size: 14px; color: var(--muted); }
nav a { transition: color .2s ease, border-color .2s ease, background .2s ease; }
nav a:hover { color: var(--text); }
.nav-cta { padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.nav-cta:hover { background: rgba(255,255,255,.035); }

.hero {
  position: relative;
  padding: 112px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 23%, rgba(120,199,232,.08), transparent 29%),
    linear-gradient(180deg, rgba(255,255,255,.008), transparent 36%);
}
.hero-constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.18) 32%, #000 58%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.18) 32%, #000 58%, #000 100%);
}
.hero-constellation::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 77% 31%, rgba(120,199,232,.055), transparent 38%);
}
#constellation-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--accent);
  margin: 0 0 16px;
}
h1,h2,h3,h4,p { margin-top: 0; }
h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.015; letter-spacing: -.055em; max-width: 800px; margin-bottom: 24px; }
h2 { font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.042em; margin-bottom: 18px; }
h3 { letter-spacing: -.025em; }
.hero-sub, .lead, .section-heading p, .founder-grid p { color: var(--muted); font-size: 18px; }
.hero-sub { max-width: 735px; }
.hero-actions { display: flex; gap: 14px; margin: 32px 0 20px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--text); color: #071019; border-color: var(--text); box-shadow: 0 10px 30px rgba(0,0,0,.16); }
.button.primary:hover { background: var(--accent-2); box-shadow: 0 13px 36px rgba(0,0,0,.22); }
.button.secondary { background: rgba(255,255,255,.01); color: var(--text); }
.button.secondary:hover { background: rgba(255,255,255,.04); border-color: #2d4051; }
.button.large { padding: 0 24px; min-height: 52px; }
.hero-note { color: var(--muted-2); font-size: 14px; max-width: 620px; }

.hero-card, .report-card, .step-card, .services-grid article, .cta-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.026), rgba(255,255,255,.008));
  border-radius: 18px;
}
.hero-card { padding: 26px; box-shadow: 0 30px 90px rgba(0,0,0,.3); position: relative; overflow: hidden; }
.card-topline { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 22px; position: relative; z-index: 1; }
.card-topline h3 { margin: 2px 0 0; font-size: 20px; }
.muted { color: var(--muted); font-size: 13px; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; font-size: 12px; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; position: relative; z-index: 1; }
.metric { background: var(--panel-2); border: 1px solid rgba(255,255,255,.05); border-radius: 12px; padding: 16px; transition: border-color .25s ease, transform .25s ease; }
.metric:hover { transform: translateY(-2px); border-color: rgba(120,199,232,.24); }
.metric span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.metric strong { display: block; font-size: 24px; letter-spacing: -.035em; }
.metric small { color: var(--success); }
.insight-block { margin-top: 16px; padding: 16px 0 0; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.insight-block p { margin: 7px 0 0; color: #cbd5df; font-size: 14px; }
.insight-label { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .01em; }
.insight-block.subtle .insight-label { color: var(--warning); }

.integrations { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.01); }
.integrations-wrap { padding: 26px 0 28px; }
.integration-label { margin: 0 0 16px; color: var(--muted-2); font-size: 12px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.logo-chip {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #aeb9c3;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 12px;
  background: rgba(255,255,255,.012);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}
.logo-chip:hover { transform: translateY(-2px); border-color: rgba(120,199,232,.18); background: rgba(255,255,255,.025); color: var(--text); }
.logo-chip img { width: 19px; height: 19px; object-fit: contain; opacity: .85; }

.section { padding: 112px 0; position: relative; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.section-heading.narrow { max-width: 760px; margin-bottom: 46px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.step-card { padding: 28px; position: relative; overflow: hidden; transition: border-color .25s ease, transform .25s ease; }
.step-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -20px;
  width: 112px;
  height: 112px;
  opacity: .08;
  background-image: radial-gradient(circle, var(--accent) 1px, transparent 1.2px);
  background-size: 9px 9px;
  transform: rotate(8deg);
}
.step-card:hover { transform: translateY(-3px); border-color: rgba(120,199,232,.22); }
.step-num { color: var(--accent); font-size: 13px; font-weight: 600; }
.step-card h3 { font-size: 22px; margin: 14px 0 8px; }
.step-card p { color: var(--muted); margin: 0; position: relative; z-index: 1; }

.sample-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.report-card { overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.18); }
.report-row { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 16px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.report-row strong { font-weight: 600; }
.report-row em { font-style: normal; color: var(--success); }
.report-row em.warn { color: var(--warning); }
.report-header { color: var(--muted); font-size: 12px; background: rgba(255,255,255,.02); }
.report-summary { padding: 22px; }
.report-summary h4 { font-size: 12px; color: var(--accent); letter-spacing: .01em; margin-bottom: 6px; }
.report-summary p { color: #c7d0d9; margin-bottom: 20px; font-size: 14px; }
.report-summary p:last-child { margin-bottom: 0; }

.services-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.services-grid article { padding: 28px; position: relative; overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.services-grid article:hover { transform: translateY(-3px); border-color: rgba(120,199,232,.22); }
.services-grid h3 { margin: 4px 0 8px; }
.services-grid p { color: var(--muted); margin: 0; }



.brand:hover .brand-logo { opacity: 1; }

.founder-section { border-top: 1px solid var(--line); }
.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.founder-grid p { margin-bottom: 16px; }
.founder-copy { padding-top: 4px; }

.cta-section { padding: 0 0 112px; }
.cta-card { padding: 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(30px,4vw,44px); margin-bottom: 10px; }
.cta-card p { color: var(--muted); margin-bottom: 0; max-width: 720px; }

footer { border-top: 1px solid var(--line); }
.footer-wrap { min-height: 100px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px; color: #758392; font-size: 13px; }
.footer-wrap p { margin: 0; }
.footer-wrap p:last-child { text-align: right; }
.footer-brand { color: var(--text); }

.reveal {
  opacity: 0;
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.reveal-up { transform: translateY(24px); }
.reveal-left { transform: translateX(-22px); }
.reveal-right { transform: translateX(22px); }
.reveal.is-visible { opacity: 1; transform: translate(0,0); }
.stagger-group .reveal:nth-child(2) { transition-delay: .09s; }
.stagger-group .reveal:nth-child(3) { transition-delay: .18s; }
.stagger-group .reveal:nth-child(4) { transition-delay: .27s; }





@media (max-width: 980px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 80px; }
  .hero-grid, .sample-grid, .founder-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .footer-wrap { grid-template-columns: 1fr; padding: 26px 0; }
  .footer-wrap p:last-child { text-align: left; }
  .hero-constellation { opacity: .65; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .hero { padding: 64px 0 66px; }
  .section { padding: 80px 0; }
  h1 { font-size: 46px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-chip { justify-content: flex-start; padding: 0 14px; }
  .report-row { grid-template-columns: 1fr .9fr .8fr; font-size: 12px; }
  .cta-card { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
