/* ==========================================================================
   MERIDIAN — design tokens
   ========================================================================== */

:root {
  --bg: #f5f4ef;
  --text: #141414;
  --text-60: #5a5a54;
  --accent: #ff4a1c;
  --line: #e4e1d8;
  --line-strong: #d3cfc2;
  --white: #ffffff;

  --font-display: "Big Shoulders Stencil Display", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --font-body: "Inter", sans-serif;
  --font-accent: "Instrument Serif", serif;

  --gutter: 2.75rem;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

main, header, footer { position: relative; z-index: 1; }

/* ---------- shared layout ---------- */

.container {
  max-width: 84rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.1rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-60);
  margin-bottom: 1.25rem;
}

.eyebrow .square { display: none; }

.square {
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}

.square.lg { width: 12px; height: 12px; }

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 0.92;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 1rem;
}

.section-kicker {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.2rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-kicker .square { display: none; }

p { line-height: 1.6; color: var(--text-60); margin: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  padding: 0.85rem 1.4rem;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background-color: #e64316; transform: translateY(-1px); }

.btn-link {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-link:hover { border-color: var(--accent); color: var(--accent); }

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

.site-header {
  background-color: var(--bg);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-60);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: 78vh;
  gap: 2rem;
}

.hero-copy { padding: 4rem 0; }

.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}

.hero-desc {
  max-width: 34rem;
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
}

/* Highlighter-marker effect, like a pen dragged across a notebook line. */
.highlight {
  background: none;
  background-image: linear-gradient(rgba(255, 74, 28, 0.35), rgba(255, 74, 28, 0.35));
  background-repeat: no-repeat;
  background-size: 0% 60%;
  background-position: 0 78%;
  color: var(--text);
  font-weight: 600;
  padding: 0 0.1em;
  transition: background-size 0.4s steps(20, end);
}
.highlight.is-marked { background-size: 100% 60%; }

.tw-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  background: var(--text);
  vertical-align: text-bottom;
  animation: tw-blink 0.9s step-end infinite;
}
.tw-cursor.is-hidden { display: none; }

@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-60);
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  max-width: 26rem;
}
.hero-stat strong { color: var(--text); font-weight: 600; }

.hero-visual {
  position: relative;
  height: 78vh;
  overflow: hidden;
}

/* The source video is chroma-keyed onto #robot-canvas frame-by-frame
   (see script.js) instead of relying on native alpha-video decoding —
   that native path is inconsistent across browsers (broke on Safari).
   The plain video stays off-screen; only the canvas is shown. */
.hero-visual video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hero-visual canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 128%;
  width: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-visual-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-60);
}

/* ---------- three-column sections ---------- */

.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.col-card {
  padding: 0;
}

.col-card .index {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 2.4rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1;
}

.col-card h3 {
  font-size: 1.4rem;
  text-transform: none;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.col-card p { font-size: 0.92rem; }

/* ---------- marquees ---------- */

.marquee-section {
  padding: 1.75rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--text-60);
}
.tx-item .agent-from { color: var(--text); }
.tx-item .agent-to { color: var(--text); }
.tx-item .arrow { color: var(--accent); }
.tx-item .amount { color: var(--accent); }

.partners-section { padding: 2.5rem 0; }
.partners-track {
  display: flex;
  width: max-content;
  gap: 5rem;
  align-items: center;
}
.partner-name {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--text-60);
  white-space: nowrap;
  text-transform: uppercase;
}

/* ---------- final CTA ---------- */

.cta-final {
  padding: 6rem 0;
  text-align: center;
}
.cta-final h2 { font-size: clamp(2rem, 5vw, 3.6rem); margin-bottom: 2rem; }
.cta-final .btn-primary { padding: 1rem 2rem; }

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

.site-footer { padding: 4rem 0 2.5rem; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  margin-bottom: 1.5rem;
}

.footer-brand .brand { margin-bottom: 0.85rem; }
.footer-brand p { max-width: 20rem; font-size: 0.88rem; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-60);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-flow: column; gap: 0.6rem; }
.footer-col a { font-size: 0.88rem; color: var(--text); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-60);
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding: 4.5rem 0 3.5rem;
}
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); max-width: 46rem; }

