/* ============================================================================
   HIDDEN ACE, Marketing page styles v3
   Editorial ledger layout. No repeated eyebrow + centered-grid sections.
   ========================================================================= */

.hero {
  padding: 64px 0 80px;
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: stretch;
}
.hero-copy {
  padding: 40px 56px 40px 0;
  border-right: 1px solid var(--rule);
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 22px;
}
.hero-kicker strong { color: var(--gold); font-weight: 600; }
.hero-copy h1 {
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-copy h1 .ruled {
  display: block;
  font-variant-numeric: tabular-nums;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--red-bright);
}
.hero-copy .lede {
  font-size: 18px;
  max-width: 46ch;
  margin-bottom: 36px;
  border-left: 2px solid var(--gold-dim);
  padding-left: 18px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 30px; }
.hero-meta-list {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hero-meta-list span::before { content: '\2014 '; color: var(--gold-dim); }

.tally-sheet {
  padding: 40px 0 40px 56px;
  display: flex;
  flex-direction: column;
}
.tally-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.tally-head-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.tally-head-live {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--stat-green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tally-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 13.5px;
}
.tally-row dt { color: var(--text-dim); margin: 0; }
.tally-row dd { margin: 0; font-weight: 600; color: var(--bone); font-variant-numeric: tabular-nums; }
.tally-row dd.accent { color: var(--stat-green); }

.tally-tc {
  margin: 26px 0 22px;
  text-align: center;
}
.tally-tc-value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--stat-green);
  transition: color 900ms var(--ease);
}
.tally-tc-value.is-negative { color: var(--stat-red); }
.tally-tc-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 6px;
}

.tally-verdict {
  margin-top: auto;
  background: var(--red-deep);
  border: 1px solid var(--red);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tally-verdict-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(239,233,219,0.6); }
.tally-verdict-action { font-family: var(--font-display); font-size: 22px; color: var(--bone); }
.tally-verdict-ev { font-family: var(--font-mono); font-size: 12.5px; color: var(--stat-green); }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 0 0 40px; border-right: none; border-bottom: 1px solid var(--rule); }
  .tally-sheet { padding: 40px 0 0; }
}

.trust-strip { border-bottom: 1px solid var(--rule); }
.trust-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 40px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  padding: 22px 0;
}

.manifesto {
  padding: 100px 0;
  border-bottom: 1px solid var(--rule);
}
.manifesto blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.22;
  color: var(--bone);
  max-width: 22ch;
}
.manifesto blockquote em { color: var(--red-bright); font-style: normal; }
.manifesto cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  font-style: normal;
}

.method-head { max-width: 56ch; margin-bottom: 8px; }
.method-head h2 { font-size: clamp(28px, 4vw, 40px); }
.method-head p { margin-top: 14px; font-size: 16.5px; }
.method-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.method-head.center p { margin-left: auto; margin-right: auto; }

.legend {
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.legend-switch {
  padding: 32px 28px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.legend-switch:last-child { border-right: none; }
.legend-switch-glyph {
  width: 100%;
  height: 64px;
  margin-bottom: 22px;
  position: relative;
}
.legend-switch-mark {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.legend-switch h4 { font-size: 17px; margin-bottom: 8px; }
.legend-switch p { font-size: 14px; }

.glyph-tap {
  display: flex; align-items: center; justify-content: center;
}
.glyph-tap-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--gold);
  animation: tapPulse 2.4s ease-in-out infinite;
}
@keyframes tapPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--gold-glow); }
  50% { box-shadow: 0 0 0 8px var(--gold-glow); }
}

