/* Design «Pintergram» (Claude). White space, red accents and buttons, soft pink blocks, large black headings, rounded cards, photos.
   Tokens first; components below. Token names used by article diagrams (--accent, --accent-ink, --border, --surface-2) are kept. */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/onest-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #ffffff; --surface: #ffffff; --surface-2: #fbf4f3; --tint: #fff1f3; --pink: #ffdfe4; --hero-bg: #fff5f6;
  --text: #141414; --muted: #595456; --border: #8a8587; --border-soft: #f1e2e4;
  --accent: #d6092b; --accent-hover: #a80722; --accent-ink: #ffffff; --link: #c20827;
  --ink: #171717; --ink-text: #f7f3f1; --ink-muted: #cbc5c2;
  --red-band: #d6092b; --red-band-text: #ffffff; --red-band-muted: #ffe3e7;
  --f1-bg: #d6092b; --f1-text: #ffffff; --f2-bg: #171717; --f2-text: #f7f3f1; --f3-bg: #ffdfe4; --f3-text: #141414; --f4-bg: #f8efe6; --f4-text: #141414;
  --ok: #17663a; --ok-bg: #e6f4eb; --err: #a3101f; --err-bg: #fdecee; --warn-bg: #fff4d6; --warn-text: #4d3a00;
  --focus: #1456d9;
  --shadow: 0 1px 2px rgb(60 10 20 / .05), 0 12px 32px -16px rgb(120 20 40 / .22);
  --shadow-lift: 0 2px 6px rgb(60 10 20 / .07), 0 28px 54px -24px rgb(120 20 40 / .38);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --step--1: .9rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: clamp(1.75rem, 1.35rem + 1.6vw, 2.6rem); --step-3: clamp(2.2rem, 1.5rem + 2.9vw, 3.7rem); --step-4: clamp(2.4rem, 1.4rem + 3.6vw, 4.3rem);
  --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2.5rem; --space-5: 4rem; --space-6: 6rem;
  --radius: .9rem; --radius-lg: 1.5rem; --radius-xl: 2rem; --pill: 999px; --wrap: 44rem; --wrap-wide: 76rem;
  --header-h: 4.5rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121213; --surface: #1c1c1e; --surface-2: #232326; --tint: #2a1418; --pink: #3d1a21; --hero-bg: #1b1214;
    --text: #f5f1ee; --muted: #b8b1ad; --border: #8e8a87; --border-soft: #36292c;
    --accent: #d81f37; --accent-hover: #b3162d; --accent-ink: #ffffff; --link: #ff7c88;
    --ink: #0a0a0b; --ink-text: #f5f1ee; --ink-muted: #bdb7b2;
    --red-band: #a3142a; --red-band-text: #ffffff; --red-band-muted: #ffdde1;
    --f1-bg: #a3142a; --f1-text: #ffffff; --f2-bg: #2a2a2e; --f2-text: #f5f1ee; --f3-bg: #3d1a21; --f3-text: #ffe3e6; --f4-bg: #2a2621; --f4-text: #f4efe6;
    --ok: #7fd9a2; --ok-bg: #12301f; --err: #ff9aa5; --err-bg: #3a1218; --warn-bg: #3a2f0a; --warn-text: #ffe9a8;
    --focus: #8ab4ff;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -16px rgb(0 0 0 / .7);
    --shadow-lift: 0 2px 6px rgb(0 0 0 / .45), 0 28px 54px -24px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121213; --surface: #1c1c1e; --surface-2: #232326; --tint: #2a1418; --pink: #3d1a21; --hero-bg: #1b1214;
  --text: #f5f1ee; --muted: #b8b1ad; --border: #8e8a87; --border-soft: #36292c;
  --accent: #d81f37; --accent-hover: #b3162d; --accent-ink: #ffffff; --link: #ff7c88;
  --ink: #0a0a0b; --ink-text: #f5f1ee; --ink-muted: #bdb7b2;
  --red-band: #a3142a; --red-band-text: #ffffff; --red-band-muted: #ffdde1;
  --f1-bg: #a3142a; --f1-text: #ffffff; --f2-bg: #2a2a2e; --f2-text: #f5f1ee; --f3-bg: #3d1a21; --f3-text: #ffe3e6; --f4-bg: #2a2621; --f4-text: #f4efe6;
  --ok: #7fd9a2; --ok-bg: #12301f; --err: #ff9aa5; --err-bg: #3a1218; --warn-bg: #3a2f0a; --warn-text: #ffe9a8;
  --focus: #8ab4ff;
  --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -16px rgb(0 0 0 / .7);
  --shadow-lift: 0 2px 6px rgb(0 0 0 / .45), 0 28px 54px -24px rgb(0 0 0 / .8);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--step-0)/1.6 var(--font); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:root[data-theme="dark"] a:hover { color: var(--link); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a:hover { color: var(--link); } }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; margin: var(--space-4) 0 var(--space-2); text-wrap: balance; letter-spacing: -.025em; }
h1 { font-size: var(--step-3); margin-top: var(--space-2); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); line-height: 1.25; letter-spacing: -.015em; font-weight: 700; }
h4 { font-size: var(--step-0); }
p, ul, ol { margin: 0 0 var(--space-2); }
strong { font-weight: 700; }
.small { font-size: var(--step--1); color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap-wide); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
main.wrap { padding-top: 0; padding-bottom: var(--space-5); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: .7rem 1.1rem; z-index: 50; font-weight: 700; border-radius: 0 0 var(--radius) 0; }
.skip:focus { left: 0; }
.preview-banner { margin: 0; padding: .4rem var(--space-2); background: var(--warn-bg); color: var(--warn-text); font-size: .8rem; text-align: center; }
.ico { display: inline-grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 1rem; background: var(--tint); color: var(--accent); }
.ico svg { width: 1.6rem; height: 1.6rem; display: block; }
.go { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.go svg { width: 1.15rem; height: 1.15rem; display: block; }
.card-link { position: relative; }
.card-link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card-link:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-link a:focus-visible { outline: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--border-soft); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; min-height: var(--header-h); padding-top: .5rem; padding-bottom: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--text); text-decoration: none; font-size: 1.12rem; letter-spacing: -.02em; margin-right: auto; min-height: 2.75rem; }
.brand:hover { color: var(--text); }
.logo { display: block; height: 2.15rem; width: auto; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
.nav, .footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; padding: 0; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text); text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .4rem; height: 3px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.nav a:hover { color: var(--link); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: .4rem; }
.lang-switch, .theme-toggle, .menu-toggle { min-height: 2.75rem; min-width: 2.75rem; padding: .35rem .85rem; border: 1.5px solid var(--border-soft); border-radius: var(--pill); background: var(--surface); color: var(--text); font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; cursor: pointer; }
.lang-switch:hover, .theme-toggle:hover, .menu-toggle:hover { border-color: var(--accent); color: var(--text); }
.theme-icon { width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); flex: none; }
:root[data-theme="light"] .theme-icon { background: transparent; box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px currentColor; transform: scale(.72); }
:root[data-theme="dark"] .theme-icon { background: currentColor; }
.theme-text { white-space: nowrap; }
.menu-toggle { display: none; }
.menu-icon { width: 1.1rem; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
[data-menu-open] .menu-icon { background: transparent; }
[data-menu-open] .menu-icon::before { top: 0; transform: rotate(45deg); }
[data-menu-open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.header-cta { white-space: nowrap; }
.lang-note { font-size: var(--step--1); color: var(--muted); padding-bottom: .5rem; margin: 0 auto; }
@media (max-width: 89.99rem) { .theme-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .theme-toggle { padding: .35rem; } }
@media (scripting: enabled) and (max-width: 79.99rem) {
  .menu-toggle { display: inline-flex; }
  .site-header .site-nav, .site-header .header-cta { display: none; }
  .site-header[data-menu-open] .site-nav, .site-header[data-menu-open] .header-cta { display: flex; }
}
@media (max-width: 79.99rem) {
  .site-nav { order: 3; width: 100%; }
  .header-cta { order: 4; width: 100%; margin-bottom: .6rem; }
  .site-header .nav { flex-direction: column; gap: 0; width: 100%; padding: .25rem 0; }
  .site-header .nav li + li { border-top: 1px solid var(--border-soft); }
  .site-header .nav a { display: flex; width: 100%; font-size: 1rem; padding: .55rem 0; }
  .site-header .nav a::after { bottom: .5rem; right: auto; width: 2.5rem; }
  .owner .site-header .nav { flex-direction: row; flex-wrap: wrap; gap: 0 1.2rem; }
  .owner .site-header .nav li + li { border: 0; }
  .owner .site-header .nav a { width: auto; font-size: .8rem; }
}
@media (max-width: 30rem) {
  .logo { height: 1.8rem; }
  .header-tools { gap: .3rem; } .lang-switch, .theme-toggle, .menu-toggle { padding: .35rem; }
  .menu-toggle > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .7rem 1.5rem; border: 1.5px solid var(--accent); border-radius: var(--pill); background: var(--surface); color: var(--link); font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 26px -12px var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
a.btn-primary::after { content: "→"; font-weight: 400; transition: transform .15s; }
a.btn-primary:hover::after { transform: translateX(3px); }
.btn-invert { background: #fff; border-color: #fff; color: #a80722; }
.btn-invert:hover { background: #171717; border-color: #171717; color: #fff; }
.btn-small { font-size: .85rem; min-height: 2.75rem; padding: .45rem 1.1rem; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.4rem; }
.btn-link { font-weight: 700; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.btn-link:hover { color: var(--link); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 2.75rem; }

/* ---------- labels ---------- */
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--text); }
.kicker, .hero-kicker, .eyebrow, .card-kind, .stage-label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--link); }
.kicker, .hero-kicker, .eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0 0 1rem; }
.kicker::before, .hero-kicker::before, .eyebrow::before { content: ""; width: 2.2rem; height: 4px; border-radius: 2px; background: var(--accent); flex: none; }
h2.eyebrow { font-size: .82rem; line-height: 1.4; letter-spacing: .12em; margin-top: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .55rem; padding: 0; margin: 0 0 var(--space-2); font-size: var(--step--1); color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--link); }
.crumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--accent); font-weight: 800; }
.status-badge { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .6rem; border: 1px solid var(--border); border-radius: var(--pill); color: var(--muted); background: var(--surface); margin-top: var(--space-2); }

