/* Marketing pages — full-bleed sections. Reuses the tokens defined in portal.css.
   Component styles ported/adapted from ballpark-placeholder/public/styles.css. */

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__title { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; text-align: center; }
.section__lede { max-width: 680px; margin: 0 auto 36px; text-align: center; color: var(--ink-soft); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand);
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25);
  padding: .4em .9em; border-radius: 999px; margin: 0 0 22px;
}
.eyebrow--sky { color: var(--brand-2); background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.25); }
.grad { background: linear-gradient(100deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Hero ── */
.hero { padding: 80px 0 48px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 600px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(74,222,128,.16), transparent 70%);
  pointer-events: none;
}
.hero__inner { text-align: center; position: relative; }
.hero__title { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; margin: 0; }
.hero__sub { max-width: 680px; margin: 24px auto 0; font-size: 1.18rem; color: var(--ink-soft); }
.hero__sub strong { color: var(--ink); }
.hero__cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 34px 0 14px; }
.hero__note { color: var(--ink-mute); font-size: .9rem; margin: 0; }
.btn--lg { font-size: 1.05rem; padding: .9em 1.7em; }

/* ── Mock rate card ── */
.ratecard {
  margin: 48px auto 0; max-width: 560px;
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.ratecard__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--ink-mute); }
.pill { background: rgba(56,189,248,.15); color: var(--brand-2); border-radius: 999px; padding: .2em .7em; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.ratecard__rows { list-style: none; margin: 0; padding: 8px; }
.rrow { display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; font-size: .98rem; }
.rrow:hover { background: rgba(255,255,255,.03); }
.rrow__rank { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: var(--line); color: var(--ink-soft); font-weight: 700; font-size: .85rem; }
.rrow__name { font-weight: 600; }
.rrow__name em { color: var(--ink-mute); font-style: normal; font-weight: 500; font-size: .85em; }
.rrow__band { color: var(--ink-mute); font-size: .82rem; }
.rrow__price { font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.rrow--just { background: rgba(251,191,36,.08); border: 1px solid rgba(251,191,36,.25); }
.rrow--just .rrow__rank { background: rgba(251,191,36,.2); color: var(--just); }
.ratecard__foot { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-mute); text-align: center; }

/* ── Feature trio ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(74,222,128,.12); color: var(--brand); font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.feature h3 { margin: 0 0 8px; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ── How it works ── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 8px; }
.step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--panel); border: 1px solid var(--line); color: var(--brand); font-weight: 800; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ── Three pillars (Easier / Faster / Free) ── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { text-align: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; }
.pillar__big { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.pillar p { margin: 0; color: var(--ink-soft); }

/* ── Comparison feature matrix ── */
.matrix-wrap { overflow-x: auto; }
.matrix { width: 100%; border-collapse: collapse; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 640px; }
.matrix th, .matrix td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: .95rem; }
.matrix thead th { background: var(--panel); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.matrix th.row-label, .matrix td.row-label { text-align: left; font-weight: 600; color: var(--ink); }
.matrix tr:last-child td { border-bottom: none; }
.matrix .col-us { background: rgba(74,222,128,.06); }
.matrix thead .col-us { background: rgba(74,222,128,.14); color: var(--brand); }
.matrix .yes { color: var(--brand); font-weight: 700; }
.matrix .no { color: var(--ink-mute); }
.matrix .meh { color: var(--just); }

/* ── "Always free" banner ── */
.freebar { text-align: center; background: linear-gradient(180deg, rgba(74,222,128,.1), rgba(74,222,128,.03)); border: 1px solid rgba(74,222,128,.35); border-radius: var(--radius); padding: 30px; box-shadow: 0 0 0 1px rgba(74,222,128,.1); }
.freebar h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.freebar h2 .free { color: var(--brand); }
.freebar p { margin: 0; color: var(--ink-soft); max-width: 620px; margin-inline: auto; }

/* ── Extension page mockup ── */
.browser { max-width: 720px; margin: 40px auto 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); }
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.browser__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.browser__url { flex: 1; margin-left: 8px; font-size: .8rem; color: var(--ink-mute); background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; }
.browser__chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: #052e16; background: var(--brand); border-radius: 7px; padding: 5px 9px; }
.browser__body { padding: 22px; display: grid; gap: 12px; }
.fauxfield { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 12px; }
.fauxfield span { color: var(--ink-mute); font-size: .85rem; }
.fauxfield b { background: var(--bg); border: 1px solid var(--brand); box-shadow: 0 0 0 3px rgba(74,222,128,.12); border-radius: 8px; padding: 8px 11px; font-weight: 600; color: var(--ink); position: relative; }
.fauxfield b::after { content: "⚾ autofilled"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: .68rem; font-weight: 700; color: var(--brand); }

/* ── Prose (philosophy) ── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; letter-spacing: -.01em; }
.prose p { color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 16px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 28px 0; padding: 16px 22px; border-left: 3px solid var(--brand); background: var(--bg-soft); border-radius: 0 10px 10px 0; color: var(--ink); font-size: 1.12rem; }

/* ── CTA band ── */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.cta-band p { color: var(--ink-soft); margin: 0 0 26px; font-size: 1.1rem; }

/* ── Coming-soon badge ── */
.soon { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--just); background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.35); border-radius: 999px; padding: .3em .8em; vertical-align: middle; margin-left: 10px; }

@media (max-width: 820px) {
  .features, .steps, .pillars { grid-template-columns: 1fr; }
}
