/* Landing tabs — marketing layer over the console identity (styles.css owns
 * the tokens). One bold element: the hero journal-entry card. */

/* ---- tab bar ---- */
.tabbar {
  display: flex;
  gap: .25rem;
  padding: 0 1.25rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 30;
}
.tabbar a {
  padding: .7rem .9rem;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-bottom: 2px solid transparent;
}
.tabbar a:hover { color: var(--ink); }
.tabbar a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---- landing layout primitives ---- */
.landing { padding-top: 34px; }
.landing section { margin: 0 auto 56px; max-width: 880px; }
.eyebrow {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 10px;
}
.display {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 14px;
  color: var(--ink); /* the global h1 rule is white-on-gradient for the topbar */
}
.display .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { font-size: 17px; color: var(--ink-2); max-width: 56ch; margin: 0 0 22px; }
.landing h2 { font-size: 22px; letter-spacing: -0.02em; margin: 0 0 6px; }
.landing h3 { font-size: 15px; margin: 0 0 4px; }
.landing p { color: var(--ink-2); }
.section-intro { margin: 0 0 18px; max-width: 62ch; }

/* ---- CTAs ---- */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }
.btn-primary, .btn-ghost {
  display: inline-block;
  padding: .65rem 1.15rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: var(--panel); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---- hero + signature journal-entry card ---- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  max-width: 1080px;
}
.je-card {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  position: relative;
}
.je-card .je-head {
  display: flex;
  justify-content: space-between;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.je-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  animation: je-appear .5s ease both;
}
.je-row:nth-child(3) { animation-delay: .15s; }
.je-row:nth-child(4) { animation-delay: .3s; }
.je-row.je-flag {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  animation-delay: .55s;
}
.stamp-chip {
  position: absolute;
  right: 14px;
  bottom: -12px;
  background: var(--l1bg);
  color: var(--l1);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .3rem .7rem;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  animation: je-appear .4s ease .85s both;
}
@keyframes je-appear { from { opacity: 0; translate: 0 6px; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .je-row, .stamp-chip { animation: none; }
}

/* ---- generic cards / grids ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.info-card, .task-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.step-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.step-strip .info-card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.axis-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.axis-cards .info-card { border-top: 3px solid var(--accent); }
.axis-cards .info-card.axis-soon { border-top-color: var(--l3); }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.trust-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink-2);
}
.trust-list strong { color: var(--ink); }

/* ---- datasets ---- */
.col-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.col-table th, .col-table td { text-align: left; padding: 6px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.col-table th { color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.col-table td { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* ---- tasks ---- */
.tier-head { display: flex; align-items: baseline; gap: 10px; margin: 34px 0 12px; }
.tier-head .tier-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 6px;
}
.tier-l1 .tier-tag { color: var(--l1); background: var(--l1bg); }
.tier-l2 .tier-tag { color: var(--l2); background: var(--l2bg); }
.tier-l3 .tier-tag { color: var(--l3); background: var(--l3bg); }
.tier-l4 .tier-tag { color: var(--l4); background: var(--l4bg); }
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.task-card h3 { display: flex; gap: 8px; align-items: baseline; }
.task-card .je-id { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.badge-live, .badge-roadmap {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .15rem .55rem;
  margin-left: auto;
}
.badge-live { color: var(--l1); background: var(--l1bg); }
.badge-roadmap { color: var(--ink-3); background: var(--panel-3); }

/* ---- scoring ---- */
.formula {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 14px;
  margin: 12px 0;
  overflow-x: auto;
  white-space: nowrap;
}
.callout {
  border-left: 3px solid var(--l3);
  background: var(--l3bg);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 10px 0;
  color: var(--ink-2);
  font-size: 13px;
}

/* ---- footer ---- */
.land-footer {
  border-top: 1px solid var(--line-2);
  padding: 26px 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 13px;
  max-width: 880px;
  margin: 0 auto;
}

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .card-grid, .step-strip, .axis-cards, .task-grid { grid-template-columns: 1fr; }
  .tabbar { overflow-x: auto; }
}
