/* Joyfull Sounds — flyer-inspired, mobile-first */
:root {
  --cream: #FAF6EC;
  --cream-deep: #F3EBD8;
  --paper: #FFFDF6;
  --navy: #1F2E4D;
  --navy-soft: #2A3C62;
  --olive: #3F5A36;
  --olive-soft: #4C6B42;
  --gold: #C9A227;
  --gold-deep: #B08E1C;
  --gold-soft: #E8D48A;
  --ink: #243046;
  --muted: #5A6754;
  --line: rgba(31, 46, 77, 0.12);
  --shadow: 0 10px 28px rgba(31, 46, 77, 0.08);
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", "Dancing Script", cursive;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.75rem;
  -webkit-text-size-adjust: 100%;
}

@font-face {
  font-family: "Noto Music";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("fonts/NotoMusic-Regular.woff2") format("woff2");
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 100%;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); }
a:hover { color: var(--navy); }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 40;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(250, 246, 236, 0.96);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--navy);
  white-space: nowrap;
}
.wordmark span { color: var(--olive); }

.nav-disclosure { position: relative; }
.nav-disclosure summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid rgba(201, 162, 39, 0.75);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
  line-height: 1.2;
}
.nav-disclosure summary::-webkit-details-marker { display: none; }
.nav-disclosure summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.nav-links {
  display: none;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-disclosure[open] .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 13.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
  z-index: 40;
}
.nav-disclosure[open] .nav-links a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--olive); }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}
.btn:hover, .btn:focus-visible {
  background: var(--gold-deep);
  color: var(--navy);
}
.btn:disabled { opacity: 0.65; cursor: wait; }

.header-cta { flex-shrink: 0; padding: 0.6rem 1.15rem; font-size: 0.98rem; }

/* Hero */
.hero {
  position: relative;
  padding: 0.35rem 0 3rem;
  overflow: visible;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.hero-photo {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  object-position: 12% 42%;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(250,246,236,0) 58%, var(--cream) 100%),
    linear-gradient(to right, rgba(250,246,236,0) 70%, var(--cream) 100%);
  pointer-events: none;
}

.callout {
  position: absolute;
  left: 1rem;
  bottom: 1.4rem;
  width: min(11.5rem, 46vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid rgba(201, 162, 39, 0.65);
  box-shadow: 0 8px 24px rgba(31, 46, 77, 0.12);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.1rem 0.85rem 0.9rem;
  z-index: 2;
}
.callout p {
  margin: 0;
  font-family: var(--font-script);
  color: var(--olive);
  font-size: clamp(1.05rem, 3.4vw, 1.28rem);
  line-height: 1.25;
}
.callout .heart {
  width: 16px;
  height: 16px;
  margin: 0.15rem auto 0;
}

.hero-copy {
  padding: 1.25rem 1rem 0.5rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

.script-line {
  font-family: var(--font-script);
  color: var(--olive);
  font-size: clamp(1.7rem, 5.4vw, 2.55rem);
  line-height: 1.5;
  margin: 0.15rem 0 0.35rem;
  padding-top: 0.4em;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  line-height: 0.9;
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand-joyful,
.brand-sounds {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(3.1rem, 13vw, 5.6rem);
}
.brand-joyful { color: var(--navy); }
.brand-sounds { color: var(--olive); margin-top: -0.08em; }

.clef {
  font-family: "Noto Music", "NotoMusic", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(5.4rem, 16.5vw, 8.4rem);
  line-height: 0.9;
  color: #C9A227;
  display: block;
  width: auto;
  height: auto;
  flex-shrink: 0;
  align-self: center;
  -webkit-font-smoothing: antialiased;
}

.hero-notes {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: -0.4rem 0.4rem 0.4rem auto;
  width: max-content;
  opacity: 0.95;
}
.hero-notes svg { width: 22px; height: 22px; }

.brush-banner {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0.85rem auto 1rem;
  width: min(100%, 34rem);
  min-height: 3.6rem;
  color: var(--navy);
}
.brush-banner--olive { color: var(--olive); }
.brush-banner__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: inherit;
}
.brush-banner__text {
  position: relative;
  z-index: 1;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 3.3vw, 1.35rem);
  text-align: center;
  padding: 0.85rem 1.4rem;
  line-height: 1.25;
}

.offer-line {
  color: var(--navy);
  font-weight: 600;
  margin: 0.35rem 0 0.2rem;
  font-size: clamp(1.02rem, 2.6vw, 1.2rem);
}
.meta-line {
  color: var(--olive);
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
}

/* Sections */
.section { padding: 3rem 0; }
.section-head {
  text-align: center;
  margin: 0 0 2rem;
}
.section-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  font-size: 1.15rem;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  padding: 0.2rem 0.8rem;
  margin: 0;
}