/* ---------- page hero ---------- */
.page-hero { position: relative; isolation: isolate; display: grid; gap: var(--space-3); align-items: center; padding: var(--space-3) 0 var(--space-4); margin-bottom: var(--space-3); background: var(--hero-bg); box-shadow: 0 0 0 100vmax var(--hero-bg); clip-path: inset(0 -100vmax); }
.page-hero-plain { margin-bottom: var(--space-4); }
.hero-text { min-width: 0; }
.page-head { margin: 0; max-width: 54rem; }
.page-head .lead { max-width: 40rem; color: var(--muted); }
.page-head .btn-row { margin-top: var(--space-3); }
.page-hero .btn-primary { min-height: 3.4rem; padding-inline: 1.8rem; font-size: 1.05rem; }
.hero-media { position: relative; min-width: 0; }
.hero-photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lift); }
.hero-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-media-home { overflow: hidden; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-img, .hero-photo img { transform: translate(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -12px)) scale(1.05); }
  .hero-collage .tile:nth-child(odd) { translate: calc(var(--px, 0) * 14px) calc(var(--py, 0) * 10px); }
  .hero-collage .tile:nth-child(even) { translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -14px); }
}
.hero h1 { font-size: var(--step-4); line-height: 1; margin: 0 0 var(--space-3); letter-spacing: -.045em; }
.hero .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.28rem); }
.hero-media-home { margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem)); }
.hero-img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 78% 50%; }
.example-tag { position: absolute; left: clamp(1rem, 4vw, 2rem); top: 1rem; padding: .3rem .8rem; border-radius: var(--pill); background: #ffffff; color: #141414; font-size: .74rem; font-weight: 700; letter-spacing: .04em; box-shadow: var(--shadow); }
.hero-path { list-style: none; margin: calc(-1 * var(--space-2)) 0 var(--space-3); padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.hero-path li { display: flex; align-items: center; gap: .6rem; padding: .35rem 1.1rem .35rem .35rem; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow); font-size: .88rem; font-weight: 700; line-height: 1.2; }
.hero-path .ico { width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.hero-path .ico svg { width: 1.15rem; height: 1.15rem; }
.hero-path li + li::before { content: "→"; color: var(--accent); font-weight: 800; margin: 0 .35rem 0 -1.55rem; position: relative; left: -.55rem; }
.hero-collage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; padding: 1.2rem 1.4rem; transform: rotate(-5deg); max-width: 34rem; justify-self: center; width: 100%; }
.hero-collage .tile { display: block; border-radius: 1.3rem; overflow: hidden; border: 4px solid var(--surface); box-shadow: var(--shadow-lift); background: var(--surface); }
.hero-collage img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hero-collage .tile-3 { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.hero-collage .tile-4 { grid-column: 1; grid-row: 2; }
.hero-collage .tile-5 { grid-column: 2; grid-row: 2; }
.hero-collage .tile-1 { margin-top: 1.5rem; margin-bottom: -1.5rem; }
.hero-collage .tile-4 { margin-top: 1.5rem; }
@media (min-width: 62rem) {
  .page-hero.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); padding: var(--space-4) 0 var(--space-5); }
  .page-hero-home.has-media { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); padding: 0; min-height: 34rem; }
  .page-hero-home .hero-text { padding: var(--space-5) 0; }
  .hero-media-home { margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem)) 0 0; align-self: stretch; }
  .hero-img { height: 100%; aspect-ratio: auto; min-height: 34rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%); mask-image: linear-gradient(90deg, transparent, #000 26%); }
  .example-tag { left: auto; right: 1.5rem; top: 1.2rem; }
  @media (min-width: 84rem) { .hero-img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 26%, #000 90%, transparent); } }
  .hero-photo { border-radius: 12rem var(--radius-xl) var(--radius-xl) 12rem; }
  .hero-photo img { aspect-ratio: 5 / 4; }
  .hero-path { margin-top: calc(-1 * var(--space-4)); justify-content: flex-end; position: relative; z-index: 1; }
}
@media (max-width: 40rem) { .hero-path { flex-direction: column; align-items: stretch; } .hero-path li + li::before { display: none; } }

/* ---------- sections of plain pages ---------- */
.prose { max-width: var(--wrap); }
.prose li { margin: .4rem 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul li::marker { color: var(--accent); }
main > .prose:has(> .sect), main > .prose:has(> .stages) { max-width: none; }
.sect { position: relative; padding: var(--space-4) 0; }
.sect-intro { padding: var(--space-2) 0; }
.sect-intro > p { max-width: var(--wrap); font-size: var(--step-1); color: var(--muted); }
.sect-soft { margin: var(--space-3) 0; background: var(--tint); box-shadow: 0 0 0 100vmax var(--tint); clip-path: inset(0 -100vmax); }
.sect h2 { margin-top: 0; max-width: 46rem; }
.sect h2::before { content: ""; display: block; width: 2.6rem; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 1rem; }
.sect > p, .sect > h3, .sect > ol, .sect > .block:not(.block-cards):not(.block-steps), .sect-main > p, .sect-main > .block { max-width: var(--wrap); }
.sect > ul, .sect-main > ul { list-style: none; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); margin-bottom: var(--space-3); }
.sect > ul > li, .sect-main > ul > li { position: relative; margin: 0; padding: 1.1rem 1.25rem 1.1rem 3.5rem; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.sect > ul > li::before, .sect-main > ul > li::before { content: ""; position: absolute; left: 1.15rem; top: 1.15rem; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 62% no-repeat; }
.sect-main > ul { grid-template-columns: 1fr; }
/* items with an icon (and maybe a photo) */
.sect ul > li.no-photo, .sect ul > li.has-photo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2rem 1.1rem; align-items: start; padding: 1.25rem; margin: 0; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.sect ul > li.no-photo::before, .sect ul > li.has-photo::before { display: none; }
.li-body > strong:first-child { display: block; font-size: 1.12rem; line-height: 1.25; margin-bottom: .3rem; letter-spacing: -.01em; }
.li-body { font-size: .98rem; color: var(--muted); min-width: 0; }
.li-body > strong:first-child { color: var(--text); }
.li-photo { display: block; overflow: hidden; border-radius: var(--radius); }
.li-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-services .sect-chips > ul { display: flex; flex-wrap: wrap; gap: .55rem; }
.page-services .sect-chips > ul > li { padding: .5rem 1rem .5rem 2.5rem; border-radius: var(--pill); font-size: var(--step--1); font-weight: 600; box-shadow: none; }
.page-services .sect-chips > ul > li::before { left: .6rem; top: 50%; translate: 0 -50%; width: 1.35rem; height: 1.35rem; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6092b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 62% no-repeat; }
/* a section with a photo beside the text */
.sect-side { display: grid; gap: var(--space-3); align-items: center; }
.sect-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lift); }
@media (min-width: 62rem) { .sect-side { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--space-5); } .sect-split.sect-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sect-soft:not(.sect-split) .sect-photo img { aspect-ratio: 4 / 5; } }
@media (max-width: 61.99rem) { .sect-soft.sect-side .sect-photo { display: none; } }
.sect-soft-card > .block { background: var(--tint); border: 0; border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; max-width: none; }

