/* Lexara Advisory — aiactregistration.com — Shared CSS for subpages */
:root {
  --navy: #0B1628;
  --navy-mid: #162040;
  --navy-soft: #1E2D4A;
  --gold: #C5A44B;
  --gold-light: #E2CC8A;
  --gold-pale: #F5EDD4;
  --cream: #FAF8F3;
  --white: #FFFFFF;
  --text: #0B1628;
  --muted: #8A99AA;
  --faint: #9AA5B4;
  --border-gold: rgba(197,164,75,0.2);
  --border: #E8E4DA;
  --danger: #C0392B;
}
@font-face {
  font-family: 'Cormorant Garamond Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 98%; ascent-override: 90%; descent-override: 22%; line-gap-override: normal;
}
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial'), local('Helvetica Neue');
  size-adjust: 104%; ascent-override: 92%; descent-override: 23%; line-gap-override: normal;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', 'DM Sans Fallback', Arial, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* NAV */
.s-nav {
  position: sticky; top: 0; z-index: 99;
  background: rgba(11,22,40,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 16px 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.s-nav-logo {
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: 20px; font-weight: 600; color: var(--gold);
  text-decoration: none; letter-spacing: 0.02em;
}
.s-nav-logo span {
  color: var(--faint); font-size: 11px;
  font-family: 'DM Sans', 'DM Sans Fallback', Arial, sans-serif;
  font-weight: 400; display: block;
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: -2px;
}
.s-nav-links {
  display: flex; align-items: center; gap: 24px;
}
.s-nav-link {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.s-nav-link:hover { color: var(--gold-light); }
.s-nav-link.active { color: var(--gold); }
.s-nav-cta {
  background: var(--gold); color: var(--navy);
  padding: 10px 22px; border-radius: 4px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  letter-spacing: 0.04em; transition: background 0.2s;
}
.s-nav-cta:hover { background: var(--gold-light); }
.s-nav-menu {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; color: var(--gold);
}
.s-nav-menu svg { width: 24px; height: 24px; display: block; }

/* HERO (subpage) */
.s-hero {
  padding: 80px 40px 48px;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-gold);
}
.s-hero-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.s-hero h1 {
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700; color: var(--white);
  line-height: 1.08; margin-bottom: 20px;
}
.s-hero h1 em { font-style: italic; color: var(--gold); }
.s-hero-lead {
  font-size: 18px; line-height: 1.7;
  color: rgba(255,255,255,0.82);
  max-width: 680px;
}

/* CONTENT */
.s-section {
  padding: 64px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.s-section h2 {
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700; color: var(--white);
  line-height: 1.1; margin-bottom: 20px;
  margin-top: 48px;
}
.s-section h2:first-child { margin-top: 0; }
.s-section h2 em { font-style: italic; color: var(--gold); }
.s-section h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: 24px; font-weight: 700; color: var(--white);
  margin-bottom: 12px; margin-top: 36px;
}
.s-section p {
  font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin-bottom: 20px;
}
.s-section p a { color: var(--gold); text-decoration: underline; }
.s-section p strong { color: var(--white); }
.s-section ul, .s-section ol {
  margin: 16px 0 24px 24px;
  color: rgba(255,255,255,0.82);
  font-size: 15px; line-height: 1.7;
}
.s-section li { margin-bottom: 8px; }
.s-section li strong { color: var(--gold-light); }
.s-section blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 24px; margin: 24px 0;
  background: rgba(197,164,75,0.06);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: rgba(255,255,255,0.78);
}

/* INFO BOX */
.info-box {
  background: var(--navy-mid);
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  padding: 28px;
  margin: 32px 0;
}
.info-box h4 {
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: 20px; font-weight: 700; color: var(--white);
  margin-bottom: 12px;
}
.info-box p {
  font-size: 14px; line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin-bottom: 8px;
}
.info-box p:last-child { margin-bottom: 0; }

/* WARNING BOX */
.warn-box {
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.4);
  border-left: 4px solid var(--danger);
  border-radius: 6px;
  padding: 24px 28px;
  margin: 32px 0;
}
.warn-box p { color: rgba(255,255,255,0.82); font-size: 15px; }

