/* Bold'n'Smart — hero + offer-section components (tier cards, process
   steps, sample-report mock). Loads after base.css: relies on tokens
   (--ink, --line, --accent, --radius, --ease, etc.) defined there. */

/* ===== HERO ===== */
.hero {
  padding-top: clamp(4rem, 10vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}

/* Very quiet radial glow, hero only — CSS-only, no image request */
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 46rem;
  height: 46rem;
  background: radial-gradient(closest-side, var(--accent-tint) 0%, transparent 72%);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

/* Layered geometric art anchored to the hero's bottom-left corner — sits
   behind copy/chart (z-index 0, same layer as the radial glow), stays
   visible (scaled, not hidden) down to 320px. CSS/SVG only, no image
   request. Opacity kept low so ink-on-paper text contrast is unaffected. */
.hero-art {
  position: absolute;
  left: -2.5rem;
  bottom: -2.5rem;
  width: clamp(11rem, 52vw, 16rem);
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 641px) {
  .hero-art {
    left: -2rem;
    bottom: -2.5rem;
    width: clamp(20rem, 38vw, 34rem);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  order: 2;
}

@media (min-width: 901px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .hero-visual {
    order: initial;
  }
}

.chart-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.1rem;
}

.chart-card svg {
  display: block;
  width: 100%;
  height: auto;
}

.chart-caption {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-align: center;
  margin: 0.85rem 0 0;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-facts strong {
  color: var(--ink);
}

/* ===== TIER CARDS ===== */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.tier-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.tier-card:hover {
  transform: translateY(-3px);
  border-color: oklch(78% 0.006 264);
  box-shadow: 0 12px 28px -18px oklch(21% 0.014 264 / 35%);
}

.tier-card.is-featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.tier-card.is-featured:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px -16px oklch(56% 0.17 38 / 45%);
}

/* ===== PROCESS — quiet 3-step visual ===== */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin: 2.5rem 0 0;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: var(--line);
  z-index: 0;
  display: none;
}

@media (min-width: 641px) {
  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .process::before {
    display: block;
  }
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 1rem;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.process-step strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

/* ===== SAMPLE-REPORT VISUAL — abstract mock, no real claims ===== */
.offer-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 2.25rem;
}

@media (min-width: 801px) {
  .offer-bottom {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.offer-bottom .order-note {
  margin-top: 0;
}

.report-mock {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.report-mock-head {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.report-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--line);
}

.report-mock-title {
  margin-left: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.report-row {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.report-row:first-of-type {
  border-top: none;
}

.severity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.6rem;
  padding: 0 0.55rem;
  border-radius: 5px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.sev-high {
  background: oklch(90% 0.05 26);
  color: var(--bad);
}

.sev-med {
  background: var(--accent-tint);
  color: var(--accent-ink);
}

.sev-low {
  background: oklch(90% 0.05 152);
  color: var(--ok);
}

.report-lines {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.report-lines .line {
  display: block;
  height: 0.5rem;
  border-radius: 3px;
  background: var(--line);
}

.line-a {
  width: 92%;
}

.line-b {
  width: 68%;
}

.receipt {
  display: block;
  height: 0.45rem;
  width: 46%;
  border-radius: 3px;
  border: 1px dashed oklch(70% 0.01 264);
  background: transparent;
}

.tier-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-ink);
  margin-bottom: 0.4rem;
}

.tier-price {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.tier-delivery {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.tier-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}

.tier-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.tier-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.order-note {
  margin-top: 2.25rem;
  padding: 1.35rem 1.6rem;
  background: var(--accent-tint);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.order-note a {
  font-weight: 700;
}
