/* ==========================================================================
   Echoprice — Contractor Theme Override
   Applied last on every public page. Repaints the existing UI to a more
   rigid, contractor-grade look (Bebas Neue + Instrument Serif + DM Sans,
   beige/earth/rust/moss/sand palette, hard 4–8px corners) without altering
   markup, IDs, or JS behavior.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Instrument+Serif:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand palette */
  --ep-beige:      #f0ebe1;
  --ep-beige-mid:  #e4ddd0;
  --ep-beige-dark: #c9bfaf;
  --ep-earth:      #2c1f0e;
  --ep-earth-mid:  #4a3520;
  --ep-moss:       #3a4a2e;
  --ep-rust:       #b84a1e;
  --ep-rust-deep:  #8a3815;
  --ep-sand:       #d4a96a;
  --ep-white:      #faf8f4;

  /* Type stacks */
  --ep-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --ep-serif:   'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --ep-sans:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* ---- Override every legacy token used across the existing stylesheets ---- */
  /* Backgrounds / surfaces */
  --paper:                 var(--ep-beige);
  --background:            var(--ep-beige);
  --bg:                    var(--ep-beige);
  --bg-alt:                var(--ep-beige-mid);
  --surface:               var(--ep-white);
  --surface-2:             var(--ep-beige-mid);
  --card:                  var(--ep-white);
  --card-foreground:       var(--ep-earth);
  --popover:               var(--ep-white);
  --popover-foreground:    var(--ep-earth);
  --secondary:             var(--ep-beige-mid);
  --secondary-foreground:  var(--ep-earth);
  --accent:                var(--ep-rust);
  --accent-foreground:     var(--ep-white);
  --accent-light:          #f6e9d6;

  /* Text */
  --ink:                   var(--ep-earth);
  --text:                  var(--ep-earth);
  --foreground:            var(--ep-earth);
  --muted:                 var(--ep-earth-mid);
  --muted-foreground:      var(--ep-earth-mid);
  --text-2:                var(--ep-earth-mid);
  --text-3:                #8a7e6a;
  --text-muted:            var(--ep-earth-mid);

  /* Borders / dividers */
  --line:                  var(--ep-beige-dark);
  --border:                var(--ep-beige-dark);
  --input:                 var(--ep-beige-dark);

  /* Brand / primary (rust) */
  --brand:                 var(--ep-rust);
  --brand-soft:            #f6e9d6;
  --brand-deep:            var(--ep-rust-deep);
  --primary:               var(--ep-rust);
  --primary-foreground:    var(--ep-white);
  --primary-light:         var(--ep-sand);
  --primary-dark:          var(--ep-rust-deep);
  --primary-faint:         #f6e9d6;
  --primary-border:        var(--ep-beige-dark);
  --ring:                  var(--ep-rust);

  /* Earthy green legacy → moss/rust mapping */
  --earthy-green:          var(--ep-moss);
  --earthy-green-light:    var(--ep-sand);
  --earthy-green-dark:     #2a3621;
  --earthy-green-powder:   #e6e9d8;
  --green:                 var(--ep-moss);
  --green-bg:              #e6e9d8;
  --green-light:           var(--ep-sand);
  --green-dark:            #2a3621;
  --green-faint:           rgba(58, 74, 46, 0.10);
  --green-border:          rgba(58, 74, 46, 0.30);

  /* Status */
  --amber:                 #b06618;
  --amber-bg:              #f6e2c8;
  --red:                   #a8341a;
  --red-bg:                #f3d7cd;
  --destructive:           #a8341a;
  --destructive-foreground:#ffffff;

  /* Radii — rigid corners (keep --radius-full alone for true circles) */
  --radius-sm: 4px;
  --radius:    6px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* Fonts (existing token names) */
  --font-sans:  var(--ep-sans);
  --font-serif: var(--ep-serif);
  --font:       var(--ep-sans);
}

/* ==========================================================================
   Base typography
   ========================================================================== */
