/* Nauka Angielskiego theme styles. Generated from the approved design (tokens, components, layout).
   Colours, type and spacing live here so the design stays consistent; edit content in the block editor. */

/* ---- Tokens ---- */
:root {
  --surface: #ffffff; 
  --surface-raised: #ffffff; 
  --surface-sunken: #f4f4f4; 
  --surface-dark: #1f1f1f; 
  --on-dark: #ffffff; 
  --on-dark-muted: #c4c4c4; 
  --ink: #111111; 
  --ink-muted: #4a4a4a; 
  --border: #8a8a8a; 
  --hairline: #e2e2e2; 
  --brand: #222222; 
  --brand-strong: #000000; 
  --brand-soft: #f0f0f0; 
  --on-brand: #ffffff; 
  --accent: #c8304c; 
  --action: #c8304c; 
  --action-strong: #a8203f; 
  --on-action: #ffffff; 
  --highlight: #4f8cff; 
  --highlight-strong: #2b6cf0; 
  --on-highlight: #ffffff; 
  --success: #1f7a3d; 
  --success-soft: #e3f5e8; 
  --warning: #8a5a00; 
  --danger: #b42318; 
  --focus: #1f6feb; 
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.08); 
  --glow: 0 0 0 4px rgba(79, 140, 255, 0.25), 0 0 32px rgba(79, 140, 255, 0.55); 
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.12); 
}

