/* Base typography (moved from inline <style> for stricter CSP) */
:root {
  --ep-scrollbar-thumb: #060024; /* primary-900 */
  --ep-scrollbar-thumb-hover: #14005c; /* primary-800 */
  --ep-scrollbar-track: #f4f4f5;
  --ep-scrollbar-size: 6px;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #3f3f46;
}
@media (min-width: 768px) {
  body {
    font-size: 1rem;
  }
}

/* Site-wide scrollbars — narrow, rounded, brand dark */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--ep-scrollbar-thumb) var(--ep-scrollbar-track);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--ep-scrollbar-thumb) var(--ep-scrollbar-track);
}

*::-webkit-scrollbar {
  width: var(--ep-scrollbar-size);
  height: var(--ep-scrollbar-size);
}

*::-webkit-scrollbar-track {
  background: var(--ep-scrollbar-track);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background-color: var(--ep-scrollbar-thumb);
  border-radius: 999px;
  border: 1px solid var(--ep-scrollbar-track);
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: var(--ep-scrollbar-thumb-hover);
}

*::-webkit-scrollbar-corner {
  background: var(--ep-scrollbar-track);
  border-radius: 999px;
}

/* Opt out where a carousel should stay scrollbar-free */
.ep-no-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ep-no-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.product-card {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(10px);
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Site shell — sticky footer without a gray gap above the footer on short pages */
.ep-site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.ep-site-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Page roots grow to fill main so their background reaches the footer */
.ep-site-main > section,
.ep-site-main > article,
.ep-site-main > #home-page-root,
.ep-site-main > #collection-container {
  flex: 1 1 auto;
}

.ep-site-main > article {
  background-color: #fff;
}

.ep-site-main > div:first-child:not(.hidden):not([id]) {
  flex: 1 1 auto;
  background-color: #fafafa;
}

#home-page-root {
  display: flex;
  flex-direction: column;
}

#home-page-root > section:last-child {
  flex: 1 1 auto;
}

/* Top-aligned page layout (quote, account flows) — content starts below header, not vertically centered */
.ep-page-top {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.ep-page-top--white {
  background-color: #fff;
}

/* Section rhythm — responsive vertical padding */
.section-pad,
.ep-page-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .section-pad,
  .ep-page-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* === Design system: typography, layout, surfaces (max radius: 6px / rounded-md) === */
.ep-container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.ep-page-header {
  text-align: left;
}

.ep-page-title {
  font-size: clamp(1.25rem, 0.5rem + 2.5vw, 1.875rem);
  line-height: 1.25;
  font-weight: 700;
  color: #060024;
  letter-spacing: -0.02em;
}

.ep-hero-title {
  font-size: clamp(1.5rem, 0.75rem + 2.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}

.ep-catalog-page-header {
  text-align: left;
}

.ep-section-title {
  font-size: clamp(1.0625rem, 0.4rem + 1.5vw, 1.5rem);
  line-height: 1.3;
  font-weight: 700;
  color: #060024;
}

.ep-card-title {
  font-size: clamp(0.9375rem, 0.35rem + 0.8vw, 1.125rem);
  line-height: 1.35;
  font-weight: 600;
  color: #060024;
}

.ep-lead {
  font-size: clamp(0.875rem, 0.2rem + 0.9vw, 1.0625rem);
  line-height: 1.6;
  color: #52525b;
}

.ep-lead-on-dark {
  font-size: clamp(0.9375rem, 0.25rem + 0.9vw, 1.125rem);
  line-height: 1.6;
  color: #f4f4f5;
}

.ep-stat-value {
  font-size: clamp(1.0625rem, 0.35rem + 1.2vw, 1.375rem);
  line-height: 1.2;
  font-weight: 700;
  color: #060024;
}

.ep-body {
  font-size: clamp(0.875rem, 0.15rem + 0.5vw, 1rem);
  line-height: 1.65;
  color: #3f3f46;
}

.ep-text-sm {
  font-size: clamp(0.75rem, 0.1rem + 0.35vw, 0.875rem);
  line-height: 1.5;
}

.ep-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #3f3f46;
  margin-bottom: 0.375rem;
}

.ep-card {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.375rem;
}

.ep-input,
.ep-select {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #060024;
  background-color: #fff;
  border: 1px solid #d4d4d4;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ep-input:focus,
.ep-select:focus {
  outline: none;
  border-color: #060024;
  box-shadow: 0 0 0 2px rgba(6, 0, 36, 0.12);
}

.ep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 0.375rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ep-btn-primary {
  background-color: #060024;
  color: #fff;
}
.ep-btn-primary:hover {
  background-color: #14005c;
}

.ep-btn-secondary {
  background-color: #fff;
  color: #060024;
  border: 1px solid #d4d4d4;
}
.ep-btn-secondary:hover {
  background-color: #eff6ff;
  border-color: #060024;
}

.ep-tag {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 0.375rem;
}

@media (max-width: 767px) {
  .ep-catalog-section.section-pad,
  .ep-catalog-section.ep-page-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Scroll reveal — disabled when user prefers reduced motion */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* AJAX list loading overlay */
.list-grid-loader {
  pointer-events: none;
}
.list-grid-loader .ep-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #e2e8f0;
  border-top-color: #060024;
  border-radius: 50%;
  animation: ep-spin 0.7s linear infinite;
}
@keyframes ep-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .list-grid-loader .ep-spinner {
    animation: none;
    border-top-color: #060024;
  }
}

/* ------------------------------------------------------------------ */
/* Card skeleton loaders (shimmer)                                     */
/* ------------------------------------------------------------------ */
.ep-skel {
  background: linear-gradient(
    90deg,
    #f1f5f9 0%,
    #e8edf3 38%,
    #f8fafc 50%,
    #e8edf3 62%,
    #f1f5f9 100%
  );
  background-size: 200% 100%;
  animation: ep-shimmer 1.35s ease-in-out infinite;
}
@keyframes ep-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ep-skel {
    animation: none;
    background: #f1f5f9;
  }
}