html, body {
  font-family: var(--ep-sans);
  background: var(--ep-beige);
  color: var(--ep-earth);
}

body {
  font-feature-settings: normal;
  letter-spacing: 0;
}

h1, h2, h3, h4,
.section-title,
.hero-headline,
.logo-text,
.footer-logo-text,
.feature-body h3,
.feature-card h3,
.step-content h3,
.step h3,
.cta-content h2,
.legal-section h2,
.legal-header h1,
.om-title,
.om-step-title,
.testimonial-card h3 {
  font-family: var(--ep-display) !important;
  letter-spacing: 1px;
  font-weight: 400;
  color: var(--ep-earth);
  line-height: 0.98;
}

h1 { font-size: clamp(56px, 7vw, 96px); letter-spacing: 1.5px; }
h2 { font-size: clamp(34px, 4.5vw, 56px); }
h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: 0.6px; }

/* Italic accents stay serif */
em, i,
.hero-headline--serif em,
.hero-headline--serif {
  font-family: var(--ep-serif);
  font-style: italic;
  color: var(--ep-rust);
  font-weight: 400;
  letter-spacing: 0;
}

/* Eyebrows / labels: small uppercase rust */
.eyebrow,
.section-label,
.om-eyebrow {
  font-family: var(--ep-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ep-rust);
}

/* ==========================================================================
   Buttons — rigid rectangles, earth/rust palette
   ========================================================================== */
