/* Piano and Keys School: ivory, ink navy and brass. Playfair Display for headings, Inter for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --soft: #EEF0F6;
  --ink: #141C31;
  --muted: #566079;
  --line: #E0E3EC;
  --line-strong: #BFC5D6;
  --brand: #1B2A49;
  --brand-hover: #101A31;
  --brand-ink: #FFFFFF;
  --brand-text: #1B2A49;
  --brass: #B8913A;
  --eyebrow: #8A6B22;
  --badge-bg: #B8913A;
  --badge-ink: #FFFFFF;
  --out-bg: #1B2A49;
  --out-ink: #F5F1E6;
  --out-accent: #E4C170;
  --out-btn: #E4C170;
  --out-btn-ink: #141C31;
  --head: "Playfair Display", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
  --btn-radius: 6px;
  --wrap: 1180px;
  --gap: 24px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
.btn { font-weight: 600; }
.eyebrow { letter-spacing: .14em; }
.ic { color: var(--brand); }

/* header: a keyboard strip over a quiet white bar */
.keys-top { background: var(--brand); height: 16px; overflow: hidden; }
.key-strip { width: 100%; height: 16px; display: block; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header > .wrap { min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: grid; line-height: 1.1; }
.logo b { font: 700 1.3rem var(--head); color: var(--brand); }
.logo small { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { margin-inline: auto; }
.nav a { font-weight: 500; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { background: var(--brand); color: #fff; }
@media (max-width: 960px) { .nav { margin-inline: 0; } .nav-open .nav a[aria-current="page"] { background: var(--soft); color: var(--brand); } }

/* hero: text over a long keyboard */
.hero { padding-block: clamp(36px, 6vw, 80px) 0; background: linear-gradient(180deg, #fff, var(--soft)); }
.hero-stack { display: grid; gap: clamp(28px, 5vw, 56px); }
.hero h1 { max-width: 16ch; margin: 12px 0 16px; }
.hero .t-actions { margin-top: 24px; }
.hero-keys { margin-inline: calc(50% - 50vw); padding-inline: 16px; overflow: hidden; }
.hero-keys svg { display: block; width: min(100%, 620px); height: auto; margin-inline: auto; }
.trust-band { padding-block: 40px 0; }
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust li { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: 6px; font-weight: 600; }
.c-card { border-top: 4px solid var(--brand); }
.c-body h3 { font-size: 1.3rem; }
.c-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.road-band { background: var(--soft); }
.road { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: r; }
@media (max-width: 760px) { .road { grid-template-columns: minmax(0, 1fr); } }
.road li { counter-increment: r; position: relative; display: grid; gap: 4px; padding: 26px 24px 26px 64px; background: #fff; border: 1px solid var(--line); margin: 0 -1px -1px 0; }
.road li::before { content: counter(r); position: absolute; left: 20px; top: 24px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 700; }
.road b { font: 700 1.3rem var(--head); }
.road span { color: var(--muted); }
.road em { font-style: normal; font-weight: 700; color: var(--eyebrow); }
.quotes-band { background: #fff; border-top: 1px solid var(--line); }

/* inner pages and planner */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 44px); }
.numbers-band { background: var(--brand); color: #fff; }
.numbers b { color: #E4C170; }
.numbers span { color: #C9D1E6; }
.out-text { font-size: clamp(2.2rem, 4.6vw, 3rem); }
.road-out { list-style: none; display: grid; gap: 6px; }
.road-out li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 12px; border-left: 3px solid #E4C170; background: rgba(255,255,255,.08); font-size: .92rem; }
.split-band { background: #fff; border-top: 1px solid var(--line); }
.split-chips { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.split-chips li { display: grid; gap: 2px; padding: 16px; border-radius: 8px; background: var(--soft); }
.split-chips b { font: 700 1.8rem var(--head); color: var(--brand); }
.cta-band { padding-block: clamp(44px, 6vw, 76px); background: var(--brand); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 6px; color: #C9D1E6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #E4C170; color: #141C31; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.footer { background: #101A31; color: #C9D1E6; --footer-line: rgba(255,255,255,.14); }
.footer .logo b, .footer h2 { color: #fff; }
.footer .logo small { color: #C9D1E6; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #E4C170; }