/* Classes */
.classes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.25rem;
  text-align: center;
}
.class-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.35rem;
  margin: 0.7rem 0 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.class-card p {
  margin: 0 auto;
  max-width: 22rem;
  color: var(--ink);
  font-size: 1.05rem;
}
.feature-icon {
  width: 150px;
  height: 168px;
  object-fit: contain;
  margin-inline: auto;
}
.icon-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 10.5rem;
}
.format-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.35rem;
  object-fit: contain;
}
.home-icon {
  width: 132px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 0.35rem;
}
.hero-photo picture,
.headshot-wrap picture,
.contact-person picture { display: contents; }

/* Formats */
.formats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.format-card, .rate-card, .discount-card, .home-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem 1.4rem;
  box-shadow: var(--shadow);
}
.format-card h3, .rate-card h3, .home-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}
.format-card p, .rate-card p, .home-card p { margin: 0; }

/* Homeschool band */
.homeschool {
  padding: 0 0 3rem;
}
.home-card {
  background: linear-gradient(180deg, #F7F3E6 0%, var(--paper) 100%);
  border-color: rgba(63, 90, 54, 0.22);
}

/* Teacher */
.teacher {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
.teacher-copy h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin: 0 0 0.7rem;
}
.teacher-copy p { margin: 0; }
.headshot-wrap {
  display: flex;
  justify-content: center;
}
.headshot {
  width: min(220px, 58vw);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: 22% 28%;
  border: 6px solid var(--cream);
  box-shadow: 0 0 0 3px var(--gold), var(--shadow);
}

/* Rates */
.rates-block { padding-top: 2.5rem; }
.rates-banner {
  width: min(16rem, 70%);
  margin: 0 auto 1.6rem;
  min-height: 3.2rem;
}
.rates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.rate-card { text-align: center; }
.rate-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: clamp(3.2rem, 12vw, 4.4rem);
  line-height: 1;
  margin: 0.35rem 0 0.15rem;
}
.rate-card .price span {
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-left: 0.35rem;
  max-width: 7.5rem;
  vertical-align: middle;
  line-height: 1.2;
}
.rate-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--olive);
  font-size: 0.95rem;
}
.rate-note {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
.discount-card {
  background: #F4EAC8;
  border-color: rgba(201, 162, 39, 0.45);
  text-align: center;
}
.discount-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  font-size: 1.25rem;
}
.discount-card p {
  margin: 0 auto;
  max-width: 28rem;
  font-family: var(--font-script);
  font-size: 1.7rem;
  line-height: 1.3;
  color: var(--olive);
}
.hearts {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.7rem;
}
.hearts svg { width: 18px; height: 16px; }

/* Contact */
.contact { padding-bottom: 3.4rem; }
.together-banner {
  width: min(28rem, 100%);
  margin: 0 auto 1.6rem;
  min-height: 3.8rem;
}
.together-banner .brush-banner__text {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 400;
  font-size: clamp(1.7rem, 5.4vw, 2.4rem);
  color: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}
.contact-copy h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  margin: 0 0 0.7rem;
  line-height: 1.2;
}
.contact-copy > p { margin: 0 0 1.1rem; }
.contact-person {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin: 1rem 0 1.1rem;
}
.contact-person img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 22% 28%;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.contact-person strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li { margin: 0.35rem 0; }
.contact-list a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.contact-list a:hover { color: var(--olive); }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}
.form-card label, .field-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin: 0.2rem 0 0.3rem;
  font-size: 0.98rem;
}
.req { color: var(--olive); }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(31, 46, 77, 0.25);
  border-radius: 10px;
  background: #FFFEFA;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.form-card textarea { min-height: 8rem; resize: vertical; }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}
.field-error, .form-error {
  color: #8B2E2E;
  font-size: 0.95rem;
  margin: -0.55rem 0 0.75rem;
}
.thank-you {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.35rem;
  text-align: center;
  padding: 1.5rem 0.5rem;
  margin: 0;
}
.form-status { color: var(--muted); margin: 0; }

