 :root {
   /* Primary Colors */
   --ember-orange: #E85A1B;
   --spark-gold: #F6A623;
   --flame-red: #C23A0C;
   --flame-orange: #E25227;
   --highlight-orange: #F0912D;
 
   /* Background Colors */
   --deep-charcoal: #0F0F0F;
   --surface: #1A1817;
   --surface-light: #2A2725;
 
   /* Book/Earth Tones */
   --book-dark: #501D0F;
   --book-light: #89492B;
   --book-mid: #5C2E1A;
 
   /* Text Colors */
   --text-primary: #F5F2EF;
   --text-secondary: #9A9490;
 
   /* Utility */
   --success: #2D9C6B;
   --warning: #E6A532;
 }
 
 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }
 
 html {
   scroll-behavior: smooth;
 }
 
 body {
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
   background-color: var(--deep-charcoal);
   color: var(--text-primary);
   line-height: 1.6;
   min-height: 100vh;
 }
 
 /* Layout helpers */
 .page-padding {
   padding: 120px 24px 80px;
 }
 
 /* Navbar */
 .navbar {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 1000;
   background: rgba(15, 15, 15, 0.85);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   border-bottom: 1px solid var(--surface-light);
   padding: 0 24px;
 }
 
 .navbar-container {
   max-width: 1100px;
   margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: space-between;
   height: 64px;
   width: 100%;
 }
 
 .navbar-logo {
   display: flex;
   align-items: center;
   gap: 10px;
   text-decoration: none;
   color: var(--text-primary);
   flex-shrink: 0;
 }
 
 .navbar-logo svg {
   width: 32px;
   height: 24px;
 }
 
 .navbar-logo span {
   font-family: 'Space Grotesk', sans-serif;
   font-size: 20px;
   font-weight: 600;
 }
 
 .navbar-links {
   display: flex;
   align-items: center;
   gap: 8px;
 }
 
 .navbar-link {
   font-family: 'Space Grotesk', sans-serif;
   font-size: 15px;
   font-weight: 500;
   color: var(--text-secondary);
   text-decoration: none;
   padding: 8px 14px;
   border-radius: 6px;
   transition: color 0.2s, background-color 0.2s;
 }
 
 .navbar-link:hover {
   color: var(--text-primary);
   background: var(--surface);
 }
 
 .navbar-link.active {
   color: var(--text-primary);
   box-shadow: inset 0 -2px 0 0 var(--ember-orange);
 }
 
 .navbar-cta {
   font-family: 'Space Grotesk', sans-serif;
   font-size: 14px;
   font-weight: 500;
   color: white;
   background: var(--ember-orange);
   text-decoration: none;
   padding: 8px 16px;
   border-radius: 6px;
   margin-left: 8px;
   transition: background-color 0.2s;
 }
 
 .navbar-cta:hover {
   background: var(--flame-orange);
 }
 
 /* Mobile nav toggle (hidden on desktop) */
 .navbar-toggle {
   display: none;
   align-items: center;
   justify-content: center;
   width: 44px;
   height: 44px;
   padding: 0;
   background: none;
   border: none;
   border-radius: 6px;
   color: var(--text-primary);
   cursor: pointer;
   transition: background-color 0.2s;
   flex-shrink: 0;
 }
 .navbar-toggle:hover {
   background: var(--surface);
 }
 .navbar-toggle-icon {
   display: block;
   width: 22px;
   height: 2px;
   background: currentColor;
   position: relative;
   transition: background 0.2s;
 }
 .navbar-toggle-icon::before,
 .navbar-toggle-icon::after {
   content: '';
   position: absolute;
   left: 0;
   width: 22px;
   height: 2px;
   background: currentColor;
   transition: transform 0.2s;
 }
 .navbar-toggle-icon::before {
   top: -7px;
 }
 .navbar-toggle-icon::after {
   top: 7px;
 }
 .navbar-open .navbar-toggle-icon {
   background: transparent;
 }
 .navbar-open .navbar-toggle-icon::before {
   transform: translateY(7px) rotate(45deg);
 }
 .navbar-open .navbar-toggle-icon::after {
   transform: translateY(-7px) rotate(-45deg);
 }

 @media (max-width: 768px) {
   .navbar-container {
     flex-wrap: wrap;
   }

   .navbar-toggle {
     display: flex !important;
     order: 2;
   }

   .navbar-links {
     display: none !important;
     position: absolute;
     top: 64px;
     left: 0;
     right: 0;
     flex-direction: column;
     gap: 0;
     padding: 16px;
     background: var(--surface);
     border-bottom: 1px solid var(--surface-light);
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
     z-index: 1001;
   }

   .navbar-open .navbar-links {
     display: flex !important;
   }

   .navbar-link {
     padding: 12px 16px;
     font-size: 16px;
     border-radius: 8px;
   }

   .navbar-link.hide-mobile {
     display: none;
   }

   .navbar-cta {
     margin: 8px 0 0;
     margin-left: 0;
     padding: 12px 16px;
     font-size: 16px;
     display: flex;
     justify-content: center;
   }
 }
 
 /* Download Buttons */
 .download-buttons {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 12px;
  margin-bottom: 16px;
 }

 .download-buttons.single {
   grid-template-columns: 1fr;
   justify-items: center;
 }
 
 @media (max-width: 520px) {
   .download-buttons {
     grid-template-columns: 1fr;
   }
 }
 
 .download-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   padding: 14px 20px;
   font-family: 'Space Grotesk', sans-serif;
   font-size: 15px;
   font-weight: 500;
   background: var(--ember-orange);
   color: white;
   border: none;
   border-radius: 8px;
   text-decoration: none;
   cursor: pointer;
   transition: background-color 0.2s, transform 0.1s;
   white-space: nowrap;
 }
 
 .download-btn:hover {
   background: var(--flame-orange);
 }
 
 .download-btn:active {
   transform: scale(0.98);
 }
 
 .download-btn svg {
   width: 18px;
   height: 18px;
   flex-shrink: 0;
 }
 
 .download-btn.secondary {
   background: var(--surface);
   border: 1px solid var(--surface-light);
   color: var(--text-primary);
 }
 
 .download-btn.secondary:hover {
   border-color: var(--ember-orange);
   background: var(--surface-light);
 }
 
 .download-note {
   font-size: 14px;
   color: var(--text-secondary);
 }
 
