/* ============================================================
   brenquixsolution — design system
   Design language studied from doubleverify.com (2026-10-23, live
   getComputedStyle in a browser): a white ground with deep-navy
   ink (#14113b), a magenta accent (#c70099), a purple secondary
   (#6e2cb5), pale-lavender surfaces (#f5f0fa), navy feature bands
   (#1c1954), condensed display type over a neutral grotesque body,
   14/24px card corners, 100px pill buttons, and a full-bleed
   media hero band.
   Self-hosted fonts, no external CDN, no build step.
   ============================================================ */

@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/BarlowCondensed-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/fonts/BarlowCondensed-700.woff2') format('woff2');
  font-weight: 700;
  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 (doubleverify.com, measured) ---------- */
:root {
  --color-paper: #ffffff;            /* working surfaces */
  --color-paper-2: #f5f0fa;          /* measured pale-lavender surface / footer */
  --color-paper-3: #faf7fc;          /* second light step */
  --color-paper-4: #ede7f4;          /* light fill for tags and chips */
  --color-band: #1c1954;             /* measured navy band */
  --color-band-2: #262168;           /* raised navy surface */
  --color-band-3: #14113b;           /* measured ink — console sidebar */

  --color-ink: #14113b;              /* measured heading / body ink */
  --color-ink-2: #474371;            /* body copy */
  --color-ink-3: #77739b;            /* muted / meta */
  --color-rule: #e7e0f0;
  --color-rule-2: #d8cfe6;

  --color-accent: #c70099;           /* measured magenta — fills and marks */
  --color-accent-deep: #a8007f;      /* accent for text on white (AA) */
  --color-accent-hover: #950073;     /* measured hover */
  --color-accent-dark: #7a005d;
  --color-accent-soft: #faf0f8;      /* measured secondary-lighter */
  --color-accent-100: #f4d3ec;
  --color-accent-200: #f3a8dd;       /* accent used on navy */

  --color-primary: #6e2cb5;          /* measured secondary purple — links / UI text */
  --color-primary-deep: #532188;
  --color-primary-soft: #f5f0fa;
  --color-primary-100: #d9c7ee;
  --color-primary-200: #b696c6;

  --color-on-band: #ffffff;          /* text on navy */
  --color-on-band-2: rgba(255, 255, 255, .74);

  --color-highlight: #a8007f;
  --color-alert: #a8007f;
  --color-danger: #9b1c4a;
  --color-danger-soft: #fdeef3;
  --color-ok: #0b7a5f;
  --color-ok-soft: #e6f5f0;

  --brand-a: #c70099;                /* the mark's diamond outline */
  --brand-b: #14113b;                /* the mark's core dot */

  --radius-lg: 24px;                 /* measured large card / media radius */
  --radius: 14px;                    /* measured card radius */
  --radius-sm: 8px;
  --radius-btn: 100px;               /* measured pill buttons */
  --radius-pill: 100px;

  --shadow-sm: 0 2px 10px rgba(20, 17, 59, .07);
  --shadow: 0 10px 28px -18px rgba(20, 17, 59, .38);
  --shadow-lg: 0 18px 48px rgba(20, 17, 59, .18);

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

  --wrap: 1200px;

  --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.62;
  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.02;
  letter-spacing: -.005em;
  font-weight: 700;
}
h1 { font-size: clamp(2.7rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.34rem; letter-spacing: 0; font-weight: 600; }
h4 { font-size: 1.06rem; letter-spacing: .01em; font-weight: 600; }
p { color: var(--color-ink-2); }
a { color: var(--color-primary); }
a:hover { color: var(--color-accent-deep); }
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 32px; }
.section { padding: 92px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--color-paper-2); }
.section--dark { background: var(--color-band); color: var(--color-on-band); }
.section--dark h2, .section--dark h3 { color: var(--color-on-band); }
.section--dark p, .section--dark .lead { color: rgba(255, 255, 255, .76); }
.section--dark strong { color: var(--color-on-band); }
.section--dark .eyebrow { color: var(--color-accent-200); }
.section--dark .eyebrow::before { background: var(--color-accent-200); }
.section--dark a:not(.btn) { color: var(--color-on-band); }

/* eyebrow — condensed uppercase label preceded by an accent rule */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  padding: 0;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--color-accent); flex: 0 0 auto; }
.eyebrow--blue { color: var(--color-primary); }
.eyebrow--onphoto { color: var(--color-accent-200); }
.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 48px; }
.section__head.center { text-align: center; margin: 0 auto 48px; }
.section__head p { margin-top: 14px; }
.section__head h2 + p { margin-top: 15px; }

