/* XenorHub theme — deep teal + warm sand.
   Distinct from xenorpay.com (black + silver). Do not edit public copy here.
   Loaded after styles.css so these overrides win. Contrast checked to WCAG AA.

   Palette:
     Ink            #061A1D
     Ink mid        #0A2429
     Surface        #0E2F35
     Surface raised #134047
     Line           #1C555C
     Teal           #1F8A78
     Teal bright    #2EAD96
     Sand           #E4C990
     Sand light     #F3E3C0
     Sand deep      #C4A46A
     Text           #F6F1E8
     Text soft      #D5DDD8
     Text muted     #B7C5C0
     Button text    #0B1F22
*/

:root {
  --ink: #061A1D;
  --ink-mid: #0A2429;
  --surface: #0E2F35;
  --surface-raised: #134047;
  --line: #1C555C;
  --line-soft: rgba(228, 201, 144, 0.35);
  --teal: #1F8A78;
  --teal-bright: #2EAD96;
  --sand: #E4C990;
  --sand-light: #F3E3C0;
  --sand-deep: #C4A46A;
  --text: #F6F1E8;
  --text-soft: #D5DDD8;
  --text-muted: #B7C5C0;
  --btn-text: #0B1F22;
  --silver: #E4C990;
  --silver2: #C4A46A;
  --silver3: #F3E3C0;
}

html,
body,
body.bg-black {
  background-color: var(--ink) !important;
  color: var(--text) !important;
}

.text-white { color: var(--text) !important; }
.text-black { color: var(--btn-text) !important; }
.text-gray-200 { color: var(--text-soft) !important; }
.text-gray-300 { color: var(--text-soft) !important; }
.text-gray-400 { color: var(--text-muted) !important; }
.text-gray-500 { color: var(--text-muted) !important; }
.text-white\/10 { color: rgb(246 241 232 / 0.14) !important; }

.hover\:text-white:hover { color: var(--sand-light) !important; }

.bg-black { background-color: var(--ink) !important; }
.bg-black\/90 { background-color: rgb(6 26 29 / 0.92) !important; }
.bg-black\/70 { background-color: rgb(14 47 53 / 0.88) !important; }
.bg-black\/60 { background-color: rgb(14 47 53 / 0.82) !important; }
.bg-black\/40 { background-color: rgb(10 36 41 / 0.55) !important; }
.bg-black\/30 { background-color: rgb(10 36 41 / 0.45) !important; }

/* Hero overlay: darker on the left where the headline sits, so text stays AA. */
.bg-black\/65 {
  background: linear-gradient(
    90deg,
    rgb(6 26 29 / 0.80) 0%,
    rgb(6 26 29 / 0.62) 42%,
    rgb(6 26 29 / 0.42) 100%
  ) !important;
}

.bg-\[\#0c0f15\] { background-color: var(--surface) !important; }
.bg-\[\#2a2a2a\] { background-color: var(--surface-raised) !important; }

/* Primary buttons — warm sand, dark ink text */
.bg-\[\#c0c0c0\] {
  background: linear-gradient(135deg, var(--sand-light), var(--sand), var(--sand-light)) !important;
  color: var(--btn-text) !important;
}

/* Default: sand-coloured labels and icons (overrides the silver badge rule in styles.css). */
.text-\[\#c0c0c0\] {
  color: var(--sand) !important;
  background: none !important;
  box-shadow: none !important;
}

/* Section highlight words and small pills keep a sand badge, now gold rather than silver. */
h2 span.text-\[\#c0c0c0\],
h3 span.text-\[\#c0c0c0\],
span.inline-block.text-\[\#c0c0c0\] {
  background: linear-gradient(135deg, var(--sand-light), var(--sand), var(--sand-light)) !important;
  color: var(--btn-text) !important;
}

/* Icon wells: teal well, sand icon */
div.bg-\[\#2a2a2a\].text-\[\#c0c0c0\] {
  background-color: var(--surface-raised) !important;
  color: var(--sand) !important;
}

.border-\[\#c0c0c0\] {
  border-color: var(--sand-deep) !important;
  box-shadow: 0 0 14px rgba(228, 201, 144, 0.16);
}

.border-\[\#c0c0c0\]\/40 {
  border-color: rgba(228, 201, 144, 0.40) !important;
}

.border-\[\#1c1c1c\],
.border-\[\#1a1a1a\],
.border-\[\#1a1f2a\],
.border-gray-700 {
  border-color: var(--line) !important;
}

.border-gray-500 {
  border-color: var(--teal) !important;
}

.from-\[\#0b1420\] {
  --tw-gradient-from: #0A2429 var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(10 36 41 / 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.to-\[\#0b1420\] {
  --tw-gradient-to: #0A2429 var(--tw-gradient-to-position) !important;
}

.from-black {
  --tw-gradient-from: #061A1D var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(6 26 29 / 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.to-black {
  --tw-gradient-to: #061A1D var(--tw-gradient-to-position) !important;
}

.nav-link-active {
  color: var(--sand) !important;
  border-bottom: 2px solid var(--sand);
  padding-bottom: .25rem;
  background: none !important;
}

/* Hero highlight ("USDC and USDT") — inline #d8d8d8 replaced visually, copy unchanged */
h1 span[style] {
  color: var(--sand-light) !important;
}

.premium-card:hover {
  box-shadow: 0 18px 45px rgba(228, 201, 144, 0.14);
  border-color: var(--sand) !important;
}

.premium-button:hover {
  box-shadow: 0 10px 28px rgba(228, 201, 144, 0.22);
}

.legal-prose h2,
.legal-prose h3 {
  color: var(--text) !important;
}

.legal-prose p,
.legal-prose li {
  color: var(--text-soft) !important;
}

.legal-prose a {
  color: var(--sand-light) !important;
}

.legal-draft-note {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.risk-callout {
  border: 1px solid rgba(228, 201, 144, 0.45);
  border-radius: 0.375rem;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  margin: 1.5rem 0 0;
}

.risk-callout p + p { margin-top: 0.75rem; }

footer a[href^="mailto:"] { overflow-wrap: anywhere; min-width: 0; }


.legal-prose a,
p a,
footer .text-xs a {
  color: var(--sand-light) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

header nav a,
footer li a {
  color: inherit;
  text-decoration: none;
}

header nav a:hover,
footer li a:hover {
  color: var(--sand-light) !important;
}

header {
  border-bottom-color: var(--line) !important;
}
