/* RallyTap homepage styles. Shared styles are in site.css. */
.hero-subhead { margin-bottom: 8px; }
.hero-plus { margin: 0 0 18px; font-family: "Montserrat", "Inter", sans-serif; font-style: italic; font-weight: 600; font-size: 1.1rem; line-height: 1.5; color: var(--accent-strong); }
.hero-actions { justify-content: center; }
.feature-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; }
.preview-badge { display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid rgba(98,176,255,.3); border-radius: 999px; background: rgba(98,176,255,.1); color: var(--accent-strong); font-family: "Inter", "Segoe UI", sans-serif; font-size: .65rem; font-weight: 700; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; }
.section-intro { text-align: center; margin: 16px auto 28px; }
/* A second sentence in an intro, on its own line after a small gap. */
.section-intro__who { display: block; margin-top: 10px; }
.story-section { margin: 36px 0; padding: 0; background: #BCD9F7; color: #102033; }
.story-heading { padding: 24px 0; background: #252934; }
.story-heading h2 { margin: 0; text-align: center; color: var(--text); font-family: "Montserrat", "Inter", sans-serif; font-style: normal; font-weight: 600; }
.story-body { padding: 48px 0; }
.story { max-width: 660px; margin: 0 auto; }
.story-eyebrow { display: block; margin-bottom: 10px; font-family: "Inter", "Segoe UI", sans-serif; font-size: 1rem; font-style: normal; font-weight: 600; line-height: 1.5; letter-spacing: .12em; }
.story p { margin: 0 0 24px; color: #102033; font-size: 1.125rem; line-height: 1.65; }
.story p:last-child { margin-bottom: 0; }
.coach-invite { max-width: 880px; margin: 0 auto; text-align: center; }
/* Each section of the home page is a band of its own colour, edge to edge. */
.home { background: #0b0d12; }
.home .hero { background: radial-gradient(circle at 50% 0, rgba(98,176,255,.18), transparent 58%), linear-gradient(180deg, #0e131c, #0b0d12); }
.home #charting, .home .home-guides { background: #121927; }
.home #charting { padding: 64px 0 72px; border-top: 1px solid rgba(255,255,255,.07); }
.home .home-guides { padding: 64px 0; }
.home .feature, .home .home-guides .guide-card { background: linear-gradient(180deg, rgba(30,37,54,.96), rgba(22,28,42,.96)); }
.home .story-section { margin: 0; }
.home #coach-feedback { padding: 72px 0; background: linear-gradient(180deg, #1c4f90, #143d73); }
.home .coach-invite .section-intro { color: #dbe8f9; }
.home .site-footer { background: #090b10; }
.home .site-footer__inner { padding-top: 0; border-top: 0; }
/* The first three features each have a picture: a piece of a screenshot, cut as guides.css describes. */
.guide-crop.shot-result { --t: .145; --b: .322; --l: .05; --r: .732; }
.guide-crop.shot-tag { --t: .505; --b: .742; --l: .05; --r: .95; }
.guide-crop.shot-stats { --t: .486; --b: .716; --l: .05; --r: .95; }
.feature-grid--pictures .guide-crop { margin-bottom: 18px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(170,205,255,.25); }
/* Match Summary: one wide card under the three, its picture beside the words; stacked on a phone. */
.guide-crop.shot-summary { --t: .342; --b: .802; --l: .02; --r: .98; }
.home .feature-spotlight { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: center; max-width: 880px; margin: 18px auto 0; padding: 28px; background: linear-gradient(180deg, rgba(30,37,54,.96), rgba(22,28,42,.96)); }
.feature-spotlight .guide-crop { border-radius: 12px; box-shadow: 0 0 0 1px rgba(170,205,255,.25); }
.feature-spotlight h3 { margin: 0 0 10px; font-size: 1.3rem; }
.feature-spotlight p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.home .feature-spotlight .feature-note { margin-top: 12px; font-size: .85rem; line-height: 1.45; }
/* Match Tools: one panel of short rows, two across. */
.home .feature-grid--rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; max-width: 880px; margin-left: auto; margin-right: auto; padding: 6px 28px; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(30,37,54,.96), rgba(22,28,42,.96)); }
.home .feature-grid--rows .feature { max-width: none; padding: 18px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.home .feature-grid--rows .feature:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
.feature-grid--rows h3 { margin-bottom: 4px; font-size: 1.02rem; }
.feature-grid--rows p { font-size: .95rem; line-height: 1.5; }
/* Essentials: three chips, no descriptions. */
.feature-grid--chips { gap: 10px; }
.home .feature-grid--chips .feature { flex: none; max-width: none; padding: 9px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: none; box-shadow: none; }
.feature-grid--chips h3 { margin: 0; font-size: .95rem; font-weight: 600; }
.home .feature-group { margin-top: 30px; }
/* The guides, as two small cards under the story. Their card styles are in guides.css. */
.home-guides__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: 22px auto 0; }
.home-guides .guide-card--row { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 16px; }
.home-guides .guide-card h3 { margin: 0; font-size: 1.2rem; }
.home-guides .guide-kicker { margin-bottom: 6px; font-size: .74rem; }
.home-guides__more { margin: 18px 0 0; text-align: center; font-weight: 600; }
.site-footer__inner { display: block; }
.home-footer-note p+p { margin-top: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px 24px; margin-top: 24px; font-size: .92rem; }
.footer-credit a { text-decoration: underline; text-underline-offset: .18em; }
.footer-credit a:hover { color: var(--accent-strong); }
a:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 5px; }
@media (max-width: 900px) {
  .feature { flex-basis: 360px; max-width: 360px; min-width: 0; }
}
@media (max-width: 600px) {
  .story-body { padding: 32px 0; }
  .story p { font-size: 1.0625rem; }
}
@media (max-width: 640px) {
  .hero-plus { font-size: 1.2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .home .feature-grid--rows { grid-template-columns: minmax(0, 1fr); padding: 2px 18px; }
  .home .feature-grid--rows .feature { padding: 14px 0; }
  .home .feature-grid--rows .feature:nth-child(n+2) { border-top: 1px solid rgba(255,255,255,.08); }
  .feature-grid--rows h3, .feature-grid--pictures h3 { font-size: 1rem; }
  .feature-grid--rows p, .feature-grid--pictures p { font-size: .93rem; line-height: 1.45; }
  /* The first three become rows too, each with its picture small on the left: the scores closer up, and the whole tagging sheet. */
  .guide-crop.shot-result { --t: .208; --b: .33; --l: .035; --r: .5; }
  .guide-crop.shot-tag { --t: .413; --b: .963; --l: .036; --r: .964; }
  .home .feature-grid--pictures { display: block; padding: 2px 16px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(180deg, rgba(30,37,54,.96), rgba(22,28,42,.96)); }
  .home .feature-grid--pictures .feature { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: center; max-width: none; padding: 14px 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .home .feature-grid--pictures .feature + .feature { border-top: 1px solid rgba(255,255,255,.08); }
  .feature-grid--pictures .guide-crop { margin: 0; border-radius: 8px; }
  .feature-grid--pictures h3 { margin-bottom: 4px; }
  .home .feature-spotlight { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px; border-radius: 20px; }
  .feature-spotlight .guide-crop { justify-self: center; width: 100%; max-width: 340px; border-radius: 8px; }
  .feature-spotlight h3 { font-size: 1.1rem; }
  .feature-spotlight p { font-size: .93rem; line-height: 1.45; }
}
@media (max-width: 760px) {
  .home-guides__list { grid-template-columns: minmax(0, 1fr); }
  .home-guides .guide-card--row { grid-template-columns: 130px minmax(0, 1fr); gap: 16px; }
}