/* Footer */
.site-footer {
  position: relative;
  background: #F3EDDC;
  color: var(--navy);
  text-align: center;
  padding: 2.4rem 1rem 1.6rem;
  overflow: hidden;
}
.footer-staff {
  position: absolute;
  left: 0;
  right: 0;
  top: 1.1rem;
  height: 64px;
  pointer-events: none;
  opacity: 0.35;
}
.footer-inner { position: relative; z-index: 1; }
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 2.8vw, 1.05rem);
  margin: 0 0 0.7rem;
  color: var(--navy);
}
.footer-copy {
  margin: 0;
  color: var(--olive);
  font-size: 0.98rem;
}

@media (min-width: 720px) {
  .nav-disclosure > summary { display: none; }
  .nav-disclosure::details-content {
    content-visibility: visible;
    display: contents;
  }
  .nav-disclosure .nav-links,
  .nav-disclosure[open] .nav-links {
    display: flex !important;
    flex-direction: row;
    position: static;
    min-width: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .nav-disclosure[open] .nav-links a,
  .nav-disclosure .nav-links a { padding: 0; }
  .classes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .formats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rates-grid { grid-template-columns: 1fr 1fr; }
  .discount-card { grid-column: 1 / -1; }
  .teacher { grid-template-columns: 220px 1fr; gap: 2rem; }
  .headshot-wrap { justify-content: flex-start; }
  .contact-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 2rem; }
}

