/* FutureMakers brand tokens, verbatim from the live brand guide (brand.sh, guide build 4f5849b, 2026-08-31).
   Layout follows the kidsmakethingsbetter.com landing pages (redesign-2026-10-26/REFERENCE-PATTERNS.md). */
@font-face { font-family: Poppins; src: url(fonts/Poppins-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(fonts/Poppins-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url(fonts/Poppins-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url(fonts/Poppins-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --fm-yellow: #ffcc04; --fm-bright-yellow: #fbed21; --fm-orange: #f8971d; --fm-blue: #0085c9; --fm-green: #00ac4e;
  --fm-ink: #2d2926; --fm-soft-ink: #5b5753; --fm-line: #e5e1d8; --fm-paper: #fff8f0; --fm-white: #ffffff;
  --shadow-soft: 0 2px 0 rgba(45, 41, 38, 0.04);
  --shadow-raised-card: 0 10px 24px rgba(45, 41, 38, 0.06);
  --shell: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fm-white); color: var(--fm-ink); font-family: Poppins, Arial, sans-serif; font-size: 16px; line-height: 1.5; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--fm-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .shell { padding: 0 28px; } }
.center { text-align: center; }
.muted { color: var(--fm-soft-ink); }
.small { font-size: 14px; }
[id] { scroll-margin-top: 12px; }

h1, h2, h3, h4 { margin: 0; color: var(--fm-ink); letter-spacing: 0; text-transform: none; font-weight: 700; }
h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(28px, 2.6vw, 30px); line-height: 1.27; margin-bottom: 20px; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.4; }
h4 { font-size: 17px; line-height: 1.3; }
p { margin: 0 0 12px; }
/* the short orange rule under a section heading, as on the landing pages */
.rule::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 10px; background: var(--fm-orange); border-radius: 2px; }
.center.rule::after, .center .rule::after { margin-left: auto; margin-right: auto; }

/* header and footer */
.lp-header { background: var(--fm-bright-yellow); }
.lp-header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; min-height: 72px; }
.lp-header-row .logo { display: block; height: 43px; width: auto; }
.lp-header-cta { justify-self: end; min-height: 44px; padding: 11px 14px; font-size: 14px; white-space: nowrap; }
@media (max-width: 480px) { .lp-header-cta { padding: 8px; font-size: 11px; white-space: normal; text-align: center; line-height: 1.2; max-width: 128px; } .lp-header-row .logo { height: 34px; } }
.lp-center { text-align: center; }
.band--dark { background: rgb(54, 54, 54); color: var(--fm-white); }
.band--dark a { color: var(--fm-white); }
.site-footer { padding: 44px 0; }
.site-footer .logo { height: 44px; width: auto; margin: 0 auto 16px; }
.site-footer p { margin: 0 0 8px; }
.site-footer .small { opacity: 0.8; margin-top: 14px; }

.band { padding: 64px 0; }
.band--paper { background: var(--fm-paper); }
.band--gold { background: var(--fm-yellow); }
@media (max-width: 719px) { .band { padding: 44px 0; } }

/* buttons (guide: button-shop-cta = orange primary; button-secondary = white with blue text) */
.button-shop-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 13px 18px; border: 1px solid var(--fm-orange); border-radius: 12px; background: var(--fm-orange); color: var(--fm-white); font-size: 16px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.1; text-align: center; text-transform: uppercase; text-decoration: none; }
.button-shop-cta:hover, .button-shop-cta:focus-visible { box-shadow: 0 8px 20px rgba(248, 151, 29, 0.25); }
.cta-lg { min-height: 56px; padding: 18px 26px; font-size: 18px; }
.button-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 18px; border: 1px solid rgba(0, 133, 201, 0.3); border-radius: 12px; background: var(--fm-white); color: var(--fm-blue); font-size: 16px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.1; text-align: center; text-transform: uppercase; text-decoration: none; }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--fm-blue); color: var(--fm-white); border-color: var(--fm-blue); }
.btn-stack { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; }
.btn-stack--left { align-items: flex-start; }
@media (max-width: 719px) { .btn-stack, .btn-stack--left { align-items: stretch; } }

