/* Fonts are served from this website (no Google Fonts request, nothing sent to Google) */
/* Variable fonts: one file per family for all its weights. The weight range is what each family had as separate
   files before: Caveat starts at 600, so handwriting without a weight of its own keeps showing at 600, not thinner. */
@font-face{ font-family:'Outfit'; font-style:normal; font-weight:400 700; font-display:swap; src:url(/assets/fonts/outfit-latin-wght-normal.woff2) format('woff2'); }
@font-face{ font-family:'Caveat'; font-style:normal; font-weight:600 700; font-display:swap; src:url(/assets/fonts/caveat-latin-wght-normal.woff2) format('woff2'); }

:root{
  /* Melanie's brand colours: teal from her course materials + YouTube,
     pink from her sales pages, yellow only to highlight */
  --cream:#FBF9F7;
  --cream-deep:#EEF5F4;
  --paper:#FFFFFF;
  --ink:#1F2B2D;
  --ink-soft:#4A585B;
  --line:#DCE7E6;
  --teal:#1C6E77;
  --teal-dark:#13484F;
  --teal-mid:#4FA9AA;
  --teal-soft:#DDEFEE;
  --berry:#C42A5F;
  --berry-deep:#9C1A4B;
  --berry-soft:#FCE8EF;
  --sun:#FBD35A;
  --sun-soft:#FFF4CC;

  --radius:20px;
  --radius-sm:12px;
  --shadow:0 18px 50px rgba(19,72,79,.14);
  --shadow-sm:0 6px 20px rgba(19,72,79,.10);

  --sans:'Outfit', -apple-system, 'Segoe UI', sans-serif;
  --hand:'Caveat', cursive;

  --wrap:1240px;
  --base:19px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ font-size:var(--base); scroll-behavior:smooth; -webkit-text-size-adjust:100%; text-size-adjust:100%; }   /* phones don't enlarge text on their own when turned sideways */
