/* ============================================================
   vrelonasolution — design system
   Design language studied from teads.com (2026-10-16, live
   getComputedStyle on www.teads.com): a light-dominant white
   ground, deep-navy ink #0c142b, a saturated violet accent
   #3300bf, a full-bleed violet→navy gradient hero, pill buttons
   over 16px rounded cards, and a single-family type system
   (Plus Jakarta Sans). Self-hosted fonts, no external CDN,
   no build step.
   ============================================================ */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/fonts/PlusJakartaSans-Variable.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- preflight (baseline reset) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { border: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- tokens (teads.com, measured) ---------- */
:root {
  --color-paper: #ffffff;            /* reference body / main background */
  --color-paper-2: #f3f3fc;          /* reference card fill — light bands */
  --color-paper-3: #0c142b;          /* the dark surface (footer band) */
  --color-band: #0c142b;             /* reference --primary — nav, features, footer */
  --color-band-2: #3300bf;           /* reference --accent — the violet fill */

  --color-ink: #0c142b;              /* headings (reference --heading-color) */
  --color-ink-2: #575757;            /* body copy (reference --body-color) */
  --color-ink-3: #7c7c8a;            /* muted / meta */
  --color-rule: #e6e6ee;
  --color-rule-2: #d5d5e0;

  --color-accent: #3300bf;           /* reference --accent — violet, used as fill */
  --color-accent-deep: #ffffff;      /* type that sits ON the violet fill */
  --color-accent-hover: #3a00db;     /* reference --accent-hover */
  --color-accent-dark: #220080;      /* reference --accent-dark */
  --color-accent-soft: #ece6ff;      /* reference --accent-ultra-light */
  --color-accent-100: #ece6ff;       /* tags, marks, ticks on white */
  --color-accent-200: #c7b3ff;       /* reference --accent-light — accents on dark */

  --color-primary: #3300bf;          /* reference --secondary — links + UI text */
  --color-primary-deep: #220080;
  --color-primary-soft: #ece6ff;
  --color-primary-100: #c7b3ff;
  --color-primary-200: #ece6ff;

  --color-highlight: #3300bf;
  --color-alert: #e05545;
  --color-danger: #c0372b;
  --color-danger-soft: #fdecea;
  --color-ok: #12805c;
  --color-ok-soft: #e3f5ee;

  --brand-a: #0c142b;                /* the mark's ring + core */
  --brand-b: #3300bf;                /* the mark's satellite dot */

  --radius-lg: 16px;                 /* reference card / media radius */
  --radius: 16px;                    /* reference consent card radius */
  --radius-sm: 10px;
  --radius-pill: 999px;              /* reference --btn-radius: 50vw */

  --shadow-sm: 0 2px 10px rgba(12, 20, 43, .06);
  --shadow: 0 12px 26px -20px rgba(12, 20, 43, .40);
  --shadow-lg: 0 18px 48px rgba(12, 20, 43, .18);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1240px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
body {
  font-family: var(--font-sans);
  color: var(--color-ink-2);
  background: var(--color-paper);
  line-height: 1.58;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 1 auto; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-ink); line-height: 1.13; letter-spacing: -.02em; font-weight: 600; }
h1 { font-size: clamp(2.35rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.012em; }
h4 { font-size: 1.02rem; }
p { color: var(--color-ink-2); }
a { color: var(--color-primary); }
a:hover { color: var(--color-accent-dark); }
strong { font-weight: 700; color: var(--color-ink); }
code, pre { font-family: var(--font-mono); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section--tight { padding: 58px 0; }
.section--soft { background: var(--color-paper-2); }
.section--dark { background: var(--color-band); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p, .section--dark .lead { color: rgba(255, 255, 255, .78); }
.section--dark strong { color: #fff; }
.section--dark .eyebrow { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .26); }
.section--dark .eyebrow::before { background: var(--color-accent-200); }
.section--dark a { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-accent-soft);
  border: 1px solid #ddd2ff;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); flex: 0 0 auto; }
.eyebrow--blue { color: var(--color-primary); }
.eyebrow--onphoto { color: #fff; background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .28); }
.eyebrow--onphoto::before { background: var(--color-accent-200); }
.center { text-align: center; }
.lead { font-size: 1.09rem; color: var(--color-ink-2); }
.muted { color: var(--color-ink-3); font-size: .92rem; }
.section__head { max-width: 760px; margin: 0 0 54px; }
.section__head.center { text-align: center; margin: 0 auto 54px; }
.section__head p { margin-top: 14px; }
.section__head h2 + p { margin-top: 15px; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 18px; }
.mt-6 { margin-top: 28px; }
.mb-6 { margin-bottom: 28px; }

/* ---------- buttons (skins share the base group so any skin stands alone) ---------- */
.btn,
.btn--primary, .btn--ghost, .btn--light, .btn--dark,
.btn--accent, .btn--onband, .btn--outline-band {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn--sm { min-height: 38px; padding: 0 18px; font-size: .83rem; }
.btn--block { width: 100%; }
.btn:disabled, .btn--primary:disabled, .btn--ghost:disabled, .btn--accent:disabled,
.btn--onband:disabled, .btn--outline-band:disabled, .btn--light:disabled, .btn--dark:disabled {
  opacity: .5; cursor: not-allowed;
}

/* the violet fill carries white type (reference CTA treatment) */
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; }

.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: var(--color-accent-hover); color: #fff; }

.btn--dark { background: var(--color-band); color: #fff; }
.btn--dark:hover { background: #1a2450; color: #fff; }

.btn--light { background: #fff; color: var(--color-ink); border-color: var(--color-rule-2); }
.btn--light:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-rule-2); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* on dark bands the reference uses a solid white pill */
.btn--onband { background: #fff; color: var(--color-ink); }
.btn--onband:hover { background: var(--color-accent-200); color: var(--color-ink); }

.btn--outline-band { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--outline-band:hover { background: #fff; color: var(--color-ink); border-color: #fff; }

/* ---------- brand mark (drawn for this site: a ring, a core, and a satellite dot) ---------- */
.brand-mark {
  position: relative; width: 26px; height: 26px; flex: 0 0 auto; display: inline-block;
  background: radial-gradient(circle at 50% 50%, var(--brand-a) 0 2.6px, transparent 3.1px);
}
.brand-mark::before {
  content: ''; position: absolute; inset: 1px; border-radius: 50%;
  border: 2.6px solid var(--brand-a);
}
.brand-mark::after {
  content: ''; position: absolute; top: -1px; right: -1px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--brand-b);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; letter-spacing: -.03em; }
.brand__name { color: var(--color-ink); }
.brand__name em { font-style: normal; color: var(--color-primary); }

/* ---------- navigation: one deep-navy bar (reference: dark row, not sticky) ---------- */
.nav {
  position: relative; z-index: 60;
  background: var(--color-band);
  --brand-a: #ffffff; --brand-b: var(--color-accent-200);
}
.nav__bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 76px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: .89rem; font-weight: 500; color: rgba(255, 255, 255, .78);
  padding: 6px 0; position: relative; letter-spacing: .005em;
}
.nav__links a:hover { color: #fff; }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--color-accent-200);
}
.nav .brand__name { color: #fff; }
.nav .brand__name em { color: var(--color-accent-200); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions form { display: inline; }
.nav .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.nav .btn--ghost:hover { background: #fff; color: var(--color-ink); border-color: #fff; }
.nav .btn--primary { background: #fff; color: var(--color-ink); }
.nav .btn--primary:hover { background: var(--color-accent-200); color: var(--color-ink); }
.nav__toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff;
}
.nav__drawer { display: none; border-top: 1px solid rgba(255, 255, 255, .14); background: var(--color-band); }
.nav__drawer.is-open { display: block; }
.nav__drawer a {
  display: block; padding: 15px 28px; font-weight: 600; font-size: .92rem;
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.nav__drawer a.is-active { color: var(--color-accent-200); }
.nav__drawer .drawer__cta { padding: 16px 28px; display: grid; gap: 10px; }
.nav__drawer form { display: block; }
.nav__drawer .btn--light { background: #fff; color: var(--color-ink); border-color: #fff; }

/* ---------- hero (document / legal pages — light band) ---------- */
.hero { background: var(--color-paper-2); border-bottom: 1px solid var(--color-rule); padding: 60px 0; }
.hero__title { margin-bottom: 16px; }
.hero__title .hl { color: var(--color-primary); }
.hero__sub { font-size: 1.08rem; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 36px; border-top: 1px solid var(--color-rule-2); padding-top: 20px; }

/* gradient hero — the reference motif: full-bleed violet→navy, white copy, a media panel */
.hero--grad {
  position: relative; overflow: hidden; padding: 104px 0 0; border: 0;
  background: linear-gradient(180deg, #3300bf 0%, #25018c 48%, #0c142b 100%);
  color: #fff;
}
.hero--grad::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(58% 52% at 84% 8%, rgba(199, 179, 255, .30), transparent 64%);
}
.hero--grad .wrap { position: relative; z-index: 1; }
.hero--grad .hero__inner {
  display: flex; flex-direction: column; max-width: 880px; padding-bottom: 54px;
}
.hero--grad .hero__title { color: #fff; }
.hero--grad .hero__title .hl { color: var(--color-accent-200); }
.hero--grad .hero__sub { color: rgba(255, 255, 255, .82); max-width: 640px; }
.hero--grad .hero__meta { border-top-color: rgba(255, 255, 255, .24); }
.hero--grad .chip { background: transparent; border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .9); }
.hero--grad .chip::before { background: var(--color-accent-200); }
.hero--grad .btn--primary { background: #fff; color: var(--color-ink); }
.hero--grad .btn--primary:hover { background: var(--color-accent-200); color: var(--color-ink); }
.hero--grad .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero--grad .btn--ghost:hover { background: #fff; color: var(--color-ink); border-color: #fff; }
.hero--grad.hero--short { padding-top: 88px; }
.hero__media { margin-top: 26px; }
.hero__media img { width: 100%; height: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--color-rule-2);
  font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: var(--color-ink-2);
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.hero__meta .chip { background: transparent; border: 0; border-right: 1px solid var(--color-rule-2); border-radius: 0; color: var(--color-ink-2); padding: 4px 16px 4px 0; margin-right: 16px; }
.hero__meta .chip:last-child { border-right: 0; }
.hero--grad .hero__meta .chip { border-right-color: rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .84); }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  padding: 28px 26px 30px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.card__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--color-accent-soft); color: var(--color-primary); margin-bottom: 20px;
  border-radius: var(--radius-pill);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }
.section--dark .card, .section--dark .panel { background: transparent; border-color: rgba(255, 255, 255, .24); }
.section--dark .card:hover { border-color: var(--color-accent-200); box-shadow: none; }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: rgba(255, 255, 255, .78); }
.section--dark .card__icon { background: rgba(255, 255, 255, .12); color: var(--color-accent-200); }
.section--dark .tag { background: transparent; border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .84); }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: .71rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--color-ink-3); background: var(--color-paper-2);
  border: 1px solid var(--color-rule); padding: 4px 10px; border-radius: var(--radius-pill);
}
.tag--accent { color: var(--color-primary); background: var(--color-accent-100); border-color: var(--color-accent-100); }
.tag--blue { color: var(--color-ink-3); background: var(--color-paper-2); border-color: var(--color-rule); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-rule); }
.section--dark .split__media img { border-color: rgba(255, 255, 255, .2); }
.split__body h2 { margin-bottom: 16px; }
.checklist { margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; color: var(--color-ink-2); }
.checklist .tick {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-accent-100); color: var(--color-primary);
  display: grid; place-items: center; margin-top: 2px;
}
.checklist .tick svg { width: 12px; height: 12px; }
.section--dark .checklist li { color: rgba(255, 255, 255, .84); }
.section--dark .checklist .tick { background: var(--color-accent-200); color: var(--color-ink); }

/* ---------- qualitative stat row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--color-rule); }
.stat { padding: 26px 26px 28px 0; border-right: 1px solid var(--color-rule); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; color: var(--color-ink); letter-spacing: -.015em; }
.stat span { display: block; margin-top: 6px; font-size: .84rem; color: var(--color-ink-3); }
.section--dark .stat-row { border-top-color: rgba(255, 255, 255, .24); }
.section--dark .stat { border-right-color: rgba(255, 255, 255, .2); }
.section--dark .stat b { color: #fff; }
.section--dark .stat span { color: rgba(255, 255, 255, .68); }

/* ---------- quotes ---------- */
.quote { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.quote__body { padding: 28px 26px; display: flex; flex-direction: column; flex: 1 1 auto; }
.quote__body p { font-size: .97rem; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--color-rule); }
.monogram {
  width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%;
  font-weight: 700; background: var(--color-accent-100); color: var(--color-primary); font-size: .84rem;
}
.quote__who b { font-weight: 700; font-size: .92rem; color: var(--color-ink); display: block; }
.quote__who span { display: block; font-size: .82rem; color: var(--color-ink-3); }

/* ---------- closing statement band (deep navy with a violet wash) ---------- */
.band { position: relative; overflow: hidden; background: var(--color-band); color: #fff; padding: 84px 0; }
.band::before {
  content: ''; position: absolute; left: 34%; right: -14%; bottom: -78%; height: 560px; pointer-events: none;
  background: radial-gradient(46% 50% at 50% 50%, rgba(51, 0, 191, .9), transparent 70%);
}
.band .wrap { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .78); }
.band .btn--primary { background: #fff; color: var(--color-ink); }
.band .btn--primary:hover { background: var(--color-accent-200); color: var(--color-ink); }
.band .btn--dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.band .btn--dark:hover { background: #fff; color: var(--color-ink); border-color: #fff; }
.band .brand-mark { --brand-a: #ffffff; --brand-b: var(--color-accent-200); }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer (reference: deep navy with a violet gradient wash) ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--color-band);
  background-image: linear-gradient(rgba(12, 20, 43, 0) 30%, rgba(51, 0, 191, .55));
  color: #fff; padding-top: 68px;
  --brand-a: #ffffff; --brand-b: var(--color-accent-200);
}
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name em { color: var(--color-accent-200); }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer__grid h4 {
  font-family: var(--font-sans); font-size: .73rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 255, 255, .62); margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: rgba(255, 255, 255, .82); font-size: .92rem; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__about { color: rgba(255, 255, 255, .72); font-size: .93rem; margin-top: 18px; max-width: 340px; }
.footer__contact li { color: rgba(255, 255, 255, .82); font-size: .91rem; margin-bottom: 12px; }
.footer__contact a { color: rgba(255, 255, 255, .82); }
.footer__contact a:hover { color: #fff; }
.rule-t { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .18); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 24px 0; }
.footer__bottom p { color: rgba(255, 255, 255, .66); font-size: .85rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { color: rgba(255, 255, 255, .82); font-size: .85rem; }
.footer__legal a:hover { color: #fff; }
.linklike {
  background: none; border: 0; padding: 0; margin: 0; font: inherit;
  color: rgba(255, 255, 255, .82); font-size: .85rem; cursor: pointer;
}
.linklike:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .linklike { color: rgba(255, 255, 255, .82); }
.site-footer .linklike:hover { color: #fff; }

/* ---------- legal / document pages ---------- */
.legal { max-width: 880px; margin: 0 auto; }
.legal > p.updated { color: var(--color-ink-3); font-size: .85rem; margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--color-rule); }
.legal h2 { font-size: 1.42rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.03rem; margin: 24px 0 8px; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 10px 0 16px; display: grid; gap: 10px; }
.legal ul li { position: relative; padding-left: 18px; color: var(--color-ink-2); }
.legal ul li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent); }
.legal__card { background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: 26px; margin-top: 38px; }
.legal__card h3 { margin-top: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.field label { display: block; font-size: .87rem; font-weight: 600; color: var(--color-ink); margin-bottom: 8px; }
.field .hint { font-size: .82rem; color: var(--color-ink-3); margin-top: 7px; }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 14px;
  border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm);
  background: #fff; font-size: .96rem; outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(51, 0, 191, .15); }
textarea.input { resize: vertical; min-height: 140px; }
.input:disabled { background: var(--color-paper-2); color: var(--color-ink-3); cursor: not-allowed; }
.alert { padding: 13px 16px; font-size: .91rem; border: 1px solid; border-left-width: 3px; border-radius: var(--radius-sm); }
.alert-danger { background: var(--color-danger-soft); border-color: #f2c3bd; color: var(--color-danger); }
.alert-ok { background: var(--color-ok-soft); border-color: #b6e6d8; color: var(--color-ok); }

/* auth */
.auth { background: var(--color-paper-2); padding: 76px 0; }
.auth__card { max-width: 480px; margin: 0 auto; background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: 40px 38px; }
.auth__head { margin-bottom: 26px; }
.auth__head h1 { font-size: 1.9rem; margin-bottom: 8px; }
.auth__foot { font-size: .91rem; color: var(--color-ink-2); margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--color-rule); }

/* contact */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: start; }
.info-card { background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: 24px; }
.info-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.01rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--color-primary); }
.info-card p, .info-card li { font-size: .92rem; }

/* ---------- dashboard ---------- */
.dash { display: flex; min-height: 100vh; background: var(--color-paper-2); }
.dash__side {
  width: 250px; flex: 0 0 auto; background: var(--color-band);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
  --brand-a: #ffffff; --brand-b: var(--color-accent-200);
}
.side__brand { padding: 22px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.side__brand .brand__name { color: #fff; }
.side__brand .brand__name em { color: var(--color-accent-200); }
.side__nav { flex: 1 1 auto; padding: 16px 12px; display: grid; gap: 2px; align-content: start; overflow-y: auto; }
.side__link {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px;
  font-size: .91rem; font-weight: 600; color: rgba(255, 255, 255, .72);
  border-left: 2px solid transparent; border-radius: var(--radius-sm);
}
.side__link svg { width: 18px; height: 18px; flex: 0 0 auto; }
.side__link:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side__link.is-active { background: rgba(255, 255, 255, .1); color: #fff; border-left-color: var(--color-accent-200); }
.side__foot { border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px; }
.side__user { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: rgba(255, 255, 255, .6); margin-bottom: 14px; word-break: break-all; }
.side__foot .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.side__foot .btn--ghost:hover { background: #fff; color: var(--color-ink); border-color: #fff; }
.dash__main { flex: 1 1 auto; padding: 38px 42px 54px; min-width: 0; }
.dash__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid var(--color-rule); }
.dash__head h1 { font-size: 1.8rem; }
.dash__head p { font-size: .93rem; margin-top: 6px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-lg); overflow: hidden; }
.metric { padding: 22px 24px; border-right: 1px solid var(--color-rule); }
.metric:last-child { border-right: 0; }
.metric__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.metric__top span { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-ink-3); }
.metric__top svg { width: 18px; height: 18px; color: var(--color-primary); }
.metric b { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; color: var(--color-ink); letter-spacing: -.02em; }
.metric small { display: block; color: var(--color-ink-3); font-size: .8rem; margin-top: 4px; }

.panel { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: 26px; }
.panel + .panel { margin-top: 24px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 14px; flex-wrap: wrap; }
.panel__head h2 { font-size: 1.18rem; }

.kv-list { display: grid; }
.kv-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 2px; border-bottom: 1px solid var(--color-rule); }
.kv-row:last-child { border-bottom: 0; }
.kv-row__main { min-width: 0; }
.kv-row__main b { font-size: .95rem; font-weight: 600; color: var(--color-ink); }
.kv-row__main span { display: block; font-size: .85rem; color: var(--color-ink-3); }
.kv-row__side { text-align: right; flex: 0 0 auto; font-size: .87rem; color: var(--color-ink-2); }
.kv-row__side strong { display: block; font-weight: 700; color: var(--color-ink); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .71rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--color-paper-2); color: var(--color-ink-2); border: 1px solid var(--color-rule);
}
.badge--on { background: var(--color-ok-soft); color: var(--color-ok); border-color: #b6e6d8; }
.badge--pause { background: #fdf3e6; color: #8a4b06; border-color: #f6ddb8; }
.badge--draft { background: var(--color-paper-2); color: var(--color-ink-3); }
.badge--info { background: var(--color-accent-100); color: var(--color-primary); border-color: var(--color-accent-100); }

.bar { height: 6px; background: var(--color-rule-2); overflow: hidden; margin-top: 10px; border-radius: var(--radius-pill); }
.bar i { display: block; height: 100%; background: var(--color-accent); }
.bar--accent i { background: var(--color-primary); }

.empty { padding: 46px 20px; color: var(--color-ink-3); text-align: center; }
.empty b { display: block; color: var(--color-ink); font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; margin-bottom: 6px; }

/* ---------- cookie consent (floating card, bottom-left) ---------- */
.ck-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 200;
  width: 100%; max-width: 380px; pointer-events: none;
}
.ck-bar[hidden] { display: none; }
.ck-card {
  pointer-events: auto;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.ck-card p { font-size: .84rem; color: var(--color-ink); line-height: 1.55; }
.ck-card a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.ck-actions { display: grid; gap: 8px; margin-top: 16px; }
.ck-actions .btn { width: 100%; min-height: 42px; font-size: .84rem; border-radius: var(--radius-pill); }
.ck-actions .ck-accept { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
.ck-actions .ck-accept:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: #fff; }
.ck-actions .ck-secondary { background: #fff; color: var(--color-ink); border-color: var(--color-rule-2); }
.ck-actions .ck-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }

.ck-prefs {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(12, 20, 43, .62);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.ck-prefs[hidden] { display: none; }
.ck-panel {
  background: #fff; border-radius: var(--radius); width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto; padding: 30px;
}
.ck-panel h2 { font-size: 1.35rem; margin-bottom: 8px; }
.ck-panel > p { font-size: .89rem; margin-bottom: 20px; }
.ck-opt { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--color-rule); }
.ck-opt h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.ck-opt p { font-size: .85rem; margin-top: 4px; }
.ck-opt .locked { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--color-ink-3); white-space: nowrap; }
.switch { position: relative; flex: 0 0 auto; width: 44px; height: 24px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; background: #cdcdd8; border-radius: 999px; transition: background .16s ease; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .16s ease; }
.switch input:checked + span { background: var(--color-accent); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(51, 0, 191, .28); }
.ck-panel .ck-save { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.notfound { padding: 116px 0; text-align: center; }
.notfound b.big { display: block; font-family: var(--font-display); font-weight: 600; font-size: 5.6rem; color: var(--color-primary); line-height: 1; letter-spacing: -.04em; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero--grad { padding-top: 84px; }
  .split, .contact__grid { grid-template-columns: 1fr; gap: 38px; }
  .split--rev .split__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--4, .stat-row, .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2n) { border-right: 0; }
  .metric:nth-child(2n) { border-right: 0; }
  .band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .dash { flex-direction: column; }
  .dash__side { position: static; width: 100%; height: auto; }
  .side__nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
  .dash__main { padding: 26px 20px 40px; }
  .ck-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .hero__meta .chip { margin-bottom: 8px; }
}
@media (max-width: 560px) {
  .grid--2, .grid--4, .stat-row, .metric-grid, .footer__grid { grid-template-columns: 1fr; }
  .stat, .metric { border-right: 0; padding-right: 0; }
  .auth__card { padding: 30px 22px; }
}