/* ---------- protocol blocks ---------- */

.protocol-blocks {
  display: flex;
  flex-flow: column;
}
.protocol-block {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 2rem;
  padding: 2.75rem 0;
}
.protocol-block .index {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 4rem;
  color: var(--line-strong);
  line-height: 1;
}
.protocol-block h3 {
  font-family: var(--font-mono);
  text-transform: none;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}
.protocol-block p { max-width: 38rem; }

/* ---------- sequence diagram ---------- */

.diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 3rem 0 1rem;
}
.diagram-line {
  position: absolute;
  top: 1.65rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line-strong);
}
.diagram-dot {
  position: absolute;
  top: calc(1.65rem - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.diagram-step {
  position: relative;
  display: flex;
  flex-flow: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 0 0.5rem;
}
.diagram-node {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}
.diagram-step p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* ---------- agents grid ---------- */

.stats-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0 3rem;
  margin-bottom: 3rem;
}
.stat-item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-60);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--text);
  text-transform: none;
  line-height: 1;
}
.stat-item span { display: flex; flex-flow: column; gap: 0.35rem; }

.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.agent-card {
  padding: 0;
  display: flex;
  flex-flow: column;
  gap: 1.25rem;
}

.agent-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.agent-id {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
}

.agent-score {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
}
.agent-score-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  color: var(--text-60);
  display: block;
  margin-top: 0.25rem;
}

.agent-specialty {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-60);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

/* ---------- token page ---------- */

.token-symbol {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.alloc-bar {
  display: flex;
  width: 100%;
  height: 2.5rem;
  overflow: hidden;
  margin: 2.5rem 0 2rem;
}
.alloc-seg { height: 100%; }

.alloc-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 1rem 2rem;
}
.alloc-legend-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-60);
}
.alloc-legend-item .swatch { width: 10px; height: 10px; flex: none; }
.alloc-legend-item strong { color: var(--text); }

/* ---------- App console (wallet, forms, activity) ---------- */

.wallet-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 0.55rem 0.9rem;
}

.wallet-disconnect {
  background: none;
  border: none;
  color: var(--text-60);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  margin-left: 0.25rem;
}
.wallet-disconnect:hover { color: var(--accent); }

.app-form {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.field {
  display: flex;
  flex-flow: column;
  gap: 0.5rem;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-60);
}

.input {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  min-width: 16rem;
}

.status-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-60);
  margin-top: 0.75rem;
}

.diagram-step.is-done .diagram-node {
  background: var(--accent);
  color: var(--text);
}
.diagram-step.is-done p { color: var(--accent); }

/* ---------- launch overlay (agent registration confirmation) ---------- */

.launch-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.launch-overlay.is-visible { opacity: 1; visibility: visible; }

.launch-overlay-inner {
  text-align: center;
  color: var(--bg);
  padding: 2rem;
}

.launch-spinner {
  width: 22px;
  height: 22px;
  margin: 0 auto 1.5rem;
  background: var(--accent);
  animation: launch-spin 1.1s linear infinite;
}
@keyframes launch-spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(0.75); }
  100% { transform: rotate(360deg) scale(1); }
}

.launch-loading-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bg);
}

.launch-check {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

#launch-success h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--bg);
  margin-bottom: 0.75rem;
}

.launch-agent-id {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.activity-list {
  display: flex;
  flex-flow: column;
}

.activity-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr 6rem 8rem 5rem 5rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-60);
  border-bottom: 1px solid var(--line);
}
.activity-row:last-child { border-bottom: none; }
.activity-row .agent-from,
.activity-row .agent-to { color: var(--text); }
.activity-row .arrow { color: var(--accent); }
.activity-row .amount { color: var(--accent); }
.activity-status { text-transform: uppercase; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { height: 50vh; }
  .cols-3 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .protocol-block { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .diagram { grid-template-columns: 1fr; gap: 2rem; }
  .diagram-line { display: none; }
  .activity-row { grid-template-columns: 1fr; gap: 0.25rem; }
  .chatbot { right: 1rem; bottom: 1rem; }
  .chatbot-panel { width: calc(100vw - 2rem); right: 0; }
}

/* ---------- chat widget ---------- */

.chatbot {
  position: fixed;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 50;
  font-family: var(--font-body);
}

.chatbot-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.18);
  transition: transform 0.2s ease;
  padding: 0;
  overflow: hidden;
}
.chatbot-toggle:hover { transform: translateY(-2px); }
.chatbot-toggle.is-open { background: var(--text); }