.download-note a,
.download-note a:visited {
  color: var(--ember-orange);
  text-decoration: none;
 }

.download-note a:hover {
  text-decoration: underline;
}

/* CTA section links - prevent purple visited state */
.cta-section a:not(.download-btn),
.cta-section a:not(.download-btn):visited {
  color: var(--ember-orange);
  text-decoration: none;
}

.cta-section a:not(.download-btn):hover {
  text-decoration: underline;
}

.cta-section a.download-btn,
.cta-section a.download-btn:visited {
  color: white;
}
 
 /* Signup Forms */
 .signup-container {
   background: var(--surface);
   border-radius: 16px;
   padding: 24px 28px;
   border: 1px solid var(--surface-light);
 }
 
 .signup-form {
   display: flex;
   gap: 12px;
 }
 
 .signup-form input[type="email"] {
   flex: 1;
   padding: 14px 16px;
   font-size: 16px;
   font-family: 'Inter', sans-serif;
   border: 1px solid var(--surface-light);
   border-radius: 8px;
   background: var(--deep-charcoal);
   color: var(--text-primary);
   outline: none;
   transition: border-color 0.2s;
 }
 
 .signup-form input[type="email"]:focus {
   border-color: var(--ember-orange);
 }
 
 .signup-form input[type="email"]::placeholder {
   color: var(--text-secondary);
 }
 
 .signup-form button {
   padding: 14px 24px;
   font-size: 16px;
   font-family: 'Space Grotesk', sans-serif;
   font-weight: 500;
   background: var(--ember-orange);
   color: white;
   border: none;
   border-radius: 8px;
   cursor: pointer;
   transition: background-color 0.2s, transform 0.1s;
   white-space: nowrap;
 }
 
 .signup-form button:hover {
   background: var(--flame-orange);
 }
 
 .signup-form button:active {
   transform: scale(0.98);
 }
 
 @media (max-width: 520px) {
   .signup-form {
     flex-direction: column;
   }
 
   .signup-form button {
     width: 100%;
   }
 }
 
 /* Social Links */
 .social-links {
   display: flex;
   justify-content: center;
   gap: 16px;
 }
 
 .social-link {
   display: flex;
   align-items: center;
   justify-content: center;
   width: 44px;
   height: 44px;
   background: var(--surface);
   border: 1px solid var(--surface-light);
   border-radius: 10px;
   color: var(--text-secondary);
   text-decoration: none;
   transition: border-color 0.2s, color 0.2s, transform 0.1s;
 }
 
 .social-link:hover {
   border-color: var(--ember-orange);
   color: var(--text-primary);
   transform: translateY(-2px);
 }
 
 .social-link svg {
   width: 20px;
   height: 20px;
 }
 
 /* Footer */
 footer {
   padding: 40px 24px;
   text-align: center;
   border-top: 1px solid var(--surface-light);
 }
 
 .footer-social {
   display: flex;
   justify-content: center;
   gap: 20px;
   margin-bottom: 16px;
 }
 
 .footer-social a {
   color: var(--text-secondary);
   transition: color 0.2s;
 }
 
 .footer-social a:hover {
   color: var(--ember-orange);
 }
 
 .footer-social svg {
   width: 24px;
   height: 24px;
 }
 
 footer p {
   font-size: 14px;
   color: var(--text-secondary);
 }
 