.ep-skeleton-grid {
  min-height: 12rem;
}

.ep-skeleton-card {
  pointer-events: none;
  user-select: none;
}

/* Content fade-in after skeleton swap */
.ep-card-enter {
  animation: ep-card-in 0.4s ease forwards;
  opacity: 0;
}
@keyframes ep-card-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ep-card-enter {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Honeypot — hidden from users, visible to bots */
.ep-honeypot,
.ep-honeypot-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Mobile sticky conversion bar */
body.ep-modal-open {
  overflow: hidden;
}

/* Top utility strip — explicit light links (primary-100 is not in the theme) */
.ep-top-strip a,
.ep-top-strip button {
  color: rgba(255, 255, 255, 0.88);
}
.ep-top-strip a:hover,
.ep-top-strip button:hover {
  color: #ffffff;
}

/* Save-to-collection (favorites) — visible on swatches and product images */
.ep-save-btn {
  cursor: pointer;
}
.ep-save-btn .heart-icon svg {
  display: block;
}
.ep-save-btn[data-is-saved='true'] {
  color: #dc2626;
}

/* Modal inputs — no heavy focus ring/outline (keyboard users: subtle border only) */
.ep-modal-input,
.ep-modal-input:focus,
.ep-modal-input:focus-visible {
  outline: none;
  box-shadow: none;
}
.ep-modal-input:focus,
.ep-modal-input:focus-visible {
  border-color: #060024;
}

#live-search-input.ep-modal-input:focus,
#live-search-input.ep-modal-input:focus-visible {
  border-color: transparent;
}

/* Quick inquiry — scrollable body, fixed header/footer on small screens */
.ep-quick-inquiry-panel {
  width: 100%;
}
@media (max-width: 639px) {
  .ep-quick-inquiry-panel {
    max-height: min(92dvh, 100%);
  }
}