:root {
  --space-1: 4px; 
  --space-2: 8px; 
  --space-3: 12px; 
  --space-4: 16px; 
  --space-6: 24px; 
  --space-8: 32px; 
  --space-12: 48px; 
  --space-16: 64px; 
  --space-24: 96px; 
  --radius-sm: 4px; 
  --radius-md: 8px; 
  --radius-lg: 16px; 
  --radius-pill: 999px; 
  --container-max: 1200px; 
  --measure: 68ch; 
  --bp-tablet: 600px; 
  --bp-desktop: 1024px; 
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --text-display-xl: 700 56px/60px var(--font-display); 
  --text-display-l: 700 40px/46px var(--font-display); 
  --text-heading-1: 700 32px/38px var(--font-display); 
  --text-heading-2: 600 24px/30px var(--font-display); 
  --text-heading-3: 600 20px/28px var(--font-display); 
  --text-body-l: 400 18px/28px var(--font-sans); 
  --text-body: 400 16px/26px var(--font-sans); 
  --text-body-s: 400 14px/22px var(--font-sans); 
  --text-label: 600 13px/16px var(--font-sans); 
  --text-caption: 400 12px/16px var(--font-sans); 
  --text-display-xl-mobile: 700 36px/40px var(--font-display); 
  --text-display-l-mobile: 700 30px/36px var(--font-display); 
  --text-heading-1-mobile: 700 26px/32px var(--font-display); 
  --text-heading-2-mobile: 600 22px/28px var(--font-display); 
  --text-heading-3-mobile: 600 18px/26px var(--font-display); 
  --text-body-l-mobile: 400 17px/26px var(--font-sans); 
  --text-code: 400 14px/22px var(--font-mono); 
}
.display-xl {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 60px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.display-l {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 46px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.heading-1 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: 0;
}
.heading-2 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: 0;
}
.heading-3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0;
}
.body-l {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-s {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.caption {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.display-xl-mobile {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.display-l-mobile {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.heading-1-mobile {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0;
}
.heading-2-mobile {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 0;
}
.heading-3-mobile {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: 0;
}
.body-l-mobile {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: 0;
}
.code {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0;
}

/* ---- Components ---- */
/* Spec Work Design System: component styles. Every value is a token. */
.ds-root { font-family: var(--font-sans); color: var(--ink); background: var(--surface); }

/* Button */
.ds-btn { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: var(--radius-md); border: 1px solid transparent; font-family: var(--font-sans); font-size: 16px; line-height: 20px; font-weight: 600; text-decoration: none; cursor: pointer; }
.ds-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ds-btn-primary { background: var(--brand); color: var(--on-brand); }
.ds-btn-primary:hover { background: var(--brand-strong); }
.ds-btn-secondary { background: var(--surface-raised); color: var(--ink); border-color: var(--border); }
.ds-btn-secondary:hover { border-color: var(--ink); }
.ds-btn-ghost { background: transparent; color: var(--brand); padding-inline: var(--space-3); }
.ds-btn-ghost:hover { background: var(--brand-soft); }
.ds-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Text field */
.ds-field { display: flex; flex-direction: column; gap: var(--space-2); max-width: 360px; }
.ds-field label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.ds-input { padding: var(--space-3) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); font: 16px/24px var(--font-sans); }
.ds-input::placeholder { color: var(--ink-muted); }
.ds-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ds-help { font-size: 14px; line-height: 22px; color: var(--ink-muted); margin: 0; }
.ds-field.is-error .ds-input { border-color: var(--danger); }
.ds-field.is-error .ds-help { color: var(--danger); }

/* Card */
.ds-card { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-md); color: var(--ink); text-decoration: none; min-width: 0; }
a.ds-card:hover { box-shadow: var(--shadow-1); border-color: var(--border); }
a.ds-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ds-card h4 { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; }
.ds-card p { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ds-card .ds-card-link { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--brand); }

/* Badge */
.ds-badge { display: inline-flex; align-items: center; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--surface-sunken); color: var(--ink); }
.ds-badge-info { background: var(--brand-soft); color: var(--ink); }
.ds-badge-new { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.ds-badge-success { color: var(--success); }
.ds-badge-warning { color: var(--warning); }
.ds-badge-danger { color: var(--danger); }

/* Site header */
.ds-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-4) var(--space-8); background: var(--surface-raised); border-bottom: 1px solid var(--hairline); }
.ds-logo { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 28px; color: var(--ink); text-decoration: none; }
.ds-nav { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.ds-nav a { color: var(--ink); text-decoration: none; font-size: 16px; line-height: 24px; padding-block: var(--space-1); border-bottom: 2px solid transparent; }
.ds-nav a:hover { color: var(--brand); }
.ds-nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.ds-nav a:focus-visible, .ds-logo:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Section heading */
.ds-section-head { display: flex; flex-direction: column; gap: var(--space-2); max-width: var(--measure); }
.ds-eyebrow { margin: 0; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.ds-section-head h2 { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 700; color: var(--ink); text-wrap: balance; }
.ds-section-head .ds-lead { margin: var(--space-2) 0 0; font-size: 18px; line-height: 28px; color: var(--ink-muted); }

/* Tabs: underline style. Active tab in ink with a thick ink bar; inactive in ink-muted. */
.ds-tabs { position: relative; border-bottom: 1px solid var(--hairline); }
.ds-tablist { display: flex; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.ds-tablist::-webkit-scrollbar { display: none; }
.ds-tab { flex: 0 0 auto; position: relative; padding: var(--space-4) var(--space-8); margin: 0; border: 0; background: transparent; font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 700; color: var(--ink-muted); white-space: nowrap; cursor: pointer; }
.ds-tab:hover { color: var(--ink); }
.ds-tab[aria-selected="true"] { color: var(--ink); }
.ds-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--ink); }
.ds-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
/* Edge fades show there are more tabs to scroll to. The script toggles these classes. */
.ds-tabs.fade-left .ds-tablist { -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--space-16)); mask-image: linear-gradient(to right, transparent, #000 var(--space-16)); }
.ds-tabs.fade-right .ds-tablist { -webkit-mask-image: linear-gradient(to left, transparent, #000 var(--space-16)); mask-image: linear-gradient(to left, transparent, #000 var(--space-16)); }
.ds-tabs.fade-left.fade-right .ds-tablist { -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--space-16), #000 calc(100% - var(--space-16)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--space-16), #000 calc(100% - var(--space-16)), transparent); }
.ds-tabpanel { padding-block: var(--space-8); }
.ds-tabpanel:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Pricing card: one package in a pricing grid. */
.ds-price { position: relative; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8) var(--space-6); background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-md); color: var(--ink); min-width: 0; }
.ds-price.is-featured { border: 2px solid var(--highlight, var(--brand)); border-radius: var(--radius-lg); box-shadow: var(--glow, var(--shadow-1)); }
.ds-price-flag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--highlight-strong, var(--highlight, var(--brand))); color: var(--on-highlight, var(--on-brand)); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ds-price-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 24px; }
.ds-price-name { margin: 0; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.ds-price-amount { display: flex; align-items: baseline; gap: var(--space-2); margin: 0; }
.ds-price-amount strong { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ds-price-amount s { font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.ds-price-meta { margin: 0; font-size: 16px; line-height: 26px; font-weight: 600; color: var(--ink); }
.ds-price-count { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600; color: var(--ink); }
.ds-price-amount .ds-price-unit { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--ink-muted); }
.ds-price-total { margin: calc(var(--space-2) * -1) 0 0; font-size: 20px; line-height: 28px; color: var(--ink-muted); }
.ds-price-total b { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ds-price-save { display: inline-flex; align-self: flex-start; padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill); background: var(--success); color: var(--surface-raised); font-size: 13px; line-height: 16px; font-weight: 600; }
.ds-price-list { list-style: none; margin: 0; padding: var(--space-3) var(--space-4); background: var(--surface-sunken); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: var(--space-2); }
.ds-price:not(.is-wide) .ds-price-list { flex: 1 1 auto; }
.ds-price-save.is-placeholder { visibility: hidden; }
/* Tighter price stack: lessons, per-lesson price, total and saving sit space-2 apart. */
.ds-price-count + .ds-price-amount, .ds-price-amount + .ds-price-total, .ds-price-total + .ds-price-save { margin-top: calc(var(--space-2) * -1); }
.ds-price-count + .ds-price-amount { margin-top: calc(var(--space-3) * -1); }
.ds-price-list li { display: flex; gap: var(--space-2); font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ds-price-list svg { flex: none; width: 20px; height: 20px; color: var(--brand); }
.ds-price .ds-btn { margin-top: auto; justify-content: center; }
/* Wide pricing card: one special offer shown full width under the grid. */
.ds-price.is-wide { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: var(--space-4); overflow: hidden; }
/* Corner sash: a diagonal ribbon across the top-left corner of a wide card. */
.ds-price-sash { position: absolute; z-index: 2; top: calc(var(--space-12) + var(--space-1)); left: calc(var(--space-12) * -1 - var(--space-2)); width: calc(var(--space-24) * 2 + var(--space-12)); transform: rotate(-45deg); padding: var(--space-1) 0; text-align: center; background: var(--accent); color: var(--surface-raised); box-shadow: var(--shadow-1); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.ds-price.is-wide .ds-price-main { display: flex; flex-direction: column; gap: var(--space-4); }
.ds-price-media { width: calc(var(--space-24) + var(--space-16)); aspect-ratio: 1 / 1; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-sunken); border: 1px solid var(--hairline); display: flex; align-items: center; justify-content: center; text-align: center; padding: var(--space-2); font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.ds-price-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ds-price-media:has(img) { padding: 0; border: 0; }
/* In a wide card the image bleeds to the card's edges and fills its full height. */
.ds-price.is-wide .ds-price-media { width: auto; aspect-ratio: 16 / 9; margin: calc(var(--space-8) * -1) calc(var(--space-6) * -1) 0; border: 0; border-radius: var(--radius-md) var(--radius-md) 0 0; }
@media (min-width: 1024px) {
  .ds-price.is-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; align-items: center; column-gap: var(--space-8); padding: var(--space-8); }
  .ds-price.is-wide:has(.ds-price-media) { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.4fr) auto; }
  .ds-price.is-wide .ds-price-head { justify-content: flex-start; }
  .ds-price.is-wide .ds-price-list { align-self: center; }
  .ds-price.is-wide .ds-btn { margin-top: 0; }
  .ds-price.is-wide .ds-price-media { align-self: stretch; width: calc(var(--space-24) * 2 + var(--space-12)); aspect-ratio: auto; margin: calc(var(--space-8) * -1) 0 calc(var(--space-8) * -1) calc(var(--space-8) * -1); border-radius: var(--radius-md) 0 0 var(--radius-md); }
}

/* Testimonial: a quote with the person's name and place. */
.ds-quote { position: relative; display: flex; flex-direction: column; gap: var(--space-4); margin: 0; padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-md); min-width: 0; }
.ds-quote-stars { display: flex; gap: var(--space-1); color: var(--brand); }
.ds-quote-stars svg { width: 20px; height: 20px; }
.ds-quote blockquote { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink); }
.ds-quote figcaption { margin-top: auto; display: flex; flex-direction: column; }
.ds-quote-name { font-size: 16px; line-height: 26px; font-weight: 600; color: var(--ink); }
.ds-quote-place { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ds-quote-title { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.ds-quote blockquote p { margin: 0; }
.ds-quote blockquote p + p { margin-top: var(--space-3); }
.ds-quote figcaption.ds-quote-person { flex-direction: row; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--hairline); }
.ds-quote-person .ds-quote-name, .ds-quote-person .ds-quote-place { display: block; }
.ds-quote-avatar { flex: none; width: var(--space-12); height: var(--space-12); border-radius: var(--radius-pill); object-fit: cover; background: var(--surface-sunken); }
@media (max-width: 599px) { .ds-quote-title { font-size: 18px; line-height: 26px; } }
/* Read more: long quotes show four lines until opened. CSS only (a visually hidden checkbox and its label). */
.ds-quote-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ds-quote.is-clamped blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.ds-quote-toggle:checked ~ blockquote { display: block; -webkit-line-clamp: unset; overflow: visible; }
.ds-quote-more { align-self: flex-start; margin-top: calc(var(--space-2) * -1); font-size: 14px; line-height: 22px; font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ds-quote-more:hover { color: var(--brand-strong); }
.ds-quote-more .ds-less, .ds-quote-toggle:checked ~ .ds-quote-more .ds-more { display: none; }
.ds-quote-toggle:checked ~ .ds-quote-more .ds-less { display: inline; }
.ds-quote-toggle:focus-visible ~ .ds-quote-more { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }

/* Accordion: question-and-answer list built on details/summary. */
.ds-accordion { border-top: 1px solid var(--hairline); max-width: var(--measure); }
.ds-acc-item { border-bottom: 1px solid var(--hairline); }
.ds-acc-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.ds-acc-item summary::-webkit-details-marker { display: none; }
.ds-acc-item summary:hover { color: var(--brand); }
.ds-acc-item summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ds-acc-item summary svg { flex: none; width: 24px; height: 24px; color: var(--brand); transition: transform .15s ease; }
.ds-acc-item[open] summary svg { transform: rotate(45deg); }
.ds-acc-body { padding: 0 0 var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.ds-acc-body p { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink-muted); }

/* Site footer: closes every page. */
.ds-footer { background: var(--surface-sunken); color: var(--ink); padding: var(--space-12) var(--space-8) var(--space-8); }
.ds-footer-inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-8); }
.ds-footer h2 { margin: 0 0 var(--space-4); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.ds-footer p, .ds-footer li { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ds-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.ds-footer a { color: var(--ink); text-decoration: none; }
.ds-footer a:hover { color: var(--brand); text-decoration: underline; }
.ds-footer a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ds-footer-legal { max-width: var(--container-max); margin: var(--space-8) auto 0; padding-top: var(--space-6); border-top: 1px solid var(--hairline); font-size: 12px; line-height: 16px; color: var(--ink-muted); }
@media (max-width: 599px) {
  .ds-footer { padding: var(--space-12) var(--space-4) var(--space-8); }
  .ds-footer-inner { grid-template-columns: 1fr; }
  .ds-price-amount strong { font-size: 36px; line-height: 40px; }
  .ds-acc-item summary { font-size: 18px; line-height: 26px; }
}

/* Steps: a short numbered sequence (how it works, how to start). */
.ds-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-6); counter-reset: ds-step; }
.ds-step { counter-increment: ds-step; display: flex; flex-direction: column; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--hairline); }
.ds-step::before { content: counter(ds-step, decimal-leading-zero); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; color: var(--brand); }
.ds-step h3 { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.ds-step p { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink-muted); }

