/* Public secondary pages only. Authenticated FCC and signup behavior are separate. */
body.fcc-website-glass {
  --fcc-ink: var(--site-text);
  --fcc-ink-2: var(--site-text);
  --fcc-muted: var(--site-muted);
  --fcc-soft: var(--site-muted);
  --fcc-line: var(--site-line);
  --fcc-line-strong: rgba(219, 197, 255, .45);
  --fcc-card: var(--site-panel);
  --fcc-card-strong: var(--site-panel);
  --fcc-purple: #d9beff;
  --fcc-purple-2: #bb92f5;
  --fcc-pink: #f4bfdf;
  --fcc-blue: #bedbff;
  --fcc-shadow: var(--site-shadow);
  --fcc-shadow-soft: var(--site-shadow);
  --ink: var(--site-text);
  --muted: var(--site-muted);
  --soft: var(--site-muted);
  --line: var(--site-line);
  --glass: var(--site-panel);
  --rose-dark: #f4c1cf;
  --blue: #bedbff;
  --violet: #d9beff;
  --shadow: var(--site-shadow);
  --soft-shadow: var(--site-shadow);
  --card-shadow: var(--site-shadow);
  color-scheme: dark;
}

body.fcc-website-glass [hidden] { display: none !important; }
body.fcc-website-glass .fcc-page-bg,
body.fcc-website-glass .fcc-public-hero::before { display: none; }
body.fcc-website-glass :is(.fcc-public-main, .shell, .fcc-public-legal-shell) { min-width: 0; }

