/* Custom styles to complement Tailwind CSS */

/* ROI Calculator Slider Styling */
#mailbox-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 16px;
  background: transparent;
  outline: none;
  margin: 0;
  cursor: pointer;
}

#mailbox-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0099CC;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-top: -8px;
}

#mailbox-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0099CC;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  border: none;
}

.slider-track {
  width: 100%;
  position: relative;
}

#mailbox-labels span {
  color: #666;
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

#mailbox-labels span.active {
  color: #0099CC;
  font-weight: 700;
  transform: scale(1.1);
}

.text-danger-color {
  color: #dc3545;
}

.text-ok-color {
  color: #28a745;
}

/* Smooth scrolling for page navigation */
html {
  scroll-behavior: smooth;
}

/* Animation for elements */
.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s cubic-bezier(0.2, 0, 0, 1) forwards;
}

.animate-slide-right {
  animation: slideRight 0.8s cubic-bezier(0.2, 0, 0, 1) forwards;
}


/* Custom pulsing animation for the floating button */
@keyframes bf-pulse-ring {
    0% { transform: scale(0.3); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.bf-pulse-ring {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border-radius: 9999px;
    opacity: 0.8;
    animation: bf-pulse-ring 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    background-color: #0099CC;
}

.bf-offer-modal {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Modal transition states */
.bf-modal-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.bf-modal-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Ensure the fixed elements have a high Z-index */
#bf-offer-button, #bf-offer-modal-container, #bf-timer-badge {
    z-index: 50;
}

.website-btn-website-secondary {
    background-color: #f6f6f6;
}

.website-btn-website-secondary:hover {
    background-color: #eeeeee;
}

/* Animations */
/* Ripple animation from styles.css */
@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Float animation - merged from both files */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 6s cubic-bezier(0.2, 0, 0, 1) infinite;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 177, 79, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 177, 79, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 177, 79, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Micro animations for images on hover */
.img-hover-animation {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.img-hover-animation:hover {
  transform: scale(1.03) translateY(-3px);
  filter: brightness(1.05);
}

/* Micro animations for Videos on hover */
.video-hover-animation {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.video-hover-animation:hover {
  transform: scale(1.03) translateY(-3px);
  filter: brightness(1.05);
}

/* Floating animation for hero */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-animation {
  animation: float 3s cubic-bezier(0.2, 0, 0, 1) infinite;
}

/* Custom button styles */
.btn-hover-effect {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hover-effect:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom card hover effect */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Benefit card animation */
.benefit-card {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
}

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(90deg, #0099CC 0%, #006699 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Custom emphasis styles */
.highlight-text {
  position: relative;
  display: inline-block;
}

.highlight-text:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #0099CC 0%, #FF9900 100%);
  border-radius: 3px;
}

/* Checkmark list style */
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.check-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230099CC'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Custom form styles */
.custom-input {
  border: 2px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-input:focus {
  border-color: #0099CC;
  box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.2);
}

/* Aspect ratio for video embeds */
.aspect-w-16 {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.aspect-w-16 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Accordion styles */
.accordion-header[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion-header svg {
  transition: transform 0.3s ease;
}

/* Testimonial carousel styles */
.testimonial-container {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 33.333333%;
  }
}

.testimonial-arrow {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  position: relative;
  top: auto;
  transform: none;
}

.testimonial-arrow:hover {
  background-color: #f3f4f6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

.testimonial-arrow-left {
  left: auto;
}

.testimonial-arrow-right {
  right: auto;
}

/* Animation for elements on scroll */
[data-animate] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-in"].in-view {
  opacity: 1;
}

[data-animate="slide-up"].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="slide-up"]:not(.in-view) {
  transform: translateY(30px);
}

[data-animate="slide-right"].in-view {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-right"]:not(.in-view) {
  transform: translateX(-30px);
}

/* Custom Styles */
.testimonial-container {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
}

.testimonial-arrow {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  position: relative;
  top: auto;
  transform: none;
}

.testimonial-arrow:hover {
  background-color: #f3f4f6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

.testimonial-arrow-left {
  left: auto;
}

.testimonial-arrow-right {
  right: auto;
}

/* Feature Carousel Styling */
.feature-carousel-container {
  position: relative;
  width: 100%;
}

.feature-carousel-track {
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-behavior: smooth;
  padding: 8px 0;
  flex: 1;
}

.feature-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.feature-carousel-track > div {
  display: inline-flex;
  padding: 0 4px;
}

.feature-arrow {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 5;
  color: #333;
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.feature-arrow:hover {
  background-color: #f3f4f6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-arrow-left {
  margin-right: 8px;
}

.feature-arrow-right {
  margin-left: 8px;
}

@media (max-width: 768px) {
  .testimonial-arrow {
      width: 30px;
      height: 30px;
  }
}

/* Base styles */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Animation classes */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.2, 0, 0, 1), transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

[data-animate="fade-in"] {
    transform: translateY(0);
}

[data-animate="slide-up"] {
    transform: translateY(20px);
}

[data-animate="slide-right"] {
    transform: translateX(-20px);
}

[data-animate="slide-left"] {
    transform: translateX(20px);
}

[data-animate].in-view {
    opacity: 1;
    transform: translate(0, 0);
}

/* Button hover effect */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hover-effect:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
    z-index: -1;
}

.btn-hover-effect:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Card hover effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Floating animation for the hero image */
.float-animation {
    animation: float 6s cubic-bezier(0.2, 0, 0, 1) infinite;
}

@keyframes float {
    0% {
        transform: translatey(0px);
    }
    50% {
        transform: translatey(-10px);
    }
    100% {
        transform: translatey(0px);
    }
}

/* Check list styles */
.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
}

.check-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.375rem;
    width: 1.25rem;
    height: 1.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230099CC'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

/* Image hover animation */
.img-hover-animation {
    transition: transform 0.3s ease;
}

.img-hover-animation:hover {
    transform: scale(1.05);
}

/* Video hover animation */
.video-hover-animation {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-hover-animation:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Testimonial carousel styling */
.testimonial-container {
    position: relative;
}

.testimonial-track {
    transition: transform 0.5s ease;
}

.testimonial-slide {
    flex: 0 0 100%;
}

.testimonial-navigation {
    margin-top: 1rem;
    z-index: 10;
}

.testimonial-arrow {
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.testimonial-arrow:hover {
    transform: scale(1.1);
    background-color: #f3f4f6;
}

/* Mail Tester Panel */
#mailTesterPanel {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

#mailTesterPanel:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#mailTesterDetails {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
}

#mailTesterDetails.hidden {
    max-height: 0;
    opacity: 0;
}

#mailTesterDetails:not(.hidden) {
    max-height: 200px;
    opacity: 1;
}

/* Benefit card hover effects */
.benefit-card {
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

/* Responsive fixes */
@media (max-width: 640px) {
    .testimonial-container {
        overflow: hidden;
    }

    .testimonial-slide {
        padding: 0.5rem;
    }
}

@media (min-width: 768px) {
    .testimonial-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .testimonial-slide {
        flex: 0 0 33.333%;
    }
}

/* S03 constrained glass design system: conversion-safe theme, motion, and mobile readability */
:root {
  color-scheme: light dark;
  --surface-page: #f7f8fb;
  --surface-card: #ffffff;
  --surface-muted: #eef4f8;
  --text-strong: #14171f;
  --text-body: #27313f;
  --text-muted: #5f6b7a;
  --border-subtle: rgba(20, 23, 31, 0.12);
  --primary-action: #0077a3;
  --primary-action-hover: #00628a;
  --secondary-action: #d66f00;
  --secondary-action-hover: #b85d00;
  --glass-bg: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-shadow: 0 22px 70px rgba(20, 23, 31, 0.14), 0 2px 8px rgba(20, 23, 31, 0.08);
  --glass-blur: 18px;
  --focus-ring: 0 0 0 3px rgba(0, 119, 163, 0.26);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface-page: #080f17;
    --surface-card: #111b26;
    --surface-muted: #172331;
    --text-strong: #f7fbff;
    --text-body: #dce8f2;
    --text-muted: #b6c5d3;
    --border-subtle: rgba(232, 241, 248, 0.18);
    --primary-action: #38bdf8;
    --primary-action-hover: #7dd3fc;
    --secondary-action: #ff9900;
    --secondary-action-hover: #ffb13d;
    --glass-bg: rgba(17, 27, 38, 0.76);
    --glass-border: rgba(255, 255, 255, 0.16);
    --glass-shadow: 0 24px 80px rgba(0, 0, 0, 0.48), 0 2px 10px rgba(0, 0, 0, 0.28);
    --focus-ring: 0 0 0 3px rgba(56, 189, 248, 0.32);
  }
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
  background: var(--surface-page);
  color: var(--text-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
}

:is(h1, h2, h3, h4, h5, h6) {
  color: var(--text-strong);
  letter-spacing: -0.025em;
}

:is(p, li, blockquote) {
  color: inherit;
}

/* Glass is intentionally constrained to the hero overlay, pricing cards, and statistic bar only. */
#mailTesterPanel,
#pricing .grid > .bg-white,
#testimonials .mt-16.py-8 {
  background: var(--glass-bg) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
  -webkit-backdrop-filter: saturate(150%) blur(var(--glass-blur));
  backdrop-filter: saturate(150%) blur(var(--glass-blur));
}

#pricing .grid > .bg-white,
#mailTesterPanel {
  color: var(--text-body) !important;
}

#pricing .grid > .bg-white :is(h3, #standard-price),
#mailTesterPanel :is(#mailTesterSummary span:first-child, #mailTesterDetails span:first-child) {
  color: var(--text-strong) !important;
}

#pricing .grid > .bg-white :is(p, li, span),
#mailTesterPanel :is(span, div),
#testimonials .mt-16.py-8 p {
  color: var(--text-body) !important;
}