/* statement (home: what we count as a result) */
.sect-statement { color: var(--red-band-text); background: var(--red-band); border-radius: var(--radius-xl); padding: clamp(1.5rem, 4vw, 3.2rem); margin: var(--space-4) 0; overflow: hidden; }
.sect-statement h2 { color: var(--red-band-text); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.sect-statement h2::before { background: var(--red-band-text); }
.sect-statement p { font-size: clamp(1.25rem, 1rem + 1.1vw, 1.9rem); font-weight: 700; line-height: 1.28; letter-spacing: -.02em; max-width: 46rem; margin: 0; }
.sect-statement a { color: var(--red-band-text); }
.sect-statement .sect-photo img { border-radius: 50%; aspect-ratio: 1; box-shadow: 0 0 0 .6rem rgb(255 255 255 / .16); }
@media (max-width: 61.99rem) { .sect-statement .sect-photo { max-width: 14rem; } }

/* FAQ */
.qa-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.qa { position: relative; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem 1.4rem 4.1rem; box-shadow: var(--shadow); }
.qa::before { content: "?"; position: absolute; left: 1.25rem; top: 1.25rem; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--link); font-weight: 800; }
.qa h3 { margin: 0 0 .6rem; font-size: 1.12rem; }
.qa p { font-size: .98rem; color: var(--muted); }
.qa p:last-child { margin-bottom: 0; }

/* ---------- Markdown blocks ---------- */
.block { margin: var(--space-3) 0; padding: 1.15rem 1.3rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border-soft); }
.block > :last-child { margin-bottom: 0; }
.block-note { background: var(--tint); border-color: transparent; border-left: 5px solid var(--accent); }
.block-status { background: var(--tint); border: 1.5px solid var(--accent); border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; }
.block-status::before { content: ""; display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); margin-right: .6rem; vertical-align: .05em; box-shadow: 0 0 0 4px var(--pink); }
.block-status > p:first-child { display: inline; }
.block-label { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); border: 1px solid var(--border); border-radius: var(--pill); padding: .05rem .6rem; margin-bottom: .6rem; }
.block-example { background: var(--surface); border: 1.5px dashed var(--border); }
.block-cta { background: var(--surface); border-left: 5px solid var(--accent); }

/* steps */
.block-steps { background: none; border: 0; padding: 0; }
.block-steps ol { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.block-steps li { counter-increment: step; position: relative; margin: 0; padding: 1.3rem; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.block-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--accent); margin-bottom: .6rem; }
.block-steps li > strong:first-child { display: block; font-size: 1.1rem; line-height: 1.25; margin-bottom: .35rem; }
.sect-photo-steps .block-steps li.has-photo { display: flex; flex-direction: column; padding: 0 0 1.3rem; overflow: hidden; }
.sect-photo-steps .li-photo { border-radius: 0; aspect-ratio: 4 / 3; margin-bottom: 1.1rem; }
.sect-photo-steps .block-steps li::before { display: block; padding: 0 1.3rem; }
.sect-photo-steps .li-body { padding: 0 1.3rem; }
.sect-photo-steps .block-steps li { display: flex; flex-direction: column; }
.sect-photo-steps .block-steps li .li-photo { order: -1; }

