/* Strand Tutors: "Purple Pen" palette, matched to the leaflet.
   Soft lavender paper with white cards; dark ink; purple for anything
   clickable and for emphasis;
   yellow only as an accent on purple (badge, ticks), never as a highlighter.
   One font family (Bricolage Grotesque) so zeros are plain, plus Patrick Hand
   for the handwriting in the classroom picture.
   The logo (mark and wordmark colours) is unchanged. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/bricolage-grotesque-var.woff2") format("woff2"); }
@font-face { font-family: "Patrick Hand"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/patrick-hand.woff2") format("woff2"); }

:root {
  --ink: #221a30;            /* headings, body text, dark surfaces */
  --text: #3d3550;           /* long-form body text */
  --muted: #5e5670;          /* captions, helper text */
  --pen: #5b2b8c;            /* buttons, links, focus rings */
  --pen-dark: #45206b;       /* hover */
  --highlighter: #f2e14c;    /* marker highlights and fills only */
  --highlighter-dark: #e5d23a;
  --green-pen: #1c7a4a;      /* "secure" topics, WhatsApp */
  --green-pen-dark: #155f39;
  --paper: #fff;             /* cards, form fields */
  --page: #fbf9fe;           /* page background: very light lavender */
  --page-alt: #eee6f8;       /* every other section: a clearly deeper light lavender */
  --paper-tint: #f4f0fa;     /* panels inside white cards */
  --card-shadow: 0 1px 2px rgba(34,26,48,.05), 0 10px 30px rgba(52,30,92,.08);
  --rule: #e3dcef;           /* borders */
  --field: #8e84a0;          /* form-field borders (3:1 on white) */
  --grid: rgba(91, 43, 140, .065);
  --on-pen: #e9e1f4;         /* body text on purple */
  --on-ink: #d6cfe2;         /* body text on ink */
  --error: #b42318;
  --logo-navy: #051e40;      /* logo wordmark colours: leave as they are */
  --logo-gold: #b48848;
  --logo-gold-light: #d9ad46;
  --radius: 10px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--page); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--highlighter); }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px; color: var(--ink); background: var(--highlighter); font-weight: 700; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