#pricing .grid > .bg-white .text-gray-500,
#pricing .grid > .bg-white .text-gray-600,
#pricing .grid > .bg-white .text-gray-700 {
  color: var(--text-muted) !important;
}

#testimonials .mt-16.py-8 [id$='-counter'],
#email-counter,
#teams-counter,
#deliverability-counter,
#uptime-counter,
#standard-price,
#mailTesterSummary span:first-child,
#mailTesterDetails span:first-child {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "kern" 1;
}

:is(a, button, input, .btn-hover-effect, .testimonial-arrow, .feature-arrow, .img-hover-animation, .video-hover-animation, .card-hover, .benefit-card) {
  transition-property: color, background-color, border-color, box-shadow, opacity, transform, filter;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

:is(a, button, input):focus-visible {
  outline: 2px solid transparent;
  box-shadow: var(--focus-ring);
}

.btn-hover-effect:active,
button:active,
a[role='button']:active,
#pricing a.bg-secondary:active,
section a.bg-secondary:active {
  transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .btn-hover-effect:hover,
  #pricing a.bg-secondary:hover {
    transform: translateY(-2px);
  }

  .card-hover:hover,
  .benefit-card:hover {
    transform: translateY(-4px);
  }

  .img-hover-animation:hover,
  .video-hover-animation:hover {
    transform: translateY(-2px) scale(1.02);
  }

  .testimonial-arrow:hover,
  .feature-arrow:hover {
    transform: scale(1.08);
  }
}

