/* DAIT public site .  clean enterprise blue/red/yellow on white */
:root {
  --primary: #1a73e8;
  --accent-red: #ea4335;
  --accent-yellow: #fbbc04;
  --ink: #0b1220;
  --ink-soft: #5a6478;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --border: #e5eaf3;
  --radius: 12px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }
.container.center { text-align: center; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Topbar */
.topbar { position: sticky; top: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 50; }
.topbar .row { padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.logo { flex-shrink: 0; }
.topnav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.topnav a { color: var(--ink-soft); font-weight: 500; }
.topnav a:hover { color: var(--ink); text-decoration: none; }

.cta-primary, .cta-secondary { display: inline-block; padding: 10px 18px; border-radius: var(--radius); font-weight: 600; font-size: 14px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.cta-primary { background: var(--primary); color: white; }
.cta-primary:hover { background: #1557b0; text-decoration: none; transform: translateY(-1px); }
.cta-secondary { background: white; color: var(--ink); border: 1px solid var(--border); }
.cta-secondary:hover { background: var(--bg-soft); text-decoration: none; }

/* Hero */
.hero { padding: 100px 0 80px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.hero h1 { font-size: 56px; line-height: 1.08; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 24px; }
.hero .lead { font-size: 21px; line-height: 1.55; color: var(--ink-soft); max-width: 720px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-ctas .cta-primary, .hero-ctas .cta-secondary { padding: 14px 24px; font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 720px; }
.stats > div { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: -.5px; }
.stat-label { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

@media (max-width: 720px) {
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 17px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .topnav a:not(.cta-primary):not(.cta-secondary) { display: none; }
}

/* Sections */
.section { padding: 80px 0; }
.section.bg-soft { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 16px; }
.section h2 { font-size: 36px; line-height: 1.2; font-weight: 700; letter-spacing: -.5px; margin-bottom: 24px; }
.section .lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 32px; }
.section p { margin-bottom: 16px; }

/* Cards grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
  .section h2 { font-size: 28px; }
}

/* Tokenomics table */
.tokenomics-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 15px; }
.tokenomics-table th, .tokenomics-table td { padding: 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.tokenomics-table th { font-weight: 600; color: var(--ink); }
.tokenomics-table td { color: var(--ink-soft); }

/* Roadmap */
.roadmap { list-style: none; padding: 0; margin-top: 24px; }
.roadmap li { padding: 18px 20px; border: 1px solid var(--border); background: white; border-radius: var(--radius); margin-bottom: 12px; position: relative; padding-right: 110px; }
.roadmap h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.roadmap p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.status { position: absolute; top: 18px; right: 20px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.status-now { background: var(--accent-yellow); color: #5b4500; }
.status-soon { background: var(--primary); color: white; }
.status-future { background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--border); }

/* Join section */
#join { text-align: center; padding-top: 100px; padding-bottom: 100px; }
#join h2 { font-size: 44px; margin-bottom: 20px; }
#join .cta-primary { padding: 14px 28px; font-size: 16px; margin-bottom: 16px; }
.footnote { font-size: 13px; color: var(--ink-soft); margin-top: 12px; }

/* Footer */
.footer { background: var(--ink); color: white; padding: 40px 0; font-size: 14px; }
.footer .row { gap: 24px; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: white; }
.footer-brand { font-weight: 700; font-size: 16px; }
.footer-tagline { color: rgba(255,255,255,.6); margin-left: 8px; }
.footer-nav { display: flex; gap: 22px; }
.footer-meta { color: rgba(255,255,255,.6); font-size: 13px; }
@media (max-width: 720px) { .footer-meta { display: none; } }

/* Brand-color accents .  sparingly */
.section h2 strong { color: var(--accent-red); }
.section p strong { color: var(--ink); font-weight: 700; }
.eyebrow { color: var(--accent-red); }
.section.bg-soft .eyebrow { color: var(--primary); }

/* ============================================================ */

/* First column ~12ch narrow; optional narrow-2 / narrow-3      */
/* modifiers narrow additional columns; remaining columns       */
/* auto-expand to share leftover width for explanations         */
/* ============================================================ */
@media (max-width: 768px) {
  }

/* Comparison-chart tables (rev 2026-05-07): visual styling only.
 * Per-table widths are set via <colgroup><col style="width:%"> in the HTML.
 */
.compare-table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  font-size: 14px;
  line-height: 1.55;
}
.compare-table th,
.compare-table td {
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  border-bottom: 1px solid var(--border, #e2e6ea);
}
.compare-table th {
  background: var(--bg-soft, #f4f6f8);
  font-weight: 700;
  border-bottom: 2px solid var(--border, #d8dee8);
}
@media (max-width: 768px) {
  .compare-table { font-size: 12.5px; }
  .compare-table th, .compare-table td { padding: 8px 10px; }
}

/* ============================================================ */
/* Daitchain-specific additions on top of foundation base       */
/* ============================================================ */
.axis-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-left: 8px;
  vertical-align: middle;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: white;
  border-radius: 999px;
}
.axis-badge.axis-1 { color: #1f8f3a; border-color: #1f8f3a; }
.axis-badge.axis-2 { color: var(--primary); border-color: var(--primary); }
.axis-badge.axis-3 { color: #b97000; border-color: #b97000; }
.axis-badge.axis-4 { color: #d93025; border-color: #d93025; }

pre {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  overflow-x: auto;
  margin: 14px 0 22px;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .92em;
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 4px;
}