.chatbot-toggle-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatbot-panel[hidden] {
  display: none;
}

.chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 340px;
  max-height: 480px;
  background: var(--bg);
  box-shadow: 0 20px 60px rgba(20, 20, 20, 0.2);
  display: flex;
  flex-flow: column;
  overflow: hidden;
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  background: var(--text);
  color: var(--bg);
}
.chatbot-header-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  object-fit: cover;
  flex: none;
  overflow: hidden;
}
.chatbot-header-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chatbot-header-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #b9b6ac;
  margin-top: 0.15rem;
}
.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--bg);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.chatbot-close:hover { color: var(--accent); }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-flow: column;
  gap: 0.65rem;
  min-height: 220px;
}

.chatbot-message {
  font-size: 0.85rem;
  line-height: 1.45;
  padding: 0.6rem 0.8rem;
  max-width: 85%;
}
.chatbot-message-bot {
  background: var(--line);
  color: var(--text);
  align-self: flex-start;
  border-radius: 2px 10px 10px 10px;
}
.chatbot-message-user {
  background: var(--accent);
  color: var(--text);
  align-self: flex-end;
  border-radius: 10px 2px 10px 10px;
}

.chatbot-form {
  display: flex;
  border-top: 1px solid var(--line);
}
.chatbot-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
}
.chatbot-send {
  border: none;
  background: none;
  color: var(--accent);
  font-size: 1.2rem;
  width: 3rem;
  cursor: pointer;
}
.chatbot-send:hover { color: var(--text); }

/* ---------- content-density helpers (stat bands, use cases, compare, FAQ) ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding: 3rem 0;
}
.stat-band .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-band .stat strong.accent { color: var(--accent); }
.stat-band .stat span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-60);
}

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.use-case {
  padding: 0;
}
.use-case-icon {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.use-case h3 {
  font-family: var(--font-mono);
  text-transform: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin-bottom: 0.6rem;
}
.use-case p { font-size: 0.88rem; }

.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  text-align: left;
  padding: 1.1rem 1.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-60);
  font-weight: 500;
}
.compare-table td:first-child, .compare-table th:first-child { color: var(--text-60); }
.compare-table .no::before { content: "\2715  "; color: var(--text-60); }
.compare-table .yes { color: var(--text); font-weight: 600; }
.compare-table .yes::before { content: "\2713  "; color: var(--accent); }

.faq-item { border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
}
.faq-q .plus { color: var(--accent); font-size: 1.3rem; line-height: 1; transition: transform 0.2s ease; flex: none; margin-left: 1rem; }
.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.is-open .faq-a { max-height: 20rem; }
.faq-a p { padding-top: 0.9rem; max-width: 44rem; }

.badge-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-60);
  padding: 0.4rem 0.75rem;
  background: var(--line);
}

/* ---------- contact / talk to the team ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-points { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-flow: column; gap: 0.75rem; }
.contact-points li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.88rem; color: var(--text-60);
}
.contact-points li::before { content: ""; width: 6px; height: 6px; background: var(--accent); margin-top: 0.5rem; flex: none; }

.contact-form { display: flex; flex-flow: column; gap: 1.1rem; }
.contact-form textarea.input { resize: vertical; min-width: 100%; font-family: var(--font-body); }
.contact-form .btn-primary { align-self: flex-start; padding: 0.85rem 1.75rem; }

@media (max-width: 900px) {
  .stat-band { grid-template-columns: 1fr 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
