
:root {
  --bg: #ffffff;
  --text: #0b0b12;
  --muted: #6b6b7a;
  --card: #f7f7fb;
  --primary: #873F8C;
  --accent: #F3B33D;
  --dark: #1A1120;
  --border: #e7e7f0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0c12;
    --text: #f7f7fb;
    --muted: #b7b7c6;
    --card: #17131d;
    --border: #2b2434;
  }
}
[data-theme="dark"] {
  --bg: #0e0c12;
  --text: #f7f7fb;
  --muted: #b7b7c6;
  --card: #17131d;
  --border: #2b2434;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji; }
.container { width: min(1100px, 92%); margin-inline: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--muted); }
.muted { color: var(--muted); }
.tiny { font-size: .85rem; }
.btn { display:inline-flex; align-items:center; gap:.5rem; padding:.8rem 1rem; border-radius:.8rem; border:1px solid var(--border); background: var(--card); color: var(--text); text-decoration:none; font-weight:600; }
.btn:hover { filter: brightness(1.02); }
.btn.primary { background: var(--primary); color: white; border-color: transparent; }
.btn.secondary { background: var(--accent); border-color: transparent; }
.btn.ghost { background: transparent; }
.btn.small { padding:.6rem .9rem; font-size:.95rem; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin: 2.5rem 0 1rem; }
.grid-3 { display:grid; grid-template-columns: repeat(3,1fr); gap:1rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border:1px solid var(--border); border-radius: 1rem; padding: 1rem; }
.two-col { display:grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.bullets { line-height:1.9; }
.people li { margin:.4rem 0; }
/* Header */
.site-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding: .7rem 0; }
.brand { display:flex; align-items:center; gap:.6rem; font-weight:700; }
.logo { height: 28px; }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }
.site-nav { display:flex; gap: 1rem; align-items:center; }
.site-nav a { padding:.5rem .6rem; border-radius:.6rem; }
.site-nav .cta { background: var(--dark); color: white; }
.header-actions { display:flex; align-items:center; gap:.5rem; }
.theme-toggle { border:none; background:transparent; font-size:1.2rem; cursor:pointer; }
.nav-toggle { display:none; background:transparent; border:none; width:44px; height:44px; position:relative; }
.nav-toggle span { position:absolute; left:10px; right:10px; height:2px; background: var(--text); transition:.2s; }
.nav-toggle span:nth-child(1) { top:14px; }
.nav-toggle span:nth-child(2) { top:21px; }
.nav-toggle span:nth-child(3) { top:28px; }
@media (max-width: 900px) {
  .nav-toggle { display:block; }
  .site-nav { display:none; position:absolute; top:60px; left:0; right:0; background:var(--bg); border-top:1px solid var(--border); padding: .6rem; }
  .site-nav.open { display:flex; flex-direction:column; }
}
/* Hero */
.hero { display:grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; padding: 1.2rem 0 0; }
.hero h1 { font-size: clamp(2rem, 4.3vw, 3.2rem); line-height:1.1; margin: 0 0 .6rem; }
.lead { font-size: 1.1rem; }
.hero-actions { display:flex; gap:.6rem; margin: 1rem 0; flex-wrap: wrap; }
.metrics { display:flex; gap:1rem; padding:0; list-style:none; margin:1rem 0 0; }
.metrics .num { font-weight:800; font-size:1.2rem; }
.metrics .label { color: var(--muted); font-size:.92rem; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.trust .pillars { display:grid; grid-template-columns: repeat(3,1fr); gap:1rem; margin: 1.2rem 0; }
@media (max-width: 900px) { .trust .pillars { grid-template-columns: 1fr; } }
.product-card { display:block; padding:1rem; border:1px solid var(--border); border-radius:1rem; background: var(--card); }
.product-card .more { display:inline-block; margin-top:.6rem; }
.cta-slab { background: linear-gradient(120deg, rgba(135,63,140,.12), transparent), linear-gradient(0deg, var(--card), var(--card)); padding: 1.2rem 0; margin: 2rem 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.slab-grid { display:grid; grid-template-columns: 1fr auto; align-items:center; gap:1rem; }
@media (max-width: 900px) { .slab-grid { grid-template-columns: 1fr; } }
/* News list */
.news-list { display:grid; grid-template-columns: repeat(3,1fr); gap:1rem; }
.news-item { border:1px solid var(--border); border-radius: .8rem; padding: .9rem; background: var(--card); }
.news-item time { color: var(--muted); font-size:.9rem; }
@media (max-width: 900px) { .news-list { grid-template-columns: 1fr; } }
/* Forms */
.form label { display:block; font-weight:600; margin:.6rem 0 .3rem; }
.form input, .form select, .form textarea { width:100%; padding:.8rem .9rem; border-radius:.7rem; border:1px solid var(--border); background: var(--bg); color: var(--text); }
.form-actions { display:flex; align-items:center; gap:.8rem; margin-top:.8rem; }
/* Footer */
.site-footer { margin-top: 2rem; padding: 2rem 0; border-top:1px solid var(--border); background: linear-gradient(0deg, var(--card), var(--card)); }
.footer-grid { display:grid; grid-template-columns: 1.1fr repeat(3,1fr); gap:1rem; }
.footer-grid h4 { margin:.3rem 0; }
.footer-grid ul { list-style:none; padding:0; margin:0; line-height:2; }
.footer-meta { display:flex; justify-content:space-between; margin-top:1rem; }
.logo-mark { width: 32px; height: 32px; }
.social a { display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; border-radius:.5rem; border:1px solid var(--border); margin-right:.4rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
/* Prose */
.prose h2 { margin-top:1.5rem; }
.jobs .job { border:1px solid var(--border); border-radius:.8rem; padding:1rem; margin:.6rem 0; background: var(--card); }
.mini-kpi { display:flex; flex-direction:column; border:1px solid var(--border); background:var(--card); padding:.7rem; border-radius:.7rem; }
.cards-inline { display:flex; gap:.6rem; flex-wrap:wrap; }

/* Cookie banner & modal */
.cookie-banner { position: sticky; bottom: 0; left: 0; right: 0; background: var(--card); border-top: 1px solid var(--border); padding: .7rem 0; z-index: 40; }
.cookie-row { display:flex; gap:1rem; justify-content:space-between; align-items:center; }
.cookie-actions { display:flex; gap:.5rem; flex-wrap:wrap; }
.cookie-modal { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.4); z-index: 50; }
.cookie-modal-card { width: min(560px, 92%); background: var(--bg); color: var(--text); border:1px solid var(--border); border-radius: 1rem; padding: 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.cookie-toggle { display:flex; align-items:center; gap:.6rem; margin:.6rem 0; }
.footer-meta .cookie-link { text-decoration: underline; cursor: pointer; }
@media (max-width: 900px){ .cookie-row { flex-direction: column; align-items: flex-start; } }

/* Cookie bar: fixed horizontal strip at bottom */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: .7rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.cookie-row { 
  display: flex; 
  gap: 1rem; 
  justify-content: space-between; 
  align-items: center; 
}
.cookie-actions { 
  display: flex; 
  gap: .5rem; 
  flex-wrap: wrap; 
}
/* Robust hiding helper used by JS */
.is-hidden { display: none !important; }

@media (max-width: 720px) {
  .cookie-row { flex-direction: column; align-items: flex-start; }
}


/* Cookie bar: fixed horizontal strip at the bottom */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: .7rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.cookie-row { display: flex; gap: 1rem; justify-content: space-between; align-items: center; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Force-hide cookie UI when [hidden] is present (bulletproof) */
.cookie-modal[hidden],
.cookie-banner[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .cookie-row { flex-direction: column; align-items: flex-start; }
}

/* Keep site content above the background */
header, main, footer { position: relative; z-index: 1; }

/* Fullscreen FX container */
.fx-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* fallback if WebGL unavailable */
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(135,63,140,.30), transparent 60%),
    radial-gradient(50% 60% at 80% 40%, rgba(243,179,61,.20), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.25));
}
[data-theme="dark"] .fx-bg {
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(135,63,140,.36), transparent 60%),
    radial-gradient(50% 60% at 80% 40%, rgba(243,179,61,.22), transparent 60%),
    linear-gradient(180deg, rgba(26,17,32,.88), rgba(26,17,32,.88));
}

/* Canvas layer */
.fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.95; /* juicy but elegant */
}
@media (prefers-reduced-motion: reduce) {
  .fx-canvas { display: none; } /* fallback gradient stays */
}

