/* Visual layer only. Existing layouts, content, form states and routes own behavior. */
@font-face {
  font-family: Inter;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --tpc-black: #0a0a0a;
  --tpc-text: #fdfcf9;
  --tpc-muted: #b5b3ad;
  --tpc-line: rgba(212,165,76,.23);
  --tpc-glass: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.015)),rgba(15,15,15,.9);
  --tpc-gold: linear-gradient(115deg,#fff4cf 0%,#d4a54c 42%,#be8f36 68%,#f7de9c 100%);
  --tpc-ease: cubic-bezier(.22,1,.36,1);
  --paper: #0a0a0a; --paper-deep: #151515; --ink: #fdfcf9;
  --ink-soft: #b5b3ad; --muted: #b5b3ad; --line: rgba(212,165,76,.23);
  --white: #fdfcf9; --gold: #e2bd70; --gold-light: #f7de9c; --gold-dark: #d4a54c;
  --red: #f7de9c; --danger: #f7de9c; --success: #f7de9c;
  --gold-soft: #272114; --gold-line: #b58b3f; --black: #0a0a0a;
  --page: #0a0a0a; --card: #141414; --raised: #1b1b1b; --input: #101010; --cream: #fdfcf9;
  --bg-page: #0a0a0a; --bg-card: #141414; --bg-input: #101010; --bg-form: #141414;
  --text-primary: #fdfcf9; --text-muted: #b5b3ad; --text-gold: #e2bd70;
  --border-gold: rgba(212,165,76,.33); --border-subtle: rgba(255,255,255,.13);
  --line-soft: rgba(255,255,255,.13);
  --gradient-bg: linear-gradient(160deg,#0a0a0a,#100e09 50%,#0a0a0a);
  --gradient-gold: var(--tpc-gold); --gradient-gold-h: var(--tpc-gold);
  --cta-fill: var(--tpc-gold); --cta-text: #0a0a0a; --cta-border: #e2bd70;
  --prep-bg: #0a0a0a; --prep-panel: #141414; --prep-text: #fdfcf9;
  --prep-copy: #ceccc6; --prep-muted: #b5b3ad; --prep-line: rgba(212,165,76,.23); --prep-gold: #e2bd70;
  --body: Inter,system-ui,sans-serif; --heading: Inter,system-ui,sans-serif;
  --display: Inter,system-ui,sans-serif; --font-headline: Inter,system-ui,sans-serif;
  --font-content: Inter,system-ui,sans-serif; --font-form: Inter,system-ui,sans-serif;
  --font-dashboard-display: Inter,system-ui,sans-serif; --font-dashboard-body: Inter,system-ui,sans-serif;
  --shadow: 0 24px 70px #0006; --shadow-card: 0 24px 70px #0006;
}
html { background: #0a0a0a; scroll-behavior: smooth; scroll-padding-top: 105px; scrollbar-gutter: stable; }
body, body.legal-page, body[data-page], body.webinar-registration {
  min-width: 0; background: #0a0a0a; color: var(--tpc-text); font-family: Inter,system-ui,sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse at 75% 15%,rgba(212,165,76,.07),transparent 55%);
}
::selection { color: #fff4cf; background: #85621f; }
:is(h1,h2,h3,.funnel-headline,.vsl-headline,.legal-title) {
  font-family: Inter,system-ui,sans-serif; font-weight: 800; letter-spacing: -.045em;
  text-wrap: balance;
}
:is(.mc-hero h1,.mc-learn h2,.mc-host h2,.mc-proof h2,.mc-reserve h2,.prep-copy h1,.mc-thanks-hero h1) {
  font-family: Inter,system-ui,sans-serif; line-height: 1.08; text-transform: none;
}
:is(a,button,input,select,textarea):focus-visible { outline: 2px solid #f7de9c; outline-offset: 5px; }
:is(input,select,textarea) { accent-color: #d4a54c; }
:is(.gold-text,.mt-copy .gold-text) {
  background: var(--tpc-gold); background-clip: text; -webkit-background-clip: text;
  color: #e2bd70; -webkit-text-fill-color: transparent;
}
/* The homepage retains the original centered composition and all existing actions. */
.home-header {
  --header-height: 88px; position: sticky; top: 0; z-index: 30;
  width: 100%; padding-inline: max(40px,calc((100% - 1120px)/2));
  height: 88px; border-color: transparent; transition: height 350ms var(--tpc-ease),background 350ms,border-color 350ms;
}
.home-brand { position: relative; overflow: hidden; border-radius: 4px; }
.home-brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 12px #d4a54c22); }
.home-brand::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg,transparent 40%,#fff4cfe0 50%,transparent 60%);
  background-size: 250% 100%; background-position: 180% 0;
  mask: url('/assets/brand/tpc-bull.svg') center / 48px 48px no-repeat;
  -webkit-mask: url('/assets/brand/tpc-bull.svg') center / 48px 48px no-repeat;
}
.home-header::before {
  content: ''; position: absolute; inset: 0;
  z-index: -1; transition: background 350ms,border-color 350ms;
}
.tpc-scrolled .home-header { height: 72px; border-color: transparent; }
.tpc-scrolled .home-header::before {
  background: rgba(8,8,8,.82); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,165,76,.35);
}
.home-login { font-weight: 500; font-size: 13px; }
.header-socials { display: flex; align-items: center; justify-content: center; gap: 6px; }
.home-header .header-socials a { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; color: #f0d48e; transition: color 220ms,background-color 220ms,transform 220ms var(--tpc-ease); }
.home-header .header-socials svg { display: block; flex-shrink: 0; }
.home-header .header-socials svg.social-icon-fill { fill: currentColor; stroke: none; }
.home-header .header-socials a:hover { color: #fff4cf; background: #d4a54c16; transform: translateY(-1px); }
.header-socials a:hover { color: #fff4cf; background: #d4a54c12; }
.home-hero {
  width: 100%; min-height: calc(100svh - 88px); isolation: isolate; overflow: clip;
  padding: 52px max(40px,calc((100% - 1120px)/2)) 110px;
}
.home-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  /* Explicit ellipse and transparent outer stops keep every edge fully black,
     including while the light drifts. This layer spans the full viewport. */
  background: radial-gradient(ellipse 48% 52% at 50% 46%,rgba(212,165,76,.145) 0%,rgba(212,165,76,.065) 28%,rgba(212,165,76,.018) 52%,rgba(212,165,76,0) 78%);
  translate: 0 var(--tpc-parallax,0px);
}
.home-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('/assets/brand/terminal-lines.svg') center / cover no-repeat;
  opacity: .16; translate: 0 var(--tpc-parallax,0px);
  mask-image: radial-gradient(ellipse 48% 50% at 50% 48%,#000 15%,transparent 78%);
}
.home-hero h1 { font-size: clamp(48px,6.4vw,90px); font-weight: 800; line-height: 1.16; letter-spacing: -.06em; }
/* One word reveal owns both headline lines; the older scroll reveal must not
   delay or clip either line. Open overflow preserves the g's descender. */
.home-hero .title-line { overflow: visible; padding-bottom: 0; }
.motion-ready #home-title [data-reveal] { opacity: 1; transform: none; transition: none; }
.motion-ready .home-hero :is(.hero-description,.home-actions)[data-reveal] { opacity: 1; transform: none; transition: none; }
#home-title .tpc-word { overflow: visible; vertical-align: baseline; }
/* Carry the gold fill with each moving word. A gradient left on the parent
   would clip the translated glyphs and make the gold line appear late. */
.gold-text:has(.tpc-word) { background: none; }
.gold-text .tpc-word { background: var(--tpc-gold); background-clip: text; -webkit-background-clip: text; color: #e2bd70; -webkit-text-fill-color: transparent; }
.hero-description { color: #bbb9b2; font-size: 16px; }
/* Give the existing booking action its own focal area in the first screen. */
.hero-booking-focus {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px;
  width: min(100%,660px); margin: 34px auto 0; padding: 22px 24px;
  border: 1px solid rgba(226,189,112,.43); border-radius: 22px;
  background: linear-gradient(115deg,rgba(226,189,112,.075),rgba(255,255,255,.025)),rgba(10,10,10,.8);
  box-shadow: inset 0 1px 0 #fff1,0 18px 65px #d4a54c14;
}
.hero-booking-focus .hero-description { margin: 0; max-width: 310px; text-align: left; text-wrap: balance; line-height: 1.6; color: #dedbd3; }
.hero-booking-focus .home-actions { margin: 0; }
.hero-booking-focus .home-button {
  min-height: 58px; padding: 15px 22px; gap: 16px; font-size: 15px; white-space: nowrap;
  box-shadow: inset 0 1px 0 #fffa,0 0 0 4px #d4a54c0c,0 8px 36px #d4a54c38;
}
.hero-booking-focus .home-button svg { flex-shrink: 0; transition: translate 280ms var(--tpc-ease); }
.hero-booking-focus .home-button:hover svg { translate: 3px 0; }
.hero-next { color: #c5c2b9; letter-spacing: .08em; }
.mt-section { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(160deg,#13120f,#0a0a0a 65%); border-block: 1px solid #d4a54c1c; }
.mt-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 20% 40%,#d4a54c12,transparent 60%);
  translate: 0 var(--tpc-parallax,0px);
}
.mt-role { color: #e2bd70; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.mt-portrait { border: 1px solid var(--tpc-line); box-shadow: 0 30px 80px #0006; border-radius: 22px; }
.mt-portrait img { filter: none; }
.mt-copy > p:not(.mt-role):not(.mt-lead) { color: #b5b3ad; }
.home-feedback { position: relative; }
.feedback-gallery a { padding: 10px; border-radius: 16px; }
.feedback-gallery img { border-radius: 8px; filter: none; }
.feedback-heading p,.results-disclosure,.home-footer > p,.home-footer small { color: #b5b3ad; }
.feedback-heading { position: relative; }
.feedback-gallery.tpc-marquee { columns: auto; display: block; overflow: clip; padding-block: 8px 28px; }
.tpc-marquee-track { display: flex; width: max-content; will-change: transform; }
.tpc-marquee-group { display: flex; gap: 24px; padding-right: 24px; flex-shrink: 0; }
.tpc-marquee-group > :is(a,.tpc-marquee-mirror) { display: flex; align-items: center; flex: 0 0 clamp(280px,30vw,390px); width: clamp(280px,30vw,390px); height: 250px; margin: 0; padding: 12px; cursor: zoom-in; }
.tpc-marquee-group img { width: 100%; height: 100%; object-fit: contain; filter: none; border-radius: 8px; }
.tpc-marquee:has(a:focus-visible) { overflow-x: auto; }
.tpc-marquee:has(a:focus-visible) .tpc-marquee-track { transform: none !important; }
.home-footer { border-color: var(--tpc-line); text-align: center; }
.home-footer nav { justify-content: center; }
.home-footer > p { margin-inline: auto; }
/* Gold actions: restrained metallic fill, a light sweep and a click-origin ripple. */
:is(.home-button,.mt-call.home-button,.gold-button,.mc-cta,.mc-thanks-button,.prep-buy,.campaign-button,.webinar-cta,.funnel-cta,.btn-gold,.btn-primary,.button--gold,.ec-button.primary) {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--tpc-gold) !important; color: #0a0a0a !important; -webkit-text-fill-color: #0a0a0a;
  border: 1px solid #f7de9c66 !important; border-radius: 100px;
  box-shadow: inset 0 1px 0 #fff8,0 8px 32px #d4a54c19;
  font-family: Inter,system-ui,sans-serif; font-weight: 700; letter-spacing: -.015em; text-transform: none;
  transition: transform 220ms var(--tpc-ease),box-shadow 280ms;
}
:is(.home-button,.gold-button,.mc-cta,.mc-thanks-button,.prep-buy,.campaign-button,.webinar-cta,.funnel-cta,.btn-gold,.btn-primary,.button--gold,.ec-button.primary)::after {
  content: ''; position: absolute; inset: -30% -50%; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg,transparent 40%,#fff9 50%,transparent 60%); transform: translateX(-75%);
}
:is(.home-button,.gold-button,.mc-cta,.mc-thanks-button,.prep-buy,.campaign-button,.webinar-cta,.funnel-cta,.btn-gold,.btn-primary,.button--gold,.ec-button.primary):hover::after {
  transform: translateX(75%); transition: transform 650ms var(--tpc-ease);
}
:is(.home-button,.gold-button,.mc-cta,.mc-thanks-button,.prep-buy,.campaign-button,.webinar-cta,.funnel-cta,.btn-gold,.btn-primary,.button--gold,.ec-button.primary):hover {
  box-shadow: inset 0 1px 0 #fffa,0 8px 38px #d4a54c32;
}
:is(.home-button,button,.prep-buy,.mc-thanks-button):active { scale: .97; }
:is(button,a)[disabled],button:disabled { scale: 1; }
.tpc-ripple {
  position: fixed; z-index: 2147483646; border-radius: 50%; width: 12px; height: 12px; pointer-events: none;
  border: 1px solid #f7de9c; background: radial-gradient(circle,#d4a54c33,transparent 65%);
}
/* The landing-page invitation stays in the native dialog top layer. */
.tpc-whop-dialog {
  width: min(440px,calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 36px 32px 24px;
  border: 1px solid #d4a54c77; border-radius: 24px; overflow-y: auto;
  background: radial-gradient(ellipse at 50% 0,#d4a54c18,transparent 65%),#101010;
  color: #fdfcf9; text-align: center; box-shadow: 0 30px 120px #000b,0 0 70px #d4a54c12;
}
.tpc-whop-dialog::backdrop { background: #000a; backdrop-filter: blur(9px); }
.tpc-whop-logo { margin: 0 auto 20px; object-fit: contain; }
.tpc-whop-eyebrow { margin: 0 0 12px; color: #e2bd70; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.tpc-whop-dialog h2 { margin: 0; font-size: clamp(28px,6vw,36px); line-height: 1.13; letter-spacing: -.045em; }
.tpc-whop-dialog #whop-invite-description { margin: 18px 0 24px; font-size: 14px; line-height: 1.7; color: #bbb9b2; }
.tpc-whop-dialog .tpc-whop-link { display: flex; width: 100%; gap: 12px; min-height: 54px; font-size: 14px; }
.tpc-whop-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: transparent; color: #d9d5c9; cursor: pointer; border-radius: 50%; }
.tpc-whop-close:hover { background: #d4a54c12; color: #f7de9c; }
.tpc-whop-dismiss { display: block; margin: 14px auto 0; min-height: 40px; padding: 8px 12px; border: 0; background: transparent; color: #bbb9b2; font-size: 12px; cursor: pointer; }
.tpc-whop-dismiss:hover { color: #f7de9c; }
@media (prefers-reduced-motion: no-preference) {
  .tpc-whop-dialog[open] { animation: tpc-invite-enter 400ms var(--tpc-ease) both; }
  @keyframes tpc-invite-enter { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
}
/* Shared frosted surfaces. Spotlight is a background, so controls stay unobstructed. */
:is(.feedback-gallery a,.tpc-marquee-mirror,.calculator-card,.quick-reference,.auth-card,.panel,.stat-card,.content-card,.mc-giveaway,.mc-thanks-community__card,.mc-thanks-card,.prep-document,.campaign-card,.ec-video-card,.ec-create-summary,.funnel-stat,.proof-card,.proof-stat-box,.funnel-form-card,.qual-modal) {
  border: 1px solid var(--tpc-line) !important;
  background: var(--tpc-glass) !important; color: var(--tpc-text);
  box-shadow: inset 0 1px 0 #ffffff08,0 20px 55px #0003;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.tpc-card {
  border-radius: 18px;
  background-image: radial-gradient(500px circle at var(--tpc-x,50%) var(--tpc-y,0%),rgba(212,165,76,var(--tpc-light,0)),transparent 65%),linear-gradient(145deg,#ffffff08,#ffffff02) !important;
  transition: border-color 280ms,box-shadow 280ms,transform 350ms var(--tpc-ease);
}
.tpc-card:hover { border-color: #d4a54c88 !important; box-shadow: inset 0 1px 0 #fff1,0 18px 55px #0005,0 0 25px #d4a54c0b; }
.tpc-tilting,.motion-ready [data-reveal].tpc-tilting { transform: perspective(1100px) rotateX(var(--tpc-rx,0deg)) rotateY(var(--tpc-ry,0deg)); }
/* Secondary pages inherit the same palette without altering their layouts. */
:is(.legal-nav,.prep-nav,.campaign-header,.funnel-nav,.ec-header,.topbar) {
  background: transparent !important; border-color: var(--tpc-line) !important;
}
.tpc-scrolled :is(.legal-nav,.prep-nav,.campaign-header,.funnel-nav,.ec-header,.topbar) {
  background: rgba(8,8,8,.86) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: #d4a54c66 !important;
}
:is(.legal-nav-logo,.prep-brand img,.campaign-brand img,.auth-brand img,.sidebar-brand img,.loading-screen img,.welcome-logo) {
  object-fit: contain; width: 48px; height: 48px; filter: drop-shadow(0 0 10px #d4a54c22);
}
.auth-brand { width: 60px; }
.auth-brand img { width: 60px; height: 60px; }
.sidebar-brand img { width: 54px; height: 54px; }
.legal-wrapper { background: #0d0d0d; border-color: var(--tpc-line); box-shadow: 0 24px 70px #0004; overflow: clip; }
.legal-header { background: transparent; border-bottom-color: var(--tpc-line); }
.legal-title,.legal-title span { background: none !important; color: #f7de9c !important; -webkit-text-fill-color: #f7de9c; }
:is(.legal-title,.legal-content h2,.legal-content h3,.legal-content strong) { color: #fdfcf9 !important; }
:is(.legal-content p,.legal-content li,.legal-callout p,.legal-date,.legal-footer) { color: #b5b3ad !important; }
:is(.legal-callout,.legal-crosslinks-list a) { background: #151410 !important; border-color: var(--tpc-line) !important; }
:is(.legal-footer-links a,.legal-crosslinks-list a,.legal-nav-back) { color: #f0d48e !important; }
.legal-footer,.compliance-footer,.funnel-footer { background: #0a0a0a !important; border-color: var(--tpc-line) !important; }
.legal-footer-links .sep { color: #b5b3ad; }
:is(.mc-learn,.mc-host,.mc-reserve,.mc-proof,.mc-footer,.mc-thanks-final,.campaign-main,.campaign-footer,.webinar-host,.webinar-proof,.webinar-reserve,.vsl-cta,.funnel-proof-section,.funnel-apply) {
  background: transparent !important; color: #fdfcf9;
}
.mc-hero { position: relative; isolation: isolate; background: #0a0a0a; }
.mc-hero h1 :is(.tpc-word-mask,.tpc-word) { color: inherit; }
.mc-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%,#d4a54c22,transparent 65%);
  translate: 0 var(--tpc-parallax,0px);
}
/* Let the same aura continue behind the transparent masterclass nav.
   Clip only horizontally so its slow drift cannot widen the page. */
body[data-page="registration"] .mc-hero { overflow-x: clip; overflow-y: visible; }
body[data-page="registration"] .mc-hero::before { top: -88px; }
:is(.mc-host__copy > p:not(.mc-kicker,.mc-cta-date),.mc-thanks-hero > .mc-shell > p,.mc-thanks-community p,.mc-thanks-card p,.mc-thanks-final p,.campaign-subtitle,.campaign-footer p,.prep-footer,.mc-proof__disclosure p,.mc-footer,.mc-fineprint,.mc-cta-date) { color: #b5b3ad; }
:is(.mc-host__portrait img,.mc-proof__grid img,.prep-portrait img) { filter: none; }
.mc-fields label { color: #d0cec8; }
:is(.mc-fields input,.field input,.field select,.field textarea,.admin-search input,.registry-select,.vsl-input,.clipping-app input,.clipping-app textarea) {
  background: #111 !important; color: #fdfcf9 !important; border-color: #d4a54c40 !important; border-radius: 10px;
}
input::placeholder,textarea::placeholder { color: #94928b; opacity: 1; }
:is(.mc-thanks-bar,.mc-thanks-progress__fill) { background: var(--tpc-gold); color: #0a0a0a; text-shadow: none; }
:is(.mc-form-message,.notice,.verified-member,.activation-steps .complete) { color: #f7de9c !important; border-color: #d4a54c66 !important; background: #272114 !important; }
.mc-form-message[data-tone='error'],.notice-error { border-style: dashed !important; color: #fff4cf !important; }
:is(.calculator-card,.quick-reference) { border-radius: 22px; }
.risk-header h1 { font-family: Inter,system-ui,sans-serif; font-size: clamp(30px,5vw,50px); line-height: 1.1; white-space: normal; }
:is(.instrument-button,.mode-switch,.reference-grid article) { background: #161616; border-color: var(--tpc-line); color: #fdfcf9; }
.instrument-button.active { background: #2b2417; border-color: #d4a54c; }
.mode-button { color: #b5b3ad; }
.mode-button.active { background: #2b2417; color: #f7de9c; }
.result-panel { background: linear-gradient(135deg,#272114,#17140f); border-color: #d4a54c66; }
:is(.field label,.result-detail,.reference-grid dl div,.quick-reference h2,.result-panel .result-detail,.risk-footer) { color: #b5b3ad; }
.result-panel .result-note { color: #ccc3ad; }
/* Auth, member and admin views use the same tokens, including later rendered cards. */
:is(.auth-page,.loading-screen,.portal-layout,.portal-main,.clipping-app) { background: transparent !important; color: #fdfcf9; }
.clipping-app { --ec-ink: #fdfcf9; --ec-muted: #b5b3ad; --ec-line: rgba(212,165,76,.23); --ec-gold: #e2bd70; }
:is(.portal-layout .sidebar,.portal-layout.simple-layout .sidebar,.sidebar) { background: rgba(14,14,14,.96) !important; border-color: var(--tpc-line) !important; }
:is(.portal-layout .sidebar nav a,.portal-layout.simple-layout .sidebar nav a,.portal-layout .sidebar nav a > span,.portal-layout .sidebar nav a .nav-label) { color: #c8c6c0 !important; }
:is(.portal-layout .sidebar nav a.active,.portal-layout.simple-layout .sidebar nav a.active) { background: #272114 !important; color: #f7de9c !important; border-color: #d4a54c55 !important; box-shadow: inset 2px 0 #d4a54c !important; }
:is(.portal-layout .sidebar nav a.active > span,.portal-layout .sidebar nav a.active .nav-label,.portal-layout .sidebar nav a.active .nav-icon) { color: #f7de9c !important; }
:is(.portal-layout .section-kicker,.portal-layout .simple-welcome > span,.portal-layout .hub-intro > div > span,.portal-layout .admin-welcome > span,.portal-layout .earn-hero > span,.portal-layout .earn-link-card > div > span,.portal-layout .clip-copy > span,.auth-kicker,.ec-kicker) { color: #e2bd70; }
:is(.auth-subtitle,.auth-switch,.auth-footer,.field > span,.check,.clipping-app p) { color: #b5b3ad; }
:is(.outline-button,.mini-button,.ec-nav,.ec-video-card,.announcement-strip,.simple-update,.empty-state,.welcome-steps article,.welcome-modal,.viewer-copy,.content-viewer,.media-dropzone,.portal-layout .media-dropzone) { background: #171717 !important; color: #fdfcf9 !important; border-color: var(--tpc-line) !important; }
:is(.ec-nav a,.ec-source-tabs button) { color: #b5b3ad; }
:is(.ec-nav a.active,.ec-account,.ec-steps li.current > span) { background: #272114; color: #f7de9c; }
.clipping-app h1 em { font-family: Inter,system-ui,sans-serif; font-style: normal; font-weight: 800; color: #e2bd70; }
.ec-brand .ec-wordmark { font-family: Inter,system-ui,sans-serif; color: #e2bd70; text-shadow: none; }
:is(.funnel-headline,.vsl-headline,.qual-headline,.qual-option-label,.vsl-toast-text) { color: #fdfcf9 !important; }
:is(.funnel-headline .glow,.vsl-headline .glow,.proof-review-stars) { color: #e2bd70 !important; }
:is(.funnel-subhead,.funnel-apply-eyebrow,.funnel-apply-subtitle,.funnel-apply-note,.funnel-form-note,.funnel-credibility,.qual-subtext,.qual-option-desc,.qual-disclaimer,.qual-routing-sub,.vsl-toast-sub,.proof-review-text) { color: #b5b3ad !important; }
:is(.funnel-form-bar,.funnel-form-footer,.funnel-form-opt,.qual-option,.vsl-toast,.member-login-button) { background: #171717 !important; color: #fdfcf9 !important; border-color: var(--tpc-line) !important; }
.bg-fixed { background: #0a0a0a !important; }
/* Booking and consent remain usable, including their third-party iframe boundaries. */
:is(.booking-dialog,.booking-toolbar,.result-dialog,.privacy-banner,.privacy-dialog,.external-consent-notice) {
  background: rgba(17,17,17,.97); color: #fdfcf9; border-color: #d4a54c55;
  box-shadow: 0 25px 90px #0008; backdrop-filter: blur(18px);
}
:is(.privacy-banner h2,.privacy-dialog h2,.privacy-dialog label,.privacy-dialog legend) { color: #fdfcf9; }
:is(.privacy-banner a,.privacy-dialog a,.booking-meta a) { color: #f7de9c; }
:is(.privacy-actions button,.external-consent-notice button) { background: #272114; color: #f7de9c; border-color: #d4a54c66; }
.home-calendar { background: #fff; color: #171717; color-scheme: light; border-radius: 12px; overflow: hidden; }
.home-calendar .calendar-status { color: #57534a; }
.home-calendar.awaiting-consent { background: transparent; color-scheme: dark; }
.privacy-dialog > p,.privacy-dialog small { color: #b5b3ad; }
.privacy-fixed-link { background: #141414; color: #f7de9c; border-color: #d4a54c55; }
/* Keep the existing banner and footer choices; remove only the floating launcher. */
.privacy-fixed-link { display: none; }
.privacy-signal { color: #f7de9c !important; }
.compliance-footer a { color: #f7de9c !important; }
.mc-thanks-final__card { background: #141414; border-color: var(--tpc-line); }
.mc-thanks-final__card p,.mc-thanks-footer,.mc-thanks-card__when span { color: #b5b3ad; }
.mc-thanks-link:hover { color: #fff4cf; }
.campaign-header__edition span { background: #272114; color: #f7de9c; }
.campaign-header__edition time,.campaign-kicker,.replay-expiration { color: #b5b3ad; }
.watch-notes { background: #141414; color: #fdfcf9; }
.replay-lockup h1 { max-width: 18ch; font-size: clamp(32px,8.6vw,96px); line-height: 1.04; }
.replay-status { background: var(--tpc-glass); color: #fdfcf9; border-color: var(--tpc-line); border-radius: 18px; }
.replay-status strong { font-size: clamp(28px,6.5vw,50px); line-height: 1.1; text-transform: none; }
.replay-status span { color: #b5b3ad; }
.button--gold { background: var(--tpc-gold); color: #0a0a0a; border-radius: 100px; }
.mc-countdown__units i,.mc-proof .mc-cta-date { color: #b5b3ad; }
/* Override the older portal's explicit light-surface rules at equal specificity. */
.portal-layout .portal-main { background: transparent !important; }
.portal-layout .topbar { background: rgba(10,10,10,.85) !important; color: #fdfcf9; border-color: var(--tpc-line) !important; }
.portal-layout .topbar :is(h1,.profile-chip,.profile-chip b) { color: #fdfcf9; }
.portal-layout :is(.simple-welcome,.hub-intro,.page-intro,.admin-welcome,.earn-hero) {
  background: radial-gradient(ellipse at 95% 10%,#d4a54c0c,transparent 65%),#121212 !important;
  border-color: var(--tpc-line);
}
.portal-layout :is(.welcome-band,.next-call,.rank-panel,.stat-card,.content-card,.referral-activation,.referral-link-panel,.leaderboard-hero,.settings-hero,.hub-card,.admin-actions a,.admin-panel,.home-path,.clip-card,.earn-link-card,.form-panel,.table-panel),
.portal-layout :is(.settings-grid article,.account-simple-grid article,.simple-referral-card,.simple-preferences,.simple-membership,.admin-content-card),
.portal-layout :is(.earn-steps,.admin-quick-stats,.referral-summary) article,
.portal-layout :is(.earn-steps,.admin-quick-stats,.referral-summary) article:nth-child(even) {
  background: var(--tpc-glass) !important; color: #fdfcf9; border-color: var(--tpc-line) !important;
}
#portal-app :is(h1,h2,h3,h4,strong,b,th),.portal-layout.simple-layout .sidebar-brand small { color: #fdfcf9; }
#portal-app :is(p,small),.portal-layout .media-dropzone > p,.portal-layout .publish-intro,.portal-layout .referral-summary article > span,.portal-layout .admin-quick-stats article > span { color: #b5b3ad; }
.portal-layout.simple-layout .sidebar-brand img { width: 54px; height: 54px; }
.portal-layout.simple-layout .sidebar nav a.active :is(.nav-label,span),.portal-layout.simple-layout .sidebar nav a.active .nav-icon { color: #f7de9c !important; }
.portal-layout :is(.section-kicker,.simple-welcome > span,.hub-intro > div > span,.admin-welcome > span,.earn-hero > span,.earn-link-card > div > span,.clip-copy > span) { color: #e2bd70; }
.portal-layout :is(.referral-link input,.earn-link-row input,.affiliate-code-form input,.hub-intro input,.welcome-action-message input) { background: #111 !important; color: #fdfcf9; border-color: #d4a54c44 !important; }
.portal-layout :is(.table-wrap,th,td,.selected-file,.profile-chip > span) { background: #171717 !important; color: #fdfcf9; border-color: var(--tpc-line); }
.portal-layout tbody tr:nth-child(even) td { background: #1b1b1b !important; }
.portal-layout .current-row td { background: #272114 !important; }
.portal-layout :is(.earn-steps,.referral-summary,.admin-quick-stats) { background: var(--tpc-line); border-color: var(--tpc-line); }
.portal-layout :is(.hub-card-art,.admin-content-preview) { background: linear-gradient(145deg,#272114,#141414); }
.portal-layout :is(.media-dropzone:hover,.media-dropzone.is-dragover,.media-dropzone.drag-active) { background: #272114 !important; }
.portal-layout .media-dropzone > strong { color: #fdfcf9; }
.portal-layout :is(.simple-heading a,.section-heading a,.home-path > b,.hub-card-copy > b,.password-toggle,.your-rank strong),.activation-steps .active { color: #f7de9c; }
.portal-layout .sidebar nav a:hover,.portal-layout.simple-layout .sidebar nav a:hover { background: #272114 !important; }
.portal-layout .hub-filter.active { background: #272114; color: #f7de9c; }
.ec-nav a:not(.active):hover { background: #272114; color: #fdfcf9; }
.ec-steps li.current,.ec-source-tabs button.active { color: #fdfcf9; }
:is(.ec-settings,.ec-empty,.ec-dropzone,.ec-processing,.ec-resume,.ec-preview-panel,.ec-publish-copy,.ec-option-row button,.ec-platforms button,.ec-dashboard .simple-referral-card,.ec-dashboard .referral-summary article,.ec-dashboard .referral-summary article:last-child) { background: #141414 !important; color: #fdfcf9; border-color: var(--tpc-line); }
:is(.ec-option-row button.active,.ec-platforms button.active,.ec-ready-badge,.ec-alert) { background: #272114 !important; color: #f7de9c; border-color: #d4a54c66; }
.ec-copy-status { color: #f7de9c !important; }
.ec-dashboard .referral-summary strong { color: #fdfcf9; }
.ec-dashboard .referral-link input { background: #111; color: #fdfcf9; }
.ec-button.secondary { color: #f7de9c; }
.ec-button.secondary:hover { background: #272114; }
.ec-thumbnail,.ec-thumbnail .video-thumbnail-fallback { background: #1c1c1c; }
.ec-video-card.selected .ec-card-select { color: #0a0a0a; }
.ec-video-card.selected .ec-video-copy > span,.ec-text-button:hover { color: #f7de9c; }
#portal-app :is(.gold-button,.ec-button.primary) :is(strong,b,span) { color: #0a0a0a; }
:is(.member-status,.status-pill.good,.status-pill.warn,.status-pill.bad,.form-message,.form-message[data-tone='success']) { background: #272114; color: #f7de9c; border-color: #d4a54c66; }
:is(.status-pill.bad,.form-message[data-tone='error']) { border-style: dashed; }
:is(.member-status strong,.verified-member span,.welcome-action-message.error,.referral-activation .inline-action-error) { color: #f7de9c; }
.member-status > i { background: #d4a54c; }
.rank-2 { color: #ddd; border-color: #aaa; }
.rank-3 { color: #e2bd70; border-color: #be8f36; }
.portal-layout .mini-button:is([data-action='unlink'],[data-action='suspend']) { background: #272114 !important; color: #f7de9c; border-style: dashed; }
.booking-dialog::backdrop,.result-dialog::backdrop,.privacy-dialog::backdrop { background: #000a; backdrop-filter: blur(9px); }
/* Underlines do not change a link's hit area. */
:is(.home-login,.hero-next,.home-footer nav a,.privacy-choice-link,.mc-footer nav a,.legal-nav-back,.legal-footer-links a,.prep-nav > a:last-child,.campaign-header nav a) {
  text-decoration: none; background-image: linear-gradient(#e2bd70,#e2bd70);
  background-size: 0 1px; background-repeat: no-repeat; background-position: left bottom;
  transition: background-size 250ms var(--tpc-ease),color 250ms;
}
:is(.home-login,.hero-next,.home-footer nav a,.privacy-choice-link,.mc-footer nav a,.legal-nav-back,.legal-footer-links a,.prep-nav > a:last-child,.campaign-header nav a):hover { background-size: 100% 1px; color: #f7de9c; text-decoration: none; }
/* Opt-in reveal classes are added only once a working observer exists. */
.sidebar nav a,.ec-nav a { position: relative; }
.sidebar nav a::after,.ec-nav a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 6px; height: 1px; background: #e2bd70; transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--tpc-ease); pointer-events: none; }
.sidebar nav a:hover::after,.ec-nav a:hover::after { transform: scaleX(1); }
.legal-footer-links a { border-bottom-color: transparent; }
.tpc-motion .tpc-reveal { opacity: 0; translate: 0 18px; transition: opacity 550ms var(--tpc-ease),translate 550ms var(--tpc-ease); }
.tpc-motion .tpc-reveal { transition-delay: var(--tpc-delay,0ms); }
.tpc-motion .tpc-reveal.tpc-visible { opacity: 1; translate: 0 0; }
.motion-ready [data-reveal] { transition-duration: 550ms,600ms; }
.tpc-word { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.tpc-counter-original { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tpc-word-mask { display: inline-block; max-width: 100%; overflow: visible; vertical-align: baseline; clip-path: inset(-.12em -.08em -.3em); }
.tpc-scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 80; pointer-events: none; transform: scaleX(0); transform-origin: left; background: var(--tpc-gold); }
html.lenis,html.lenis body { height: auto; }
html.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.tpc-page-leaving::after,.tpc-page-arriving::after {
  content: ''; position: fixed; inset: 0; z-index: 2147483645;
  background: #0a0a0a url('/assets/brand/tpc-bull.svg') center / 88px 88px no-repeat;
}
.tpc-page-leaving::after { animation: tpc-wipe-out 320ms cubic-bezier(.4,0,.2,1) both; }
.tpc-page-arriving::after { animation: tpc-wipe-in 560ms cubic-bezier(.4,0,.2,1) both; pointer-events: none; }
@keyframes tpc-wipe-out { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes tpc-wipe-in { from { transform: translateY(0); } to { transform: translateY(-100%); } }
/* Only a clicked-through login gets this handoff, never a first-visit intro.
   The decorative bull lands exactly over the real auth-brand image. */
.auth-brand { width: 88px; height: 88px; }
.auth-brand img { width: 100%; height: 100%; object-fit: contain; }
.tpc-login-arriving::after { background: #0a0a0a; animation: none; }
.tpc-login-arriving::before {
  content: ''; position: fixed; z-index: 2147483646;
  top: 50%; left: 50%; width: 88px; height: 88px; margin: -44px;
  background: url('/assets/brand/tpc-bull.svg') center / contain no-repeat;
  pointer-events: none; opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  transition: transform 1000ms cubic-bezier(.4,0,.2,1),opacity 180ms ease 820ms;
}
.tpc-login-arriving :is(.auth-brand,.auth-card,.auth-footer) { opacity: 0; transition: none; }
.tpc-login-arriving .auth-card { translate: 0 28px; }
.tpc-login-moving::before { transform: translate3d(var(--tpc-login-x),var(--tpc-login-y),0) scale(var(--tpc-login-scale)); opacity: 0; }
.tpc-login-moving::after { animation: tpc-login-unveil 900ms cubic-bezier(.4,0,.2,1) both; }
.tpc-login-moving .auth-brand { animation: tpc-logo-in 180ms ease 820ms both; }
.tpc-login-moving .auth-card { animation: tpc-login-form 1000ms cubic-bezier(.2,.7,.2,1) 140ms both; }
.tpc-login-moving .auth-footer { animation: tpc-login-form 950ms cubic-bezier(.2,.7,.2,1) 220ms both; }
@keyframes tpc-login-unveil { from { opacity: 1; } to { opacity: 0; } }
@keyframes tpc-login-form { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.tpc-cursor-dot,.tpc-cursor-ring { display: none; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 2147483647; border-radius: 50%; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tpc-cursor-active,.tpc-cursor-active :is(a,button,[role='button']) { cursor: none; }
  .tpc-cursor-active :is(input,textarea,[contenteditable]) { cursor: text; }
  .tpc-cursor-active :is(select,video,iframe,dialog,dialog *) { cursor: auto; }
  .tpc-cursor-active .tpc-cursor-dot { display: block; width: 5px; height: 5px; background: #f7de9c; margin: -2.5px; }
  .tpc-cursor-active .tpc-cursor-ring { display: block; width: 30px; height: 30px; margin: -15px; border: 1px solid #d4a54c80; transition: width 200ms,height 200ms,margin 200ms,border-color 200ms; }
  .tpc-cursor-hover .tpc-cursor-ring { width: 45px; height: 45px; margin: -22.5px; border-color: #f7de9ccc; }
  body:has(dialog[open]) .tpc-cursor-dot,body:has(dialog[open]) .tpc-cursor-ring { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-hero::before,.mc-hero::before,.mt-section::before { animation: tpc-aura 18s ease-in-out infinite alternate; }
  .home-hero::before { animation: tpc-aura 18s ease-in-out infinite alternate,tpc-aura-enter 900ms ease-out backwards; }
  .home-hero::after { animation: tpc-terminal-drift 32s ease-in-out infinite alternate,tpc-terminal-enter 1200ms ease-out backwards; }
  .home-brand img { animation: tpc-logo-in 650ms var(--tpc-ease) both; }
  .home-brand::after { animation: tpc-metal-sweep 900ms ease-in-out 140ms both; }
  .vsl-cta #cta-btn { animation: tpc-apply-pulse 3.8s ease-in-out infinite; }
  @keyframes tpc-aura { from { transform: translate3d(-2%,-1%,0) scale(.97); opacity: .65; } to { transform: translate3d(2%,2%,0) scale(1.05); opacity: 1; } }
  @keyframes tpc-aura-enter { from { opacity: 0; } to { opacity: .65; } }
  @keyframes tpc-terminal-drift { from { transform: translateX(-12px); } to { transform: translateX(12px); } }
  @keyframes tpc-terminal-enter { from { opacity: 0; } to { opacity: .16; } }
  @keyframes tpc-logo-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes tpc-metal-sweep { from { background-position: 180% 0; } to { background-position: -100% 0; } }
  @keyframes tpc-apply-pulse { 0%,100% { box-shadow: inset 0 1px 0 #fff8,0 8px 28px #d4a54c20; } 50% { box-shadow: inset 0 1px 0 #fff8,0 8px 38px #d4a54c48; } }
}
@media (max-width: 900px) { .home-header { padding-inline: 24px; } }
@media (max-width: 600px) {
  html { scroll-padding-top: 85px; }
  .home-header { height: 116px; padding: 8px 20px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: minmax(0,1fr) 42px; }
  .tpc-scrolled .home-header { height: 104px; }
  .home-header .home-brand { grid-column: 1; grid-row: 1; padding: 0; }
  .home-header .home-brand img { width: 40px; height: 40px; }
  .home-header .home-brand::after { mask-size: 40px 40px; -webkit-mask-size: 40px 40px; }
  .home-header .home-login { grid-column: 2; grid-row: 1; }
  .home-header .header-socials { grid-column: 1 / -1; grid-row: 2; justify-self: center; gap: 4px; }
  .mc-site-nav .home-brand { grid-column: 1 / -1; justify-self: center; }
  .home-hero { min-height: calc(100svh - 116px); padding: 35px 20px 100px; }
  body[data-page="registration"] .mc-hero { min-height: calc(100svh - 116px); }
  body[data-page="registration"] .mc-hero::before { top: -116px; }
  .home-hero h1 { font-size: clamp(35px,9.6vw,55px); letter-spacing: -.055em; }
  .hero-description { font-size: 14px; }
  .hero-booking-focus { grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 26px; padding: 22px 20px; border-radius: 20px; }
  .hero-booking-focus .hero-description { margin-inline: auto; text-align: center; font-size: 14px; line-height: 1.6; }
  .hero-booking-focus .home-button { width: 100%; min-height: 56px; justify-content: space-between; padding-inline: 22px; }
  .home-hero::before,.mc-hero::before,.mt-section::before { animation: none; }
  .home-hero::after { animation: none; opacity: .09; }
  body :is(.tpc-card,.calculator-card,.quick-reference,.auth-card,.mc-thanks-card) { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tpc-tilting { transform: none; }
  .booking-dialog { border-radius: 0; }
  .mc-hero h1 { font-size: clamp(32px,8.6vw,46px); }
  .mc-cta,.prep-buy,.mc-thanks-button { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .tpc-motion .tpc-reveal,.motion-ready [data-reveal] { opacity: 1; translate: none; transform: none; }
  .tpc-word,.tpc-tilting { transform: none !important; opacity: 1 !important; filter: none !important; }
  .tpc-cursor-dot,.tpc-cursor-ring,.tpc-ripple { display: none !important; }
  .tpc-marquee-copy { display: none; }
  .feedback-gallery.tpc-marquee { overflow-x: auto; }
  .tpc-marquee-track { animation: none; transform: none !important; will-change: auto; }
  .home-hero::before,.home-hero::after,.mc-hero::before,.mt-section::before { translate: none !important; }
  .tpc-page-leaving::after,.tpc-page-arriving::after,.tpc-login-arriving::before { display: none; }
  .tpc-login-arriving :is(.auth-brand,.auth-card,.auth-footer) { opacity: 1; translate: none; }
}
@media (prefers-contrast: more) {
  :is(.gold-text,.mt-copy .gold-text) { background: none; color: #f7de9c; -webkit-text-fill-color: currentColor; }
  .tpc-card { border-color: #d4a54c !important; }
}
@media print {
  body,body.legal-page,body[data-page] { background: white !important; color: black !important; }
  .tpc-cursor-dot,.tpc-cursor-ring,.tpc-ripple { display: none !important; }
  .tpc-motion .tpc-reveal { opacity: 1; translate: none; }
  .home-header { position: static; }
  .tpc-marquee-copy,.tpc-scroll-progress { display: none; }
  .tpc-marquee-track,.tpc-marquee-group { display: block; width: 100%; animation: none; transform: none; }
  .feedback-gallery.tpc-marquee { overflow: visible; }
}