.btn,
button.btn,
a.btn {
  border-radius: 4px !important;
  font-family: var(--ep-sans);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.btn-primary,
.btn.btn-primary {
  background: var(--ep-earth) !important;
  color: var(--ep-beige) !important;
  border: 1px solid var(--ep-earth) !important;
}
.btn-primary:hover,
.btn.btn-primary:hover {
  background: var(--ep-earth-mid) !important;
  border-color: var(--ep-earth-mid) !important;
  transform: translateY(-1px);
}

.btn-outline,
.btn.btn-outline,
.btn-secondary,
.btn.btn-secondary,
.btn-ghost,
.btn.btn-ghost {
  background: transparent !important;
  color: var(--ep-earth) !important;
  border: 1px solid var(--ep-earth) !important;
}
.btn-outline:hover,
.btn.btn-outline:hover,
.btn-secondary:hover,
.btn.btn-secondary:hover,
.btn-ghost:hover,
.btn.btn-ghost:hover {
  background: var(--ep-earth) !important;
  color: var(--ep-beige) !important;
}

/* Onboarding-modal primary button */
.om-btn-primary {
  background: var(--ep-earth) !important;
  color: var(--ep-beige) !important;
  border-radius: 4px !important;
}
.om-btn-primary:hover:not([disabled]) { background: var(--ep-earth-mid) !important; }
.om-btn-ghost { color: var(--ep-earth-mid) !important; border-radius: 4px !important; }

/* Pill toggles (onboard modal) get small radii but stay distinguishable */
.om-pill,
.pill {
  border-radius: 4px !important;
  font-family: var(--ep-sans);
  font-weight: 500;
}

/* ==========================================================================
   Cards / surfaces
   ========================================================================== */
.feature-card,
.how-it-works-card,
.pricing-card,
.testimonial-card,
.legal-section,
.legal-toc,
.om-card,
.auth-card,
.login-card {
  border-radius: 8px !important;
  border-color: var(--ep-beige-dark) !important;
}

.feature-card { background: var(--ep-white); }

/* ==========================================================================
   Header / nav — rigid pill replaced with rounded rect
   ========================================================================== */
.site-header .header-inner,
.auth-header-inner,
header.nav .nav-inner {
  border-radius: 8px !important;
  background: rgba(240, 235, 225, 0.92) !important;
  border: 1px solid var(--ep-beige-dark) !important;
  backdrop-filter: blur(12px);
}

.logo-text,
.footer-logo-text,
.loader-logo {
  font-family: var(--ep-display) !important;
  font-size: 26px;
  letter-spacing: 2px;
  font-weight: 400;
  color: var(--ep-earth);
}

.header-nav a {
  font-family: var(--ep-sans);
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--ep-earth-mid);
}
.header-nav a:hover { color: var(--ep-earth); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer,
.footer {
  background: var(--ep-earth) !important;
  color: var(--ep-beige) !important;
}
.site-footer *,
.footer * { color: var(--ep-beige); }
.site-footer a,
.footer a,
.site-footer .footer-links a,
.footer .footer-links a,
.site-footer .footer-copy,
.footer .footer-copy,
.site-footer .footer-legal,
.footer .footer-legal,
.site-footer .footer-legal a,
.footer .footer-legal a { color: var(--ep-beige) !important; }
.site-footer a:hover,
.footer a:hover { color: var(--ep-sand) !important; }

/* ==========================================================================
   Hero — centred text block, no background photo (photo lives in showcase)
   ========================================================================== */
.hero {
  background-color: var(--ep-beige);
  text-align: center;
  padding-bottom: 48px;
}

.hero .container { position: relative; }

.hero-content {
  max-width: 720px !important;
  margin: 0 auto !important;
}

/* Centre buttons and trust pills */
.hero .hero-actions {
  justify-content: center;
}

/* Stack trust badges centred */
.hero .trust-badges {
  justify-content: center;
}

/* ==========================================================================
   Hero Showcase — contractor photo (img) then phone illustration, stacked
   ========================================================================== */
.hero-showcase {
  background: var(--ep-beige);
  padding: 0 0 72px;
}

.hero-showcase .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Contractor photo — proper img element */
.contractor-photo {
  width: 100%;
  max-width: 820px;
  height: auto;
  border-radius: 8px;
  box-shadow:
    0 4px 12px rgba(50, 38, 22, 0.14),
    0 16px 40px rgba(50, 38, 22, 0.10),
    0 2px 4px rgba(50, 38, 22, 0.08);
  display: block;
  object-fit: cover;
}

/* Phone stage centred in showcase */
.hero-showcase .phone-stage {
  margin: 0 auto;
}

.hero-headline,
.hero h1 { color: var(--ep-earth); }

.eyebrow {
  display: inline-block;
  background: var(--ep-moss);
  color: #d8e3c5;
  padding: 6px 12px;
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 2px;
}

/* Trust pill row stays subtle */
.trust-badges .trust-badge,
.trust-badge {
  background: rgba(250, 248, 244, 0.85);
  border: 1px solid var(--ep-beige-dark);
  border-radius: 4px;
}

/* CTA strip — rust accent block */
.cta-section {
  background: var(--ep-rust) !important;
  color: var(--ep-white);
}
.cta-section h2,
.cta-section h2 * { color: var(--ep-white) !important; font-family: var(--ep-display); }
.cta-section p { color: rgba(250, 248, 244, 0.85); }
.cta-section .btn-primary {
  background: var(--ep-white) !important;
  color: var(--ep-rust) !important;
  border-color: var(--ep-white) !important;
}
.cta-section .btn-primary:hover {
  background: var(--ep-beige) !important;
  border-color: var(--ep-beige) !important;
  color: var(--ep-rust-deep) !important;
}
.cta-section .btn-outline {
  background: transparent !important;
  color: var(--ep-white) !important;
  border-color: var(--ep-white) !important;
}
.cta-section .btn-outline:hover {
  background: var(--ep-white) !important;
  color: var(--ep-rust) !important;
}

/* ==========================================================================
   Step numbers / how-it-works
   ========================================================================== */
.step-number {
  font-family: var(--ep-display) !important;
  background: var(--ep-earth) !important;
  color: var(--ep-sand) !important;
  border-radius: 4px !important;
}

/* ==========================================================================
   Forms / inputs — rigid edges
   ========================================================================== */
input,
textarea,
select,
.form-input,
.form-control {
  border-radius: 4px !important;
  font-family: var(--ep-sans);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--ep-rust);
  outline-offset: 2px;
  border-color: var(--ep-rust) !important;
}

