/* Typography */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --bg: #0e0e12;
  --bg-2: #141418;
  --bg-3: #1a1a20;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-border: rgba(245, 158, 11, 0.25);
  --text: #f0ece4;
  --text-muted: rgba(240, 236, 228, 0.5);
  --text-dim: rgba(240, 236, 228, 0.25);
  --border: rgba(255,255,255,0.07);
  --terminal-bg: #111116;
  --terminal-border: rgba(255,255,255,0.08);
  --green: #22c55e;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--text);
  margin-bottom: 24px;
}

/* HERO */
.hero {
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.hero-headline {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 480px;
}

.hero-stat-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Instrument Serif', serif;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 28px;
}

/* TERMINAL */
.terminal-widget {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
}

.terminal-header {
  background: var(--bg-3);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.terminal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.call-incoming {
  background: var(--amber-dim);
  border: 1px solid var(--amber-border);
  border-radius: 8px;
  padding: 12px 14px;
}

.call-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 4px;
}

.call-number {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  font-family: monospace;
}

.call-destination {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.call-assistant {
  background: var(--bg-3);
  border-radius: 8px;
  padding: 14px;
}

.assistant-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid var(--amber-border);
  border-radius: 4px;
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.assistant-lines { display: flex; flex-direction: column; gap: 8px; }

.a-line {
  font-size: 12px;
  color: var(--text);
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
}

.a-line.faded { color: var(--text-muted); padding-left: 12px; border-left: 2px solid var(--border); }

.call-logged {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.logged-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}

.logged-entry {
  font-size: 12px;
  color: var(--text-muted);
  font-family: monospace;
}

/* WHAT SECTION */
.what {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-2);
  transition: background 0.2s;
}

.service-item:hover { background: var(--bg-3); }

.service-icon {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.service-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* WHO SECTION */
.who {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.who .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.who-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
}

.vertical-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vertical-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-2);
  transition: border-color 0.2s, background 0.2s;
}

.vertical-card:hover {
  border-color: var(--amber-border);
  background: var(--bg-3);
}

.vc-icon {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.vc-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.vc-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* NUMBERS SECTION */
.numbers {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 64px;
}

.num-block {
  padding: 40px;
}

.num-big {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--amber);
  line-height: 1;
  margin-bottom: 16px;
}

.num-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 240px;
}

.num-divider {
  width: 1px;
  height: 120px;
  background: var(--border);
}

.numbers-tagline {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tagline-line {
  font-size: 16px;
  color: var(--text);
  font-weight: 500;
}

.tagline-line.muted {
  color: var(--text-muted);
  font-weight: 400;
}

/* STACK SECTION */
.stack {
  padding: 100px 0;
  border-bottom: 1px solid var(--border);
}

.stack-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin: 48px 0 48px;
}

.flow-step { padding: 32px 40px 32px 0; }

.flow-num {
  font-family: 'Instrument Serif', serif;
  font-size: 42px;
  color: var(--amber-dim);
  line-height: 1;
  margin-bottom: 16px;
}

.flow-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.flow-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.flow-arrow {
  color: var(--text-dim);
  padding-top: 48px;
  padding-left: 0;
  padding-right: 0;
  align-self: start;
}

.stack-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.tools-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.tools-list {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* CLOSING */
.closing {
  padding: 120px 0;
  background: var(--bg-2);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
}

.closing-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.closing-headline {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* FOOTER */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--text);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 8px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner, .who .section-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-right { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; gap: 24px; }
  .num-divider { display: none; }
  .stack-flow { grid-template-columns: 1fr; gap: 0; }
  .flow-arrow { display: none; }
}

@media (max-width: 600px) {
  .section-inner, .hero-inner, .footer-inner, .closing-inner {
    padding: 0 24px;
  }
  .hero { padding: 60px 0 80px; }
  .what, .who, .numbers, .stack { padding: 64px 0; }
  .closing { padding: 80px 0; }
}