/* The logo and actions float over the scene without a full-width header card. */
body.fcc-website-glass .fcc-public-header {
  position: relative !important;
  inset: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.fcc-website-glass .fcc-public-nav {
  display: flex !important;
  width: min(100%, 1440px) !important;
  min-height: 88px !important;
  height: auto !important;
  gap: 16px !important;
  padding: 20px clamp(18px, 4vw, 56px) !important;
}
body.fcc-website-glass .fcc-public-links { display: none !important; }
body.fcc-website-glass .fcc-public-nav > .fcc-public-brand {
  order: 0;
  color: var(--site-text) !important;
  margin: 0 !important;
  max-width: none !important;
  flex: 0 1 auto !important;
}
body.fcc-website-glass .fcc-public-nav > .fcc-global-menu-btn { order: 1; }
body.fcc-website-glass .fcc-public-actions { order: 2; margin-left: auto !important; }
body.fcc-website-glass .fcc-public-brand :is(strong, span) { color: inherit !important; }

body.fcc-website-glass :is(.fcc-public-main, .shell, .fcc-public-legal-shell) :is(h1, h2, h3, h4, strong),
body.fcc-website-glass .fcc-public-wordmark strong {
  color: var(--site-text);
}
body.fcc-website-glass :is(.fcc-public-main, .shell, .fcc-public-legal-shell) :is(p, li, small),
body.fcc-website-glass :is(.fcc-lead, .fcc-public-subtitle, .price span, .step-state, .preview-step, .family-row > span:last-child, .signal-row) {
  color: var(--site-muted) !important;
}
body.fcc-website-glass .fcc-public-main p:is(.fcc-lead, .fcc-public-subtitle) { color: #e5dfed !important; }
body.fcc-website-glass :is(.fcc-gradient-text, .fcc-public-title .gradient, .gradient-text) {
  color: #e9c7ff;
  background: linear-gradient(110deg, #ece0ff, #dac5ff 48%, #f1bfdc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.fcc-website-glass .fcc-public-section a:not(.fcc-public-btn):not(.fcc-public-ghost),
body.fcc-website-glass :is(.fcc-public-legal-section, .fcc-public-legal-card) a {
  color: #dfcaff;
  text-decoration: underline;
  text-underline-offset: .2em;
  overflow-wrap: anywhere;
}

/* One clear material; child surfaces add a tint rather than another opaque card. */
body.fcc-website-glass :is(.fcc-public-card, .fcc-public-mini-card, .fcc-public-hero-art, .fcc-glass-card, .fcc-feature-card, .price-card, .price-card.featured, .faq-card, .setup-preview, .journey-card, .what-next, .fcc-public-legal-card, .fcc-public-cta, .cta-band) {
  color: var(--site-text);
  background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 46%, rgba(199,177,245,.035)), var(--site-panel);
  border: 1px solid var(--site-line);
  box-shadow: var(--site-shadow);
  -webkit-backdrop-filter: blur(3px) saturate(112%);
  backdrop-filter: blur(3px) saturate(112%);
}
body.fcc-website-glass :is(.fcc-public-card, .fcc-public-mini-card)::before {
  background: linear-gradient(130deg, rgba(255,255,255,.04), transparent 65%);
}
body.fcc-website-glass .fcc-public-hero-art::after { opacity: .25; }
body.fcc-website-glass .price-card.featured {
  border-color: rgba(222, 190, 255, .65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 22px 52px rgba(10,8,22,.3);
}
body.fcc-website-glass .popular-badge {
  color: #f0e6ff;
  background: rgba(68,42,95,.88);
  border: 1px solid rgba(219,190,248,.4);
}
body.fcc-website-glass .price-card:first-child::before { color: #e2cdff; background: rgba(44,34,68,.8); border-color: var(--site-line); }
body.fcc-website-glass :is(.fcc-public-mini-note, .fcc-public-quote, .fcc-public-topic, .fcc-public-steps li, .fcc-hero-floating-card, .tech-item, .chat-bubble, .ai-signal-card, .plan-banner, .preview-welcome, .preview-step-row, .onix-note, .fcc-public-legal-notice, .fcc-public-legal-meta) {
  color: var(--site-text);
  background: var(--site-inset);
  border: 1px solid var(--site-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 28px rgba(8,10,22,.12);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
body.fcc-website-glass :is(.fcc-eyebrow, .fcc-public-eyebrow, .fcc-trust-pill, .eyebrow, .trust-pill, .pricing-hero > p:last-child, .fcc-feature-icon, .fcc-public-mini-card-icon, .fcc-public-topic-icon, .tech-item > span, .step-icon) {
  color: #e2cdff;
  background: rgba(44, 34, 68, .62);
  border-color: var(--site-line);
}
body.fcc-website-glass :is(.trust-pill b, .fcc-trust-pill span, .plan-banner strong, .preview-welcome small, .step-state.active, .check) { color: #dfcaff !important; }
body.fcc-website-glass .dash { color: var(--site-muted); }
body.fcc-website-glass .price-card .price + p strong { color: var(--site-text) !important; }
body.fcc-website-glass :is(.fcc-public-section + .fcc-public-section, .signal-row + .signal-row) { border-color: var(--site-line); }

body.fcc-website-glass :is(.fcc-btn, .fcc-public-ghost, .secondary-btn, .login-link) {
  color: var(--site-text);
  background: var(--site-inset);
  border: 1px solid var(--site-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 8px 24px rgba(10,10,24,.18);
}
body.fcc-website-glass :is(.fcc-btn-primary, .fcc-public-btn, .primary-btn, .fcc-public-btn-light) {
  color: #fff;
  border: 1px solid rgba(232,211,255,.32);
  background: linear-gradient(130deg, #7740bd, #9655b6) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 10px 26px rgba(45,20,70,.32);
}
body.fcc-website-glass :is(.fcc-btn, .fcc-public-ghost, .fcc-public-btn, .primary-btn, .secondary-btn, .login-link):focus-visible {
  outline: 3px solid #e4c9ff;
  outline-offset: 4px;
}
body.fcc-website-glass .cta-band .fcc-btn { color: var(--site-text); background: var(--site-inset); }
body.fcc-website-glass .fcc-public-warning { border-color: rgba(244,184,201,.5); }
body.fcc-website-glass .chat-bubble.user { background: rgba(100,58,151,.65); }
body.fcc-website-glass .onix-orb {
  background: linear-gradient(145deg, rgba(208,185,248,.23), rgba(86,64,125,.4));
  border: 1px solid rgba(224,206,255,.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 18px 40px rgba(15,13,30,.25);
}
body.fcc-website-glass .fcc-hero-illustration .big-icon {
  background: linear-gradient(140deg, rgba(146,98,211,.7), rgba(137,77,136,.6));
  border: 1px solid rgba(229,205,255,.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 20px 38px rgba(10,8,24,.22);
}
body.fcc-website-glass :is(.fcc-public-cta-window, .fcc-public-cta-phone) {
  background: rgba(42,33,65,.5);
  border-color: var(--site-line);
}
body.fcc-website-glass :is(.fcc-public-logo, .fcc-public-logo img) { background: transparent; padding: 0; box-shadow: none; }

body.fcc-website-glass .compare-table { background: transparent; color: var(--site-text); }
body.fcc-website-glass .compare-table :is(th, td) { color: var(--site-text); border-color: var(--site-line); }
body.fcc-website-glass .compare-table th { background: rgba(20,21,36,.55); }
body.fcc-website-glass .compare-table td::before { color: var(--site-muted); }
body.fcc-website-glass :is(.fcc-public-footer, .fcc-footer, .fcc-public-legal-footer, .shell > footer) {
  color: var(--site-muted);
  background: transparent;
  border-color: var(--site-line);
  box-shadow: none;
}
body.fcc-website-glass :is(.fcc-public-footer-center, .fcc-public-footer-links, .fcc-footer-links, .fcc-public-legal-footer p, .fcc-public-legal-footer nav a) { color: var(--site-muted); }
body.fcc-website-glass .fcc-public-footer .fcc-public-brand strong { color: var(--site-text) !important; }
body.fcc-website-glass .fcc-public-legal-back a { color: #dfcaff; background: rgba(51,35,66,.5); }
body.fcc-website-glass .fcc-public-legal-section { background: transparent; border-color: var(--site-line); }

/* Standalone introduction and account-deletion pages retain their existing links. */
body.fcc-website-glass :is(.welcome-header, .fcc-public-legal-nav) {
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.fcc-website-glass .welcome-header { position: relative; }
body.fcc-website-glass .welcome-nav { max-width: 1440px; }
body.fcc-website-glass .fcc-public-legal-nav-links a { color: var(--site-text); background: var(--site-inset); border: 1px solid var(--site-line); min-height: 44px; }
body.fcc-website-glass .fcc-public-legal-brand::before {
  content: "";
  background: url('/Assets/Logo/LOGO-WOFCC.png') center / contain no-repeat;
  box-shadow: none;
}
body.fcc-website-glass .family-row { flex-wrap: wrap; }
body.fcc-website-glass .family-row .avatar {
  flex: 0 0 40px;
  color: var(--site-text);
  background: rgba(89,66,124,.5);
  border: 1px solid rgba(225,210,245,.4);
}

@media (max-width: 760px) {
  body.fcc-website-glass .fcc-public-nav { min-height: 76px !important; padding: 14px 16px !important; gap: 12px !important; }
  body.fcc-website-glass .compare-table tr {
    background: var(--site-panel);
    border-color: var(--site-line);
    box-shadow: var(--site-shadow);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
  }
  body.fcc-website-glass .compare-table td:nth-child(n+2) { background: rgba(31,25,48,.55); }
  body.fcc-website-glass .compare-table td:nth-child(4) { background: rgba(77,49,106,.5); }
  body.fcc-website-glass .compare-table td::before { color: var(--site-muted); }
  body.fcc-website-glass .fcc-public-card-inner { padding: 24px 20px; }
  body.fcc-website-glass .fcc-public-hero-art { min-height: 260px !important; }
  body.fcc-website-glass .fcc-hero-floating-card { min-width: 135px; padding: 12px; }
  body.fcc-website-glass .fcc-public-hero-art .fcc-hero-illustration { min-height: 0 !important; }
  body.fcc-website-get-started .login-link { max-width: 155px; white-space: normal; line-height: 1.3; text-align: center; padding: 8px 12px; }
  body.fcc-website-get-started .brand span { max-width: 128px; }
  body.fcc-website-glass .fcc-public-legal-nav { padding-inline: 0; }
}

@media (max-width: 600px) {
  body.fcc-website-glass .fcc-public-nav > .fcc-public-brand > span:not(.fcc-public-logo) { display: none !important; }
  body.fcc-website-glass .fcc-public-actions > a:first-child { display: none !important; }
}

@media (max-width: 420px) {
  body.fcc-website-glass .fcc-hero > * { min-width: 0; }
  body.fcc-website-glass :is(.fcc-hero-actions, .fcc-public-hero-actions) { grid-template-columns: minmax(0, 1fr) !important; }
  body.fcc-website-glass :is(.fcc-hero-actions, .fcc-public-hero-actions) > a { min-width: 0; white-space: normal; line-height: 1.3; }
}

@media (prefers-reduced-transparency: reduce) {
  body.fcc-website-glass { --site-panel: #242335; --site-inset: #29273a; }
  body.fcc-website-glass :is(.fcc-public-card, .fcc-public-mini-card, .fcc-public-hero-art, .fcc-glass-card, .fcc-feature-card, .price-card, .faq-card, .setup-preview, .journey-card, .what-next, .fcc-public-legal-card, .fcc-public-cta, .cta-band, .fcc-hero-floating-card, .compare-table tr) {
    background: #242335;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.fcc-website-glass { --site-panel: #242335; --site-inset: #29273a; }
}

/* The fictional calendar keeps its isolated demo module and CSP unchanged. */
body.fcc-website-calendar-demo {
  --ink: var(--site-text);
  --muted: #ded7e6;
  --purple: #ddc6fa;
  --indigo: #dfcaff;
  --soft: rgba(41,32,61,.52);
  --wash: rgba(16,20,34,.16);
}
body.fcc-website-calendar-demo .site-header { background: transparent; border: 0; }
body.fcc-website-calendar-demo :is(.calendar-panel, .onix-panel, .tour, .recovery) {
  background: linear-gradient(130deg,rgba(255,255,255,.04),transparent),var(--site-panel);
  border-color: var(--site-line);
  box-shadow: var(--site-shadow);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
body.fcc-website-calendar-demo :is(button, .button, input, textarea, select, .response-card, .detail-note, .premium-badge) {
  color: var(--site-text);
  background: var(--site-inset);
  border-color: var(--site-line);
}
body.fcc-website-calendar-demo :is(button, .button):hover { color: var(--site-text); background: rgba(83,58,115,.64); }
body.fcc-website-calendar-demo :is(input,textarea)::placeholder { color: #cfc6dd; opacity: 1; }
body.fcc-website-calendar-demo select option { color: var(--site-text); background: #272438; }
body.fcc-website-calendar-demo .text-button { color: #dfcaff; background: transparent; }
body.fcc-website-calendar-demo :is(.day-column, .sheet-actions) { background: transparent; }
body.fcc-website-calendar-demo .month-cell.outside { background: rgba(14,16,29,.24); }
body.fcc-website-calendar-demo .view-tabs button[aria-pressed=true],
body.fcc-website-calendar-demo .week-strip button[aria-pressed=true] { color: #f5eaff; background: rgba(94,57,135,.74); }
body.fcc-website-calendar-demo .member-filter:has(input:checked) { background: rgba(53,38,73,.55); border-color: var(--site-line); }
body.fcc-website-calendar-demo .initial { background: rgba(91,64,124,.65); color: #f2e7ff; border-color: var(--site-line); }
body.fcc-website-calendar-demo .person-nico { background: rgba(37,90,69,.7); color: #d7f7e4; }
body.fcc-website-calendar-demo .person-iris { background: rgba(112,53,88,.7); color: #ffe2ef; }
body.fcc-website-calendar-demo .person-finn { background: rgba(98,72,34,.75); color: #ffebbb; }
body.fcc-website-calendar-demo .event-card { background: rgba(58,43,85,.52); border-color: rgba(201,174,236,.3); }
body.fcc-website-calendar-demo .event-card.source-google { background: rgba(36,68,57,.5); border-color: rgba(174,220,191,.3); }
body.fcc-website-calendar-demo .event-card.source-microsoft { background: rgba(42,49,88,.5); border-color: rgba(173,190,240,.3); }
body.fcc-website-calendar-demo .event-card.source-visitor { background: rgba(89,52,114,.55); border-color: rgba(212,175,239,.45); }
body.fcc-website-calendar-demo .event-card.evidence { background: rgba(104,59,135,.64); border-color: #d4adf0; }
body.fcc-website-calendar-demo .day-empty { color: var(--muted); }
body.fcc-website-calendar-demo .ask-row button { color: #fff; background: #7647a4; }
body.fcc-website-calendar-demo .sheet {
  color: var(--site-text);
  background: rgba(29,27,44,.9);
  border-color: var(--site-line);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
body.fcc-website-calendar-demo .sheet::backdrop { background: rgba(8,10,20,.42); }
body.fcc-website-calendar-demo .field-error { color: #ffd0df; background: rgba(100,39,63,.55); border-color: #c78fa1; }
body.fcc-website-calendar-demo .conflict-note { color: #ffe5b9; background: rgba(89,65,29,.55); border-color: #bcaa87; }
body.fcc-website-calendar-demo .skip-link { background: #242335; color: var(--site-text); }
body.fcc-website-calendar-demo .tour-highlight { outline-color: #d6b7f7; }
@media (prefers-reduced-transparency: reduce) {
  body.fcc-website-calendar-demo :is(.calendar-panel, .onix-panel, .sheet, .tour, .recovery) { background: #242335; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media print {
  body.fcc-website-glass { --site-text: #202030; --site-muted: #454555; --site-panel: #fff; --site-inset: #fff; --site-line: #bbb; --site-shadow: none; }
  body.fcc-website-glass :is(.fcc-public-main, .shell, .fcc-public-legal-shell) :is(h1,h2,h3,h4,p,li,a,small,strong) { color: #202030 !important; }
  body.fcc-website-glass :is(.fcc-gradient-text, .fcc-public-title .gradient, .gradient-text) { background: none; -webkit-text-fill-color: #202030; }
  body.fcc-website-glass .fcc-global-menu-btn { display: none !important; }
}
