@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --white: #FFFFFF;
  --green: #0DAF60;
  --red: #E94435;
  --ink: #222222;
  --muted: #595F5B;
  --soft: #F7F8F7;
  --line: #E5E8E6;
  --green-line: #B6E7CF;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: Montserrat, Arial, sans-serif; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
img { max-width: 100%; height: auto; }
p { line-height: 1.85; color: var(--muted); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 90px; }
.brand { flex-shrink: 0; font-weight: 800; text-decoration: none; letter-spacing: -.055em; color: var(--ink); font-size: 1.15rem; line-height: 1.08; }
.brand small { display: block; letter-spacing: .18em; font-size: .58rem; font-weight: 700; color: var(--green); margin-top: 8px; }
.nav-links { display: flex; gap: 23px; align-items: center; }
.nav-links a { text-decoration: none; font-size: .79rem; font-weight: 700; color: var(--ink); padding-block: 12px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a[aria-current=page] { color: var(--green); border-bottom-color: var(--green); }
.nav-links .nav-cta { background: var(--green); color: var(--ink); padding: 13px 18px; border-radius: 12px; }
.menu-toggle { display: none; min-height: 44px; border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 12px; padding: 10px 14px; cursor: pointer; }
.header-flag { flex-shrink: 0; font-size: 3rem; line-height: 1; }
.nav .nav-links { margin-left: auto; }
.nav .menu-toggle { margin-left: auto; }
.hero { background: var(--white); padding: 88px 0 72px; }
.hero-grid, .split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-grid > *, .split > *, .grid2 > *, .grid3 > *, .kit-shell > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 99px; padding: 10px 15px; font-size: .69rem; font-weight: 800; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--red); }
h1, h2, h3 { color: var(--ink); letter-spacing: -.045em; line-height: 1.16; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 24px 0; }
h2 { font-size: clamp(1.9rem, 3.3vw, 2.85rem); margin: 0 0 18px; }
h3 { font-size: 1.2rem; margin: 0 0 12px; line-height: 1.35; }
.lead { font-size: 1.1rem; max-width: 640px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
/* Charcoal labels maintain readable contrast on the exact brand green. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; background: var(--green); color: var(--ink); text-align: center; text-decoration: none; font-weight: 800; font-size: .83rem; line-height: 1.5; padding: 15px 23px; border-radius: 13px; border: 2px solid var(--green); transition: transform .2s, box-shadow .2s, border-color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 18px #0DAF6026; }
.btn-outline { background: var(--white); color: var(--ink); border: 1px solid var(--green-line); }
.btn-outline:hover { border-color: var(--green); }
.hero-art { position: relative; padding: 18px; }
.hero-art::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--green-line); border-radius: 32px; transform: rotate(-3deg); }
.hero-art::after { content: ''; position: absolute; width: 38px; height: 5px; background: var(--red); right: 2px; bottom: 5px; border-radius: 99px; transform: rotate(-35deg); }
.hero-art img { position: relative; display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px #2222220A; }
.section { padding: 76px 0; background: var(--white); }
/* Alternate sections stay white to keep the overall canvas predominantly white. */
.section-soft, .section-sage { background: var(--white); border-top: 1px solid var(--line); }
.center { text-align: center; }
.section-head { max-width: 740px; margin: 0 auto 38px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--green-line); box-shadow: 0 8px 24px #22222206; }
.card p { margin-bottom: 0; }
.card .emoji { display: inline-flex; background: var(--soft); color: var(--green); border: 1px solid var(--line); width: 52px; height: 52px; border-radius: 16px; align-items: center; justify-content: center; font-size: 1.55rem; margin-bottom: 22px; }
.statbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; text-align: center; }
.stat strong { display: block; font-size: 2.6rem; font-weight: 800; color: var(--green); margin-bottom: 7px; }
.stat span { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.preview { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.preview-card { background: var(--white); padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.preview-card:hover { border-color: #EFB9B3; box-shadow: 0 8px 24px #22222206; }
.preview-card img { width: 100%; display: block; border-radius: 12px; border: 1px solid var(--line); }
.preview-card h3 { margin: 20px 8px 5px; font-size: 1rem; }
.preview-card p { margin: 0 8px 10px; font-size: .82rem; }
.pill { display: inline-block; background: var(--white); color: var(--ink); border: 1px solid var(--green-line); border-radius: 99px; padding: 8px 13px; font-size: .72rem; font-weight: 800; line-height: 1.5; }
.list { list-style: none; padding: 0; }
.list li { padding: 9px 0 9px 28px; position: relative; color: var(--muted); line-height: 1.65; }
.list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.pricing { max-width: 660px; margin: auto; background: var(--white); border: 1px solid var(--green-line); border-top: 4px solid var(--green); border-radius: 26px; padding: 46px; box-shadow: 0 12px 40px #22222206; }
.price { font-size: 4rem; letter-spacing: -.07em; font-weight: 800; color: var(--ink); margin: 18px 0 0; }
.faq { max-width: 780px; margin: 30px auto; }
.faq details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 700; cursor: pointer; line-height: 1.6; }
.faq summary::marker { color: var(--green); }
.faq details[open] summary { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 5px; }
.faq p { margin-bottom: 0; }
.banner { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 26px; padding: 54px 36px; color: var(--ink); }
.banner::before { content: ''; display: block; width: 40px; height: 4px; background: var(--red); border-radius: 99px; margin: 0 auto 24px; }
.banner p { max-width: 650px; margin-inline: auto; }
.banner .btn { margin-top: 12px; }
.footer { background: var(--white); color: var(--ink); padding: 42px 0; border-top: 1px solid var(--line); }
.footer strong { font-size: .9rem; letter-spacing: -.025em; }
.footer a { color: var(--ink); text-decoration: none; padding-block: 12px; }
.footer a:hover { color: var(--green); text-decoration: underline; }
.footer p { color: var(--muted); font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer .footer-logo { display: block; flex-shrink: 0; padding: 0; }
.footer-logo img { display: block; width: 76px; height: 76px; object-fit: contain; }
.footer-flag { flex-shrink: 0; margin-left: auto; align-self: center; font-size: 3rem; line-height: 1; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-size: .8rem; }
.note { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.mini-tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; color: var(--ink); margin-bottom: 14px; border-left: 3px solid var(--green); padding-left: 11px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.photo-grid img { width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 18px 22px; background: var(--soft); border-radius: 0 12px 12px 0; line-height: 1.8; }
.course-link { display: block; color: var(--ink); text-decoration: none; }
.course-link:hover { transform: translateY(-4px); text-decoration: none; border-color: var(--green); }
.course-link img { width: 100%; border-radius: 14px; aspect-ratio: 1.3; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.course-link .pill { margin-top: 22px; }
.about-avatar { width: 100%; min-height: 360px; border-radius: 24px; border: 1px solid var(--line); background: var(--soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.2rem; text-align: center; padding: 28px; }
.sample-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sample-images img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }

/* Keep the existing Kit embed and scope brand styling to its signup panel. */
.kit-signup { background: var(--white); }
.kit-shell { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 5vw, 58px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.kit-shell h2 { color: var(--ink); font-size: clamp(1.9rem, 4vw, 3rem); margin: 18px 0; }
.kit-shell p { color: var(--muted); }
.kit-shell .kit-note { font-size: .85rem; }
.kit-form-panel { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 22px; min-height: 130px; min-width: 0; }
.kit-form-panel .formkit-form { width: 100% !important; max-width: 100% !important; min-width: 0 !important; margin: 0 !important; background: var(--white) !important; border-color: var(--line) !important; border-radius: 12px !important; font-family: Montserrat, Arial, sans-serif !important; }
.kit-form-panel input[type=email], .kit-form-panel input[type=text] { width: 100%; min-width: 0; min-height: 48px; color: var(--ink) !important; background: var(--white) !important; border: 1px solid var(--line) !important; border-radius: 10px !important; font-size: 16px !important; }
.kit-form-panel button { min-height: 48px; background: var(--green) !important; color: var(--ink) !important; border-radius: 10px !important; font-weight: 800 !important; white-space: normal; }
.kit-form-panel button > span { color: inherit !important; background: transparent !important; }
.kit-form-panel a { color: var(--green) !important; }

@media (max-width: 1000px) {
  .nav-links { gap: 15px; }
  .nav-links a { font-size: .74rem; }
  .hero-grid, .split { gap: 38px; }
}
@media (max-width: 850px) {
  .nav { min-height: 82px; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-art { width: min(100%, 560px); margin-inline: auto; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 54px 0; }
  .section { padding: 58px 0; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 24px 24px; flex-direction: column; gap: 4px; align-items: stretch; max-height: calc(100dvh - 82px); overflow-y: auto; box-shadow: 0 12px 20px #22222208; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; min-height: 46px; font-size: .88rem; border-radius: 8px; }
  .nav-links a[aria-current=page] { background: var(--soft); }
}
@media (max-width: 720px) {
  .kit-shell { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .kit-form-panel { padding: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 32px); }
  .grid2, .grid3, .statbar { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 40px 0 46px; }
  .hero-art { padding: 12px; }
  h1 { font-size: clamp(2.25rem, 9vw, 2.9rem); }
  .lead { font-size: 1rem; }
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 28px; }
  .card { padding: 24px; }
  .pricing { padding: 30px 22px; }
  .banner { padding: 36px 22px; }
  .actions .btn { width: 100%; }
  .btn { max-width: 100%; }
  .stat { padding: 20px; }
  .stat strong { font-size: 2.2rem; }
  .footer-links { gap: 8px 20px; }
  .about-avatar { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:hover, .course-link:hover { transform: none; }
}

/* Original brand artwork, paired with a readable name at smaller sizes. */
.brand { display: inline-flex; align-items: center; gap: 12px; padding-block: 7px; }
.brand-logo { display: block; width: 76px; height: 76px; object-fit: contain; flex-shrink: 0; }
@media (min-width: 851px) and (max-width: 1100px) {
  .brand { font-size: .95rem; gap: 8px; }
  .brand-logo { width: 60px; height: 60px; }
  .nav-links { gap: 12px; }
}
@media (max-width: 850px) {
  .brand-logo { width: 64px; height: 64px; }
}
@media (max-width: 380px) {
  .brand { font-size: .9rem; gap: 8px; }
  .brand small { font-size: .5rem; }
  .brand-logo { width: 54px; height: 54px; }
  .nav { gap: 10px; }
  .menu-toggle { padding-inline: 10px; }
}

/* Homepage portrait cutout sits directly on the white page. */
.hero-portrait { padding: 0; align-self: end; }
.hero-portrait::before, .hero-portrait::after { content: none; }
.hero-portrait img { display: block; width: auto; max-width: 100%; max-height: 580px; margin-inline: auto; object-fit: contain; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 850px) {
  .hero-portrait img { max-height: 480px; }
}
@media (max-width: 580px) {
  .hero-portrait img { max-height: 400px; }
}

/* The portrait meets the full-width green journey banner. */
.home-hero { padding-bottom: 0; }
.home-hero .hero-grid { align-items: end; }
.home-hero .hero-grid > :first-child { align-self: center; padding-bottom: 48px; }
.journey-banner { background: #0DAF60; padding: 38px 0; text-align: center; }
.journey-banner h2 { margin: 0; color: var(--ink); font-size: clamp(1.65rem, 3.2vw, 2.65rem); line-height: 1.3; }
@media (max-width: 850px) {
  .home-hero .hero-grid > :first-child { padding-bottom: 0; }
}
@media (max-width: 580px) {
  .journey-banner { padding: 30px 0; }
}

.journey-banner h2 { color: #FFFFFF; }
.course-choices .course-link { height: 100%; }
.course-choices .course-link:focus-visible { border-color: var(--green); }

.course-choice { display: flex; flex-direction: column; gap: 16px; }
.course-choice-title { margin: 0; font-size: clamp(1.4rem, 2.5vw, 1.85rem); text-align: center; }
.course-choices .course-link { height: auto; flex: 1; }
.book-preview { display: grid; place-items: center; min-height: 240px; padding: 24px; background: var(--soft); border-radius: 14px; }
.book-cover { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; width: min(100%, 210px); min-height: 260px; padding: 24px 20px; color: var(--white); background: var(--green); border-left: 8px solid #087c44; border-radius: 3px 12px 12px 3px; box-shadow: 8px 10px 0 #22222218; }
.book-cover span { font-size: .7rem; font-weight: 700; letter-spacing: .06em; }
.book-cover strong { font-size: 1.7rem; line-height: 1.2; }
.book-preview-large { min-height: 400px; }
.book-preview .book-cover-image { display: block; width: auto; max-width: 100%; height: 280px; object-fit: contain; border-radius: 3px; box-shadow: 6px 8px 18px #22222220; }
.book-preview-large .book-cover-image { height: auto; max-height: 560px; }

.social-section { border-top: 1px solid var(--line); }
.social-section h2 { max-width: 820px; margin: 0 auto 30px; font-size: clamp(1.5rem, 3vw, 2.3rem); }
.social-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.social-buttons .btn { min-width: 150px; }
.social-buttons .btn:disabled { cursor: default; opacity: .7; transform: none; box-shadow: none; }
@media (max-width: 580px) {
  .social-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-buttons .btn { width: 100%; min-width: 0; padding-inline: 12px; }
}

.social-icon { width: 22px; height: 22px; flex: 0 0 22px; fill: currentColor; color: var(--green); }
.social-icon-heart { color: var(--red); }
.social-icon-tiktok { color: var(--ink); }

/* Decorative reactions sit around the social content, outside the buttons. */
.social-section { position: relative; overflow: hidden; padding-block: 100px; }
.social-section > .wrap { position: relative; z-index: 1; }
.social-section h2 { max-width: 740px; }
.social-confetti { position: absolute; inset: 0; pointer-events: none; }
.social-sticker { position: absolute; width: 44px; height: 44px; }
img.social-sticker { height: auto; aspect-ratio: 1; object-fit: contain; scale: 1.2; }
.social-sticker-1 { top: 18px; left: 5%; transform: rotate(-15deg); }
.social-sticker-2 { top: 24px; left: 32%; width: 32px; transform: rotate(10deg); }
.social-sticker-3 { top: 16px; right: 8%; transform: rotate(12deg); }
.social-sticker-4 { top: 44%; right: 2%; width: 32px; transform: rotate(16deg); }
.social-sticker-5 { bottom: 20px; left: 9%; transform: rotate(-12deg); }
.social-sticker-6 { top: 44%; left: 2%; width: 34px; transform: rotate(-12deg); }
.social-sticker-7 { bottom: 15px; left: 44%; width: 34px; transform: rotate(10deg); }
.social-sticker-8 { bottom: 18px; right: 7%; transform: rotate(14deg); }
.social-sticker-9 { top: 20px; right: 33%; width: 30px; transform: rotate(-10deg); }
@media (max-width: 580px) {
  .social-section { padding-block: 90px; }
  .social-section > .wrap { width: calc(100% - 64px); }
  .social-sticker { width: 32px; height: 32px; }
  .social-sticker-4, .social-sticker-6 { width: 24px; height: 24px; }
  .social-sticker-2, .social-sticker-9 { top: 35px; }
}

/* A Year of Cymraeg: compact editorial course layout. */
.course-page .wrap { width: min(1240px, calc(100% - 48px)); }
.course-page .nav { min-height: 80px; }
.course-page .brand-logo { width: 62px; height: 62px; }
.course-page .nav-links { gap: 22px; }
.course-page .nav-cta { padding: 12px 18px; color: #fff; border-bottom: 0; }
.course-page .section { padding: 22px 0; border-top: 0; }
.course-page h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.course-page p { line-height: 1.65; }
.course-page .btn { border-radius: 11px; }
.course-hero { padding: 42px 0 24px; }
.course-hero .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 34px; }
.course-hero h1 { font-size: clamp(3.1rem, 6vw, 5.3rem); letter-spacing: -.06em; line-height: .99; margin: 22px 0; }
.course-hero .lead { font-size: 1.1rem; }
.course-hero .hero-art { padding: 12px; }
.course-hero .hero-art::before { background: #F7F8F7; border: 0; transform: rotate(-4deg); }
.course-hero .hero-art img { border: 0; box-shadow: none; }
.course-hero .hero-art::after { content: none; }
.course-features .section-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.course-page .feature-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.feature-strip .card { display: grid; grid-template-columns: 34px 1fr; align-content: start; gap: 7px; padding: 14px 10px; border-radius: 12px; }
.feature-strip .card .emoji { width: 32px; height: 36px; font-size: 1.2rem; margin: 0; border-radius: 8px; grid-row: span 2; }
.feature-strip h3 { font-size: .72rem; letter-spacing: -.025em; margin: 2px 0 0; }
.feature-strip p { font-size: .65rem; margin: 0; }
.audience-panel { display: grid; grid-template-columns: 1fr 1fr .55fr; gap: 28px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(110deg, #F7F8F7, #fff); }
.course-page .mini-tag { font-size: .66rem; }
.activity-preview { height: 260px; overflow: hidden; border: 1px solid var(--green-line); border-radius: 22px 22px 0 0; background: white; padding: 12px; }
.activity-preview img { width: 100%; display: block; border-radius: 12px; }
.audience-panel .list { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: white; font-size: .75rem; }
.course-page .level-layout { display: grid; grid-template-columns: .95fr 1.45fr; gap: 28px; padding: 28px; border-radius: 20px; background: #F7F8F7; }
.level-intro > h3 { margin-top: 26px; font-size: 1rem; }
.level-intro > p { font-size: .88rem; }
.course-levels .grid2 { gap: 14px; }
.course-levels .card { padding: 22px; border-radius: 16px; }
.course-levels .card:first-child { border-color: #F2C8C3; }
.course-levels .card:last-child { border-color: var(--green-line); }
.course-levels .card p, .course-levels .list { font-size: .8rem; }
.course-levels .pill { font-size: .66rem; }
.course-overview .section-head { text-align: left; margin: 8px 0 20px; max-width: 680px; }
.course-overview .statbar { margin: 0; }
.course-overview .stat { padding: 18px; }
.course-overview .stat strong { font-size: 2rem; }
.course-steps .section-head { text-align: center; margin: 8px auto 22px; }
.course-steps .card { border: 0; border-top: 1px solid var(--green-line); border-radius: 0; padding: 20px 12px; }
.course-steps .emoji { border-radius: 50%; width: 38px; height: 38px; font-size: 1rem; margin-bottom: 12px; color: var(--green); }
.course-steps h3 { font-size: 1rem; }
.course-steps p { font-size: .85rem; }
.course-previews .section-head { text-align: center; margin: 0 auto 24px; }
.course-page .preview-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.preview-strip .preview-card { padding: 10px; border-radius: 14px; }
.preview-strip .preview-card h3 { font-size: .82rem; }
.preview-strip .preview-card p { font-size: .7rem; }
.teacher-panel { display: grid; grid-template-columns: 160px 1fr .7fr; gap: 28px; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.teacher-panel > img { height: 220px; width: 160px; object-fit: contain; align-self: end; }
.teacher-panel p { font-size: .87rem; }
.teacher-note { border-left: 1px solid var(--line); padding: 22px; }
.course-page .pricing { max-width: none; display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; padding: 30px; border: 1px solid var(--green); border-radius: 18px; box-shadow: none; align-items: center; }
.course-page .pricing h2 { font-size: 1.8rem; }
.course-page .price { font-size: 3.8rem; }
.price-intro p { font-size: .8rem; }
.price-details { text-align: left; }
.price-details .list { font-size: .85rem; margin-top: 0; }
.course-page .kit-shell { padding: 30px; border-radius: 18px; }
.course-page .kit-shell h2 { font-size: 2rem; }
.course-page .faq { max-width: none; margin-block: 12px; }
.course-faq .section-head { text-align: left; margin: 14px 0; }
.course-page .banner { padding: 32px; }
.course-closing { margin-bottom: 24px; }
@media (max-width: 1100px) {
  .course-page .nav-links { gap: 12px; }
  .course-page .feature-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-strip h3 { font-size: .85rem; }
  .feature-strip p { font-size: .75rem; }
  .audience-panel { grid-template-columns: 1fr 1fr; }
  .audience-panel .list { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 5px 22px; margin: 0; }
  .course-page .level-layout { grid-template-columns: 1fr; }
}
@media (max-width: 850px) {
  .course-hero .hero-grid { grid-template-columns: 1fr; }
  .course-hero .hero-art { max-width: 560px; }
  .course-page .preview-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teacher-panel { grid-template-columns: 130px 1fr; gap: 20px; }
  .teacher-panel > img { width: 130px; }
  .teacher-note { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
}
@media (max-width: 580px) {
  .course-page .wrap { width: calc(100% - 32px); }
  .course-page .section { padding: 18px 0; }
  .course-hero { padding-top: 32px; }
  .course-hero h1 { font-size: clamp(2.9rem, 12vw, 4rem); }
  .course-page .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-strip .card { padding: 12px 8px; grid-template-columns: 28px 1fr; }
  .feature-strip .card .emoji { width: 27px; font-size: 1rem; }
  .feature-strip h3 { font-size: .76rem; }
  .feature-strip p { font-size: .69rem; }
  .audience-panel { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
  .activity-preview { height: 280px; }
  .course-page .level-layout { padding: 22px; }
  .course-page .pricing { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .price-details .btn { width: 100%; }
  .teacher-panel { grid-template-columns: 1fr; }
  .teacher-panel > img { width: 160px; height: 200px; margin-inline: auto; }
  .teacher-note { grid-column: auto; }
  .course-page .kit-shell { padding: 24px; }
}

.course-features-title { text-align: center; margin-bottom: 26px; }

.course-features-title { margin-bottom: 12px; }
.course-features-intro { text-align: center; max-width: 760px; margin: 0 auto 28px; }

.course-delivery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); max-width: 1000px; margin: 28px auto 36px; }
.course-delivery img { display: block; width: 100%; border-radius: 20px; }
.course-delivery .course-features-intro { text-align: left; margin: 0; max-width: 460px; font-size: clamp(1.25rem, 2.5vw, 1.85rem); line-height: 1.55; font-weight: 600; color: var(--ink); text-wrap: balance; }
@media (max-width: 580px) {
  .course-delivery { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .course-delivery .course-features-intro { text-align: center; max-width: none; }
}

/* Seven numbered activities, with room for the full descriptions. */
.pack-activities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 28px 0 0; list-style: none; counter-reset: pack-activity; }
.pack-activities > li { counter-increment: pack-activity; position: relative; padding: 26px 26px 26px 78px; }
.pack-activities > li::before { content: counter(pack-activity); position: absolute; top: 24px; left: 24px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--green-line); border-radius: 12px; color: var(--green); font-weight: 800; }
.pack-activities h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 10px; }
.pack-activities p { font-size: .9rem; margin: 0; }
.pack-activities > li:last-child { grid-column: 1 / -1; }
@media (max-width: 580px) {
  .pack-activities { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pack-activities > li { padding: 22px 20px 22px 68px; }
  .pack-activities > li::before { left: 18px; top: 20px; width: 32px; height: 32px; }
}

.pack-activities > li:last-child { grid-column: auto; }

.course-page .pack-levels-heading { margin: 42px auto 12px; text-align: center; font-size: clamp(2rem, 4.5vw, 3.5rem); max-width: 900px; }

.audience-fit { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.audience-fit > div:first-child { max-width: 760px; margin-bottom: 24px; }
.audience-fit .card { padding: 24px; }
.audience-fit .card:first-child { border-color: #F2C8C3; }
.audience-fit .card:last-child { border-color: var(--green-line); }
.audience-fit-note { margin: 24px 0 0; font-size: .9rem; }
@media (max-width: 580px) {
  .audience-fit { padding: 22px; }
}

.audience-fit > div:first-child { max-width: none; }
#course-audience-heading { text-align: center; }
.audience-fit > div:first-child > p { max-width: 760px; }

.audience-fit > div:first-child > p { text-align: center; margin-inline: auto; }

.audience-fit .level-example { display: block; width: 100%; height: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }

.audience-fit .level-example { width: min(100%, 320px); margin: 20px auto 0; }

/* Decorative playback chrome for the static lesson previews. */
.level-video-preview { position: relative; width: min(100%, 320px); margin: 20px auto 0; overflow: hidden; border-radius: 12px; }
.audience-fit .level-video-preview .level-example { width: 100%; margin: 0; border-radius: 12px; }
.level-video-controls { position: absolute; inset: auto 0 0; padding: 18px 10px 7px; background: linear-gradient(transparent, #000B); pointer-events: none; }
.level-video-progress { height: 3px; background: #FFFFFF80; margin-bottom: 7px; }
.level-video-progress span { position: relative; display: block; width: 32%; height: 100%; background: #FF0033; }
.level-video-progress span::after { content: ''; position: absolute; right: -4px; top: -3px; width: 9px; height: 9px; background: #FF0033; border-radius: 50%; }
.level-video-toolbar { display: flex; align-items: center; gap: 12px; }
.level-video-toolbar svg { display: block; width: 16px; height: 16px; fill: white; }
.level-video-spacer { flex: 1; }

.audience-fit .card > h3 { text-align: center; }

.audience-fit .card:first-child > p { text-align: center; }

.audience-fit .card:last-child > p { text-align: center; }

.audience-subheader { max-width: 850px; margin: 18px auto 30px; text-align: center; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; line-height: 1.6; }
.audience-statements { max-width: 900px; margin: 0 auto 30px; }
.audience-statements article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.audience-statements article h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.5; border-left: 3px solid var(--green); padding-left: 16px; }
.audience-statements article p { margin: 12px 0 0; }

/* Allow room for Welsh Mutations and the course signup link on tablet widths. */
@media (min-width: 851px) and (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav-links, .course-page .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 16px 24px 24px; flex-direction: column; gap: 4px; align-items: stretch; max-height: calc(100dvh - 90px); overflow-y: auto; box-shadow: 0 12px 20px #22222208; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; min-height: 46px; font-size: .88rem; border-radius: 8px; }
  .nav-links a[aria-current=page] { background: var(--soft); }
}

/* Keep the expanded resources navigation within the existing header. */
@media (min-width: 1101px) {
  .nav-links { flex-wrap: wrap; justify-content: flex-end; row-gap: 0; }
  .nav-links a { white-space: nowrap; }
  .course-page .nav-links { row-gap: 0; }
}

/* Student reviews use the existing responsive card grid. */
.course-reviews figure, .course-reviews blockquote, .course-reviews blockquote p { margin: 0; }
.course-reviews figcaption { margin-top: 20px; font-weight: 700; color: var(--ink); }

/* Review colours matched visually to the orange and green worksheet headings. */
.course-reviews .card { background: var(--white); border: 4px solid #00BF63; }
.course-reviews .card:nth-child(4n + 1),
.course-reviews .card:nth-child(4n) { border-color: #FF8748; }
.course-reviews .card p { color: var(--ink); }

/* Match the pack activity boxes to the student review borders. */
.pack-activities > .card { background: var(--white); border: 4px solid #00BF63; }
.pack-activities > .card:nth-child(4n + 1),
.pack-activities > .card:nth-child(4n) { border-color: #FF8748; }

/* Alternate the audience statement accents using the worksheet colours. */
.audience-statements article:nth-child(odd) h3 { border-left-color: #00BF63; }
.audience-statements article:nth-child(even) h3 { border-left-color: #FF8748; }

/* Reserved video spaces alongside the two retained PDF previews. */
.course-clip-placeholder { aspect-ratio: 16 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; background: var(--soft); border: 2px dashed var(--line); border-radius: 12px; color: var(--ink); }
.course-clip-placeholder > span { font-size: 2rem; color: var(--green); }
.course-clip-placeholder small { color: var(--muted); }
@media (max-width: 580px) {
  .course-page .preview-strip { grid-template-columns: minmax(0, 1fr); }
}

/* Responsive YouTube preview, retaining the player's minimum height. */
.course-video-embed { display: block; width: 100%; height: auto; min-height: 200px; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }

/* Stack both video previews beside the two PDF screenshots. */
.course-page .preview-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.course-video-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.course-video-stack > .preview-card { width: 100%; flex: 0 0 auto; }
@media (max-width: 850px) {
  .course-page .preview-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-video-stack { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .course-page .preview-strip { grid-template-columns: minmax(0, 1fr); }
  .course-video-stack { grid-column: auto; }
}

/* Align the lower video with the PDF card bottoms on the desktop layout. */
@media (min-width: 851px) {
  .course-page .preview-strip > .preview-card { align-self: stretch; }
  .course-video-stack { align-self: stretch; justify-content: flex-start; }
  .course-video-intro { flex: 1; display: flex; align-items: center; }
}

.course-video-intro { margin: 0; color: var(--ink); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.6; }

.teacher-panel .teacher-highlight { margin: 0; color: #00BF63; font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 800; line-height: 1.4; }

/* Transparent portrait alongside the final waiting-list invitation. */
.course-closing-panel { border: 4px solid #00BF63; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; padding-bottom: 0; overflow: hidden; }
.course-closing-panel::before { content: none; }
.course-closing-copy { padding-bottom: 48px; min-width: 0; }
.course-closing-portrait { display: block; width: 100%; height: auto; align-self: end; }
@media (max-width: 720px) {
  .course-closing-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .course-closing-copy { padding-bottom: 0; }
  .course-closing-portrait { width: min(100%, 420px); margin-inline: auto; }
}

/* Alternate FAQ disclosure triangles in the worksheet accent colours. */
.course-faq .faq details:nth-of-type(odd) > summary::marker { color: #00BF63; }
.course-faq .faq details:nth-of-type(even) > summary::marker { color: #FF8748; }
.course-faq .faq details:nth-of-type(odd) > summary::-webkit-details-marker { color: #00BF63; }
.course-faq .faq details:nth-of-type(even) > summary::-webkit-details-marker { color: #FF8748; }

/* Vocabulary course feature cards: green, orange, green. */
.vocab-details .grid3 > .card { background: var(--white); border: 4px solid #00BF63; }
.vocab-details .grid3 > .card:nth-child(2) { border-color: #FF8748; }

/* Transparent portrait in the vocabulary course's closing banner. */
.vocab-closing-panel { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; padding-bottom: 0; overflow: hidden; }
.vocab-closing-panel::before { content: none; }
.vocab-closing-copy { padding-bottom: 48px; min-width: 0; }
.vocab-closing-portrait { display: block; width: min(100%, 300px); height: auto; justify-self: center; align-self: end; }
@media (max-width: 720px) {
  .vocab-closing-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .vocab-closing-copy { padding-bottom: 0; }
  .vocab-closing-portrait { width: min(100%, 260px); }
}

/* Dedicated vocabulary course product and checkout section. */
.vocab-product-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; border: 4px solid #00BF63; border-radius: 26px; padding: clamp(20px, 4vw, 44px); background: var(--white); }
.vocab-product-card > * { min-width: 0; }
.vocab-product-art img { display: block; width: 100%; border-radius: 18px; }
.vocab-product-info .vocab-product-price { margin: 22px 0; font-size: clamp(2.8rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; color: var(--ink); }
@media (max-width: 720px) {
  .vocab-product-card { grid-template-columns: minmax(0, 1fr); }
  .vocab-product-info .btn { width: 100%; }
}

/* Two vocabulary products, using their distinct orange and green accents. */
.vocab-versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.vocab-version { --version-colour: #00BF63; min-width: 0; padding: clamp(22px, 4vw, 36px); background: var(--white); border: 4px solid var(--version-colour); border-radius: 26px; }
.vocab-version-begin { --version-colour: #FF8748; }
.vocab-version .mini-tag { border-left-color: var(--version-colour); }
.vocab-version h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.vocab-version .list li::before { color: var(--ink); }
@media (max-width: 720px) {
  .vocab-versions { grid-template-columns: minmax(0, 1fr); }
}

/* Purchase placeholders until each vocabulary checkout is ready. */
.vocab-version .vocab-purchase-placeholder { width: 100%; margin-top: 16px; background: var(--version-colour); border-color: var(--version-colour); color: var(--ink); cursor: default; opacity: 1; }
.vocab-version .vocab-purchase-placeholder:hover { transform: none; box-shadow: none; }

/* About page portrait sits directly on the white background. */
.about-portrait { width: 100%; }
.about-portrait img { display: block; width: auto; max-width: 100%; max-height: 560px; margin-inline: auto; object-fit: contain; }
@media (max-width: 580px) {
  .about-portrait img { max-height: 420px; }
}

.about-grid { row-gap: 0; }
.about-closing { grid-column: 1; grid-row: 2; }
.about-grid .about-portrait { grid-column: 2; grid-row: 1; }
.about-socials {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-top: 16px;
  align-self: start;
}
.about-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--social-color);
  border-radius: 10px;
}
.about-socials a:hover { background: var(--soft); }
.about-socials a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
@media (max-width: 850px) {
  .about-grid { row-gap: 24px; }
  .about-closing, .about-grid .about-portrait, .about-socials { grid-column: 1; grid-row: auto; }
  .about-socials { padding-top: 0; }
}

.about-socials { flex-wrap: wrap; }
.about-socials-heading {
  flex-basis: 100%;
  margin: 0;
  text-align: center;
  font-weight: 700;
}
.about-socials-heading span { display: block; font-size: 1.75rem; line-height: 1.2; margin-top: 8px; }

.about-communication { grid-column: 1; grid-row: 2; }
.about-closing { grid-row: 3; }
.about-socials { padding-top: 0; grid-row: 2 / span 2; }
@media (max-width: 850px) {
  .about-communication, .about-closing, .about-socials { grid-row: auto; }
  .about-communication > p { margin-top: 0; }
}

@media (min-width: 851px) {
  .about-socials { transform: translateY(-96px); }
}

.about-mini-courses {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: start;
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.about-mini-course {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}
.about-mini-course { min-width: 0; }
.about-mini-course img { display: block; width: 100%; height: 110px; object-fit: contain; background: var(--soft); }
.about-mini-course span { padding: 10px; }
.about-mini-course strong { display: block; font-size: .8rem; overflow-wrap: anywhere; }
.about-mini-course small { display: block; margin-top: 6px; font-size: .7rem; color: var(--green); }
.about-mini-course:hover { border-color: var(--green); }
.about-mini-course:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (max-width: 850px) {
  .about-mini-courses { grid-column: 1; grid-row: auto; margin-top: 0; }
}

.about-socials-heading { font-size: 1.5rem; }
.about-socials-heading span { font-size: 2.5rem; }

/* Keep the full right column aligned with the left column. */
.about-right {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
}
.about-right .about-socials { transform: none; padding-top: 0; flex-shrink: 0; align-self: stretch; }
.about-right .about-mini-courses { margin-top: 0; flex-shrink: 0; }
@media (max-width: 850px) {
  .about-right { grid-column: 1; grid-row: auto; padding-bottom: 0; }
}

.about-signoff { font-size: 1.5rem; font-weight: 700; }

.vocab-daily-benefits {
  display: table;
  margin: 20px auto;
  padding-left: 24px;
  text-align: left;
  line-height: 1.85;
}

.about-socials-heading .about-socials-welsh {
  display: block;
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 4px;
}

.vocab-hero .hero-art::after { content: none; }
.course-link img.resource-preview { display: block; width: 100%; height: auto; aspect-ratio: 12 / 5; object-fit: contain; margin-bottom: 24px; background: #f3faf6; }
/* Highlight the interactive games on Free Resources. */
.course-link.resource-game { border: 3px solid #183c32; }
.course-link.resource-game:hover { border-color: #183c32; }