@media (hover: none), (pointer: coarse) {
  .btn-hover-effect:hover,
  .card-hover:hover,
  .benefit-card:hover,
  .img-hover-animation:hover,
  .video-hover-animation:hover,
  .testimonial-arrow:hover,
  .feature-arrow:hover,
  #mailTesterPanel:hover {
    transform: none;
  }
}

#mailbox-slider {
  min-height: 32px;
  touch-action: pan-y;
}

#mailbox-slider::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -11px;
  border: 3px solid var(--surface-card);
  background: var(--primary-action);
}

#mailbox-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 3px solid var(--surface-card);
  background: var(--primary-action);
}

#mailbox-labels span.active,
.text-primary,
#testimonials .mt-16.py-8 [id$='-counter'] {
  color: var(--primary-action) !important;
}

@media (max-width: 390px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.65rem) !important;
    line-height: 1.05 !important;
  }

  h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.15rem) !important;
    line-height: 1.12 !important;
  }

  p,
  li,
  blockquote {
    font-size: 1rem;
    line-height: 1.65;
  }

  section a.bg-secondary,
  section a.border,
  .btn-hover-effect,
  #pricing a,
  #pricing button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  #pricing .grid,
  #testimonials .grid,
  .testimonial-track,
  .feature-carousel-track,
  #mailbox-slider-container,
  #mailTesterPanel {
    max-width: 100%;
  }

  #mailTesterPanel {
    right: 0.75rem !important;
    bottom: -1rem !important;
    padding: 0.875rem !important;
  }

  #mailbox-slider-container {
    padding-bottom: 0.5rem;
  }

  #mailbox-labels {
    gap: 0.25rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  #mailbox-labels::-webkit-scrollbar {
    display: none;
  }

  #mailbox-labels span {
    min-width: 2.25rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .float-animation,
  .pulse-animation,
  .bf-pulse-ring {
    animation: none !important;
  }
}



