/* Ciburial Launchpad — dark, firm, professional.
   One accent (emerald), hairline borders, generous spacing, no decoration
   that does not carry information. */

:root {
  --bg: #070a08;
  --bg-raise: #0c110d;
  --panel: #0e130f;
  --line: rgba(232, 240, 234, 0.09);
  --line-strong: rgba(232, 240, 234, 0.16);
  --text: #e9efea;
  --muted: #9aa79d;
  --faint: #6d7a6f;
  --accent: #2fe6a7;
  --accent-dim: rgba(47, 230, 167, 0.12);
  --accent-ink: #04150d;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 50% -180px, rgba(47, 230, 167, 0.07), transparent 65%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.mono { font-family: var(--font-mono); font-size: 0.92em; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 10, 8, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 11px;
  height: 11px;
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 0 4px var(--accent-dim);
}

.header-meta { display: flex; align-items: center; gap: 18px; }

.network-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}

.header-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.header-link:hover { color: var(--accent); text-decoration: none; }

/* ---------- Hero ---------- */

.hero { padding: 88px 0 64px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow-rule { width: 34px; height: 1px; background: var(--accent); flex: none; }
.eyebrow-small { margin-bottom: 14px; }

.hero h1 {
  margin: 0;
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(42px, 6.4vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.lede {
  margin: 26px 0 0;
  max-width: 62ch;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #5ceebb; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 56px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg-raise); padding: 20px 22px; }
.stat dt {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.stat .unit { font-size: 13px; color: var(--muted); font-family: var(--font-mono); }

/* ---------- Sections ---------- */

section { padding: 64px 0; }

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ---------- Launch panel ---------- */

.launch {
  background: linear-gradient(180deg, rgba(47, 230, 167, 0.045), rgba(47, 230, 167, 0) 220px), var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 40px 44px 36px;
  margin: 8px 0 0;
}

.launch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.launch-head .eyebrow { margin-bottom: 10px; }

.ticker {
  font-family: var(--font-mono);
  font-size: 0.52em;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid rgba(47, 230, 167, 0.4);
  background: var(--accent-dim);
  border-radius: 8px;
  padding: 4px 10px;
  vertical-align: 0.55em;
  margin-left: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(47, 230, 167, 0.35);
  border-radius: 999px;
  padding: 6px 13px;
  margin-top: 6px;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 230, 167, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(47, 230, 167, 0); }
}

.launch-desc { margin: 20px 0 0; max-width: 68ch; color: var(--muted); font-size: 16px; }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 32px 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact { background: rgba(7, 10, 8, 0.55); padding: 16px 20px; min-width: 0; }
.fact dt {
  margin: 0 0 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.fact dd { margin: 0; font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fact .addr { color: var(--text); overflow-wrap: anywhere; }
.fact .addr:hover { color: var(--accent); }
.fact-note { color: var(--faint); font-size: 13px; font-weight: 400; }

.copy-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 4px 9px;
  cursor: pointer;
  flex: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }

.live-note { margin: 22px 0 0; font-size: 13px; color: var(--faint); font-family: var(--font-mono); }
.live-note.live { color: var(--accent); }

.tx-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 14px; }
.tx-links a { font-size: 13.5px; font-weight: 600; }

/* ---------- How it works ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
  margin: 36px 0 0;
  padding: 0;
}
.steps li { border-top: 2px solid var(--line-strong); padding-top: 18px; }
.steps li:first-child { border-top-color: var(--accent); }
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.steps h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.steps p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--muted); }

.how-note { margin: 34px 0 0; color: var(--faint); font-size: 14px; max-width: 72ch; }

/* ---------- Contracts ---------- */

.contracts-sub { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

.contracts-table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raise);
}
.contracts-table th, .contracts-table td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.contracts-table tr:last-child th, .contracts-table tr:last-child td { border-bottom: none; }
.contracts-table tbody tr { transition: background 0.15s ease; }
.contracts-table tbody tr:hover { background: rgba(47, 230, 167, 0.04); }
.contracts-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  width: 220px;
  white-space: nowrap;
}
.contracts-table td .addr { color: var(--text); overflow-wrap: anywhere; }
.contracts-table td .addr:hover { color: var(--accent); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 24px; }
.footer-inner { padding: 34px 24px 44px; }
.footer-brand { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.disclaimer { margin: 8px 0 0; font-size: 13px; color: var(--faint); max-width: 78ch; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 44px; }
  section { padding: 44px 0; }
  .launch { padding: 28px 22px 26px; border-radius: 16px; }
  .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .network-badge { display: none; }
  .contracts-table th { width: auto; white-space: normal; }
  .contracts-table th, .contracts-table td { padding: 13px 15px; }
}

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