/* cards block: benefits on the home page, the four formats on the service page */
.block-cards { background: none; border: 0; padding: 0; }
.block-cards ul { counter-reset: card; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.block-cards li { counter-increment: card; position: relative; margin: 0; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.block-cards li > strong:first-child { display: block; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: .5rem; }
@media (min-width: 60rem) { .sect-cards .block-cards ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; } }
.sect-benefits .block-cards li.has-photo { grid-template-columns: auto minmax(0, 1fr) 34%; padding: 1.1rem; align-items: stretch; }
.sect-benefits .li-photo { grid-column: 3; grid-row: 1; min-height: 9rem; }
.sect-benefits .ico { grid-column: 1; } .sect-benefits .li-body { grid-column: 2; padding: .3rem 0; }
@media (max-width: 34rem) { .sect-benefits .block-cards li.has-photo { grid-template-columns: auto minmax(0, 1fr); } .sect-benefits .li-photo { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; min-height: 0; margin-bottom: .8rem; } }
/* four formats: coloured cards with a photo at the side */
.sect-formats .block-cards li.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) 36%; gap: 0; padding: 0; border: 0; overflow: hidden; min-height: 13rem; }
.sect-formats .block-cards li::before { content: counter(card, decimal-leading-zero); position: absolute; left: 1.6rem; top: 1.5rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 700; font-size: .8rem; background: none; }
.sect-formats .li-body { grid-column: 1; grid-row: 1; padding: 4.6rem 1.6rem 1.6rem; color: inherit; font-size: .98rem; }
.sect-formats .li-body > strong:first-child { color: inherit; font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.sect-formats .block-cards li.has-photo::before { display: grid; }
.sect-formats .li-photo { grid-column: 2; grid-row: 1; border-radius: 0; align-self: stretch; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.sect-formats .block-cards li:nth-child(1) { background: var(--f1-bg); color: var(--f1-text); }
.sect-formats .block-cards li:nth-child(2) { background: var(--f2-bg); color: var(--f2-text); }
.sect-formats .block-cards li:nth-child(3) { background: var(--f3-bg); color: var(--f3-text); }
.sect-formats .block-cards li:nth-child(4) { background: var(--f4-bg); color: var(--f4-text); }
@media (max-width: 34rem) { .sect-formats .block-cards li.has-photo { grid-template-columns: minmax(0, 1fr); } .sect-formats .li-photo { display: none; } }

/* process: three stages of three steps */
.stages { display: grid; gap: var(--space-3); padding: var(--space-2) 0 var(--space-4); }
.stage { display: grid; gap: 1rem; }
.stage-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 38%; min-height: 11rem; border-radius: var(--radius-lg); background: var(--tint); overflow: hidden; }
.stage-text { grid-column: 1; grid-row: 1; padding: 1.4rem 0 1.4rem 1.5rem; align-self: center; }
.stage-label { display: inline-block; margin: 0 0 .7rem; padding: .2rem .7rem; border: 1.5px solid var(--accent); border-radius: var(--pill); background: var(--surface); }
.stage-title { font-size: clamp(1.3rem, 1.05rem + .6vw, 1.55rem); margin: 0; overflow-wrap: normal; text-wrap: balance; }
.stage-photo { grid-column: 2; grid-row: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
.stage-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.prose .stage-steps, .stage-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.stage-steps li { margin: 0; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stage-steps .ico { margin-bottom: .8rem; }
.step-num { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--accent); margin-bottom: .45rem; letter-spacing: -.03em; }
@media (min-width: 62rem) { .stage { grid-template-columns: minmax(0, .95fr) minmax(0, 2fr); } .stage-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* tables, figures */
.table-wrap { overflow-x: auto; margin: var(--space-3) 0; position: relative; border: 1px solid var(--border-soft); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: var(--step--1); }
th, td { border-bottom: 1px solid var(--border-soft); padding: .65rem .8rem; text-align: left; vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td + td, th + th { border-left: 1px solid var(--border-soft); }
th { background: var(--surface-2); font-weight: 700; }
.figure { margin: var(--space-4) 0; padding: var(--space-2); background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.figure svg { display: block; width: 100%; color: var(--text); font-family: var(--font); }
figcaption { font-size: var(--step--1); color: var(--muted); margin-top: .75rem; padding-top: .6rem; border-top: 1px solid var(--border-soft); }

/* ---------- cards: guides, files, tasks, chooser ---------- */
.cards { list-style: none; padding: 0; margin: 0 0 var(--space-3); display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.4rem; background: var(--surface); box-shadow: var(--shadow); }
.card h2, .card h3 { margin: 0 0 .5rem; font-size: 1.18rem; line-height: 1.25; }
.card h2 a, .card h3 a, .row-card h3 a, .feature h3 a, .task-band h3 a, .side-card h2 a { color: var(--text); text-decoration: none; }
.card p { color: var(--muted); font-size: .98rem; }
.card p:last-child { margin-bottom: 0; }
.card-link:hover { border-color: var(--accent); box-shadow: var(--shadow-lift); }
.card-link:hover h2 a, .card-link:hover h3 a { color: var(--link); }
.card-kind { display: inline-flex; align-self: flex-start; margin: 0 0 .7rem; padding: .2rem .65rem; border-radius: var(--pill); background: var(--accent); color: var(--accent-ink); font-size: .7rem; }
.cards-files .card { flex-direction: row; align-items: center; gap: 1.1rem; }
.cards-files .card > div { flex: 1; min-width: 0; }
.topic { margin-top: var(--space-5); }
.feature-grid { display: grid; gap: 1.2rem; }
.feature { display: grid; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border-soft); background: var(--surface); }
.feature-photo, .row-photo, .task-photo, .side-photo, .related-photo, .box-photo { display: block; overflow: hidden; }
.feature-photo img, .row-photo img, .task-photo img, .side-photo img, .related-photo img, .box-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-photo { aspect-ratio: 16 / 10; }
.feature-panel { position: relative; padding: 1.4rem 4.6rem 1.5rem 1.5rem; }
.feature-panel h3 { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 .6rem; }
.feature-panel p { color: var(--muted); margin-bottom: 0; }
.feature-panel .go { position: absolute; right: 1.4rem; bottom: 1.4rem; }
.row-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; align-content: start; }
.row-card { display: grid; grid-template-columns: 34% minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; margin: 0; padding: 0 1.1rem 0 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); border: 1px solid transparent; }
.row-photo { align-self: stretch; min-height: 9rem; }
.row-body { padding: 1rem 0; min-width: 0; }
.row-body h3 { margin: 0 0 .4rem; font-size: 1.12rem; }
.row-body p:not(.card-kind):not(.status-badge) { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 62rem) { .feature-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; } }
@media (max-width: 34rem) { .row-card { grid-template-columns: 30% minmax(0, 1fr); } .row-card > .go { display: none; } }
.task-band { display: grid; border-radius: var(--radius-xl); overflow: hidden; background: var(--tint); }
.task-photo { aspect-ratio: 16 / 9; }
.task-body { padding: clamp(1.3rem, 3vw, 2.2rem); }
.task-body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -.025em; margin: 0 0 .6rem; }
.task-body p { color: var(--muted); }
.fake-btn { display: inline-flex; align-items: center; min-height: 3rem; padding: .7rem 1.5rem; margin: .4rem 0 0; border: 1.5px solid var(--accent); border-radius: var(--pill); background: var(--surface); color: var(--link) !important; font-weight: 700; }
.task-band:hover .fake-btn { background: var(--accent); color: var(--accent-ink) !important; }
@media (min-width: 52rem) { .task-band { grid-template-columns: 40% minmax(0, 1fr); align-items: center; } .task-photo { aspect-ratio: auto; align-self: stretch; min-height: 15rem; } }