/* Callout: one highlighted note in a section, such as a personal message. */
.ds-callout { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-8); background: var(--brand-soft); border-radius: var(--radius-lg); color: var(--ink); max-width: var(--container-max); }
.ds-callout h3 { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink); }
.ds-callout p { margin: 0; font-size: 18px; line-height: 28px; color: var(--ink); max-width: var(--measure); }
.ds-callout-sign { font-size: 14px; line-height: 22px; font-weight: 600; color: var(--ink); }
@media (max-width: 599px) {
  .ds-callout { padding: var(--space-6); }
  .ds-callout p { font-size: 17px; line-height: 26px; }
  .ds-step h3, .ds-callout h3 { font-size: 18px; line-height: 26px; }
}

/* Mobile type scale. Below bp-tablet (600px), headings step down one size.
   Values match the "Mobile (below 600px)" type styles in tokens.json.
   body, body-s, label, caption, code and form inputs stay the same (inputs must stay 16px+). */
@media (max-width: 599px) {
  .display-xl { font-size: 36px; line-height: 40px; }
  .display-l { font-size: 30px; line-height: 36px; }
  .heading-1, .ds-section-head h2 { font-size: 26px; line-height: 32px; }
  .heading-2 { font-size: 22px; line-height: 28px; }
  .heading-3, .ds-card h4 { font-size: 18px; line-height: 26px; }
  .body-l, .ds-section-head .ds-lead { font-size: 17px; line-height: 26px; }
}

/* ---- Page layout ---- */
/* Nauka Angielskiego: page layout. Every value is a Spec Work token. */
body { background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; }
body *, body *::before, body *::after { box-sizing: border-box; }
body a { color: var(--brand); }
body a:hover { color: var(--brand-strong); }
body a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
body .ds-btn-primary, body .ds-btn-primary:hover { background: var(--action); color: var(--on-action); }
body .ds-btn-primary:hover { background: var(--action-strong); }
body .ds-btn-secondary, body .ds-btn-secondary:hover { color: var(--ink); }
/* Pricing cards: every card's button uses the same primary style */
body .ds-price .ds-btn { background: var(--action); color: var(--on-action); border-color: transparent; }
body .ds-price .ds-btn:hover { background: var(--action-strong); color: var(--on-action); }
body h1, body h2, body h3, body p, body ul, body ol { margin: 0; }

