/* Additions to the existing black and gold design. */
[hidden] { display: none !important; }
:root { --gold-line: rgba(212,168,79,.32); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a, button, summary, input, select, textarea { -webkit-tap-highlight-color: rgba(212,168,79,.18); }
:where(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid #f0ce80 !important; outline-offset: 5px; }
button:disabled { cursor: not-allowed; opacity: .65; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 120; padding: 14px 20px; color: #090909; background: #f0ce80; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.text-link { color: #ecd39b; text-decoration: underline; text-underline-offset: 4px; }
.no-js-nav { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 24px; }
.no-js-nav a { color: #ecd39b; min-height: 44px; padding-block: 10px; text-decoration: underline; }
.site-tools { flex-basis: 100%; width: 100%; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--gold-line); }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; font-size: .875rem; color: #e4d6b8; background: transparent; border: 0; letter-spacing: normal; text-transform: none; }
.share-fallback { margin: 12px 0 0; max-width: 560px; }
.share-fallback input { display: block; width: 100%; margin-top: 8px; padding: 12px; background: #111; color: #fffaf0; border: 1px solid var(--gold-line); border-radius: 8px; }
.utility-status { margin: 6px 0 0; min-height: 1.4em; font-size: .85rem; }
.brand-welcome { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; pointer-events: none; background: rgba(5,5,5,.94); animation: welcome-exit .4s ease 1.05s forwards; }
.brand-welcome-card { width: min(100%, 560px); padding: clamp(30px,6vw,64px); border: 1px solid rgba(212,168,79,.55); border-radius: 26px; background: radial-gradient(ellipse at 50% 0,rgba(212,168,79,.14),transparent 65%),#090909; text-align: center; box-shadow: 0 20px 90px #000, 0 0 60px rgba(212,168,79,.08); animation: welcome-enter .65s cubic-bezier(.16,1,.3,1) both; }
.brand-welcome-card img { display: block; width: 100%; height: auto; margin: 0 auto 20px; }
.brand-welcome-card p { margin: 0; font-size: .75rem; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; }
.welcome-line { display: block; width: 72px; height: 1px; margin: 24px auto 0; background: #d4a84f; transform-origin: center; animation: welcome-line .8s ease both; }
@keyframes welcome-enter { from { opacity: 0; transform: translateY(22px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes welcome-exit { to { opacity: 0; visibility: hidden; } }
@keyframes welcome-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.cookie-banner { position: fixed; z-index: 65; left: max(16px,env(safe-area-inset-left)); bottom: max(16px,env(safe-area-inset-bottom)); width: min(540px,calc(100% - 32px)); max-height: calc(100svh - 32px); overflow-y: auto; padding: clamp(20px,4vw,28px); border: 1px solid var(--gold-line); border-radius: 20px; background: #10100e; box-shadow: 0 16px 70px #000b; }
.cookie-banner h2 { font-size: 1.2rem; margin: 0 0 8px; }
.cookie-banner { margin: 0; }
.cookie-banner p, .privacy-dialog p { font-size: .9rem; line-height: 1.6; margin: 0 0 18px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { flex: 1 1 155px; width: auto; min-height: 46px; padding: 12px 14px; font-size: .82rem; letter-spacing: .02em; text-transform: none; }
.cookie-settings-link { display: block; min-height: 44px; margin: 8px auto 0; padding: 8px 12px; border: 0; background: none; color: #ecd39b; text-decoration: underline; text-underline-offset: 4px; }
.privacy-dialog { position: fixed; inset: 0; z-index: 100; width: min(580px,calc(100% - 32px)); max-height: calc(100svh - 40px); margin: auto; padding: clamp(22px,5vw,36px); color: #fffaf0; background: #0c0c0b; border: 1px solid var(--gold-line); border-radius: 22px; box-shadow: 0 24px 100px #000b; overflow-y: auto; overscroll-behavior: contain; }
.privacy-dialog::backdrop { background: rgba(0,0,0,.8); }
.privacy-dialog h2 { margin: 0 48px 18px 0; font-size: 1.4rem; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; color: #f0ce80; background: transparent; border: 1px solid var(--gold-line); border-radius: 50%; font-size: 1.5rem; }
.consent-option { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 20px; padding: 18px 0; border-top: 1px solid var(--gold-line); }
.consent-option label, .consent-option strong { font-weight: 650; }
.consent-option input { width: 24px; height: 24px; margin: 0; accent-color: #d4a84f; }
.consent-option p { grid-column: 1 / -1; margin: 0; color: #ccc2ae; }
.essential-label { color: #ecd39b; font-size: .8rem; }
.privacy-dialog .cookie-actions { margin-top: 18px; }
.consultation-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(24px,4vw,48px); align-items: start; }
.consultation-grid h3 { margin-top: 0; font-size: 1.25rem; }
#contact .consultation-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
#contact .consultation-grid > div > p + p { margin-top: 16px; }
.consultation-form { display: grid; gap: 16px; min-width: 0; }
.form-field label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; padding: 13px 14px; background: #0a0a0a; color: #fffaf0; border: 1px solid #7a683f; border-radius: 10px; font-size: 16px; }
.form-field textarea { min-height: 108px; resize: vertical; }
.form-field option { background: #0a0a0a; color: #fffaf0; }
.form-hint { font-size: .85rem; line-height: 1.6; margin: 0; }
.consultation-form .btn { min-height: 48px; width: 100%; }
.chart-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: clamp(22px,5vw,50px); text-align: center; background: radial-gradient(ellipse at 50% 30%,rgba(212,168,79,.1),transparent 70%),#090909; }
.chart-consent .section-kicker { margin: 0; }
.chart-consent h3 { margin: 0; font-size: clamp(1.3rem,3vw,1.8rem); }
.chart-consent p { margin: 0; max-width: 480px; line-height: 1.6; }
.chart-consent .btn { max-width: 370px; }
.market-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: .8rem; }
.market-controls button { min-height: 44px; color: #e9cd90; background: none; border: 0; text-decoration: underline; text-underline-offset: 4px; }
.cnbc-ticker::before { content: 'MARKET BRIEFING'; }
.cnbc-ticker[data-live="true"]::before { content: 'CNBC MARKET HEADLINES'; }
.cnbc-ticker:focus-within .cnbc-ticker-track, .cnbc-ticker:hover .cnbc-ticker-track { animation-play-state: paused; }
.cnbc-ticker-track.is-static { animation: none; white-space: normal; display: flex; flex-wrap: wrap; width: 100%; transform: none; }
.cnbc-ticker-track.is-static .headline-chip { white-space: normal; overflow-wrap: anywhere; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; scroll-behavior: auto !important; }
html.motion-paused { scroll-behavior: auto !important; }
.motion-paused [data-fade], .motion-paused [data-stagger-item] { opacity: 1 !important; transform: none !important; transition: none !important; }
.motion-paused .cnbc-ticker-track { animation: none !important; transform: none !important; flex-wrap: wrap; white-space: normal; width: 100%; }
.motion-paused .headline-chip { white-space: normal; }
.legal-header .logo-wordmark { width: clamp(165px,24vw,240px); }
.legal-header .text-link { font-size: .9rem; text-align: right; }
.legal-main { max-width: 1000px; margin: auto; padding: clamp(32px,6vw,72px) clamp(18px,4vw,40px) 32px; }
.legal-main > section { margin: 0 0 30px; padding: 0; }
.legal-main h1 { font-size: clamp(2.25rem,5vw,3.5rem); line-height: 1.12; letter-spacing: -.03em; margin: 10px 0 20px; }
.legal-main h2 { font-size: clamp(1.15rem,3vw,1.4rem); margin-top: 0; }
.legal-main p, .legal-main li { font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.legal-main .legal-card { border: 1px solid var(--gold-line); border-radius: 20px; padding: clamp(22px,4vw,36px); background: linear-gradient(140deg,#11110e,#080808); }
.legal-main .legal-card + .legal-card { margin-top: 18px; }
.legal-date { color: #e4c47f !important; font-size: .85rem !important; }
.legal-main a:not(.btn) { color: #edd5a0; text-decoration: underline; text-underline-offset: 4px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 24px 0 32px; }
.legal-toc a { min-height: 44px; display: inline-flex; align-items: center; }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--gold-line); border-radius: 12px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.legal-table th, .legal-table td { padding: 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gold-line); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table th { color: #f0ce80; }
.error-number { font-size: clamp(4rem,14vw,8rem); font-weight: 700; line-height: 1; color: #d4a84f; }
.error-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
@media (max-width: 760px) { #contact .consultation-grid { grid-template-columns: minmax(0,1fr); } .legal-table th, .legal-table td { padding: 12px 9px; } }
@media (max-width: 620px) { .footer-links { gap: 4px 20px; } .privacy-dialog .cookie-actions { flex-direction: column; } .privacy-dialog .cookie-actions .btn { flex-basis: auto; width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .brand-welcome { display: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .cnbc-ticker-track { animation: none !important; transform: none !important; flex-wrap: wrap; white-space: normal; width: 100%; }
  .headline-chip { white-space: normal; }
}
