/* ============================================================
   dibasibsolution — design system
   Design language studied from yieldmo.com (2026-11-10): a
   white editorial ground with black display type, royal-blue
   accents (#2e46f2), hot-pink highlights (#ff66bd), lavender
   and peach support tints, pill controls, 20px media cards and
   a high-contrast serif display face.
   Reference fonts Juana / PP Neue Machina / Inter (licensed).
   Self-hosted substitutes: Fraunces / Space Grotesk / Inter.
   No external CDN, no build step.
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/Fraunces-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/SpaceGrotesk-latin.woff2') format('woff2');
  font-weight: 400 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 (yieldmo.com, measured) ---------- */
:root {
  --color-paper: #ffffff;            /* reference page ground */
  --color-paper-2: #f5f5f5;          /* reference light band */
  --color-paper-3: #ededf1;
  --color-band: #0b0b0d;             /* black bands + footer */
  --color-band-2: #17171b;

  --color-ink: #0a0a0c;
  --color-ink-2: #3b3b42;            /* reference body grey */
  --color-ink-3: #6f6f79;
  --color-rule: #e6e6ea;
  --color-rule-2: #cfcfd6;

  --color-accent: #2e46f2;           /* reference royal blue */
  --color-accent-deep: #2035d6;
  --color-accent-hover: #2338d8;
  --color-accent-soft: #ecefff;
  --color-accent-100: #ecefff;
  --color-accent-200: #b9c2ff;

  --color-primary: #2e46f2;
  --color-primary-deep: #2035d6;
  --color-primary-soft: #ecefff;
  --color-primary-100: #dfe3ff;
  --color-primary-200: #b9c2ff;

  --color-highlight: #ff66bd;        /* reference pink */
  --color-highlight-2: #ffae02;      /* reference amber */
  --color-lavender: #9d98ec;         /* reference lavender */
  --color-peach: #ecae95;            /* reference peach */
  --color-sky: #2e46f2;

  --color-alert: #b3261e;
  --color-danger: #b3261e;
  --color-danger-soft: #fdeceb;
  --color-ok: #0e7a5f;
  --color-ok-soft: #e6f6f0;

  --brand-a: #0a0a0c;
  --brand-b: #2e46f2;

  --radius-lg: 24px;
  --radius: 20px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --radius-round: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 10, 12, .04);
  --shadow: 0 18px 40px -30px rgba(10, 10, 12, .45);
  --shadow-lg: 0 26px 70px rgba(10, 10, 12, .22);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-label: 'Space Grotesk', 'Inter', -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.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 1 auto; }

h1, h2 {
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -.018em;
}
h3, h4 {
  font-family: var(--font-label);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(3rem, 6.6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1rem; }
p { color: var(--color-ink-2); }
a { color: var(--color-primary); }
a:hover { color: var(--color-primary-deep); }
strong { font-weight: 600; 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: 60px 0; }
.section--soft { background: var(--color-paper-2); }
.section--dark { background: var(--color-band); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p, .section--dark .lead { color: rgba(255, 255, 255, .76); }
.section--dark strong { color: #fff; }
.section--dark a { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  margin-bottom: 20px;
}
.eyebrow::before { content: none; }
.section--dark .eyebrow { color: var(--color-highlight); }
.eyebrow--blue { color: var(--color-accent); }
.eyebrow--onphoto { color: var(--color-accent); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--color-ink-2); line-height: 1.6; }
.muted { color: var(--color-ink-3); font-size: .92rem; }
.section__head { position: relative; max-width: 780px; margin: 0 0 56px; }
.section__head.center { text-align: center; margin: 0 auto 56px; }
.section__head p { margin-top: 18px; }
.section__head h2 + p { margin-top: 18px; }

.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 (reference: pill, black fill, sentence case) ---------- */
.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: 50px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  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: .87rem; }
.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: .45; cursor: not-allowed;
}