/* Accessible focus — visible keyboard focus without mouse outline noise */
.ep-focus-ring:focus {
  outline: none;
}
.ep-focus-ring:focus-visible {
  outline: 2px solid #060024;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}
.color-btn:focus-visible,
.size-btn:focus-visible,
.category-btn:focus-visible {
  outline: 2px solid #060024;
  outline-offset: 2px;
  z-index: 1;
}

/* Improved contrast for muted text on light backgrounds */
.text-neutral-500 {
  color: #52525b;
}
.text-primary-200 {
  color: #c7d7fe;
}

/* Color detail — shop products drawer */
.ep-color-drawer-overlay {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ep-color-drawer-overlay.is-visible {
  opacity: 1;
}
.ep-color-drawer-panel {
  transform: translate3d(100%, 0, 0);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  pointer-events: none;
}
.ep-color-drawer-panel.is-open {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.ep-color-drawer-overlay:not(.is-visible) {
  pointer-events: none;
}
body.ep-drawer-scroll-lock {
  overflow: hidden;
}
.ep-drawer-save-btn.is-saved {
  color: #ef4444;
  border-color: #fecaca;
  background-color: #fef2f2;
}
@media (prefers-reduced-motion: reduce) {
  .ep-color-drawer-overlay,
  .ep-color-drawer-panel {
    transition-duration: 0.01ms;
  }
}

/* Mobile navigation drawer (slides in from left; must sit outside sticky header) */
@media (min-width: 768px) {
  #mobile-nav-overlay,
  #mobile-nav-panel {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .ep-nav-drawer-overlay:not(.hidden) {
    display: block;
  }
  .ep-nav-drawer-panel:not(.hidden) {
    display: flex;
    flex-direction: column;
  }
}
.ep-nav-drawer-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.ep-nav-drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.ep-nav-drawer-panel {
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  background: #fff;
  box-shadow: 4px 0 32px rgba(6, 0, 36, 0.14);
}
.ep-nav-drawer-panel.is-open {
  transform: translate3d(0, 0, 0);
}
.ep-nav-drawer-header {
  background: linear-gradient(180deg, #faf9fc 0%, #fff 100%);
  border-bottom: 2px solid #060024;
}
.ep-nav-drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #525252;
  border-radius: 0.375rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ep-nav-drawer-close:hover {
  background: rgba(6, 0, 36, 0.06);
  color: #060024;
}
.ep-nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 0.75rem 0 1rem;
}
.ep-nav-drawer-section-label {
  padding: 0.5rem 1.25rem 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #737373;
}
.ep-nav-drawer-divider {
  margin: 0.5rem 1.25rem;
  border: 0;
  border-top: 1px solid #e5e5e5;
}
.ep-mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0.75rem;
  padding: 0.8125rem 1rem;
  font-weight: 500;
  color: #262626;
  border-radius: 0.375rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.ep-mobile-nav-link:hover {
  background: rgba(6, 0, 36, 0.05);
  color: #060024;
}
.ep-mobile-nav-link--main {
  font-size: 1rem;
  font-weight: 600;
}
.ep-mobile-nav-link--more {
  font-size: 0.875rem;
}
.ep-mobile-nav-link-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #060024;
  opacity: 0.75;
}
.ep-mobile-nav-link:hover .ep-mobile-nav-link-icon {
  opacity: 1;
}
.ep-nav-drawer-footer {
  flex-shrink: 0;
  padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: #f5f4f8;
  border-top: 2px solid #060024;
  box-shadow: 0 -6px 20px rgba(6, 0, 36, 0.07);
}
.ep-nav-drawer-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.875rem 1rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 0.375rem;
}
.ep-nav-drawer-user-avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #060024;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}
.ep-nav-drawer-user-meta {
  min-width: 0;
  flex: 1;
}
.ep-nav-drawer-user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #171717;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-nav-drawer-user-email {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  color: #737373;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ep-nav-drawer-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ep-nav-drawer-footer-actions--auth {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}
.ep-nav-drawer-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 0.375rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ep-nav-drawer-footer-btn--profile {
  width: 100%;
  color: #060024;
  background: #fff;
  border: 1px solid rgba(6, 0, 36, 0.18);
}
.ep-nav-drawer-footer-btn--profile:hover {
  background: rgba(6, 0, 36, 0.04);
  border-color: rgba(6, 0, 36, 0.35);
}
.ep-nav-drawer-footer-btn--logout {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
  color: #dc2626;
  background: #fff;
  border: 1px solid #fecaca;
}
.ep-nav-drawer-footer-btn--logout:hover {
  background: #fef2f2;
  border-color: #fca5a5;
}
.ep-nav-drawer-footer-btn--guest {
  width: 100%;
}
.ep-mobile-nav-link:focus-visible,
.ep-nav-drawer-close:focus-visible,
.ep-nav-drawer-footer-btn:focus-visible {
  outline: 2px solid #060024;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .ep-nav-drawer-overlay,
  .ep-nav-drawer-panel {
    transition-duration: 0.01ms;
  }
}

