:root {
  --primary: #F97316;
  --primary-dark: #EA580C;
  --primary-soft: #FFF3E8;
  --sidebar: #2B2118;
  --background: #F8F6F2;
  --surface: #FFFFFF;
  --text: #2B2520;
  --muted: #7A6F66;
  --border: #E8DED5;
  --status: #16865F;
  --blue: var(--primary);
  --blue-dark: var(--primary-dark);
  --navy: var(--sidebar);
  --coral: var(--primary);
  --coral2: var(--primary-dark);
  --coral-soft: var(--primary-soft);
  --cream: var(--background);
  --cream2: var(--primary-soft);
  --white: var(--surface);
  --dark: var(--text);
  --line: var(--border);
  --green: var(--status);
  --nb-bg: var(--background);
  --nb-surface: var(--surface);
  --nb-surface-2: #FCFAF7;
  --nb-ink: var(--text);
  --nb-muted: var(--muted);
  --nb-line: var(--border);
  --nb-accent: var(--primary);
  --nb-accent-soft: var(--primary-soft);
  --nc-coral: var(--primary);
}

html { background: var(--background); }

body,
.plans-page,
.info-page,
.auth-area {
  background: var(--background) !important;
  color: var(--text) !important;
}

.header,
.top-nav,
.topbar,
body:has(.info-page) > .info-header,
.info-header,
.info-footer,
.footer { border-color: var(--border) !important; }

.header,
.top-nav,
.topbar,
body:has(.info-page) > .info-header,
.info-header {
  background: rgba(248, 246, 242, .96) !important;
  color: var(--text) !important;
}

.logo,
.header .logo,
.top-nav .logo,
.info-header .logo,
h1,
h2,
h3,
strong { color: var(--text) !important; }

.logo b,
.header .logo b,
.top-nav .logo b,
.info-header .logo b,
body.top-nav-page > .header .logo b,
.auth-top-nav .mobile-logo .logo b,
.eyebrow,
.step-label,
.plans-eyebrow,
.info-kicker,
.text-link,
.info-links a,
.price,
.plan-label { color: var(--primary) !important; }

p,
.intro,
.muted,
.auth-heading p,
.brand-content > p,
.info-body p,
.plans-page p { color: var(--muted) !important; }

.btn-primary,
.cta-button,
.submit-button,
.plan-button.primary,
.mobile-cta,
button.primary,
a.primary {
  border-color: var(--primary) !important;
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(249, 115, 22, .18) !important;
}

.btn-primary:hover,
.cta-button:hover,
.submit-button:hover,
.plan-button.primary:hover,
.mobile-cta:hover,
button.primary:hover,
a.primary:hover {
  border-color: var(--primary-dark) !important;
  background: var(--primary-dark) !important;
}

.btn-outline,
.btn-dark,
.secondary,
.plan-button:not(.primary) {
  border-color: var(--border) !important;
  background: var(--surface) !important;
  color: var(--text) !important;
}

.btn-outline:hover,
.btn-dark:hover,
.secondary:hover,
.plan-button:not(.primary):hover {
  border-color: var(--primary) !important;
  background: var(--primary-soft) !important;
  color: var(--primary-dark) !important;
}

.auth-brand {
  background: linear-gradient(150deg, var(--sidebar), #3A2C20) !important;
  border-color: #49392B !important;
  color: #fff !important;
}

.auth-brand .logo,
.auth-brand h1,
.auth-brand b { color: #fff !important; }
.auth-brand .logo b,
.auth-brand .eyebrow { color: #FF9A52 !important; }
.auth-brand p,
.auth-brand small { color: #D8C9BC !important; }
.auth-brand .benefits > div > span,
.auth-brand .security-box > span {
  background: var(--primary-soft) !important;
  color: var(--status) !important;
}
.auth-brand .security-box {
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.07) !important;
}

.auth-card,
.price-card,
.workflow-card,
.feature-grid > *,
.dashboard-board,
.plans-cta-card,
.info-body section {
  border-color: var(--border) !important;
  background: var(--surface) !important;
}

.field input,
.field select,
.field textarea {
  border-color: var(--border) !important;
  background: var(--surface) !important;
  color: var(--text) !important;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, .12) !important;
}

.terms input { accent-color: var(--primary) !important; }
.password-toggle:hover,
.switch-auth a,
.label-row a,
.terms a,
.back-home:hover,
.back:hover { color: var(--primary-dark) !important; }

.saving-badge,
.flexibility-badge,
.feature-icon,
.workflow-icon,
.quick-strip,
.resource-chips a,
.dashboard-stats span {
  border-color: #F7D4BB !important;
  background: var(--primary-soft) !important;
  color: var(--primary-dark) !important;
}

.open-status,
.form-message.success {
  background: #EAF7F0 !important;
  color: var(--status) !important;
}

.footer,
.info-footer,
.final-cta-section {
  background: var(--sidebar) !important;
  color: #F7EFE8 !important;
}

.footer p,
.footer a,
.footer span,
.info-footer a,
.info-footer span,
.final-cta-section p { color: #D8C9BC !important; }

.footer b,
.footer strong,
.final-cta-section h2 { color: #fff !important; }

@media (max-width: 760px) {
  .mobile-nav {
    border-color: var(--border) !important;
    background: var(--surface) !important;
  }
}
