*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d1117;
  --surface:   #111820;
  --border:    #1e2a35;
  --green:     #00e640;
  --white:     #ffffff;
  --muted:     #8a9baa;
  --nav-text:  #c8d6e0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ─────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--white);
  line-height: 1;
}

.logo-mark span {
  color: var(--green);
}

.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nav-text);
  transition: color .2s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--green); }

/* Blog CTA styled as a pill button in the nav */
.nav-links a.nav-cta {
  color: var(--bg);
  background: var(--green);
  padding: 9px 18px;
  border-radius: 100px;
  transition: opacity .2s, transform .2s;
}

.nav-links a.nav-cta:hover {
  opacity: .88;
  transform: translateY(-1px);
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 100px 48px 56px;
  max-width: 1600px;
}

.hero-content {
  flex: 1 1 520px;
  max-width: 640px;
  min-width: 0;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 100px;
  transition: opacity .2s, transform .2s, border-color .2s;
}

.btn-primary {
  background: var(--green);
  color: var(--bg);
}

.btn-primary:hover { opacity: .88; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-ghost:hover { border-color: #2e4055; }

/* ── HERO TERMINAL (live capture widget) ────────────── */
.hero-terminal {
  flex: 1 1 420px;
  display: flex;
  justify-content: center;
}

.terminal-window {
  width: 100%;
  max-width: 620px;
  background: #0a0e14;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #10161f;
  border-bottom: 1px solid var(--border);
}

.terminal-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.terminal-title {
  margin-left: 6px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.terminal-body {
  height: 340px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  overflow: hidden;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.6;
}

.term-line {
  display: flex;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
  animation: term-in .35s ease forwards;
}

@keyframes term-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.term-time { color: #46586a; flex-shrink: 0; }

.term-tag {
  flex-shrink: 0;
  font-weight: 700;
}

.term-tag.ok    { color: var(--green); }
.term-tag.warn  { color: #f5a623; }
.term-tag.alert { color: #ff5c5c; }
.term-tag.dot   { color: #46586a; }

.term-msg {
  color: #c3d1dd;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  .term-line { animation: none; }
}

/* ── PAGE / SIMPLE CONTENT SECTIONS ─────────────────── */
.page {
  flex: 1;
  padding: 88px 48px 80px;
  max-width: 780px;
}

.page-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

.page h1 {
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.page p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.page p strong {
  color: var(--white);
  font-weight: 700;
}

/* ── CARDS GRID ──────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 48px 100px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px 32px 40px;
  transition: border-color .25s, transform .25s;
  text-decoration: none;
  display: block;
}

.card:hover {
  border-color: #2e4055;
  transform: translateY(-3px);
}

.card-icon {
  display: flex;
  gap: 3px;
  margin-bottom: 24px;
}

.card-icon span {
  display: block;
  width: 18px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.card-icon span:first-child { width: 26px; }

.card h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── TEAM ────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.team-card {
  display: flex;
  flex-direction: column;
}

.avatar-placeholder {
  aspect-ratio: 1 / 1;
  border: 1px dashed var(--border);
  border-radius: 6px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  margin-bottom: 18px;
}

.avatar-placeholder svg {
  width: 28px;
  height: 28px;
  opacity: .5;
}

.avatar-placeholder span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.team-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.team-card .bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Single shared photo + one bio for the whole team */
.team-single {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 12px;
}

.team-single-photo {
  width: 200px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.team-single-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.team-single-info .role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.team-single-info .bio {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── CONTACT LIST ────────────────────────────────── */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
}

.contact-row .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 96px;
}

.contact-row a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

.contact-row a:hover { opacity: .8; }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-contact {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px 10px;
  min-width: 0;
}

footer a {
  color: var(--green);
  text-decoration: none;
  transition: opacity .2s;
}

footer a:hover { opacity: .8; }

.footer-social {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  margin-left: auto;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}

.footer-social a svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  color: var(--green);
  border-color: var(--green);
  opacity: 1;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 860px) {
  nav { padding: 0 24px; }

  .nav-links { gap: 20px; }

  .hero { flex-direction: column; align-items: stretch; gap: 40px; padding: 64px 24px 48px; }

  .hero-terminal { justify-content: stretch; }

  .terminal-window { max-width: none; }

  .terminal-body { height: 260px; }

  .page { padding: 56px 24px 64px; }

  .cards {
    grid-template-columns: 1fr;
    padding: 0 24px 64px;
  }

  .team-grid { grid-template-columns: 1fr; gap: 32px; }

  .team-single { flex-direction: column; align-items: flex-start; gap: 20px; }

  .team-single-photo { width: 100%; max-width: 260px; }

  footer { padding: 20px 24px; gap: 16px; }
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-cta) { display: none; }

  .terminal-body { height: 220px; font-size: 11.5px; }

  .footer-social { gap: 8px; }

  .footer-social a { width: 30px; height: 30px; }

  .footer-social a svg { width: 14px; height: 14px; }
}
