/* Exhibit — marketing pages: hero, proof receipt, pricing, prose */

/* ——— Hero ——— */

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 3.5rem 3rem;
  align-items: center;
  padding: 1.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.2rem;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--accent);
}

.hero-copy { min-width: 0; }

/* ——— Proof receipt ——— */

.hero-proof { min-width: 0; perspective: 1400px; }

.proof-receipt {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease);
  will-change: transform;
}

/* Pointer-following sheen (custom props set by JS on [data-tilt]) */
.proof-receipt::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(30rem circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.proof-receipt:hover::after { opacity: 1; }

.proof-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.proof-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);
}
.proof-stamp::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--glow); }
  45% { box-shadow: 0 0 0 0.45rem transparent; }
}

.proof-meta { font-size: 0.68rem; color: var(--mute); }

.proof-url {
  margin: 0;
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  color: var(--ink);
  border-bottom: 1px dashed var(--line-strong);
}

.proof-stages {
  display: flex;
  border-bottom: 1px solid var(--line);
}

.proof-tab {
  position: relative;
  flex: 1;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.7rem 0.5rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
  color: var(--mute);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.proof-tab:last-child { border-right: 0; }
.proof-tab:hover { color: var(--ink); background: var(--sand); }
.proof-tab[aria-selected="true"] { color: var(--accent); }
.proof-tab:focus-visible { outline-offset: -3px; }

/* Auto-cycle progress hairline (JS sets data-live while cycling) */
.proof-stages[data-live] .proof-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform-origin: left;
  animation: tab-progress var(--cycle, 4.5s) linear forwards;
}
.proof-stages[data-live].paused .proof-tab[aria-selected="true"]::after { animation-play-state: paused; }

.proof-panels { padding: 1.1rem 1.25rem 1rem; min-height: 11.5rem; }

@media (prefers-reduced-motion: no-preference) {
  .proof-panel { animation: panel-in 0.4s var(--ease); }
  @keyframes panel-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
  }
}

.proof-anno {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.proof-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  margin: 0 0 0.85rem;
}
.proof-facts div { display: grid; gap: 0.1rem; }
.proof-facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}
.proof-facts dd { margin: 0; font-family: var(--mono); font-size: 0.88rem; }

.proof-files { margin: 0 0 0.85rem; }

.proof-hash {
  margin: 0 0 0.75rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--pre-bg);
  color: var(--pre-fg);
  font-size: 0.68rem;
  line-height: 1.55;
  word-break: break-all;
}

.proof-verdict { margin: 0 0 0.7rem; font-weight: 650; font-size: 0.92rem; }
.proof-verdict.ok { color: var(--ok); }

.proof-note { margin: 0; font-size: 0.85rem; color: var(--mute); line-height: 1.5; }

.proof-foot { padding: 0.75rem 1.25rem 0.95rem; border-top: 1px solid var(--line); }
.proof-rule {
  display: block;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0, var(--line-strong) 4px, transparent 4px, transparent 8px);
  margin-bottom: 0.55rem;
}
.proof-caption { font-size: 0.76rem; color: var(--mute); }

/* ——— Process & features ——— */

.process.editorial {
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.section-head { margin-bottom: 2.2rem; max-width: 28rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2rem); }

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  padding: 1.7rem 1.2rem 1.7rem 0.6rem;
  margin: 0 -0.6rem;
  border-top: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background-color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.process-steps li:last-child { border-bottom: 1px solid var(--line); }
.process-steps li:hover { background: var(--hl); padding-left: 1.2rem; }

.step-num {
  font-family: var(--display);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-size: 1.7rem;
  color: var(--line-strong);
  line-height: 1;
  padding-top: 0.15rem;
  transition: color 0.3s var(--ease);
}
.process-steps li:hover .step-num { color: var(--accent); }

.process-steps li > div { position: relative; }
.process-steps li > div::after {
  content: "→";
  position: absolute;
  right: 0.4rem;
  top: 0.2rem;
  font-family: var(--sans);
  color: var(--accent);
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.process-steps li:hover > div::after { opacity: 1; transform: none; }

.features.editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  padding-top: 3.5rem;
}

.feature-block { padding: 0; }
.feature-aside {
  padding: 1.6rem 1.7rem;
  border-radius: var(--radius);
  background: var(--sand);
}
.feature-aside h2 { font-variation-settings: "SOFT" 80, "WONK" 1; }

.file-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.86rem;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.file-list li:hover { background: var(--hl); padding-left: 0.55rem; }
.file-list span { color: var(--mute); font-family: var(--sans); font-size: 0.88rem; }

/* ——— Mast & pricing ——— */

.mast { max-width: 40rem; padding-bottom: 1.6rem; }
.mast.tight { padding-top: 0.2rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.2rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px var(--glow), var(--shadow-lg);
}

.badge {
  position: absolute;
  top: -0.7rem;
  right: 1.2rem;
  background: var(--accent);
  color: var(--btn-on-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
}

.price {
  font-family: var(--display);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-size: 2.7rem;
  font-weight: 560;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0.4rem;
}
.per { color: var(--mute); min-height: 3.6rem; font-size: 0.92rem; }
.price-card form { margin-top: auto; padding-top: 0.8rem; }
.price-card .btn { width: 100%; }

/* ——— Prose, compare table, panels ——— */

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.prose { max-width: 42rem; }
.prose pre {
  background: var(--pre-bg);
  color: var(--pre-fg);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  overflow: auto;
  font-size: 0.86rem;
}

.cmp { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.cmp th, .cmp td { text-align: left; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--line); }
.cmp thead th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--mute); font-weight: 400; }
.cmp tbody th { font-weight: 600; }
.cmp tbody tr:hover td { background: var(--hl); }

/* ——— Responsive (marketing) ——— */

@media (max-width: 860px) {
  .hero, .features.editorial, .pricing-grid { grid-template-columns: 1fr; }
  .hero-proof { order: -1; }
  .feature-aside { padding: 1.4rem; }
  .process-steps li { grid-template-columns: 2.8rem 1fr; }
}

@media (hover: none) {
  .price-card:hover { transform: none; }
}

/* ——— Reduced motion (marketing bits) ——— */

@media (prefers-reduced-motion: reduce) {
  .proof-receipt { transform: none; }
  .proof-stamp::before { animation: none; }
}

@media print {
  .proof-stages { display: none !important; }
  .proof-receipt { box-shadow: none; border: 1px solid #ccc; transform: none; }
}
