/* Versioned asset: prevents stale Cloudflare cache mixes. */
:root {
  color-scheme: light dark;
  --background: #f5f3fa;
  --surface: #ffffff;
  --text: #171b2a;
  --text-secondary: #556078;
  --brand: #7656b8;
  --brand-soft: #ede7f8;
  --recovery: #287a55;
  --energy: #286b93;
  --load: #8b5f20;
  --border: #dcd7e8;
  --shadow: 0 20px 60px rgba(31, 26, 48, .08);
  --focus: #7656b8;
  --max-width: 1180px;
  --reading-width: 760px;
  --radius-large: 28px;
  --radius-medium: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0b1020;
    --surface: #141b2d;
    --text: #f4f7fb;
    --text-secondary: #aab5c8;
    --brand: #c8aeff;
    --brand-soft: #2a2440;
    --recovery: #a7d97c;
    --energy: #a8d8ff;
    --load: #e7be7a;
    --border: #2b354b;
    --shadow: 0 24px 80px rgba(0, 0, 0, .28);
    --focus: #c8aeff;
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 34rem), var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 6px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
main {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px 10px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.02em;
}

.brand-lockup img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(24, 18, 40, .16);
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-meta { color: var(--text-secondary); font-size: .88rem; text-align: right; }
.language-switcher { display: flex; align-items: center; gap: 8px; }
.language-option {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 8px 22px rgba(31, 26, 48, .08);
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.language-option:hover { transform: translateY(-1px); border-color: var(--brand); }
.language-option[aria-current="page"] { border-color: var(--brand); background: var(--brand-soft); }
.language-option svg { width: 26px; height: 18px; overflow: hidden; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 22px;
  padding: clamp(34px, 7vw, 76px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 12%, var(--surface)), var(--surface) 58%);
  box-shadow: var(--shadow);
}

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--brand); font-size: .82rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { width: 26px; height: 2px; border-radius: 999px; background: currentColor; content: ""; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; text-wrap: balance; }
h1 { max-width: 820px; margin: 0; font-size: clamp(2.45rem, 7vw, 5.25rem); line-height: .98; letter-spacing: -.055em; }
.hero-intro { max-width: 720px; margin: 28px 0 0; color: var(--text-secondary); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.55; }

.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.trust-card { min-height: 138px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-medium); background: color-mix(in srgb, var(--surface) 82%, transparent); }
.trust-card strong { display: block; margin-bottom: 8px; font-size: 1rem; line-height: 1.25; }
.trust-card p { margin: 0; color: var(--text-secondary); font-size: .92rem; line-height: 1.5; }
.trust-card:nth-child(1) strong { color: var(--brand); }
.trust-card:nth-child(2) strong { color: var(--recovery); }
.trust-card:nth-child(3) strong { color: var(--energy); }
.trust-card:nth-child(4) strong { color: var(--load); }

.policy-layout { display: grid; grid-template-columns: 250px minmax(0, var(--reading-width)); justify-content: center; gap: clamp(40px, 7vw, 86px); padding-block: 74px; }
.toc { position: sticky; top: 24px; align-self: start; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-medium); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.toc strong { display: block; margin-bottom: 12px; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.toc ol { display: grid; gap: 7px; margin: 0; padding-left: 1.25rem; color: var(--text-secondary); font-size: .88rem; line-height: 1.35; }
.toc a { color: inherit; text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
article { min-width: 0; }
article section { margin: 0; padding: 4px 0 48px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; box-shadow: none; }
article section + section { padding-top: 48px; }
article section:last-child { border-bottom: 0; }
h2 { margin: 0 0 18px; font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -.035em; }
h3 { margin: 30px 0 10px; font-size: 1.08rem; line-height: 1.35; }
p { margin: 0 0 18px; }
ul { margin: 12px 0 20px; padding-left: 1.3rem; }
li + li { margin-top: 8px; }
.callout { margin-block: 24px; padding: 20px 22px; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: var(--brand-soft); }
.callout p:last-child { margin-bottom: 0; }

.site-footer { width: 100%; margin: 0; padding: 54px 0 42px; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; color: var(--text-secondary); font-size: 14px; }
.site-footer .shell { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.footer-grid { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.footer-grid .brand-lockup { color: var(--text); }
.footer-grid p { margin: 10px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-layout { grid-template-columns: minmax(0, var(--reading-width)); padding-top: 48px; }
  .toc { position: static; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { align-items: center; }
  .header-meta { display: none; }
  .header-actions { gap: 10px; }
  .language-switcher { gap: 6px; }
  .language-option { width: 42px; height: 42px; }
  .hero { padding: 30px 22px; border-radius: 22px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { min-height: 0; }
  .policy-layout { padding-block: 36px 52px; }
  .site-footer .shell { width: min(calc(100% - 28px), var(--max-width)); }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  .site-header, .toc, .site-footer { display: none; }
  .hero { padding: 0 0 28px; border: 0; box-shadow: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-layout { display: block; padding: 20px 0; }
  article section { break-inside: avoid; }
}