/* ==========================================================================
   Portal sidebar / topbar — keep layout, repaint
   ========================================================================== */
.portal-app .sidebar,
.portal-app .topbar {
  background: var(--ep-white) !important;
  border-color: var(--ep-beige-dark) !important;
}

.portal-app .nav-item.active,
.portal-app .nav-item[aria-current="page"] {
  background: var(--ep-earth) !important;
  color: var(--ep-beige) !important;
  border-radius: 4px !important;
}

/* Sidebar nav active state — earth/rust palette to match landing page */
.sidebar-nav-link.is-active {
  background: var(--ep-earth) !important;
  color: var(--ep-beige) !important;
}
.sidebar-nav-link.is-active .nav-icon {
  background: var(--ep-rust) !important;
  color: var(--ep-beige) !important;
}
.sidebar-nav-link .nav-icon {
  border-radius: 4px !important;
}

/* Topbar — rectangular card shape instead of pill */
.topbar {
  border-radius: 8px !important;
  background: rgba(240, 235, 225, 0.88) !important;
  border-color: var(--ep-beige-dark) !important;
}

/* Brand / logo text — display font to match landing page */
.topbar-brand,
.logo-mark {
  font-family: var(--ep-display) !important;
  letter-spacing: 1.5px !important;
  font-size: 1.3rem !important;
  color: var(--ep-earth) !important;
}

/* ==========================================================================
   Highlight text reset — kill underline gradient that read as "meal-prep"
   ========================================================================== */
.highlight { color: var(--ep-rust); }
.highlight::after { display: none; }

/* ==========================================================================
   Misc rounding cleanup — anything still using legacy soft-pill radii
   ========================================================================== */
.feature-media,
.feature-media img,
.phone-frame,
.phone-shadow {
  border-radius: 8px !important;
}

/* Hide the cartoon feature illustrations — clean text-only cards instead */
.feature-media {
  display: none !important;
}

/* Give feature cards consistent padding when media is hidden */
.feature-card.feature-card--media {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-body {
  padding: 32px !important;
}

.feature-body h3 {
  font-size: 28px !important;
  margin-bottom: 10px !important;
  line-height: 1 !important;
}

.feature-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ep-earth-mid);
}

/* ==========================================================================
   Quote Template Preview Section
   ========================================================================== */
.quote-templates-section {
  padding: 90px 0;
  background: var(--ep-beige-mid);
}

.qt-sub,
.pl-sub {
  font-size: 15px;
  color: var(--ep-earth-mid);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 48px;
  font-weight: 300;
}

.qt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.qt-card {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--ep-beige-dark);
  background: var(--ep-white);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.qt-card:hover {
  border-color: var(--ep-earth);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(44,31,14,0.12);
}
.qt-card.qt-card--active {
  border-color: var(--ep-rust);
  box-shadow: 0 0 0 2px var(--ep-rust);
}