/* Container and sections */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding-inline: var(--space-8); }
.section { padding-block: var(--space-24); }
.section-sunken { background: var(--surface-sunken); }
.section-dark { background: var(--surface-dark); }
.section-dark .ds-section-head h2, .section-dark .ds-eyebrow { color: var(--on-dark); }
.section-dark .ds-section-head .ds-lead, .section-dark .note-line { color: var(--on-dark-muted); }
.section-body { display: flex; flex-direction: column; gap: var(--space-8); }
.center { text-align: center; align-items: center; margin-inline: auto; }

/* Header: centred to the container; nav collapses below bp-desktop */
.ds-header { padding-inline: max(var(--space-8), calc((100% - var(--container-max)) / 2 + var(--space-8))); position: relative; }
.nav-menu { display: none; }
.nav-menu summary { list-style: none; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu-panel { position: absolute; right: var(--space-4); top: calc(100% + var(--space-2)); z-index: 10; display: flex; flex-direction: column; gap: var(--space-1); min-width: 240px; padding: var(--space-4); background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-md); box-shadow: var(--shadow-2); }
.nav-menu-panel a { color: var(--ink); text-decoration: none; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); }
.nav-menu-panel a:hover { background: var(--brand-soft); color: var(--ink); }
.nav-menu-panel a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: var(--space-2); }

/* Logo: the client's wordmark, 40px tall (32px on mobile) */
.ds-logo { display: inline-flex; align-items: center; }
.logo-img { display: block; height: calc(var(--space-8) + var(--space-2)); width: auto; }
@media (max-width: 599px) { .logo-img { height: var(--space-8); } }

/* Sticky in-page links (landing pages) */
html { scroll-behavior: smooth; }
.anchor-bar { position: sticky; top: 0; z-index: 20; background: var(--surface-raised); border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-1); }
.anchor-bar-inner { max-width: var(--container-max); margin: 0 auto; padding: var(--space-2) var(--space-8); display: flex; align-items: center; gap: var(--space-6); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.anchor-bar-inner::-webkit-scrollbar { display: none; }
.anchor-bar a:not(.ds-btn) { color: var(--ink); text-decoration: none; font-size: 14px; line-height: 22px; font-weight: 600; padding-block: var(--space-2); border-bottom: 2px solid transparent; }
.anchor-bar a:not(.ds-btn):hover { color: var(--ink); border-bottom-color: var(--ink); }
.anchor-bar-cta { margin-left: auto; padding: var(--space-2) var(--space-4); font-size: 14px; line-height: 22px; opacity: 0; visibility: hidden; transform: translateY(calc(var(--space-1) * -1)); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.anchor-bar-cta.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .anchor-bar-cta { transition: none; } }
body section[id] { scroll-margin-top: var(--space-16); }
@media (max-width: 599px) {
  .anchor-bar-inner { padding-inline: var(--space-4); gap: var(--space-4); }
  .anchor-bar-cta { display: none; }
}

/* Grids */
.grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(1, minmax(0, 1fr)); }
.split { display: grid; gap: var(--space-16); grid-template-columns: repeat(1, minmax(0, 1fr)); align-items: center; }
.split-top { align-items: start; }

/* Hero */
.hero { padding-block: var(--space-24); }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-6); max-width: var(--measure); }
.hero-copy .ds-eyebrow { margin: 0; }
.hero-lead { color: var(--ink-muted); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.rating { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.rating .stars { display: flex; gap: var(--space-1); color: var(--brand); }
.rating svg { width: 20px; height: 20px; }
.trust { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); list-style: none; padding: 0; }
.trust li { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.trust svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* Image placeholder until real photography arrives */
.media { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; width: 100%; background: var(--surface-sunken); border: 1px solid var(--hairline); border-radius: var(--radius-lg); color: var(--ink-muted); font-size: 14px; line-height: 22px; text-align: center; padding: var(--space-6); }
.media-wide { aspect-ratio: 4 / 3; }
.media-square { aspect-ratio: 1 / 1; }
.hero-photo { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-lg); background: var(--surface-sunken); }

/* Panel: a hero feature panel (radius-lg) */
.panel { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-8); background: var(--surface-raised); border: 1px solid var(--hairline); border-radius: var(--radius-lg); }
.panel-figure { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 700; letter-spacing: -0.02em; color: var(--brand); font-variant-numeric: tabular-nums; }
.panel hr { border: 0; border-top: 1px solid var(--hairline); margin: 0; width: 100%; }

