/* Deep Brain Capital — website
   Tokens: Deep Brain Capital design system (DBC). */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable-latin.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --dbc-ink: #0b1639;
  --dbc-gold: #ffcc05;
  --dbc-blue: #003399;
  --dbc-turquoise: #3acabb;
  --dbc-white: #ffffff;
  --blue-400: #2a57b5;
  --blue-300: #6f8fd4;
  --gold-400: #ffd633;
  --neutral-50: #f7f8fc;
  --neutral-100: #eef0f7;
  --neutral-200: #e1e4ef;
  --neutral-300: #c3c9dc;
  --neutral-500: #737da6;
  --neutral-600: #525d8c;
  --neutral-700: #353f70;
  --neutral-800: #232c5a;
  --neutral-900: #161e47;

  --surface-ink: var(--dbc-ink);
  --surface-ink-raised: #18245a;
  --text-on-ink: #ffffff;
  --text-on-ink-2: rgba(255, 255, 255, 0.78);
  --text-on-ink-3: rgba(255, 255, 255, 0.62);
  --rule-on-ink: rgba(255, 255, 255, 0.14);
  --text-primary: var(--dbc-ink);
  --text-secondary: var(--neutral-700);

  --font-display: "Space Grotesk", "Montserrat", sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 6px rgba(11, 22, 57, 0.07);
  --shadow-lg: 0 16px 40px rgba(11, 22, 57, 0.12);
  --focus: 0 0 0 3px rgba(255, 204, 5, 0.55);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 92px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-ink);
  color: var(--text-on-ink);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote { margin: 0; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--dbc-gold); color: var(--dbc-ink); padding: 10px 16px;
  border-radius: var(--radius-md); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Eyebrow: uppercase display label with a yellow rule */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 600 12px/1.12 var(--font-display);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dbc-gold);
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--dbc-gold); flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 57, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 3vw, 40px); }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 600 15px/1 var(--font-display); letter-spacing: 0.01em;
  color: var(--dbc-gold); text-decoration: none;
  transition: color 200ms var(--ease);
}
.site-nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 520px at 78% 38%, rgba(0, 51, 153, 0.45), transparent 62%),
    radial-gradient(520px 420px at 90% 80%, rgba(58, 202, 187, 0.16), transparent 62%);
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}
.hero > .container {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px);
}
.hero h1 {
  font: 700 clamp(44px, 6.4vw, 80px)/1.04 var(--font-display);
  letter-spacing: -0.01em; color: #fff;
}
.hero .lede {
  margin-top: 20px;
  font: 400 clamp(18px, 1.8vw, 22px)/1.45 var(--font-body);
  color: var(--text-on-ink-2);
  max-width: 34ch;
}
.hero-visual { justify-self: center; width: min(100%, 460px); }
.hero-visual img { width: 100%; height: auto; }