body{
  margin:0; background:var(--cream); color:var(--ink);
  font-family:var(--sans); line-height:1.65; -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
/* Links in running text stay part of the sentence: they keep its style (italic stays italic) and get a thin, soft
   underline in their own color that turns solid on hover/focus. Buttons, menus and cards set text-decoration:none. */
a{ color:var(--berry); text-decoration-thickness:1px; text-underline-offset:4px; text-decoration-color:color-mix(in srgb, currentColor 40%, transparent); transition:color .15s, text-decoration-color .15s; }
a:hover{ color:var(--berry-deep); text-decoration-color:currentColor; }
a:focus-visible{ text-decoration-color:currentColor; }
:focus-visible{ outline:3px solid var(--sun); outline-offset:3px; border-radius:6px; }
.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 24px; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
/* hidden always wins over a display style (cookie notice, survey steps, buttons) */
[hidden]{ display:none !important; }
.skip{ position:absolute; left:-999px; top:8px; background:var(--ink); color:#fff; padding:10px 16px; z-index:100; border-radius:8px; }
.skip:focus{ left:8px; }
/* Contact email (built by site.js): the decoy part stays hidden, and without JavaScript the address is drawn from CSS escapes */
.mail-x{ display:none; }

h1,h2,h3{ font-family:var(--sans); font-weight:600; line-height:1.15; margin:0 0 .5em; color:var(--ink); letter-spacing:-.02em; }
h1{ font-size:clamp(2.3rem, 4.6vw, 3.4rem); }
h2{ font-size:clamp(1.8rem, 3.2vw, 2.4rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1em; }
.lead{ font-size:1.12rem; color:var(--ink-soft); }
.eyebrow{
  display:inline-block; font-size:.78rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--teal); margin-bottom:.9rem;
}
/* Breadcrumbs (GOV.UK / NN/g practice): a quiet trail above the heading, never the focal point.
   Only on nested pages (lessons: Free Lessons › topic). Top-level pages get none: a one-item trail reads like a label.
   Smaller than body text, regular weight, sentence case, muted but AA-contrast color (text and "›" alike).
   Links get no underline until hover/focus: the place above the heading and the "›" already say "breadcrumb". The trail ends at the parent page:
   the current page stays in the markup for screen readers (class="sr-only" aria-current="page"), since the heading already names it. */
.crumbs{ font-size:.8rem; line-height:1.4; color:var(--ink-soft); padding:16px 0 8px; }
.crumbs ol{ list-style:none; display:flex; flex-wrap:wrap; align-items:center; margin:0; padding:0; }
.crumbs li+li::before{ content:"›"; margin:0 10px; color:var(--ink-soft); }
.crumbs a{ display:inline-block; padding:10px 0; color:var(--ink-soft); text-decoration:none; }
.crumbs a:hover, .crumbs a:focus-visible{ color:var(--ink); text-decoration:underline; text-decoration-color:currentColor; }
.hand{ font-family:var(--hand); font-weight:700; color:var(--berry); }
.center{ text-align:center; }
.section{ padding:96px 0; }
[id]{ scroll-margin-top:100px; }
.section-head{ max-width:720px; margin:0 auto 52px; text-align:center; }

/* Buttons: big, high-contrast, easy to hit */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  min-height:58px; padding:14px 30px; border-radius:999px; border:2px solid transparent;
  font:700 1rem/1.2 var(--sans); letter-spacing:.01em; text-decoration:none; cursor:pointer;
  transition:background .2s, transform .2s, box-shadow .2s;
}
.btn-primary{ background:var(--berry); color:#fff; box-shadow:0 10px 24px -10px rgba(196,42,95,.7); }
.btn-primary:hover{ background:var(--berry-deep); color:#fff; transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:#fff; }
.btn-teal{ background:var(--teal); color:#fff; }
.btn-teal:hover{ background:var(--teal-dark); color:#fff; }
.btn-sm{ min-height:46px; padding:10px 22px; font-size:.88rem; white-space:nowrap; }

/* ---------- Header + navigation ---------- */
header.site{ position:sticky; top:0; z-index:50; background:rgba(251,249,247,.96); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; gap:20px; min-height:76px; }
.logo, .logo:hover{ display:flex; align-items:center; gap:7px; text-decoration:none; color:var(--ink); flex-shrink:0; }
.logo svg{ width:36px; height:36px; }
.logo span{ font-family:var(--sans); font-size:1.25rem; font-weight:600; letter-spacing:-.015em; line-height:1; }
.logo em{ font-style:normal; font-size:.72em; color:var(--berry); position:relative; top:-.12em; }
/* Hand-drawn swoosh under "with": an SVG mask filled with the text colour, so the footer's lighter pink carries over */
.logo em::after{ content:""; position:absolute; left:-.08em; right:-.12em; bottom:-.14em; height:.36em; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath d='M3 8.8C17 7.4 32 6.6 50 6.6c18 0 33 1.1 43 2.9' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath d='M3 8.8C17 7.4 32 6.6 50 6.6c18 0 33 1.1 43 2.9' fill='none' stroke='%23000' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }

.menu{ display:flex; align-items:center; gap:6px; list-style:none; margin:0 0 0 auto; padding:0; }
.menu > li{ position:relative; }
.menu > li > a, .menu > li > button{
  display:flex; align-items:center; gap:6px; min-height:48px; padding:0 12px; border-radius:10px; white-space:nowrap;
  font:500 .92rem var(--sans); letter-spacing:.005em; color:var(--ink); text-decoration:none; background:none; border:0; cursor:pointer;
}
.menu > li > a[aria-current="page"]{ color:var(--berry); }
.menu > li > a:hover, .menu > li > button:hover, .menu > li > button[aria-expanded="true"]{ background:var(--cream-deep); color:var(--ink); }
.menu .chev{ width:10px; height:10px; transition:transform .2s; }
.menu .chev path{ stroke-width:1.6; }
.menu button[aria-expanded="true"] .chev{ transform:rotate(180deg); }
.nav-actions{ display:flex; align-items:center; gap:14px; }
.nav-actions .btn{ font-weight:600; min-height:44px; }

.dropdown{
  position:absolute; top:calc(100% + 10px); left:50%; transform:translateX(-50%);
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:26px; display:none; z-index:60;
}
.dropdown.open{ display:block; }
.dropdown::before{ content:""; position:absolute; top:-12px; left:0; right:0; height:12px; } /* hover bridge */
.dd-lessons{ width:680px; display:none; }
.dd-lessons.open{ display:grid; grid-template-columns:1.1fr 1fr; gap:26px; }
.dd-courses{ width:520px; }
.dd-title{ font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--teal); margin:0 0 10px; }
.dd-list{ list-style:none; margin:0; padding:0; }
.dd-list a{ display:block; padding:9px 12px; margin:0 -12px; border-radius:10px; text-decoration:none; color:var(--ink); font-weight:700; font-size:.95rem; }
.dd-list a:hover{ background:var(--cream); color:var(--berry); }
.dd-list small{ display:block; font-weight:400; color:var(--ink-soft); font-size:.82rem; line-height:1.4; }
.dd-feature{ background:var(--cream); border-radius:var(--radius-sm); padding:18px; }
.dd-video{ position:relative; display:block; aspect-ratio:16/9; border-radius:10px; overflow:hidden; box-shadow:var(--shadow-sm); }
.dd-video img{ width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.dd-video:hover img{ transform:scale(1.04); }
.dd-all{ display:inline-block; margin-top:14px; font-weight:700; font-size:.9rem; }

.menu-toggle{ display:none; margin-left:auto; align-items:center; gap:8px; min-height:50px; padding:0 18px; border-radius:999px; border:1.5px solid var(--ink); background:none; font:500 .95rem var(--sans); color:var(--ink); cursor:pointer; }
.menu-toggle svg{ width:20px; height:20px; stroke-width:1.8; }

/* ---------- Play button: one look on every video that plays right there (lesson player, sales videos, click-to-play posters) ----------
   Not on cards or the menu: those open another page, so they show a length badge instead (.len, see "Free lessons").
   Pink = "do this", with a white edge so it stays visible on pink clothes and busy YouTube thumbnails.
   Size: 13% of the video's width everywhere (at least 48px, at most 116px), so the button keeps the same proportion
   on a hero, a lesson player or a card. Don't give page types their own sizes. The icon scales with it. */
.big-play, .thumb .play{ position:absolute; top:50%; left:50%; translate:-50% -50%; width:clamp(48px, 13%, 116px); height:auto; aspect-ratio:1; border-radius:50%; background:var(--berry); border:4px solid #fff; display:grid; place-items:center; box-shadow:0 10px 28px rgba(0,0,0,.35); transition:transform .2s; }
/* The icon is centred with no margin: its triangle (M7.5 5.5 L18.5 12 7.5 18.5) is drawn so the middle between its
   balance point and its outer edges sits on the circle's centre, which is what looks centred to the eye */
.big-play svg, .thumb .play svg{ width:48%; height:48%; margin:0; }
.big-play path, .thumb .play path{ fill:#fff; stroke:#fff; stroke-width:1.5; stroke-linejoin:round; }
/* Slow pulse on the main video of a page (sales hero, lesson player, launch videos, email course), plus every
   video on the piano-patterns page (the user asked, Nov 2026: it's a page of videos to play in place):
   a soft white circle swells out from behind the button and fades away. Keeps pulsing
   (the user asked); hovering stops it at once. It's a growing box-shadow (not a pseudo-element) so it sits behind the button.
   Never on cards, student stories or the menu: several pulsing buttons compete. */
.mp-hero .big-play, .video-frame > .poster .big-play, .pp-poster .play{ animation:play-pulse 2.2s ease-out .8s infinite; }
.poster:hover .big-play, .pp-poster:hover .play{ animation:none; }
@keyframes play-pulse{
  0%{ box-shadow:0 10px 28px rgba(0,0,0,.35), 0 0 0 0 rgba(255,255,255,.55); }
  100%{ box-shadow:0 10px 28px rgba(0,0,0,.35), 0 0 0 36px rgba(255,255,255,0); }
}
@media (prefers-reduced-motion: reduce){
  .mp-hero .big-play, .video-frame > .poster .big-play, .pp-poster .play{ animation:none; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; padding:70px 0 90px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; position:relative; }
.hero h1 em{ font-family:var(--hand); font-style:normal; font-weight:700; font-size:1.2em; line-height:1; color:var(--berry); padding:0 .12em 0 .02em;
  background:linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 88%, transparent 88%); }
.hero .lead{ font-size:1.18rem; max-width:30em; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:14px; margin-top:34px; }
.hero-proof{ margin:26px 0 0; font-size:.92rem; color:var(--ink-soft); display:flex; align-items:center; gap:10px; }
.badge{ display:inline-flex; align-items:center; gap:10px; background:var(--teal); color:#fff; font-size:.78rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; padding:8px 16px; border-radius:999px; margin-bottom:22px; }

.optin{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow-sm); margin-top:30px; max-width:560px; }
.optin-head{ display:flex; gap:14px; align-items:flex-start; margin-bottom:18px; }
.optin-head .gift{ flex-shrink:0; width:48px; height:48px; border-radius:14px; background:var(--berry-soft); display:grid; place-items:center; }
.optin-head .gift svg{ width:26px; height:26px; }
.optin-head strong{ display:block; font-size:1.08rem; line-height:1.3; }
.optin-head span{ color:var(--ink-soft); font-size:.92rem; }
.fields{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.field label{ display:block; font-weight:700; font-size:.85rem; margin-bottom:6px; }
.field input{
  width:100%; min-height:56px; padding:12px 16px; font:400 1rem var(--sans); color:var(--ink);
  background:var(--cream); border:2px solid var(--line); border-radius:var(--radius-sm);
}
.field input:focus{ outline:none; border-color:var(--teal); background:#fff; }
.optin .btn{ width:100%; margin-top:14px; }
.fine{ font-size:.8rem; color:var(--ink-soft); margin:12px 0 0; text-align:center; }
.fine svg{ width:14px; height:14px; vertical-align:-2px; margin-right:4px; }

.proof{ display:flex; align-items:center; gap:14px; margin-top:22px; font-size:.92rem; color:var(--ink-soft); }
.avatars{ display:flex; }
.avatars img{ width:42px; height:42px; border-radius:50%; border:3px solid var(--cream); margin-left:-10px; object-fit:cover; }
.avatars img:first-child{ margin-left:0; }
.stars{ color:var(--sun); letter-spacing:2px; font-size:1rem; }

.hero-photo{ position:relative; }
.hero-mini{ display:none; align-items:center; gap:14px; margin-bottom:20px; }
.hero-mini img{ width:72px; height:72px; border-radius:50%; object-fit:cover; box-shadow:var(--shadow-sm); }
.hero-mini .hand{ font-size:1.6rem; line-height:1; display:block; }
.hero-mini small{ color:var(--ink-soft); font-size:.85rem; }
.hero-photo .frame{ border-radius:28px; overflow:hidden; box-shadow:var(--shadow); aspect-ratio:1/1.02; }
.hero-photo .frame img{ width:100%; height:100%; object-fit:cover; }
.note{
  position:absolute; left:-34px; bottom:44px; background:var(--paper); border-radius:16px; padding:14px 20px;
  box-shadow:var(--shadow); transform:rotate(-3deg); max-width:290px;
}
.note .hand{ font-size:1.65rem; line-height:1.05; display:block; }
.note small{ color:var(--ink-soft); font-size:.82rem; }
.yt-chip{
  position:absolute; right:-14px; top:34px; display:flex; align-items:center; gap:10px; background:var(--paper);
  border-radius:999px; padding:10px 18px 10px 12px; box-shadow:var(--shadow); text-decoration:none; color:var(--ink); font-weight:700; font-size:.85rem; line-height:1.2;
}
.yt-chip svg{ width:34px; height:24px; flex-shrink:0; }
.yt-chip b{ display:block; font-size:1.05rem; }

/* ---------- Trust strip ---------- */
.strip{ background:var(--teal); color:#fff; }
.strip .wrap{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); }   /* one column per item, however many */
.strip div{ text-align:center; padding:30px 16px; border-left:1px solid rgba(255,255,255,.16); }
.strip div:first-child{ border-left:0; }
.strip strong{ display:block; font-family:var(--sans); font-size:2rem; font-weight:600; line-height:1.1; }
.strip span{ display:block; margin-top:4px; font-size:.88rem; line-height:1.4; opacity:.9; }

/* ---------- "Is this you?" ---------- */
.you-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; max-width:980px; margin:0 auto; }
.you{ display:flex; gap:18px; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.you .ic{ flex-shrink:0; width:52px; height:52px; border-radius:50%; background:var(--cream-deep); display:grid; place-items:center; font-size:1.5rem; }
.you h3{ font-size:1.3rem; margin-bottom:.3em; }
.you p{ margin:0; color:var(--ink-soft); font-size:.98rem; }
.reassure{ max-width:760px; margin:48px auto 0; text-align:center; font-size:1.4rem; font-weight:500; line-height:1.45; color:var(--teal-dark); }
.reassure em{ font-style:normal; color:var(--berry); }
.reassure .hand{ font-style:normal; font-size:1.2em; }

/* ---------- Start here paths ---------- */
.paths{ background:var(--cream-deep); }
.path-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.path{
  position:relative; display:flex; flex-direction:column; background:var(--paper); border-radius:var(--radius);
  padding:34px 30px 30px; text-decoration:none; color:var(--ink); border:2px solid transparent;
  box-shadow:var(--shadow-sm); transition:transform .2s, border-color .2s;
}
.path:hover{ transform:translateY(-4px); border-color:var(--teal-mid); color:var(--ink); }
.path .step{ font-family:var(--hand); font-size:1.6rem; color:var(--berry); line-height:1; margin-bottom:10px; }
.path h3{ font-size:1.6rem; }
.path p{ color:var(--ink-soft); font-size:.98rem; }
.path ul{ list-style:none; padding:0; margin:0 0 24px; font-size:.95rem; }
.path li{ padding-left:28px; position:relative; margin-bottom:8px; }
.path li::before{ content:""; position:absolute; left:0; top:.45em; width:16px; height:16px; border-radius:50%; background:var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.path .go{ margin-top:auto; font-weight:700; color:var(--berry); display:flex; align-items:center; gap:8px; }
.path .go svg{ width:18px; height:18px; transition:transform .2s; }
.path:hover .go svg{ transform:translateX(4px); }

/* ---------- Free lessons ---------- */
.topics{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:-18px auto 44px; max-width:900px; }
.topics a{ text-decoration:none; color:var(--ink); background:var(--paper); border:1.5px solid var(--line); border-radius:999px; padding:9px 18px; font-weight:700; font-size:.9rem; }
.topics a:hover{ border-color:var(--berry); color:var(--berry); }
.video-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.video{ background:var(--paper); border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); display:flex; flex-direction:column; text-decoration:none; color:var(--ink); transition:transform .2s, box-shadow .2s; }
.video:hover{ transform:translateY(-4px); box-shadow:var(--shadow); color:var(--ink); }
.thumb{ position:relative; aspect-ratio:16/9; background:var(--cream-deep); }
.thumb img{ width:100%; height:100%; object-fit:cover; }
.thumb .play{ border-width:3px; }
/* Length badge on cards (and the menu's video): "▶ 20:59". Says "this is a video" without looking like the pink
   play button, which only goes on videos that play right there */
.thumb .len, .dd-video .len{ position:absolute; right:10px; bottom:10px; display:inline-flex; align-items:center; gap:5px; background:rgba(0,0,0,.75); color:#fff; font-size:.8rem; font-weight:700; line-height:1.4; padding:3px 9px 3px 8px; border-radius:6px; font-variant-numeric:tabular-nums; }
.thumb .len svg, .dd-video .len svg{ width:.8em; height:.8em; flex:none; }
/* Rounded corners on the small play icon, same as the big play button */
.thumb .len path, .dd-video .len path{ stroke:#fff; stroke-width:1.5; stroke-linejoin:round; }
.dd-video .len{ right:8px; bottom:8px; font-size:.72rem; padding:3px 8px; }
.video-body{ padding:20px 22px 22px; display:flex; flex-direction:column; flex:1; }
.tag{ font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--teal); margin-bottom:8px; }
.video h3{ font-family:var(--sans); font-weight:700; font-size:1.05rem; line-height:1.4; margin:0 0 14px; }
.includes{ margin-top:auto; display:flex; gap:14px; flex-wrap:wrap; font-size:.8rem; color:var(--ink-soft); }
.includes span{ display:flex; align-items:center; gap:5px; }
.includes svg{ width:15px; height:15px; color:var(--teal-mid); }
.more{ text-align:center; margin-top:44px; }

/* ---------- Big opt-in band ---------- */
.band{ background:linear-gradient(180deg, #D3386B 0%, #B3245A 100%); color:#fff; position:relative; overflow:hidden; }
.band::after{ content:""; position:absolute; right:-120px; top:-120px; width:420px; height:420px; border-radius:50%; background:radial-gradient(closest-side, rgba(251,211,90,.28), transparent); }
.band-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center; position:relative; z-index:1; }
.band h2{ color:#fff; }
.band .eyebrow{ color:var(--sun); }
.band .lead{ color:rgba(255,255,255,.9); }
.band h2 em{ font-style:normal; color:var(--sun); }
.kit{ position:relative; padding:20px; }
.kit-card{ background:var(--cream); color:var(--ink); border-radius:16px; padding:28px; box-shadow:0 30px 60px -20px rgba(0,0,0,.5); transform:rotate(-2.5deg); max-width:400px; margin:0 auto; }
.kit-card .pdf{ font-size:.7rem; font-weight:700; letter-spacing:.14em; color:var(--berry); }
.kit-card h3{ font-size:1.9rem; margin:.2em 0 .5em; }
.kit-card ol{ margin:0; padding-left:1.2em; font-size:.92rem; color:var(--ink-soft); }
.kit-card ol li{ margin-bottom:6px; }
.kit-card .sig{ font-family:var(--hand); font-size:1.6rem; color:var(--berry); margin-top:12px; }
.kit-keys{ display:block; width:calc(100% + 56px); height:auto; margin:18px -28px -28px; border-radius:0 0 16px 16px; }
.checks{ list-style:none; padding:0; margin:0 0 26px; }
.checks li{ position:relative; padding-left:34px; margin-bottom:10px; }
.checks li::before{ content:""; position:absolute; left:0; top:1px; width:24px; height:24px; border-radius:50%; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2B2D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat, var(--sun); }
.band .optin{ margin-top:0; max-width:none; }
.band .optin, .band .optin .field label{ color:var(--ink); }

/* ---------- About ---------- */
.about{ background:var(--cream-deep); }
.about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:70px; align-items:end; }
.about-photo{ position:relative; }
.about-photo::before{ content:""; position:absolute; inset:12% 4% 0 4%; border-radius:200px 200px 28px 28px; background:linear-gradient(180deg, var(--teal-soft), #B9DCDA); }
.about-photo img{ position:relative; width:88%; margin:0 auto; }
.about blockquote{ margin:28px 0; padding:22px 26px; background:var(--paper); border-left:4px solid var(--berry); border-radius:0 var(--radius-sm) var(--radius-sm) 0; font-size:1.2rem; font-weight:500; line-height:1.5; }
.about blockquote footer{ font-family:var(--hand); color:var(--berry); font-size:1.5rem; margin-top:8px; }

/* ---------- Courses ---------- */
.courses{ background:var(--paper); }
.course-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.course{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--cream); text-decoration:none; color:var(--ink); transition:transform .2s, box-shadow .2s; }
.course:hover{ transform:translateY(-4px); box-shadow:var(--shadow); color:var(--ink); }
.course .img{ aspect-ratio:4/3; background:var(--cream-deep); display:grid; place-items:center; overflow:hidden; }
.course .img img{ width:100%; height:100%; object-fit:contain; padding:14px; }
.course .ph{ width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:20px; font-family:var(--sans); font-weight:700; font-size:1.7rem; line-height:1.1; color:#fff; }
.course .ph small{ font-family:var(--hand); font-size:1.15rem; font-weight:600; opacity:.95; margin-top:6px; }
.ph-1{ background:linear-gradient(140deg, #2A8C94, #13484F); }
.ph-2{ background:linear-gradient(140deg, #D3386B, #8E1744); }
.course-body{ padding:22px; display:flex; flex-direction:column; flex:1; }
.level{ align-self:flex-start; font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:4px 10px; border-radius:999px; background:var(--berry-soft); color:var(--berry-deep); margin-bottom:12px; }
.course h3{ font-size:1.45rem; margin-bottom:.3em; }
.course p{ font-size:.92rem; color:var(--ink-soft); }
.course .go{ margin-top:auto; font-weight:700; color:var(--berry); font-size:.92rem; }
.guarantee{ display:flex; align-items:center; justify-content:center; gap:14px; margin-top:40px; color:var(--ink-soft); font-size:.95rem; }
.guarantee img{ width:64px; }

/* ---------- Testimonials ---------- */
.t-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.t{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:30px; display:flex; flex-direction:column; }
.t.feature{ grid-row:span 2; background:var(--teal); color:#fff; border:0; }
.t.feature p{ font-size:1.35rem; font-weight:500; line-height:1.45; }
.t p{ font-size:1rem; margin:12px 0 22px; }
.t .who{ margin-top:auto; display:flex; align-items:center; gap:14px; }
.t .who img{ width:56px; height:56px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.t .who div{ line-height:1.3; }
.t .who strong{ display:block; }
.t .who span{ display:block; margin-top:2px; font-size:.85rem; opacity:.8; }

/* ---------- FAQ ---------- */
.faq{ max-width:820px; margin:0 auto; }
.faq details{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-sm); margin-bottom:12px; }
.faq summary{ cursor:pointer; list-style:none; padding:22px 60px 22px 26px; font-weight:700; font-size:1.08rem; position:relative; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:""; position:absolute; right:22px; top:50%; transform:translateY(-50%); width:32px; height:32px; border-radius:50%;
  background:
    linear-gradient(var(--ink),var(--ink)) center/12px 2px no-repeat,
    linear-gradient(var(--ink),var(--ink)) center/2px 12px no-repeat,
    var(--cream-deep);
}
.faq details[open] summary::after{
  background:linear-gradient(var(--ink),var(--ink)) center/12px 2px no-repeat, var(--cream-deep);
}
.faq details p{ padding:0 26px 22px; margin:0; color:var(--ink-soft); }

/* ---------- Final CTA ---------- */
.final{ text-align:center; }
.section.final{ padding-top:0; } /* two classes, so the phone rule .section{ padding:72px 0 } can't undo it */
.final-panel{ background:var(--berry-soft); border:1px solid rgba(196,42,95,.14); border-radius:32px; padding:72px 40px; }
.final .optin{ margin:34px auto 0; text-align:left; border-color:rgba(196,42,95,.14); box-shadow:0 14px 40px rgba(156,26,75,.12); }

/* ---------- Footer ---------- */
footer.site{ background:#0E3A40; color:#C6DCDC; padding:70px 0 30px; font-size:.92rem; }
.f-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
/* Footer column titles are h2 (no skipped heading level); these rules keep the look they had as h4 */
footer.site .f-title{ font-family:inherit; font-weight:700; line-height:inherit; color:#fff; font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; margin:0 0 16px; }
footer.site ul{ list-style:none; padding:0; margin:0; }
footer.site li{ margin-bottom:10px; }
footer.site a{ color:#C6DCDC; text-decoration:none; }
footer.site a:hover{ color:#fff; text-decoration:underline; }
footer.site .logo, footer.site .logo:hover{ color:#fff; margin-bottom:16px; text-decoration:none; }
footer.site .logo span{ font-size:1.2rem; }
footer.site .logo em{ color:color-mix(in srgb, var(--berry) 50%, #fff); } /* lighter pink, readable on the dark footer */
.f-bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:50px; padding-top:24px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.82rem; }
.f-bottom ul{ display:flex; gap:22px; }
footer.site .credit{ margin-left:4px; opacity:.5; }
footer.site .credit:hover{ opacity:1; }
/* Thin underline: the credit link must not rely on colour alone (it has the same colour as the text around it) */
footer.site .credit a, .w-foot .credit a{ text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; text-decoration-color:color-mix(in srgb, currentColor 40%, transparent); transition:text-decoration-color .15s; }
footer.site .credit a:hover, footer.site .credit a:focus-visible, .w-foot .credit a:hover, .w-foot .credit a:focus-visible{ text-decoration-color:currentColor; }

/* ---------- Responsive ---------- */
.menu .mobile-only{ display:none; }   /* the menu's own button, only in the phone menu (must stay above the media query that shows it) */
@media (max-width: 1200px){
  .menu, .nav-actions .btn{ display:none; }
  .menu-toggle{ display:inline-flex; }
  .nav-actions{ margin-left:0; }
  header.site.open .menu{
    display:flex; flex-direction:column; align-items:stretch; position:absolute; top:100%; left:0; right:0;
    background:var(--cream); border-bottom:1px solid var(--line); padding:12px 24px 28px; gap:2px; max-height:calc(100vh - 90px); overflow:auto; box-shadow:var(--shadow);
  }
  header.site.open .menu > li > a, header.site.open .menu > li > button{ width:100%; justify-content:space-between; min-height:58px; font-size:1.08rem; border-bottom:1px solid var(--line); border-radius:0; }
  .dropdown, .dd-lessons, .dd-courses{ position:static; transform:none; width:auto; box-shadow:none; border:0; padding:8px 0 16px 12px; background:transparent; }
  .dd-lessons.open{ display:block; }
  /* "Most watched" video is left out of the phone menu, but its "See all free lessons" link stays */
  .dd-feature{ background:none; padding:0; border-radius:0; }
  .dd-feature .dd-title, .dd-feature .dd-video{ display:none; }
  .dd-all{ display:block; margin-top:4px; padding:10px 0; }
  .menu .mobile-only{ display:block; }
  /* the pink button under the links: a real pill button, not a menu row */
  header.site.open .menu > li.mobile-only > a{ justify-content:center; background:var(--berry); box-shadow:0 10px 24px -10px rgba(196,42,95,.7); min-height:58px; margin-top:18px; padding:14px 24px; border:2px solid transparent; border-radius:999px; font:700 1rem/1.2 var(--sans); color:#fff; white-space:normal; text-align:center; }
  header.site.open .menu > li.mobile-only > a:hover{ background:var(--berry-deep); color:#fff; }
  header.site.open .menu{ max-height:calc(100dvh - 64px); overscroll-behavior:contain; }
  .course-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 900px){
  h1, h2{ text-wrap:balance; }   /* no single word left alone on the last line of a heading */
  /* Logo-only header (sales, landing, welcome pages): scrolls away on phones and tablets. It has nothing to tap,
     and sales pages already keep a buy bar at the bottom of the screen. */
  header.site:has(.nav-min){ position:static; }
  .section{ padding:72px 0; }
  .hero{ padding:40px 0 70px; }
  .hero-grid, .band-grid, .about-grid{ grid-template-columns:1fr; gap:44px; }
  .hero-photo{ display:none; }
  .kit{ order:2; }
  .hero-mini{ display:flex; }
  .note{ left:-8px; }
  .yt-chip{ right:-6px; }
  /* 4 items: two rows of two; 3 items stay in one row */
  .strip .wrap:has(> div:nth-child(4)){ grid-auto-flow:row; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .strip .wrap:has(> div:nth-child(4)) div:nth-child(3){ border-left:0; }
  .strip .wrap:has(> div:nth-child(4)) div{ border-top:1px solid rgba(255,255,255,.12); }
  .you-grid, .path-grid, .video-grid, .t-grid{ grid-template-columns:1fr; }
  .t.feature{ grid-row:auto; }
  .about-photo{ max-width:420px; margin:0 auto; }
  .f-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .wrap{ padding:0 18px; }
  .section{ padding:60px 0; }
  .section-head{ margin-bottom:36px; }
  .hero{ padding:32px 0 60px; }
  .hero-ctas{ margin-top:28px; }
  .reassure{ font-size:1.25rem; margin-top:40px; }
  .you{ padding:22px 20px; gap:14px; }
  .path{ padding:28px 24px 26px; }
  .t{ padding:24px 22px; }
  .t.feature p{ font-size:1.2rem; }
  .faq summary{ padding:20px 58px 20px 20px; }
  .faq summary::after{ right:16px; }
  .faq details p{ padding:0 20px 20px; }
  .about blockquote{ padding:18px 20px; font-size:1.1rem; }
  .more .btn{ width:100%; }
  /* Footer: the three link lists side by side in two columns instead of one long column */
  footer.site{ padding:52px 0 26px; }
  .f-grid{ grid-template-columns:1fr 1fr; gap:34px 24px; }
  .f-grid > div:first-child{ grid-column:1 / -1; }
  footer.site li{ margin-bottom:0; }
  footer.site .f-grid ul:not(.f-social) a{ display:block; padding:7px 0; }   /* bigger tap targets */
  footer.site .f-title{ margin-bottom:8px; }
  .f-bottom{ margin-top:36px; flex-direction:column; gap:6px; }
  .f-bottom ul{ flex-wrap:wrap; gap:0 22px; }
  .f-bottom ul a, .w-foot ul a{ display:inline-block; padding:8px 0; }
  .w-foot .wrap{ flex-direction:column; gap:2px; }
  .w-foot ul{ flex-wrap:wrap; gap:0 20px; }
  .strip .wrap{ padding:0; }
  /* 3 items are too tight in one row on a phone: the first one full width, the other two under it */
  .strip .wrap:not(:has(> div:nth-child(4))){ grid-auto-flow:row; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .strip .wrap:not(:has(> div:nth-child(4))) div:first-child{ grid-column:1 / -1; }
  .strip .wrap:not(:has(> div:nth-child(4))) div:nth-child(2){ border-left:0; }
  .strip .wrap:not(:has(> div:nth-child(4))) div:not(:first-child){ border-top:1px solid rgba(255,255,255,.12); }
  .strip div{ padding:24px 12px; }
  .strip strong{ font-size:1.6rem; }
  .logo span{ font-size:1.08rem; }
  .logo svg{ width:30px; height:30px; }
  .logo, .logo:hover{ gap:6px; }
  .menu-toggle{ padding:0 14px; min-height:46px; }
  .badge{ font-size:.68rem; }
  .nav{ min-height:64px; gap:12px; }
  .fields{ grid-template-columns:1fr; }
.hero-ctas .btn{ width:100%; }
  .optin{ padding:22px; }
  .final-panel{ padding:48px 18px; border-radius:24px; }
  .course-grid{ grid-template-columns:1fr; }
  .note{ bottom:18px; padding:10px 14px; }
  .note .hand{ font-size:1.35rem; }
  .yt-chip{ top:14px; padding:8px 14px 8px 10px; }
}
/* Small phones (320–360px wide): logo and menu button still fit on one row */
@media (max-width: 380px){
  .wrap{ padding:0 16px; }
  .nav{ gap:8px; }
  .logo span{ font-size:1rem; }
  .logo svg{ width:28px; height:28px; }
  .menu-toggle{ padding:0 12px; gap:6px; }
  .btn{ padding:14px 22px; }
  .optin{ padding:20px 18px; }
}
@media (prefers-reduced-motion: reduce){ *{ transition:none !important; scroll-behavior:auto !important; } }

/* ============ PERSONALIZATION ============
   data-for="visitor subscriber customer": which visitors see an element. The little script at the top of
   every page sets <html data-seg="…"> before anything is drawn, so the right version shows without a flicker. */
html:not([data-seg]) [data-for]:not([data-for~="visitor"]),
html[data-seg="visitor"] [data-for]:not([data-for~="visitor"]),
html[data-seg="subscriber"] [data-for]:not([data-for~="subscriber"]),
html[data-seg="customer"] [data-for]:not([data-for~="customer"]){ display:none !important; }

/* ============ FORMS: sending and errors ============ */
.hp{ position:absolute !important; left:-9999px; width:1px; height:1px; overflow:hidden; }
form.is-sending button[type="submit"]{ opacity:.6; pointer-events:none; }
.form-msg{ margin:12px 0 0; font-size:.92rem; font-weight:600; color:var(--berry-deep); }
.form-msg:empty{ display:none; }

/* ============ COOKIE NOTICE ============ */
.consent{ position:fixed; left:16px; right:16px; bottom:16px; z-index:90; max-width:560px; /* bottom left; full width on phones */
  max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); overflow-y:auto; overscroll-behavior:contain;
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-sm); box-shadow:var(--shadow);
  padding:22px 24px 0; font-size:.92rem; line-height:1.5; }
.consent h2{ margin:0 0 6px; font-size:1.1rem; line-height:1.3; font-weight:700; color:var(--ink); }
.consent p{ margin:0; color:var(--ink); }
/* "Details": one row per kind of cookie, with a switch (teal when on; essential is always on) */
.consent-pick{ display:grid; gap:8px; margin-top:14px; }
.consent-cat{ display:flex; align-items:flex-start; gap:12px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; cursor:pointer; }
.consent .consent-how{ font-size:.84rem; color:var(--ink-soft); }
.consent-cat strong{ display:block; font-weight:600; }
.consent-cat small{ display:block; font-size:.84rem; color:var(--ink-soft); }
.consent-cat input{ -webkit-appearance:none; appearance:none; flex:none; width:44px; height:26px; margin:1px 0 0; border-radius:99px; cursor:pointer;
  background-color:color-mix(in srgb, var(--ink) 35%, var(--paper));
  background-image:radial-gradient(circle, var(--paper) 9px, transparent 9.5px); background-size:26px 26px; background-repeat:no-repeat; background-position:0 0;
  transition:background-color .15s, background-position .15s; }
.consent-cat input:checked{ background-color:var(--teal); background-position:18px 0; }
.consent-cat input:disabled{ opacity:.55; cursor:default; }
.consent-cat:has(input:disabled){ cursor:default; }
.consent .btns{ display:flex; flex-wrap:wrap; gap:10px; margin:16px 0 18px; }
.consent .btn{ flex:1 1 140px; min-height:44px; padding:8px 16px; font-size:.88rem; }
/* Bottom strip: "Details" (an action, so teal with an icon) on the left, the legal links small on the right */
.consent-links{ position:sticky; bottom:0; display:flex; flex-wrap:wrap; align-items:center; gap:6px 18px; margin:0 -24px; padding:12px 24px;
  background:var(--cream); border-top:1px solid var(--line); font-size:.82rem; }
.consent-links a{ color:var(--ink-soft); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px;
  text-decoration-color:color-mix(in srgb, currentColor 40%, transparent); }
.consent-links a:first-of-type{ margin-left:auto; }
.consent-links a:hover{ color:var(--ink); text-decoration-color:currentColor; }
.consent-more{ display:inline-flex; align-items:center; gap:8px; min-height:32px; padding:0; background:none; border:0; font:inherit;
  font-size:.88rem; font-weight:600; color:var(--teal); cursor:pointer; }
.consent-more svg{ width:18px; height:18px; flex:none; }
.consent-more:hover{ color:var(--teal-dark); }

/* ============ FOOTER: social links ============ */
.f-social{ display:flex; gap:10px; margin-top:14px; list-style:none; padding:0; }
.f-social a{ display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.1); color:inherit; }
.f-social a:hover{ background:rgba(255,255,255,.2); color:inherit; }
.f-social svg{ width:18px; height:18px; }
.f-social.solo a{ display:inline-flex; align-items:center; gap:8px; width:auto; height:38px; padding:0 16px 0 13px; border-radius:999px; color:#C6DCDC; }
.f-social.solo a:hover{ text-decoration:none; color:#fff; }

/* Logo-only header (header-min.njk): logo centred. Used on sales, welcome, bridge and email-link pages */
.nav-min{ justify-content:center; }

/* Minimal footer (footer-min.njk): copyright, imprint and privacy only (plus "Cookie settings" when the cookie notice is on). Used on sales, welcome, bridge and email-link pages */
.w-foot{ background:var(--cream-deep); border-top:1px solid var(--line); padding:22px 0; font-size:.82rem; color:var(--ink-soft); }
.w-foot .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.w-foot ul{ display:flex; gap:20px; list-style:none; margin:0; padding:0; }
.w-foot a{ color:var(--ink-soft); }
.w-foot .credit{ margin-left:4px; opacity:.6; }
