/* ClaimGarden — a project of Verifier Standard Labs, Inc.
   Sibling of the vstd-labs.com corporate palette, shifted from blue to green
   so the hub reads as a distinct surface rather than a second homepage. */

:root {
  --bg:        #07090e;
  --bg-alt:    #0d111a;
  --card:      #131824;
  --card-hi:   #182031;
  --border:    #21293a;
  --text:      #f1f5f9;
  --text-sec:  #94a3b8;
  --text-mut:  #64748b;
  --green:     #10b981;
  --green-dim: rgba(16, 185, 129, 0.12);
  --amber:     #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --slate-dim: rgba(100, 116, 139, 0.14);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.narrow-col { max-width: 760px; }

a { color: var(--green); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--green); color: #04150e; padding: 12px 20px;
  font-weight: 700; text-decoration: none; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:where(a, button):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Navigation ------------------------------------------------------- */

.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
}

.brand-mark {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--green-dim); color: var(--green);
  font-size: 1rem; font-weight: 700;
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.14em;
}

.nav-corp {
  font-size: 0.85rem; color: var(--text-sec); text-decoration: none;
  transition: color 0.2s;
}
.nav-corp:hover { color: var(--text); }

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

.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(900px 400px at 15% -10%, rgba(16, 185, 129, 0.10), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.status-strip {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
}

.strip-text { font-size: 0.84rem; color: var(--text-sec); }

.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 26px;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-sec);
  max-width: 66ch;
  margin-bottom: 34px;
}

/* ---- Pills ------------------------------------------------------------ */

.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.pill-planned  { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.3); }
.pill-observed { background: var(--green-dim); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.32); }
.pill-unknown  { background: var(--slate-dim); color: var(--text-mut); border: 1px solid var(--border); }

/* ---- Buttons ---------------------------------------------------------- */

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--green); color: #04150e; }
.btn-primary:hover { background: #0ea371; }

.btn-ghost {
  background: transparent;
  color: var(--text-sec);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-mut); }

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

.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-lead {
  color: var(--text-sec);
  max-width: 68ch;
  margin-bottom: 40px;
}

/* ---- Pillars ---------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.pillar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  transition: border-color 0.2s, background 0.2s;
}

.pillar:hover { background: var(--card-hi); border-color: rgba(16, 185, 129, 0.3); }

.pillar-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.95rem; font-weight: 700;
  color: var(--green);
}

.pillar h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pillar p { font-size: 0.92rem; color: var(--text-sec); }

.pillar-note {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem !important;
  color: var(--text-mut) !important;
  font-style: italic;
}

/* ---- Ledger ----------------------------------------------------------- */

.ledger { display: flex; flex-direction: column; gap: 18px; }

.ledger-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.ledger-row h4 { font-size: 1.05rem; margin-bottom: 8px; }
.ledger-row p { color: var(--text-sec); font-size: 0.94rem; max-width: 70ch; }

.ledger-row code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--bg);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--green);
}

.ledger-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }

.ledger-links a {
  font-size: 0.86rem; font-weight: 500; text-decoration: none;
}
.ledger-links a:hover { text-decoration: underline; }

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

.footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 28px;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex; flex-wrap: wrap; gap: 32px;
  justify-content: space-between;
}

.footer-brand { margin-bottom: 12px; }

.footer-note {
  font-size: 0.84rem; color: var(--text-mut); max-width: 42ch;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.88rem; color: var(--text-sec); text-decoration: none;
}
.footer-links a:hover { color: var(--green); }

.footer-bottom {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-bottom p { font-size: 0.82rem; color: var(--text-mut); }

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

@media (max-width: 720px) {
  .hero { padding: 60px 0 52px; }
  .section { padding: 56px 0; }
  .ledger-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .nav-corp { font-size: 0.78rem; }
  .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover { transform: none; }
}
