/* Incubexa marketing site — warm ivory + clay, matching the app's Claude.ai aesthetic. */
:root {
  --canvas: #F7F5EF;
  --canvas-alt: #F0EDE4;
  --surface: #FFFFFF;
  --surface-muted: #FBFAF6;
  --ink: #1A1915;
  --ink-soft: #56534B;
  --ink-muted: #8B877C;
  --accent: #1E2064;
  --accent-hover: #16184D;
  --accent-soft: #E8E9F5;
  --cyan: #1CA3E6;
  --cyan-soft: #E4F4FC;
  --border: #E6E2D7;
  --border-strong: #D8D3C5;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: Inter, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--cyan); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--canvas-alt); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--surface-muted); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(16px, 5vw, 48px);
  background: rgba(247, 245, 239, 0.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; background: var(--accent);
  color: #fff; display: grid; place-items: center; font-size: 19px; font-family: var(--serif);
}
.brand-name { font-size: 20px; letter-spacing: -0.3px; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; margin-left: auto; }

/* ── Hero ── */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 10vw, 110px) clamp(16px, 5vw, 48px) 64px; text-align: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6.5vw, 62px); line-height: 1.08; letter-spacing: -1px; color: var(--ink); }
.lede { max-width: 660px; margin: 22px auto 0; font-size: clamp(16px, 2.2vw, 19px); color: var(--ink-soft); }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-muted); }
.hero-note a { color: var(--accent); font-weight: 600; }

/* ── Stat strip ── */
.stats {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stats div {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px; text-align: left;
}
.stats strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-muted); }

/* ── Sections ── */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 9vw, 100px) clamp(16px, 5vw, 48px); }
.section-alt { background: var(--canvas-alt); max-width: none; }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4.5vw, 42px); letter-spacing: -0.6px; text-align: center; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: 17px; margin: 12px auto 0; max-width: 600px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card, .role {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--border-strong); box-shadow: 0 10px 30px rgba(26,25,21,.06); transform: translateY(-2px); }
.card h3, .role h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ink); margin-bottom: 8px; }
.card p, .role p { color: var(--ink-soft); font-size: 15px; }
.role { background: var(--surface-muted); }

/* ── Compliance band ── */
.compliance { background: var(--accent); max-width: none; padding: clamp(56px, 9vw, 96px) clamp(16px, 5vw, 48px); }
.compliance-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.compliance h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4.5vw, 42px); color: #fff; letter-spacing: -0.6px; }
.compliance p { color: rgba(255,255,255,0.92); font-size: 18px; margin: 18px auto 30px; }
.compliance .btn-primary { background: #fff; color: var(--accent); }
.compliance .btn-primary:hover { background: var(--accent-soft); }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 40px clamp(16px, 5vw, 48px); max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 18px; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.footer-legal { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-muted); letter-spacing: 0; margin-top: 1px; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { color: var(--ink-soft); font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { width: 100%; color: var(--ink-muted); font-size: 13px; padding-top: 8px; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav-cta .btn-ghost { display: none; }
  .stats, .grid, .grid-4 { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; }
}