/* hero: text left, full-bleed media right with a white fade on its inner edge; on phones the media comes first */
.lp-hero { display: grid; background: var(--fm-white); }
.lp-hero-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fm-paper); }
.lp-hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, var(--fm-white), rgba(255, 255, 255, 0)); pointer-events: none; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-copy { padding: 8px 16px 44px; text-align: center; }
.lp-hero-copy p { font-size: 17px; max-width: 520px; margin: 18px auto 0; }
.lp-hero-copy .lp-hero-note { font-size: 14px; color: var(--fm-soft-ink); margin-top: 14px; }
@media (min-width: 900px) {
  .lp-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; }
  .lp-hero-media { order: 2; aspect-ratio: auto; }
  .lp-hero-media::after { inset: 0 auto 0 0; width: 26%; height: auto; background: linear-gradient(to right, var(--fm-white), rgba(255, 255, 255, 0)); }
  .lp-hero-copy { order: 1; align-self: center; padding: 48px 32px 48px max(28px, calc((100vw - var(--shell)) / 2 + 28px)); }
}

/* three-way chooser: photo tiles with the store type in white over a dark gradient (the /samples pattern) */
.chooser { display: grid; gap: 16px; }
@media (min-width: 760px) { .chooser { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .chooser-tile { aspect-ratio: 4 / 3; } }
.chooser-tile { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; color: var(--fm-white); text-decoration: none; background: var(--fm-ink); box-shadow: var(--shadow-raised-card); }
.chooser-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.chooser-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(45, 41, 38, 0.82) 0%, rgba(45, 41, 38, 0.35) 45%, rgba(45, 41, 38, 0) 70%); }
.chooser-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.chooser-text strong { font-size: 24px; line-height: 1.2; }
.chooser-text span { font-size: 15px; }
.chooser-go { margin-top: 6px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.chooser-tile:hover img, .chooser-tile:focus-visible img { transform: scale(1.04); }
.chooser-tile:focus-visible { outline: 3px solid var(--fm-orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .chooser-tile img { transition: none; } }

/* audience intro: big photo beside a short panel */
.audience { border-top: 1px solid var(--fm-line); }
.aud-intro-grid, .host-grid, .closing-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .aud-intro-grid, .host-grid, .closing-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
  .aud-intro--flip .aud-photo { order: 2; }
}
.aud-photo img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-raised-card); }
.aud-copy .lead { font-size: 18px; margin-bottom: 20px; }
.reasons { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.reasons li { position: relative; padding-left: 30px; }
.reasons li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 8px; height: 14px; border-right: 3px solid var(--fm-green); border-bottom: 3px solid var(--fm-green); transform: rotate(45deg); }
.reasons strong { display: block; }

/* galleries: grid on wide screens, a sideways swipe row on phones */
.gallery-title { font-size: clamp(22px, 2.2vw, 24px); line-height: 1.3; margin-bottom: 20px; }
.gallery { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-items: start; }
@media (max-width: 719px) {
  .gallery { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 18px; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; }
  .gallery > .tile { flex: 0 0 78%; scroll-snap-align: start; }
}
.tile { background: var(--fm-white); border: 1px solid rgba(45, 41, 38, 0.10); border-radius: 12px; box-shadow: var(--shadow-soft); overflow: hidden; }
.tile-body { padding: 14px 16px 6px; }
.tile h4 { margin-bottom: 4px; }
.tile-sub { color: var(--fm-soft-ink); font-size: 14px; margin: 0 0 8px; }
.chip { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 8px; background: var(--fm-yellow); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.5; }
.spark-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--fm-paper); }
.pair-media { display: grid; grid-template-columns: 1fr 1fr; height: 190px; background: var(--fm-paper); }
.pair-cover { display: flex; align-items: center; justify-content: center; padding: 14px; }
.pair-cover img { width: auto; height: auto; max-width: 100%; max-height: 162px; object-fit: contain; border-radius: 3px; box-shadow: 0 6px 14px rgba(45, 41, 38, 0.18); }
.pair-build { background: var(--fm-white); }
.pair-build img { width: 100%; height: 100%; object-fit: cover; }

.gallery-more { margin-top: 20px; }
.gallery-more > summary { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 12px 18px; border: 1px solid rgba(0, 133, 201, 0.3); border-radius: 12px; background: var(--fm-white); color: var(--fm-blue); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; list-style: none; margin-bottom: 20px; }
.gallery-more > summary::-webkit-details-marker { display: none; }
.gallery-more > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--fm-ink); border-bottom: 2px solid var(--fm-ink); transform: translateY(-2px) rotate(45deg); }
.gallery-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.gallery-more[open] > summary .when-closed, .gallery-more:not([open]) > summary .when-open { display: none; }
.gallery-more > summary:focus-visible { outline: 2px solid var(--fm-orange); outline-offset: 2px; }