/* S04 purposeful motion polish: interaction-only transforms, fine-pointer hover gates, and reduced-motion fallbacks. */
[data-animate] {
  transition-property: opacity, transform;
  transition-duration: 600ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

[data-animate]:nth-of-type(2) { transition-delay: 60ms; }
[data-animate]:nth-of-type(3) { transition-delay: 120ms; }
[data-animate]:nth-of-type(4) { transition-delay: 180ms; }

@media (hover: hover) and (pointer: fine) {
  .btn-hover-effect:hover,
  .card-hover:hover,
  .benefit-card:hover,
  .img-hover-animation:hover,
  .video-hover-animation:hover,
  .testimonial-arrow:hover,
  .feature-arrow:hover,
  #mailTesterPanel:hover {
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate].in-view {
    opacity: 1 !important;
    transform: none !important;
    transition-property: opacity, color, background-color, border-color !important;
    transition-duration: 120ms !important;
  }
}


/* R05 theme toggle and no-tabs feature presentation */
body[data-theme="light"] {
  color-scheme: light;
  --surface-page: #f7f8fb;
  --surface-card: #ffffff;
  --surface-muted: #eef4f8;
  --text-strong: #14171f;
  --text-body: #27313f;
  --text-muted: #5f6b7a;
  --border-subtle: rgba(20, 23, 31, 0.12);
  --primary-action: #0077a3;
  --primary-action-hover: #00628a;
  --secondary-action: #d66f00;
  --secondary-action-hover: #b85d00;
}

body[data-theme="dark"] {
  color-scheme: dark;
  --surface-page: #080f17;
  --surface-card: #111b26;
  --surface-muted: #172331;
  --text-strong: #f7fbff;
  --text-body: #dce8f2;
  --text-muted: #b6c5d3;
  --border-subtle: rgba(232, 241, 248, 0.18);
  --primary-action: #38bdf8;
  --primary-action-hover: #7dd3fc;
  --secondary-action: #ff9900;
  --secondary-action-hover: #ffb13d;
}

body[data-theme="light"],
body[data-theme="dark"] {
  background: var(--surface-page) !important;
  color: var(--text-body) !important;
}

body[data-theme="dark"] :is(header, #mobile-menu, section.bg-white, .bg-white, .bg-gradient-to-br.from-light, .bg-gradient-to-br.from-blue-50) {
  background: var(--surface-card) !important;
  color: var(--text-body) !important;
}

body[data-theme="dark"] :is(.text-dark, .text-gray-900, .text-gray-800, h1, h2, h3, h4, h5, h6) {
  color: var(--text-strong) !important;
}

body[data-theme="dark"] :is(.text-gray-500, .text-gray-600, .text-gray-700, p, li, blockquote) {
  color: var(--text-body) !important;
}

body[data-theme="dark"] :is(.border-gray-200, .border-gray-100) {
  border-color: var(--border-subtle) !important;
}

/* Comparison table: dark-mode hover contrast fix */
body[data-theme="dark"] .comparison-table tbody tr:hover {
  background: var(--surface-muted) !important;
}

.theme-toggle-btn {
  min-width: 40px;
  min-height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--surface-muted) 74%, transparent);
  border: 1px solid var(--border-subtle);
  color: var(--text-strong) !important;
}

.theme-toggle-btn:active {
  transform: scale(0.96);
}

.roi-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.roi-rail-card,
.feature-showcase-card,
.feature-cta-panel {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 50px rgba(20, 23, 31, 0.08), 0 1px 2px rgba(20, 23, 31, 0.04);
  color: var(--text-body);
}

.roi-rail-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
}

.roi-rail-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 22px auto;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-action) 14%, transparent);
}

.roi-rail-card.is-featured {
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary-action) 16%, var(--surface-card)), var(--surface-card));
}

.roi-rail-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--primary-action);
  color: #f7fbff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.roi-rail-card h3,
.feature-showcase-card h3,
.feature-cta-panel h3 {
  color: var(--text-strong);
  text-wrap: balance;
}

.roi-rail-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.roi-rail-card p,
.feature-showcase-card p,
.feature-cta-panel p {
  color: var(--text-body) !important;
  text-wrap: pretty;
}