footer a,
footer a:visited {
  color: var(--ember-orange);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== Shared styles for inner pages ===== */

/* Page hero variant (inner pages) */
.page-hero {
   padding: 140px 24px 60px;
   text-align: center;
   max-width: 960px;
   margin: 0 auto;
 }

.page-hero h1 {
   font-family: 'Space Grotesk', sans-serif;
   font-size: clamp(32px, 6vw, 48px);
   font-weight: 600;
   margin-bottom: 16px;
   letter-spacing: -0.02em;
 }

.page-hero .page-hero-subtext {
   font-size: 18px;
   color: var(--text-secondary);
   line-height: 1.7;
   margin-bottom: 32px;
 }

/* Section pattern for feature/content blocks */
.content-section {
   padding: 80px 24px;
   max-width: 900px;
   margin: 0 auto;
 }

.content-section.alt {
   background: var(--surface);
 }

.content-section h2 {
   font-family: 'Space Grotesk', sans-serif;
   font-size: clamp(24px, 4vw, 32px);
   font-weight: 600;
   margin-bottom: 16px;
 }

.content-section h3 {
   font-family: 'Space Grotesk', sans-serif;
   font-size: 20px;
   font-weight: 500;
   margin-bottom: 12px;
 }

.content-section p {
   font-size: 17px;
   color: var(--text-secondary);
   line-height: 1.7;
   margin-bottom: 16px;
 }

.content-section p:last-child {
   margin-bottom: 0;
 }

.content-section a,
.content-section a:visited {
   color: var(--ember-orange);
   text-decoration: none;
 }

.content-section a:hover {
   text-decoration: underline;
 }

/* Callout / blockquote for pull quotes */
.callout {
   background: var(--surface);
   border-left: 4px solid var(--ember-orange);
   border-radius: 0 8px 8px 0;
   padding: 20px 24px;
   margin: 24px 0;
   font-family: 'Lora', Georgia, serif;
   font-size: 17px;
   font-style: italic;
   color: var(--text-primary);
 }

/* Image placeholder for screenshots/visuals */
.visual-placeholder {
   background: var(--surface);
   border: 1px dashed var(--surface-light);
   border-radius: 12px;
   padding: 60px 24px;
   text-align: center;
   color: var(--text-secondary);
   font-size: 14px;
   margin: 24px 0;
 }

/* Flow diagram (Import → Kindling → Export) - vertical layout */
.flow-diagram {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 16px;
   margin: 32px 0;
 }

.flow-node {
   display: flex;
   flex-direction: column;
   align-items: center;
   background: var(--surface);
   border: 1px solid var(--surface-light);
   border-radius: 12px;
   padding: 20px 28px;
   min-width: 200px;
 }

.flow-node-center {
   border-color: var(--ember-orange);
   background: rgba(232, 90, 27, 0.08);
 }

.flow-label {
   font-family: 'Space Grotesk', sans-serif;
   font-weight: 600;
   font-size: 16px;
   color: var(--text-primary);
   margin-bottom: 4px;
 }

.flow-formats {
   font-size: 14px;
   color: var(--text-secondary);
 }

.flow-arrow {
   font-size: 24px;
   color: var(--ember-orange);
   line-height: 1;
 }

/* Comparison table */
.comparison-table-wrap {
   overflow-x: auto;
   margin: 24px 0;
   -webkit-overflow-scrolling: touch;
 }

.comparison-table {
   width: 100%;
   min-width: 700px;
   border-collapse: collapse;
   font-size: 15px;
 }

.comparison-table th,
.comparison-table td {
   padding: 12px 16px;
   text-align: left;
   border-bottom: 1px solid var(--surface-light);
 }

.comparison-table th {
   font-family: 'Space Grotesk', sans-serif;
   font-weight: 500;
   color: var(--text-primary);
   background: var(--surface);
 }

.comparison-table td {
   color: var(--text-secondary);
 }

.comparison-table td:first-child {
   color: var(--text-primary);
 }

.comparison-table .check { color: var(--success); }
.comparison-table .cross { color: var(--text-secondary); opacity: 0.6; }

/* Download cards (large, for /download page) */
.download-cards {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
   gap: 12px;
   margin: 32px 0;
 }

.download-card-large {
   display: inline-flex;
   flex-direction: column;
   align-items: center;
   background: var(--surface);
   border: 1px solid var(--surface-light);
   border-radius: 12px;
   padding: 16px 24px;
   text-align: center;
   text-decoration: none;
   color: inherit;
   transition: border-color 0.2s, background-color 0.2s;
 }

.download-card-large:hover {
   border-color: var(--ember-orange);
   background: var(--surface-light);
 }

.download-card-large.highlight {
   border-color: var(--ember-orange);
   background: rgba(232, 90, 27, 0.08);
 }

.download-card-large svg {
   width: 32px;
   height: 32px;
   margin-bottom: 12px;
   color: var(--ember-orange);
 }

.download-card-large .label {
   font-family: 'Space Grotesk', sans-serif;
   font-weight: 600;
   font-size: 16px;
   display: block;
   margin-bottom: 4px;
 }

.download-card-large .subtext {
   font-size: 14px;
   color: var(--text-secondary);
 }

/* Download page: legal links and about section */
.download-legal-links {
   font-size: 14px;
   color: var(--text-secondary);
   text-align: center;
   margin: 20px 0 0;
   line-height: 1.6;
 }

.download-legal-links a,
.download-legal-links a:visited {
   color: var(--ember-orange);
   text-decoration: none;
 }

.download-legal-links a:hover {
   text-decoration: underline;
 }

.about-download-card {
   background: var(--surface);
   border: 1px solid var(--surface-light);
   border-radius: 12px;
   padding: 24px 28px;
   margin: 32px 0;
 }

.about-download-table {
   width: 100%;
   border-collapse: collapse;
   font-size: 15px;
 }

.about-download-table td {
   padding: 10px 0;
   border-bottom: 1px solid var(--surface-light);
   color: var(--text-secondary);
 }

.about-download-table td:first-child {
   font-weight: 500;
   color: var(--text-primary);
   width: 140px;
 }

.about-download-table tr:last-child td {
   border-bottom: none;
 }

.about-download-statements {
   margin-top: 20px;
   padding-top: 20px;
   border-top: 1px solid var(--surface-light);
   font-size: 14px;
   color: var(--text-secondary);
   line-height: 1.7;
 }

.about-download-statements ul {
   list-style: none;
   padding: 0;
   margin: 0;
 }

.about-download-statements li {
   margin-bottom: 10px;
   padding-left: 20px;
   position: relative;
 }

.about-download-statements li::before {
   content: "•";
   position: absolute;
   left: 0;
   color: var(--ember-orange);
 }

.uninstall-platform {
   margin-bottom: 28px;
 }

.uninstall-platform:last-child {
   margin-bottom: 0;
 }

.uninstall-platform h4 {
   font-family: 'Space Grotesk', sans-serif;
   font-size: 16px;
   font-weight: 600;
   margin-bottom: 12px;
   color: var(--text-primary);
 }

.uninstall-platform p,
.uninstall-platform ul {
   font-size: 15px;
   color: var(--text-secondary);
   line-height: 1.7;
   margin-bottom: 12px;
 }

.uninstall-platform ul {
   padding-left: 24px;
 }

.uninstall-platform ol {
   padding-left: 24px;
   margin: 0 0 12px;
 }

.uninstall-platform ol li {
   margin-bottom: 8px;
 }

.uninstall-platform code {
   font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
   font-size: 13px;
   background: var(--surface);
   padding: 2px 6px;
   border-radius: 4px;
 }

/* Multi-column footer (spec layout) */
.footer-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
   gap: 40px;
   max-width: 900px;
   margin: 0 auto 32px;
   text-align: left;
 }