/* disclosures (guide: CSS chevron in ink) */
.more { border-top: 1px solid var(--fm-line); margin: 4px -16px 0; padding: 0 16px; font-size: 14px; }
.more summary, .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 600; list-style: none; }
.more summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.more summary::after, .faq summary::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-right: 2px solid var(--fm-ink); border-bottom: 2px solid var(--fm-ink); transform: translateY(-2px) rotate(45deg); transition: transform 160ms ease; }
.more[open] summary::after, .faq[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.more summary:focus-visible, .faq summary:focus-visible { outline: 2px solid var(--fm-orange); outline-offset: 2px; }
.more ul { margin: 0 0 10px; padding-left: 18px; }
.more .meta { color: var(--fm-soft-ink); font-weight: 600; margin: 0 0 4px; }
.tile-links { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 14px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .more summary::after, .faq summary::after { transition: none; } }

/* feature cards: photo, bold caption, white card (the "What Sparks Include" pattern) */
.features { display: grid; gap: 32px; margin: 0 auto 28px; }
.features--two { max-width: 900px; }
@media (min-width: 720px) { .features--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
@media (min-width: 900px) { .features--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.feature { margin: 0; text-align: center; }
.feature img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 12px; }
.feature figcaption strong { display: block; font-size: 18px; margin: 14px 0 10px; }
.feature-card { display: block; padding: 16px 18px; background: var(--fm-white); border-radius: 14px; text-align: left; font-size: 15px; }
.feature--plain .step-text { display: block; font-size: 15px; max-width: 340px; margin: 0 auto; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; background: var(--fm-green); color: var(--fm-white); font-size: 15px; vertical-align: 1px; }

/* what you need to host */
.panel { background: var(--fm-white); border-radius: 14px; padding: 28px 24px; box-shadow: var(--shadow-raised-card); }
@media (min-width: 720px) { .panel { padding: 36px 40px; } }
.host-facts { margin: 0; font-size: 15px; }
.host-facts dt { font-weight: 700; padding-top: 12px; border-top: 1px solid var(--fm-line); }
.host-facts dt:first-child { border-top: 0; padding-top: 0; }
.host-facts dd { margin: 2px 0 12px; }
@media (min-width: 560px) {
  .host-facts { display: grid; grid-template-columns: 110px minmax(0, 1fr); column-gap: 18px; }
  .host-facts dt, .host-facts dd { margin: 0; padding: 12px 0; border-top: 1px solid var(--fm-line); }
  .host-facts dt:first-child, .host-facts dt:first-child + dd { border-top: 0; padding-top: 0; }
}

/* ages at a glance */
.age-row { margin-bottom: 22px; }
.age-row h3 { margin-bottom: 10px; }
.age-strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.age-thumb { display: block; text-decoration: none; color: var(--fm-ink); font-size: 14px; font-weight: 600; line-height: 1.3; }
.age-thumb img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--fm-line); margin-bottom: 6px; background: var(--fm-white); }
.age-thumb:hover span:first-of-type { color: var(--fm-blue); text-decoration: underline; }
.age-note { display: block; font-weight: 500; color: var(--fm-soft-ink); font-size: 13px; }

/* downloads */
.dl-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-bottom: 16px; }
.dl-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--fm-white); border: 1px solid rgba(45, 41, 38, 0.10); border-radius: 12px; text-decoration: none; color: var(--fm-ink); box-shadow: var(--shadow-soft); }
.dl-card img { width: 100%; height: auto; aspect-ratio: 17 / 22; object-fit: cover; object-position: top; border: 1px solid var(--fm-line); border-radius: 6px; margin-bottom: 8px; background: var(--fm-white); }
.dl-card strong { color: var(--fm-blue); text-decoration: underline; text-underline-offset: 2px; }
.dl-card span { font-size: 14px; color: var(--fm-soft-ink); }

