/* ── TOKENS — committed dark design ── */
:root {
  --bg:          #080B12;
  --bg-2:        #0D1120;
  --bg-3:        #111827;
  --surface:     #161D2E;
  --border:      rgba(255,255,255,0.07);
  --border-hi:   rgba(0,232,122,0.35);
  --green:       #00E87A;
  --green-dim:   rgba(0,232,122,0.12);
  --amber:       #F5A623;
  --white:       #F6F9FF;
  --slate:       #8899AA;
  --slate-hi:    #AAB8C8;
  --text:        #CBD8E8;
  --accent-muted: rgba(0,232,122,0.08);
  --font-display: 'Epilogue', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
  --r:           10px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { font-size: 16px; color-scheme: dark; }
body {
  font-family: var(--font-body);
  background: #080B12;
  color: #CBD8E8;
  line-height: 1.6;
  padding-inline: 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── UTIL ── */
.mono  { font-family: var(--font-mono); }
.green { color: var(--green); }
.amber { color: var(--amber); }
.white { color: var(--white); }
.slate { color: var(--slate); }

.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 160;
  background: rgba(8,11,18,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.logo-dot { color: var(--green); letter-spacing: normal; }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  padding: 9px 20px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-dim) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--slate-hi);
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  padding-block: 72px 64px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--green);
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-body {
  font-size: 17px;
  color: var(--slate-hi);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 14px 28px;
  background: var(--green);
  color: #05100A;
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-ghost {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-hi);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ── CAPABILITY CANVAS ── */
.hero-canvas-wrap {
  position: relative;
  height: 420px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}
#capCanvas {
  width: 100%; height: 100%;
  display: block;
}
.canvas-label-unused {
  position: absolute;
  bottom: 16px; right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── PROOF STRIP ── */
.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 28px;
  background: var(--bg-2);
}
.proof-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  overflow-x: auto;
  scrollbar-width: none;
}
.proof-inner::-webkit-scrollbar { display: none; }
.proof-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}
.proof-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.proof-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.proof-ai-badge {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.proof-logo-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: 0.5;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.proof-logo-wrap:hover { opacity: 0.9; }
.proof-logo-wrap svg { flex-shrink: 0; }
.proof-logo-wrap img {
  width: 100px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}
.proof-logo-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-hi);
  letter-spacing: 0.02em;
}

/* ── HOW IT WORKS ── */
.how {
  padding-block: 72px;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  text-wrap: balance;
  line-height: 1.12;
}
.section-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--slate-hi);
  line-height: 1.7;
}
.how-hd { margin-bottom: 48px; }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.how-cell {
  background: var(--surface);
  padding: 40px 36px;
  position: relative;
  transition: background 0.25s;
}
.how-cell:hover { background: var(--bg-3); }
.how-cell + .how-cell { border-left: 1px solid var(--border); }
.how-step {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.how-cell h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.how-cell p {
  font-size: 15px;
  color: var(--slate-hi);
  line-height: 1.7;
}
.how-items {
  margin-top: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.how-items li {
  font-size: 13.5px;
  color: var(--slate);
  padding-left: 16px;
  position: relative;
}
.how-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border-hi);
}

/* ── SERVICES ── */
.services {
  padding-block: 72px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-hd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.services-action {
  text-align: right;
  align-self: flex-end;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 32px;
  transition: border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.svc-card:hover {
  border-color: var(--border-hi);
  box-shadow: 0 8px 40px rgba(0,232,122,0.06);
}
.svc-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--green-dim);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.svc-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.015em;
}
.svc-card p {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.7;
  flex: 1;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--bg-3);
  color: var(--slate);
  border: 1px solid var(--border);
  letter-spacing: 0.03em;
}

/* ── PRODUCT SPOTLIGHT ── */
.product {
  padding-block: 64px;
}
.product-inner {
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.product-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), #3b82f6);
}
.product-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
}
.product-content {
  padding: 32px 36px;
  border-right: 1px solid var(--border);
}
.product-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.product-content h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.product-content p {
  font-size: 15px;
  color: var(--slate-hi);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 20px;
}
.product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
}
.pill {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--slate-hi);
  font-weight: 500;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
  transition: gap 0.2s;
}
.product-link:hover { gap: 12px; }

