/* ReadAlouds.com - shared styles */
:root{
  --bg:#fffaf1;
  --card:#ffffff;
  --ink:#122335;
  --muted:#44566b;
  --brand:#1f5c8b;
  --brand2:#6ba7b5;
  --accent:#f47c6b;
  --ring: rgba(31,92,139,.25);
  --shadow: 0 10px 25px rgba(18,35,53,.10);
  --radius: 18px;
  --max: 1120px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink);
  background: linear-gradient(180deg, rgba(31,92,139,.06), rgba(107,167,181,.05) 25%, rgba(255,250,241,1) 55%) fixed;
  line-height:1.6;
}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto}
.skip-link{
  position:absolute; left:-999px; top:0; background:#000; color:#fff;
  padding:.75rem 1rem; border-radius:10px; z-index:9999;
}
.skip-link:focus{left:12px; top:12px}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
header.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(255,250,241,.72);
  border-bottom: 1px solid rgba(18,35,53,.08);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.2px;
}
.brand-badge{
  width:34px; height:34px; border-radius:12px;
  background: radial-gradient(circle at 30% 30%, var(--accent), var(--brand));
  box-shadow: 0 8px 20px rgba(244,124,107,.25);
}
.brand span{display:block}
.brand small{display:block; font-weight:650; color:var(--muted); margin-top:-2px}
.nav{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.nav a{
  padding:8px 10px; border-radius:12px;
  color:var(--ink); font-weight:650;
}
.nav a[aria-current="page"]{
  background: rgba(31,92,139,.10);
  color: var(--brand);
}
.nav .cta{
  background: var(--brand);
  color:#fff;
  box-shadow: 0 10px 22px rgba(31,92,139,.22);
}
.nav .cta:hover{filter:brightness(.97); text-decoration:none}
.hamburger{display:none}
@media (max-width: 860px){
  .hamburger{display:inline-flex; align-items:center; justify-content:center}
  .nav{display:none; width:100%}
  .nav.open{display:flex}
  .header-inner{flex-wrap:wrap}
}
.button{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(18,35,53,.10);
  background: #fff;
  color: var(--ink);
  font-weight:750;
  box-shadow: 0 12px 22px rgba(18,35,53,.06);
}
.button:hover{filter:brightness(.99); text-decoration:none}
.button.primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  border-color: rgba(255,255,255,.2);
}
.button.accent{
  background: linear-gradient(135deg, var(--accent), #ffb1a6);
  color:#1b2430;
  border-color: rgba(255,255,255,.25);
}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:6px 10px; border-radius:999px;
  background: rgba(31,92,139,.08);
  color: var(--brand);
  font-weight:700;
  border:1px solid rgba(31,92,139,.12);
}
.hero{
  padding: 34px 0 16px;
}
.hero-grid{
  display:grid; grid-template-columns: 1.2fr .8fr; gap:22px; align-items:stretch;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
}
.hero-card{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(18,35,53,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.hero h1{margin:10px 0 10px; line-height:1.15; font-size: clamp(28px, 3.4vw, 44px)}
.hero p{margin:0 0 14px; color:var(--muted); font-size: 1.06rem}
.grid{
  display:grid;
  gap:16px;
}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
@media (max-width: 900px){.grid.cols-3{grid-template-columns:1fr}.grid.cols-2{grid-template-columns:1fr}}
.card{
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(18,35,53,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card h3{margin:8px 0 6px}
.card p{margin:0; color:var(--muted)}
.section{padding: 18px 0}
.section h2{margin:0 0 10px; font-size: 1.6rem}
.kicker{color:var(--muted); margin:0 0 14px}
.breadcrumb{
  font-size:.95rem; color:var(--muted);
  margin: 10px 0 0;
}
.breadcrumb a{color:var(--muted)}
.notice{
  border-left: 4px solid var(--brand2);
  background: rgba(107,167,181,.10);
  padding: 12px 14px;
  border-radius: 14px;
}
footer{
  margin-top: 30px;
  border-top: 1px solid rgba(18,35,53,.10);
  background: rgba(255,250,241,.85);
}
.footer-inner{
  padding: 18px 0;
  display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap;
  color:var(--muted);
}
.footer-inner a{color:var(--muted)}
.form{
  display:grid; gap:10px;
}
input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(18,35,53,.16);
  background:#fff;
  color: var(--ink);
  outline:none;
}
input:focus, textarea:focus, select:focus{
  box-shadow: 0 0 0 6px var(--ring);
  border-color: rgba(31,92,139,.35);
}
label{font-weight:700}
.small{font-size:.95rem; color:var(--muted)}
hr.soft{border:none; height:1px; background: rgba(18,35,53,.10); margin:16px 0}
.badge-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.price{
  font-size: 1.6rem; font-weight:900; margin: 6px 0;
}
ul.clean{margin:0; padding-left: 18px}

/* Image placeholders */
figure.img-placeholder { margin: 0; }
.img-placeholder .img-frame{
  border: 1px dashed rgba(0,0,0,.25);
  background: rgba(0,0,0,.03);
  border-radius: 16px;
  overflow: hidden;
}
.img-placeholder img{ display:block; width:100%; height:auto; }
.img-placeholder figcaption{
  font-size: 0.95rem;
  color: rgba(0,0,0,.7);
  margin-top: 8px;
}
.img-placeholder figcaption code{ font-size: 0.9em; }