@media (min-width: 960px) {
  .hero { padding-bottom: 3.5rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    min-height: 36rem;
    width: min(1240px, 100%);
    margin-inline: auto;
  }
  .hero-photo { min-height: 36rem; }
  .hero-photo img { min-height: 36rem; object-position: 10% 40%; }
  .hero-photo::after {
    background:
      linear-gradient(to right, rgba(250,246,236,0) 42%, rgba(250,246,236,0.55) 68%, var(--cream) 92%),
      linear-gradient(to bottom, rgba(250,246,236,0) 78%, var(--cream) 100%);
  }
  .hero-copy {
    text-align: left;
    padding: 5.5rem 1.5rem 3.25rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .brand { justify-content: flex-start; }
  .script-line { margin-top: 0; padding-top: 0.45em; }
  .hero-copy .brush-banner { margin-left: 0; }
  .callout {
    left: auto;
    right: 8%;
    bottom: 12%;
    width: 11.8rem;
  }
  .callout p { font-size: 1.32rem; }
  .classes-grid { grid-template-columns: 1.15fr 1fr 1fr 0.9fr; align-items: start; }
  .rates-grid { grid-template-columns: 1fr 1fr 0.95fr; }
  .discount-card { grid-column: auto; display: flex; flex-direction: column; justify-content: center; }
}

@media (max-width: 719px) {
  .header-cta { padding: 0.55rem 0.95rem; }
  .hero-photo { min-height: 20rem; }
  .hero-photo img { min-height: 20rem; object-position: 18% 40%; }
  .hero-copy { padding: 1.5rem 1rem 6.5rem; }
  .offer-line { font-size: 0.92rem; }
  .offer-next { display: block; }
  .offer-amp { display: none; }
  .callout { bottom: 0.6rem; }
}

#classes, #formats, #rates, #teacher, #contact, #homeschool, #top,
.guide-section {
  scroll-margin-top: 5.75rem;
}

h1.brand-text {
  margin: 0;
  font-weight: 700;
  line-height: 0.9;
}

.nav-links a[aria-current="page"] {
  color: var(--olive);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.home-card { text-align: center; }
.home-card p {
  max-width: 40rem;
  margin: 0.85rem auto 0;
}
.home-actions { margin-top: 1.15rem; }
.contact-note {
  margin: 0.2rem 0 0;
  color: var(--ink);
  font-size: 1rem;
}
.footer-links {
  margin: 0 0 0.45rem;
  font-weight: 600;
}
.footer-links a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
}
.footer-links a:hover { color: var(--olive); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.guide-hero {
  padding: 2.2rem 0 0.4rem;
  text-align: center;
}
.guide-hero h1 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(2.05rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0.35rem auto 0.75rem;
  max-width: 18ch;
}
.guide-lead {
  max-width: 42rem;
  margin: 0 auto 1rem;
  font-size: 1.12rem;
}
.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.2rem auto 0;
  max-width: 52rem;
}
.page-nav a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.95rem;
}
.page-nav a:hover,
.page-nav a:focus-visible {
  color: var(--olive);
  border-color: var(--gold);
}
.guide-section { padding: 2.15rem 0 0.2rem; }
.guide-section h2 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  margin: 0 0 0.7rem;
  line-height: 1.2;
}
.guide-section h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.32rem;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}
.guide-section p { margin: 0 0 0.85rem; }
.guide-section a { font-weight: 700; }
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0.3rem 0 0.4rem;
}
.guide-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.15rem 0.4rem;
  box-shadow: var(--shadow);
}
.icon-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.45rem;
}
.icon-row svg,
.icon-row .mini-icon { width: 52px; height: 52px; flex: 0 0 52px; object-fit: contain; }
.disclaimer {
  background: #F4EAC8;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 16px;
  padding: 0.95rem 1.1rem 0.2rem;
  margin: 0.4rem 0 0.6rem;
}
.table-wrap {
  overflow-x: auto;
  margin: 0.2rem 0 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.guide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 38rem;
  font-size: 0.98rem;
}
.guide-table caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.55rem 0.75rem 0.7rem;
}
.guide-table th {
  background: var(--navy);
  color: var(--cream);
  text-align: left;
  font-weight: 700;
  padding: 0.6rem 0.75rem;
}
.guide-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.guide-table tr:last-child td { border-bottom: 0; }
.checks { margin: 0 0 1rem; padding: 0; list-style: none; }
.checks li, .link-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.5rem 0;
}
.checks svg { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 0.18rem; }
.steps {
  list-style: none;
  margin: 0.3rem 0 0.4rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.steps > li {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem 0.35rem;
  box-shadow: var(--shadow);
}
.step-badge { width: 3rem; height: 3rem; display: block; }
.steps h3 { margin-top: 0.2rem; }
.link-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.guide-cta { text-align: center; padding: 1.4rem 0 2.6rem; }
.guide-cta p { margin-bottom: 1rem; }

@media (min-width: 800px) {
  .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .guide-grid.two { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 719px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .guide-table {
    min-width: 0;
    display: block;
  }
  .guide-table caption {
    display: block;
    padding: 0 0 0.7rem;
  }
  .guide-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .guide-table tbody { display: block; }
  .guide-table tr {
    display: block;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin: 0 0 0.75rem;
    padding: 0.55rem 0.85rem 0.7rem;
  }
  .guide-table th,
  .guide-table td {
    display: block;
    width: auto;
    border: 0;
    padding: 0.28rem 0;
    background: transparent;
    color: var(--ink);
  }
  .guide-table th[scope="row"] {
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 1.15rem;
    padding-bottom: 0.15rem;
  }
  .guide-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--olive);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
}
@media (max-width: 719px) {
  .wordmark { font-size: 1.05rem; }
  .site-header .wrap { gap: 0.4rem; }
  .header-cta { padding: 0.5rem 0.75rem; font-size: 0.92rem; }
}

/* Legal pages, subject field, and terms clickwrap. Uses the existing palette and fonts. */
.legal-doc { max-width: 46rem; margin: 0 auto; text-align: left; }
.legal-doc h1, .legal-doc h2, .legal-doc h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
}
.legal-doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 0.6rem; }
.legal-doc h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); margin: 1.6rem 0 0.5rem; }
.legal-doc h3 { font-size: 1.25rem; margin: 1.2rem 0 0.4rem; }
.legal-doc p, .legal-doc li { font-size: 1.05rem; }
.legal-doc ul { padding-left: 1.2rem; }
.legal-doc li { margin: 0.35rem 0; }
.legal-meta { color: var(--olive); font-weight: 700; margin: 0.15rem 0; }
.legal-tools { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0.8rem 0 0.2rem; }
.legal-tools a { font-weight: 700; color: var(--navy); text-decoration: underline; }
.terms-accept { margin: 0.15rem 0 0.85rem; }
.terms-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}
.form-card .terms-check input {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  margin: 0.2rem 0 0;
  padding: 0;
}
.terms-check a, .terms-notice a {
  font-weight: 700;
  text-decoration: underline;
  color: var(--navy);
}
.terms-notice { margin: 0.45rem 0 0; color: var(--ink); font-size: 0.98rem; }
@media print {
  .site-header, .site-footer, .skip-link, .legal-tools { display: none !important; }
  .legal-doc { max-width: none; }
}