.grid { display: grid; gap: 22px; }
.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: 48px;
  padding: 0 28px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn--sm { min-height: 40px; padding: 0 20px; font-size: .88rem; }
.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;
}
.btn:active, .btn--primary:active, .btn--ghost:active, .btn--accent:active,
.btn--onband:active, .btn--outline-band:active, .btn--light:active, .btn--dark:active { transform: translateY(1px); }

/* the measured CTA: a magenta pill carrying white type */
.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-3); color: #fff; }
.btn--dark:hover { background: var(--color-band); color: #fff; }

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

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

/* on navy bands: a white pill, or a hairline outline */
.btn--onband { background: #fff; color: var(--color-band-3); }
.btn--onband:hover { background: var(--color-accent); color: #fff; }

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

/* ---------- brand mark (drawn for this site: a diamond outline holding a core dot) ---------- */
.brand-mark {
  position: relative; width: 26px; height: 26px; flex: 0 0 auto; display: inline-block;
  background: transparent;
}
.brand-mark::before {
  content: ''; position: absolute; left: 4px; top: 4px; width: 18px; height: 18px;
  border: 2px solid var(--brand-a); border-radius: 4px;
  transform: rotate(45deg);
}
.brand-mark::after {
  content: ''; position: absolute; left: 10px; top: 10px; width: 6px; height: 6px;
  background: var(--brand-b); border-radius: 50%;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.36rem; letter-spacing: .005em; }
.brand__name { color: var(--color-ink); }
.brand__name em { font-style: normal; color: var(--color-accent-deep); }

/* ---------- navigation: white sticky row ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--color-rule);
  --brand-a: var(--color-accent); --brand-b: var(--color-ink);
}
.nav__bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 74px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: .95rem; font-weight: 500; color: var(--color-ink-2);
  padding: 6px 0; position: relative; letter-spacing: .005em;
}
.nav__links a:hover { color: var(--color-ink); }
.nav__links a.is-active { color: var(--color-ink); }
.nav__links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-accent);
}
.nav .brand__name { color: var(--color-ink); }
.nav .brand__name em { color: var(--color-accent-deep); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions form { display: inline; }
.nav .btn--ghost { color: var(--color-ink); border-color: var(--color-rule-2); }
.nav .btn--ghost:hover { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.nav .btn--primary { background: var(--color-accent); color: #fff; }
.nav .btn--primary:hover { background: var(--color-accent-hover); color: #fff; }
.nav .linklike { color: var(--color-ink-2); }
.nav .linklike:hover { color: var(--color-accent-deep); }
.nav__toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--color-ink);
}
.nav__drawer { display: none; border-top: 1px solid var(--color-rule); background: #fff; }
.nav__drawer.is-open { display: block; }
.nav__drawer a {
  display: block; padding: 15px 28px; font-weight: 600; font-size: .95rem;
  color: var(--color-ink); border-bottom: 1px solid var(--color-rule);
}
.nav__drawer a.is-active { color: var(--color-accent-deep); }
.nav__drawer .drawer__cta { padding: 16px 28px; display: grid; gap: 10px; }
.nav__drawer form { display: block; }
.nav__drawer .btn--light { background: var(--color-paper); color: var(--color-ink); border-color: var(--color-rule-2); }

/* ---------- document hero (legal / auth pages) ---------- */
.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-accent-deep); }
.hero__sub { font-size: 1.09rem; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 34px; border-top: 1px solid var(--color-rule-2); padding-top: 18px; }

/* full-bleed media hero — the reference motif: one wide media band carrying the copy */
.hero--band {
  position: relative;
  overflow: hidden;
  padding: 148px 0 104px;
  border: 0;
  color: #fff;
  background-color: var(--color-band-3);
  background-image:
    linear-gradient(96deg, rgba(20, 17, 59, .96) 0%, rgba(28, 25, 84, .9) 44%, rgba(110, 44, 181, .62) 100%),
    var(--hero-img, none);
  background-size: cover;
  background-position: center;
}
.hero--band .hero__grid { position: relative; z-index: 1; display: block; }
.hero--band .hero__copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 760px; }
.hero--band .hero__title { color: #fff; max-width: 15em; }
.hero--band .hero__title .hl { color: var(--color-accent-200); }
.hero--band .hero__sub { color: rgba(255, 255, 255, .84); max-width: 620px; margin-top: 20px; }
.hero--band .hero__meta { border-top-color: rgba(255, 255, 255, .26); width: 100%; }
.hero--band .chip { background: transparent; border-color: rgba(255, 255, 255, .34); color: #fff; }
.hero--band .chip::before { background: var(--color-accent-200); }
.hero--band .btn--primary { background: var(--color-accent); color: #fff; }
.hero--band .btn--primary:hover { background: #fff; color: var(--color-band-3); }
.hero--band .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero--band .btn--ghost:hover { background: #fff; color: var(--color-band-3); border-color: #fff; }
.hero--band.hero--short { padding: 118px 0 84px; }

/* split hero — used on the contact page */
.hero--split { padding: 76px 0 80px; border: 0; background: var(--color-paper); }
.hero--split .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 60px;
  align-items: center;
}
.hero--split .hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero--split .hero__title { font-size: clamp(2.5rem, 4.4vw, 3.5rem); max-width: 13em; }
.hero--split .hero__sub { margin-top: 20px; max-width: 30em; }
.hero--split .hero__meta { width: 100%; border-top-color: var(--color-rule-2); }
.hero__panel { position: relative; }
.hero__panel img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--color-rule);
}
.hero__tag {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .95); border-radius: var(--radius-pill);
  padding: 8px 15px; font-size: .76rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-ink);
}
.hero__tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); }