/* FAQ: goldenrod bars (the co-op page pattern) */
.narrow-center { max-width: 820px; }
.faq { margin: 0 0 12px; border-radius: 12px; background: var(--fm-yellow); }
.faq summary { padding: 14px 20px; min-height: 56px; font-size: 16px; }
.faq-body { padding: 0 20px 14px; }
.faq-body p { margin: 0 0 10px; }
.faq-body a { color: var(--fm-ink); font-weight: 600; }

.closing h2 { margin-bottom: 12px; }

/* library page additions */
.btn-stack .button-shop-cta, .btn-stack .button-secondary { width: 100%; max-width: 360px; }
.btn-stack--left .button-shop-cta, .btn-stack--left .button-secondary { max-width: 320px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
@media (max-width: 719px) { .btn-row { flex-direction: column; } }
.lead { font-size: 18px; }
.narrow-lead { max-width: 760px; margin: 0 auto 28px; }
.theme-grid { display: grid; gap: 28px; margin-bottom: 28px; }
@media (min-width: 960px) { .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; } }
.theme-panel { background: var(--fm-white); border-radius: 14px; padding: 24px 20px; box-shadow: var(--shadow-raised-card); }
@media (min-width: 720px) { .theme-panel { padding: 30px 30px; } }
.theme-panel h3 { font-size: 22px; line-height: 1.3; margin-bottom: 6px; }
.theme-panel h3 a { color: var(--fm-ink); }
.theme-cards { display: grid; gap: 14px; margin-top: 16px; }
.theme-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px; border: 1px solid var(--fm-line); border-radius: 12px; text-decoration: none; color: var(--fm-ink); background: var(--fm-white); }
.theme-card:hover, .theme-card:focus-visible { border-color: var(--fm-blue); }
.theme-card img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.theme-card-text { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.theme-card-text strong { font-size: 16px; }
.tile-theme { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--fm-ink); }
.feature-link { display: block; margin-top: 10px; font-weight: 600; }
.feature--plain .feature-card { margin-top: 12px; font-size: 14px; }
.panel-grid { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 800px) { .panel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .panel-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panel-grid .panel h3 { margin-bottom: 8px; }
.panel.route { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.panel.route p { flex: 1 1 auto; }
.panel.route a { width: 100%; }
.price-note { margin: 10px 0 0; }
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px 20px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.link-grid a { font-weight: 600; }
.quote-grid { display: grid; gap: 22px; max-width: 1000px; margin: 0 auto 28px; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
.quote { margin: 0; padding: 24px 22px; background: var(--fm-paper); border-radius: 14px; border-left: 4px solid var(--fm-orange); display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-size: 15px; }
.quote blockquote p { margin: 0; }
.quote figcaption { display: flex; flex-direction: column; font-size: 14px; margin-top: auto; }
.iread-line { font-size: 18px; font-weight: 600; margin: 28px 0 20px; }
.band--quote { padding: 40px 0; }
.quote-card { max-width: 920px; margin: 0 auto; padding: 32px 36px; border-left: 4px solid var(--fm-orange); display: flex; flex-direction: column; gap: 22px; }
.quote-card blockquote { margin: 0; font-size: 20px; line-height: 1.5; }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { display: flex; align-items: center; gap: 20px; }
.quote-logo { flex: 0 0 auto; height: 104px; width: auto; max-width: 260px; object-fit: contain; }
.quote-by { display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; }
.quote-by strong { font-size: 16px; }
@media (max-width: 719px) { .band--quote { padding: 28px 0; } .quote-card { padding: 22px 18px; } .quote-card blockquote { font-size: 17px; } .quote-card figcaption { flex-direction: column; align-items: flex-start; gap: 12px; } .quote-logo { height: 84px; max-width: 240px; } }
.flyer-list { margin: 8px 0 24px; scroll-margin-top: 24px; }
.flyer-list h3 { margin: 0 0 6px; font-size: 22px; }
.flyer-list p { margin: 0 0 14px; }
.flyer-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.flyer-grid .button-secondary { width: 100%; font-size: 14px; }

.lp-hero-copy .lp-hero-sub { font-size: 20px; font-weight: 600; color: var(--fm-ink); margin-top: 14px; }
.res-free { margin: 32px 0 14px; font-size: 22px; }
#flyers > p { margin: 0 0 14px; }

.lp-hero-copy .lp-hero-themes { font-size: 15px; font-weight: 600; margin-top: 6px; }
.theme-group { margin-bottom: 36px; }
.theme-head { font-size: 22px; line-height: 1.3; margin: 0 0 4px; }
.theme-head a { color: var(--fm-ink); }
.theme-sub { margin: 0 0 10px; }
.theme-group .iread-line { margin: 8px 0 18px; font-size: 17px; }
.gallery-more > .theme-head { margin: 8px 0 14px; }
.gallery-more > .gallery { margin-bottom: 28px; }
.card-line { font-size: 14px; margin: 0 0 8px; }
.tile-book { font-size: 13px; color: var(--fm-soft-ink); margin: 0 0 8px; }
.worked-example { font-weight: 600; }

/* login gate (revision 3) */
.dl-card--preview { cursor: default; }
.dl-card--preview strong { color: var(--fm-ink); text-decoration: none; }
.dl-lock { margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--fm-ink); }
.dl-lock::before { content: ""; display: inline-block; width: 10px; height: 8px; margin-right: 6px; border-radius: 2px; background: var(--fm-ink); vertical-align: 0; }
.dl-button { margin-top: 8px; font-size: 14px; }
.member-hello { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0; }
.link-button { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 600; color: var(--fm-blue); text-decoration: underline; cursor: pointer; min-height: 44px; }
.gate-note { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--fm-yellow); font-weight: 600; }
[hidden] { display: none !important; }
#member-lists { margin-top: 8px; }

/* library signup cards (passwordless): one card at a time beside the preview cards */
.res-lay { display: grid; gap: 28px; align-items: start; margin-top: 24px; }
@media (min-width: 900px) { .res-lay { grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); } }
.res-right .res-free { margin-top: 0; }
.res-right .dl-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.su { background: var(--fm-white); border: 1px solid rgba(45, 41, 38, 0.10); border-radius: 14px; box-shadow: var(--shadow-raised-card); padding: 28px; animation: su-in 0.25s ease; }
@keyframes su-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .su { animation: none; } }
@media (max-width: 480px) { .su { padding: 22px 18px; } }
.su h3 { font-size: 22px; margin: 0 0 6px; }
.su h3:focus { outline: none; }
.su .sub { margin: 0 0 18px; color: var(--fm-soft-ink); }
.su-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.su label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.su input { width: 100%; font: 16px Poppins, Arial, sans-serif; color: var(--fm-ink); padding: 12px 14px; border: 1px solid #d9d4cb; border-radius: 10px; margin: 0 0 14px; background: var(--fm-white); }
.su input:focus-visible { outline: 3px solid var(--fm-blue); outline-offset: 1px; border-color: var(--fm-blue); }
.su input[aria-invalid="true"] { border-color: #c0392b; }
.su input.su-code { font-size: 28px; letter-spacing: 0.4em; text-align: center; padding-left: calc(14px + 0.4em); }
.su-go { width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--fm-orange); color: var(--fm-white); font: 700 16px Poppins, Arial, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: background 0.15s; }
.su-go:hover, .su-go:focus-visible { background: var(--fm-blue); }
.su-go:focus-visible { outline: 3px solid var(--fm-ink); outline-offset: 2px; }
.su-go:disabled { opacity: 0.65; cursor: progress; }
.su-small { font-size: 14px; margin: 14px 0 0; text-align: center; }
.su-small--left { text-align: left; }
.su-small .link-button { min-height: 0; padding: 2px 0; }
.su-msg { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: var(--fm-yellow); font-weight: 600; font-size: 14px; }
.su-msg .link-button { font-size: 14px; min-height: 0; padding: 0; margin-left: 4px; color: var(--fm-ink); }
.su-noscript { font-weight: 600; }

/* order section: three same-style buttons, orange, blue on hover and keyboard focus */
.panel.route { gap: 14px; }
.panel.route h3 { font-size: 20px; margin: 0; }
.panel.route p { margin: 0; }
.button-order { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 18px; border: 1px solid var(--fm-orange); border-radius: 12px; background: var(--fm-orange); color: var(--fm-white); font-size: 16px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.1; text-align: center; text-transform: uppercase; text-decoration: none; transition: background 0.15s, border-color 0.15s; }
.button-order:hover, .button-order:focus-visible { background: var(--fm-blue); border-color: var(--fm-blue); color: var(--fm-white); }
.button-order:focus-visible { outline: 3px solid var(--fm-ink); outline-offset: 2px; }
.tax-note { font-size: 20px; font-weight: 700; margin: 28px 0 0; }