/* CTA INLINE */
.s-cta {
  text-align: center;
  padding: 48px 40px;
  margin: 32px 0;
  background: var(--navy-mid);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
}
.s-cta h3 {
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: 28px; font-weight: 700; color: var(--white);
  margin: 0 0 16px;
}
.s-cta p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 24px; }
.s-cta-btn {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  padding: 16px 32px; border-radius: 4px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.03em;
  transition: all 0.2s;
}
.s-cta-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(197,164,75,0.3);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-gold);
  padding: 0;
}
.faq-q {
  width: 100%;
  background: none; border: none;
  padding: 20px 0;
  font-family: 'DM Sans', 'DM Sans Fallback', Arial, sans-serif;
  font-size: 16px; font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold-light); }
.faq-q::after {
  content: '+';
  font-size: 24px; font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-q[aria-expanded="true"]::after {
  content: '−';
  transform: rotate(0deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 0 20px;
  font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,0.78);
}
.faq-a-inner a { color: var(--gold); text-decoration: underline; }
.faq-a-inner strong { color: var(--gold-light); }

/* BREADCRUMB */
.breadcrumb {
  padding: 12px 40px;
  max-width: 900px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* FOOTER */
.s-footer {
  background: #0a1020;
  border-top: 1px solid rgba(197,164,75,0.25);
  padding: 32px 40px;
  text-align: center;
}
.s-footer-logo {
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: 18px; font-weight: 600; color: var(--gold);
  text-decoration: none; display: inline-block; margin-bottom: 12px;
}
.s-footer-links {
  display: flex; justify-content: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 12px;
}
.s-footer-links a {
  color: var(--gold-light); text-decoration: none; font-size: 12px;
}
.s-footer-links a:hover { text-decoration: underline; }
.s-footer-text {
  font-size: 12px; color: var(--muted);
  line-height: 1.6; max-width: 600px; margin: 0 auto;
}
.s-footer-contact {
  font-size: 12px; color: var(--muted);
  margin-top: 12px; letter-spacing: 0.03em;
}
.s-footer-contact a { color: var(--gold-light); text-decoration: none; }

/* CHATBOT (shared subpages) */
#chat-bubble {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 999;
  box-shadow: 0 4px 20px rgba(197,164,75,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
#chat-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(197,164,75,0.5);
}
#chat-bubble svg { width: 24px; height: 24px; }
#chat-window {
  position: fixed; bottom: 96px; right: 28px;
  width: 360px; max-height: 520px;
  background: var(--navy-mid);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: none; flex-direction: column;
  z-index: 998;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
#chat-window.open { display: flex; }
.chat-header {
  padding: 16px 20px; background: var(--navy);
  border-bottom: 1px solid var(--border-gold);
  display: flex; align-items: center; gap: 12px;
}
.chat-header-dot {
  width: 8px; height: 8px; background: #2ECC71;
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.chat-header-info h4 {
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: 16px; font-weight: 700; color: var(--white);
}
.chat-header-info p { font-size: 11px; color: var(--muted); }
.chat-close {
  margin-left: auto; background: none; border: none;
  color: var(--muted); cursor: pointer; font-size: 18px;
  line-height: 1; padding: 4px;
}
.chat-close:hover { color: var(--white); }
#chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 12px;
  max-height: 340px;
}
.msg {
  max-width: 88%; padding: 10px 14px;
  border-radius: 10px; font-size: 13.5px; line-height: 1.55;
}
.msg.bot {
  background: var(--navy-soft);
  border: 1px solid var(--border-gold);
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
  border-radius: 10px 10px 10px 2px;
}
.msg.user {
  background: var(--gold); color: var(--navy);
  align-self: flex-end; font-weight: 500;
  border-radius: 10px 10px 2px 10px;
}
.msg.typing {
  background: var(--navy-soft);
  border: 1px solid var(--border-gold);
  align-self: flex-start;
  color: var(--muted); font-style: italic;
}
.chat-input-row {
  padding: 12px 16px;
  border-top: 1px solid var(--border-gold);
  display: flex; gap: 8px;
}
#chat-input {
  flex: 1; background: var(--navy);
  border: 1px solid var(--border-gold);
  border-radius: 6px; padding: 10px 14px;
  font-size: 13px; color: var(--white);
  font-family: 'DM Sans', 'DM Sans Fallback', Arial, sans-serif;
  outline: none;
}
#chat-input::placeholder { color: var(--muted); }
#chat-input:focus { border-color: var(--gold); }
#chat-send {
  background: var(--gold); border: none;
  border-radius: 6px; width: 38px; height: 38px;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0;
}
#chat-send:hover { background: var(--gold-light); }
#chat-send svg { width: 16px; height: 16px; }
.chat-branding {
  padding: 8px 16px; text-align: center;
  font-size: 11px; color: var(--muted);
  border-top: 1px solid rgba(197,164,75,0.08);
}
.chat-branding a { color: var(--gold-light); text-decoration: none; }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--navy); border-top: 1px solid rgba(197,164,75,0.25);
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  box-shadow: 0 -8px 40px rgba(11,22,40,0.4);
}
#cookie-banner.hidden { display: none !important; }
.cookie-text {
  flex: 1; min-width: 260px;
  font-size: .79rem; font-weight: 300;
  color: rgba(255,255,255,0.6); line-height: 1.7;
}
.cookie-text strong { color: var(--gold-light); font-weight: 500; }
.cookie-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; flex-shrink: 0; }
.btn-cookie {
  font-size: .71rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .6rem 1.4rem; border: none; cursor: pointer;
  transition: all 0.25s ease; white-space: nowrap;
}
.btn-cookie-accept { background: var(--gold); color: var(--navy); }
.btn-cookie-accept:hover { background: var(--gold-light); }
.btn-cookie-reject {
  background: transparent; color: rgba(255,255,255,0.75);
  border: .5px solid rgba(255,255,255,0.4);
}
.btn-cookie-reject:hover { color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-cookie-more {
  background: transparent; color: rgba(255,255,255,0.5);
  font-size: .69rem; text-decoration: underline;
  border: none; cursor: pointer; padding: .4rem 0;
}
.btn-cookie-more:hover { color: var(--gold); }
#cookie-panel {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9001; background: var(--navy-mid);
  border-top: 1px solid rgba(197,164,75,0.25);
  padding: 2rem;
}
#cookie-panel.open { display: block; }
.cp-title {
  font-family: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
  font-size: 1.25rem; font-weight: 500; color: var(--white); margin-bottom: 1rem;
}
.cp-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.cp-item { background: rgba(197,164,75,0.06); border: .5px solid rgba(197,164,75,0.2); padding: 1rem; border-radius: 4px; }
.cp-label { font-size: .77rem; font-weight: 500; color: var(--white); margin-bottom: .3rem; display: flex; align-items: center; justify-content: space-between; }
.cp-desc { font-size: .67rem; font-weight: 300; color: rgba(255,255,255,0.4); line-height: 1.6; }
.cp-req { font-size: .58rem; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
.toggle-sw { position: relative; width: 36px; height: 20px; flex-shrink: 0; margin-top: .75rem; display: block; }
.toggle-sw input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-sl { position: absolute; inset: 0; background: rgba(255,255,255,0.15); border-radius: 20px; cursor: pointer; transition: background 0.25s; }
.toggle-sl::before { content: ''; position: absolute; width: 14px; height: 14px; left: 3px; top: 3px; background: var(--white); border-radius: 50%; transition: transform 0.25s; }
.toggle-sw input:checked + .toggle-sl { background: var(--gold); }
.toggle-sw input:checked + .toggle-sl::before { transform: translateX(16px); }
.toggle-sw input:disabled + .toggle-sl { opacity: .5; cursor: not-allowed; }
.cp-actions { display: flex; gap: .75rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .s-nav { padding: 14px 20px; }
  .s-nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(11,22,40,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 32px; z-index: 200; }
  .s-nav-links.open { display: flex; }
  .s-nav-menu { display: block; z-index: 201; }
  .s-hero { padding: 60px 20px 36px; }
  .s-section { padding: 48px 20px; }
  .breadcrumb { padding: 12px 20px; }
  .s-footer { padding: 24px 20px; }
  #chat-window { width: calc(100vw - 32px); right: 16px; bottom: 84px; }
  .s-nav-link { font-size: 18px; color: var(--white); }
  .s-nav-cta { font-size: 16px; padding: 14px 28px; }
}