/* ---------- boxes and the steps after content ---------- */
.box { position: relative; margin: var(--space-4) 0 0; padding: var(--space-3); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.box h2 { margin-top: 0; font-size: 1.35rem; }
.box > :last-child { margin-bottom: 0; }
.next-steps { display: grid; gap: 1.1rem; margin-top: var(--space-5); }
.next-steps > .box { margin: 0; }
@media (min-width: 52rem) { .next-steps { grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); } }
.box-magnet { background: var(--tint); border-color: transparent; overflow: hidden; }
.box-magnet .box-photo { margin: calc(-1 * var(--space-3)) calc(-1 * var(--space-3)) var(--space-3); aspect-ratio: 16 / 7; }
.box-task .ico { margin-bottom: .9rem; }
.box-service { background: var(--red-band); color: var(--red-band-text); border-color: var(--red-band); }
.box-service h2 { color: var(--red-band-text); }
.box-service a:not(.btn) { color: var(--red-band-text); }
.box-service .btn-primary { background: #fff; border-color: #fff; color: #a80722; box-shadow: none; }
.box-service .btn-primary:hover { background: #171717; border-color: #171717; color: #fff; }
.box-subscribe .field { max-width: 28rem; }
.inline-next { margin: var(--space-4) 0; padding: 1.1rem 1.3rem; border-radius: var(--radius-lg); background: var(--tint); font-size: var(--step--1); }
.inline-next p { margin: 0 0 .35rem; }
.inline-next p:last-child { margin: 0; }
.inline-next [data-cta="article-mid"] { font-weight: 700; }
.inline-next [data-cta="article-mid"]::after { content: " →"; }
.form-result ul { padding-left: 1.2rem; }

/* closing band */
.closing { margin-top: var(--space-5); }
section.closing { position: relative; display: grid; color: var(--ink-text); background: var(--ink); border-radius: var(--radius-xl); overflow: hidden; }
.closing-inner { padding: clamp(1.6rem, 4vw, 3.4rem); max-width: 44rem; position: relative; z-index: 1; }
.closing h2 { color: var(--ink-text); margin-top: 0; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); }
.closing h2::before { content: ""; display: block; width: 2.6rem; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 1.1rem; }
.closing p { color: var(--ink-muted); font-size: 1.08rem; }
.closing .btn-row { margin-top: var(--space-3); }
.closing .btn-primary { min-height: 3.4rem; padding-inline: 1.8rem; font-size: 1.05rem; }
.closing-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.closing-photo { aspect-ratio: 16 / 8; }
@media (min-width: 62rem) { section.closing { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .closing-photo { aspect-ratio: auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); } }
p.closing-done { padding: var(--space-3); border: 2px solid var(--ok); background: var(--ok-bg); border-radius: var(--radius); max-width: var(--wrap); }

/* ---------- articles ---------- */
.main-article, .main-magnet, .main-task { padding-bottom: var(--space-6); }
.page-hero-article { margin-bottom: 0; padding-bottom: 7rem; }
.article-head { max-width: 54rem; }
.article-head h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); line-height: 1.04; }
.article-meta { margin: var(--space-2) 0 0; font-size: .8rem; letter-spacing: .03em; }
.series-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin: var(--space-2) 0 0; font-size: var(--step--1); }
.series-label, .series-part { padding: .15rem .7rem; border-radius: var(--pill); font-weight: 700; font-size: .78rem; }
.series-label { background: var(--accent); color: var(--accent-ink); text-transform: uppercase; letter-spacing: .08em; }
.series-part { background: var(--surface); border: 1px solid var(--border-soft); color: var(--muted); }
.series-bar a { font-weight: 700; min-height: 2.75rem; display: inline-flex; align-items: center; }
.article-photos { display: grid; gap: 1rem; margin: -5.5rem 0 var(--space-4); position: relative; z-index: 1; }
.article-photos .shot { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--surface-2); }
.article-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 47.99rem) { .article-photos .shot-2, .article-photos .shot-3 { display: none; } .article-photos img { aspect-ratio: 16 / 10; } }
@media (min-width: 48rem) { .article-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.main-article .prose { font-size: 1.1rem; line-height: 1.72; max-width: 42rem; }
.main-article .prose h2 { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); margin-top: var(--space-5); }
.main-article .prose > h2:first-child { margin-top: 0; }
.main-article .prose h3 { margin-top: var(--space-4); }
.main-article .prose > p:first-child { font-size: 1.22rem; line-height: 1.6; }
.toc { font-size: var(--step--1); max-width: 42rem; }
.toc-details { border-radius: var(--radius-lg); background: var(--tint); }
.toc summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3rem; padding: .6rem 1.2rem; font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--link); }
.toc-details[open] summary::after { content: "−"; }
.toc ol { list-style: none; margin: 0; padding: 0 .7rem .8rem; }
.toc li { margin: 0; }
.toc a { display: block; padding: .5rem .6rem; border-radius: .7rem; color: var(--text); text-decoration: none; font-weight: 500; line-height: 1.35; }
.toc a:hover { background: var(--pink); color: var(--text); }
.article-side { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.side-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); }
.side-photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.side-body { padding: 1rem 0 1.1rem 1.2rem; min-width: 0; }
.side-card .card-kind { background: none; color: var(--link); padding: 0; margin-bottom: .35rem; }
.side-card h2 { font-size: 1.1rem; line-height: 1.25; margin: 0; letter-spacing: -.01em; }
.side-card > .go { margin: 0 1.1rem; }
@media (min-width: 72rem) {
  .article-layout { grid-template-columns: minmax(0, 42rem) 18rem; column-gap: var(--space-5); justify-content: space-between; align-items: start; grid-template-rows: auto 1fr; }
  .article-layout > [data-article-prose] { grid-column: 1; grid-row: 1 / span 2; }
  .article-layout > .toc { grid-column: 2; grid-row: 1; }
  .article-layout > .article-side { grid-column: 2; grid-row: 2; grid-template-columns: 1fr; position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .toc summary { pointer-events: none; padding-bottom: .3rem; }
  .toc summary::after { display: none; }
}
.sources { margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid var(--border-soft); max-width: 42rem; }
.sources h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--link); }
.sources ol { font-size: var(--step--1); padding-left: 1.3rem; }
.sources li { margin: .4rem 0; }
.series-nav { margin-top: var(--space-5); padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--radius-xl); background: var(--tint); }
.series-steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin-bottom: var(--space-2); }
.series-step { display: grid; gap: .3rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow); color: var(--text); text-decoration: none; min-height: 5.5rem; }
.series-step:hover { border-color: var(--accent); color: var(--text); }
.series-dir { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.series-next { text-align: right; }
.series-step strong { font-size: 1.08rem; line-height: 1.3; }
.series-gap { display: none; }
@media (min-width: 40rem) { .series-gap { display: block; } }
.series-list { margin: 0 0 var(--space-2); padding-left: 1.4rem; font-size: var(--step--1); }
.series-list li { margin: .15rem 0; }
.series-list a { display: inline-block; padding: .45rem 0; }
.series-list [aria-current] { font-weight: 700; }
.related { margin-top: var(--space-5); }
.related-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; margin-bottom: var(--space-3); }
.related h2 { font-size: var(--step-2); margin: 0; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.related li { margin: 0; display: grid; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.related-photo, .related-label { grid-area: 1 / 1; }
.related-photo { aspect-ratio: 16 / 9; }
.related-label { align-self: end; display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: .8rem; padding: .55rem .55rem .55rem 1.1rem; border-radius: var(--pill); background: var(--surface); box-shadow: var(--shadow); }
.related-label a { color: var(--text); text-decoration: none; font-weight: 700; font-size: .98rem; line-height: 1.25; }
.related li:hover .related-label a { color: var(--link); }
.main-magnet .prose, .main-task .prose { max-width: 44rem; }

/* legal pages */
.prose-legal { max-width: 52rem; }
.legal-layout { display: grid; gap: var(--space-3); }
.legal-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 1.4rem 0; border-top: 1px solid var(--border-soft); }
.legal-row h2 { margin: 0 0 .6rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.legal-row p:last-child, .legal-row ul:last-child { margin-bottom: 0; }
div.legal-row { margin: .8rem 0; padding: 1.2rem 1.3rem; border: 1px solid var(--border-soft); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); align-items: center; }
div.legal-row strong:first-child { display: block; font-size: 1.2rem; letter-spacing: -.015em; margin-bottom: .2rem; }
@media (max-width: 34rem) { .legal-row { grid-template-columns: minmax(0, 1fr); gap: .7rem; } }
@media (min-width: 72rem) { .legal-layout { grid-template-columns: minmax(0, 1fr) 18rem; column-gap: var(--space-5); align-items: start; } .legal-layout > .toc { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 1.5rem); } .legal-layout > .prose { grid-column: 1; grid-row: 1; } }