.roi-rail-card strong {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  color: var(--primary-action);
  font-size: 0.92rem;
}

.feature-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-showcase-card {
  border-radius: 24px;
  padding: 28px;
}

.feature-showcase-card-large {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 32px;
}

.feature-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary-action) 12%, transparent);
  color: var(--primary-action);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-showcase-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.18;
}

.feature-showcase-card-large h3 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.feature-showcase-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface-muted);
  box-shadow: 0 20px 60px rgba(20, 23, 31, 0.18);
  aspect-ratio: 16 / 9;
}

.feature-showcase-media iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.feature-proof-pill,
.tool-chip-grid span,
.feature-cost-stack div {
  background: var(--surface-muted);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
}

.feature-proof-pill {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text-strong);
}

.compact-list {
  margin-top: 18px;
}

.feature-cost-stack {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.feature-cost-stack div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border-radius: 16px;
}

.feature-cost-stack span {
  color: var(--text-muted);
}

.feature-cost-stack strong {
  color: var(--text-strong);
  font-variant-numeric: tabular-nums;
}

.tool-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.tool-chip-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 14px;
  font-weight: 700;
}

.feature-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
}

body[data-theme="dark"] .roi-rail-card,
body[data-theme="dark"] .feature-showcase-card,
body[data-theme="dark"] .feature-cta-panel {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

body[data-theme="dark"] .bg-primary.bg-opacity-10,
body[data-theme="dark"] .bg-primary.bg-opacity-20,
body[data-theme="dark"] .bg-secondary.bg-opacity-20 {
  background-color: color-mix(in srgb, var(--primary-action) 18%, transparent) !important;
}

@media (max-width: 1023px) {
  .roi-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-showcase-grid {
    grid-template-columns: 1fr;
  }

  .feature-showcase-card-large {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .feature-cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .roi-rail {
    grid-template-columns: 1fr;
  }

  .roi-rail-card {
    min-height: 230px;
  }

  .feature-showcase-card,
  .feature-showcase-card-large,
  .feature-cta-panel {
    padding: 22px;
    border-radius: 20px;
  }

  .feature-showcase-card-large h3 {
    font-size: 2.1rem;
  }
}


/* R06 dark-mode contrast repair for pricing comparison cards */
body[data-theme="dark"] #pricing .grid.grid-cols-1.lg\:grid-cols-3 > .bg-white {
  background: #0b1622 !important;
  color: #eef7ff !important;
  border: 1px solid rgba(232, 241, 248, 0.22) !important;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-theme="dark"] #pricing .grid.grid-cols-1.lg\:grid-cols-3 > .bg-white:nth-child(2) {
  background: linear-gradient(145deg, rgba(18, 38, 55, 0.98), rgba(11, 22, 34, 0.98)) !important;
  border-color: var(--secondary-action) !important;
}

body[data-theme="dark"] #pricing .grid.grid-cols-1.lg\:grid-cols-3 > .bg-white :is(h3, p, span) {
  color: #eef7ff !important;
}

body[data-theme="dark"] #pricing .grid.grid-cols-1.lg\:grid-cols-3 > .bg-white > p:first-child {
  color: #9edcff !important;
}

body[data-theme="dark"] #pricing .grid.grid-cols-1.lg\:grid-cols-3 > .bg-white:nth-child(2) > p:first-of-type {
  color: #ffbf66 !important;
}

body[data-theme="dark"] #pricing .grid.grid-cols-1.lg\:grid-cols-3 > .bg-white p:last-child {
  color: #d7e8f6 !important;
}


/* R07 dark-mode contrast repair for hero badge, pricing plan, and ROI calculator */
body[data-theme="dark"] .hero-contrast-badge,
body[data-theme="dark"] section:first-of-type p.inline-flex.bg-white\/80 {
  background: #102033 !important;
  color: #9edcff !important;
  border: 1px solid rgba(158, 220, 255, 0.34) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-theme="dark"] #pricing > .container > .max-w-6xl > .grid.grid-cols-1.md\:grid-cols-2 > .bg-white,
body[data-theme="dark"] #roi-calculator {
  background: #0b1622 !important;
  color: #eef7ff !important;
  border: 1px solid rgba(232, 241, 248, 0.22) !important;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-theme="dark"] #pricing > .container > .max-w-6xl > .grid.grid-cols-1.md\:grid-cols-2 > .bg-white :is(h3, p, span, li, div),
