/*
 * Colour skin for the three Company pages that are still composed from the CMS
 * (Investors, Security, Partners), so they read as part of the redesigned
 * Company section. Colours only: no layout, spacing, content or behaviour is
 * changed here. Every rule is under .co-skin, which only those pages get.
 *
 * Palette (the same one public/company/company.css uses):
 *   ink #07110d / #0b0f0d   hero #050d0a   lime #cbfb45   emerald #047857 / #10b981
 *   surface #ffffff   border #cfd5d0   muted #475569 / #64748b
 */
.co-skin {
  --sk-ink: #07110d;
  --sk-hero: #050d0a;
  --sk-lime: #cbfb45;
  --sk-surface: #ffffff;
  --sk-line: #cfd5d0;
  --sk-muted: #475569;
  --sk-on-dark: rgba(236, 244, 238, 0.78);
}

/* ---- page surfaces, borders and body text ---- */
.co-skin .bg-neutral-50,
.co-skin .bg-neutral-50\/50,
.co-skin .bg-slate-50\/60 { background-color: var(--sk-surface); }
.co-skin .bg-neutral-100,
.co-skin .bg-slate-100 { background-color: #ebefe9; }
.co-skin .bg-\[\#FFFFFF\] { background-color: var(--sk-surface); }
.co-skin .border-neutral-200, .co-skin .border-neutral-200\/80, .co-skin .border-neutral-200\/90,
.co-skin .border-neutral-300, .co-skin .border-slate-100, .co-skin .border-slate-200,
.co-skin .border-slate-200\/80, .co-skin .border-slate-200\/90 { border-color: var(--sk-line); }
.co-skin .text-neutral-950, .co-skin .text-neutral-900, .co-skin .text-neutral-800,
.co-skin .text-slate-950, .co-skin .text-slate-900, .co-skin .text-slate-800,
.co-skin .text-\[\#0A120E\] { color: var(--sk-ink); }
.co-skin .text-\[\#0A120E\]\/70 { color: var(--sk-muted); }
.co-skin .text-neutral-700, .co-skin .text-neutral-600, .co-skin .text-slate-700, .co-skin .text-slate-600 { color: var(--sk-muted); }
.co-skin .text-neutral-500, .co-skin .text-slate-500 { color: #64748b; }
.co-skin .text-emerald-700 { color: #047857; }
.co-skin .bg-\[\#CBFB45\] { background-color: var(--sk-lime); color: var(--sk-ink); }
.co-skin .focus\:border-black:focus { border-color: var(--sk-ink); }
.co-skin .focus\:ring-black:focus { --tw-ring-color: var(--sk-ink); }

/* ---- buttons on light surfaces: the Company black ---- */
.co-skin :is(a, button).bg-neutral-950, .co-skin :is(a, button).bg-slate-950,
.co-skin :is(a, button).bg-black, .co-skin :is(a, button).bg-neutral-900 { background-color: #0b0f0d; }
.co-skin :is(a, button).bg-neutral-950:hover, .co-skin :is(a, button).bg-slate-950:hover,
.co-skin :is(a, button).bg-black:hover, .co-skin :is(a, button).bg-neutral-900:hover { background-color: #1f2a24; }

/* ---- dark panels in the body (the board, the vault, the partner banner) ---- */
.co-skin .bg-black, .co-skin .bg-neutral-950, .co-skin .bg-slate-950 { background-color: var(--sk-ink); }
.co-skin div.bg-neutral-900, .co-skin section.bg-neutral-900 { background-color: #0d1a14; }
.co-skin .bg-neutral-900\/60, .co-skin .bg-neutral-900\/80 { background-color: rgba(13, 26, 20, 0.78); }
.co-skin .border-neutral-800, .co-skin .border-neutral-800\/80, .co-skin .border-neutral-700,
.co-skin .border-slate-800, .co-skin .border-emerald-950\/40 { border-color: rgba(203, 251, 69, 0.16); }
.co-skin .text-neutral-400 { color: rgba(236, 244, 238, 0.62); }
.co-skin .text-cyan-400 { color: #10b981; }
.co-skin .text-emerald-400 { color: var(--sk-lime); }
.co-skin .text-purple-300 { color: #dcff7a; }
.co-skin .bg-\[\#071510\] { background-color: var(--sk-ink); }
.co-skin .via-blue-600\/5, .co-skin .from-blue-600\/5, .co-skin .via-slate-500\/5, .co-skin .from-slate-700\/10 { --tw-gradient-from: rgba(203, 251, 69, 0.06); --tw-gradient-via: rgba(203, 251, 69, 0.04); }

/* ---- the opening section: the Company dark hero ---- */
.co-skin > section:first-of-type,
.co-skin > .min-h-screen > section:first-of-type,
.co-skin section.hero-std {
  background: radial-gradient(60% 80% at 82% 0%, rgba(203, 251, 69, 0.1), transparent 62%), var(--sk-hero);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(.bg-white, .bg-gradient-to-b) { background-color: transparent; background-image: none; }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(h1, h2, h3, .text-neutral-950, .text-neutral-900, .text-neutral-800, .text-slate-950, .text-slate-900, .text-slate-800, .text-black, .text-\[\#0A120E\]) { color: #fff; }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(p, li, .text-neutral-700, .text-neutral-600, .text-neutral-500, .text-slate-700, .text-slate-600, .text-slate-500, .text-\[\#0A120E\]\/70) { color: var(--sk-on-dark); }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) nav :is(a, span) { color: rgba(236, 244, 238, 0.62); }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) nav a:hover { color: #fff; }
/* hero buttons: lime primary, outlined secondary (as on the Culture page) */
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(a, button):is(.bg-neutral-950, .bg-slate-950, .bg-black, .bg-neutral-900) { background-color: var(--sk-lime); color: var(--sk-ink); }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(a, button):is(.bg-neutral-950, .bg-slate-950, .bg-black, .bg-neutral-900) * { color: inherit; }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(a, button):is(.bg-neutral-950, .bg-slate-950, .bg-black, .bg-neutral-900):hover { background-color: #dcff7a; }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(a, button).bg-white { background-color: transparent; border-color: rgba(255, 255, 255, 0.32); color: #fff; }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(a, button).bg-white * { color: inherit; }
/* chips and small marks inside the hero */
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(.bg-slate-100, .bg-neutral-100) { background-color: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: #e9f3ec; }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(.bg-slate-100, .bg-neutral-100) * { color: inherit; }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) .border-slate-100 { border-color: rgba(255, 255, 255, 0.12); }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) :is(.border-neutral-200, .border-slate-200, .border-neutral-300) { border-color: rgba(255, 255, 255, 0.16); }
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) .text-\[\#CBFB45\] { color: var(--sk-lime); }
/* the highlighted words in a hero headline stay dark on lime */
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) .bg-\[\#CBFB45\],
:is(.co-skin > section:first-of-type, .co-skin > .min-h-screen > section:first-of-type, .co-skin section.hero-std) .bg-\[\#CBFB45\] * { color: var(--sk-ink); }

/* Security's opening section follows the Company hero size (see "THE COMPANY HERO" in app/globals.css) */
.co-skin > section:first-of-type {
  --hero-strip: clamp(44px, calc(var(--co-hero-min) - 408px), 110px);
  padding-top: var(--co-hero-pt) !important;
  padding-bottom: var(--co-hero-pb) !important;
  min-height: var(--co-hero-min);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.co-skin > section:first-of-type > div {
  width: 100%;
}

/* ---- Partners hero: a lighter charcoal-green than the other Company heroes, so it reads as its own band between the black
   navigation bar above and the dark ecosystem section below. Same lime glow, same content and colours. ---- */
.co-skin section.hero-std.partners-hero {
  background: radial-gradient(60% 80% at 82% 0%, rgba(203, 251, 69, 0.12), transparent 62%), #22382f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