.product-stats {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.pstat-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.pstat-label {
  font-size: 12px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: block;
}

/* ── COMING SOON ── */
.coming-soon-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.coming-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  background: var(--bg-2);
  opacity: 0.6;
}
.coming-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-hi);
  margin-bottom: 10px;
}
.coming-card p {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.65;
}
.badge-soon {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 14px;
}

/* ── DIFFERENTIATORS ── */
.diff {
  padding-block: 72px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.diff-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  align-items: start;
}
.diff-left h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
  margin-top: 16px;
  margin-bottom: 24px;
}
.diff-left p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
}
.diff-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.diff-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 28px;
  background: var(--surface);
  transition: background 0.2s;
}
.diff-row + .diff-row { border-top: 1px solid var(--border); }
.diff-row:hover { background: var(--bg-3); }
.diff-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  padding-top: 2px;
}
.diff-row h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.diff-row p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.65;
}

/* ── CTA ── */
.cta-section {
  padding-block: 80px;
  text-align: center;
}
.cta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 20px;
  line-height: 1.08;
}
.cta-sub {
  font-size: 17px;
  color: var(--slate-hi);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 44px;
}

/* ── CONTACT FORM ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  text-align: left;
}
.form-aside h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.form-aside p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 28px;
}
.aside-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}
.aside-items li {
  font-size: 14px;
  color: var(--slate-hi);
  padding-left: 18px;
  position: relative;
}
.aside-items li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
}
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field-group { display: flex; flex-direction: column; gap: 8px; }
label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color 0.2s;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--green);
}
textarea { min-height: 120px; resize: vertical; }
.msg-status {
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
}
.msg-status.success {
  background: var(--green-dim);
  border: 1px solid var(--border-hi);
  color: var(--green);
}
.msg-status.error {
  background: rgba(245,77,70,0.1);
  border: 1px solid rgba(245,77,70,0.3);
  color: #F54D46;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.03em;
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-canvas-wrap { height: 280px; }
  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .how-cell + .how-cell { border-left: none; border-top: 1px solid var(--border); }
  .services-hd { grid-template-columns: 1fr; }
  .services-hd .section-h2 { white-space: normal; }
  .services-action { text-align: left; }
  .services-grid { grid-template-columns: 1fr; }
  .product-body { grid-template-columns: 1fr; }
  .product-stats {
    flex-direction: row;
    padding: 28px 32px;
    border-right: none;
    border-top: 1px solid var(--border);
    gap: 24px;
    justify-content: space-around;
  }
  .product-inner::before { display: none; }
  .diff-grid { grid-template-columns: 1fr; gap: 32px; }
  .diff-left h2 { font-size: clamp(26px, 5vw, 34px); }
  .contact-wrap { grid-template-columns: 1fr; }
  .cta-section { padding-block: 64px; }
  .services-hd { margin-bottom: 40px; }
}
/* Mobile nav backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 149;
}
.nav-backdrop.open { display: block; }

@media (max-width: 640px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: 75vw; max-width: 300px;
    height: 100vh;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    padding: 72px 28px 40px;
    gap: 0;
    z-index: 200;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    list-style: none;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li a {
    display: block;
    font-size: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-weight: 500;
  }
  .nav-links li:last-child a {
    border-bottom: none;
    margin-top: 20px;
    display: inline-block;
  }
  .nav-toggle { display: flex; }
  /* Hamburger → X animation */
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-block: 56px 48px; }
  .hero-body { font-size: 15px; margin-bottom: 32px; }
  .hero-canvas-wrap { height: 240px; }
  .how, .services, .diff, .product { padding-block: 56px; }
  .how-hd { margin-bottom: 36px; }
  .section-sub { font-size: 15px; }
  .product-content { padding: 28px 24px; }
  .product-stats { padding: 20px 24px; gap: 16px; }
  .pstat-num { font-size: 24px; }
  .how-cell { padding: 28px 20px; }
  .diff-row { padding: 20px; gap: 16px; }
  .cta-section { padding-block: 56px; }
  .cta-section h2 { font-size: clamp(26px, 7vw, 36px); }
  .cta-sub { font-size: 15px; }
  .footer-links { gap: 18px; }
  .proof-logo-wrap img { width: 80px; height: 24px; }
}
