:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-banner: #2d2000;
  --gold: #b8860b;
  --gold-light: #d4a01a;
  --text-primary: #e6edf3;
  --text-muted: #8b949e;
  --border: #30363d;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ── Banner ─────────────────────────────────────── */

.banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-banner);
  color: var(--gold);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(184, 134, 11, 0.3);
}

/* ── Hero ────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px;
  position: relative;
  background-image: radial-gradient(circle, #21262d 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-content {
  text-align: left;
}

.hero-below {
  max-width: 1100px;
  width: 100%;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo-mark {
  position: absolute;
  top: 32px;
  left: 32px;
  text-align: left;
}
.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-variant: small-caps;
}
.logo-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-headline {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--bg-primary);
}


@keyframes blink { 50% { opacity: 0; } }

/* ── Terminal window ─────────────────────────────────── */

.terminal-window {
  background: #010409;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', 'Consolas', 'Monaco', monospace;
  font-size: 12.5px;
  line-height: 1.65;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.terminal-titlebar {
  background: #161b22;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #21262d;
}
.t-dot    { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.t-red    { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green  { background: #28c840; }
.t-title  { margin-left: 8px; font-family: inherit; font-size: 11px; color: var(--text-muted); }
.terminal-body {
  padding: 14px 16px;
  height: 280px;
  overflow: hidden;
  color: #c9d1d9;
}
.t-line   { white-space: pre; }
.t-prompt { color: var(--gold); }
.t-ok     { color: #3fb950; }
.t-info   { color: #58a6ff; }
.t-dim    { color: #6e7681; }
.t-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--gold);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

/* ── Services ────────────────────────────────────── */

.services {
  background: var(--bg-secondary);
  padding: 80px 24px;
  text-align: center;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  border: 1px solid var(--border);
  padding: 32px 28px;
  text-align: left;
  transition: border-left-width 0.12s, border-left-color 0.12s;
}
.service-card:hover {
  border-left: 3px solid var(--gold);
}

.service-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

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

/* ── OSS + Why ───────────────────────────────────── */

.oss-section {
  padding: 80px 24px;
  text-align: center;
  background: var(--bg-primary);
}

.oss-strip {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 64px;
}
.oss-strip .sep {
  margin: 0 12px;
  opacity: 0.4;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 840px;
  margin: 0 auto;
  text-align: left;
}

.why-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Contact ─────────────────────────────────────── */

.contact {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.contact h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.contact-email {
  font-size: 20px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
.contact-email:hover { border-bottom-color: var(--gold); }

/* ── Footer ──────────────────────────────────────── */

footer {
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-content { text-align: center; }
  .hero-below { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .hero-sub { margin: 0; }
}

@media (max-width: 640px) {
  .logo-mark { top: 20px; left: 20px; }
  .hero { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .terminal-body { height: 220px; }
}
