/* About, FAQ, Terms and Privacy (4 languages each), on body.info-page; linked last in the head of those 16 templates.
   Type comes from wb-type.css. Light: only the closing band (below) and the hero date's contrast change.
   Dark: the Workbench dark palette of the new home page (home-v2-wip.css, workbench-app/src/styles/tokens.css).
   dark-theme.css (common.js injects it) paints these pages with !important fallbacks such as
   [class*="faq"] and h1-h6, so every rule here starts with html, names body.info-page and takes !important; light mode
   and every other page are untouched. The header block is the same as windows-app-dark.css. */
/* Light. The closing band ("Questions about our terms?" / "Join the future of design") was brand blue and now sits
   straight on the blue brand footer, so it takes the home page's pale app-row ground with a blue button instead. */
body.info-page :is(.contact-section, .cta-section) {
    background: linear-gradient(135deg, #eaf1ff 0%, #f3f6fc 62%, #eef2f9 100%);
    color: #111827;
}
body.info-page :is(.contact-title, .cta-title) { color: #111827; }
body.info-page :is(.contact-text, .cta-text) { color: #4b5563; opacity: 1; }
body.info-page :is(.contact-button, .cta-button) { background: #2664ff; color: #fff; box-shadow: none; }
body.info-page :is(.contact-button, .cta-button):hover { background: #0a46eb; color: #fff; box-shadow: 0 8px 20px rgba(38, 100, 255, .25); }
/* The brand footer's two small light-blue lines (#eaf0ff on #2664ff, 4.2:1) are white here, for AA (4.8:1). */
html body.info-page .tools-brand-footer :is(.dt-footer-brand-desc, .dt-footer-copyright-v0) { color: #fff !important; }
/* Titles break into even lines (a Japanese hero title left one word alone on its line). */
body.info-page :is(.terms-hero-title, .privacy-hero-title, .about-hero-title, .faq-hero-title, .section-title, .contact-title, .cta-title) { text-wrap: balance; }
/* #9ca3af on the hero's near-white was 2.4:1. */
body.info-page :is(.terms-hero-date, .privacy-hero-date) { color: #6b7280; }

html body.info-page.dark-mode {
    --wb-shell: #111316;
    --wb-panel: #16181c;
    --wb-surface: #1d2025;
    --wb-soft: #22262c;
    --wb-line: #2b3038;
    --wb-border: #343a44;
    --wb-hover: #2a2f37;
    --wb-text: #e7e9ed;
    --wb-body: #c9ced6;
    --wb-muted: #a0a7b2;
    --wb-faint: #7b8390;
    --wb-primary: #2664ff;
    --wb-primary-hover: #0a46eb; /* white text keeps AA on hover */
    --wb-accent: #99b6ff;
    --wb-divider: rgba(255, 255, 255, .07);
    --wb-icon-well: rgba(38, 100, 255, .16);
    background: var(--wb-shell) !important;
    color: var(--wb-text);
}
html.dark-mode:has(> body.info-page) { background-color: #111316 !important; }
html body.info-page.dark-mode ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); }
html body.info-page.dark-mode ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .28); }

/* Header: as on the new home page. */
html body.info-page.dark-mode .header { background-color: var(--wb-shell) !important; border-bottom-color: var(--wb-divider) !important; }
html body.info-page.dark-mode .header-text-title { color: var(--wb-text); }
html body.info-page.dark-mode .head_left :is(.plugins, .tools, .pricing, .tutorial, .canvas).head_rnav .hr-text,
html body.info-page.dark-mode .head_left .canvas.head_rnav [data-i18n="canvas"],
html body.info-page.dark-mode .head_left [data-i18n="navSketchup"],
html body.info-page.dark-mode .head_left [data-i18n="navRhino"],
html body.info-page.dark-mode .head_left [data-i18n="sidebarHome"] { color: var(--wb-text) !important; }
html body.info-page.dark-mode .nav-dropdown-menu,
html body.info-page.dark-mode .lang-dropdown { background-color: var(--wb-surface); border-color: var(--wb-line); box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
html body.info-page.dark-mode .nav-dropdown-item,
html body.info-page.dark-mode .nav-dropdown-item a,
html body.info-page.dark-mode .lang-option,
html body.info-page.dark-mode .globe-icon,
html body.info-page.dark-mode .dropdown-arrow { color: var(--wb-text); }
html body.info-page.dark-mode .lang-switch-container .hr-text,
html body.info-page.dark-mode .lang-current-text { color: var(--wb-text) !important; }
html body.info-page.dark-mode .nav-dropdown-item:hover,
html body.info-page.dark-mode .lang-option:hover,
html body.info-page.dark-mode .lang-option.active { background-color: var(--wb-hover); }
html body.info-page.dark-mode .login-register-btn,
html body.info-page.dark-mode .try-tools-btn { background-color: var(--wb-primary) !important; border-color: var(--wb-primary); }
html body.info-page.dark-mode .login-register-btn:hover,
html body.info-page.dark-mode .try-tools-btn:hover { background-color: var(--wb-primary-hover) !important; }
html body.info-page.dark-mode .mobile-nav-menu,
html body.info-page.dark-mode #mobileMenu,
html body.info-page.dark-mode .mobile-nav-panel { background-color: var(--wb-shell); border-color: var(--wb-line); color: var(--wb-text); }
html body.info-page.dark-mode .mobile-nav-item { color: var(--wb-text); border-bottom-color: var(--wb-line); }

/* dark-theme.css gives anything with "faq" in its class a grey box, a grey border and light text (!important). On
   the FAQ page that is every part of the accordion, so it is undone first; the rules below then set each part. */
html body.info-page.dark-mode [class*="faq"] {
    background-color: transparent !important;
    border-color: var(--wb-line) !important;
    color: inherit !important;
}

/* Bands: the hero sits on the page, the alternate sections one step up, as on the home page. */
html body.info-page.dark-mode :is(.terms-hero, .privacy-hero, .about-hero, .faq-hero) { background: var(--wb-shell) !important; }
html body.info-page.dark-mode :is(.terms-section, .privacy-section, .about-section, .faq-section) {
    background: var(--wb-shell) !important;
    border-color: var(--wb-line) !important;
    color: var(--wb-text) !important;
}
html body.info-page.dark-mode :is(.terms-section-alt, .privacy-section-alt, .about-section-alt, .faq-section-alt) { background: var(--wb-panel) !important; }

/* Titles */
html body.info-page.dark-mode :is(.terms-hero-title, .privacy-hero-title, .about-hero-title, .faq-hero-title,
    .section-title, .policy-block-title, .terms-card-title, .terms-grid-3-title, .privacy-card-title, .right-title,
    .mission-title, .value-title, .tech-content h3, .timeline-title, .culture-title, .faq-question-text,
    .category-title) { color: var(--wb-text) !important; }
html body.info-page.dark-mode :is(.terms-hero-title, .privacy-hero-title, .about-hero-title, .faq-hero-title) .highlight,
html body.info-page.dark-mode :is(.section-label, .hero-stat-value, .timeline-year-text) { color: var(--wb-accent) !important; }

/* Reading text */
html body.info-page.dark-mode :is(.terms-hero-text, .privacy-hero-text, .about-hero-text, .faq-hero-text,
    .section-description, .policy-text, .terms-card-text, .terms-grid-3-text, .privacy-card-text, .right-text,
    .mission-text, .value-text, .timeline-text, .faq-answer-text, .category-text, .hero-stat-label) { color: var(--wb-muted) !important; }
html body.info-page.dark-mode :is(.policy-list li, .tech-features li, .faq-answer-list li) { color: var(--wb-body) !important; }
html body.info-page.dark-mode :is(.policy-list li, .tech-features li, .faq-answer-list li)::before { color: var(--wb-accent) !important; }
html body.info-page.dark-mode .policy-list.warning-list li::before { color: #f87171 !important; }
html body.info-page.dark-mode :is(.terms-hero-date, .privacy-hero-date) { color: var(--wb-faint) !important; }
html body.info-page.dark-mode :is(.faq-answer-text, .policy-text, .policy-list li) a { color: var(--wb-accent) !important; }

/* Cards: the home page's card surface on a hairline; hover lifts the line, no blue glow. */
html body.info-page.dark-mode :is(.terms-card, .terms-grid-3-card, .privacy-card, .mission-card, .culture-item,
    .faq-item, .category-card) {
    background: var(--wb-surface) !important;
    border-color: var(--wb-line) !important;
    box-shadow: none !important;
}
html body.info-page.dark-mode :is(.terms-card, .terms-grid-3-card, .privacy-card, .mission-card, .culture-item,
    .faq-item, .category-card):hover {
    border-color: var(--wb-border) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4) !important;
}

/* Icon wells: a faint brand-blue square, the icon in the accent blue. */
html body.info-page.dark-mode :is(.policy-block-icon, .terms-card-icon, .terms-grid-3-icon, .privacy-card-icon,
    .right-icon, .mission-title-icon, .value-icon, .culture-icon, .category-icon) { background: var(--wb-icon-well) !important; }
html body.info-page.dark-mode :is(.policy-block-icon, .terms-card-icon, .terms-grid-3-icon, .privacy-card-icon,
    .right-icon, .mission-title-icon, .value-icon, .culture-icon, .category-icon) svg { color: var(--wb-accent) !important; }

/* FAQ accordion */
html body.info-page.dark-mode .faq-question:hover { background: var(--wb-hover) !important; }
html body.info-page.dark-mode .faq-item.active { border-color: rgba(153, 182, 255, .35) !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .35) !important; }
html body.info-page.dark-mode .faq-item.active .faq-question-text { color: var(--wb-accent) !important; }
html body.info-page.dark-mode .faq-toggle { background: var(--wb-soft) !important; }
html body.info-page.dark-mode .faq-toggle svg { color: var(--wb-muted) !important; }
html body.info-page.dark-mode .faq-item.active .faq-toggle { background: var(--wb-icon-well) !important; }
html body.info-page.dark-mode .faq-item.active .faq-toggle svg { color: var(--wb-accent) !important; }

/* About: timeline */
html body.info-page.dark-mode .timeline::before { background: var(--wb-line) !important; }
html body.info-page.dark-mode .timeline-dot { border-color: var(--wb-shell) !important; box-shadow: 0 0 0 4px rgba(38, 100, 255, .22) !important; }

/* The closing band: a card-coloured band between hairlines, the blue kept for the button and the footer below. */
html body.info-page.dark-mode :is(.contact-section, .cta-section) {
    background: var(--wb-surface) !important;
    color: var(--wb-text) !important;
    box-shadow: inset 0 1px 0 var(--wb-line);
}
html body.info-page.dark-mode .cta-container { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body.info-page.dark-mode :is(.contact-title, .cta-title) { color: var(--wb-text) !important; }
html body.info-page.dark-mode :is(.contact-text, .cta-text) { color: var(--wb-muted) !important; }
html body.info-page.dark-mode :is(.contact-button, .cta-button) { background: var(--wb-primary) !important; color: #fff !important; }
html body.info-page.dark-mode :is(.contact-button, .cta-button):hover { background: var(--wb-primary-hover) !important; color: #fff !important; }
