@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-400-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-500-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-500-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-500-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-600-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-600-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-700-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/manrope-700-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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-800-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-800-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 {
  --page: #080a12;
  --surface: #111623;
  --surface-2: #171e2d;
  --surface-3: #0d111b;
  --text: #f4f6fb;
  --ink: #f4f6fb;
  --muted: #aab2c3;
  --line: rgba(214,221,235,.14);
  --purple: #c05a9f;
  --charge: #d8b45f;
  --deep-purple: #7c4dff;
  --purple-soft: rgba(192,90,159,.16);
  --teal: #62d4d2;
  --orange: #ff866b;
  --logo-frame: #ffffff;
  --shadow: 0 22px 70px rgba(0,0,0,.34);
  --line-strong: rgba(214,221,235,.24);
  --purple-hover: #cf6fb0; --purple-active: #b34e8e; --danger-text: #ff9a82;
  --shadow-rest: 0 1px 3px rgba(0,0,0,.28), 0 10px 30px rgba(0,0,0,.34);
  --shadow-hover: 0 6px 16px rgba(0,0,0,.36), 0 18px 44px rgba(0,0,0,.42);
  --shadow-hero: 0 26px 80px rgba(0,0,0,.40);
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem; --space-5:1.5rem; --space-6:2rem; --space-7:3rem; --space-8:4rem; --space-9:6rem; --space-10:8rem;
  --section-y: clamp(4rem,7vw,7rem); --section-x: clamp(1.25rem,4vw,2rem);
  --card-pad: clamp(1.5rem,3vw,2.25rem); --grid-gap: clamp(1.25rem,2.5vw,1.75rem); --stack-gap: 1.5rem;
  --font-small:.875rem; --font-xs:.78rem; --text-label:.8125rem;
  --measure-prose: 66ch; --measure-narrow: 58ch; --form-max: 560px;
  --radius-sm:8px; --radius-md:12px; --radius-lg:16px; --radius-xl:20px; --radius-pill:999px;
  --motion-fast: 160ms ease;
}
html[data-theme="light"] {
  --page: #f8f8fb;
  --surface: #ffffff;
  --surface-2: #f2f3f7;
  --surface-3: #ffffff;
  --text: #14131a;
  --ink: #14131a;
  --muted: #5d6270;
  --line: #e6e8ef;
  --purple: #702558;
  --charge: #a7752a;
  --purple-hover: #5f1f4b; --purple-active: #4f193f;
  --deep-purple: #3b245e;
  --purple-soft: rgba(112,37,88,.09);
  --teal: #56b3b5;
  --orange: #dd553a;
  --line-strong: #d7dbe5; --danger-text: #b83a25;
  --shadow: 0 18px 50px rgba(22,24,32,.08);
  --shadow-rest: 0 1px 3px rgba(20,19,26,.04), 0 8px 24px rgba(20,19,26,.05);
  --shadow-hover: 0 4px 10px rgba(20,19,26,.06), 0 16px 38px rgba(20,19,26,.08);
  --shadow-hero: 0 24px 70px rgba(20,19,26,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; } [id] { scroll-margin-top: 88px; }
body {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(124,77,255,.18), transparent 30rem),
    radial-gradient(circle at 82% 12%, rgba(98,212,210,.12), transparent 28rem),
    var(--page);
  overflow-x: clip;
}
html[data-theme="light"] body { background: var(--page); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .footer :focus-visible { outline-color: #fff; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: rgba(112,37,88,.20); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
.site-header-bar { position: sticky; top: 0; z-index: 20; background: rgba(11,15,24,.72); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: transform 240ms ease, background-color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast); }
.site-header-bar.is-hidden { transform: translateY(-100%); }
.site-header-bar.is-scrolled { background: rgba(11,15,24,.80); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.site-header { display: grid; grid-template-columns: auto 1fr auto auto auto; gap: var(--space-4); align-items: center; max-width: 1220px; margin: 0 auto; padding: var(--space-3) var(--section-x); }
html[data-theme="light"] .site-header-bar { background: rgba(236,238,243,.90); }
html[data-theme="light"] .site-header-bar.is-scrolled {
  background: rgba(239,241,246,.96);
  box-shadow: 0 8px 24px rgba(20,19,26,.06);
}
.site-header > * { min-width: 0; }
.brand { display: grid; align-items: center; }
.brand-logo { grid-area: 1 / 1; width: clamp(150px,13vw,184px); transition: width var(--motion-fast); }
.site-header-bar.is-scrolled .site-header { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.site-header-bar.is-scrolled .brand-logo { width: clamp(132px,11vw,158px); }
.brand-logo-dark { display: none; }
html[data-theme="light"] .brand-logo-light { display: none; }
html[data-theme="light"] .brand-logo-dark { display: block; }
.main-nav { display: flex; flex-wrap: nowrap; justify-content: center; gap: 2px clamp(8px,1.3vw,16px); color: var(--muted); font-size: var(--font-small); font-weight: 750; min-width: 0; overflow: hidden; }
.main-nav a { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; white-space: nowrap; transition: color var(--motion-fast); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--purple); transform: scaleX(0); transform-origin: center; transition: transform var(--motion-fast); }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-sm); color: #fff; background: var(--purple); font-size: var(--font-small); font-weight: 850; white-space: nowrap; box-shadow: 0 8px 18px rgba(112,37,88,.16); transition: background var(--motion-fast), transform var(--motion-fast); }
.header-cta:hover { background: var(--purple-hover); transform: translateY(-1px); }
.header-cta:active { background: var(--purple-active); transform: translateY(0); }
/* theme: heraldic-rose toggle (star=light / crescent=dark, rose frame) */
.theme-toggle { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-2); color: var(--purple); cursor: pointer; transition: background var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast); }
.theme-toggle:hover { background: var(--surface); transform: translateY(-1px); }
.theme-toggle > span { grid-area: 1 / 1; display: grid; place-items: center; pointer-events: none; }
.theme-toggle .rose-frame { color: var(--purple); opacity: .5; }
.theme-toggle:hover .rose-frame { opacity: .7; }
/* ===== Celestial theme toggle (CELESTIAL_TOGGLE in build_site.py) ===== */
.theme-toggle.is-celestial { border: none; background: transparent; }
.theme-toggle.is-celestial:hover { background: transparent; }
.theme-toggle .ct-shield svg { width: 36px; height: 36px; display: block; }
.theme-toggle .ct-shield path { fill: none; stroke: var(--purple); stroke-width: 1.4; }
.theme-toggle .ct-glare svg { width: 36px; height: 36px; display: block; color: var(--charge); opacity: .22; transition: opacity .6s ease; }
.theme-toggle .ct-glint { fill: none; stroke: currentColor; stroke-width: .85; stroke-linecap: round; opacity: .72; }
html[data-theme="dark"] .theme-toggle .ct-glare { opacity: 0; }
.theme-toggle .ct-flower svg { width: 30px; height: 30px; display: block; color: var(--purple); opacity: .15; }
.theme-toggle .ct-orbit { width: 100%; height: 100%; display: grid; place-items: center; transform-origin: 55.7% 54.7%; transform: rotate(var(--spin, 0deg)); transition: transform .9s cubic-bezier(.45,.05,.3,1); }
.theme-toggle .ct-body { grid-area: 1 / 1; }
.theme-toggle .ct-body svg { width: 19.6px; height: 19.6px; display: block; color: var(--charge); }
.theme-toggle .ct-star { transform: rotate(calc(-1 * var(--spin, 0deg) + var(--ct-sr, 0deg))) scale(var(--ct-ss, 1)); transition: transform .9s cubic-bezier(.45,.05,.3,1); }
.theme-toggle .ct-moon { transform: translate(23.3%, 19.2%) rotate(calc(-1 * var(--spin, 0deg) + var(--ct-mr, 0deg))) scale(var(--ct-ms, 1)); opacity: var(--ct-mo, 0); transition: transform .9s cubic-bezier(.45,.05,.3,1), opacity .55s ease; }
html[data-theme="dark"] .theme-toggle .ct-star { --ct-sr: 90deg; --ct-ss: .23; }
html[data-theme="dark"] .theme-toggle .ct-moon { --ct-mr: 90deg; --ct-ms: 1; --ct-mo: 1; }
@media (prefers-reduced-motion: reduce) { .theme-toggle .ct-orbit, .theme-toggle .ct-star, .theme-toggle .ct-moon, .theme-toggle .ct-glare svg { transition: none; } }
.mobile-menu-toggle { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--surface-2); color: var(--text); font: inherit; font-size: var(--font-small); font-weight: 850; cursor: pointer; }
.mobile-menu-toggle .mm-icon { display: inline-flex; }
.mobile-menu-toggle .mm-close { display: none; }
.site-header-bar.is-expanded .mobile-menu-toggle .mm-open { display: none; }
.site-header-bar.is-expanded .mobile-menu-toggle .mm-close { display: inline-flex; }
.site-header-bar.is-compact .site-header, .site-header-bar.is-expanded .site-header { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.site-header-bar.is-compact .brand, .site-header-bar.is-expanded .brand { margin-right: auto; }
.site-header-bar.is-compact .mobile-menu-toggle, .site-header-bar.is-expanded .mobile-menu-toggle { display: inline-flex; order: 2; }
.site-header-bar.is-compact .theme-toggle, .site-header-bar.is-expanded .theme-toggle { order: 1; }
.site-header-bar.is-compact .main-nav, .site-header-bar.is-compact .header-cta, .site-header-bar.is-compact .lang-menu { display: none; }
.site-header-bar.is-compact .site-header { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.site-header-bar.is-expanded .header-cta { order: 3; flex: 1 0 100%; }
.site-header-bar.is-expanded .lang-menu { order: 4; flex: 1 0 100%; }
.site-header-bar.is-expanded .main-nav { order: 5; flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: 2px; overflow: visible; white-space: normal; }
.site-header-bar.is-expanded .main-nav a { min-height: 44px; }
.nav-measure { position: absolute; left: -9999px; top: 0; visibility: hidden; pointer-events: none; display: flex; flex-wrap: nowrap; gap: 2px clamp(8px,1.3vw,16px); width: max-content; max-width: none; white-space: nowrap; font-size: var(--font-small); font-weight: 750; }
.theme-toggle .theme-glyph { color: var(--purple); }
html[data-theme="light"] .theme-glyph-moon { display: none; }
html[data-theme="dark"] .theme-glyph-star { display: none; }
/* language: globe -> popover */
.lang-menu { position: relative; }
.lang-globe { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--muted); background: var(--surface-2); font: inherit; font-size: .8125rem; font-weight: 850; letter-spacing: .02em; cursor: pointer; transition: background var(--motion-fast), color var(--motion-fast); }
.lang-globe:hover, .lang-menu.is-open .lang-globe { color: var(--text); background: var(--surface); }
.lang-popover { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; grid-template-columns: 1fr; gap: 2px; min-width: 178px; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-rest); }
.lang-menu.is-open .lang-popover { display: grid; }
.lang-popover .lang-link { display: flex; align-items: baseline; gap: 8px; min-height: 38px; padding: 0 10px; color: var(--muted); border-radius: var(--radius-sm); font-weight: 700; transition: background var(--motion-fast), color var(--motion-fast); }
.lang-popover .lang-link:hover { color: var(--text); background: var(--surface-2); }
.lang-popover .lang-link.is-active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.lang-popover .lang-code { min-width: 26px; font-weight: 850; }
.lang-popover .lang-name { color: var(--muted); font-size: .82rem; font-weight: 600; }
.hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,.58fr);
  gap: clamp(2rem,5vw,4.5rem);
  align-items: center;
  max-width: 1220px;
  margin: clamp(1rem,2vw,1.5rem) auto 0;
  padding: clamp(2.5rem,4.5vw,4rem) clamp(1.5rem,5vw,4rem);
  border-radius: var(--radius-xl);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, #562044 0%, #2c1d3d 48%, #121724 100%);
  box-shadow: var(--shadow-hero);
  overflow: hidden;
}
html[data-theme="light"] .hero {
  background: linear-gradient(135deg, #5a2148 0%, #302044 50%, #151a29 100%);
}
.eyebrow { margin: 0 0 14px; color: var(--purple); font-size: var(--font-xs); font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 16ch; margin: 0; font-size: clamp(2.35rem,4.2vw,4.25rem); line-height: 1.05; letter-spacing: -.02em; }
h2 { max-width: 820px; margin: 0 0 16px; font-size: clamp(1.75rem,2.6vw,2.75rem); line-height: 1.12; letter-spacing: -.01em; }
h3 { margin: 0 0 10px; }
.hero p { color: rgba(255,255,255,.86); line-height: 1.65; font-size: clamp(1rem,1.25vw,1.1rem); }
.section p, .page-hero p { color: var(--muted); line-height: 1.65; font-size: 1.02rem; max-width: var(--measure-prose); }
.hero-copy > p:not(.eyebrow) { max-width: 60ch; margin-top: var(--space-5); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.section-actions { margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 850; cursor: pointer; transition: background var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast); }
.button.primary { color: #fff; background: var(--purple); box-shadow: 0 6px 16px rgba(112,37,88,.16); }
.button.primary:hover { background: var(--purple-hover); }
.button.primary:active { background: var(--purple-active); }
.button:disabled, .button[aria-busy="true"] { opacity: .58; cursor: not-allowed; transform: none; box-shadow: none; }
.button.secondary { color: var(--purple); background: linear-gradient(180deg, rgba(112,37,88,.115), rgba(112,37,88,.075)); border-color: rgba(112,37,88,.22); box-shadow: 0 1px 0 rgba(255,255,255,.72) inset, 0 8px 18px rgba(38,32,44,.055); font-weight: 800; transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast); }
.button.secondary:hover { color: var(--purple-hover); background: linear-gradient(180deg, rgba(112,37,88,.16), rgba(112,37,88,.105)); border-color: rgba(112,37,88,.34); box-shadow: 0 1px 0 rgba(255,255,255,.78) inset, 0 12px 26px rgba(38,32,44,.09); transform: translateY(-1px); }
.button.secondary:active { color: var(--purple-active); background: rgba(112,37,88,.14); border-color: rgba(112,37,88,.4); box-shadow: 0 4px 12px rgba(38,32,44,.07); transform: translateY(0); }
html[data-theme="dark"] .button.secondary { background: linear-gradient(180deg, color-mix(in srgb, var(--purple) 18%, transparent), color-mix(in srgb, var(--purple) 10%, transparent)); border-color: color-mix(in srgb, var(--purple) 38%, var(--line)); box-shadow: 0 10px 24px rgba(0,0,0,.22); }
html[data-theme="dark"] .button.secondary:hover { background: linear-gradient(180deg, color-mix(in srgb, var(--purple) 24%, transparent), color-mix(in srgb, var(--purple) 14%, transparent)); border-color: color-mix(in srgb, var(--purple) 52%, var(--line)); box-shadow: 0 12px 26px rgba(0,0,0,.28); }
/* dark filled buttons: calmer plum (not candy-magenta), off-white text, lighter weight */
html[data-theme="dark"] .button.primary, html[data-theme="dark"] .header-cta { color: #fff7fc; background: #aa4a8a; border-color: #b85a98; font-weight: 760; box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 10px 24px rgba(0,0,0,.28); }
html[data-theme="dark"] .button.primary:hover, html[data-theme="dark"] .header-cta:hover { background: #b85a98; color: #fffafd; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 28px rgba(0,0,0,.32); }
html[data-theme="dark"] .button.primary:active, html[data-theme="dark"] .header-cta:active { background: #943d78; color: #fff7fc; box-shadow: 0 6px 16px rgba(0,0,0,.24); }
html[data-theme="dark"] .hero .button.primary { color: #26101f; background: #fbf7fb; border-color: rgba(255,255,255,.42); font-weight: 850; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; color: var(--purple); font-size: var(--font-small); font-weight: 850; transition: color var(--motion-fast); }
.text-link::after { content: "→"; display: inline-block; transition: transform var(--motion-fast); }
.text-link:hover { color: var(--purple-hover); }
.text-link:hover::after { transform: translateX(3px); }
.hero .button.primary { color: #26101f; background: #fbf7fb; border-color: rgba(255,255,255,.42); box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.hero .button.primary:hover { color: #1e0c18; background: #fff; transform: translateY(-1px); }
.hero .button.primary:active { background: #f2e8f0; transform: translateY(0); }
.button.ghost { color: var(--text); border-color: var(--line); background: var(--surface); }
.hero .button.ghost { color: rgba(255,255,255,.92); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.075); }
.hero .button.ghost:hover { color: #fff; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.12); }
.direct-contact { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.direct-contact a, .direct-contact span { min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--surface); font-weight: 760; }
.hero .direct-contact { margin-top: var(--space-5); gap: var(--space-3); }
.hero .direct-contact span { display: none; }
.hero .direct-contact a { min-height: 32px; padding: 0; border: 0; border-radius: 0; color: rgba(255,255,255,.76); background: transparent; font-size: var(--font-small); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.24); text-underline-offset: 4px; }
.hero .direct-contact a:hover { color: #fff; text-decoration-color: rgba(255,255,255,.6); }
@media (max-width: 640px) { .hero .direct-contact { display: none; } }
.risk-panel, .checker-panel, .contact-form, .service-card, .trust-strip article, .process-grid article, .page-content article, .proof-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-rest);
}
.service-card, .service-index-grid article, .knowledge-grid article {
  transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast);
}
.service-card:hover, .service-index-grid article:hover, .knowledge-grid article:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--line-strong);
}
.risk-panel { --text: #14131a; --muted: #5d6270; --surface-2: #f2f3f7; --line: #e6e8ef; --purple: #702558; padding: clamp(1.5rem,3vw,2rem); color: var(--text); background: rgba(255,255,255,.965); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.62); border-radius: var(--radius-md); box-shadow: 0 18px 50px rgba(0,0,0,.20); }
.panel-topline { width: 44px; height: 2px; margin-bottom: var(--space-5); border-radius: var(--radius-pill); background: var(--purple); opacity: .55; }
.panel-topline span { display: none; }
.risk-panel dl { display: grid; gap: 0; margin: var(--space-5) 0 0; }
.risk-panel dl > div { padding: var(--space-4) 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.risk-panel dl > div:first-child { border-top: 0; padding-top: 0; }
.risk-panel dt { color: var(--purple); font-size: var(--text-label); line-height: 1.3; font-weight: 650; text-transform: none; letter-spacing: 0; }
.risk-panel dd { margin: var(--space-1) 0 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .risk-panel { animation: hero-in .6s cubic-bezier(.2,.8,.2,1) both; }
  .risk-panel { animation-delay: .08s; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
.trust-strip, .section, .page-hero, .page-content, .footer { max-width: none; margin-left: 0; margin-right: 0; }
.trust-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding: clamp(18px,3vw,30px) clamp(16px,3vw,0px); padding-inline: max(var(--section-x), calc((100vw - 1220px) / 2 + var(--section-x))); }
.trust-strip article { min-height: 0; padding: clamp(1.25rem,2vw,1.5rem); border-color: var(--line); background: color-mix(in srgb, var(--surface) 88%, var(--page)); box-shadow: 0 1px 2px rgba(20,19,26,.025); }
html[data-theme="dark"] .trust-strip article { background: color-mix(in srgb, var(--surface) 86%, var(--page)); box-shadow: none; }
.trust-strip h2 { margin: 0 0 10px; font-size: 1.02rem; }
.trust-strip p { margin: 0; font-size: .94rem; color: var(--muted); line-height: 1.55; }
.section { padding: var(--section-y) var(--section-x); max-width: 1220px; margin-inline: auto; }
.section:nth-of-type(even) { background: transparent; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--grid-gap); margin-top: 26px; }
.service-grid.detailed { margin-top: 0; }
html.reveal-on main > section:not(.hero):not(.page-hero) { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
html.reveal-on main > section:not(.hero):not(.page-hero).is-visible { opacity: 1; transform: none; }
.service-card { min-height: 250px; padding: var(--card-pad); display: flex; flex-direction: column; gap: 10px; }
.service-card h3 { margin: 0; min-height: calc(2 * 1.25em); line-height: 1.25; font-weight: 750; }
.service-card > p:not(.service-label) { margin: 0; }
.service-label { margin: 0; color: var(--muted) !important; font-size: var(--text-label) !important; font-weight: 600; letter-spacing: 0; text-transform: none; }
.service-card a, .service-index-grid article > a { color: var(--purple); font-weight: 760; margin-top: auto; align-self: flex-start; }
.service-card a::after, .service-index-grid article > a::after { content: "→"; margin-left: .35rem; display: inline-block; transition: transform var(--motion-fast); }
.service-card a:hover::after, .service-index-grid article > a:hover::after { transform: translateX(3px); }
.service-meta, .service-card dl { display: grid; gap: var(--space-3); margin: var(--space-4) 0 0; }
.service-meta div, .service-card dl div { display: grid; gap: 2px; }
.service-meta dt, .service-card dt { color: var(--muted); font-size: var(--text-label); line-height: 1.3; font-weight: 600; letter-spacing: 0; text-transform: none; }
.service-meta dd, .service-card dd { margin: 0; color: var(--text); font-size: .95rem; line-height: 1.5; font-weight: 450; }
.split, .checker, .contact { display: grid; grid-template-columns: minmax(0,.9fr) minmax(300px,1fr); gap: clamp(28px,5vw,70px); align-items: start; }
.process-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.process-grid article { padding: clamp(1.35rem,2.4vw,1.75rem); box-shadow: none; }
.step-head { display: flex; align-items: baseline; gap: var(--space-3); margin-bottom: var(--space-2); } .step-head h3 { margin: 0; }
.process-grid .step-head span, .roadmap-grid .step-head span, .investigation .graph-grid .step-head span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 1.6rem; padding: 0 var(--space-2); margin: 0; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--purple); background: var(--purple-soft); font-size: var(--text-label); font-weight: 750; font-variant-numeric: tabular-nums; }
.roadmap-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 26px; position: relative; }
.roadmap-grid article { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-rest); }
.roadmap-grid article::after { display: none; }
.roadmap-grid article:last-child::after { display: none; }

.investigation .graph-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.investigation .graph-grid article { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); box-shadow: var(--shadow-rest); }
.investigation .graph-grid article::before { display: none; }
.investigation .graph-grid article:last-child::before { display: none; }

