/* Grandkids Workshop: shared styles. Large type and strong contrast: many readers are grandparents. */
:root {
  --paper: #fbf6ec;      /* warm workshop paper */
  --card: #ffffff;
  --ink: #2b2118;        /* dark brown-black text */
  --muted: #6b5d4f;
  --wood: #b5651d;       /* main accent */
  --wood-dark: #8a4a12;
  --leaf: #2f7d4f;       /* second accent (Minecraft-ish green, not a copy of any brand) */
  --line: #e6dccb;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { font-size: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.6; }
a { color: var(--wood-dark); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: 1.7rem; margin-top: 1.6em; }
h3 { font-size: 1.25rem; }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name { font-family: Georgia, serif; font-size: 1.35rem; font-weight: bold; }
nav a { margin-left: 18px; text-decoration: none; font-weight: 600; color: var(--ink); }
nav a:first-child { margin-left: 0; }
nav a[aria-current="page"] { color: var(--wood-dark); border-bottom: 3px solid var(--wood); }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero p.lead { font-size: 1.25rem; color: var(--muted); max-width: 40em; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--leaf); margin-bottom: .6em; }

.button { display: inline-block; background: var(--wood); color: #fff; text-decoration: none; font-weight: 700;
  padding: 14px 24px; border-radius: 999px; margin: 6px 10px 6px 0; }
button.button { border: none; font: inherit; font-weight: 700; cursor: pointer; }
.button:hover { background: var(--wood-dark); }
.button.secondary { background: transparent; color: var(--wood-dark); border: 2px solid var(--wood); }
.button.disabled { background: #cfc5b6; color: #5a4e42; pointer-events: none; }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 20px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.card .tag { display: inline-block; font-size: .8rem; font-weight: 700; background: #e9f3ec; color: var(--leaf);
  border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.card.feature { border: 2px solid var(--wood); }
.card.soon { border-style: dashed; background: transparent; color: var(--muted); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--leaf); color: #fff; font-weight: 700; margin-bottom: 10px; }

/* Sessions list */
.sessions { list-style: none; padding: 0; counter-reset: s; }
.sessions li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 14px 64px;
  margin-bottom: 10px; position: relative; }
.sessions li::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 14px; width: 32px; height: 32px;
  border-radius: 50%; background: var(--wood); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sessions strong { display: block; }

table.costs { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 10px 0 16px; font-size: .95rem; }
table.costs th, table.costs td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
table.costs thead th { background: #f3eadb; }
table.costs tr:last-child td { border-bottom: none; }
@media (max-width: 600px) { table.costs { font-size: .85rem; } table.costs th, table.costs td { padding: 8px; } }
.downloads .card p { color: var(--muted); }
.note { background: #fff4dc; border-left: 5px solid var(--wood); padding: 14px 18px; border-radius: 8px; }

/* Idea box */
form.ideas { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
form.ideas label { display: block; font-weight: 700; margin: 0 0 6px; }
form.ideas .req, form.ideas .opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
form.ideas textarea, form.ideas input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #cdbfa9; border-radius: 8px; background: #fffdf8; margin-bottom: 14px; }
form.ideas .row { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
form.ideas .small { font-size: .85rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 600px) { form.ideas .row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--card); color: var(--muted); font-size: .9rem; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 32px; }

@media (min-width: 860px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) {
  html { font-size: 17px; }
  nav a { margin-left: 0; margin-right: 16px; }
  .hero { padding-top: 32px; }
}