/* navy editorial hero — inner pages */
.hero--stage {
  position: relative; overflow: hidden; padding: 96px 0 92px; border: 0;
  background-color: var(--color-band);
  background-image: radial-gradient(120% 90% at 88% 10%, rgba(199, 0, 153, .32), rgba(28, 25, 84, 0) 62%);
  color: var(--color-on-band);
}
.hero--stage .hero__grid {
  position: relative; z-index: 1;
  display: block;
  max-width: 1200px;
}
.hero--stage .hero__copy { display: flex; flex-direction: column; align-items: flex-start; max-width: 780px; }
.hero--stage .hero__title { color: var(--color-on-band); }
.hero--stage .hero__title .hl { color: var(--color-accent-200); }
.hero--stage .hero__sub { color: rgba(255, 255, 255, .82); max-width: 620px; font-size: 1.06rem; }
.hero--stage .hero__meta { border-top-color: rgba(255, 255, 255, .24); width: 100%; }
.hero--stage .chip { background: transparent; border-color: rgba(255, 255, 255, .32); color: rgba(255, 255, 255, .9); }
.hero--stage .chip::before { background: var(--color-accent-200); }
.hero--stage .btn--primary { background: var(--color-accent); color: #fff; }
.hero--stage .btn--primary:hover { background: #fff; color: var(--color-band-3); }
.hero--stage .btn--ghost { color: var(--color-on-band); border-color: rgba(255, 255, 255, .5); }
.hero--stage .btn--ghost:hover { background: var(--color-on-band); color: var(--color-band-3); border-color: var(--color-on-band); }
.hero--stage.hero--short { padding: 82px 0 78px; }
.hero--stage.hero--narrow .hero__copy { max-width: 780px; }
.hero__media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-rule);
  background: var(--color-paper);
}
.hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.page-media {
  width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover;
  border-radius: var(--radius-lg); border: 1px solid var(--color-rule);
}

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--color-paper); border: 1px solid var(--color-rule-2);
  font-size: .74rem; font-weight: 600; letter-spacing: .06em; 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--band .hero__meta .chip, .hero--stage .hero__meta .chip { border-right-color: rgba(255, 255, 255, .24); color: rgba(255, 255, 255, .86); }

/* ---------- cards ---------- */
.card {
  background: var(--color-paper); border: 1px solid var(--color-rule);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.card:hover { border-color: var(--color-accent-200); box-shadow: var(--shadow); }
.card__icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--color-accent-soft); color: var(--color-accent-deep); margin-bottom: 20px;
  border-radius: 12px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .97rem; }
.section--dark .card, .section--dark .panel { background: transparent; border-color: rgba(255, 255, 255, .18); }
.section--dark .card:hover { border-color: var(--color-accent-200); box-shadow: none; }
.section--dark .card h3 { color: var(--color-on-band); }
.section--dark .card p { color: rgba(255, 255, 255, .76); }
.section--dark .card__icon { background: rgba(199, 0, 153, .2); color: var(--color-accent-200); }
.section--dark .tag { background: transparent; border-color: rgba(255, 255, 255, .26); 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: .07em; text-transform: uppercase;
  color: var(--color-ink-3); background: var(--color-paper-2);
  border: 1px solid var(--color-rule); padding: 4px 11px; border-radius: var(--radius-pill);
}
.tag--accent { color: var(--color-accent-200); background: transparent; border-color: rgba(243, 168, 221, .5); }
.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: 56px; align-items: center; }
.split-solo { max-width: 860px; }
.split-solo h2 { margin-bottom: 16px; }
.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, .18); }
.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: .99rem; color: var(--color-ink-2); }
.checklist .tick {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-accent-soft); color: var(--color-accent-deep);
  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: rgba(199, 0, 153, .24); color: var(--color-accent-200); }