body[data-theme="dark"] #roi-calculator :is(h3, h4, p, label, span, div, li) {
  color: #d7e8f6 !important;
}

body[data-theme="dark"] #pricing > .container > .max-w-6xl > .grid.grid-cols-1.md\:grid-cols-2 > .bg-white :is(h3, #standard-price),
body[data-theme="dark"] #roi-calculator :is(h3, h4, .font-semibold, #emails-per-day, #emails-per-month, #replies, #positive-replies, #sales-calls, #attendees, #sales-per-month, #total-sales) {
  color: #f7fbff !important;
}

body[data-theme="dark"] #pricing > .container > .max-w-6xl > .grid.grid-cols-1.md\:grid-cols-2 > .bg-white .bg-blue-100,
body[data-theme="dark"] #roi-calculator .bg-primary.bg-opacity-10 {
  background: rgba(56, 189, 248, 0.18) !important;
  color: #9edcff !important;
  border: 1px solid rgba(158, 220, 255, 0.28) !important;
}

body[data-theme="dark"] #pricing > .container > .max-w-6xl > .grid.grid-cols-1.md\:grid-cols-2 > .bg-white .bg-gray-50,
body[data-theme="dark"] #roi-calculator :is(.border-gray-100, .border-gray-300),
body[data-theme="dark"] #roi-calculator .slider-track {
  background: #142538 !important;
  border-color: rgba(232, 241, 248, 0.22) !important;
}

body[data-theme="dark"] #roi-calculator input,
body[data-theme="dark"] #pricing-toggle {
  background-color: #102033 !important;
  border-color: rgba(158, 220, 255, 0.32) !important;
  color: #f7fbff !important;
}

body[data-theme="dark"] #roi-calculator .text-danger-color,
body[data-theme="dark"] #roi-calculator .text-ok-color,
body[data-theme="dark"] #roi-calculator #total-sales {
  color: #ffbf66 !important;
}

body[data-theme="dark"] #roi-calculator .group-hover\:block {
  background: #050b12 !important;
  color: #f7fbff !important;
}


/* R08 dark-mode contrast repair for social-proof statistics band */
body[data-theme="dark"] #testimonials .mt-16.py-8.bg-gray-50 {
  background: #0b1622 !important;
  color: #eef7ff !important;
  border: 1px solid rgba(232, 241, 248, 0.22) !important;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body[data-theme="dark"] #testimonials .mt-16.py-8.bg-gray-50 [id$='-counter'] {
  color: #9edcff !important;
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.18);
}

body[data-theme="dark"] #testimonials .mt-16.py-8.bg-gray-50 p {
  color: #d7e8f6 !important;
}

/* R09 dark-mode contrast repair for comparison page scaling model banners */
body[data-theme="dark"] .bg-blue-50 {
  background: rgba(56, 189, 248, 0.14) !important;
  border-color: rgba(56, 189, 248, 0.28) !important;
  color: #d7e8f6 !important;
}

body[data-theme="dark"] .bg-blue-50 .text-primary {
  color: #7dd3fc !important;
}

body[data-theme="dark"] .bg-blue-50 .text-dark {
  color: #d7e8f6 !important;
}

body[data-theme="dark"] .bg-blue-50 .text-gray-500 {
  color: #9edcff !important;
}

body[data-theme="dark"] .bg-red-50 {
  background: rgba(248, 113, 113, 0.14) !important;
  border-color: rgba(248, 113, 113, 0.28) !important;
  color: #fce8e8 !important;
}

body[data-theme="dark"] .bg-red-50 .text-red-600 {
  color: #fca5a5 !important;
}

body[data-theme="dark"] .bg-red-50 .text-dark {
  color: #fce8e8 !important;
}

body[data-theme="dark"] .bg-red-50 .text-gray-500 {
  color: #fbbfbf !important;
}

body[data-theme="dark"] .bg-red-50 .text-gray-700 {
  color: #fce8e8 !important;
}

/* ============================
   R10: Exit Intent Popup
   ============================ */

/* ---- Overlay ---- */
.ei-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.ei-overlay.ei-visible {
  opacity: 1;
  visibility: visible;
}

/* ---- Dialog ---- */
.ei-dialog {
  background: #ffffff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 24px 24px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.ei-overlay.ei-visible .ei-dialog {
  transform: translateY(0) scale(1);
}

/* ---- Close ---- */
.ei-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.ei-close:hover {
  background: #f3f4f6;
  color: #333;
}

