/* ═══════════════════════════════════════════════════
   WakeAgain — Yard / Auction Warehouse theme
   AI purple-neon SaaS 클리셰 탈피 (마케팅 랜딩 전용)
   body.theme-yard 에만 적용
   ═══════════════════════════════════════════════════ */

body.theme-yard {
  --bg: #1a1814;
  --bg-elev: #221f1a;
  --card: #2a2620;
  --card-2: #322e27;
  --border: rgba(245, 236, 220, 0.1);
  --border-strong: rgba(245, 236, 220, 0.18);
  --text: #f5f0e6;
  --muted: #b8ae9c;
  --muted-2: #8f8576;
  /* remapped: purple tokens → auction amber / lot red (기존 클래스 호환) */
  --accent: #d4a017;
  --accent-2: #c4920f;
  --accent-3: #a67c00;
  --accent-soft: rgba(212, 160, 23, 0.12);
  --accent-glow: rgba(180, 83, 9, 0.25);
  --pink: #e8b86d;
  --blue: #8ba4b4;
  --green: #6b9b6e;
  --amber: #e3b341;
  --red: #c2410c;
  --white: #faf6ef;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

body.theme-yard::before {
  background-image:
    linear-gradient(rgba(245, 236, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 236, 220, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
}

body.theme-yard em {
  color: var(--amber);
}

/* ——— Nav pill: frosted glass — background photo shows through ——— */
body.theme-yard .nav-pill {
  background: rgba(28, 24, 20, 0.42) !important;
  border: 1px solid rgba(245, 236, 220, 0.18) !important;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 245, 220, 0.08) !important;
  backdrop-filter: blur(18px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
  border-radius: 12px !important;
}
/* Logo: purple WA mark → warm brown asset; wordmark muted amber */
body.theme-yard .brand-mark,
body.theme-yard .nav-pill .brand-mark,
body.theme-yard .footer-brand .brand-mark,
body.theme-yard .brand--xl .brand-mark {
  background-image: url("/assets/logo-mark-yard.png") !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 0.92;
}
body.theme-yard .brand-name .brand-again,
body.theme-yard .brand-again {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #c4a86a !important;
  -webkit-text-fill-color: #c4a86a !important;
  filter: none !important;
}
body.theme-yard .brand-name {
  color: #ebe4d4 !important;
}
body.theme-yard .nav-links a:hover {
  color: var(--text);
  background: rgba(245, 236, 220, 0.06);
}
body.theme-yard .btn-primary {
  background: #c2410c !important;
  color: #fffaf5 !important;
  border: 1px solid #9a3412 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
body.theme-yard .btn-primary:hover {
  background: #9a3412 !important;
  filter: none !important;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2) !important;
}
body.theme-yard .btn-ghost {
  border-radius: 6px !important;
  border-color: rgba(245, 236, 220, 0.18) !important;
  color: var(--muted) !important;
}
body.theme-yard .btn-ghost:hover {
  background: rgba(245, 236, 220, 0.06) !important;
  color: var(--text) !important;
}
body.theme-yard .btn-white {
  background: #f5f0e6 !important;
  color: #1a1814 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}
body.theme-yard .btn-white:hover {
  background: #ebe4d4 !important;
}
body.theme-yard .lang-btn.is-on,
body.theme-yard .lang-btn[aria-pressed="true"] {
  background: rgba(212, 160, 23, 0.18);
  color: var(--amber);
}

/* ——— Hero: no purple glow / shimmer ——— */
body.theme-yard .hero-glow {
  background:
    radial-gradient(ellipse 50% 55% at 20% 40%, rgba(194, 65, 12, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 50% at 80% 20%, rgba(212, 160, 23, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(0, 0, 0, 0.35), transparent 70%);
  filter: blur(4px);
  opacity: 0.9;
}
body.theme-yard .hero-ecg-bg {
  opacity: 0.35;
  filter: grayscale(0.4) sepia(0.25) hue-rotate(-10deg);
}
body.theme-yard .hero-badge {
  border-radius: 4px;
  border: 1px solid rgba(212, 160, 23, 0.35);
  background: rgba(212, 160, 23, 0.08);
  color: #e8d5a3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
body.theme-yard .hero-badge-dot {
  background: #c2410c;
  box-shadow: none;
  border-radius: 1px;
  width: 6px;
  height: 6px;
}
body.theme-yard .hero-title--sparkle .hero-title-line,
body.theme-yard .hero-title .grad {
  animation: none !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  filter: none !important;
}
body.theme-yard .hero-title .grad {
  color: var(--amber) !important;
  -webkit-text-fill-color: var(--amber) !important;
  border-bottom: 3px solid rgba(194, 65, 12, 0.85);
  padding-bottom: 0.05em;
}
body.theme-yard .hero-title--sparkle::before,
body.theme-yard .hero-title--sparkle::after {
  display: none !important;
}
body.theme-yard .hero-cta-benefit strong {
  color: var(--amber);
}

/* Event banner — ticket strip */
body.theme-yard .home-event-banner-link {
  border-radius: 6px !important;
  border: 1px dashed rgba(212, 160, 23, 0.4) !important;
  background: rgba(42, 38, 32, 0.9) !important;
  box-shadow: none !important;
}
body.theme-yard .home-event-pill {
  background: #c2410c !important;
  border-radius: 3px !important;
}

/* Stats — stamped numbers */
body.theme-yard .hero-stats strong {
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
body.theme-yard .hero-stats strong.is-later {
  color: var(--muted-2);
}

/* ——— Lot card: deep brown, close to field bg (dream: 카드≈배경·더 진한 갈) ——— */
body.theme-yard .live-card {
  /* bg #1a1814 → card a shade warmer/deeper brown, not cream paper */
  background: #2c241c !important;
  color: #f0e6d4 !important;
  border: 1px solid rgba(90, 72, 52, 0.85) !important;
  border-radius: 6px !important;
  box-shadow:
    0 1px 0 rgba(255, 240, 210, 0.04) inset,
    0 14px 36px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: none !important;
  animation: none !important;
  padding: 1.1rem 1.15rem 1.15rem !important;
}
body.theme-yard .live-card::before {
  display: none !important;
}
body.theme-yard .live-card::after {
  content: "LOT";
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #a8926e;
  border: 1px solid rgba(140, 110, 70, 0.45);
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
}
body.theme-yard .live-card-top {
  border-bottom: 1px solid rgba(90, 72, 52, 0.75);
  padding-bottom: 0.55rem;
  margin-bottom: 0.65rem;
}
body.theme-yard .live-badge {
  background: rgba(194, 65, 12, 0.18) !important;
  border: 1px solid rgba(232, 140, 80, 0.4) !important;
  color: #f0b090 !important;
  border-radius: 3px !important;
  font-weight: 750;
}
body.theme-yard .live-dot {
  background: #e07a3a !important;
  box-shadow: none !important;
}
body.theme-yard .live-dots {
  opacity: 0.35;
}
body.theme-yard .live-card-head strong {
  color: #f5ebd8 !important;
}
body.theme-yard .live-card-head p {
  color: #a89880 !important;
}
body.theme-yard .live-icon {
  background: #1f1914 !important;
  color: #e8dcc4 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  border: 1px solid rgba(90, 72, 52, 0.9);
}
body.theme-yard .live-metrics .label,
body.theme-yard .live-metrics > div .label {
  color: #9a8a72 !important;
}
body.theme-yard .live-metrics strong {
  color: #f5ebd8 !important;
  font-weight: 800;
  text-shadow: none !important;
}
/* kill green neon metric boxes */
body.theme-yard .live-metrics > div {
  background: rgba(18, 14, 10, 0.55) !important;
  border: 1px solid rgba(90, 72, 52, 0.75) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  animation: none !important;
}
body.theme-yard .live-metrics > div::after {
  display: none !important;
  animation: none !important;
  box-shadow: none !important;
}
body.theme-yard .live-progress p {
  color: #9a8a72 !important;
}
body.theme-yard .live-progress-bar {
  background: rgba(20, 16, 12, 0.55) !important;
  border-radius: 2px !important;
}
body.theme-yard .live-progress-bar span {
  background: #c2410c !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
body.theme-yard .live-toast {
  background: rgba(20, 16, 12, 0.5) !important;
  border: 1px solid rgba(90, 72, 52, 0.7) !important;
  border-radius: 4px !important;
  color: #c8b89a !important;
}
body.theme-yard .live-toast a {
  color: #e8a070 !important;
}
body.theme-yard .pulse-dot {
  background: #e07a3a !important;
  box-shadow: none !important;
}

/* ECG multi-trace slightly more visible on yard field */
body.theme-yard .hero-ecg-bg {
  opacity: 0.72;
  filter: none;
}

/* Section cards — same family as lot card (deep brown, near field) */
body.theme-yard .section .card,
body.theme-yard .feature-card,
body.theme-yard .step-card,
body.theme-yard .price-card,
body.theme-yard .panel,
body.theme-yard .showcase-card {
  border-radius: var(--radius) !important;
  border-color: rgba(90, 72, 52, 0.75) !important;
  background: #262018 !important;
  box-shadow: none !important;
}
body.theme-yard .btn {
  border-radius: 6px;
}
body.theme-yard .scroll-progress span {
  background: #c2410c !important;
}

/* Footer */
body.theme-yard footer,
body.theme-yard .site-footer {
  border-top: 1px solid var(--border-strong);
  background: #14120f;
}

/* Mobile CTA bar */
body.theme-yard .mobile-cta {
  background: rgba(26, 24, 20, 0.96) !important;
  border-top: 1px solid rgba(245, 236, 220, 0.12) !important;
}

/* ═══════════════════════════════════════════════════
   Full-page purple purge (below-hero sections)
   Hardcoded violet/lilac/neon → warm yard brown + amber
   ═══════════════════════════════════════════════════ */

/* Gradient titles (초안을 찾으세요 etc.) */
body.theme-yard .grad,
body.theme-yard .center-title .grad,
body.theme-yard .buyers-section .center-title .grad,
body.theme-yard .buyers-section .grad,
body.theme-yard .brand-name .brand-again {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: var(--amber) !important;
  -webkit-text-fill-color: var(--amber) !important;
  filter: none !important;
  animation: none !important;
}

/* Glass cards — deep brown field, no violet hover rim */
body.theme-yard .glass-card {
  background: #262018 !important;
  border: 1px solid rgba(90, 72, 52, 0.7) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
body.theme-yard .glass-card:hover {
  border-color: rgba(180, 140, 80, 0.45) !important;
  box-shadow: none !important;
}

/* Make vs Buy preferred card (was purple gradient edge) */
body.theme-yard .makebuy-card.is-preferred {
  border-color: rgba(194, 65, 12, 0.45) !important;
  box-shadow: 0 0 0 1px rgba(194, 65, 12, 0.12) !important;
  background: #2a221a !important;
}
body.theme-yard .makebuy-card.is-preferred::after {
  background: linear-gradient(180deg, #c2410c, #d4a017) !important;
  border-radius: 0 6px 6px 0 !important;
}
body.theme-yard .makebuy-card.is-preferred .makebuy-label {
  color: #e8b86d !important;
}
body.theme-yard .makebuy-card.is-preferred .makebuy-list li::before {
  color: #d4a017 !important;
}

/* Buyers section ambient purple glow */
body.theme-yard .buyers-section {
  background: transparent !important;
}
body.theme-yard .buyers-section::before,
body.theme-yard .section.buyers-section::before {
  display: none !important;
}

/* Safe pay — warm ink, not mint cyber (still “trust” but yard) */
body.theme-yard .safe-pay-banner {
  border: 1px solid rgba(180, 140, 80, 0.35) !important;
  background:
    linear-gradient(135deg, rgba(60, 42, 24, 0.55), rgba(26, 24, 20, 0.9)) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}
body.theme-yard .safe-pay-badge {
  color: #1a1814 !important;
  background: linear-gradient(90deg, #e8b86d, #d4a017) !important;
  border-radius: 4px !important;
}
body.theme-yard .safe-pay-title {
  color: #f5ebd8 !important;
}
body.theme-yard .safe-pay-body strong {
  color: #e8b86d !important;
}
body.theme-yard .safe-pay-steps li {
  color: #d4c4a8 !important;
  background: rgba(18, 14, 10, 0.45) !important;
  border: 1px solid rgba(90, 72, 52, 0.65) !important;
  border-radius: 6px !important;
}

/* Icon orbs (violet → amber) */
body.theme-yard .icon-violet,
body.theme-yard .icon-orb.icon-violet {
  background: rgba(212, 160, 23, 0.12) !important;
  color: #e8b86d !important;
  box-shadow: none !important;
}

/* Safety / trust pair (left purple, right red-orange cards) */
body.theme-yard .safety-card,
body.theme-yard .safety-pair article,
body.theme-yard .safety-pair .glass-card {
  background: #262018 !important;
  border: 1px solid rgba(90, 72, 52, 0.7) !important;
  box-shadow: none !important;
}
body.theme-yard .safety-pair [class*="violet"],
body.theme-yard .safety-pair .is-accent,
body.theme-yard .glass-card.is-accent {
  background: #2a221a !important;
  border-color: rgba(194, 65, 12, 0.4) !important;
}

/* Numbered steps with purple chips */
body.theme-yard .step-num,
body.theme-yard .flow-num,
body.theme-yard .safety-steps li::before,
body.theme-yard .buyer-merit-n {
  color: #d4a017 !important;
  background: rgba(212, 160, 23, 0.1) !important;
  border-color: rgba(212, 160, 23, 0.3) !important;
}

/* Guide / trust solid purple panels */
body.theme-yard .guide-card,
body.theme-yard .trust-card,
body.theme-yard .feature-card.is-highlight,
body.theme-yard .buyer-rank-card.is-highlight,
body.theme-yard .buyer-rank-card.is-top {
  background: #2a221a !important;
  border: 1px solid rgba(194, 65, 12, 0.35) !important;
  box-shadow: none !important;
}
body.theme-yard .buyer-rank-badge {
  background: rgba(212, 160, 23, 0.12) !important;
  color: #e8b86d !important;
  border-color: rgba(212, 160, 23, 0.3) !important;
}

/* Service cards metric rows */
body.theme-yard .metric-rows strong,
body.theme-yard .metric-chip strong {
  color: #e8b86d !important;
}
body.theme-yard .metric-chip {
  background: #262018 !important;
  border: 1px solid rgba(90, 72, 52, 0.65) !important;
}

/* Problem intro ambient */
body.theme-yard .problem-intro,
body.theme-yard .problem-intro::before {
  background-image: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Links / em / scroll accents still using purple token paths */
body.theme-yard a.text-link,
body.theme-yard .text-link {
  color: #e8b86d !important;
}
body.theme-yard .tag,
body.theme-yard .pill,
body.theme-yard .chip {
  border-radius: 4px;
}

/* Listing / showcase cards if injected */
body.theme-yard .listing-card,
body.theme-yard .lot-card,
body.theme-yard .showcase-card,
body.theme-yard .testi-card,
body.theme-yard .home-showcase-grid .glass-card {
  background: #262018 !important;
  border-color: rgba(90, 72, 52, 0.75) !important;
}
body.theme-yard .lot-card-media {
  background:
    radial-gradient(ellipse 70% 80% at 30% 40%, rgba(212, 160, 23, 0.12), transparent 65%),
    linear-gradient(160deg, #2c241c 0%, #1a1612 100%) !important;
}
body.theme-yard .mobile-cta {
  background: rgba(26, 24, 20, 0.96) !important;
  border-top-color: rgba(90, 72, 52, 0.65) !important;
}
body.theme-yard .nav-drawer-panel {
  background: #1f1a14 !important;
}

/* Kill leftover purple radial washes on sections */
body.theme-yard .section::before,
body.theme-yard .section::after {
  background: none !important;
}
body.theme-yard main {
  background: var(--bg);
}

/* FAQ / accordion if purple borders */
body.theme-yard details,
body.theme-yard .faq-item {
  border-color: rgba(90, 72, 52, 0.65) !important;
  background: #221c16 !important;
}

/* Safety step numbered circles that were purple */
body.theme-yard .safety-steps .n,
body.theme-yard .handover-steps .n,
body.theme-yard ol.steps li::marker {
  color: #d4a017 !important;
}

/* Explicit hardcode overrides for common purple hexes used in styles.css */
body.theme-yard [style*="168, 85, 247"],
body.theme-yard [style*="a855f7"],
body.theme-yard [style*="c084fc"] {
  /* inline styles rare; class overrides above cover most */
}

/* Safety manage block + buyers eyebrow (hardcoded purple) */
body.theme-yard .buyers-section::before {
  display: none !important;
  background: none !important;
}
body.theme-yard .buyers-eyebrow {
  color: #c4a86a !important;
}
body.theme-yard .safety-manage {
  border: 1px solid rgba(180, 140, 80, 0.4) !important;
  background:
    linear-gradient(160deg, rgba(60, 42, 24, 0.55), rgba(26, 24, 20, 0.88)) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
body.theme-yard .safety-manage-kicker {
  color: #e8b86d !important;
}
body.theme-yard .safety-manage-steps li {
  background: rgba(18, 14, 10, 0.4) !important;
  border: 1px solid rgba(90, 72, 52, 0.6) !important;
  border-radius: 6px !important;
}
body.theme-yard .safety-manage-steps .sm-n {
  color: #1a1814 !important;
  background: linear-gradient(135deg, #e8b86d, #c2410c) !important;
  box-shadow: none !important;
}
body.theme-yard .safety-manage-steps strong {
  color: #f5ebd8 !important;
}
body.theme-yard .safety-notice,
body.theme-yard .safety-pair .safety-notice {
  background: #262018 !important;
  border: 1px solid rgba(194, 65, 12, 0.35) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

/* Guide / status cards that used solid purple fill */
body.theme-yard .guide-tile,
body.theme-yard .status-guide,
body.theme-yard .why-card.is-cta,
body.theme-yard a.glass-card.cta-card,
body.theme-yard .glass-card.cta-card {
  background: #2a221a !important;
  border: 1px solid rgba(194, 65, 12, 0.4) !important;
  color: #f0e6d4 !important;
  box-shadow: none !important;
}
body.theme-yard .glass-card.cta-card h3,
body.theme-yard .glass-card.cta-card p {
  color: #f0e6d4 !important;
}
body.theme-yard .glass-card.cta-card a,
body.theme-yard .glass-card .cta-link {
  color: #e8b86d !important;
}

/* Chips in trust section (Email verify etc.) */
body.theme-yard .chip-row span,
body.theme-yard .tag-row span,
body.theme-yard .verify-chips span {
  background: rgba(212, 160, 23, 0.1) !important;
  border: 1px solid rgba(212, 160, 23, 0.28) !important;
  color: #e8d5a3 !important;
  border-radius: 4px !important;
}

/* Footer CTA purple washes */
body.theme-yard .final-cta,
body.theme-yard .cta-band {
  background: #221c16 !important;
  border-color: rgba(90, 72, 52, 0.7) !important;
}

/* Bento featured purple panel → warm brown */
body.theme-yard .bento-value.featured,
body.theme-yard .glass-card.bento-value.featured,
body.theme-yard .bento .featured {
  background: #2c241c !important;
  border: 1px solid rgba(194, 65, 12, 0.4) !important;
  box-shadow: none !important;
  color: #f0e6d4 !important;
}
body.theme-yard .bento-value.featured h3,
body.theme-yard .bento-value.featured p {
  color: #f0e6d4 !important;
}
body.theme-yard .bento-value.featured .text-link {
  color: #e8b86d !important;
}
body.theme-yard .icon-violet-solid {
  background: rgba(194, 65, 12, 0.25) !important;
  color: #f0c090 !important;
}
body.theme-yard .chip-row .chip,
body.theme-yard .chip {
  background: rgba(212, 160, 23, 0.1) !important;
  border: 1px solid rgba(212, 160, 23, 0.28) !important;
  color: #e8d5a3 !important;
  border-radius: 4px !important;
}
body.theme-yard .safety-notice-title {
  color: #e8a070 !important;
}
body.theme-yard .buyer-rank-card.is-highlight {
  border-color: rgba(194, 65, 12, 0.45) !important;
  box-shadow: none !important;
}
body.theme-yard .buyer-rank-badge {
  background: rgba(212, 160, 23, 0.12) !important;
  color: #e8d5a3 !important;
  border: 1px solid rgba(212, 160, 23, 0.3) !important;
  border-radius: 4px !important;
}
body.theme-yard .buyer-rank-card[data-rank="heavy"] .buyer-rank-badge {
  background: linear-gradient(135deg, rgba(194, 65, 12, 0.45), rgba(212, 160, 23, 0.3)) !important;
  color: #f5ebd8 !important;
}
body.theme-yard .buyer-rank-need {
  color: #c4a86a !important;
}

/* Review quote badge — amber, not purple numbers */
body.theme-yard .quote-mark {
  background: rgba(212, 160, 23, 0.12) !important;
  color: #e8b86d !important;
  border: 1px solid rgba(212, 160, 23, 0.28);
  border-radius: 6px !important;
  transform: none !important;
  font-size: 1.35rem !important;
}
body.theme-yard .quote-accent {
  color: #c4a86a !important;
}

/* Footer legal / broker notice — no purple box */
body.theme-yard .footer-broker-notice {
  border: 1px solid rgba(90, 72, 52, 0.75) !important;
  background: #262018 !important;
  color: var(--muted) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
body.theme-yard .footer-broker-notice strong {
  color: #f0e6d4 !important;
}
body.theme-yard .footer-broker-sub {
  color: var(--muted-2) !important;
}
body.theme-yard .footer-broker-notice .text-link,
body.theme-yard .footer-broker-notice a {
  color: #e8b86d !important;
}
body.theme-yard .footer-copy a:hover {
  color: #e8b86d !important;
}
body.theme-yard .site-footer {
  background: #14120f !important;
  border-top-color: rgba(90, 72, 52, 0.55) !important;
}
body.theme-yard .seller-identity-card {
  border: 1px solid rgba(90, 72, 52, 0.75) !important;
  background: #262018 !important;
}

/* ═══════════════════════════════════════════════════
   Landing catch-all: remaining hardcoded violet
   ═══════════════════════════════════════════════════ */
body.theme-yard .scroll-progress span {
  background: #c2410c !important;
}
body.theme-yard .nav-pill .btn-primary,
body.theme-yard .btn-primary {
  background: #c2410c !important;
  border-color: #9a3412 !important;
  box-shadow: none !important;
}
body.theme-yard .lang-btn.is-on,
body.theme-yard .lang-btn[aria-pressed="true"] {
  background: rgba(212, 160, 23, 0.18) !important;
  color: #e8b86d !important;
  border-color: rgba(212, 160, 23, 0.35) !important;
}
body.theme-yard .cur-select {
  border-color: rgba(245, 236, 220, 0.18) !important;
  background: rgba(26, 24, 20, 0.9) !important;
  color: var(--text) !important;
}
body.theme-yard .home-event-banner-link,
body.theme-yard .metric-chip,
body.theme-yard .testi-card,
body.theme-yard .service-card,
body.theme-yard .buyer-merit,
body.theme-yard .bento .glass-card,
body.theme-yard .problem-intro .glass-card,
body.theme-yard .problem-grid .glass-card {
  border-color: rgba(90, 72, 52, 0.7) !important;
  background: #262018 !important;
  box-shadow: none !important;
}
body.theme-yard .icon-orb,
body.theme-yard .icon-violet,
body.theme-yard .icon-violet-solid {
  background: rgba(212, 160, 23, 0.12) !important;
  color: #e8b86d !important;
  box-shadow: none !important;
}
body.theme-yard .mobile-cta {
  background: rgba(20, 18, 14, 0.96) !important;
  border-top: 1px solid rgba(90, 72, 52, 0.55) !important;
}
body.theme-yard .mobile-cta .btn-primary {
  background: #c2410c !important;
}
body.theme-yard .footer-cols a:hover,
body.theme-yard .footer-links a:hover,
body.theme-yard .footer-nav a:hover,
body.theme-yard .footer-copy a:hover {
  color: #e8b86d !important;
}
body.theme-yard .site-footer {
  background: #14120f !important;
  border-top-color: rgba(90, 72, 52, 0.55) !important;
}
body.theme-yard .footer-broker-notice {
  border: 1px solid rgba(90, 72, 52, 0.75) !important;
  background: #262018 !important;
  border-radius: 8px !important;
}
body.theme-yard .footer-broker-notice a,
body.theme-yard .footer-broker-notice .text-link {
  color: #e8b86d !important;
}
body.theme-yard .wa-buyer-badge,
body.theme-yard .buyer-rank-badge {
  background: rgba(212, 160, 23, 0.12) !important;
  border-color: rgba(212, 160, 23, 0.35) !important;
  color: #f0e0b0 !important;
}

/* ═══════════════════════════════════════════════════
   Sitewide: form-body, guide how-*, legal (v=20260729-sitewide)
   ═══════════════════════════════════════════════════ */
body.theme-yard.form-body,
body.form-body.theme-yard,
body.theme-yard {
  --bg: #1a1814;
  --bg-elev: #221f1a;
  --card: #2a2620;
  --card-2: #322e27;
  --border: rgba(245, 236, 220, 0.1);
  --border-strong: rgba(245, 236, 220, 0.18);
  --text: #f5f0e6;
  --muted: #b8ae9c;
  --muted-2: #8f8576;
  --accent: #d4a017;
  --accent-2: #c4920f;
  --accent-3: #a67c00;
  --accent-soft: rgba(212, 160, 23, 0.12);
  --accent-glow: rgba(180, 83, 9, 0.25);
  --pink: #e8b86d;
}

body.theme-yard .form-nav .nav-pill,
body.theme-yard.form-body .nav-pill {
  background: rgba(28, 24, 20, 0.48) !important;
  border: 1px solid rgba(245, 236, 220, 0.18) !important;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 245, 220, 0.08) !important;
  backdrop-filter: blur(18px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
}

body.theme-yard .how-hero {
  border: 1px solid rgba(180, 140, 80, 0.4) !important;
  background: linear-gradient(145deg, rgba(60, 42, 24, 0.55), rgba(26, 24, 20, 0.95)) !important;
  border-radius: 10px !important;
}
body.theme-yard .how-swap a.is-on {
  border-color: rgba(212, 160, 23, 0.5) !important;
  background: rgba(212, 160, 23, 0.14) !important;
  color: #f5ebd8 !important;
}
body.theme-yard .how-steps > li {
  background: #262018 !important;
  border-color: rgba(90, 72, 52, 0.7) !important;
  border-radius: 10px !important;
}
body.theme-yard .how-steps > li::before {
  background: rgba(212, 160, 23, 0.2) !important;
  border-color: rgba(212, 160, 23, 0.45) !important;
  color: #f0e0b0 !important;
}
body.theme-yard .how-callout {
  border-color: rgba(180, 140, 80, 0.35) !important;
  background: rgba(60, 42, 24, 0.4) !important;
}
body.theme-yard .how-callout strong {
  color: #e8b86d !important;
}
body.theme-yard .how-faq details {
  background: #262018 !important;
  border-color: rgba(90, 72, 52, 0.7) !important;
}
body.theme-yard .btn-primary,
body.theme-yard a.btn-primary {
  background: #c2410c !important;
  border-color: #9a3412 !important;
  color: #fffaf5 !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}
body.theme-yard .brand-mark {
  background-image: url("/assets/logo-mark-yard.png") !important;
  box-shadow: none !important;
}
body.theme-yard .brand-name .brand-again {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #c4a86a !important;
  -webkit-text-fill-color: #c4a86a !important;
}

/* legal.css overrides */
body.theme-yard .legal-page .eyebrow {
  color: #d4a017 !important;
}
body.theme-yard .legal-body {
  background: #262018 !important;
  border-color: rgba(90, 72, 52, 0.7) !important;
}
body.theme-yard .legal-body th {
  background: rgba(212, 160, 23, 0.1) !important;
}
body.theme-yard .legal-body a {
  color: #e8b86d !important;
}
body.theme-yard .legal-body blockquote {
  border-left-color: #d4a017 !important;
  background: rgba(212, 160, 23, 0.1) !important;
}
body.theme-yard .footer-broker-notice {
  border: 1px solid rgba(90, 72, 52, 0.75) !important;
  background: #262018 !important;
  border-radius: 8px !important;
}
body.theme-yard .form-card,
body.theme-yard .card {
  border-color: rgba(90, 72, 52, 0.7) !important;
  background: #262018 !important;
}

/* Photo layers under yard tokens */
body.theme-yard .hero-photo-scrim {
  background:
    linear-gradient(100deg, rgba(22, 18, 14, 0.82) 0%, rgba(22, 18, 14, 0.5) 40%, rgba(22, 18, 14, 0.18) 70%, rgba(22, 18, 14, 0.08) 100%),
    linear-gradient(
      180deg,
      rgba(22, 18, 14, 0.28) 0%,
      transparent 22%,
      transparent 48%,
      rgba(26, 24, 20, 0.55) 72%,
      rgba(26, 24, 20, 0.92) 88%,
      var(--bg, #1a1814) 100%
    ) !important;
}
body.theme-yard .hero::after {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(26, 24, 20, 0.35) 35%,
    var(--bg, #1a1814) 100%
  ) !important;
}
body.theme-yard .hero-glow {
  opacity: 0.14 !important;
  background:
    radial-gradient(ellipse 50% 55% at 20% 40%, rgba(194, 65, 12, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 50% at 80% 20%, rgba(212, 160, 23, 0.08), transparent 70%) !important;
}
body.theme-yard .hero-ecg-bg {
  opacity: 0.1 !important;
}
body.theme-yard .section--photo .section-photo-scrim {
  background:
    linear-gradient(180deg, rgba(22, 18, 14, 0.6) 0%, rgba(22, 18, 14, 0.46) 50%, rgba(22, 18, 14, 0.62) 100%) !important;
}
body.theme-yard .final-cta-still {
  border-color: rgba(90, 72, 52, 0.85) !important;
  background: #1a1612 !important;
}

/* legacy purple aliases → yard accent (compat) */
:root, body, body.theme-yard {
  --purple: var(--accent);
  --purple-2: var(--accent-2, var(--accent));
  --purple-3: var(--accent-3, var(--accent));
  --purple-soft: var(--accent-soft);
  --purple-glow: var(--accent-glow, var(--accent-soft));
  --purple-bright: var(--accent-bright, var(--accent));
}