/* ---------- 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: 700; font-size: 1.42rem; color: var(--color-ink); letter-spacing: .005em; }
.stat span { display: block; margin-top: 6px; font-size: .87rem; color: var(--color-ink-3); }
.section--dark .stat-row { border-top-color: rgba(255, 255, 255, .2); }
.section--dark .stat { border-right-color: rgba(255, 255, 255, .16); }
.section--dark .stat b { color: var(--color-on-band); }
.section--dark .stat span { color: rgba(255, 255, 255, .64); }

/* ---------- quotes ---------- */
.quote { background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius); display: flex; flex-direction: column; }
.quote__body { padding: 28px 26px; display: flex; flex-direction: column; flex: 1 1 auto; }
.quote__body p { font-size: .98rem; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; 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-soft); color: var(--color-accent-deep); font-size: .84rem;
}
.quote__who b { font-weight: 700; font-size: .94rem; color: var(--color-ink); display: block; }
.quote__who span { display: block; font-size: .84rem; color: var(--color-ink-3); }

/* ---------- closing statement band (navy, magenta wash) ---------- */
.band {
  position: relative;
  background-color: var(--color-band);
  background-image: radial-gradient(90% 140% at 92% 110%, rgba(199, 0, 153, .4), rgba(28, 25, 84, 0) 62%);
  color: var(--color-on-band);
  padding: 78px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.band .wrap { position: relative; z-index: 1; }
.band h2 { color: var(--color-on-band); }
.band p { color: rgba(255, 255, 255, .78); }
.band .btn--primary { background: var(--color-accent); color: #fff; }
.band .btn--primary:hover { background: #fff; color: var(--color-band-3); }
.band .btn--dark { background: transparent; color: var(--color-on-band); border-color: rgba(255, 255, 255, .46); }
.band .btn--dark:hover { background: var(--color-on-band); color: var(--color-band-3); border-color: var(--color-on-band); }
.band .brand-mark { --brand-a: var(--color-accent-200); --brand-b: #fff; }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer (pale-lavender ground, navy type) ---------- */
.site-footer {
  position: relative;
  background: var(--color-paper-2);
  color: var(--color-ink-2);
  padding-top: 66px;
  border-top: 1px solid var(--color-rule);
  --brand-a: var(--color-accent); --brand-b: var(--color-ink);
}
.site-footer .brand__name { color: var(--color-ink); }
.site-footer .brand__name em { color: var(--color-accent-deep); }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer__grid h4 {
  font-family: var(--font-sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--color-ink-3); margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: var(--color-ink-2); font-size: .94rem; }
.footer__col a:hover { color: var(--color-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer__about { color: var(--color-ink-2); font-size: .95rem; margin-top: 18px; max-width: 350px; }
.footer__contact li { color: var(--color-ink-2); font-size: .93rem; margin-bottom: 12px; }
.footer__contact a { color: var(--color-ink-2); }
.footer__contact a:hover { color: var(--color-accent-deep); }
.rule-t { position: relative; z-index: 1; border-top: 1px solid var(--color-rule-2); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 24px 0; }
.footer__bottom p { color: var(--color-ink-3); font-size: .87rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { color: var(--color-ink-2); font-size: .87rem; }
.footer__legal a:hover { color: var(--color-accent-deep); }
.linklike {
  background: none; border: 0; padding: 0; margin: 0; font: inherit;
  color: var(--color-ink-2); font-size: .87rem; cursor: pointer;
}
.linklike:hover { color: var(--color-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .linklike { color: var(--color-ink-2); }
.site-footer .linklike:hover { color: var(--color-accent-deep); }

/* ---------- legal / document pages ---------- */
.legal { max-width: 880px; margin: 0 auto; }
.legal > p.updated { color: var(--color-ink-3); font-size: .87rem; margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--color-rule); }
.legal h2 { font-size: 1.55rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.08rem; 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); border: 1px solid var(--color-rule); border-radius: var(--radius); padding: 26px; margin-top: 38px; }
.legal__card h3 { margin-top: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.field label { display: block; font-size: .89rem; font-weight: 600; color: var(--color-ink); margin-bottom: 8px; }
.field .hint { font-size: .84rem; 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: var(--color-paper); font-size: .98rem; 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(199, 0, 153, .14); }
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: .93rem; border: 1px solid; border-left-width: 3px; border-radius: var(--radius-sm); }
.alert-danger { background: var(--color-danger-soft); border-color: #f3c2d3; color: var(--color-danger); }
.alert-ok { background: var(--color-ok-soft); border-color: #b6e6da; color: var(--color-ok); }

/* auth */
.auth { background: var(--color-paper-2); padding: 76px 0; }
.auth__card { max-width: 480px; margin: 0 auto; background: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius-lg); padding: 40px 38px; }
.auth__head { margin-bottom: 26px; }
.auth__head h1 { font-size: 2.1rem; margin-bottom: 8px; }
.auth__foot { font-size: .93rem; 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); border: 1px solid var(--color-rule); border-radius: var(--radius); padding: 24px; }
.info-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.12rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--color-accent-deep); }
.info-card p, .info-card li { font-size: .94rem; }

/* ---------- dashboard ---------- */
.dash { display: flex; min-height: 100vh; background: var(--color-paper-2); }
.dash__side {
  width: 252px; flex: 0 0 auto; background: var(--color-band-3);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;
  --brand-a: var(--color-accent-200); --brand-b: #fff;
}
.side__brand { padding: 22px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.side__brand .brand__name { color: var(--color-on-band); }
.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: .93rem; 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(199, 0, 153, .22); color: #fff; border-left-color: var(--color-accent); }
.side__foot { border-top: 1px solid rgba(255, 255, 255, .14); padding: 18px; }
.side__user { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: rgba(255, 255, 255, .62); margin-bottom: 14px; word-break: break-all; }
.side__foot .btn--ghost { color: var(--color-on-band); border-color: rgba(255, 255, 255, .38); }
.side__foot .btn--ghost:hover { background: var(--color-on-band); color: var(--color-band-3); border-color: var(--color-on-band); }
.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: 2rem; }
.dash__head p { font-size: .95rem; margin-top: 6px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--color-paper); 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: .09em; text-transform: uppercase; color: var(--color-ink-3); }
.metric__top svg { width: 18px; height: 18px; color: var(--color-accent-deep); }
.metric b { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--color-ink); letter-spacing: .005em; }
.metric small { display: block; color: var(--color-ink-3); font-size: .83rem; margin-top: 4px; }

.panel { background: var(--color-paper); 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.3rem; }

.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: .97rem; font-weight: 600; color: var(--color-ink); }
.kv-row__main span { display: block; font-size: .87rem; color: var(--color-ink-3); }
.kv-row__side { text-align: right; flex: 0 0 auto; font-size: .89rem; 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: .06em; 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: #b6e6da; }
.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-soft); color: var(--color-accent-dark); 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-accent); }

