/**
 * Firmanager promo Raw skin — industrial daylight.
 * Loaded after the page’s base styles; remaps glass/dark Standard look to Raw.
 */
:root {
  --bg-0: #f3f4f6 !important;
  --bg-1: #eef0f3 !important;
  --line: rgba(15, 23, 42, 0.14) !important;
  --line-strong: rgba(15, 23, 42, 0.22) !important;
  --text: #0f172a !important;
  --text-dim: #475569 !important;
  --text-mute: #64748b !important;
  --accent: #0f172a !important;
  --silver-1: #0f172a !important;
  --silver-2: #334155 !important;
  --silver-3: #64748b !important;
  --tile-bg: #ffffff !important;
  --tile-bg-hi: #f8fafc !important;
  --radius-lg: 0 !important;
  --radius-md: 0 !important;
  --radius-sm: 0 !important;
}

html {
  color-scheme: light;
}

body {
  background: #f3f4f6 !important;
  background-image:
    linear-gradient(180deg, #eceef1 0%, #f3f4f6 28%, #f3f4f6 100%) !important;
  background-attachment: scroll !important;
  color: #0f172a !important;
  /* Keep promo + hardware on the same sans stack even if a page CSS typo drops fonts */
  font-family: 'Segoe UI Variable', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
}

/* Flat chrome — no glass */
nav,
.hero-tile,
.module-detail,
.feature-card,
.integration-card,
.benefit-group,
.price-card,
.platform-card,
.cta-band,
.faq-item,
.detail-box {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

nav {
  background: #eceef1 !important;
  border-bottom: 1px solid var(--line) !important;
}

.nav-name,
.nav-links a:hover,
.hero-wordmark,
.hero-tagline strong,
.section-title,
.stat-num,
.module-detail h2,
.feature-card h3,
.step-content h3,
.integration-card h4,
.benefit-group h3,
.price-amount,
.footer-brand,
.platform-card h3,
.cta-band h2 {
  color: #0f172a !important;
}

.nav-links,
.hero-tagline,
.section-sub,
.stat-label,
.module-detail .tagline,
.feature-card .summary,
.step-content p,
.integration-card p,
.footer-tagline,
.hero-os-strip {
  color: var(--text-dim) !important;
}

.nav-logo-svg {
  filter: none !important;
}

.nav-cta,
.btn-primary,
.tab-btn.active {
  background: #0f172a !important;
  color: #fff !important;
  border-radius: 0 !important;
  border: 1px solid #0f172a !important;
  box-shadow: none !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
}

.btn-secondary,
.tab-btn,
.ms-badge {
  background: transparent !important;
  color: #0f172a !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
}

.ms-badge {
  background: #0f172a !important;
  color: #fff !important;
  border-color: #0f172a !important;
}

.btn-primary:hover,
.nav-cta:hover,
.tab-btn.active:hover {
  filter: none !important;
  background: #1e293b !important;
  transform: none !important;
}

.btn-secondary:hover,
.tab-btn:hover {
  background: rgba(15, 23, 42, 0.04) !important;
  border-color: #0f172a !important;
  color: #0f172a !important;
}

.hero::before,
.hero-stage::after {
  display: none !important;
}

.hero-free-badge,
.blog-hero .eyebrow,
.module-badge,
.feature-tag,
.tag,
.price-card.featured::before,
.price-card.free-hero::before,
.price-card.enterprise-card::before {
  background: rgba(15, 23, 42, 0.06) !important;
  border: 1px solid var(--line) !important;
  color: #0f172a !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hero-free-badge .dot {
  background: #166534 !important;
}

.hero-tile,
.module-detail,
.feature-card,
.integration-card,
.benefit-group,
.price-card,
.detail-box,
.platform-card {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
}

.hero-tile:hover,
.feature-card:hover,
.price-card:hover,
.integration-card:hover {
  transform: none !important;
  background: #f8fafc !important;
  border-color: var(--line-strong) !important;
}

.hero-tile .ti,
.feature-icon,
.step-num,
.feature-icon-blue,
.feature-icon-green,
.feature-icon-rose,
.feature-icon-purple,
.feature-icon-teal,
.feature-icon-emerald,
.feature-icon-amber,
.feature-icon-indigo,
.feature-icon-slate {
  background: #eef0f3 !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #0f172a !important;
}

.hero-tile .ti svg,
.feature-icon svg,
.platform-icon svg,
.integration-card .int-icon svg {
  color: #0f172a !important;
}

.hero-stage img,
.article-hero-img {
  border-radius: 0 !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18) !important;
  border: 1px solid var(--line-strong) !important;
}

.stats {
  background: #eceef1 !important;
  border-color: var(--line) !important;
}

.section-label,
.price-name {
  color: var(--text-mute) !important;
  letter-spacing: 0.14em !important;
}

.feature-card.expanded {
  border-color: #0f172a !important;
}

.price-card.featured,
.price-card.free-hero {
  background: #fff !important;
  border-color: #0f172a !important;
}

.price-amount.grad {
  background: none !important;
  -webkit-text-fill-color: #0f172a !important;
  color: #0f172a !important;
}

.detail-box ul li,
.benefit-item,
.price-features li,
.feature-detail ul li,
.hero-tile p {
  color: var(--text-dim) !important;
}

.detail-box h4 {
  color: var(--text-mute) !important;
}

footer {
  background: #eceef1 !important;
  border-top: 1px solid var(--line) !important;
  color: var(--text-mute) !important;
}

footer a {
  color: var(--text-dim) !important;
}

footer a:hover {
  color: #0f172a !important;
}

.footer-brand {
  color: #0f172a !important;
}

.footer-copy,
.footer-legal {
  color: var(--text-mute) !important;
}

/* Kill leftover rounded pills / soft lift */
.hero-free-badge,
.nav-cta,
.btn-primary,
.btn-secondary,
.tab-btn,
.ms-badge,
.module-badge,
.feature-tag,
.price-card.featured::before,
.price-card.free-hero::before,
.price-card.enterprise-card::before {
  border-radius: 0 !important;
}

/* Hardware product pages (shared product.css) */
.hero h1,
.block h2,
.price-main,
.includes li strong {
  color: #0f172a !important;
}

.hero-kicker {
  color: #64748b !important;
  letter-spacing: 0.14em !important;
}

.hero-lead,
.price-sub,
.block p,
.note,
.includes li {
  color: #475569 !important;
}

.includes li {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
}

/* —— Daylight contrast pass (Raw on light gray) ——
 * Base HTML still carries dark-theme whites; force ink on paper.
 */

/* Nav / logos: grey favicon3 mark (logo_n was a white wordmark) */
.nav-logo-svg,
.cta-logo,
.footer-logo {
  filter: none !important;
}

/* Language switch: active chip must stay readable */
.fm-lang-switch {
  background: #fff !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 0 !important;
}
.fm-lang-switch button {
  color: #334155 !important;
  border-radius: 0 !important;
}
.fm-lang-switch button:hover {
  color: #0f172a !important;
}
.fm-lang-switch button.is-active {
  background: #0f172a !important;
  color: #fff !important;
}

/* Norway / addon chips + price tags */
.addon-pill,
.price-tag {
  color: #0f172a !important;
  background: #eef0f3 !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 0 !important;
}

/* Pricing labels sit ON TOP of the card border (no “strikethrough”) */
.price-card {
  overflow: visible !important;
}
.price-card.featured::before,
.price-card.free-hero::before,
.price-card.enterprise-card::before {
  background: #fff !important;
  color: #0f172a !important;
  border: 1px solid #0f172a !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: 3 !important;
  top: -11px !important;
  padding: 0.28rem 0.85rem !important;
  letter-spacing: 0.08em !important;
}

/* Plan names / amounts — kill leftover pale greens & white fill-text */
.price-name,
.price-card .price-name,
.price-card.free-hero .price-name {
  color: #0f172a !important;
}
.price-amount,
.price-card .price-amount {
  color: #0f172a !important;
  -webkit-text-fill-color: #0f172a !important;
  background: none !important;
}
.price-period,
.pricing-note,
.pricing-footnote {
  color: #475569 !important;
}
.pricing-note strong {
  color: #0f172a !important;
}

/* CTAs: outline Business button was white-on-white */
.price-btn {
  background: #0f172a !important;
  color: #fff !important;
  border: 1px solid #0f172a !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem !important;
}
.price-btn:hover {
  background: #1e293b !important;
  filter: none !important;
  transform: none !important;
}
.price-btn.outline {
  background: #fff !important;
  color: #0f172a !important;
  border: 1px solid #0f172a !important;
  box-shadow: none !important;
}
.price-btn.outline:hover {
  background: #eef0f3 !important;
  color: #0f172a !important;
}

/* Free plan green CTA kept intentional, but readable */
.price-card.free-hero .price-btn {
  background: #166534 !important;
  border-color: #166534 !important;
  color: #fff !important;
}

/* Platform / feature icons: ink stroke on light tile (not dark-on-dark) */
.platform-icon,
.hero-tile .ti,
.feature-icon,
.step-num,
.feature-icon-blue,
.feature-icon-green,
.feature-icon-rose,
.feature-icon-purple,
.feature-icon-teal,
.feature-icon-emerald,
.feature-icon-amber,
.feature-icon-indigo,
.feature-icon-slate {
  background: #eef0f3 !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #0f172a !important;
}
.platform-icon svg,
.hero-tile .ti svg,
.feature-icon svg,
.integration-card .int-icon svg {
  color: #0f172a !important;
  stroke: #0f172a !important;
}

/* CTA band + about cards — leftover white copy */
.cta-section h2,
.cta-band h2 {
  color: #0f172a !important;
}
.cta-section p,
.cta-band p {
  color: #475569 !important;
}
.about-card {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.about-card h3 {
  color: #64748b !important;
}
.about-card p,
.about-card p strong,
.about-card a {
  color: #0f172a !important;
}
.about-card .about-muted {
  color: #475569 !important;
}
.about-card a {
  border-bottom-color: rgba(15, 23, 42, 0.25) !important;
}
.about-card a:hover {
  color: #0f172a !important;
  border-bottom-color: #0f172a !important;
}

/* Misc pale-on-fog leftovers */
.integration-card h4,
.benefit-group h3,
.platform-card h3,
.feature-card h3,
.step-content h3,
.author-name,
.hero-tile h4,
.module-detail h2 {
  color: #0f172a !important;
}
.benefit-item,
.price-features li,
.integration-card p,
.platform-card p,
.feature-card .summary,
.hero-tile p {
  color: #475569 !important;
}
.price-features li::before,
.benefit-item .check {
  color: #0f172a !important;
}

/* Screenshot strip — Raw daylight (replace glossy dark marketing cards) */
.screenshot-strip::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06) !important;
  border-radius: 0 !important;
}
.screenshot-strip::-webkit-scrollbar-thumb {
  background: #94a3b8 !important;
  border-radius: 0 !important;
}
.screenshot-thumb {
  border-radius: 0 !important;
  border: 1px solid rgba(15, 23, 42, 0.18) !important;
  box-shadow: none !important;
  background: #fff !important;
}
.screenshot-thumb:hover {
  border-color: #0f172a !important;
  transform: none !important;
}
#ss-lightbox {
  background: rgba(15, 23, 42, 0.88) !important;
}
#ss-lightbox-img {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
