/* Hekaton — site styles. Dark, sharp, founder-led. */
:root {
  --bg: #07080d;
  --bg-raised: #0c0e16;
  --ink: #f4f6fb;
  --ink-dim: #a8b0c2;
  --ink-faint: #6b7385;
  --accent: #5eead4;   /* electric teal */
  --accent-2: #a78bfa; /* violet */
  --rule: rgba(255, 255, 255, 0.09);
  --max: 68rem;
  --font: ui-sans-serif, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 750;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 4rem;
}
.wordmark {
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  color: var(--ink);
}
.wordmark img { height: 1.3rem; width: auto; display: block; }
.wordmark:hover { text-decoration: none; color: var(--accent); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}
.site-nav a {
  color: var(--ink-dim);
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border-radius: 0.5rem;
  font-weight: 650;
  font-size: 0.97rem;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: #04221c;
}
.btn-primary:hover { background: #8df5e2; }
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.site-nav .btn-primary { padding: 0.5rem 1rem; }

/* ---------- hero ---------- */
.hero {
  padding: 7rem 0 5.5rem;
}
.hero p.lede {
  font-size: 1.22rem;
  color: var(--ink-dim);
  max-width: 44rem;
}
.hero .cta-row { margin-top: 2.2rem; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}
.hero .product-line {
  margin-top: 1.6rem;
  color: var(--ink-faint);
  font-size: 0.97rem;
}

/* ---------- animated hero (beta) ---------- */
.veil-hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.veil-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.veil-fullscreen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.veil-card {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  margin: 0 1.4rem;
  padding: 2.8rem 3rem;
  border-radius: 1.25rem;
  background: rgba(4, 6, 14, 0.28);
  border: 1px solid rgba(94, 234, 212, 0.22);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 2px 1px rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.55);
}
.veil-card h1 { color: #fff; text-shadow: 0 1px 24px rgba(0,0,0,0.5); }
.veil-card p { color: rgba(210, 228, 230, 0.80); }
@media (min-width: 64rem) {
  .veil-hero .wrap { width: 100%; }
}

/* ---------- sections ---------- */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--rule);
}
.section .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section p { max-width: 44rem; color: var(--ink-dim); }
.section p strong, .section h2, .section h3 { color: var(--ink); }

/* stances */
.stances { display: grid; gap: 0; margin-top: 1rem; }
.stance {
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
}
.stance:first-child { border-top: 0; }
.stance h3 { margin-bottom: 0.35em; }
.stance p { margin-bottom: 0.4em; }
.stance .read { font-size: 0.93rem; }

/* how we work */
.moves {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 2rem;
}
.move h3 { color: var(--accent); font-size: 1.05rem; }
.move p { font-size: 0.99rem; }

/* founders */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: start;
}
@media (max-width: 52rem) {
  .founders-grid { grid-template-columns: 1fr; }
}
.founder { max-width: 100%; }
.founder h3 { margin-bottom: 0.3em; }
.founder .role { color: var(--ink-faint); font-size: 0.92rem; margin-bottom: 0.7em; }
.founder-inner { display: flex; gap: 2.2rem; align-items: flex-start; }
.founder-photo {
  flex-shrink: 0;
  width: 120px; height: 120px;
  border-radius: 0.75rem;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(18%) contrast(1.05);
  border: 1px solid var(--rule);
}
@media (max-width: 40rem) {
  .founder-inner { flex-direction: column; }
  .founder-photo { width: 90px; height: 90px; }
}

/* services grid */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}
@media (max-width: 52rem) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  padding: 1.8rem 2rem;
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  background: var(--bg-raised);
}
.service-card h3 {
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 0.55em;
}
.service-card p {
  font-size: 0.99rem;
  max-width: none;
}

/* early access section */
.ea-section { background: var(--bg-raised); }
.ea-form { margin-top: 1.8rem; }
.ea-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.ea-row input[type="email"] {
  flex: 1 1 18rem;
  padding: 0.78rem 1.1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.15s;
}
.ea-row input[type="email"]::placeholder { color: var(--ink-faint); }
.ea-row input[type="email"]:focus { border-color: var(--accent); }
.ea-fine {
  margin-top: 0.7rem;
  font-size: 0.87rem;
  color: var(--ink-faint);
  max-width: none;
}
.ea-thanks {
  margin-top: 1.4rem;
  color: var(--accent);
  font-weight: 650;
}

/* CTA band */
.cta-band {
  padding: 5rem 0;
  border-top: 1px solid var(--rule);
  background:
    radial-gradient(60rem 20rem at 70% 120%, rgba(94, 234, 212, 0.07), transparent),
    radial-gradient(50rem 18rem at 20% -20%, rgba(167, 139, 250, 0.07), transparent);
  text-align: left;
}
.cta-band .cta-row { margin-top: 1.8rem; }

/* note / placeholder flag */
.note {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.6rem 0 3rem;
  font-size: 0.92rem;
  color: var(--ink-faint);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--ink-dim); }
.site-footer a:hover { color: var(--ink); }
.site-footer .tag { margin-left: auto; font-style: italic; }

/* ---------- prose pages ---------- */
.prose { max-width: 44rem; padding: 4.5rem 0; }
.prose p, .prose li { color: var(--ink-dim); }
.prose h2 { margin-top: 2.2em; }

/* ---------- mobile menu ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.4rem;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.18s, opacity 0.18s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(7, 8, 13, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rule);
  padding: 0.4rem 1.4rem 1.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--ink-dim);
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--ink); }

@media (max-width: 40rem) {
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding: 4.5rem 0 4rem; }
  .veil-card { padding: 1.9rem 1.6rem; }
}