.standard-list { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-5); }
.standard-list span { padding: .5rem .75rem; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--muted); background: var(--surface-2); font-size: var(--text-label); font-weight: 600; }
.knowledge-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.knowledge-grid article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-rest); }
.stack-glance-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 1px 2px rgba(20,19,26,.025); overflow: hidden; margin-top: var(--space-5); }
.stack-glance-panel article { padding: clamp(1.25rem,2.4vw,1.75rem); border-right: 1px solid var(--line); }
.stack-glance-panel article:last-of-type { border-right: 0; }
.stack-glance-panel h3 { margin: 0 0 var(--space-2); font-size: 1.02rem; font-weight: 750; }
.stack-glance-panel p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.stack-glance-panel .text-link { grid-column: 1 / -1; justify-self: start; border-top: 1px solid var(--line); padding: var(--space-3) clamp(1.25rem,2.4vw,1.75rem); }
.tech-board { display: grid; gap: 28px; min-width: 0; margin-top: 28px; }
.tech-group { display: grid; min-width: 0; gap: 14px; }
.tech-group-header { display: flex; gap: 16px; align-items: end; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.tech-group-header h3 { margin: 0; color: var(--text); font-size: 1.08rem; }
.tech-group-header span { max-width: 360px; color: var(--muted); font-size: .9rem; line-height: 1.45; text-align: right; }
.tech-logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 0; gap: var(--space-3); }
.tech-logo-card { display: grid; grid-template-rows: 80px auto auto 1fr; min-width: 0; gap: var(--space-2); min-height: 238px; height: 100%; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-rest); }
.tech-logo-frame { display: grid; height: 80px; place-items: center; padding: 14px; border: 1px solid rgba(20,19,26,.08); border-radius: var(--radius-sm); background: #fff; }
.tech-logo-frame img { display: block; max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.tech-logo-card strong { display: block; min-width: 0; color: var(--text); font-size: 1rem; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.tech-logo-card span { justify-self: start; max-width: 100%; padding: 3px 8px; border-radius: var(--radius-pill); color: var(--purple); background: var(--purple-soft); border: 1px solid color-mix(in srgb, var(--purple) 22%, var(--line)); font-size: var(--text-label); font-weight: 650; line-height: 1.2; white-space: normal; overflow-wrap: anywhere; }
.tech-logo-card p { min-width: 0; margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
@media (max-width: 1080px) { .tech-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tech-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stack-glance-panel { grid-template-columns: 1fr; } .stack-glance-panel article { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .tech-logo-grid { grid-template-columns: 1fr; } }
.safe-check-list { display: grid; gap: 9px; margin: 18px 0; padding: 0; list-style: none; }
.safe-check-list li { position: relative; padding-left: 22px; color: var(--muted); line-height: 1.55; }
.safe-check-list li::before { position: absolute; left: 0; top: .62em; width: 8px; height: 8px; content: ""; border-radius: 50%; background: var(--teal); }
.checker-panel, .contact-form { display: grid; gap: var(--space-4); padding: var(--card-pad); max-width: var(--form-max); width: 100%; }
.checker-tabs { display: none; }
label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
input, textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font: inherit; font-size: 1rem; transition: border-color var(--motion-fast), background var(--motion-fast); }
textarea { min-height: 144px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 68%, transparent); }
input:hover, textarea:hover { border-color: var(--line-strong); }
input:focus-visible, textarea:focus-visible { border-color: var(--purple); border-radius: var(--radius-sm); }
input:-webkit-autofill, textarea:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--surface) inset; -webkit-text-fill-color: var(--text); caret-color: var(--text); }
html[data-theme="dark"] input, html[data-theme="dark"] textarea { background: color-mix(in srgb, var(--surface) 88%, #fff 4%); }
html[data-theme="dark"] input:-webkit-autofill, html[data-theme="dark"] textarea:-webkit-autofill { -webkit-box-shadow: 0 0 0 100px var(--surface) inset; }
.contact-form label, .checker-panel label { display: grid; gap: 6px; color: var(--muted); font-size: var(--text-label); font-weight: 650; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.form-optional { color: var(--muted); font-weight: 500; }
textarea { min-height: 120px; resize: vertical; }
.privacy-note, .form-note, .checker-result { font-size: .9rem !important; color: var(--muted); }
.checker-result.is-report { display: grid; gap: 14px; color: var(--text); }
.report-summary { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); }
.score-badge { display: grid; width: 72px; height: 72px; place-items: center; border-radius: var(--radius-sm); color: #fff; background: var(--purple); }
.score-badge strong { font-size: 2rem; line-height: 1; }
.score-badge span { font-size: .78rem; font-weight: 850; }
.report-summary span, .report-next p { color: var(--muted); }
.report-summary p { margin: 4px 0 0; font-size: .9rem; }
.report-summary a { color: var(--purple); font-weight: 850; }
.report-counts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.report-counts span { display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-2); color: var(--muted); text-align: center; }
.report-counts strong { color: var(--text); font-size: 1.25rem; }
.report-findings { display: grid; gap: 8px; }
.report-findings article { padding: 12px; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 8px; background: var(--surface-2); }
.report-findings article.is-issue { border-left-color: var(--orange); }
.report-findings article div { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.report-findings article span { padding: 3px 7px; border-radius: 999px; color: #fff; background: var(--orange); font-size: .68rem; font-weight: 900; }
.report-findings article p { margin: 6px 0 0; font-size: .9rem; line-height: 1.45; }
.report-next { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--purple-soft); }
.report-next p { margin: 6px 0 0; font-size: .9rem; line-height: 1.45; }
.page-hero { min-height: auto; padding: clamp(48px,7vw,82px) var(--section-x); max-width: 1220px; margin-inline: auto; }
.page-hero.compact { padding-block: clamp(40px,5vw,60px) clamp(10px,1.5vw,18px); } .page-hero.compact + .section { padding-top: clamp(12px,1.8vw,24px); }
.page-hero h1 { max-width: 940px; }
.page-hero p { max-width: 820px; }
.page-content { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding: 0 clamp(18px,4vw,28px) clamp(58px,7vw,92px); }
.page-content article { padding: 24px; box-shadow: none; }
.page-content li { color: var(--muted); line-height: 1.65; margin-bottom: 8px; }
.proof-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.proof-grid article { padding: 24px; }
.proof-grid.cards-align article { display: flex; flex-direction: column; gap: 8px; }
.proof-grid.cards-align article h2 { margin: 0; line-height: 1.2; min-height: calc(2 * 1.2em); }
.footer {
  display: grid;
  grid-template-columns: 1.2fr .7fr .8fr;
  gap: var(--space-6);
  align-items: start;
  padding: clamp(2.25rem,4vw,3rem) clamp(18px,4vw,28px);
  padding-inline: max(var(--section-x), calc((100vw - 1220px) / 2 + var(--section-x)));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  border-top: 1px solid rgba(192,90,159,.14);
  background: linear-gradient(180deg, rgba(192,90,159,.07), transparent 34%), linear-gradient(135deg, #171622 0%, #101522 52%, #0b101a 100%);
}
html[data-theme="light"] .footer { border-color: rgba(255,255,255,.12); border-top-color: rgba(255,255,255,.22); background: linear-gradient(135deg, #3b245e 0%, #32204f 54%, #251a3b 100%); }
.footer img { width: 210px; margin-bottom: 12px; }
.footer p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.6; }
.footer-links, .footer-contact { display: grid; gap: 8px; color: rgba(255,255,255,.78); }
.footer a { color: rgba(255,255,255,.78); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color var(--motion-fast), text-decoration-color var(--motion-fast); }
.footer a:hover { color: #fff; text-decoration-color: rgba(255,255,255,.42); }
.footer-contact a { color: rgba(255,255,255,.88); font-weight: 700; }
.footer :focus-visible { outline-color: #fff; outline-offset: 4px; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-4); margin-top: var(--space-2); border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.62); font-size: var(--font-small); }
.footer-bottom nav { display: flex; gap: var(--space-4); }
.cookie-banner[hidden] { display: none; }
.cookie-banner { position: fixed; left: 50%; transform: translateX(-50%); bottom: var(--space-4); z-index: 70; width: min(680px, calc(100% - var(--space-5))); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-4); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--text); box-shadow: var(--shadow-hover); }
.cookie-banner p { margin: 0; flex: 1 1 320px; color: var(--muted); font-size: var(--font-small); line-height: 1.5; }
.cookie-banner p a { color: var(--purple); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: var(--space-3); flex: 0 0 auto; }
.cookie-actions .button { min-height: 42px; padding: 0 var(--space-4); }
.error-hero { text-align: center; }
.error-hero h1 { font-size: clamp(3rem, 9vw, 5rem); line-height: 1; }
.error-links { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center; margin-top: var(--space-4); }
@media (max-width: 640px) { .cookie-banner { bottom: calc(78px + env(safe-area-inset-bottom)); } .cookie-actions { flex: 1 1 100%; } .cookie-actions .button { flex: 1; } }
/* hero eyebrow on dark */
.hero .eyebrow { margin-bottom: var(--space-3); color: rgba(255,255,255,.72); }
h1 { font-size: clamp(2.25rem,3.95vw,3.95rem); }
.mobile-cta-bar { display: none; } .mcb-icon { display: inline-flex; align-items: center; justify-content: center; }
.mobile-cta-bar .mcb-state { display: flex; gap: 8px; width: 100%; align-items: stretch; }
.mobile-cta-bar .mcb-state-end { display: none; }
.mobile-cta-bar.is-end .mcb-state-cta { display: none; }
.mobile-cta-bar.is-end .mcb-state-end { display: flex; }
.mobile-cta-bar.is-end { background: color-mix(in srgb, var(--surface) 92%, var(--purple) 8%); }
.mcb-state-end .button { flex: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; } .contact-form altcha-widget, .checker-panel altcha-widget { display: block; width: 100%; max-width: 420px; margin: var(--space-1) 0; --altcha-max-width: 100%; --altcha-border-radius: 8px; --altcha-border-width: 1px; --altcha-color-base: var(--surface); --altcha-color-border: var(--line); --altcha-color-border-focus: var(--purple); --altcha-color-text: var(--text); --altcha-color-error-text: var(--danger-text); --altcha-color-footer-bg: var(--surface-2); } .contact-result, .checker-result { min-height: 1.4em; margin: 0; font-weight: 700; font-size: .92rem; } .contact-result.is-ok, .checker-result.is-ok { color: #176b61; background: rgba(86,179,181,.12); border: 1px solid rgba(86,179,181,.28); padding: 10px 12px; border-radius: var(--radius-sm); } .contact-result.is-error, .checker-result.is-error { color: var(--danger-text); background: color-mix(in srgb, var(--danger-text) 10%, transparent); border: 1px solid color-mix(in srgb, var(--danger-text) 28%, var(--line)); padding: 10px 12px; border-radius: var(--radius-sm); }
.service-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: var(--grid-gap); justify-content: start; margin-top: var(--space-5); } .cta-band { text-align: center; } .cta-band .actions { justify-content: center; } .free-check-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; } .free-check-teaser .safe-check-list { margin-top: 0; } .service-category { padding-top: 8px; } .company-list { line-height: 1.9; padding-left: 1.1rem; } .service-category .category-intro { color: var(--muted); max-width: var(--measure-prose); } .service-index-grid article { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--card-pad); box-shadow: var(--shadow-rest); } .service-index-grid article > a { margin-top: auto; padding-top: var(--space-3); color: var(--purple); font-weight: 760; } .service-index-grid h3 { margin: 0 0 10px; font-size: 1.1rem; } .service-index-grid p { margin: 6px 0; font-size: 0.95rem; }

@media (max-width: 980px) {
  .hero, .split, .checker, .contact, .footer { grid-template-columns: 1fr; padding-bottom: calc(2rem + 78px + env(safe-area-inset-bottom)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; } .site-header .brand { margin-right: auto; } .header-cta { order: 1; } .theme-toggle { order: 2; } .lang-menu { order: 3; } .main-nav { order: 4; flex: 1 0 100%; justify-content: flex-start; overflow-x: auto; margin-top: 4px; padding-top: var(--space-2); border-top: 1px solid var(--line); }
  .header-cta { justify-self: start; }
  .trust-strip, .service-grid, .page-content, .proof-grid, .roadmap-grid, .knowledge-grid, .investigation .graph-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .roadmap-grid article::after { display: none; }
  .investigation .graph-grid article::before { display: none; }
}
@media (max-width: 640px) { .header-cta { display: none; } .mobile-cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; align-items: stretch; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(0,0,0,.14); transition: transform var(--motion-fast); } .mobile-cta-bar.is-hidden { transform: translateY(130%); } .mobile-cta-bar .button.primary { flex: 1; min-height: 48px; } .mcb-icon { flex: 0 0 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; color: var(--purple); background: var(--surface-2); } body { padding-bottom: 0; } .hero-copy { display: flex; flex-direction: column; } .hero-copy .eyebrow { order: 1; } .hero-copy h1 { order: 2; } .hero-copy .actions { order: 3; } .hero-copy .direct-contact { order: 4; } .hero-copy > p:not(.eyebrow) { order: 5; } 
  .site-header { position: static; gap: 12px; border-radius: 0; width: 100%; }
  .brand img { width: 188px; }
  .header-cta { order: 3; flex: 1 0 100%; } .main-nav { order: 4; display: flex; flex-wrap: wrap; width: 100%; max-width: 100%; gap: 6px 16px; }
  .main-nav a { white-space: normal; }
  .theme-toggle { order: 1; max-width: 100%; } .lang-menu { order: 2; max-width: 100%; }
  main, .hero, .hero-copy, .section, .trust-strip, .page-hero, .page-content, .footer { max-width: 100%; min-width: 0; overflow-x: clip; }
  h1 { max-width: 100%; font-size: clamp(2rem,11vw,3rem); }
  h2 { font-size: clamp(1.65rem,8vw,2.35rem); }
  .hero { margin: var(--space-3) var(--space-4) 0; border-radius: var(--radius-lg); padding: 32px 22px 44px; }
  .hero-copy > p:not(.eyebrow) { max-width: 100%; }
  .trust-strip, .process-grid, .page-content, .proof-grid, .roadmap-grid, .knowledge-grid, .investigation .graph-grid { grid-template-columns: 1fr; }
  .tech-group-header { display: grid; align-items: start; }
  .tech-group-header span { max-width: none; text-align: left; }
  .actions .button, .header-cta { width: 100%; }
  .direct-contact a, .direct-contact span { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .report-summary { grid-template-columns: 1fr; }
  .report-counts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) { .service-grid, .service-index-grid, .tech-logo-grid, .knowledge-grid { display: flex; grid-template-columns: none; flex-wrap: nowrap; gap: var(--space-4); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: var(--section-x); -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: var(--space-2); } .service-grid::-webkit-scrollbar, .service-index-grid::-webkit-scrollbar, .tech-logo-grid::-webkit-scrollbar, .knowledge-grid::-webkit-scrollbar { display: none; } .service-grid > *, .service-index-grid > *, .knowledge-grid > * { flex: 0 0 min(86%, 380px); scroll-snap-align: start; scroll-snap-stop: always; } .tech-logo-grid > * { flex: 0 0 min(78%, 300px); scroll-snap-align: start; scroll-snap-stop: always; } }