/* ---- Icon wrap ---- */
.ei-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.ei-gift-icon {
  width: 48px;
  height: 48px;
  color: #FF9900;
}

/* ---- Typography ---- */
.ei-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
  color: #333;
}
.ei-sub {
  font-size: 0.875rem;
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

/* ---- Options (Step 1) ---- */
.ei-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.ei-option {
  display: block;
  cursor: pointer;
}
.ei-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.ei-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.ei-option input:checked + .ei-option-card {
  border-color: #0099CC;
  background: rgba(0,153,204,0.06);
}
.ei-option-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.ei-option-card strong {
  display: block;
  font-size: 0.95rem;
  color: #333;
}
.ei-option-card small {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 2px;
}

/* ---- Buttons ---- */
.ei-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.ei-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ei-btn-primary {
  background: #0099CC;
  color: #fff;
  width: 100%;
}
.ei-btn-primary:hover:not(:disabled) {
  background: #007ea8;
}
.ei-btn-full {
  width: 100%;
}

/* ---- No thanks / Back link ---- */
.ei-no-thanks,
.ei-back {
  text-align: center;
  font-size: 0.82rem;
  color: #999;
  cursor: pointer;
  margin-top: 14px;
  transition: color 0.15s;
}
.ei-no-thanks:hover,
.ei-back:hover {
  color: #666;
}

/* ---- Form (Step 2) ---- */
.ei-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ei-field {
  position: relative;
}
.ei-field input {
  width: 100%;
  padding: 14px 12px 10px 12px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.ei-field input:focus {
  outline: none;
  border-color: #0099CC;
}
.ei-field input:focus + label,
.ei-field input:not(:placeholder-shown) + label {
  transform: translateY(-8px) scale(0.78);
  color: #0099CC;
}
.ei-field label {
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 0.9rem;
  color: #999;
  pointer-events: none;
  transition: transform 0.15s, color 0.15s;
  transform-origin: left top;
  background: #fff;
  padding: 0 4px;
}
.ei-field input:not(:placeholder-shown) + label {
  color: #777;
}
.ei-error {
  display: none;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
}
.ei-field.ei-has-error input {
  border-color: #ef4444;
}
.ei-field.ei-has-error .ei-error {
  display: block;
}

/* ---- Spinner ---- */
.ei-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ei-spin 0.6s linear infinite;
}
@keyframes ei-spin {
  to { transform: rotate(360deg); }
}

/* ---- Success / Error steps ---- */
.ei-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.ei-error-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

/* ============================
   R10-DARK: Exit Intent Dark Mode
   ============================ */
body[data-theme="dark"] .ei-dialog {
  background: #1a1d23;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
}
body[data-theme="dark"] .ei-title {
  color: #e4ecf4;
}
body[data-theme="dark"] .ei-sub {
  color: #9eb8cf;
}
body[data-theme="dark"] .ei-close {
  color: #667a8c;
}
body[data-theme="dark"] .ei-close:hover {
  background: rgba(255,255,255,0.08);
  color: #d7e8f6;
}
body[data-theme="dark"] .ei-option-card {
  border-color: #364452;
  background: #1e2228;
}
body[data-theme="dark"] .ei-option input:checked + .ei-option-card {
  border-color: #38bdf8;
  background: rgba(56,189,248,0.1);
}
body[data-theme="dark"] .ei-option-card strong {
  color: #d7e8f6;
}
body[data-theme="dark"] .ei-option-card small {
  color: #7e96ae;
}
body[data-theme="dark"] .ei-no-thanks,
body[data-theme="dark"] .ei-back {
  color: #667a8c;
}
body[data-theme="dark"] .ei-no-thanks:hover,
body[data-theme="dark"] .ei-back:hover {
  color: #9eb8cf;
}
body[data-theme="dark"] .ei-field input {
  background: #1a1d23;
  color: #d7e8f6;
  border-color: #364452;
}
body[data-theme="dark"] .ei-field input:focus {
  border-color: #38bdf8;
}
body[data-theme="dark"] .ei-field label {
  background: #1a1d23;
  color: #667a8c;
}
body[data-theme="dark"] .ei-field input:focus + label,
body[data-theme="dark"] .ei-field input:not(:placeholder-shown) + label {
  color: #38bdf8;
}
body[data-theme="dark"] .ei-field input:not(:placeholder-shown) + label {
  color: #7e96ae;
}