.modalities { position: relative; border-top: 1px solid var(--rule-on-ink); }
.modalities ul {
  list-style: none; margin: 0; padding: 28px 0 36px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.modalities li {
  font: 600 13px/1.2 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-on-ink-2);
  display: flex; align-items: center; gap: 10px;
}
.modalities li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.modalities li:nth-child(1)::before { background: var(--blue-400); }
.modalities li:nth-child(2)::before { background: var(--blue-300); }
.modalities li:nth-child(3)::before { background: var(--dbc-turquoise); }
.modalities li:nth-child(4)::before { background: var(--dbc-gold); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section + .section { border-top: 1px solid var(--rule-on-ink); }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head .lead {
  font: 500 clamp(20px, 2.2vw, 28px)/1.3 var(--font-display);
  color: #fff; max-width: 40ch;
}

/* The gap */
.gap {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(20px, 4vw, 64px); align-items: start;
  margin-bottom: clamp(64px, 8vw, 96px);
}
.gap-figure {
  font: 700 clamp(40px, 5.4vw, 68px)/1 var(--font-display);
  color: var(--dbc-gold); letter-spacing: -0.01em;
}
.gap-figure span { display: block; font-size: 0.42em; letter-spacing: 0.16em; margin-top: 10px; }
.gap-text p {
  font: 600 italic clamp(20px, 2vw, 26px)/1.35 var(--font-body);
  color: #fff;
}
.gap-text cite {
  display: block; margin-top: 14px;
  font: italic 400 14px/1.4 var(--font-body); color: var(--text-on-ink-3);
}

/* Convergence cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  --accent: var(--blue-400);
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px 26px;
  background: var(--neutral-50); color: var(--text-primary);
  border-radius: var(--radius-lg); border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card:nth-child(2) { --accent: var(--dbc-blue); }
.card:nth-child(3) { --accent: var(--dbc-turquoise); }
.card:nth-child(4) { --accent: var(--dbc-gold); }
.card-num { font: 600 14px/1 var(--font-display); color: var(--dbc-blue); letter-spacing: 0.06em; }
.card h3 { font: 700 18px/1.2 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dbc-ink); }
.card .card-sub { font: italic 500 16px/1.4 var(--font-body); color: var(--dbc-ink); }
.card .card-body {
  margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--neutral-200);
  font: 400 14px/1.55 var(--font-body); color: var(--text-secondary);
}

/* Framework */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px; padding: 24px 22px;
  background: var(--surface-ink-raised);
  border: 1px solid var(--rule-on-ink); border-radius: var(--radius-lg);
}
.step-num { font: 600 14px/1 var(--font-display); letter-spacing: 0.06em; }
.step:nth-child(1) .step-num { color: var(--blue-300); }
.step:nth-child(2) .step-num { color: var(--dbc-turquoise); }
.step:nth-child(3) .step-num { color: var(--gold-400); }
.step:nth-child(4) .step-num { color: var(--neutral-300); }
.step h3 { font: 700 18px/1.2 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.step p { font: italic 500 16px/1.45 var(--font-body); color: var(--text-on-ink-2); }

/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: start; }
.member {
  display: flex; flex-direction: column;
  background: #fff; color: var(--text-primary);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  height: 100%;
}
.member-photo {
  aspect-ratio: 4 / 4; background: var(--neutral-100);
  display: grid; place-items: center;
  border-bottom: 3px solid var(--dbc-gold);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo .initials {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dbc-ink); color: var(--dbc-gold);
  font: 600 28px/1 var(--font-display); letter-spacing: 0.04em;
}
.member-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 22px; }
.member h3 { font: 700 17px/1.25 var(--font-display); color: var(--dbc-ink); }
.member .role { font: 600 13px/1.3 var(--font-body); color: var(--dbc-blue); }
.member .bio { font: 400 14px/1.55 var(--font-body); color: var(--text-secondary); }
.interns {
  background: #fff; color: var(--text-primary);
  border-radius: var(--radius-lg); padding: 20px 18px; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--dbc-gold);
  display: flex; flex-direction: column; gap: 6px;
}
.interns .label { font: 600 12px/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: #8a6c00; }
.interns h3 { font: 700 17px/1.25 var(--font-display); color: var(--dbc-ink); }
.interns p { font: 400 14px/1.5 var(--font-body); color: var(--text-secondary); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact-intro { display: flex; flex-direction: column; gap: 28px; }
.contact-intro .tagline { font: 500 clamp(22px, 2.4vw, 30px)/1.25 var(--font-display); color: #fff; max-width: 22ch; }
.contact-intro .brand-lockup { width: 220px; height: auto; }
.contact-intro .mail { display: inline-flex; align-items: center; gap: 10px; color: var(--text-on-ink-2); font-size: 15px; text-decoration: none; min-height: 44px; }
.contact-intro .mail:hover { color: #fff; }
.contact-intro .mail svg { width: 18px; height: 18px; flex: none; }

.form {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(160deg, #1b2760 0%, #121c4a 100%);
  border: 1px solid var(--rule-on-ink); border-radius: var(--radius-lg);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 600 13px/1.2 var(--font-body); color: var(--text-on-ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 400 15px/1.4 var(--font-body); color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-md);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field select:invalid { color: rgba(255, 255, 255, 0.55); }
.field select option { color: var(--dbc-ink); background: #fff; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.32); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--dbc-gold); box-shadow: var(--focus); background: rgba(255, 255, 255, 0.09);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; margin-top: 6px;
  font: 600 15px/1 var(--font-display); letter-spacing: 0.02em;
  color: var(--dbc-ink); background: var(--dbc-gold);
  border: 0; border-radius: var(--radius-md); cursor: pointer; text-decoration: none;
  transition: background 200ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { background: var(--gold-400); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.hp { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule-on-ink); padding: clamp(48px, 6vw, 72px) 0 40px; }
.footer-top { display: flex; flex-direction: column; gap: 22px; padding-bottom: 40px; }
.footer-top .tagline { font: 500 18px/1.4 var(--font-display); color: #fff; }
.footer-top img { width: 200px; height: auto; }
.footer-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--rule-on-ink);
}
.footer-bar--merged { padding-top: 0; border-top: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.footer-brand img { width: 140px; height: auto; }
.footer-bar small { font: 400 13px/1.4 var(--font-body); color: var(--dbc-gold); }
.footer-bar .site-nav a { font-size: 15px; }
.disclaimer { margin-top: 18px; font: 400 12px/1.6 var(--font-body); color: var(--text-on-ink-3); max-width: 120ch; }

/* ---------- Simple pages (thanks / 404) ---------- */
.simple { min-height: calc(100vh - 77px); display: grid; place-items: center; text-align: center; padding: 64px var(--gutter); }
.simple .inner { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 560px; }
.simple h1 { font: 700 clamp(32px, 4vw, 44px)/1.1 var(--font-display); }
.simple p { color: var(--text-on-ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero > .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; width: min(70%, 300px); }
  .modalities ul { grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
  .gap { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { min-height: 0; }
}
@media (max-width: 560px) {
  .site-header .container { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 12px; padding-bottom: 4px; min-height: 0; }
  .brand img { height: 34px; }
  html { scroll-padding-top: 116px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .member { flex-direction: row; }
  .member-photo { width: 112px; flex: none; aspect-ratio: auto; border-bottom: 0; border-right: 3px solid var(--dbc-gold); }
  .member-photo .initials { width: 64px; height: 64px; font-size: 22px; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Footer legal links ---------- */
.legal-nav ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 32px; font: 500 13px/1.2 var(--font-body); color: var(--text-on-ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.legal-nav a:hover { color: #fff; text-decoration-color: currentColor; }
.legal-nav a[aria-current="page"] { color: var(--dbc-gold); }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0 var(--section-y); }
.legal-container { max-width: 880px; }
.legal h1 { margin-top: 16px; font: 700 clamp(36px, 5vw, 56px)/1.08 var(--font-display); letter-spacing: -0.01em; }
.prose { margin-top: 28px; color: var(--text-on-ink-2); font-size: 16px; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose .legal-date { font-size: 14px; color: var(--text-on-ink-3); padding-bottom: 28px; border-bottom: 1px solid var(--rule-on-ink); }
.prose h2 { margin-top: 2.4em; font: 700 clamp(22px, 2.4vw, 26px)/1.25 var(--font-display); color: #fff; scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.8em; font: 700 18px/1.3 var(--font-display); color: #fff; scroll-margin-top: 96px; }
.prose strong { color: #fff; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--dbc-gold); }
.prose a { color: var(--dbc-gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 204, 5, .45); overflow-wrap: anywhere; }
.prose a:hover { text-decoration-color: currentColor; }
.prose code { font-family: var(--font-body); font-size: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--rule-on-ink); margin: 3em 0; }
.prose mark.todo { background: rgba(255, 204, 5, 0.18); color: var(--gold-400); padding: 0 3px; border-radius: 3px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule-on-ink); border-radius: var(--radius-md); margin-top: 1.2em; }
.prose table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--rule-on-ink); }
.prose th { font: 600 12px/1.3 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--dbc-gold); background: var(--surface-ink-raised); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: #fff; }

/* ---------- Cookie preferences link ---------- */
.link-btn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 500 13px/1.2 var(--font-body); color: var(--text-on-ink-2);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3);
}
.link-btn:hover { color: #fff; text-decoration-color: currentColor; }

/* ---------- Cookie banner ---------- */
.cc {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin-left: auto;
  background: #fff; color: var(--text-primary);
  border-radius: var(--radius-lg); border-top: 4px solid var(--dbc-gold);
  box-shadow: 0 28px 64px rgba(11, 22, 57, 0.35);
  max-height: calc(100vh - 32px); overflow-y: auto;
}
.cc[hidden] { display: none; }
.cc-inner { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.cc-title { font: 700 20px/1.2 var(--font-display); color: var(--dbc-ink); }
.cc-text { font: 400 14px/1.55 var(--font-body); color: var(--text-secondary); }
.cc-text a { color: var(--dbc-blue); font-weight: 600; text-underline-offset: 3px; }
.cc-details { display: flex; flex-direction: column; border: 1px solid var(--neutral-200); border-radius: var(--radius-md); }
.cc-details[hidden] { display: none; }
.cc-cat { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.cc-cat + .cc-cat { border-top: 1px solid var(--neutral-200); }
.cc-cat-title { font: 600 14px/1.3 var(--font-body); color: var(--dbc-ink); cursor: pointer; }
.cc-cat p { margin-top: 4px; font: 400 13px/1.5 var(--font-body); color: var(--text-secondary); }
.cc-switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: 2px; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-track { position: absolute; inset: 0; border-radius: 999px; background: var(--neutral-300); transition: background 200ms var(--ease); }
.cc-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11,22,57,.3); transition: transform 200ms var(--ease); }
.cc-switch input:checked + .cc-track { background: var(--dbc-blue); }
.cc-switch input:checked + .cc-track::after { transform: translateX(20px); }
.cc-switch input:disabled + .cc-track { background: var(--neutral-500); }
.cc-switch input:focus-visible + .cc-track { box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.35); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cc-btn {
  flex: 1 1 auto; min-height: 44px; padding: 0 16px; border-radius: var(--radius-md); cursor: pointer;
  font: 600 14px/1 var(--font-display); letter-spacing: 0.02em;
  background: var(--dbc-ink); color: #fff; border: 1.5px solid var(--dbc-ink);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.cc-btn:hover { background: var(--neutral-800); }
.cc-btn-ghost { background: transparent; color: var(--dbc-ink); border-color: var(--neutral-300); }
.cc-btn-ghost:hover { background: var(--neutral-100); }
.cc-btn[hidden] { display: none; }
.cc :focus-visible { box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.35); }
@media (max-width: 560px) {
  .cc { left: 8px; right: 8px; bottom: 8px; }
  .cc-btn { flex-basis: calc(50% - 4px); }
}