/* Catalog list pages — left-aligned headers & compact cards on small screens */
.ep-catalog-section .ep-catalog-page-header,
.ep-catalog-section .ep-catalog-page-header h1,
.ep-catalog-section .ep-catalog-page-header p {
  text-align: left;
}
.ep-catalog-section .ep-catalog-filters,
.ep-catalog-section .ep-catalog-filter-pills {
  justify-content: flex-start;
}
@media (max-width: 767px) {
  .ep-catalog-section.section-pad {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .ep-catalog-section .ep-catalog-grid {
    gap: 0.625rem;
  }
  .ep-catalog-section .ep-catalog-filters .filter-select-wrapper {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 8.5rem;
  }
  .ep-catalog-section .ep-catalog-filters .filter-select {
    width: 100%;
  }
  .ep-catalog-section .ep-catalog-filter-pills a,
  .ep-catalog-section .ep-catalog-filter-pills button {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  .ep-catalog-section .ep-catalog-card .ep-save-btn {
    top: 0.375rem;
    right: 0.375rem;
    padding: 0.375rem;
  }
  .ep-catalog-section .ep-catalog-card .ep-save-btn svg {
    width: 1rem;
    height: 1rem;
  }
  .ep-catalog-section .ep-catalog-code {
    bottom: 0.375rem;
    left: 0.375rem;
    padding: 0.125rem 0.5rem;
  }
  .ep-catalog-section .ep-catalog-code span {
    font-size: 0.625rem;
  }
  .ep-catalog-section #ideas-grid .ep-catalog-card .flex-wrap .ep-catalog-tag:nth-child(n+4) {
    display: none;
  }
}

/* Authentication pages — centered, minimal, placeholder-driven */
.ep-auth-page {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  text-align: center;
  background-color: #fff;
}
.ep-auth-container {
  width: 100%;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.ep-auth-container .ep-page-title {
  text-align: center;
}
.ep-auth-lead {
  margin-top: 0.625rem;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(0.875rem, 0.2rem + 0.85vw, 0.9375rem);
  line-height: 1.55;
  color: #737373;
}
.ep-auth-messages {
  margin-top: 1.25rem;
  text-align: center;
}
.ep-auth-messages .ep-auth-alert + .ep-auth-alert {
  margin-top: 0.5rem;
}
.ep-auth-form {
  margin-top: 1.75rem;
  text-align: center;
}
.ep-auth-form .ep-auth-field + .ep-auth-field {
  margin-top: 0.875rem;
}
.ep-auth-input,
.ep-auth-form input.ep-input:not([type="checkbox"]),
.ep-auth-form textarea.ep-input {
  text-align: left;
}
.ep-auth-input::placeholder,
.ep-auth-form input::placeholder,
.ep-auth-form textarea::placeholder {
  text-align: left;
}
.ep-auth-field-error {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  color: #dc2626;
  text-align: center;
}
.ep-auth-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #060024;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ep-auth-link:hover {
  color: #14005c;
}
.ep-auth-password-wrap {
  position: relative;
}
.ep-auth-password-wrap .ep-auth-input {
  padding-right: 2.75rem;
  text-align: left;
}
.ep-auth-form textarea.ep-auth-input {
  text-align: left;
  resize: vertical;
  min-height: 4.5rem;
}
.ep-auth-password-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #737373;
  border-radius: 0.375rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.ep-auth-password-toggle:hover {
  color: #060024;
  background: rgba(6, 0, 36, 0.05);
}
.ep-auth-alert {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  border: 1px solid transparent;
}
.ep-auth-alert--error {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}
.ep-auth-alert--success {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.ep-auth-alert--info {
  color: #1e3a5f;
  background: #eff6ff;
  border-color: #bfdbfe;
}
.ep-auth-footer {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: #525252;
  text-align: center;
}
.ep-auth-footer a {
  font-weight: 600;
  color: #060024;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ep-auth-footer a:hover {
  color: #14005c;
}
.ep-auth-terms {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #737373;
  text-align: left;
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
}
.ep-auth-terms a {
  font-weight: 600;
  color: #060024;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ep-auth-otp-input {
  text-align: center;
}
.ep-auth-otp-input::placeholder {
  text-align: center;
}
.ep-auth-otp-hint {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  color: #a3a3a3;
}
.ep-auth-step-badge {
  display: inline-block;
  margin-bottom: 0.625rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #060024;
  background: rgba(6, 0, 36, 0.06);
  border-radius: 0.375rem;
}

/* Site footer — tighter vertical rhythm on mobile */
@media (max-width: 767px) {
  .ep-site-footer > .container {
    padding-top: 2.5rem;
    padding-bottom: 1rem;
  }
  .ep-site-footer .grid {
    gap: 2rem;
  }
  .ep-site-footer h4.ep-card-title {
    margin-bottom: 0.75rem;
  }
  .ep-site-footer ul.space-y-3 {
    gap: 0.5rem;
  }
  .ep-site-footer ul.space-y-3 > li + li {
    margin-top: 0.5rem;
  }
  .ep-site-footer .border-t.border-primary-800 {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}