.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: 700; font-size: 1.28rem; 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: var(--color-paper); border: 1px solid var(--color-rule); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.ck-card p { font-size: .86rem; 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: .86rem; 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: var(--color-paper); color: var(--color-ink); border-color: var(--color-rule-2); }
.ck-actions .ck-secondary:hover { border-color: var(--color-ink); color: var(--color-ink); }

.ck-prefs {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(20, 17, 59, .62);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.ck-prefs[hidden] { display: none; }
.ck-panel {
  background: var(--color-paper); border-radius: var(--radius-lg); width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto; padding: 30px;
}
.ck-panel h2 { font-size: 1.5rem; margin-bottom: 8px; }
.ck-panel > p { font-size: .91rem; 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: 1.05rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
.ck-opt p { font-size: .87rem; margin-top: 4px; }
.ck-opt .locked { font-size: .75rem; font-weight: 700; letter-spacing: .05em; 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: #cfc7dd; 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(199, 0, 153, .24); }
.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: 700; font-size: 6rem; color: var(--color-accent-deep); line-height: 1; letter-spacing: .01em; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .hero--band { padding: 112px 0 84px; }
  .hero--split { padding: 56px 0 64px; }
  .hero--split .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero--stage { padding: 68px 0 64px; }
  .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: 62px 0; }
  .hero--band { padding: 92px 0 68px; }
  .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; }
  .btn { padding: 0 22px; }
  .nav__bar .wrap { min-height: 64px; gap: 10px; }
  .brand { font-size: 1.14rem; gap: 8px; }
  .nav__actions { gap: 6px; }
  .nav__actions .btn--sm { min-height: 36px; padding: 0 12px; font-size: .82rem; }
  .nav__actions .btn--ghost { display: none; }
  .nav__toggle { padding: 4px; }
}