.footer-column h4 {
   font-family: 'Space Grotesk', sans-serif;
   font-size: 12px;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 0.08em;
   color: var(--text-secondary);
   margin-bottom: 12px;
 }

.footer-column ul {
   list-style: none;
 }

.footer-column li {
   margin-bottom: 8px;
 }

.footer-column a {
   font-size: 15px;
   color: var(--text-secondary);
   text-decoration: none;
   transition: color 0.2s;
 }

.footer-column a:hover {
   color: var(--ember-orange);
   text-decoration: none;
 }

.footer-bottom {
   padding-top: 24px;
   border-top: 1px solid var(--surface-light);
   text-align: center;
 }

.footer-bottom p {
   font-size: 14px;
   color: var(--text-secondary);
   margin-bottom: 8px;
 }

.footer-tagline {
   font-family: 'Lora', Georgia, serif;
   font-style: italic;
   font-size: 15px;
   color: var(--text-secondary);
   opacity: 0.9;
 }

/* CTA section for inner pages */
.cta-section {
   padding: 80px 24px;
   background: var(--surface);
   text-align: center;
 }

.cta-section h2 {
   font-family: 'Space Grotesk', sans-serif;
   font-size: clamp(24px, 4vw, 32px);
   font-weight: 600;
   margin-bottom: 12px;
 }

