/* Print 'n Teach — soft, whimsical pastel theme */
:root {
  --bg: #fdf8fd;
  --white: #ffffff;
  --ink: #4a4170;
  --ink-soft: #7a719f;
  --pink: #f7b6d2;
  --pink-l: #fde6f1;
  --pink-d: #d8649f;
  --lav: #cdbff5;
  --lav-l: #efe9fe;
  --lav-d: #7d67cf;
  --mint: #b5ead7;
  --mint-l: #e3f8f0;
  --mint-d: #3e9f7f;
  --sky: #bfe3fb;
  --sky-l: #e6f4fe;
  --sky-d: #4b95cc;
  --radius: 28px;
  --shadow: 0 10px 30px rgba(125, 103, 207, 0.12);
  --shadow-lg: 0 20px 50px rgba(125, 103, 207, 0.18);
  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 18%, rgba(247, 182, 210, 0.25) 0 120px, transparent 121px),
    radial-gradient(circle at 88% 8%, rgba(191, 227, 251, 0.35) 0 160px, transparent 161px),
    radial-gradient(rgba(205, 191, 245, 0.35) 1.5px, transparent 1.5px);
  background-size: auto, auto, 26px 26px;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--lav-d);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
}

:focus-visible {
  outline: 3px dashed var(--lav-d);
  outline-offset: 3px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 253, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 2px dashed var(--lav);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--ink);
}

.logo svg {
  width: 46px;
  height: 46px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover svg {
  transform: rotate(-10deg) scale(1.08);
}

.logo .amp {
  color: var(--pink-d);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  transition: background 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  background: var(--lav-l);
}

.nav-links .btn {
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--lav-l);
  border-radius: 16px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  color: var(--ink);
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  text-decoration: none;
  cursor: pointer;
  color: var(--white);
  background: linear-gradient(135deg, #e889bb, var(--lav-d));
  box-shadow: 0 6px 0 #c9b6f3, 0 12px 24px rgba(125, 103, 207, 0.25);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 9px 0 #c9b6f3, 0 18px 30px rgba(125, 103, 207, 0.3);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #c9b6f3;
}

.btn-soft {
  background: var(--white);
  color: var(--lav-d);
  box-shadow: 0 6px 0 var(--lav), 0 12px 24px rgba(125, 103, 207, 0.12);
}

.btn-soft:hover {
  box-shadow: 0 9px 0 var(--lav), 0 18px 30px rgba(125, 103, 207, 0.18);
}

.btn-mint {
  background: linear-gradient(135deg, #6fcfab, var(--sky-d));
  box-shadow: 0 6px 0 #a6dfcb, 0 12px 24px rgba(62, 159, 127, 0.25);
}

.btn-mint:hover {
  box-shadow: 0 9px 0 #a6dfcb, 0 18px 30px rgba(62, 159, 127, 0.3);
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.98rem;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 4.5rem 0 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 500;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: var(--mint-l);
  color: var(--mint-d);
  margin-bottom: 1rem;
}

.hero h1 .squiggle {
  position: relative;
  color: var(--pink-d);
  white-space: nowrap;
}

.hero h1 .squiggle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 0.35em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 Q 17 0 32 8 T 62 8 T 92 8 T 118 6' fill='none' stroke='%23cdbff5' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}

.hero p.lead {
  font-size: 1.22rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
  padding: 0;
  list-style: none;
  font-weight: 700;
  color: var(--ink-soft);
}

.hero-badges li::before {
  content: '♡ ';
  color: var(--pink-d);
}

.hero-art {
  position: relative;
  aspect-ratio: 1;
}

.hero-sheet {
  position: absolute;
  width: 62%;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-sheet svg {
  display: block;
}

.hero-sheet:nth-child(1) {
  left: 2%;
  top: 8%;
  transform: rotate(-9deg);
}

.hero-sheet:nth-child(2) {
  right: 2%;
  top: 2%;
  transform: rotate(7deg);
}

.hero-sheet:nth-child(3) {
  left: 20%;
  top: 22%;
  transform: rotate(-1deg);
  z-index: 2;
}

.hero-art:hover .hero-sheet:nth-child(1) {
  transform: rotate(-14deg) translateX(-12px);
}

.hero-art:hover .hero-sheet:nth-child(2) {
  transform: rotate(12deg) translateX(12px);
}

.float {
  position: absolute;
  pointer-events: none;
  animation: bob 6s ease-in-out infinite;
}

.float.delay {
  animation-delay: -3s;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-14px) rotate(4deg);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    max-width: 460px;
    margin-inline: auto;
    width: 100%;
  }
}

/* ---------- waves & sections ---------- */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-tint {
  background: var(--lav-l);
}

.section-mint {
  background: var(--mint-l);
}

.section-pink {
  background: var(--pink-l);
}

.wave {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: -1px;
}

.wave.flip {
  transform: rotate(180deg);
  margin-top: -1px;
  margin-bottom: 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

/* ---------- subject tiles ---------- */
.subjects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.2rem;
}

.subject-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.6rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 3px solid transparent;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s;
}