/* ---------- forms ---------- */
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-size: var(--step-2); font-weight: 800; letter-spacing: -.025em; padding: 0; margin-bottom: var(--space-3); }
.field { margin-bottom: var(--space-3); }
.field-row { display: grid; gap: 0 var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
label, .checks legend { display: block; font-weight: 700; font-size: var(--step-0); margin-bottom: .3rem; }
.checks { padding: 1rem 1.15rem; border: 1px solid var(--border-soft); border-radius: var(--radius); background: var(--tint); }
.checks legend { font-size: var(--step-0); letter-spacing: 0; margin-bottom: .5rem; float: left; width: 100%; }
.checks > legend + * { clear: both; }
label.sub { font-weight: 600; margin-top: .6rem; }
.req { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.hint { font-size: var(--step--1); color: var(--muted); margin-bottom: .45rem; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="file"], textarea, select { width: 100%; min-height: 3.1rem; padding: .7rem .9rem; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); }
input:hover, textarea:hover, select:hover { border-color: var(--text); }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--text); }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--err) !important; border-width: 2px; background: var(--err-bg); }
.check { display: flex; align-items: flex-start; gap: .7rem; font-weight: 400; padding: .4rem 0; min-height: 2.75rem; cursor: pointer; }
.check input { width: 1.5rem; height: 1.5rem; margin-top: .15rem; flex: none; accent-color: var(--accent); }
.error { color: var(--err); font-size: var(--step--1); margin: .4rem 0 0; font-weight: 700; }
.error::before { content: "⚠ "; }
.form-errors, .form-result { padding: var(--space-3); border-radius: var(--radius-lg); margin-bottom: var(--space-3); border: 2px solid; }
.form-errors { background: var(--err-bg); border-color: var(--err); }
.form-errors a { color: var(--err); font-weight: 700; }
.form-errors ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.form-result { background: var(--ok-bg); border-color: var(--ok); }
.form-result h2 { margin-top: 0; }
.form-result h2::before { content: "✓"; display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-right: .7rem; border-radius: 50%; background: var(--ok); color: var(--ok-bg); font-size: 1.1rem; vertical-align: .15em; }
.form-result .ref { font-family: var(--font-mono); font-weight: 700; padding: .05rem .4rem; border-radius: .35rem; background: var(--surface); }
.form-msg { font-weight: 700; min-height: 1.6em; }
.form-msg[data-state="ok"] { color: var(--ok); }
.form-msg[data-state="err"] { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* lead page */
.start-grid { display: grid; gap: var(--space-3); align-items: start; }
.lead-form { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-xl); padding: clamp(1.1rem, 3vw, 2.4rem); box-shadow: var(--shadow-lift); }
.lead-form [data-submit] { min-width: min(100%, 16rem); min-height: 3.5rem; font-size: 1.08rem; }
.lead-form .btn-row { margin-top: var(--space-2); }
.box-done { margin-top: 0; border: 2px solid var(--ok); background: var(--ok-bg); }
.box-after { margin: 0; background: var(--tint); border-color: transparent; box-shadow: none; }
.box-after h2 { font-size: 1.25rem; }
.box-after::before { content: ""; display: block; width: 2.6rem; height: 4px; border-radius: 2px; background: var(--accent); margin-bottom: 1rem; }
@media (min-width: 64rem) { .start-grid { grid-template-columns: minmax(0, 1fr) 21rem; gap: var(--space-4); } .box-after { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* One phone control: country / dial code and national number share a border. */
.phone-control { display: flex; width: 100%; min-width: 0; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.phone-control:hover { border-color: var(--text); }
.phone-control:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; border-color: var(--text); }
.phone-control select { width: 43%; max-width: 13rem; min-width: 0; border: 0; border-right: 1.5px solid var(--border-soft); border-radius: var(--radius) 0 0 var(--radius); padding-inline: .65rem; background: var(--surface-2); }
.phone-control input { flex: 1; width: 0; min-width: 0; border: 0; border-radius: 0 var(--radius) var(--radius) 0; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.phone-control input:focus, .phone-control select:focus { outline-offset: -3px; }
.phone-control input[aria-invalid="true"] { border: 0 !important; }
.phone-control:has([aria-invalid="true"]) { border-color: var(--err); border-width: 2px; background: var(--err-bg); }

/* ---------- interactive task: the sample idea card ---------- */
.quiz { max-width: none; }
.quiz-progress { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; padding: .5rem 1rem; border-radius: var(--pill); background: var(--text); color: var(--bg); margin-bottom: var(--space-2); }
.quiz-progress::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); }
.pin-sample { display: grid; max-width: 28rem; border-radius: 1.6rem; background: var(--surface); box-shadow: var(--shadow-lift); overflow: hidden; border: 1px solid var(--border-soft); }
.pin-zone { position: relative; display: grid; gap: .6rem; padding: 1rem; }
.pin-zone-image { padding: 12rem 1rem 1.2rem; isolation: isolate; align-content: end; }
.pin-photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.pin-zone-meta { border-top: 1px solid var(--border-soft); }
.pin-part-btn { position: relative; display: block; width: 100%; text-align: left; font: inherit; color: var(--text); background: var(--surface); border: 2px dashed var(--border); border-radius: var(--radius); padding: .7rem .85rem .7rem 2.8rem; cursor: pointer; min-height: 2.75rem; }
.pin-part-btn::before { content: "?"; position: absolute; left: .75rem; top: .75rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; background: var(--pink); color: var(--link); }
.pin-part-btn:hover { border-color: var(--text); box-shadow: var(--shadow); }
.pin-part-image .pin-part-btn { background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow); }
.pin-part-label { display: block; font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.pin-part-text { display: block; font-weight: 700; line-height: 1.35; }
.pin-part-btn[data-state="hit"] { border-style: solid; border-color: var(--ok); background: var(--ok-bg); }
.pin-part-btn[data-state="hit"]::before { content: "✓"; background: var(--ok); color: var(--ok-bg); }
.pin-part-btn[data-state="miss"] { border-style: solid; border-color: var(--border); }
.pin-part-btn[data-state="miss"]::before { content: "–"; background: var(--surface-2); color: var(--muted); }
.pin-part-explain { font-size: var(--step--1); margin: .45rem 0 .2rem; padding: .6rem .85rem; border-radius: var(--radius); background: var(--surface); border-left: 4px solid var(--border); }
.pin-part-btn[data-state="hit"] + .pin-part-explain { border-left-color: var(--ok); }
.quiz [data-quiz-hint] { margin-top: .9rem; max-width: 28rem; }
.quiz-all { margin-top: var(--space-3); max-width: 28rem; }
.quiz-all > summary { list-style: none; width: 100%; min-height: 3.5rem; font-size: 1.08rem; }
.quiz-all > summary::-webkit-details-marker { display: none; }
.quiz-all > summary::after { content: "▾"; margin-left: .5rem; }
.quiz-all[open] > summary::after { content: "▴"; }
.quiz-all ul { margin-top: var(--space-2); padding: 1rem 1rem 1rem 2.2rem; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); }
.quiz-all li { margin: .45rem 0; }
.quiz > .btn-row { margin-top: var(--space-2); }
.quiz-done { margin-top: var(--space-3); padding: var(--space-3); border: 2px solid var(--ok); border-radius: var(--radius-lg); background: var(--ok-bg); max-width: 44rem; }
.quiz-done h2 { margin-top: 0; }
@media (min-width: 64rem) {
  .quiz { display: grid; grid-template-columns: 28rem minmax(0, 1fr); column-gap: var(--space-5); align-items: start; }
  .quiz > * { grid-column: 1; }
  .quiz > .quiz-done { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* planner */
.planner { margin: var(--space-4) 0; max-width: none; padding: var(--space-3); background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.planner h2 { margin-top: 0; }
.planner .table-wrap { background: var(--surface-2); }
.planner-table { min-width: 70rem; }
.planner-table td { padding: .25rem; }
.planner-table textarea { min-height: 3.2rem; padding: .4rem .5rem; font-size: var(--step--1); border-color: var(--border-soft); }
.planner-table .btn { min-height: 2.75rem; min-width: 2.75rem; padding: .2rem .5rem; }

/* ---------- newsletter page ---------- */
.news-again { margin-top: var(--space-5); color: var(--red-band-text); background: var(--red-band); border-radius: var(--radius-xl); padding: clamp(1.4rem, 4vw, 3rem); }
.news-again-inner { display: grid; gap: var(--space-3); align-items: center; }
.news-again-text h2 { margin-top: 0; color: var(--red-band-text); font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.7rem); }
.news-again-text p { color: var(--red-band-text); font-size: 1.08rem; margin: 0; }
.news-again .box-subscribe { margin: 0; color: var(--text); border: 0; box-shadow: var(--shadow-lift); }
.news-again .box-subscribe button[type="submit"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.news-again .box-subscribe button[type="submit"]:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
@media (min-width: 62rem) { .news-again-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); } }

/* ---------- footer, consent ---------- */
.site-footer { background: var(--ink); color: var(--ink-text); padding: var(--space-5) 0 var(--space-4); font-size: var(--step--1); }
.footer-grid { display: grid; gap: var(--space-3); }
.site-footer .brand { margin-bottom: .8rem; }
.footer-brand p { max-width: 30rem; color: var(--ink-muted); }
.site-footer .footer-nav { flex-direction: column; gap: 0; }
.footer-nav a, .footer-nav button { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--ink-text); font-size: var(--step--1); text-decoration: none; }
.footer-nav a:hover, .footer-nav button:hover { color: #fff; text-decoration: underline; }
.site-footer .linklike { color: var(--ink-text); text-decoration: none; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (max-width: 47.99rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.consent-bar { position: fixed; z-index: 30; left: .75rem; right: .75rem; bottom: .75rem; max-height: calc(100vh - 1.5rem); overflow: auto; background: var(--surface); color: var(--text); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.consent-inner { padding: 1rem 1.15rem 1.1rem; }
.consent-bar h2 { font-size: 1.1rem; letter-spacing: -.01em; margin: 0 0 .35rem; }
.consent-bar p { font-size: var(--step--1); }
.consent-bar .btn-row { margin: 0; gap: .5rem; }
.consent-bar .btn { min-height: 2.75rem; padding: .45rem 1rem; font-size: var(--step--1); flex: 1 1 auto; }
@media (min-width: 48rem) { .consent-bar { left: auto; right: 1.25rem; bottom: 1.25rem; width: 25rem; } }

/* ---------- chooser, 404 ---------- */
.chooser { padding-top: var(--space-6); padding-bottom: var(--space-6); max-width: 48rem; }
.chooser h1 { font-size: var(--step-3); letter-spacing: -.04em; }
.chooser-mark { margin: 0; }
.brand-icon { display: block; width: 3.4rem; height: 3.4rem; }
.chooser .cards { margin-top: var(--space-3); }

/* ---------- pointer glow (decorative, fine pointers only; created by site.js) ---------- */
.cursor-glow { position: fixed; z-index: 40; left: 0; top: 0; width: 1.5rem; height: 1.5rem; margin: .9rem 0 0 .9rem; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.cursor-glow::before { content: ""; position: absolute; inset: -2.6rem; border-radius: 50%; background: radial-gradient(circle, rgb(230 12 46 / .32), rgb(230 12 46 / 0) 68%); }
.cursor-glow svg { position: relative; display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 6px rgb(230 12 46 / .9)); }
.cursor-glow[data-on] { opacity: 1; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-glow { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .btn, .lang-switch, .theme-toggle, .menu-toggle, .card, .series-step, .pin-part-btn, input, textarea, select { transition: border-color .15s, background-color .15s, color .15s, box-shadow .2s, transform .2s; }
  .nav a::after { transition: transform .2s; }
  .card-link:hover { transform: translateY(-2px); }
  .card-link { transition: transform .2s, box-shadow .2s; }
  .card-link img { transition: transform .5s; }
  .card-link:hover img { transform: scale(1.04); }
  .hero-collage .tile, .hero-img, .hero-photo img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
  @media (hover: hover) and (pointer: fine) {
    .hero-path li { animation: rise .7s both; } .hero-path li:nth-child(2) { animation-delay: .12s; } .hero-path li:nth-child(3) { animation-delay: .24s; }
    .hero-collage .tile { animation: rise .7s both; } .hero-collage .tile-2 { animation-delay: .08s; } .hero-collage .tile-3 { animation-delay: .16s; } .hero-collage .tile-4 { animation-delay: .24s; } .hero-collage .tile-5 { animation-delay: .32s; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@media print {
  .site-header, .site-footer, .consent-bar, .preview-banner, .box, .closing, .crumbs, .toc, .next-steps, .hero-media, .hero-path, .news-again, .article-photos, .article-side, .series-nav, .cursor-glow { display: none !important; }
  body { background: #fff; color: #000; }
}
.feature-panel p.card-kind, .task-body p.card-kind, .row-body p.card-kind, .card p.card-kind { color: var(--accent-ink); }
.side-card p.card-kind { color: var(--link); }
.sect-panel { margin: var(--space-3) 0; padding: clamp(1.3rem, 3vw, 2.2rem); border-radius: var(--radius-xl); background: var(--tint); }
.sect-panel > p { font-size: 1.1rem; max-width: 52rem; }
.sect-panel > p:last-child, .sect-half > p:last-child { margin-bottom: 0; }
.sect-half { margin: .6rem 0; padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow); }
.sect-half h2, .sect-panel h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
@media (min-width: 62rem) { main > .prose:has(> .sect-half) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.3rem; } main > .prose:has(> .sect-half) > * { grid-column: 1 / -1; } main > .prose > .sect-half { grid-column: auto; } }
.next-steps > .box-service { grid-column: 1 / -1; display: grid; gap: .4rem 2rem; align-items: center; }
.next-steps > .box-service > * { margin: 0; }
@media (min-width: 52rem) { .next-steps > .box-service { grid-template-columns: minmax(0, 1fr) auto; padding: 2rem 2.2rem; } .next-steps > .box-service h2 { grid-column: 1; font-size: 1.7rem; } .next-steps > .box-service > p:not(.btn-row) { grid-column: 1; } .next-steps > .box-service .btn-row { grid-column: 2; grid-row: 1 / span 2; } }
@media (max-width: 59.99rem) { .sect-benefits .block-cards ul { grid-template-columns: minmax(0, 1fr); } }
:root[data-theme="dark"] .hero-img { -webkit-mask-image: none; mask-image: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-img { -webkit-mask-image: none; mask-image: none; } }
@media (min-width: 62rem) { :root[data-theme="dark"] .hero-media-home { border-radius: var(--radius-xl) 0 0 var(--radius-xl); margin-block: var(--space-3); } }
@media (min-width: 62rem) and (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-media-home { border-radius: var(--radius-xl) 0 0 var(--radius-xl); margin-block: var(--space-3); } }

/* Pin-first refinement: compact first screen and a single editorial card language. */
@media (min-width: 62rem) {
  .page-hero-home.has-media { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
  .page-hero-home .hero-text { padding: 2rem 0 2.6rem; }
  .page-hero-home .hero h1 { font-size: clamp(2.3rem, 3.5vw, 3.7rem); line-height: 1.04; margin-bottom: 1rem; }
  .page-hero-home .hero .lead { font-size: 1.05rem; line-height: 1.5; }
  .page-hero-home .hero-img { min-height: 0; max-height: 32rem; object-position: 76% center; }
  .hero-path { margin-top: -1rem; margin-bottom: 1.7rem; }
}
@media (max-width: 61.99rem) {
  .page-hero-home .hero h1 { font-size: clamp(2.05rem, 6vw, 3rem); }
  .page-hero-home { gap: 1rem; }
  .page-hero-home .hero-media-home { max-height: 22rem; }
}
.page-home .sect-audience > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.page-home .sect-audience > ul > li { font-size: 1rem; }
.page-home .sect-audience { padding-block: 2.5rem; }
@media (max-width: 40rem) { .page-home .sect-audience > ul { grid-template-columns: 1fr; } }
.pin-showcase { margin: -2rem 0 2.5rem; position: relative; z-index: 1; }
.pin-showcase-intro { max-width: 48rem; margin-bottom: 1.2rem; }
.pin-showcase-intro .eyebrow { margin-bottom: .6rem; }
.pin-showcase-intro > p:last-child { color: var(--muted); font-size: .95rem; }
.pin-showcase .article-photos { margin: 0; gap: clamp(.8rem, 2vw, 1.5rem); align-items: start; }
.editorial-pin { margin: 0; min-width: 0; }
.editorial-pin-face { display: flex; flex-direction: column; position: relative; overflow: hidden; aspect-ratio: 2/3; border-radius: 1.4rem; background: #ffe3e7; color: #141414; box-shadow: var(--shadow); text-decoration: none; border: 1px solid #f0cbd1; }
.editorial-pin-face:hover { color: #141414; box-shadow: var(--shadow-lift); }
.editorial-pin:nth-child(2) .editorial-pin-face { background: #f8ede0; }
.editorial-pin:nth-child(3) .editorial-pin-face { background: #f8d6db; }
.editorial-pin-face > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.pin-brand { z-index: 1; margin: 1rem; align-self: flex-start; padding: .3rem .65rem; border-radius: 99px; background: #fff; color: #b40828; font-size: .76rem; font-weight: 800; }
.pin-index { position: absolute; top: 12%; right: -.06em; color: #d50a2d; font-size: clamp(7rem, 16vw, 13rem); line-height: 1; font-weight: 800; opacity: .15; }
.pin-copy { z-index: 1; margin-top: auto; padding: 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.has-image .pin-copy { margin: auto .7rem .7rem; padding: 1.1rem; border-radius: 1rem; background: #fff; }
.pin-copy strong { font-size: clamp(1.25rem, 2vw, 1.85rem); line-height: 1.1; letter-spacing: -.035em; }
.pin-cta { align-self: flex-start; font-weight: 700; font-size: .82rem; border-radius: 99px; padding: .65rem .95rem; background: #d6092b; color: #fff; }
.editorial-pin figcaption { padding: .9rem .2rem 0; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.article-sharing { border-top: 1px solid var(--border-soft); padding-top: 1.3rem; margin-top: 2rem; }
.article-sharing .btn-row { margin-bottom: .75rem; }
.pinterest-save { background: #fff; color: #b40828; border-color: #c7a3a9; }
.pinterest-save img { display: inline-block; width: 1.5rem; height: 1.5rem; }
.pinterest-save[disabled] { opacity: 1; cursor: not-allowed; background: var(--surface-2); color: var(--muted); border-color: var(--border); }
@media (max-width: 47.99rem) {
  .pin-showcase .article-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .2rem 1rem; }
  .editorial-pin { flex: 0 0 min(78vw, 20rem); scroll-snap-align: start; }
  .pin-copy strong { font-size: 1.5rem; }
}
/* Photography carries the object; live type sits above it and remains selectable. */
.editorial-pin-face.has-image .pin-copy {position:absolute;top:2.9rem;left:1.15rem;right:1.15rem;bottom:auto;background:#fff9f2;padding:.8rem;border-radius:.65rem;color:#241b1a}
.editorial-pin-face.has-image .pin-copy strong {font-size:clamp(1.1rem,1.8vw,1.5rem);line-height:1.12}
.editorial-pin-face.has-image .pin-brand {position:absolute;top:1rem;left:1.15rem;color:#811b24;background:#fff9f2;padding:.2rem .4rem;border-radius:.2rem}
.editorial-pin-face.has-image .pin-cta {font-size:.75rem;margin-top:.55rem}
.file-mark{display:inline-flex;width:3rem;height:3rem;padding:.65rem;color:var(--accent);background:var(--surface-2);border-radius:.7rem;margin:1rem 1rem 0}
.file-mark svg{width:100%;height:100%}
.article-sharing .pinterest-save:disabled{opacity:1;background:var(--surface-2);color:var(--text);border-color:var(--border);cursor:not-allowed}

/* A file icon gets its own row; title and arrow retain the two-column card layout. */
.side-card > .file-mark { grid-column: 1 / -1; }

/* Informational disclosure only; no analytics consent is collected. */
.analytics-info details {max-width:32rem;}
.analytics-info summary {cursor:pointer; font:inherit; color:inherit; text-decoration:underline; text-underline-offset:.2em; padding:.35rem 0;}
.analytics-info summary:focus-visible {outline:3px solid currentColor; outline-offset:4px;}
.analytics-info details>div {padding:.8rem 0; font-size:.9rem; line-height:1.6;}
.analytics-info p {margin:0 0 .7rem;}
.analytics-info a {text-decoration:underline;}

.hero-media-home {position:relative;}
.hero-brand-mark {position:absolute; bottom:1rem; right:1.2rem; padding:.5rem .7rem; border-radius:.55rem; background:#fff; pointer-events:none;}
.hero-brand-mark img {display:block; width:clamp(110px,11vw,154px); height:auto;}
@media(max-width:40rem) {.hero-brand-mark {bottom:.7rem; right:.7rem; padding:.4rem .6rem;}}
/* Brand mark on decorative stock-photo placements; original image bytes unchanged. */
.hero-photo, .li-photo, .stage-photo, .sect-photo {position:relative;}
.hero-photo::after, .hero-collage .tile::after, .li-photo::after, .stage-photo::after, .sect-photo::after {
 content:""; position:absolute; right:.65rem; bottom:.65rem; width:1.75rem; height:1.75rem;
 background:#fff url('/assets/brand/pintergram_icon_red.svg') center/1.45rem 1.45rem no-repeat;
 border-radius:.4rem; box-shadow:0 1px 5px #0002; pointer-events:none; z-index:2;
}
.sect-statement .sect-photo::after {right:22%;bottom:8%;}

/* Compact navigation 2026-11-15: explicit JS capability, no scripting media dependency. */
.site-header {position:relative;}
.site-header .header-row {min-height:64px;gap:.4rem .75rem;padding-block:.5rem;}
.site-header .logo {height:auto;width:clamp(118px,16vw,170px);}
.site-header .header-tools {margin-left:auto;flex-shrink:0;}
.site-header .theme-text {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
.site-header .theme-toggle {padding:.35rem;}
.site-header .menu-toggle {display:none;}
.site-header .site-nav {order:3;width:100%;}
.site-header .nav {display:flex;flex-direction:row;flex-wrap:wrap;gap:.2rem 1rem;padding:0;}
.site-header .nav li+li {border:0;}
.site-header .nav a {min-height:44px;font-size:.85rem;padding:.3rem 0;text-transform:none;letter-spacing:0;}
.site-header .header-cta {order:4;width:auto;margin:0;}
.site-header.menu-ready .header-row {flex-wrap:nowrap;}
.site-header.menu-ready .menu-toggle {display:inline-flex;padding:.35rem .7rem;}
.site-header.menu-ready .menu-toggle > span:last-child {position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:nowrap;}
.site-header.menu-ready .site-nav,.site-header.menu-ready .header-cta {display:none;}
.site-header.menu-ready[data-menu-open] .header-row {flex-wrap:wrap;}
.site-header.menu-ready[data-menu-open] .site-nav {display:block;max-height:min(44vh,280px);overflow-y:auto;border-top:1px solid var(--border-soft);padding-top:.4rem;}
.site-header.menu-ready[data-menu-open] .nav {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.2rem .7rem;}
.site-header.menu-ready[data-menu-open] .nav a {display:flex;align-items:center;width:100%;padding:.45rem .6rem;border-radius:.5rem;background:var(--surface-2);}
.site-header.menu-ready[data-menu-open] .header-cta {display:inline-flex;min-height:44px;padding:.5rem 1rem;margin-bottom:.25rem;}
@media(max-width:40rem){
 .site-header .header-row {min-height:60px;padding-inline:1rem;gap:.3rem;}
 .site-header .brand {min-width:0;margin-right:0;}
 .site-header .logo {width:118px;}
 .site-header .header-tools {gap:.25rem;}
 .site-header .lang-switch,.site-header .theme-toggle {padding:.35rem;min-width:40px;}
 .site-header.menu-ready .menu-toggle {padding:.35rem .5rem;gap:.35rem;}
 .site-header.menu-ready[data-menu-open] .nav {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:350px){.site-header .header-row{padding-inline:.65rem}.site-header .logo{width:100px}.site-header .header-tools{gap:.15rem}.site-header.menu-ready .menu-toggle{padding:.35rem;}.site-header .menu-icon{width:.9rem}}

/* V2: anchored compact dropdown; opening never increases header height. */
.site-header.menu-ready .header-row,.site-header.menu-ready[data-menu-open] .header-row {position:relative;flex-wrap:nowrap;}
.site-header.menu-ready[data-menu-open] .site-nav {position:absolute;z-index:30;top:calc(100% + 6px);right:clamp(1rem,3vw,2rem);left:auto;width:min(1050px,calc(100vw - 32px));max-height:min(40vh,180px);padding:8px;background:var(--surface);border:1px solid var(--border-soft);border-radius:14px;box-shadow:0 10px 28px #2b11151c;overflow:auto;}
.site-header.menu-ready[data-menu-open] .nav {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:0;}
.site-header.menu-ready[data-menu-open] .nav a {min-height:40px;height:100%;padding:7px 9px;font-size:13px;line-height:1.2;justify-content:center;text-align:center;white-space:normal;background:transparent;}
.site-header.menu-ready[data-menu-open] .nav a:hover {background:var(--surface-2);}
.site-header.menu-ready[data-menu-open] .nav a.header-cta {display:flex;width:100%;margin:0;padding:7px 9px;border-radius:8px;box-shadow:none;background:var(--accent);color:var(--accent-ink);font-size:13px;min-height:40px;}
.site-header.menu-ready[data-menu-open] .nav a.header-cta::after {display:none;}
@media(max-width:999px){
 .site-header.menu-ready[data-menu-open] .site-nav {width:340px;max-width:calc(100vw - 24px);right:12px;padding:7px;}
 .site-header.menu-ready[data-menu-open] .nav {grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;}
 .site-header.menu-ready[data-menu-open] .nav a {justify-content:flex-start;text-align:left;padding:7px 10px;min-height:40px;}
 .site-header.menu-ready[data-menu-open] .nav a.header-cta {justify-content:center;text-align:center;padding:7px;}
}

/* Explicit niche link stays visible outside the collapsible project menu. */
.site-header .niche-review-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.55rem 1rem;border-radius:999px;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:.85rem;line-height:1.2;text-align:center;text-decoration:none;order:2;flex-shrink:0;}
.site-header .niche-review-cta:focus-visible{outline:3px solid currentColor;outline-offset:3px;}
@media(max-width:700px){.site-header.menu-ready .header-row,.site-header.menu-ready[data-menu-open] .header-row{flex-wrap:wrap;}.site-header .niche-review-cta{flex-basis:100%;order:2;margin-top:.3rem;}.site-header .site-nav{order:3;}}
