:root {
  --enfasis-surface: #0b0b22;
  --enfasis-surface-2: rgba(12, 18, 44, 0.88);
  --enfasis-border: rgba(125, 140, 255, 0.18);
  --enfasis-text: #f8fafc;
  --enfasis-muted: #9ca3c7;
  --enfasis-primary: #5ee7ff;
  --enfasis-secondary: #9b8cff;
  --enfasis-success: #34d399;
  --enfasis-warning: #f59e0b;
  --enfasis-danger: #fb7185;
  --enfasis-shadow: 0 32px 90px rgba(2, 6, 23, 0.38);
}

body.enfasis-react-quote-page {
  background:
    radial-gradient(circle at top left, rgba(94, 231, 255, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(155, 140, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #060615 0%, #09091d 48%, #070714 100%);
  color: var(--enfasis-text);
}

body.enfasis-react-quote-page #root {
  min-height: 100vh;
}

.enfasis-quote-app {
  min-height: 100vh;
  color: var(--enfasis-text);
}

.enfasis-quote-app__header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 25, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.enfasis-quote-app__header-inner,
.enfasis-quote-app__footer-inner,
.enfasis-quote-app__main {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
}

.enfasis-quote-app__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
}

.enfasis-quote-app__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.enfasis-quote-app__brand img {
  height: 42px;
  width: auto;
  display: block;
}

.enfasis-quote-app__brand-copy {
  display: grid;
  gap: 2px;
}

.enfasis-quote-app__brand-copy strong {
  font-size: 0.98rem;
  font-weight: 700;
}

.enfasis-quote-app__brand-copy small {
  color: var(--enfasis-muted);
  font-size: 0.76rem;
}

.enfasis-quote-app__nav,
.enfasis-quote-app__header-actions,
.enfasis-quote-app__button-row,
.enfasis-quote-app__button-stack,
.enfasis-quote-app__footer-links,
.enfasis-quote-app__pill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.enfasis-quote-app__nav a,
.enfasis-quote-app__footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.96rem;
  transition: color 160ms ease;
}

.enfasis-quote-app__nav a:hover,
.enfasis-quote-app__footer-links a:hover {
  color: var(--enfasis-primary);
}

.enfasis-quote-app__ghost,
.enfasis-quote-app__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.enfasis-quote-app__ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--enfasis-text);
}

.enfasis-quote-app__ghost:hover,
.enfasis-quote-app__cta:hover {
  transform: translateY(-1px);
}

.enfasis-quote-app__ghost.is-danger {
  color: #fecaca;
  border-color: rgba(251, 113, 133, 0.22);
}

.enfasis-quote-app__cta {
  background: linear-gradient(135deg, var(--enfasis-primary), var(--enfasis-secondary));
  color: #09101b;
  box-shadow: 0 18px 50px rgba(94, 231, 255, 0.18);
}

.enfasis-quote-app__main {
  padding: 56px 0 72px;
}

.enfasis-quote-app__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  gap: 24px;
  margin-bottom: 28px;
}

.enfasis-quote-app__hero-copy,
.enfasis-quote-app__hero-meta,
.enfasis-quote-app__panel,
.enfasis-quote-app__stat-card,
.enfasis-quote-app__state {
  background: linear-gradient(180deg, rgba(14, 18, 44, 0.92), rgba(9, 12, 31, 0.94));
  border: 1px solid var(--enfasis-border);
  border-radius: 28px;
  box-shadow: var(--enfasis-shadow);
}

.enfasis-quote-app__hero-copy {
  padding: 38px 38px 34px;
}

.enfasis-quote-app__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--enfasis-primary);
  font-size: 0.72rem;
  font-weight: 700;
}

.enfasis-quote-app__hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 0.96;
  font-weight: 900;
}

.enfasis-quote-app__hero-highlight {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  padding: 10px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(94, 231, 255, 0.32), rgba(155, 140, 255, 0.32));
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  color: #9fd5ff;
}

.enfasis-quote-app__hero-copy p,
.enfasis-quote-app__hero-meta p,
.enfasis-quote-app__muted,
.enfasis-quote-app__lead,
.enfasis-quote-app__item-copy p,
.enfasis-quote-app__step p,
.enfasis-quote-app__extra-copy span {
  color: var(--enfasis-muted);
  line-height: 1.7;
}

.enfasis-quote-app__hero-meta {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.enfasis-quote-app__hero-meta strong,
.enfasis-quote-app__panel h2,
.enfasis-quote-app__panel h3,
.enfasis-quote-app__state strong {
  font-size: 1.35rem;
  margin: 0;
  font-weight: 800;
}

.enfasis-quote-app__tag {
  --tag-color: var(--enfasis-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--tag-color) 14%, transparent);
  color: var(--tag-color);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 800;
}

.enfasis-quote-app__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.enfasis-quote-app__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.enfasis-quote-app__stat-card {
  padding: 20px 22px;
}