.glyph-scroll { display: flex; align-items: center; justify-content: center; }
.glyph-scroll-track {
  width: 1px; height: 56px;
  background: var(--rule-bright);
  position: relative;
}
.glyph-scroll-mark {
  position: absolute;
  left: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--red-bright);
  transform: translateX(-50%);
}
.glyph-scroll-up .glyph-scroll-mark { animation: travelUp 2.2s ease-in-out infinite; }
.glyph-scroll-down .glyph-scroll-mark { animation: travelDown 2.2s ease-in-out infinite; }
@keyframes travelUp {
  0% { top: 100%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: -4%; opacity: 0; }
}
@keyframes travelDown {
  0% { top: -4%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@media (max-width: 780px) {
  .legend { grid-template-columns: 1fr; }
  .legend-switch { border-right: none; border-bottom: 1px solid var(--rule); }
  .legend-switch:last-child { border-bottom: none; }
}

.printout {
  border: 1px solid var(--rule);
  background: var(--bg-rise);
}
.printout-section {
  padding: 44px 48px;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.printout-section:last-child { border-bottom: none; }
.printout-section.is-reverse { grid-template-columns: 1.15fr 0.85fr; }
.printout-section.is-reverse .printout-copy { order: 2; }
.printout-num { font-family: var(--font-mono); font-size: 12px; color: var(--gold); margin-bottom: 14px; }
.printout-copy h3 { font-size: clamp(21px, 2.8vw, 27px); margin-bottom: 14px; }
.printout-copy p { font-size: 15px; margin-bottom: 16px; max-width: 50ch; }
.printout-list { list-style: none; margin: 0; padding: 0; font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); display: flex; flex-direction: column; gap: 8px; }
.printout-list li::before { content: '\203A '; color: var(--gold); }

.printout-readout {
  font-family: var(--font-mono);
  font-size: 13px;
}
.pr-row { display: grid; grid-template-columns: 1fr auto; padding: 9px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.pr-row dt { color: var(--text-faint); margin: 0; }
.pr-row dd { margin: 0; color: var(--bone); font-weight: 600; }
.pr-row dd.accent { color: var(--stat-green); }

.comp-track { display: flex; align-items: flex-end; gap: 3px; height: 110px; }
.comp-col { flex: 1; background: var(--surface-2); position: relative; display: flex; align-items: flex-end; }
.comp-col-fill { width: 100%; background: var(--red-deep); transition: height var(--speed-slow) var(--ease-soft); }
.comp-col.is-rich .comp-col-fill { background: linear-gradient(180deg, var(--gold) 0%, var(--red-bright) 100%); }
.comp-labels-row { display: flex; gap: 3px; margin-top: 7px; }
.comp-labels-row span { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 9.5px; color: var(--text-faint); }

.matrix-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--rule); }
.matrix-cell { padding: 14px 10px; text-align: center; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.matrix-cell:nth-child(3n) { border-right: none; }
.matrix-cell:nth-last-child(-n+3) { border-bottom: none; }
.matrix-action { font-family: var(--font-mono); font-weight: 700; font-size: 12px; margin-bottom: 4px; }
.matrix-cell.is-best { background: var(--red-deep); }
.matrix-cell.is-best .matrix-action { color: var(--bone); }
.matrix-ev { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint); }

.ramp-track { display: flex; align-items: flex-end; gap: 5px; height: 100px; }
.ramp-bar { flex: 1; background: var(--red-deep); position: relative; transition: height var(--speed-slow) var(--ease-soft); }
.ramp-bar.is-max { background: linear-gradient(180deg, var(--gold) 0%, var(--red-bright) 100%); }
.ramp-bar-label { position: absolute; top: -19px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 9.5px; color: var(--text-faint); }

@media (max-width: 860px) {
  .printout-section, .printout-section.is-reverse { grid-template-columns: 1fr; gap: 26px; padding: 36px 28px; }
  .printout-section.is-reverse .printout-copy { order: 0; }
}

.ticket {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  border: 1px solid var(--rule);
  background: var(--bg-rise);
}
.ticket-stub { padding: 44px 40px; }
.ticket-stub-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.ticket-stub h3 { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 12px; }
.ticket-stub p { font-size: 14.5px; max-width: 38ch; }
.ticket-stub .ticket-cta { margin-top: 20px; }

.ticket-tear {
  width: 1px;
  background-image: repeating-linear-gradient(to bottom, var(--rule-bright) 0, var(--rule-bright) 6px, transparent 6px, transparent 14px);
  position: relative;
}
.ticket-tear::before, .ticket-tear::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--rule);
  transform: translateX(-50%);
}
.ticket-tear::before { top: -9px; }
.ticket-tear::after { bottom: -9px; }