.cta-section p {
   font-size: 16px;
   color: var(--text-secondary);
   margin-bottom: 24px;
 }

/* Steps / quick start list */
.steps-list {
   list-style: none;
 }

.steps-list li {
   display: flex;
   gap: 16px;
   margin-bottom: 20px;
   font-size: 16px;
   color: var(--text-secondary);
   line-height: 1.6;
 }

.steps-list .step-num {
   flex-shrink: 0;
   width: 32px;
   height: 32px;
   background: var(--ember-orange);
   color: white;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-family: 'Space Grotesk', sans-serif;
   font-weight: 600;
   font-size: 14px;
 }

/* System requirements list */
.sysreq-list {
   list-style: none;
 }

.sysreq-list li {
   padding: 8px 0;
   padding-left: 24px;
   position: relative;
   font-size: 15px;
   color: var(--text-secondary);
 }

.sysreq-list li::before {
   content: "•";
   position: absolute;
   left: 0;
   color: var(--ember-orange);
 }

/* ===== Feedback Bubble & Popup ===== */

/* Floating bubble - hidden on mobile, hidden on /feedback/ page */
.feedback-bubble-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ember-orange);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.3s;
  align-items: center;
  justify-content: center;
  color: white;
}

@media (min-width: 769px) {
  .feedback-bubble-btn {
    display: flex;
  }
}