/* Countdown clock to the exam */
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); margin: 0; }
.countdown div { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); padding: var(--space-3) var(--space-2); background: var(--surface-sunken); border-radius: var(--radius-md); }
.countdown dd { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.countdown dt { font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.countdown-date { font-size: 14px; line-height: 22px; color: var(--ink-muted); }

/* Countdown strip: full-width dark band above the hero */
.countdown-strip { background: var(--surface-dark); color: var(--on-dark); padding-block: var(--space-6); }
.countdown-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.countdown-strip-text { display: flex; flex-direction: column; gap: var(--space-1); }
.countdown-strip .ds-eyebrow { color: var(--on-dark-muted); }
.countdown-strip-figure { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -0.01em; color: var(--on-dark); }
.countdown-strip .countdown-date { color: var(--on-dark-muted); }
.countdown-strip .countdown { grid-template-columns: repeat(4, minmax(var(--space-16), 1fr)); }
.countdown-strip .countdown div { background: var(--surface-raised); padding-inline: var(--space-4); }
@media (max-width: 599px) {
  .countdown-strip-figure { font-size: 26px; line-height: 32px; }
  .countdown-strip .countdown { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Callout on light green */
body .ds-callout { background: var(--success-soft); }

/* Feature: icon, title, text. Not a card. */
.feature { display: flex; flex-direction: column; gap: var(--space-2); }
.feature-icon { width: 24px; height: 24px; color: var(--brand); margin-bottom: var(--space-2); }
.feature p { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.feature-row { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.feature-row .feature-icon { margin: var(--space-1) 0 0; }
.feature-row div { display: flex; flex-direction: column; gap: var(--space-2); }
.feature-row p { font-size: 16px; line-height: 26px; color: var(--ink-muted); }

/* Check list */
.checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.checklist li { display: flex; gap: var(--space-2); }
.checklist svg { width: 24px; height: 24px; color: var(--brand); flex: none; }

/* Prose */
.prose { display: flex; flex-direction: column; gap: var(--space-4); max-width: var(--measure); }
.prose p { color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.small { font-size: 14px; line-height: 22px; }
.note-line { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.note-line svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* Contact list */
.contact-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-8); }
.contact-list li { display: flex; align-items: center; gap: var(--space-2); }
.contact-list svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--brand); text-decoration: underline; }

/* Card text inside non-link cards */
.ds-card .card-icon { width: 24px; height: 24px; color: var(--brand); }
.ds-card .heading-3 { margin: 0; }

/* Testimonial wall: balanced columns for a long list */
.quote-wall { columns: 1; column-gap: var(--space-6); }
.quote-wall > .ds-quote { break-inside: avoid; margin-bottom: var(--space-6); }
@media (min-width: 600px) { .quote-wall { columns: 2; } }
@media (min-width: 1024px) { .quote-wall { columns: 3; } }

/* In-page anchor list (Reviews and FAQ) */
.anchor-nav { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Tablet: 600px and up */
@media (min-width: 600px) {
  .section, .hero { padding-block: var(--space-16); }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Desktop: 1024px and up */
@media (min-width: 1024px) {
  .section, .hero { padding-block: var(--space-24); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-hero { grid-template-columns: 7fr 5fr; }
}
@media (max-width: 1023px) {
  .ds-header .ds-nav, .ds-header .header-cta { display: none; }
  .nav-menu { display: block; }
}
/* Mobile: below 600px */
@media (max-width: 599px) {
  .container { padding-inline: var(--space-4); }
  .section, .hero { padding-block: var(--space-12); }
  .ds-header { padding-inline: var(--space-4); }
  .panel { padding: var(--space-6); }
  .panel-figure { font-size: 36px; line-height: 40px; }
  .countdown dd { font-size: 26px; line-height: 32px; }
  .actions .ds-btn { width: 100%; justify-content: center; }
}

/* Limited-time offer page: raspberry offer band, struck-through regular prices, -20% tags */
.offer-strip { background: var(--accent); color: var(--on-action); padding-block: var(--space-6); }
.offer-strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.offer-strip-text { display: flex; flex-direction: column; gap: var(--space-1); max-width: var(--measure); }
.offer-strip .ds-eyebrow { color: var(--on-action); }
.offer-strip-figure { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -0.01em; color: var(--on-action); }
.offer-strip-note { font-size: 14px; line-height: 22px; color: var(--on-action); }
body .offer-strip a { color: var(--on-action); font-weight: 600; }
.offer-strip .countdown { grid-template-columns: repeat(4, minmax(var(--space-16), 1fr)); }
.offer-strip .countdown div { background: var(--surface-raised); padding-inline: var(--space-4); }
.offer-strip .countdown dd { color: var(--accent); }
.hero-photo.is-square { aspect-ratio: 1 / 1; object-position: center 22%; }
.ds-badge-offer { background: var(--accent); color: var(--on-action); }
.offer-note { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4) var(--space-6); background: var(--surface-sunken); border-left: 4px solid var(--accent); border-radius: var(--radius-md); }
.offer-note p { font-size: 16px; line-height: 26px; color: var(--ink); }
.ds-price-off { position: absolute; top: var(--space-4); right: var(--space-4); z-index: 1; display: inline-flex; align-items: center; padding: var(--space-1) var(--space-2); border-radius: var(--radius-pill); background: var(--accent); color: var(--on-action); font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .06em; }
.ds-price-was { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ds-price-was s { text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.offer-strip [hidden] { display: none !important; }
.ds-price-amount + .ds-price-was { margin-top: calc(var(--space-3) * -1); }
.ds-price-was + .ds-price-total { margin-top: calc(var(--space-2) * -1); }
.offer-terms { max-width: var(--measure); margin-inline: auto; text-align: center; font-size: 14px; line-height: 22px; color: var(--on-dark-muted); }
.offer-ended-note { display: none; flex-direction: column; align-items: center; gap: var(--space-4); padding: var(--space-8); background: var(--surface-raised); border-radius: var(--radius-md); text-align: center; }
.offer-ended .offer-live { display: none !important; }
.offer-ended .offer-ended-note { display: flex; }
@media (max-width: 599px) {
  .offer-strip-figure { font-size: 26px; line-height: 32px; }
  .offer-strip .countdown { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Home page promo panel for the limited-time Matura offer */
.offer-promo { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: var(--space-8); align-items: center; padding: var(--space-12); background: var(--accent); color: var(--on-action); border-radius: var(--radius-lg); }
.offer-promo-copy { display: flex; flex-direction: column; gap: var(--space-4); max-width: var(--measure); }
.offer-promo .ds-eyebrow { color: var(--on-action); }
.offer-promo h2 { margin: 0; font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 700; color: var(--on-action); }
.offer-promo-lead { font-size: 18px; line-height: 28px; color: var(--on-action); }
.offer-promo-price { font-size: 18px; line-height: 28px; color: var(--on-action); }
.offer-promo-price strong { font-family: var(--font-display); font-size: 32px; line-height: 38px; font-weight: 700; }
.offer-promo-price s { margin-left: var(--space-1); text-decoration-thickness: 2px; }
.offer-promo-side { display: flex; flex-direction: column; gap: var(--space-3); }
.offer-promo-label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--on-action); }
.offer-promo .countdown div { background: var(--surface-raised); padding-inline: var(--space-3); }
.offer-promo .countdown dd { color: var(--accent); }
body .offer-promo .ds-btn-primary, body .offer-promo .ds-btn-primary:hover { background: var(--surface-raised); color: var(--accent); }
body .offer-promo .ds-btn-primary:hover { background: var(--brand-soft); }
@media (min-width: 1024px) { .offer-promo { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-12); } }
@media (max-width: 599px) {
  .offer-promo { padding: var(--space-6); }
  .offer-promo h2 { font-size: 26px; line-height: 32px; }
  .offer-promo-lead { font-size: 17px; line-height: 26px; }
}

/* Thin offer bar under the header (home page) */
.offer-bar { background: var(--accent); color: var(--on-action); padding: var(--space-2) var(--space-4); text-align: center; }
.offer-bar p { margin: 0; font-size: 14px; line-height: 22px; color: var(--on-action); }
body .offer-bar a { color: var(--on-action); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
body .offer-bar a:hover { color: var(--on-action); text-decoration-thickness: 2px; }

/* ---- Icons ---- */
:root {
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12h14M12 5l7 7-7 7%22%3E%3C/path%3E%3C/svg%3E");
  --icon-award: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%226%22%3E%3C/circle%3E%3Cpath d=%22M15.48 12.89 17 22l-5-3-5 3 1.52-9.11%22%3E%3C/path%3E%3C/svg%3E");
  --icon-calendar: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect height=%2218%22 rx=%222%22 width=%2218%22 x=%223%22 y=%224%22%3E%3C/rect%3E%3Cpath d=%22M16 2v4M8 2v4M3 10h18%22%3E%3C/path%3E%3C/svg%3E");
  --icon-chat: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7.9 20A9 9 0 1 0 4 16.1L2 22Z%22%3E%3C/path%3E%3C/svg%3E");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M20 6 9 17l-5-5%22%3E%3C/path%3E%3C/svg%3E");
  --icon-clipboard: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect height=%224%22 rx=%221%22 width=%228%22 x=%228%22 y=%222%22%3E%3C/rect%3E%3Cpath d=%22M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2%22%3E%3C/path%3E%3Cpath d=%22m9 14 2 2 4-4%22%3E%3C/path%3E%3C/svg%3E");
  --icon-clock: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22%3E%3C/circle%3E%3Cpath d=%22M12 6v6l4 2%22%3E%3C/path%3E%3C/svg%3E");
  --icon-file: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z%22%3E%3C/path%3E%3Cpath d=%22M14 2v6h6M16 13H8M16 17H8%22%3E%3C/path%3E%3C/svg%3E");
  --icon-globe: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%2210%22%3E%3C/circle%3E%3Cpath d=%22M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z%22%3E%3C/path%3E%3C/svg%3E");
  --icon-headphones: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7a10 10 0 0 1 20 0v7a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3%22%3E%3C/path%3E%3C/svg%3E");
  --icon-hourglass: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 22h14M5 2h14M17 22v-4.17a2 2 0 0 0-.59-1.42L12 12l-4.41 4.41A2 2 0 0 0 7 17.83V22M7 2v4.17a2 2 0 0 0 .59 1.42L12 12l4.41-4.41A2 2 0 0 0 17 6.17V2%22%3E%3C/path%3E%3C/svg%3E");
  --icon-levels: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 7 13.5 15.5 8.5 10.5 2 17%22%3E%3C/path%3E%3Cpath d=%22M16 7h6v6%22%3E%3C/path%3E%3C/svg%3E");
  --icon-mail: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect height=%2216%22 rx=%222%22 width=%2220%22 x=%222%22 y=%224%22%3E%3C/rect%3E%3Cpath d=%22m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7%22%3E%3C/path%3E%3C/svg%3E");
  --icon-mic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z%22%3E%3C/path%3E%3Cpath d=%22M19 10v2a7 7 0 0 1-14 0v-2M12 19v3%22%3E%3C/path%3E%3C/svg%3E");
  --icon-money: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect height=%2212%22 rx=%222%22 width=%2220%22 x=%222%22 y=%226%22%3E%3C/rect%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%222%22%3E%3C/circle%3E%3Cpath d=%22M6 12h.01M18 12h.01%22%3E%3C/path%3E%3C/svg%3E");
  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z%22%3E%3C/path%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 5v14M5 12h14%22%3E%3C/path%3E%3C/svg%3E");
  --icon-star: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22%23000%22%3E%3Cpath d=%22m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z%22%3E%3C/path%3E%3C/svg%3E");
}
.icon-arrow { --icon: var(--icon-arrow); }
.icon-award { --icon: var(--icon-award); }
.icon-calendar { --icon: var(--icon-calendar); }
.icon-chat { --icon: var(--icon-chat); }
.icon-check { --icon: var(--icon-check); }
.icon-clipboard { --icon: var(--icon-clipboard); }
.icon-clock { --icon: var(--icon-clock); }
.icon-file { --icon: var(--icon-file); }
.icon-globe { --icon: var(--icon-globe); }
.icon-headphones { --icon: var(--icon-headphones); }
.icon-hourglass { --icon: var(--icon-hourglass); }
.icon-levels { --icon: var(--icon-levels); }
.icon-mail { --icon: var(--icon-mail); }
.icon-mic { --icon: var(--icon-mic); }
.icon-money { --icon: var(--icon-money); }
.icon-phone { --icon: var(--icon-phone); }
.icon-plus { --icon: var(--icon-plus); }
.icon-star { --icon: var(--icon-star); }

/* ==========================================================================
   WordPress adaptations: the same design, mapped onto core blocks.
   ========================================================================== */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
body figure { margin: 0; }
body figure.wp-block-image { margin: 0; }
body .wp-block-image img { display: block; max-width: 100%; height: auto; }
body ul.wp-block-list { margin: 0; }
.wp-site-blocks { padding: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Header */
.site-header { background: var(--surface-raised); border-bottom: 1px solid var(--hairline); position: relative; z-index: 30; }
.site-header-inner { max-width: var(--container-max); margin: 0 auto; padding: var(--space-4) var(--space-8); display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); }
.site-logo { flex: none; }
body .site-logo img { height: calc(var(--space-8) + var(--space-2)); width: auto; max-width: none; }
.site-header .wp-block-buttons { flex: none; }
body .site-header .wp-block-button__link.wp-element-button { white-space: nowrap; }
body .ds-footer .ds-footer-legal { margin: var(--space-8) auto 0; }
.site-logo a { display: block; }
.site-nav { flex: 1 1 auto; min-width: 0; font-size: 16px; line-height: 24px; gap: var(--space-6); }
body .site-nav .wp-block-navigation-item__content { white-space: nowrap; color: var(--ink); text-decoration: none; padding-block: var(--space-1); border-bottom: 2px solid transparent; }
body .site-nav .wp-block-navigation-item__content:hover { color: var(--brand); }
body .site-nav .wp-block-navigation-item__content[aria-current="page"] { border-bottom-color: var(--brand); font-weight: 600; }
@media (max-width: 1023px) { .site-header .site-header-inner > .wp-block-buttons { display: none; } }
@media (max-width: 599px) {
  .site-header-inner { padding-inline: var(--space-4); }
  body .site-logo img { height: var(--space-8) !important; width: auto !important; }
}

/* Buttons (core/button) carry the ds-btn styles */
body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--space-4); }
body .wp-block-button__link.wp-element-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: var(--radius-md); border: 1px solid transparent; background: var(--action); color: var(--on-action); font-family: var(--font-sans); font-size: 16px; line-height: 20px; font-weight: 600; text-decoration: none; cursor: pointer; }
body .wp-block-button__link.wp-element-button:hover { background: var(--action-strong); color: var(--on-action); }
body .wp-block-button__link.wp-element-button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
body .wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button { background: var(--surface-raised); color: var(--ink); border: 1px solid var(--border); padding: var(--space-3) var(--space-6); }
body .wp-block-button.is-style-outline > .wp-block-button__link.wp-element-button:hover { border-color: var(--ink); color: var(--ink); background: var(--surface-raised); }
body .wp-block-button.is-style-ghost > .wp-block-button__link.wp-element-button { background: transparent; color: var(--brand); border-color: transparent; padding-inline: var(--space-3); }
body .wp-block-button.is-style-ghost > .wp-block-button__link.wp-element-button:hover { background: var(--brand-soft); color: var(--brand); }
@media (max-width: 599px) {
  body .actions .wp-block-button { width: 100%; }
  body .actions .wp-block-button__link.wp-element-button { width: 100%; }
}

/* Pricing cards: every card's button is the same pink primary, full width, pinned to the bottom */
.ds-price > .wp-block-buttons, .ds-price .ds-price-main > .wp-block-buttons { margin-top: auto; }
.ds-price .wp-block-button, body .ds-price .wp-block-button__link.wp-element-button { width: 100%; }
body .ds-price .wp-block-button > .wp-block-button__link.wp-element-button { background: var(--action); color: var(--on-action); border-color: transparent; }
body .ds-price .wp-block-button > .wp-block-button__link.wp-element-button:hover { background: var(--action-strong); }
@media (min-width: 1024px) { .ds-price.is-wide > .wp-block-buttons { margin-top: 0; } .ds-price.is-wide .wp-block-button { width: auto; } }
.ds-price-figure { font-family: var(--font-display); font-size: 56px; line-height: 60px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ds-price-total strong { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
p.ds-badge, .ds-price-save { align-self: flex-start; width: fit-content; }
body .ds-price-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .ds-price.is-wide figure.ds-price-media { padding: 0; }
@media (max-width: 599px) { .ds-price-figure { font-size: 36px; line-height: 40px; } }

/* Images */
body figure.hero-photo { display: block; aspect-ratio: auto; background: none; }
body figure.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-lg); background: var(--surface-sunken); }
body figure.hero-photo.is-square img { aspect-ratio: 1 / 1; object-position: center 22%; }
body figure.media { display: block; padding: 0; border: 0; background: none; aspect-ratio: auto; }
body figure.media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--surface-sunken); }
body figure.media-wide img { aspect-ratio: 4 / 3; }
body figure.media-square img { aspect-ratio: 1 / 1; }
body figure.ds-quote-avatar { width: var(--space-12); height: var(--space-12); border-radius: var(--radius-pill); overflow: hidden; }
body figure.ds-quote-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-pill); }