.subject-tile:hover {
  transform: translateY(-6px) rotate(-1.5deg);
  border-color: var(--lav);
}

.subject-tile .emoji {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  font-size: 2rem;
  border-radius: 50%;
  background: var(--pink-l);
}

.subject-tile:nth-child(4n + 2) .emoji {
  background: var(--lav-l);
}

.subject-tile:nth-child(4n + 3) .emoji {
  background: var(--mint-l);
}

.subject-tile:nth-child(4n + 4) .emoji {
  background: var(--sky-l);
}

.subject-tile strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
}

.subject-tile span.count {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- worksheet cards ---------- */
.ws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.6rem;
}

.ws-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.ws-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ws-thumb {
  position: relative;
  background: var(--lav-l);
  padding: 1.1rem 1.1rem 0;
}

.ws-card:nth-child(4n + 2) .ws-thumb {
  background: var(--pink-l);
}

.ws-card:nth-child(4n + 3) .ws-thumb {
  background: var(--mint-l);
}

.ws-card:nth-child(4n + 4) .ws-thumb {
  background: var(--sky-l);
}

.ws-thumb .paper {
  aspect-ratio: 850 / 1100;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 -2px 18px rgba(125, 103, 207, 0.12);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ws-card:hover .paper {
  transform: translateY(-6px) rotate(-1.5deg);
}

.ws-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ws-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--mint);
  color: #1f6b52;
  box-shadow: 0 3px 10px rgba(62, 159, 127, 0.2);
}

.ws-body {
  padding: 1.1rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.ws-body h3 {
  font-size: 1.15rem;
  margin: 0;
}

.ws-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: var(--lav-l);
  color: var(--lav-d);
}

.tag.subject {
  background: var(--sky-l);
  color: var(--sky-d);
}

/* ---------- library filters ---------- */
.page-hero {
  text-align: center;
  padding: 4rem 0 2rem;
}

.page-hero p {
  color: var(--ink-soft);
  font-size: 1.15rem;
  max-width: 600px;
  margin-inline: auto;
}

.filters {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  margin-bottom: 2rem;
  display: grid;
  gap: 1rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.filter-row .label {
  font-family: var(--font-head);
  font-weight: 600;
  margin-right: 0.4rem;
}

.chip {
  border: 2px solid var(--lav-l);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--lav);
}

.chip[aria-pressed='true'] {
  background: var(--lav-d);
  border-color: var(--lav-d);
  color: var(--white);
}

.search {
  position: relative;
}

.search input {
  width: 100%;
  padding: 0.85rem 1.2rem 0.85rem 3rem;
  border-radius: 999px;
  border: 2px solid var(--lav-l);
  background: var(--bg);
  font: inherit;
  color: var(--ink);
}

.search svg {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  translate: 0 -50%;
  width: 20px;
  color: var(--ink-soft);
}

.results-count {
  color: var(--ink-soft);
  font-weight: 700;
  margin-bottom: 1rem;
}

.empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-soft);
}

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem 1.6rem 1.6rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -22px;
  left: 50%;
  translate: -50% 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--white);
  background: var(--pink-d);
  border-radius: 50%;
  border: 4px solid var(--white);
}

.step:nth-child(2)::before {
  background: var(--lav-d);
}

.step:nth-child(3)::before {
  background: var(--mint-d);
}

.step .big-emoji {
  font-size: 2.6rem;
}