.btn--primary { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.btn--primary:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn--primary:active { background: var(--color-accent-deep); border-color: var(--color-accent-deep); }

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

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

.btn--light { background: #fff; 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: 2px solid var(--color-ink); }
.btn--ghost:hover { background: var(--color-ink); color: #fff; }

.btn--onband { background: #fff; color: var(--color-ink); border-color: #fff; }
.btn--onband:hover { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }

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

/* light-surface skins inside dark sections: .section--dark a { color:#fff } would
   otherwise paint white text on a white pill (same class of bug as the chips) */
.section--dark .btn--onband { color: var(--color-ink); }
.section--dark .btn--onband:hover { color: #fff; }
.section--dark .btn--light { color: var(--color-ink); border-color: #fff; }

/* ---------- brand mark (drawn for this site: offset twin squares) ---------- */
.brand-mark {
  position: relative; width: 27px; height: 27px; flex: 0 0 auto; display: inline-block;
  border-radius: 0;
}
.brand-mark::before {
  content: ''; position: absolute; left: 0; top: 0; width: 19px; height: 19px;
  background: var(--brand-b); border-radius: 6px;
}
.brand-mark::after {
  content: ''; position: absolute; right: 0; bottom: 0; width: 12px; height: 12px;
  background: var(--brand-a); border-radius: 4px;
  box-shadow: 0 0 0 3px var(--brand-gap, #fff);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-label); font-weight: 700; font-size: 1.24rem; letter-spacing: -.02em; }
.brand__name { color: var(--color-ink); }
.brand__name em { font-style: normal; color: var(--color-accent); }

/* ---------- navigation (reference: white sticky bar, pill CTA) ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-rule);
  --brand-a: var(--color-ink); --brand-b: var(--color-accent); --brand-gap: #fff;
}
.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-family: var(--font-sans); font-size: .95rem; font-weight: 500;
  letter-spacing: 0; text-transform: none;
  color: var(--color-ink); padding: 10px 0; position: relative;
}
.nav__links a:hover { color: var(--color-accent); }
.nav__links a.is-active { color: var(--color-accent); }
.nav__links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--color-accent);
}
.nav .brand__name { color: var(--color-ink); }
.nav .brand__name em { color: var(--color-accent); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__actions form { display: inline; }
.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: 16px 28px; font-family: var(--font-sans); font-weight: 500;
  font-size: .98rem; letter-spacing: 0;
  color: var(--color-ink); border-bottom: 1px solid var(--color-rule);
}
.nav__drawer a.is-active { color: var(--color-accent); }
.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: 2px solid var(--color-ink); }
.nav__drawer .btn--primary { color: #fff; }

/* ---------- hero ---------- */
.hero { background: var(--color-paper); color: var(--color-ink); padding: 76px 0 64px; }
.hero h1 { color: var(--color-ink); }
.hero__title { margin-bottom: 20px; }
.hero__title .hl { color: var(--color-accent); }
.hero__sub { font-size: 1.12rem; max-width: 660px; color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }

/* studied motif: centred editorial hero over a rounded media card */
.hero--editorial { padding: 84px 0 0; text-align: center; }
.hero--editorial .hero__inner { max-width: 900px; margin: 0 auto; }
.hero--editorial .hero__title { margin-left: auto; margin-right: auto; max-width: 940px; }
.hero--editorial .hero__sub { margin: 0 auto; max-width: 660px; }
.hero--editorial .hero__actions { justify-content: center; }
.hero--editorial .hero__meta { justify-content: center; }
.hero__media {
  margin: 58px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-paper-2);
  max-width: var(--wrap);
}
.hero__media img { width: 100%; height: auto; display: block; }

/* photographic hero variant: the photo is the section background, copy sits on top */
.hero--photo-bg {
  position: relative;
  padding: 120px 0 112px;
  background-color: var(--color-band);
  background-image:
    linear-gradient(180deg, rgba(10, 10, 12, .74) 0%, rgba(10, 10, 12, .56) 100%),
    url('/images/home-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.hero--photo-bg .hero__title { color: #fff; }
.hero--photo-bg .hero__title .hl { color: var(--color-highlight); }
.hero--photo-bg .hero__sub { color: rgba(255, 255, 255, .88); margin: 0 auto; }
.hero--photo-bg .eyebrow { color: var(--color-highlight); }
.hero--photo-bg .chip { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .36); }
.hero--photo-bg .chip::before { background: var(--color-highlight); }
.hero--photo-bg .btn--primary { background: #fff; color: var(--color-ink); border-color: #fff; }
.hero--photo-bg .btn--primary:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.hero--photo-bg .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .8); }
.hero--photo-bg .btn--ghost:hover { background: #fff; color: var(--color-ink); border-color: #fff; }

/* inner-page hero: same light ground, type-led */
.hero--page { padding: 78px 0 56px; text-align: center; }
.hero--page .hero__inner { max-width: 840px; margin: 0 auto; }
.hero--page .hero__sub { margin: 0 auto; max-width: 660px; }
.hero--page .hero__actions { justify-content: center; }
.hero--page.hero--short { padding: 70px 0 44px; }

/* aliases kept so older markup still renders on the light ground */
.hero--grad, .hero--photo { background: var(--color-paper); color: var(--color-ink); }
.hero--grad .hero__inner, .hero--photo .hero__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero--grad .hero__sub, .hero--photo .hero__sub { margin: 0 auto; }
.hero--grad .hero__actions, .hero--photo .hero__actions { justify-content: center; }
.hero--grad .hero__meta, .hero--photo .hero__meta { justify-content: center; }
.hero--grad .hero__title, .hero--photo .hero__title { color: var(--color-ink); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: var(--radius-pill);
  background: var(--color-paper-2); border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: .84rem; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--color-ink-2);
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); flex: 0 0 auto; }
.hero__meta .chip { background: var(--color-paper-2); }
.hero__meta .chip::before { background: var(--color-highlight); }

/* photo hero meta chips: translucent chip pairing. This selector must outrank
   .hero__meta .chip above — otherwise the background falls back to #f5f5f5
   while the colour stays #fff (white on near-white, invisible). */
.hero--photo-bg .hero__meta .chip {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .36);
}

/* ---------- cards ---------- */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--color-rule);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  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); margin-bottom: 22px;
  border-radius: var(--radius-round);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }
.section--dark .card, .section--dark .panel { background: transparent; border-color: rgba(255, 255, 255, .18); }
.section--dark .card:hover { border-color: var(--color-highlight); }
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: rgba(255, 255, 255, .76); }
.section--dark .card__icon { background: rgba(46, 70, 242, .28); color: var(--color-accent-200); }
.section--dark .tag { background: transparent; border-color: rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .84); }
.section--dark .panel__head h2 { color: #fff; }
.section--dark .kv-row { border-bottom-color: rgba(255, 255, 255, .16); }
.section--dark .kv-row__main b { color: #fff; }
.section--dark .kv-row__main span { color: rgba(255, 255, 255, .68); }
.section--dark .badge { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .26); color: rgba(255, 255, 255, .85); }
.section--dark .badge--info { background: rgba(46, 70, 242, .3); border-color: rgba(185, 194, 255, .5); color: #fff; }

.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag {
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 500; letter-spacing: 0; text-transform: none;
  color: var(--color-ink-2); background: var(--color-paper-2);
  border: 1px solid transparent; padding: 5px 11px; border-radius: var(--radius-pill);
}
.tag--accent { color: var(--color-accent-deep); background: var(--color-accent-100); border-color: var(--color-accent-100); }
.tag--blue { color: var(--color-ink-2); background: var(--color-paper-2); border-color: transparent; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; height: auto; border-radius: var(--radius); border: 0; }
.split__body h2 { margin-bottom: 18px; }
.checklist { margin-top: 26px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: var(--color-ink-2); }
.checklist .tick {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--color-accent-100); color: var(--color-accent);
  display: grid; place-items: center; margin-top: 2px;
}
.checklist .tick svg { width: 12px; height: 12px; }
.section--dark .checklist li { color: rgba(255, 255, 255, .82); }
.section--dark .checklist .tick { background: var(--color-highlight); color: var(--color-band); }

/* ---------- qualitative stat row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--color-ink); }
.stat { padding: 28px 26px 30px 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: 520; font-size: 1.62rem; color: var(--color-ink); letter-spacing: -.01em; line-height: 1.1; }
.stat span { display: block; margin-top: 8px; font-size: .86rem; color: var(--color-ink-3); }
.section--dark .stat-row { border-top-color: var(--color-highlight); }
.section--dark .stat { border-right-color: rgba(255, 255, 255, .18); }
.section--dark .stat b { color: #fff; }
.section--dark .stat span { color: rgba(255, 255, 255, .66); }

/* ---------- quotes ---------- */
.quote { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius); display: flex; flex-direction: column; }
.quote__body { padding: 30px 28px; display: flex; flex-direction: column; flex: 1 1 auto; }
.quote__body p { font-size: .98rem; color: var(--color-ink-2); }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--color-rule-2); }
.monogram {
  width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--font-label); font-weight: 700; letter-spacing: .02em;
  background: var(--color-band); color: var(--color-highlight); font-size: .9rem;
}
.quote__who b { font-weight: 600; font-size: .94rem; color: var(--color-ink); display: block; }
.quote__who span { display: block; font-size: .83rem; color: var(--color-ink-3); }

