:root {
  --bg: #000000;
  --fg: #ecece8;
  --muted: #8e929a;
  --body: #b4b8bf;
  --line: #1f2226;
  --panel: #0a0c0e;
  --accent: #34d399;
  --danger: #e08a7e;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
.wrap {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

/* header / tabs */
.site-header {
  position: relative;
  z-index: 2;
  padding: 20px 0;
}
.site-header .wrap {
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand.wordmark { font-size: 1.3rem; gap: 0; }
.tabs { display: flex; gap: 4px; }
.tabs a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.tabs a:hover { color: var(--fg); }
.tabs a[aria-current="page"] { color: var(--fg); background: rgba(255, 255, 255, 0.06); }

.wordmark { font-weight: 600; letter-spacing: -0.035em; }
.wordmark .dot { color: var(--accent); }

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin-top: -64px;
}
.hero #bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 64px;
}
h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.status {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.link {
  color: var(--fg);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
.link:hover { color: var(--accent); }
.link.quiet { color: var(--muted); border-bottom-color: var(--line); }
.link.quiet:hover { color: var(--fg); }

/* content sections */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.section h2 {
  margin-top: 12px;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.prose p {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--body);
}
.prose h2 + p { margin-top: 28px; }
.prose .eyebrow { margin: 0; font-size: 0.8rem; line-height: normal; color: var(--accent); }
.values {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value h3 { font-size: 1rem; font-weight: 600; }
.value p {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--body);
}
.principles { position: relative; overflow: hidden; isolation: isolate; }
.principles-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}
.value {
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 1px solid var(--accent);
  border-radius: 0 0 12px 12px;
  background: rgba(10, 12, 14, 0.75);
  backdrop-filter: blur(2px);
}
@media (max-width: 720px) {
  .values { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
}

/* team */
.team {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.person img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.person-name { margin-top: 16px; font-weight: 600; }
.person-role { margin-top: 2px; font-size: 0.9rem; color: var(--muted); }
.person-email { display: inline-block; margin-top: 10px; font-size: 0.9rem; }
.prose.person-bio p:first-child { margin-top: 0; }
@media (max-width: 640px) {
  .team { grid-template-columns: 1fr; gap: 28px; }
  .person img { width: 160px; height: 160px; }
}

/* contact */
.page { flex: 1; padding: 64px 0 96px; }
.page h1 { margin-top: 12px; font-size: clamp(2.25rem, 7vw, 3rem); }
.page .lede {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body);
}
.contact-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.95rem;
  color: var(--muted);
}
.form {
  margin-top: 40px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--body); }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #000;
  border: 1px solid #2a2e33;
  border-radius: 10px;
  color: var(--fg);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--body);
  cursor: pointer;
}
.check strong { color: var(--fg); font-weight: 500; }
.check .req { color: var(--accent); }
.check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #04110d;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: filter 0.15s, opacity 0.15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.form-status { font-size: 0.9rem; color: var(--muted); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }
@media (max-width: 600px) {
  .form { grid-template-columns: 1fr; padding: 20px; }
}

/* careers */
.jobs-label {
  margin-top: 56px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.jobs { margin-top: 14px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.jobs li { border-bottom: 1px solid var(--line); }
.jobs a {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 24px;
  row-gap: 4px;
  padding: 22px 0;
  text-decoration: none;
}
.job-title { font-size: 1.1rem; font-weight: 500; color: var(--fg); transition: color 0.15s; }
.job-desc { grid-column: 1; font-size: 0.95rem; line-height: 1.6; color: var(--muted); }
.job-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--muted);
  transition: transform 0.15s, color 0.15s;
}
.jobs a:hover .job-title, .jobs a:hover .job-arrow { color: var(--accent); }
.jobs a:hover .job-arrow { transform: translateX(4px); }
.roles-foot { margin-top: 28px; font-size: 0.95rem; line-height: 1.7; color: var(--muted); }

/* privacy */
.legal h2 {
  margin-top: 36px;
  font-size: 1.05rem;
  font-weight: 600;
}
.legal p {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--body);
}
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
}
.site-footer .wrap { max-width: 1080px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.site-footer .sep { margin: 0 8px; opacity: 0.5; }