.feedback-bubble-btn:hover {
  background: var(--flame-orange);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(232, 90, 27, 0.15);
}

.feedback-bubble-btn:active {
  transform: scale(0.96);
}

.feedback-bubble-btn svg {
  width: 24px;
  height: 24px;
}

/* Close icon hidden by default, shown when popup is open */
.feedback-bubble-btn .fb-icon-close {
  display: none;
}

.feedback-bubble-btn.is-open .fb-icon-chat {
  display: none;
}

.feedback-bubble-btn.is-open .fb-icon-close {
  display: block;
}

/* Popup panel */
.feedback-popup {
  display: none;
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 899;
  width: 380px;
  max-height: calc(100vh - 120px);
  background: var(--surface);
  border: 1px solid var(--surface-light);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.feedback-popup.is-visible {
  display: flex;
}

.feedback-popup.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.feedback-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--surface-light);
  flex-shrink: 0;
}

.feedback-popup-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.feedback-popup-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-popup-close:hover {
  color: var(--text-primary);
  background: var(--surface-light);
}

.feedback-popup-close svg {
  width: 18px;
  height: 18px;
}

.feedback-popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px 20px;
}

/* Popup tabs */
.fbp-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.fbp-tabs button {
  flex: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--surface-light);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.fbp-tabs button:hover {
  border-color: var(--ember-orange);
  color: var(--text-primary);
}

.fbp-tabs button.active {
  border-color: var(--ember-orange);
  background: rgba(232, 90, 27, 0.12);
  color: var(--ember-orange);
}

/* Popup form fields */
.fbp-form-group {
  margin-bottom: 14px;
}

.fbp-form-group label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.fbp-form-group .fbp-required {
  color: var(--ember-orange);
}

.fbp-form-group input[type="text"],
.fbp-form-group input[type="email"],
.fbp-form-group textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--surface-light);
  border-radius: 6px;
  background: var(--deep-charcoal);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.fbp-form-group input[type="text"]:focus,
.fbp-form-group input[type="email"]:focus,
.fbp-form-group textarea:focus {
  border-color: var(--ember-orange);
}

.fbp-form-group input::placeholder,
.fbp-form-group textarea::placeholder {
  color: var(--text-secondary);
}

.fbp-form-group textarea {
  resize: vertical;
  min-height: 70px;
}

/* Popup star rating */
.fbp-stars {
  display: flex;
  gap: 4px;
}

.fbp-stars button {
  font-size: 28px;
  background: none;
  border: none;
  color: var(--surface-light);
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s, transform 0.1s;
  line-height: 1;
}

.fbp-stars button:hover,
.fbp-stars button.active {
  color: var(--spark-gold);
  transform: scale(1.1);
}

/* Popup submit */
.fbp-submit {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  background: var(--ember-orange);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s, opacity 0.2s;
  margin-top: 4px;
}

.fbp-submit:hover {
  background: var(--flame-orange);
}

.fbp-submit:active {
  transform: scale(0.98);
}

.fbp-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Popup status */
.fbp-status {
  display: none;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}

.fbp-status.visible {
  display: block;
}

.fbp-status.success {
  background: rgba(45, 156, 107, 0.12);
  border: 1px solid rgba(45, 156, 107, 0.3);
  color: var(--success);
}

.fbp-status.error {
  background: rgba(194, 58, 12, 0.12);
  border: 1px solid rgba(194, 58, 12, 0.3);
  color: var(--flame-red);
}

/* Popup privacy link */
.fbp-privacy {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 12px;
}

.fbp-privacy a {
  color: var(--ember-orange);
  text-decoration: none;
}

.fbp-privacy a:hover {
  text-decoration: underline;
}

/* Popup conditional sections */
.fbp-section {
  display: none;
}

.fbp-section.visible {
  display: block;
}

/* Mobile nav feedback link */
.navbar-link.feedback-mobile-link {
  display: none;
}

@media (max-width: 768px) {
  .navbar-link.feedback-mobile-link {
    display: block;
  }
}