/* ---------- closing statement band (reference blue prefooter) ---------- */
.band { position: relative; overflow: hidden; background: var(--color-accent); color: #fff; padding: 78px 0; }
.band .wrap { position: relative; z-index: 1; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .86); }
.band .btn--primary { background: #fff; color: var(--color-ink); border-color: #fff; }
.band .btn--primary:hover { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.band .btn--dark { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .8); }
.band .btn--dark:hover { background: #fff; color: var(--color-ink); border-color: #fff; }
.band .brand-mark { --brand-a: var(--color-highlight); --brand-b: #ffffff; --brand-gap: var(--color-accent); }
.band__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer (reference: black surface, pink rule) ---------- */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--color-band);
  color: #fff; padding-top: 70px;
  border-top: 4px solid var(--color-highlight);
  --brand-a: var(--color-highlight); --brand-b: var(--color-accent); --brand-gap: var(--color-band);
}
.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: 48px; }
.footer__grid h4 {
  font-family: var(--font-label); font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--color-highlight); margin-bottom: 18px;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: rgba(255, 255, 255, .8); font-size: .93rem; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__about { color: rgba(255, 255, 255, .68); font-size: .94rem; margin-top: 18px; max-width: 340px; }
.footer__contact li { color: rgba(255, 255, 255, .8); font-size: .92rem; margin-bottom: 12px; }
.footer__contact a { color: rgba(255, 255, 255, .8); }
.footer__contact a:hover { color: #fff; }
.rule-t { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .16); }
.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, .58); font-size: .86rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { color: rgba(255, 255, 255, .8); font-size: .86rem; }
.footer__legal a:hover { color: var(--color-highlight); }
.linklike {
  background: none; border: 0; padding: 0; margin: 0; font: inherit;
  color: rgba(255, 255, 255, .8); font-size: .86rem; cursor: pointer;
}
.linklike:hover { color: var(--color-highlight); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .linklike { color: rgba(255, 255, 255, .8); }
.site-footer .linklike:hover { color: var(--color-highlight); }

/* ---------- legal / document pages ---------- */
.legal { max-width: 880px; margin: 0 auto; }
.legal > p.updated { color: var(--color-ink-3); font-size: .86rem; margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--color-rule); }
.legal h2 { font-family: var(--font-display); font-size: 1.68rem; font-weight: 520; letter-spacing: -.012em; margin: 42px 0 14px; }
.legal h3 { font-family: var(--font-sans); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 1.06rem; margin: 26px 0 8px; }
.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: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.legal__card { background: var(--color-paper-2); border: 1px solid transparent; border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); padding: 26px; margin-top: 38px; }
.legal__card h3 { margin-top: 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.field label { display: block; font-family: var(--font-sans); font-size: .88rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--color-ink); margin-bottom: 8px; }
.field .hint { font-size: .83rem; color: var(--color-ink-3); margin-top: 7px; }
.input, select.input, textarea.input {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--color-rule-2); border-radius: var(--radius-sm);
  background: #fff; font-size: .97rem; 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(46, 70, 242, .16); }
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: .92rem; border: 1px solid; border-left-width: 4px; 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: 84px 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: 2.2rem; margin-bottom: 10px; }
.auth__foot { font-size: .92rem; 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 transparent; border-radius: var(--radius); padding: 26px; }
.info-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.02rem; font-weight: 600; }
.info-card h3 svg { width: 20px; height: 20px; color: var(--color-accent); }
.info-card p, .info-card li { font-size: .93rem; }