/* Testimonial on core blocks */
body .ds-quote .wp-block-quote { margin: 0; padding: 0; border: 0; font-size: 16px; line-height: 26px; color: var(--ink); font-style: normal; }
body .ds-quote .wp-block-quote p { margin: 0; }
body .ds-quote .wp-block-quote p + p { margin-top: var(--space-3); }
.ds-quote-person { margin-top: auto; display: flex; flex-direction: row; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--hairline); }
.ds-quote-person-text { display: flex; flex-direction: column; }
.ds-quote-stars, .rating { font-size: 0; line-height: 0; }
.ds-quote-stars::before { content: ""; display: block; width: 116px; height: 20px; background: var(--brand); -webkit-mask: var(--icon-star) 0 0 / 24px 20px repeat-x; mask: var(--icon-star) 0 0 / 24px 20px repeat-x; }
.rating { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.rating::before { content: ""; flex: none; width: 116px; height: 20px; background: var(--brand); -webkit-mask: var(--icon-star) 0 0 / 24px 20px repeat-x; mask: var(--icon-star) 0 0 / 24px 20px repeat-x; }
.ds-quote.is-clamped .wp-block-quote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.ds-quote.is-clamped.is-open .wp-block-quote { display: block; -webkit-line-clamp: unset; overflow: visible; }
button.ds-quote-more { background: none; border: 0; padding: 0; font-family: inherit; }
button.ds-quote-more:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }

/* FAQ on core/details */
.ds-acc-item summary::after { content: ""; flex: none; width: 24px; height: 24px; background: var(--brand); -webkit-mask: var(--icon-plus) center / contain no-repeat; mask: var(--icon-plus) center / contain no-repeat; transition: transform .15s ease; }
.ds-acc-item[open] summary::after { transform: rotate(45deg); }
.ds-acc-item > p { margin: 0; padding-bottom: var(--space-4); font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.ds-acc-item > p:last-child { padding-bottom: var(--space-6); }

/* Callout signature stays small */
body .ds-callout .ds-callout-sign { font-size: 14px; line-height: 22px; font-weight: 600; }

/* Sticky in-page links */
.anchor-link { flex: none; }
.anchor-bar .anchor-link a { color: var(--ink); text-decoration: none; font-size: 14px; line-height: 22px; font-weight: 600; padding-block: var(--space-2); border-bottom: 2px solid transparent; display: inline-block; }
.anchor-bar .anchor-link a:hover { color: var(--ink); border-bottom-color: var(--ink); }
body .anchor-bar-cta { padding: 0; gap: 0; flex: none; }
body .anchor-bar-cta .wp-block-button__link.wp-element-button { padding: var(--space-2) var(--space-4); font-size: 14px; line-height: 22px; }
.admin-bar .anchor-bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .anchor-bar { top: 46px; } }
@media (max-width: 600px) { .admin-bar .anchor-bar { top: 0; } }
body section[id], body .wp-block-group[id] { scroll-margin-top: var(--space-16); }