/* ---------- membership ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
  align-items: stretch;
}

.plan {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border: 3px solid transparent;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plan:hover {
  transform: translateY(-6px);
}

.plan.featured {
  border-color: var(--pink);
  box-shadow: var(--shadow-lg);
}

.plan .ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
  background: var(--pink-d);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 1rem;
  border-radius: 999px;
}

.plan .plan-icon {
  font-size: 2.4rem;
}

.plan .price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  margin: 0.4rem 0 0.2rem;
}

.plan .price small {
  font-size: 1rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  gap: 0.55rem;
}

.plan li {
  padding-left: 1.7rem;
  position: relative;
}

.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231f6b52' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

.plan .btn {
  margin-top: auto;
}

.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.perk {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.perk .big-emoji {
  font-size: 2rem;
}

.perk h3 {
  font-size: 1.15rem;
  margin: 0.4rem 0;
}

.perk p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.quote {
  background: var(--white);
  border-radius: var(--radius) var(--radius) var(--radius) 6px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  margin: 0;
}

.quote p {
  font-size: 1.05rem;
}

.quote footer {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--lav-d);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, var(--pink-l), var(--lav-l) 50%, var(--sky-l));
  border-radius: 40px;
  padding: 3.5rem 2rem;
  box-shadow: var(--shadow);
}

.cta-banner p {
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 auto 1.6rem;
  font-size: 1.12rem;
}

/* ---------- forms ---------- */
.form-card {
  background: var(--white);
  border-radius: 34px;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.2rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field label,
.field legend {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.field .hint {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 18px;
  border: 2px solid var(--lav-l);
  background: var(--bg);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lav);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--lav-l);
}

fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.7rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.choice span {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  border: 2px solid var(--lav-l);
  background: var(--bg);
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
}

.choice span small {
  display: block;
  font-weight: 600;
  color: var(--ink-soft);
}

.choice input:checked + span {
  border-color: var(--pink-d);
  background: var(--pink-l);
}

.choice input:focus-visible + span {
  outline: 3px dashed var(--lav-d);
  outline-offset: 2px;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checks label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--lav-l);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.checks input {
  accent-color: var(--lav-d);
}

.hidden-field {
  display: none;
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: 22px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}

.contact-list .big-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq details {
  background: var(--white);
  border-radius: 22px;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--pink-d);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.25s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
}

/* ---------- newsletter ---------- */
.newsletter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  max-width: 520px;
  margin-inline: auto;
}

.newsletter input[type='email'] {
  flex: 1 1 240px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 2px solid var(--white);
  font: inherit;
  color: var(--ink);
}

/* ---------- worksheet viewer ---------- */
.viewer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}

@media (max-width: 900px) {
  .viewer {
    grid-template-columns: 1fr;
  }
}

.sheet-wrap {
  background: var(--lav-l);
  padding: clamp(1rem, 3vw, 2.2rem);
  border-radius: 34px;
}

.sheet {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 720px;
  margin-inline: auto;
}

.sheet svg {
  display: block;
  width: 100%;
  height: auto;
}

.viewer-side {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1.2rem;
}

.side-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.side-card h1 {
  font-size: 1.8rem;
}

.side-card .btn {
  width: 100%;
  margin-top: 0.8rem;
}

.breadcrumbs {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding-top: 1.5rem;
}

.breadcrumbs a {
  text-decoration: none;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--lav-l);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  font-size: 1.1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--pink-d);
}

.footer-bottom {
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed var(--lav);
}

/* ---------- thank you ---------- */
.thanks {
  text-align: center;
  padding: 6rem 0;
  max-width: 620px;
  margin-inline: auto;
}

.thanks .big-emoji {
  font-size: 4.5rem;
  display: inline-block;
  animation: bob 4s ease-in-out infinite;
}

.center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- print: only the worksheet ---------- */
@page {
  size: letter;
  margin: 0.25in;
}

@media print {
  body {
    background: none;
  }

  body > *:not(main),
  .no-print,
  .viewer-side,
  .breadcrumbs,
  .related {
    display: none !important;
  }

  .viewer {
    display: block;
    padding: 0;
  }

  .sheet-wrap {
    background: none;
    padding: 0;
  }

  .sheet {
    box-shadow: none;
    border-radius: 0;
    max-width: none;
    width: 100%;
  }

  .sheet svg {
    height: 10.4in;
    width: auto;
    margin: 0 auto;
  }
}