/* ---------- dashboard ---------- */
.dash { display: flex; min-height: calc(100vh - 77px); background: var(--color-paper-2); }
.dash__side {
  width: 252px; flex: 0 0 auto; background: var(--color-band);
  display: flex; flex-direction: column; position: sticky; top: 77px; height: calc(100vh - 77px);
  --brand-a: var(--color-highlight); --brand-b: var(--color-accent); --brand-gap: var(--color-band);
}
.side__brand { padding: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.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-family: var(--font-sans); font-size: .94rem; font-weight: 500; letter-spacing: 0;
  color: rgba(255, 255, 255, .68);
  border-left: 3px solid transparent; border-radius: 8px;
}
.side__link svg { width: 18px; height: 18px; flex: 0 0 auto; }
.side__link:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side__link.is-active { background: rgba(46, 70, 242, .24); color: #fff; border-left-color: var(--color-highlight); }
.side__foot { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px; }
.side__user { display: flex; align-items: center; gap: 9px; font-size: .83rem; color: rgba(255, 255, 255, .58); margin-bottom: 14px; word-break: break-all; }
.side__foot .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .34); }
.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-2); }
.dash__head h1 { font-family: var(--font-display); font-size: 2.3rem; }
.dash__head p { font-size: .94rem; margin-top: 8px; }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric { padding: 24px 24px; background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius); }
.metric__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.metric__top span { font-family: var(--font-label); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-ink-3); }
.metric__top svg { width: 18px; height: 18px; color: var(--color-accent); }
.metric b { font-family: var(--font-display); font-weight: 520; font-size: 2.05rem; color: var(--color-ink); letter-spacing: -.015em; }
.metric small { display: block; color: var(--color-ink-3); font-size: .81rem; margin-top: 4px; }

