/* Audience pages (high-school-running-planner.html and the others, built by scripts/build-guides.py).
   StrideRecord's own colours; pictures are real screenshots of the app (site/shots). */

/* Hero */
.ghero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--sage), var(--paper) 85%); }
.ghero h1 { font-size: clamp(36px, 4.2vw, 58px); font-weight: 700; letter-spacing: -1.8px; line-height: 1.04; margin: 14px 0 18px; }
.ghero .lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.ghero-dark { background: radial-gradient(ellipse 70% 80% at 75% 20%, #1f3a2b 0%, var(--forest) 70%); color: var(--on-dark); }
.ghero-dark .lead { color: var(--on-dark-muted); }
.gh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.gh-art, .g-art { display: flex; justify-content: center; min-width: 0; }
.gh-stack { display: grid; gap: 40px; }
.gh-stack > div:first-child { max-width: 760px; }
.gh-stack .gh-art { max-width: 1120px; }

/* Real screenshots: a phone frame and a browser window */
.shot-phone { margin: 0; width: 270px; flex-shrink: 0; padding: 9px; background: #15211a; border-radius: 40px; box-shadow: 0 30px 60px rgba(15, 28, 21, 0.24); }
.shot-phone img { width: 100%; height: auto; border-radius: 31px; display: block; }
.two-phones { display: flex; gap: 22px; align-items: flex-start; justify-content: center; }
.two-phones .shot-phone:first-child { margin-top: 36px; }
.shot-web { margin: 0; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 28, 21, 0.16); }
.shot-web img { width: 100%; height: auto; display: block; }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--sage-2); border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd8d0; }
.gs .shot-web { margin-top: 28px; }
.ghero .shot-web { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }

/* Sections */
.gs { padding: 80px 0; }
.g-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gs .h2 { margin-top: 6px; }
.gs-fine { margin-top: 18px; color: var(--muted); font-size: 15px; }
.gs-fine a { color: var(--green); }
.g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.gl { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.gl li { display: flex; gap: 10px; font-size: 16px; color: var(--muted); }
.gl b { color: var(--ink); }
.gl .ico { color: var(--green); margin-top: 4px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.g3 > div { padding: 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.g-alt .g3 > div { background: var(--paper); }
.g3 b { font-size: 17px; }
.g3 span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* High school: what we keep and never ask for */
.hs-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.hs-compare > div { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.hs-compare h3 { font-size: 19px; }
.hs-compare .keep { border-color: var(--green); }
.gx { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gx li { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 15.5px; }
.gx li::before { content: '✕'; color: #a42d36; font-weight: 700; }

/* Steps, contact sales, plans, tabs */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.steps4 > div { padding: 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; }
.steps4 b { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.steps4 span { font-weight: 600; }
.sales { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.sales .sub { max-width: 620px; }
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; width: 100%; max-width: 480px; }
.lad { padding: 20px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: grid; gap: 2px; text-align: center; }
.lad:nth-child(1) { min-height: 170px; }
.lad:nth-child(2) { min-height: 210px; }
.lad:nth-child(3) { min-height: 250px; }
.lad small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.lad b { font-size: 48px; line-height: 1.1; letter-spacing: -2px; margin-top: auto; }
.lad span { color: var(--muted); }
.lad em { font-style: normal; font-weight: 700; color: var(--green); }
.lad.on { border: 2px solid var(--green); box-shadow: 0 16px 36px rgba(52, 88, 69, 0.18); }
.tabs4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.tabs4 > div { padding: 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 6px; border-top: 4px solid var(--green); }
.tabs4 b { font-size: 18px; }
.tabs4 span { color: var(--muted); font-size: 15px; }

/* Phones and tablets */
@media (max-width: 900px) {
  .ghero { padding: 44px 0 40px; }
  .gh-grid, .g2 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .g3, .hs-compare, .tabs4 { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .gs { padding: 56px 0; }
}
@media (max-width: 640px) {
  .shot-phone { width: 230px; }
  .two-phones .shot-phone:last-child { display: none; }
  .two-phones .shot-phone:first-child { margin-top: 0; }
  .gx { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: 1fr; }
  .lad { min-height: 0 !important; }
  .hero-cta { flex-wrap: wrap; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}