/* Icons: drawn with CSS masks so the editor keeps plain, editable blocks */
.has-icon::before { content: ""; display: block; flex: none; width: 24px; height: 24px; background: var(--brand); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.feature.has-icon::before { margin-bottom: var(--space-2); }
.feature-row.has-icon::before { margin-top: var(--space-1); }
.trust li::before, .ds-price-list li::before, .checklist li::before, .contact-list li::before { content: ""; flex: none; width: 20px; height: 20px; background: var(--brand); -webkit-mask: var(--icon-check) center / contain no-repeat; mask: var(--icon-check) center / contain no-repeat; }
.trust li::before, .ds-price-list li::before { margin-top: 1px; }
.checklist li::before { width: 24px; height: 24px; }
.contact-list li::before { --icon-check: var(--icon-chat); }
.contact-list li:has(a[href^="mailto:"])::before { --icon-check: var(--icon-mail); }
.contact-list li:has(a[href^="tel:"])::before { --icon-check: var(--icon-phone); }

/* Utility classes used by the patterns */
.gap-4 { gap: var(--space-4); }
.justify-center { justify-content: center; }
.gap-why { gap: var(--space-8) var(--space-16); }
.pb-12 { padding-bottom: var(--space-12); }

/* Simple pages (privacy policy etc.) */
.prose-page { max-width: var(--measure); display: flex; flex-direction: column; gap: var(--space-6); }
.prose-page .wp-block-post-content > * + * { margin-top: var(--space-4); }

/* Mobile and tablet menu (below 1024px), as designed: a "Menu" button that opens a small panel
   under the header, with the WhatsApp button at the bottom. Restyles the core Navigation overlay. */
.site-nav .nav-cta { display: none; }
@media (max-width: 1023px) {
  body .site-nav { position: static; flex: 0 0 auto; margin-left: auto; }
  body .site-nav .wp-block-navigation__responsive-container-open { display: inline-flex !important; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font-family: var(--font-sans) !important; font-size: 16px !important; line-height: 20px; font-weight: 600 !important; cursor: pointer; }
  body .site-nav .wp-block-navigation__responsive-container-open:hover { border-color: var(--ink); }
  body .site-nav .wp-block-navigation__responsive-container-open:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
  body .site-nav .wp-block-navigation__responsive-container-open svg { width: 20px; height: 20px; fill: currentColor; }
  body .site-nav .wp-block-navigation__responsive-container-open::after { content: "Menu"; }
  body .site-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
  body .site-nav .wp-block-navigation__responsive-container.is-menu-open { position: absolute; inset: auto; top: calc(100% + var(--space-2)); right: var(--space-4); left: auto; bottom: auto; width: auto; min-width: 260px; max-width: calc(100vw - var(--space-8)); height: auto; padding: var(--space-4); background: var(--surface-raised); color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--radius-md); box-shadow: var(--shadow-2); overflow: visible; animation: none; z-index: 50; }
  body .site-nav .is-menu-open .wp-block-navigation__responsive-close,
  body .site-nav .is-menu-open .wp-block-navigation__responsive-dialog { position: relative; margin: 0 !important; max-width: none; width: 100%; }
  body .site-nav .is-menu-open .wp-block-navigation__responsive-container-close { position: absolute; top: 0; right: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); color: var(--ink-muted); }
  body .site-nav .is-menu-open .wp-block-navigation__responsive-container-close:hover { background: var(--brand-soft); color: var(--ink); }
  body .site-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 20px; height: 20px; }
  body .site-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding: 0 !important; display: block; }
  body .site-nav .is-menu-open .wp-block-navigation__container { display: flex; flex-direction: column; align-items: stretch !important; justify-content: flex-start !important; gap: var(--space-1) !important; font-size: 16px; line-height: 24px; text-align: left; }
  body .site-nav .is-menu-open .wp-block-navigation-item { width: 100%; display: block; font-size: 16px; text-align: left; }
  body .site-nav .is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: var(--space-2) var(--space-3) !important; border: 0; border-radius: var(--radius-sm); color: var(--ink); white-space: nowrap; }
  body .site-nav .is-menu-open .wp-block-navigation-item:first-child .wp-block-navigation-item__content { padding-right: 40px !important; }
  body .site-nav .is-menu-open .wp-block-navigation-item__content:hover { background: var(--brand-soft); color: var(--ink); }
  body .site-nav .is-menu-open .wp-block-navigation-item__content[aria-current="page"] { font-weight: 600; color: var(--brand); border: 0; }
  body .site-nav .is-menu-open .nav-cta { display: block; margin-top: var(--space-2); }
  body .site-nav .is-menu-open .nav-cta .wp-block-navigation-item__content { width: 100%; text-align: center; padding: var(--space-3) var(--space-6) !important; border-radius: var(--radius-md); background: var(--action); color: var(--on-action); font-weight: 600; line-height: 20px; }
  body .site-nav .is-menu-open .nav-cta .wp-block-navigation-item__content:hover { background: var(--action-strong); color: var(--on-action); }
  html.has-modal-open { overflow: visible; }
}

/* Home promo panel: white button on the raspberry panel */
body .offer-promo .wp-block-button__link.wp-element-button { background: var(--surface-raised); color: var(--accent); }
body .offer-promo .wp-block-button__link.wp-element-button:hover { background: var(--brand-soft); color: var(--accent); }
.offer-promo .wp-block-buttons { margin-top: var(--space-2); }
