/*
 * rwexpres-brand.css — RW Exprès (SR Invest) brand skin.
 * Loaded LAST on every rwexpres page. Re-skins BOTH the page's own --rwx-*
 * tokens AND the shared Luca AIOS shell surfaces (which are dark/indigo by
 * default and hardcoded) to the rwexpres.com palette: ivory / navy / gold,
 * Playfair Display + EB Garamond serif. Scoped to rwexpres pages only (this
 * file is not loaded anywhere else), so the Luca shell elsewhere is untouched.
 */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root,
:root.theme-day {
  --rwx-brand: #15314c;
  --rwx-brand-soft: rgba(21, 49, 76, 0.10);
  --rwx-accent: #b8893b;
  --rwx-accent-strong: #8c6622;
  --rwx-bg: #f8f3e9;
  --rwx-card: #fffdf8;
  --rwx-line: #e7dcc6;
  --rwx-text: #15314c;
  --rwx-ink: #15314c;
  --rwx-ink-dim: #43596f;
  --rwx-muted: #5a6b7d;
  --rwx-font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --rwx-font-body: 'EB Garamond', Georgia, 'Times New Roman', serif;
}

/* ── Canvas + shell surfaces → ivory / warm-white (defeat the Luca dark shell) ── */
html, body, body.aios-bg, .aios-bg {
  background: #f8f3e9 !important;
  color: #15314c !important;
  font-family: var(--rwx-font-body) !important;
}
.aios-viewport { background: transparent !important; }
.aios-card, .rwx-wrap, .rwx-panel, .aios-card-header, .aios-card-footer {
  background: #fffdf8 !important;
  color: #15314c !important;
  border-color: #e7dcc6 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: 0 18px 50px -30px rgba(21, 49, 76, 0.45) !important;
}
.rwx-tile { background: #fffdf8 !important; border-color: #e7dcc6 !important; color: #15314c !important; }

/* ── Headings + brand wordmark → navy serif (also defeat the gradient-text h1) ── */
.rwx-brand, h1, h2, h3,
.aios-page-title h1, .aios-card-header h1, .aios-card-header h2, .aios-card-header h3 {
  font-family: var(--rwx-font-head) !important;
  color: #15314c !important;
  -webkit-text-fill-color: #15314c !important;
  background: none !important;
  letter-spacing: 0.2px;
}
body, p, label, input, button, .rwx-sub, .aios-subtitle,
.rwx-stepcaption, .rwx-tile .rwx-tdesc, .rwx-inclusions {
  font-family: var(--rwx-font-body) !important;
}
.rwx-sub, .aios-subtitle, .rwx-stepcaption, .rwx-inclusions, .rwx-tile .rwx-tdesc {
  color: #5a6b7d !important;
}

/* ── Accents: prices/brand → navy; included-credit → maritime turquoise ── */
.rwx-tile .rwx-price { color: #15314c !important; }
.rwx-credit { color: #2f8f86 !important; }

/* ── Primary action → navy; links → deep gold (no indigo gradient) ── */
.aios-btn-primary, .rwx-primary, .rwx-next, .rwx-cta, button.rwx-primary {
  background: #15314c !important;
  background-image: none !important;
  border-color: #15314c !important;
  color: #fffdf8 !important;
  box-shadow: 0 6px 18px -8px rgba(21, 49, 76, 0.5) !important;
}
.aios-btn-secondary { border-color: #e7dcc6 !important; color: #15314c !important; background: #fffdf8 !important; }
a { color: #8c6622; }

/* ── Hide the Luca "L" OS logo on the product pages ── */
#aios-shell-logo { display: none !important; }