.enfasis-quote-app__stat-card span {
  display: block;
  color: var(--enfasis-muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.enfasis-quote-app__stat-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.enfasis-quote-app__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.enfasis-quote-app__content,
.enfasis-quote-app__sidebar {
  display: grid;
  gap: 18px;
}

.enfasis-quote-app__panel {
  padding: 28px;
}

.enfasis-quote-app__panel.is-sticky {
  position: sticky;
  top: 108px;
}

.enfasis-quote-app__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.enfasis-quote-app__summary-line,
.enfasis-quote-app__grid article,
.enfasis-quote-app__grid > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.enfasis-quote-app__summary-line:last-child,
.enfasis-quote-app__grid > div:last-child {
  border-bottom: 0;
}

.enfasis-quote-app__summary-line span,
.enfasis-quote-app__grid span {
  color: var(--enfasis-muted);
}

.enfasis-quote-app__summary-line strong,
.enfasis-quote-app__grid strong {
  text-align: right;
}

.enfasis-quote-app__pill-row span,
.enfasis-quote-app__status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
}

.enfasis-quote-app__sales-points,
.enfasis-quote-app__steps,
.enfasis-quote-app__item-list,
.enfasis-quote-app__extras-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.enfasis-quote-app__sales-point,
.enfasis-quote-app__step,
.enfasis-quote-app__item-card,
.enfasis-quote-app__extra-option,
.enfasis-quote-app__state {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.enfasis-quote-app__sales-point,
.enfasis-quote-app__step,
.enfasis-quote-app__item-card,
.enfasis-quote-app__extra-option {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.enfasis-quote-app__step span:first-child,
.enfasis-quote-app__item-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(94, 231, 255, 0.1);
}

.enfasis-quote-app__item-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.enfasis-quote-app__item-copy strong,
.enfasis-quote-app__sales-point strong,
.enfasis-quote-app__extra-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.enfasis-quote-app__item-copy small,
.enfasis-quote-app__sales-point small,
.enfasis-quote-app__extra-copy small {
  color: #cbd5e1;
  display: block;
}

.enfasis-quote-app__bullet-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.enfasis-quote-app__bullet-list.is-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.enfasis-quote-app__bullet-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
}

.enfasis-quote-app__field {
  display: grid;
  gap: 8px;
}

.enfasis-quote-app__field span {
  font-size: 0.9rem;
  font-weight: 700;
}

.enfasis-quote-app__field textarea {
  min-height: 118px;
  resize: vertical;
}

.enfasis-quote-app__field textarea,
.enfasis-quote-app__extra-option {
  width: 100%;
}

.enfasis-quote-app__field textarea,
.enfasis-quote-app__header input,
.enfasis-quote-app__header textarea {
  background: rgba(8, 10, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--enfasis-text);
  border-radius: 18px;
  padding: 15px 16px;
  font: inherit;
}

.enfasis-quote-app__extra-option {
  cursor: pointer;
}

.enfasis-quote-app__extra-option input {
  margin-top: 6px;
}

.enfasis-quote-app__status-badge.is-success {
  color: #9ff7c9;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.24);
}

.enfasis-quote-app__status-badge.is-warning {
  color: #f7d48a;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.24);
}

.enfasis-quote-app__status-badge.is-danger {
  color: #fecaca;
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.24);
}

.enfasis-quote-app__status-badge.is-info {
  color: #b6e4ff;
  background: rgba(94, 231, 255, 0.12);
  border-color: rgba(94, 231, 255, 0.22);
}

.enfasis-quote-app__meta-block {
  display: grid;
  gap: 6px;
  padding-top: 16px;
}

.enfasis-quote-app__next-step {
  margin: 10px 0 2px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.enfasis-quote-app__state {
  max-width: 560px;
  margin: 80px auto;
  justify-items: center;
  text-align: center;
}

.enfasis-quote-app__spinner {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--enfasis-primary);
  animation: enfasis-spin 0.8s linear infinite;
}

.enfasis-quote-app__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0 32px;
}

.enfasis-quote-app__footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--enfasis-muted);
}

@keyframes enfasis-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .enfasis-quote-app__hero,
  .enfasis-quote-app__layout {
    grid-template-columns: 1fr;
  }

  .enfasis-quote-app__panel.is-sticky {
    position: static;
  }

  .enfasis-quote-app__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .enfasis-quote-app__header-inner,
  .enfasis-quote-app__footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .enfasis-quote-app__nav {
    display: none;
  }

  .enfasis-quote-app__header-actions {
    width: 100%;
  }

  .enfasis-quote-app__header-actions .enfasis-quote-app__ghost,
  .enfasis-quote-app__header-actions .enfasis-quote-app__cta {
    flex: 1 1 calc(33.333% - 8px);
  }

  .enfasis-quote-app__hero-copy,
  .enfasis-quote-app__hero-meta,
  .enfasis-quote-app__panel {
    padding: 24px;
  }

  .enfasis-quote-app__grid,
  .enfasis-quote-app__bullet-list.is-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .enfasis-quote-app__main,
  .enfasis-quote-app__header-inner,
  .enfasis-quote-app__footer-inner {
    width: min(100vw - 24px, 1240px);
  }

  .enfasis-quote-app__stats {
    grid-template-columns: 1fr;
  }

  .enfasis-quote-app__header-actions .enfasis-quote-app__ghost,
  .enfasis-quote-app__header-actions .enfasis-quote-app__cta {
    flex: 1 1 100%;
  }

  .enfasis-quote-app__item-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