::placeholder { color: var(--muted); opacity: 1; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); text-wrap: balance; }
h1, h2 { font-weight: 800; letter-spacing: -.02em; line-height: 1.04; }
h1 { margin-bottom: 22px; font-size: clamp(2.5rem, 5.2vw, 4.2rem); }
h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-weight: 700; letter-spacing: -.005em; line-height: 1.25; }
mark { padding: 0 .1em; color: var(--ink); background: var(--highlighter); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.eyebrow { margin-bottom: 10px; color: var(--pen); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.section { padding: 96px 0; }
/* Every other section uses the deeper lavender, so each section stands apart. */
.section.section-alt { background: var(--page-alt); }

/* Quiet background details: a different soft maths-inspired motif in each
   section, faded at the edges so it sits silently behind the content.
   overflow: clip trims them at the section edge without breaking sticky columns. */
.hero, .section { position: relative; overflow: clip; }
.hero > .container, .section > .container { position: relative; z-index: 1; }
.hero::after, .section::after { position: absolute; z-index: 0; content: ""; pointer-events: none; }
/* Top section: a field of small dots, bottom corner */
.hero::after { bottom: -40px; inset-inline-start: -40px; width: 460px; height: 360px; background-image: radial-gradient(rgba(91,43,140,.17) 1.6px, transparent 1.9px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side, #000 25%, transparent 100%); }
/* Sessions: one soft ring peeking in from the top corner */
.sessions::after { top: -210px; inset-inline-end: -170px; width: 460px; height: 460px; border: 40px solid rgba(91,43,140,.055); border-radius: 50%; box-shadow: 0 0 0 36px rgba(91,43,140,.028); }
/* How it works: a scatter of plus signs */
.process::after { bottom: -30px; inset-inline-start: -30px; width: 440px; height: 380px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M18 13v10M13 18h10' fill='none' stroke='%235b2b8c' stroke-opacity='.2' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 36px 36px; -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); mask-image: radial-gradient(closest-side, #000 20%, transparent 100%); }
/* About us: the outline of a right-angled triangle */
.about::after { top: 40px; inset-inline-end: -130px; width: 380px; height: 316px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 300'%3E%3Cg fill='none' stroke='%235b2b8c' stroke-opacity='.1' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M40 260V40l280 220z'/%3E%3Cpath d='M40 232h28v28'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; transform: rotate(-8deg); }
/* FAQs: two gentle waves along the bottom */
.faq::after { bottom: 18px; inset-inline-start: -40px; width: 680px; height: 170px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 160'%3E%3Cg fill='none' stroke='%235b2b8c' stroke-opacity='.13' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M0 80c40-50 80-50 120 0s80 50 120 0 80-50 120 0 80 50 120 0 80-50 120 0 80 50 120 0'/%3E%3Cpath d='M0 116c40-50 80-50 120 0s80 50 120 0 80-50 120 0 80 50 120 0 80-50 120 0 80 50 120 0' stroke-opacity='.08'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 100%); mask-image: linear-gradient(90deg, #000 40%, transparent 100%); }
/* Booking: soft diagonal lines in the top corner */
.assessment::after { top: -60px; inset-inline-end: -60px; width: 440px; height: 440px; background: repeating-linear-gradient(135deg, rgba(91,43,140,.08) 0 2px, transparent 2px 18px); -webkit-mask-image: radial-gradient(closest-side, #000 15%, transparent 100%); mask-image: radial-gradient(closest-side, #000 15%, transparent 100%); }
.section-heading { max-width: 720px; margin: 0 0 44px; }
.section-heading > p:not(.eyebrow) { color: var(--text); font-size: 1.06rem; }

/* Arrow used inside buttons and links */
.arrow { flex: 0 0 auto; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header: white paper, logo shown as designed */
.site-header { position: sticky; z-index: 100; top: 0; height: 76px; background: var(--pen); box-shadow: 0 2px 12px rgba(34,26,48,.12); }
.nav-wrap { display: flex; align-items: center; height: 100%; gap: 28px; }
.brand, .footer-brand { display: flex; flex: 0 0 auto; align-items: center; height: 60px; text-decoration: none; }
.brand-crop { display: block; flex: 0 0 52px; width: 52px; height: 52px; }
.brand-crop img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { display: grid; margin-left: 10px; color: var(--logo-navy); font-family: var(--display); line-height: 1; text-align: center; text-transform: uppercase; }
.brand-name strong { font-size: 1.05rem; font-weight: 700; letter-spacing: .3em; }
.brand-name small { margin-top: 7px; color: var(--logo-gold); font-size: .56rem; font-weight: 700; letter-spacing: .48em; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.main-nav a { position: relative; color: #fff; font-size: .95rem; font-weight: 600; text-decoration: none; }
.main-nav a::after { position: absolute; right: 0; bottom: -6px; left: 0; height: 2px; background: var(--highlighter); content: ""; transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; padding: 10px; background: none; border: 0; cursor: pointer; }
.lang-switch { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 44px; color: var(--pen); font-size: 1rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.lang-switch:hover { color: var(--pen-dark); }
.site-header .lang-switch { color: #fff; }
.site-header .lang-switch:hover { color: var(--highlighter); }
/* Logo on the purple bar: same treatment as the footer (mark on a cream disc, light wordmark) */
.site-header .brand-crop { padding: 5px; background: #fffaf0; border-radius: 50%; }
.site-header .brand-name { color: #fff; }
.site-header .brand-name small { color: var(--logo-gold-light); }
.site-header .nav-cta { color: var(--pen); background: #fff; border-color: #fff; }
.site-header .nav-cta:hover { color: var(--ink); background: var(--highlighter); border-color: var(--highlighter); }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: #fff; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 22px; color: #fff; background: var(--pen); border: 2px solid var(--pen); border-radius: var(--radius); font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.button:hover { background: var(--pen-dark); border-color: var(--pen-dark); }
.button-small { min-height: 44px; padding: 8px 16px; font-size: .9rem; }
.button-outline { color: var(--ink); background: rgba(255,255,255,.7); border-color: var(--ink); }
.button-outline:hover { background: var(--paper-tint); border-color: var(--ink); }
.button-whatsapp { gap: 10px; background: var(--green-pen); border-color: var(--green-pen); }
.button-whatsapp:hover { background: var(--green-pen-dark); border-color: var(--green-pen-dark); }
.button-whatsapp svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hero: a gentle lavender wash, with a soft glow behind the picture */
.hero { position: relative; background: var(--page); }
.hero-inner { position: relative; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding: 64px 0 76px; }
.hero-kicker { margin-bottom: 14px; color: var(--muted); font-size: .95rem; font-weight: 600; }
.hero h1 { max-width: 620px; margin-bottom: 14px; font-size: clamp(3.2rem, 7.4vw, 5.6rem); letter-spacing: -.035em; line-height: .95; }
.hero h1 .em, .price-em { color: var(--pen); }
.hero-cred { max-width: 560px; margin-bottom: 14px; color: var(--ink); font-family: var(--display); font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.hero-cred b { color: var(--pen); }
.nw { white-space: nowrap; }
.tag { display: inline-block; margin-left: 4px; padding: 3px 7px 2px; color: #fff; background: var(--pen); border-radius: 3px; font-family: var(--display); font-size: .66rem; font-weight: 800; letter-spacing: .05em; line-height: 1.2; text-transform: uppercase; vertical-align: 2px; white-space: nowrap; }
.hero-side { min-width: 0; }
.hero-picture { position: relative; margin: 0; }
.hero-picture img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 2px 4px rgba(34,26,48,.06), 0 18px 40px rgba(52,30,92,.14); }
.hero-side .hero-facts { max-width: none; margin: 24px 0 0; padding: 20px 22px; background: var(--paper); border-radius: 16px; box-shadow: var(--card-shadow); }
.hero-side .hero-facts li { border-top: 1px solid var(--rule); }
.hero-side .hero-facts li:nth-child(-n+2) { padding-top: 0; border-top: 0; }
.hand { font-family: var(--hand); }
.badge { position: absolute; top: -38px; right: -34px; display: grid; justify-items: center; align-content: center; width: 136px; height: 136px; margin: 0; color: #fff; background: var(--pen); border-radius: 50%; box-shadow: inset 0 0 0 5px var(--pen), inset 0 0 0 7px var(--highlighter); text-align: center; transform: rotate(-8deg); line-height: 1; }
.badge .b1 { color: var(--highlighter); font-family: var(--display); font-size: 2.1rem; font-weight: 800; }
.badge .b2 { margin-top: 4px; font-family: var(--display); font-size: 1rem; font-weight: 800; }
.badge .b3 { margin-top: 6px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.45); color: var(--on-pen); font-size: .7rem; font-weight: 600; }
.hero-lead { max-width: 560px; margin-bottom: 26px; color: var(--text); font-size: 1.12rem; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; max-width: 560px; margin: 0 0 30px; padding: 0; list-style: none; }
.hero-facts li { display: grid; align-content: start; gap: 2px; padding-top: 10px; border-top: 2px solid var(--ink); }
.hero-facts strong { font-family: var(--display); font-size: 1.05rem; font-weight: 700; }
.hero-facts span { color: var(--muted); font-size: .92rem; }
.hero-facts .price-em { color: var(--pen); font-size: inherit; }
.hero-facts .tag { color: #fff; font-size: .66rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin: 22px 0 0; color: var(--muted); font-size: .9rem; }

/* Gap map: the signature graphic */
.gap-card { margin: 0; padding: 24px; background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--card-shadow); }
.gap-head { margin-bottom: 14px; }
.gap-kicker { margin-bottom: 4px; color: var(--pen); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gap-title { margin-bottom: 2px; font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; }
.gap-note { margin: 0; color: var(--muted); font-size: .84rem; }
.gap-legend, .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gap-legend { margin-bottom: 14px; }
.gap-rows { display: grid; }
.gap-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid var(--rule); }
.gap-row > p { margin: 0; padding-top: 3px; font-family: var(--display); font-size: .9rem; font-weight: 700; line-height: 1.25; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 7px; border: 2px solid transparent; font-size: .82rem; font-weight: 600; line-height: 1.3; }
.chip::before { flex: 0 0 auto; width: 10px; height: 10px; border: 2px solid currentColor; content: ""; }
.chip.is-secure { color: #fff; background: var(--green-pen); }
.chip.is-secure::before { background: currentColor; }
.chip.is-shaky { color: var(--ink); background: var(--highlighter); }
.chip.is-shaky::before { background: linear-gradient(135deg, currentColor 50%, transparent 50%); }
.chip.is-gap { color: var(--ink); background: var(--paper); border: 2px dashed var(--pen); }
.chip.is-gap::before { border-color: var(--pen); }
.gap-focus { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid var(--rule); color: var(--text); font-size: .92rem; }

/* Sessions */
.sessions { background-color: var(--page); }
.section-heading .session-location { margin: 16px 0 0; color: var(--text); font-size: .98rem; }
.session-location strong { color: var(--ink); }
.session-location a, .faq-layout > div:first-child p a, .accordion details p a, .checkbox-field label a, .legal-prose a { color: var(--pen); font-weight: 700; text-underline-offset: 3px; }
.session-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.session-card { padding: 24px 28px; background: var(--paper); border: 0; border-left: 5px solid var(--pen); border-radius: var(--radius); box-shadow: var(--card-shadow); }
.session-card p { margin-bottom: 2px; color: var(--muted); font-weight: 600; }
.session-card h3 { margin-bottom: 4px; font-size: clamp(1.45rem, 2.6vw, 1.9rem); font-variant-numeric: tabular-nums; }
.session-card > span { color: var(--muted); font-size: .92rem; }
.session-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.session-overview article { padding: 28px 30px; background: var(--paper); border-radius: 16px; box-shadow: var(--card-shadow); }
.session-overview h3 { margin-bottom: 12px; font-size: 1.2rem; }
.session-overview p { margin-bottom: 10px; color: var(--text); font-size: .97rem; }
.session-overview p:last-child { margin-bottom: 0; }
.table-list { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.table-list li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; color: var(--text); background: var(--paper-tint); border: 1px solid var(--rule); border-radius: var(--radius); font-size: .94rem; }
.table-list strong { color: var(--ink); }
.grade-badge { display: inline-grid; flex: 0 0 auto; min-width: 88px; padding: 5px 10px; color: #fff; background: var(--pen); border-radius: 6px; font-family: var(--display); font-size: .8rem; font-weight: 700; text-align: center; place-items: center; }
.pricing-box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding: 30px 34px; background: var(--paper); border: 2px solid var(--pen); border-radius: 16px; box-shadow: var(--card-shadow); }
.pricing-box h3 { margin-bottom: 10px; font-size: 1.3rem; }
.pricing-box .price { margin-bottom: 12px; font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pricing-box .price .price-em { color: var(--pen); }
.pricing-box .price small { display: inline-block; margin-left: 6px; color: var(--muted); font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.pricing-box p { margin-bottom: 8px; color: var(--text); font-size: .97rem; }
.pricing-box p:last-child { margin-bottom: 0; }
.pricing-cta { display: grid; gap: 10px; justify-items: start; }
.pricing-cta small { color: var(--muted); font-size: .86rem; }

/* How it works: four icon circles joined by arrows */
.process { background-color: var(--page); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.steps li:not(:last-child)::after { position: absolute; top: 44px; right: -28px; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e5670' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; content: ""; }
.step-circle { position: relative; display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 18px; color: var(--pen); background: var(--paper); border: 1px solid var(--rule); border-radius: 50%; box-shadow: var(--card-shadow); }
.step-circle svg { width: 44px; height: 44px; }
.step-number { position: absolute; top: -2px; left: -2px; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--ink); border: 3px solid var(--page); border-radius: 50%; font-family: var(--display); font-size: .92rem; font-weight: 800; line-height: 1; }
.steps h3 { margin-bottom: 6px; font-size: 1.18rem; }
.steps p { max-width: 230px; margin: 0; color: var(--text); font-size: .95rem; }

/* Maths map, explained in plain words */
.map-explainer { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; margin-top: 64px; }
.map-copy h3 { margin-bottom: 10px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -.015em; }
.map-copy p { color: var(--text); }
.map-key { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; font-weight: 700; }
.map-key li { display: flex; align-items: center; gap: 12px; }
.map-key .chip { min-width: 92px; }

/* About */
.about { background-color: var(--page); }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.about-layout > div:first-child > p:last-child { margin-bottom: 0; color: var(--text); }
.about-prose { padding: 4px 0 4px 30px; border-left: 2px solid var(--pen); }
.about-prose h3 { margin: 0 0 8px; font-size: 1.2rem; }
.about-prose h3:not(:first-child) { margin-top: 30px; }
.about-prose p { margin-bottom: 14px; color: var(--text); }
.about-prose p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { background-color: var(--page); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-layout > div:first-child { position: sticky; top: 120px; align-self: start; }
.faq-layout > div:first-child p:last-child { color: var(--text); }
/* Simple list with thin lines between questions (no boxes) */
.accordion details { border-top: 1px solid rgba(34,26,48,.13); }
.accordion details:last-child { border-bottom: 1px solid rgba(34,26,48,.13); }
.accordion summary { position: relative; padding: 20px 44px 20px 0; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { position: absolute; top: 19px; right: 0; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b2b8c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; content: ""; }
.accordion details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b2b8c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.accordion details p { margin-bottom: 0; padding: 0 34px 22px 0; color: var(--text); }

/* Assessment: purple pen */
.assessment { color: var(--ink); background-color: var(--page); }
.assessment-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.assessment-copy { position: sticky; top: 116px; }
.assessment-copy > p:not(.eyebrow) { color: var(--text); }
.assessment-copy > p a { color: var(--pen); font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.check-list { margin: 0 0 22px; padding: 0; list-style: none; color: var(--ink); }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.tick { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--green-pen); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.assessment-form { justify-self: end; width: 100%; max-width: 600px; padding: 28px; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; box-shadow: var(--card-shadow); }
.assessment-form :focus-visible { outline-color: var(--pen); }
.form-section { min-width: 0; margin: 0; padding: 0 0 16px; border: 0; }
.form-section + .form-section { padding-top: 16px; border-top: 1px solid var(--rule); }
.form-section legend { display: flex; align-items: center; gap: 11px; width: 100%; margin-bottom: 13px; padding: 0; color: var(--ink); font-family: var(--display); font-size: 1.06rem; font-weight: 700; }
.form-section legend span { display: grid; width: 28px; height: 28px; color: #fff; background: var(--pen); border-radius: 50%; font-size: .8rem; place-items: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 16px; }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label { margin-bottom: 6px; font-size: .92rem; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; color: var(--ink); background: #fdfcff; border: 1px solid var(--field); border-radius: 8px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pen); outline: 3px solid rgba(91,43,140,.25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.error { min-height: 0; color: var(--error); font-size: .82rem; }
.error:not(:empty) { min-height: 17px; margin-top: 3px; }
.checkbox-field { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; }
.assessment-form > .checkbox-field { margin-top: 2px; padding-top: 14px; border-top: 1px solid var(--rule); }
.checkbox-field input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--pen); }
.checkbox-field label { margin: 0; font-weight: 400; font-size: .93rem; }
.checkbox-field .error { grid-column: 2; }
.form-submit { width: 100%; margin-top: 14px; }
.form-submit:disabled { cursor: wait; opacity: .7; }
.form-status { margin: 16px 0 0; font-weight: 700; text-align: center; }
.form-status.success { padding: 12px; color: #14532d; background: #e6f4ea; border-radius: var(--radius); }
.form-status.error-status { padding: 12px; color: #842029; background: #f8d7da; border-radius: var(--radius); }
.form-privacy { margin: 12px 0 0; color: var(--muted); font-size: .84rem; text-align: center; }

/* Footer: ink */
.site-footer { padding: 0 0 24px; color: var(--on-ink); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 50px; padding-top: 68px; }
.footer-brand { margin-bottom: 20px; }
.site-footer .brand-crop { padding: 6px; background: #fffaf0; border-radius: 50%; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: var(--logo-gold-light); }
.footer-grid h2 { margin-bottom: 18px; color: #fff; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid p { font-size: .92rem; }
.footer-grid > div > a:not(.footer-brand):not(.button), .footer-grid > div > span { display: block; margin-bottom: 8px; font-size: .92rem; text-decoration: none; }
.footer-grid > div > a:not(.footer-brand):not(.button):hover { color: var(--highlighter); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; }
.footer-bottom p { margin: 0 0 4px; }
.footer-bottom a { color: var(--on-ink); }

.mobile-cta { display: none; }

/* Policy pages and 404 */
.legal-page { display: flex; flex-direction: column; min-height: 100vh; }
.legal-page main { flex: 1 0 auto; padding: 64px 0 96px; }
.site-footer > .footer-bottom:first-child { margin-top: 0; padding-top: 28px; border-top: 0; }
.legal-prose { max-width: 860px; padding: 44px 52px; background: var(--paper); border-radius: 18px; box-shadow: var(--card-shadow); }
.legal-prose h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); }
.legal-meta { margin-bottom: 36px; color: var(--muted); font-size: .94rem; }
.legal-prose h2 { margin: 40px 0 12px; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.legal-prose h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.legal-prose p, .legal-prose li { color: var(--text); }
.legal-prose ul, .legal-prose ol { padding-left: 22px; }
.legal-prose li { margin-bottom: 6px; }
.legal-prose table { width: 100%; margin: 16px 0 24px; border-collapse: collapse; font-size: .95rem; }
.legal-prose th, .legal-prose td { padding: 10px 12px; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.legal-prose th { background: var(--paper-tint); }
.legal-prose .notice { padding: 16px 20px; background: var(--paper-tint); border-left: 4px solid var(--pen); border-radius: var(--radius); }
.legal-prose .notice p:last-child { margin-bottom: 0; }
.legal-prose .button { color: #fff; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--pen); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

@media (max-width: 1020px) {
  .nav-cta { display: none; }
  .main-nav { gap: 20px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 48px 0 60px; }
  .gap-card { max-width: 640px; }
  .hero-side { max-width: 640px; }
  .hero-picture { margin-top: 22px; }
  .map-explainer { grid-template-columns: 1fr; gap: 28px; margin-top: 52px; }
  .assessment-layout { gap: 45px; }
  .about-layout { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  body { padding-bottom: 76px; }
  .mobile-cta { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.98); border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgba(34,26,48,.08); }
  .mobile-cta .button { flex: 1; min-height: 48px; padding: 8px 12px; gap: 8px; font-size: .95rem; }
  .mobile-cta .button-whatsapp { flex: 0 0 auto; }
  .mobile-cta .button-whatsapp span { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 70px; }
  .container { width: min(100% - 32px, 640px); }
  .section { padding: 72px 0; }
  .hero::after { width: 300px; height: 260px; }
  .sessions::after { top: -150px; inset-inline-end: -150px; width: 280px; height: 280px; border-width: 26px; box-shadow: 0 0 0 22px rgba(91,43,140,.028); }
  .process::after { width: 300px; height: 280px; }
  .about::after { top: 10px; inset-inline-end: -90px; width: 230px; height: 192px; }
  .faq::after { bottom: 8px; width: 420px; height: 105px; }
  .assessment::after { top: -40px; inset-inline-end: -60px; width: 280px; height: 280px; }
  .site-header { height: 68px; }
  .brand { height: 52px; }
  .brand-crop { flex-basis: 46px; width: 46px; height: 46px; }
  .menu-toggle { display: block; order: 2; margin-left: 8px; }
  .lang-switch { order: 1; margin-left: auto; }
  .main-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; align-items: stretch; padding: 12px 20px 22px; background: #fff; border-bottom: 1px solid var(--rule); box-shadow: 0 14px 28px rgba(34,26,48,.1); }
  .main-nav.is-open { display: grid; }
  .main-nav a { display: flex; align-items: center; min-height: 48px; padding: 0; color: var(--ink); font-size: 1.05rem; }
  .main-nav a::after { background: var(--pen); }
  .hero-inner { padding: 36px 0 52px; }
  .hero-kicker { font-size: .88rem; }
  .hero-lead { font-size: 1.04rem; }
  .hero-facts { gap: 14px 16px; }
  .gap-card { padding: 18px 16px; }
  .hero-side .hero-facts { padding: 16px; }
  .hero-picture { margin-top: 40px; }
  .badge { top: -36px; right: -4px; width: 92px; height: 92px; box-shadow: inset 0 0 0 4px var(--pen), inset 0 0 0 6px var(--highlighter); }
  .badge .b1 { font-size: 1.4rem; }
  .badge .b2 { margin-top: 3px; font-size: .74rem; }
  .badge .b3 { margin-top: 4px; padding-top: 4px; font-size: .56rem; }
  .gap-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; }
  .steps li:not(:last-child)::after { display: none; }
  .step-circle { width: 92px; height: 92px; margin-bottom: 14px; }
  .step-circle svg { width: 36px; height: 36px; }
  .step-number { width: 30px; height: 30px; font-size: .84rem; }
  .steps h3 { font-size: 1.05rem; }
  .steps p { font-size: .9rem; }
  .session-overview, .session-grid, .faq-layout, .assessment-layout, .pricing-box { grid-template-columns: 1fr; }
  .session-card { padding: 20px 22px; }
  .pricing-box { padding: 24px; }
  .about-prose { padding-left: 20px; }
  .legal-prose { padding: 28px 20px; }
  .faq-layout { gap: 30px; }
  .faq-layout > div:first-child, .assessment-copy { position: static; }
  .assessment-form { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-grid > div > a:not(.footer-brand):not(.button) { margin-bottom: 0; padding: 9px 0; }
  .legal-page main { padding: 40px 0 80px; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 32px, 440px); }
  .button-row .button { width: 100%; }
  .hero-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tag { display: table; margin: 4px 0 0; }
  .section-heading { margin-bottom: 34px; }
  .assessment-form { padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
