/* Hopper Rewards editorial accents & ledger previews on top of editorial-base.css. */
:root {
  --accent: #6f3159;
  --accent-dark: #4f203f;
  --accent-soft: #f4e8f0;
  --accent-line: #d4b4c8;
  --warm: #9a6c2e;
  --hero-bg: #faf7f3;
  --section-tint: #f4efe9;
}

.hero {
  align-items: start;
  padding-top: clamp(16px, 2.2vw, 28px);
}
.hero-copy {
  margin-top: 0;
  width: min(760px, 100%);
  padding: 6px 24px 12px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 45%, rgba(250, 247, 243, 0.92) 0%, rgba(250, 247, 243, 0.72) 60%, transparent 84%);
}
.hero h1 {
  font-size: clamp(44px, 5.1vw, 76px);
  line-height: 0.98;
}
.hero-copy > p {
  margin-top: clamp(12px, 1.2vw, 18px);
  font-size: clamp(15px, 1.2vw, 18px);
}
.hero-actions {
  margin: 16px 0 8px;
}
.hero-copy small {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(250, 247, 243, 0.92);
  color: #4f203f;
  font-weight: 500;
}
.section-intro .text-link {
  white-space: nowrap;
  flex-shrink: 0;
}
.connections-section > picture {
  display: block;
  min-width: 0;
}
.subhero > .wrap > picture {
  display: block;
  width: 38%;
  max-width: 420px;
  flex-shrink: 0;
}
.subhero > .wrap > picture > .subhero-art {
  width: 100%;
  max-width: none;
}
@media (max-width: 960px) {
  .subhero > .wrap > picture {
    width: 100%;
    max-width: none;
  }
}

.rew-stage-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.rew-stage-head strong {
  font: 600 17px var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.rew-stage-head span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-rew-rows {
  display: grid;
  gap: 7px;
}
.mini-rew-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 12.5px;
}
.mini-rew-row code {
  font: 600 11px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--accent-dark);
}
.mini-rew-row strong {
  font-weight: 600;
  color: var(--ink);
}
.mini-rew-amt {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}
.mini-rew-pill {
  font: 600 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.mini-rew-pill.warn {
  background: #faeedc;
  color: #8f4f12;
}
.mini-rew-pill.muted {
  background: #efeae6;
  color: #5c4e56;
}

.mini-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mini-metric-box {
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  gap: 3px;
}
.mini-metric-box small {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mini-metric-box strong {
  font: 650 18px var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.mini-format-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mini-format-card {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid;
  gap: 4px;
}
.mini-format-card strong {
  font: 600 13px var(--display);
  color: var(--ink);
}
.mini-format-card small {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--muted);
}

.starter-rew-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 9px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  font-size: 12px;
}
.starter-rew-row span {
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.starter-rew-row code {
  font: 500 10px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
  white-space: nowrap;
}