.panel { background: #fff; border: 1px solid var(--color-rule); border-radius: var(--radius); 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-family: var(--font-display); font-size: 1.42rem; font-weight: 520; }

.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: .86rem; color: var(--color-ink-3); }
.kv-row__side { text-align: right; flex: 0 0 auto; font-size: .88rem; color: var(--color-ink-2); }
.kv-row__side strong { display: block; font-weight: 600; color: var(--color-ink); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans);
  font-size: .76rem; font-weight: 500; letter-spacing: 0; text-transform: capitalize;
  padding: 4px 11px; 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-accent-deep); 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); border-radius: var(--radius-pill); }
.bar--accent i { background: var(--color-highlight); }

.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: 520; font-size: 1.34rem; margin-bottom: 6px; }

/* ---------- cookie consent (floating card, bottom-left) ---------- */
.ck-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 200;
  width: 100%; max-width: 390px; pointer-events: none;
}
.ck-bar[hidden] { display: none; }
.ck-card {
  pointer-events: auto;
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--color-rule);
  box-shadow: var(--shadow-lg);
  padding: 22px;
}
.ck-card p { font-size: .85rem; color: var(--color-ink); line-height: 1.55; }
.ck-card a { color: var(--color-accent); 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; }
.ck-actions .ck-accept { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.ck-actions .ck-accept:hover { background: var(--color-accent); border-color: var(--color-accent); 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-ink); color: var(--color-ink); }

.ck-prefs {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(10, 10, 12, .7);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.ck-prefs[hidden] { display: none; }
.ck-panel {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto; padding: 32px;
}
.ck-panel h2 { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 10px; }
.ck-panel > p { font-size: .9rem; 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.02rem; font-weight: 600; }
.ck-opt p { font-size: .86rem; margin-top: 4px; }
.ck-opt .locked { font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none; 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: #cdd0d8; 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(46, 70, 242, .3); }
.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: 520; font-size: 7rem; color: var(--color-accent); line-height: .9; letter-spacing: -.03em; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .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; }
  .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--editorial { padding-top: 60px; }
  .hero--photo-bg { padding: 92px 0 84px; }
  .hero__media { margin-top: 38px; border-radius: 16px; }
}
@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; }
  h1 { font-size: clamp(2.5rem, 9vw, 3.2rem); }
}