.qt-card-header {
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--ep-beige-dark);
}
.qt-name {
  font-family: var(--ep-display);
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--ep-earth);
}
.qt-meta {
  font-size: 11px;
  color: var(--ep-earth-mid);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.qt-preview-wrap {
  padding: 12px;
  background: #d8d3c9;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
  height: 240px;
}

/* The mini quote document — scaled down A4-feel */
.qt-preview {
  width: 380px;
  transform: scale(0.56);
  transform-origin: top center;
  font-size: 11px;
  line-height: 1.4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  flex-shrink: 0;
}

/* ── Studio Noir ── */
.qt-preview--noir {
  background: #ffffff;
  color: #0a0a0a;
  font-family: 'DM Sans', sans-serif;
  padding: 24px;
}
.qt-preview--noir .qp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.qp-logo-box {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; border-radius: 4px;
}
.qp-logo-box.noir { background: #0a0a0a; color: #fff; }
.qp-hdr-right { text-align: right; }
.qp-title { font-size: 18px; font-weight: 700; letter-spacing: 3px; }
.qp-num { font-size: 10px; color: #6b6b6b; margin-top: 3px; }
.qp-date { font-size: 9px; color: #9a9a9a; }
.qp-divider { height: 1px; background: #d4d4d4; margin: 12px 0; }
.qp-parties { display: flex; justify-content: space-between; margin-bottom: 16px; }
.qp-label { font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #6b6b6b; margin-bottom: 3px; }
.qp-biz { font-weight: 600; font-size: 11px; }
.qp-contact { font-size: 9px; color: #6b6b6b; }
.qp-to { text-align: right; }
.qp-table { width: 100%; border-collapse: collapse; font-size: 9px; }
.qp-table th { font-size: 8px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid #0a0a0a; padding: 4px 0; text-align: left; }
.qp-table th:not(:first-child), .qp-table td:not(:first-child) { text-align: right; }
.qp-table td { padding: 4px 0; border-bottom: 1px solid #ebebeb; }
.qp-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; padding: 8px 10px;
  background: #0a0a0a; color: #fff;
  font-size: 9px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.qp-total-val { font-size: 14px; font-weight: 700; }

/* ── Manhattan Gold ── */
.qt-preview--gold {
  background: #1a1a2e;
  color: #e8e0d0;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
}
.gold-hdr { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 24px 16px; }
.qp-logo-box.gold { background: #c8a96e; color: #1a1a2e; font-weight: 700; }
.gold-title { font-size: 18px; font-weight: 700; letter-spacing: 3px; color: #c8a96e; text-align: right; }
.gold-sub { font-size: 9px; color: rgba(200,169,110,0.6); text-align: right; margin-top: 2px; }
.qp-gold-band { height: 2px; background: linear-gradient(90deg, #c8a96e, rgba(200,169,110,0.2)); }
.gold-parties { display: flex; justify-content: space-between; padding: 14px 24px; }
.gold-label { font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #c8a96e; margin-bottom: 3px; }
.gold-text { font-weight: 600; font-size: 11px; color: #e8e0d0; }
.gold-dim { font-size: 9px; color: rgba(232,224,208,0.45); }
.gold-table { width: 100%; border-collapse: collapse; font-size: 9px; margin: 0 24px; width: calc(100% - 48px); }
.gold-table th { font-size: 8px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid rgba(200,169,110,0.4); padding: 4px 0; text-align: left; color: #c8a96e; }
.gold-table th:not(:first-child), .gold-table td:not(:first-child) { text-align: right; }
.gold-table td { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(232,224,208,0.85); }
.gold-total {
  display: flex; justify-content: space-between; align-items: center;
  margin: 12px 0 0; padding: 10px 24px;
  background: #c8a96e; color: #1a1a2e;
  font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.gold-total .qp-total-val { font-size: 14px; }

/* ── Voltage Lime ── */
.qt-preview--lime {
  background: #0d0d0d;
  color: #f0f0f0;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
}
.lime-hdr { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 24px 16px; }
.qp-logo-box.lime { background: #e8ff57; color: #0d0d0d; font-weight: 700; }
.lime-title { font-size: 18px; font-weight: 700; letter-spacing: 3px; color: #e8ff57; text-align: right; }
.lime-sub { font-size: 9px; color: rgba(232,255,87,0.5); text-align: right; margin-top: 2px; }
.qp-lime-band { height: 3px; background: #e8ff57; }
.lime-parties { display: flex; justify-content: space-between; padding: 14px 24px; }
.lime-label { font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #e8ff57; margin-bottom: 3px; }
.lime-text { font-weight: 600; font-size: 11px; color: #f0f0f0; }
.lime-dim { font-size: 9px; color: rgba(240,240,240,0.4); }
.lime-table { width: 100%; border-collapse: collapse; font-size: 9px; margin: 0 24px; width: calc(100% - 48px); }
.lime-table th { font-size: 8px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; border-bottom: 1px solid #e8ff57; padding: 4px 0; text-align: left; color: #e8ff57; }
.lime-table th:not(:first-child), .lime-table td:not(:first-child) { text-align: right; }
.lime-table td { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.07); color: rgba(240,240,240,0.85); }
.lime-total {
  display: flex; justify-content: space-between; align-items: center;
  margin: 12px 0 0; padding: 10px 24px;
  background: #e8ff57; color: #0d0d0d;
  font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.lime-total .qp-total-val { font-size: 14px; }

.qt-note,
.pl-note {
  font-size: 12px;
  color: var(--ep-earth-mid);
  text-align: center;
  font-weight: 400;
  margin-top: 16px;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-landing-section {
  padding: 90px 0;
  background: var(--ep-earth);
}
.pricing-landing-section .section-label { color: var(--ep-sand); }
.pricing-landing-section .section-title { color: var(--ep-beige); }
.pricing-landing-section .section-title em { color: var(--ep-sand); }
.pricing-landing-section .pl-sub { color: rgba(240,235,225,0.65); }
.pricing-landing-section .pl-note { color: rgba(240,235,225,0.40); }

.pl-free-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(212,169,106,0.35);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 36px;
  max-width: 560px;
}
.pl-free-icon {
  font-size: 22px;
  color: var(--ep-sand);
  flex-shrink: 0;
  line-height: 1.2;
}
.pl-free-title {
  font-family: var(--ep-display);
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--ep-beige);
  line-height: 1;
  margin-bottom: 6px;
}
.pl-free-sub {
  font-size: 13px;
  color: rgba(240,235,225,0.55);
  line-height: 1.55;
  font-weight: 300;
}

.pl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.pl-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.pl-card:hover {
  border-color: rgba(212,169,106,0.5);
  background: rgba(255,255,255,0.08);
}
.pl-card--featured {
  background: rgba(212,169,106,0.12);
  border-color: var(--ep-sand);
}

.pl-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--ep-rust);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
}

.pl-credits {
  font-family: var(--ep-display);
  font-size: 72px;
  line-height: 1;
  color: var(--ep-beige);
  letter-spacing: 1px;
}
.pl-credits-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,235,225,0.45);
  margin-bottom: 16px;
}
.pl-price {
  font-family: var(--ep-display);
  font-size: 40px;
  line-height: 1;
  color: var(--ep-sand);
  letter-spacing: 0.5px;
}
.pl-per {
  font-size: 11px;
  color: rgba(240,235,225,0.45);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.pl-tag {
  font-size: 12px;
  color: rgba(240,235,225,0.55);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}
.pl-card .btn {
  display: block !important;
  text-align: center;
  padding: 14px !important;
  border-radius: 4px !important;
}
.pl-card .btn-outline {
  background: transparent !important;
  color: var(--ep-beige) !important;
  border: 1px solid rgba(240,235,225,0.3) !important;
}
.pl-card .btn-outline:hover {
  background: rgba(255,255,255,0.10) !important;
  border-color: var(--ep-beige) !important;
}
.pl-card--featured .btn-primary {
  background: var(--ep-sand) !important;
  color: var(--ep-earth) !important;
  border-color: var(--ep-sand) !important;
}
.pl-card--featured .btn-primary:hover {
  background: var(--ep-beige) !important;
  border-color: var(--ep-beige) !important;
}

@media (max-width: 900px) {
  .qt-grid, .pl-grid { grid-template-columns: 1fr; }
  .qt-preview-wrap { height: 200px; }
  .qt-preview { transform: scale(0.46); }
}

/* Keep avatars and true-circle elements circular */
.header-user-avatar,
.author-avatar,
.wa-avatar,
.user-avatar,
.avatar {
  border-radius: 9999px !important;
}