@media (max-width: 780px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-tear { width: 100%; height: 1px; background-image: repeating-linear-gradient(to right, var(--rule-bright) 0, var(--rule-bright) 6px, transparent 6px, transparent 14px); }
  .ticket-tear::before, .ticket-tear::after { left: auto; top: 50%; transform: translateY(-50%); }
  .ticket-tear::before { left: -9px; }
  .ticket-tear::after { right: -9px; left: auto; }
}

.card-panel {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 5 / 7;
  background: var(--bg-rise);
  border: 1px solid var(--rule-bright);
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card-panel-corner {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}
.card-panel-corner.is-bottom { align-self: flex-end; transform: rotate(180deg); }
.card-panel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.card-panel-rate {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.card-panel-amount { font-family: var(--font-display); font-size: 56px; color: var(--bone); line-height: 1; }
.card-panel-amount sup { font-size: 22px; top: -1.6em; }
.card-panel-period { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); margin-top: 8px; margin-bottom: 26px; }
.card-panel-list { list-style: none; margin: 0 0 26px; padding: 0; text-align: left; font-size: 13.5px; color: var(--text-dim); display: flex; flex-direction: column; gap: 9px; width: 100%; }
.card-panel-list li::before { content: '\203A '; color: var(--gold); }

.faq-ledger { border-top: 1px solid var(--rule); max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 24px 0; display: grid; grid-template-columns: 1fr 1fr auto; align-items: baseline; gap: 16px;
  cursor: pointer; font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--bone);
}
.faq-q-num { font-family: var(--font-mono); font-size: 12px; color: var(--gold); font-weight: 400; }
.faq-q-icon { flex-shrink: 0; transition: transform var(--speed) var(--ease); color: var(--text-faint); justify-self: end; }
.faq-item.is-open .faq-q-icon { transform: rotate(45deg); color: var(--gold); }
.faq-a { max-height: 0; overflow: scroll; transition: max-height var(--speed) var(--ease); }
.faq-item.is-open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 0 24px 56px; font-size: 14.5px; color: var(--text-dim); line-height: 1.7; max-width: 60ch; }
@media (max-width: 560px) {
  .faq-q { grid-template-columns: 1fr 1fr auto; }
  .faq-a-inner { padding-left: 40px; }
}

.close-statement {
  padding: 120px 0;
  text-align: center;
  border-top: 1px solid var(--rule);
}
.close-statement h2 { font-size: clamp(32px, 5.5vw, 56px); line-height: 1.08; margin-bottom: 28px; }
.close-statement p { font-size: 16px; margin-bottom: 36px; }

.checkout-note {
  display: flex; align-items: center; gap: 9px; justify-content: center;
  font-size: 13px; color: var(--text-faint); margin-top: 18px;
}
.checkout-note svg { color: var(--gold); flex-shrink: 0; }

/* ============================================================================
   PRICING PAGE (separate from the landing page card-panel; this page
   keeps a single wide ledger panel rather than a vertical playing card,
   since it needs to hold a full feature list and checkout button).
   ========================================================================= */
.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg-rise);
  border: 1px solid var(--rule-bright);
  padding: 44px 40px;
  text-align: center;
}
.pricing-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 5px 14px;
  margin-bottom: 24px;
}
.pricing-amount { font-family: var(--font-display); font-size: 58px; font-weight: 600; color: var(--bone); line-height: 1; }
.pricing-amount sup { font-size: 24px; top: -1.6em; }
.pricing-period { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); margin-top: 10px; margin-bottom: 32px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 32px; text-align: left; display: flex; flex-direction: column; gap: 13px; border-top: 1px solid var(--rule); padding-top: 24px; }
.pricing-features li { display: flex; gap: 11px; font-size: 14.5px; color: var(--text); }
.pricing-features li svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.pricing-fineprint { font-size: 12.5px; color: var(--text-faint); margin-top: 20px; }
.pricing-referral-note {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--gold-dim);
  font-size: 13px;
  color: var(--gold);
}
