/*
Theme Name: softball-practice-plan
Theme URI: https://softballpracticeplan.com/
Author: Softball Practice Plan
Description: Lightweight one-page WordPress theme for the Softball Practice Plan generator.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: softball-planner
WPVibe: yes
*/

:root {
  --ink: #102c42;
  --ink-2: #1c4966;
  --text: #314958;
  --muted: #667681;
  --paper: #ffffff;
  --soft: #f2f7f7;
  --cream: #fff8ef;
  --line: #dbe5e8;
  --accent: #e65335;
  --accent-dark: #b93621;
  --green: #1d6f59;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--text); font-family: "Manrope", ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.65; margin: 0; }
a { color: var(--ink-2); }
a:hover { color: var(--accent-dark); }
img { height: auto; max-width: 100%; }
.wrap { margin-inline: auto; max-width: var(--max); padding-inline: 24px; }
.skip-link { background: #fff; color: var(--ink); left: 12px; padding: 12px 16px; position: fixed; top: -100px; z-index: 999; }
.skip-link:focus { top: 12px; }

.site-header { background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(219,229,232,.9); position: sticky; top: 0; z-index: 50; }
.site-header__inner { align-items: center; display: flex; gap: 28px; justify-content: space-between; min-height: 76px; }
.brand { align-items: center; color: var(--ink); display: inline-flex; font-size: 1rem; font-weight: 900; gap: 11px; letter-spacing: -.02em; text-decoration: none; }
.brand__mark { align-items: center; background: var(--accent); border: 3px solid #ffd3c8; border-radius: 50%; color: #fff; display: inline-flex; height: 38px; justify-content: center; overflow: hidden; position: relative; width: 38px; }
.brand__mark:before,
.brand__mark:after { background: #fff; content: ""; height: 2px; position: absolute; transform: rotate(-24deg); width: 32px; }
.brand__mark:before { top: 12px; }
.brand__mark:after { bottom: 11px; }
.site-nav { align-items: center; display: flex; gap: 24px; }
.site-nav a { color: var(--text); font-size: .86rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover { color: var(--accent-dark); }
.site-nav .nav-cta { background: var(--ink); border-radius: 999px; color: #fff; padding: 10px 16px; }
.site-nav .nav-cta:hover { background: var(--ink-2); color: #fff; }

.hero { background: radial-gradient(circle at 78% 20%, rgba(230,83,53,.14), transparent 28%), linear-gradient(135deg, #f7fbfa 0%, #fff8ef 100%); overflow: hidden; padding: clamp(64px, 9vw, 116px) 0 82px; position: relative; }
.hero__grid { align-items: center; display: grid; gap: clamp(36px, 7vw, 84px); grid-template-columns: 1.08fr .92fr; }
.kicker { align-items: center; color: var(--green); display: inline-flex; font-size: .76rem; font-weight: 900; gap: 8px; letter-spacing: .1em; text-transform: uppercase; }
.kicker:before { background: var(--green); border-radius: 50%; content: ""; height: 8px; width: 8px; }
.hero h1 { color: var(--ink); font-family: "Bebas Neue", Impact, sans-serif; font-size: clamp(3.6rem, 8vw, 7rem); font-weight: 400; letter-spacing: -.025em; line-height: .86; margin: 16px 0 24px; max-width: 760px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero__lead { color: #405968; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; margin: 0 0 30px; max-width: 680px; }
.hero__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 16px; }
.button { align-items: center; background: var(--accent); border-radius: 999px; box-shadow: 0 12px 28px rgba(185,54,33,.22); color: #fff; display: inline-flex; font-weight: 850; gap: 8px; min-height: 54px; padding: 0 24px; text-decoration: none; }
.button:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.button--text { background: transparent; box-shadow: none; color: var(--ink); padding-inline: 8px; }
.button--text:hover { background: transparent; color: var(--accent-dark); }
.trust-row { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .82rem; gap: 12px 20px; margin-top: 24px; }
.trust-row span:before { color: var(--green); content: "✓"; font-weight: 900; margin-right: 7px; }

.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 80px rgba(16,44,66,.14); padding: 26px; transform: rotate(1.5deg); }
.hero-card__top { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 18px; }
.hero-card__top strong { color: var(--ink); }
.hero-card__pill { background: #e8f4ef; border-radius: 999px; color: var(--green); font-size: .72rem; font-weight: 850; padding: 5px 9px; }
.mini-plan { display: grid; gap: 10px; margin-top: 18px; }
.mini-plan__row { align-items: center; background: var(--soft); border-radius: 13px; display: grid; gap: 12px; grid-template-columns: 48px 1fr; padding: 12px; }
.mini-plan__time { align-items: center; background: var(--ink); border-radius: 10px; color: #fff; display: flex; font-size: .72rem; font-weight: 900; height: 42px; justify-content: center; }
.mini-plan__row b { color: var(--ink); display: block; font-size: .88rem; }
.mini-plan__row small { color: var(--muted); }

.generator-section { background: var(--soft); padding: clamp(70px, 9vw, 112px) 0; }
.ad-zone { margin: 28px auto; max-width: 970px; min-height: 1px; }

.section { padding: clamp(68px, 8vw, 104px) 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #dce7ed; }
.section-heading { margin-bottom: 44px; max-width: 740px; }
.section-heading h2 { color: var(--ink); font-family: "Bebas Neue", Impact, sans-serif; font-size: clamp(2.8rem, 5vw, 4.7rem); font-weight: 400; letter-spacing: -.015em; line-height: .95; margin: 10px 0 16px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--ink .section-heading h2 { color: #fff; }
.section--ink .section-heading p { color: #bdccd5; }
.eyebrow { color: var(--accent-dark); font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }

.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.step { border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.step__number { align-items: center; background: var(--ink); border-radius: 50%; color: #fff; display: flex; font-size: .85rem; font-weight: 900; height: 38px; justify-content: center; margin-bottom: 22px; width: 38px; }
.step h3 { color: var(--ink); font-size: 1.22rem; margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; }

.feature-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.feature { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 26px; }
.feature h3 { color: #fff; font-size: 1.12rem; margin: 0 0 8px; }
.feature p { color: #bdccd5; margin: 0; }
.feature__icon { color: #ff9c85; margin-bottom: 13px; }
.feature__icon svg { fill: none; height: 28px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 28px; }

.sample-grid { align-items: start; display: grid; gap: 42px; grid-template-columns: .78fr 1.22fr; }
.sample-copy h2 { color: var(--ink); font-family: "Bebas Neue", Impact, sans-serif; font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 400; letter-spacing: -.015em; line-height: .95; margin: 10px 0 18px; }
.sample-copy p { color: var(--muted); }
.age-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.age-links a { background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .82rem; font-weight: 800; padding: 7px 12px; text-decoration: none; }
.sample-table { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 20px 55px rgba(16,44,66,.08); overflow: hidden; }
.sample-table table { border-collapse: collapse; width: 100%; }
.sample-table caption { color: var(--ink); font-size: 1.05rem; font-weight: 900; padding: 20px 22px; text-align: left; }
.sample-table th { background: var(--ink); color: #fff; font-size: .74rem; letter-spacing: .08em; padding: 12px 16px; text-align: left; text-transform: uppercase; }
.sample-table td { border-bottom: 1px solid var(--line); padding: 13px 16px; }
.sample-table tr:last-child td { border-bottom: 0; }
.sample-table td:first-child { color: var(--accent-dark); font-weight: 850; white-space: nowrap; }

.standards { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.standards h2 { color: var(--ink); font-family: "Bebas Neue", Impact, sans-serif; font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 400; letter-spacing: -.015em; line-height: .95; margin: 10px 0 18px; }
.standards__panel { background: var(--soft); border-radius: 22px; padding: 28px; }
.standards__panel h3 { color: var(--ink); margin-top: 0; }
.standards__panel ul { margin-bottom: 0; padding-left: 20px; }

.faq { display: grid; gap: 12px; margin: 0 auto; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { color: var(--ink); cursor: pointer; font-weight: 850; list-style: none; padding: 20px 34px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { color: var(--accent); content: "+"; font-size: 1.5rem; position: absolute; right: 0; top: 13px; }
.faq details[open] summary:after { content: "–"; }
.faq details p { color: var(--muted); margin: 0; padding: 0 34px 20px 0; }

.site-footer { background: #0a2030; color: #b7c7d0; padding: 46px 0 28px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr; }
.site-footer .brand { color: #fff; }
.footer-copy { font-size: .88rem; margin-top: 16px; max-width: 560px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: flex-end; }
.footer-links a { color: #dce7ed; font-size: .84rem; text-decoration: none; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); font-size: .76rem; margin-top: 32px; padding-top: 20px; }

.content-page { min-height: 60vh; padding: 70px 0; }
.content-page article { margin: 0 auto; max-width: 780px; }
.content-page h1 { color: var(--ink); font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.055em; line-height: 1.05; }

@media (max-width: 860px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero__grid,
  .sample-grid,
  .standards { grid-template-columns: 1fr; }
  .hero-card { margin: 0 auto; max-width: 600px; transform: none; width: 100%; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .wrap { padding-inline: 18px; }
  .site-header__inner { min-height: 66px; }
  .brand { font-size: .9rem; }
  .site-nav .nav-cta { padding: 8px 12px; }
  .hero { padding-top: 58px; }
  .feature-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .sample-table { overflow-x: auto; }
}
