/* Feature landing pages (for example /quit-doomscrolling/). Builds on site.css. */

/* ---------- Hero ---------- */
.lp-hero {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(40px, 6vw, 88px);
  padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(64px, 8vw, 104px);
}
.lp-hero-copy { flex: 1.15 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lp-hero-copy .lead { max-width: 540px; }
.lp-hero-art { flex: 1 1 400px; min-width: 0; position: relative; display: flex; justify-content: center; padding: 12px 0 64px; }
.lp-title { font-size: clamp(46px, 5.6vw, 82px); line-height: 0.98; letter-spacing: -0.045em; }
.lp-hero-art .halo { width: min(520px, 100%); }

/* The phone in the hero shows a Doom Scroll Break screen */
.lp-phone .screen { height: 640px; }
.break-screen {
  position: absolute; inset: 0; padding: 86px 22px 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: radial-gradient(120% 70% at 50% 0%, #3A3832 0%, #23221F 60%, #1B1A17 100%);
  color: #fff; font-family: var(--app-sans);
}
.break-icon {
  width: 64px; height: 64px; border-radius: 20px; background: var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
  box-shadow: 0 12px 30px rgba(237,203,106,0.25);
}
.break-title { font-size: 24px; font-weight: 800; letter-spacing: -0.3px; }
.break-text { font-size: 15px; line-height: 1.5; color: var(--on-char); max-width: 250px; }
.break-priority {
  margin-top: 10px; width: 100%; border-radius: 18px; padding: 16px; text-align: left;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column; gap: 6px;
}
.break-priority .app-eyebrow { color: var(--gold); }
.break-priority strong { font-family: var(--app-serif); font-weight: 600; font-size: 21px; line-height: 1.15; }
.break-buttons { margin-top: auto; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.break-buttons .gold { padding: 14px 0; border-radius: 14px; background: var(--gold); color: var(--char); font-size: 15px; font-weight: 800; }
.break-buttons .ghost { padding: 8px 0; font-size: 15px; font-weight: 700; color: #fff; }
.break-chip {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); width: max-content; max-width: 100%;
  background: #fff; border: 1px solid var(--app-line); border-radius: 18px; padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(122,108,78,0.22); display: flex; flex-direction: column; gap: 4px;
  font-family: var(--app-sans); color: var(--ink);
}
.break-chip .app-eyebrow { color: var(--app-muted); }
.break-chip strong { font-size: 15px; }
.break-chip span.small { font-size: 12.5px; color: var(--app-muted); }
@media (max-width: 760px) { .break-chip { display: none; } }

/* ---------- "Sound familiar?" ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.pain { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.pain .quote { font-family: var(--app-serif); font-size: 22px; line-height: 1.3; color: var(--ink); }
.pain p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- The scroll / break timeline ---------- */
.cycle-wrap { display: flex; flex-direction: column; gap: 14px; }
.cycle { display: flex; gap: 6px; border-radius: 18px; overflow: hidden; min-height: 76px; }
.cycle-seg { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 12px 16px; min-width: 0; }
.cycle-seg strong { font-size: 15.5px; font-weight: 800; }
.cycle-seg span { font-size: 13px; }
.cycle-seg.scroll { flex: 4; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cycle-seg.scroll span { color: var(--muted); }
.cycle-seg.break { flex: 1.4; background: var(--char); color: #fff; border-radius: 14px; }
.cycle-seg.break strong { color: var(--gold); }
.cycle-seg.break span { color: var(--on-char); }
.cycle-note { font-size: 15px; color: var(--muted); line-height: 1.55; max-width: 720px; }
@media (max-width: 560px) {
  .cycle { flex-direction: column; }
  .cycle-seg.scroll, .cycle-seg.break { flex: none; }
}

/* ---------- Screenshot + text rows ---------- */
.lp-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 88px); }
.lp-row.reverse { flex-direction: row-reverse; }
.lp-row-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lp-row-copy .body-lg { max-width: 540px; }
.lp-row-art { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.shot-frame {
  width: min(340px, 100%); border-radius: 44px; padding: 10px; background: #1B1A17;
  box-shadow: 0 40px 80px rgba(90,76,48,0.26), 0 0 0 1px #3A3833 inset;
}
.shot-frame img { width: 100%; height: auto; border-radius: 34px; display: block; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 540px; }
.facts li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--muted); }
.facts strong { color: var(--ink); }

/* ---------- Comparison ---------- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); }
.compare thead th { font-size: 13px; font-weight: 800; letter-spacing: 0.4px; color: var(--muted); background: var(--bg); }
.compare thead th.ours { background: var(--char); color: var(--gold); }
.compare td.ours { background: #FBF6E6; color: var(--ink); font-weight: 600; }
.compare tbody th { font-weight: 800; color: var(--ink); width: 22%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td { color: #3A3832; }

/* ---------- Founder note ---------- */
.founder {
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px);
  display: flex; gap: 22px; align-items: flex-start; max-width: 860px;
}
.founder img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 0 0 1px var(--line); flex-shrink: 0; }
.founder .note-text { margin: 0; font-family: var(--app-serif); font-size: clamp(20px, 2.2vw, 25px); line-height: 1.4; color: var(--ink); }
.founder p.by { margin-top: 12px; font-size: 15px; color: var(--muted); }
.founder p.by a { color: var(--ink); font-weight: 700; }
@media (max-width: 560px) { .founder { flex-direction: column; } }

/* Spacing helper for stacked sections on this page */
.lp-section { padding-top: var(--section); display: flex; flex-direction: column; gap: 36px; }
.lp-section-last { padding-bottom: var(--section); }

@media (max-width: 760px) {
  .lp-hero-art { padding-bottom: 8px; }
  .lp-phone .screen { height: 560px; }
}
