/* ============================================================
   Ceamse Traffic — base styles
   Monospace / minimal / dark
   ============================================================ */

:root {
  --bg:        #0a0b0d;
  --bg-soft:   #101216;
  --surface:   #0f1114;
  --line:      rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text:      #e7e9ec;
  --muted:     #8b9299;
  --dim:       #626a72;
  --accent:    #4fd08a;
  --accent-dim:rgba(79, 208, 138, 0.14);

  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
          "Courier New", monospace;

  --wrap: 1080px;
  --pad: 24px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #04150c; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.logo b { font-weight: 600; color: var(--text); }
.logo .accent { color: var(--accent); font-weight: 600; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: var(--muted);
}
.nav a:hover { color: var(--text); }
.nav a.current { color: var(--text); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #04150c;
  font-weight: 600;
}
.btn-primary:hover { background: #5ee39a; border-color: #5ee39a; color: #04150c; }

/* ---------- section scaffolding ---------- */

section { border-top: 1px solid var(--line-soft); }

.section-pad { padding: 88px 0; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 20px;
}
.eyebrow .num { color: var(--accent); }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; margin: 0; }

h2 {
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.35;
  max-width: 22ch;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 22px 0 0;
}

/* ---------- hero ---------- */

.hero { border-top: 0; padding: 108px 0 84px; }

.hero h1 {
  font-size: clamp(30px, 5.6vw, 54px);
  line-height: 1.18;
  max-width: 17ch;
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.95em;
  margin-left: 0.12em;
  background: var(--accent);
  vertical-align: -0.08em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
  html { scroll-behavior: auto; }
}

.hero .lead { font-size: 16px; margin-top: 28px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.ticker {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.ticker span::before { content: "> "; color: var(--accent); }

/* ---------- grids ---------- */

.grid {
  display: grid;
  gap: 1px;
  margin-top: 56px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.cell {
  background: var(--bg);
  padding: 32px 28px;
  transition: background .15s ease;
}
.cell:hover { background: var(--bg-soft); }

.cell h3 {
  font-size: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.cell h3::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: var(--accent);
  transform: translateY(-1px);
}
.cell p { margin: 0; color: var(--muted); font-size: 14px; }

.cell .step {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--dim);
  display: block;
  margin-bottom: 18px;
}

/* ---------- coverage list ---------- */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}
.tags li {
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin-top: 56px;
}
.stat { background: var(--bg); padding: 30px 28px; }
.stat .value {
  font-size: 24px;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat .label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- cta ---------- */

.cta { background: var(--surface); }
.cta .wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta h2 { max-width: 24ch; }

/* ---------- contact ---------- */

.contact-block {
  margin-top: 48px;
  border: 1px solid var(--line);
  padding: 40px 32px;
  background: var(--surface);
}
.contact-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0 0 14px;
}
.mailto {
  font-size: clamp(18px, 3.6vw, 30px);
  color: var(--text);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--accent-dim);
  transition: border-color .15s ease, color .15s ease;
  word-break: break-all;
}
.mailto:hover { color: var(--accent); border-color: var(--accent); }

.copy-row { margin-top: 28px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.copy-note { font-size: 12px; color: var(--dim); }

.contact-notes {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line-soft);
  padding-top: 32px;
}
.contact-notes h3 { font-size: 13px; margin-bottom: 8px; color: var(--text); }
.contact-notes p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 32px 0;
  font-size: 12px;
  color: var(--dim);
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a:hover { color: var(--text); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .grid, .grid-3, .stats, .contact-notes { grid-template-columns: 1fr; }
  .section-pad { padding: 64px 0; }
  .hero { padding: 72px 0 56px; }
}

@media (max-width: 520px) {
  :root { --pad: 20px; }
  .nav { gap: 18px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
