/* ── CSS Variables: Warm Earth palette ── */
:root {
  --color-primary: #2c1810;
  --color-secondary: #8b4513;
  --color-accent: #d4a574;
  --color-background: #faf5f0;
  --color-text: #333333;
  --color-surface: #f5ebe0;
  --color-border: rgba(51,51,51,0.15);
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --style-border-radius: 6px;
  --style-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ── Base Reset & Body ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Links ── */
a { color: var(--color-secondary); text-decoration: none; }
a:hover { color: var(--color-primary); text-decoration: underline; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--style-border-radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }

/* ── Toast Notification ── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
}

/* ══════════════════════════════════════
   header/6 — Search-Forward Header
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-background, #ffffff);
  box-shadow: var(--style-shadow, 0 1px 3px rgba(0, 0, 0, 0.1));
}

.site-header__announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--color-accent, #2d2d2d);
  color: var(--color-background, #ffffff);
  font-size: 0.8125rem;
  text-align: center;
}

.site-header__announcement--hidden {
  display: none;
}

.site-header__announcement-text {
  margin: 0;
}

.site-header__announcement-dismiss {
  background: none;
  border: none;
  color: var(--color-background, #ffffff);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.site-header__announcement-dismiss:hover {
  opacity: 1;
}

.site-header__main {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 2rem;
}

.site-header__logo {
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.site-header__logo img {
  display: block;
  max-height: 44px;
  width: auto;
}

.site-header__logo-text {
  font-family: var(--font-body, sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text, #1a1a1a);
  white-space: nowrap;
}

.site-header__search {
  flex: 1;
  max-width: 640px;
  position: relative;
}

.site-header__search-form {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--color-border, #d1d5db);
  border-radius: var(--style-border-radius, 6px);
  overflow: hidden;
  transition: border-color 0.2s;
}

.site-header__search-form:focus-within {
  border-color: var(--color-accent, #3b82f6);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #3b82f6) 20%, transparent);
}

.site-header__search-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: none;
  outline: none;
  font-size: 0.9375rem;
  font-family: var(--font-body, sans-serif);
  color: var(--color-text, #1a1a1a);
  background-color: var(--color-background, #ffffff);
}

.site-header__search-input::placeholder {
  color: color-mix(in srgb, var(--color-text, #1a1a1a) 45%, transparent);
}

.site-header__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border: none;
  background-color: var(--color-accent, #3b82f6);
  color: var(--color-background, #ffffff);
  cursor: pointer;
  transition: opacity 0.2s;
}

.site-header__search-btn:hover {
  opacity: 0.85;
}

.site-header__search-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  background-color: var(--color-background, #ffffff);
  border: 1px solid var(--color-border, #d1d5db);
  border-radius: var(--style-border-radius, 6px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 200;
}

.site-header__search-dropdown--open {
  display: block;
}

.site-header__search-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  text-decoration: none;
  color: var(--color-text, #1a1a1a);
  transition: background-color 0.15s;
}

.site-header__search-result:hover {
  background-color: var(--color-surface, #f3f4f6);
}

.site-header__search-result-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.site-header__search-result-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.site-header__search-result-price {
  font-size: 0.8125rem;
  color: var(--color-secondary, #6b7280);
}

.site-header__search-no-results {
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-secondary, #6b7280);
}

.site-header__cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  color: var(--color-text, #1a1a1a);
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.2s;
}

.site-header__cart-btn:hover {
  background-color: var(--color-surface, #f3f4f6);
}

.site-header__cart-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background-color: var(--color-accent, #e63946);
  color: var(--color-background, #ffffff);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.site-header__categories {
  border-top: 1px solid var(--color-border, #e5e7eb);
  background-color: var(--color-surface, #f9fafb);
}

.site-header__category-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.site-header__category-list::-webkit-scrollbar {
  display: none;
}

.site-header__category-link {
  display: block;
  padding: 0.625rem 1rem;
  text-decoration: none;
  color: var(--color-text, #1a1a1a);
  font-size: 0.875rem;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}

.site-header__category-link:hover {
  color: var(--color-accent, #3b82f6);
  background-color: color-mix(in srgb, var(--color-accent, #3b82f6) 8%, transparent);
}

@media (max-width: 768px) {
  .site-header__main {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }

  .site-header__logo-text {
    font-size: 1.125rem;
  }

  .site-header__search-input {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }

  .site-header__search-btn {
    padding: 0 0.75rem;
  }

  .site-header__category-list {
    padding: 0 1rem;
  }

  .site-header__category-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
}

/* ══════════════════════════════════════
   hero/5 — Trust Strip
══════════════════════════════════════ */
.trust-strip {
  background: #f9f9f9;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 1.5rem 2rem;
}

.trust-strip__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-strip__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.trust-strip__link {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.trust-strip__link:hover {
  color: var(--color-accent, #2563eb);
}

.trust-strip__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: var(--color-primary, #2563eb);
}

.trust-strip__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-strip__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary, #1a1a1a);
  line-height: 1.3;
}

.trust-strip__text {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .trust-strip__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trust-strip {
    padding: 1.25rem 1rem;
  }

  .trust-strip__list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-strip__item {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* ══════════════════════════════════════
   products/3 — Magazine layout
══════════════════════════════════════ */
.page-title {
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 32px 0 0;
  border-bottom: 2px solid #000;
  padding-bottom: 12px;
}

.products {
  display: flex;
  flex-direction: column;
  padding: 0 0 48px;
}

.product-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.product-image {
  width: 64px;
  height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid #000;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.product-desc {
  font-size: 0.8rem;
  color: #666;
}

.product-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.product-price {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.add-btn {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}

.add-btn:hover {
  background: #333;
  color: #fff;
  text-decoration: none;
}

/* Magazine featured product */
.product-featured {
  display: flex;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 2px solid #000;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
}

.product-featured:hover {
  background: #f5f5f5;
  text-decoration: none;
}

.product-featured .product-image {
  width: 140px;
  height: 140px;
  min-width: 140px;
  font-size: 4rem;
}

.product-featured .product-name {
  font-size: 1.3rem;
}

.product-featured .product-desc {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.product-featured .product-price {
  font-size: 1.3rem;
}

@media (max-width: 700px) {
  .product-card { flex-wrap: wrap; gap: 12px; }
  .product-bottom { width: 100%; justify-content: space-between; }
  .product-featured { flex-direction: column; gap: 16px; }
  .product-featured .product-image { width: 100%; height: 120px; min-width: 0; }
}

/* ══════════════════════════════════════
   product-detail/2 — Brutalist Two-Column
══════════════════════════════════════ */
.back-link {
  display: inline-block;
  margin: 24px 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
  border-bottom: 1px solid #000;
}

.back-link:hover {
  color: #666;
  border-color: #666;
}

.product-detail {
  display: flex;
  gap: 40px;
  padding: 0 0 48px;
  border-top: 2px solid #000;
  padding-top: 32px;
}

.detail-image {
  width: 280px;
  height: 280px;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  border: 2px solid #000;
}

.detail-info {
  flex: 1;
}

.detail-name {
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.detail-desc {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.5;
}

.detail-price {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.detail-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.qty-picker {
  display: flex;
  align-items: center;
  border: 2px solid #000;
}

.qty-btn {
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.15s;
}

.qty-btn:hover {
  background: #000;
  color: #fff;
}

#qty-display {
  width: 40px;
  text-align: center;
  font-weight: 700;
  border-left: 2px solid #000;
  border-right: 2px solid #000;
  line-height: 40px;
}

.add-btn-lg {
  background: #000;
  color: #fff;
  border: none;
  padding: 0 32px;
  height: 44px;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.add-btn-lg:hover {
  background: #333;
  color: #fff;
  text-decoration: none;
}

.not-found {
  padding: 48px 0;
  font-size: 1.1rem;
  color: #666;
}

.not-found a {
  color: #000;
  font-weight: 700;
  border-bottom: 1px solid #000;
}

@media (max-width: 700px) {
  .product-detail { flex-direction: column; gap: 24px; }
  .detail-image { width: 100%; min-width: 0; height: 200px; font-size: 4rem; }
  .detail-actions { flex-direction: column; align-items: stretch; }
  .add-btn-lg { text-align: center; padding: 12px; }
}

/* ══════════════════════════════════════
   cta/3 — Image Banner
══════════════════════════════════════ */
.cta-banner {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 48px 0;
  border-radius: 16px;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
}

.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  padding: 48px 24px;
  color: #fff;
}

.cta-banner__heading {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
}

.cta-banner__desc {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
  opacity: 0.9;
}

.cta-banner__btn {
  display: inline-block;
  padding: 14px 36px;
  background: #fff;
  color: var(--color-text, #1a1a1a);
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--color-text, #1a1a1a);
}

/* ══════════════════════════════════════
   footer/4 — Multi-Column
══════════════════════════════════════ */
.site-footer {
  background: #1a1a2e;
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 24px 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 4px;
}

.site-footer__desc {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.7;
}

.site-footer__contact {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.7;
}

.site-footer__heading {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.site-footer__links a:hover {
  color: var(--color-primary, #6366f1);
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.site-footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s;
}

.site-footer__social-link:hover {
  background: var(--color-primary, #6366f1);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0;
}

.site-footer__copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

@media (max-width: 992px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════
   cart-page/1 — Simple List
══════════════════════════════════════ */
.cart-page-empty {
  text-align: center;
  padding: 64px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: #666;
  font-size: 1.1rem;
}

.cart-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.cart-row-product {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.cart-row-product:hover { text-decoration: none; }

.cart-row-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.cart-row-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-row-price {
  font-size: 0.8rem;
  color: #888;
}

.cart-row-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.cart-row-qty .qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.15s;
}

.cart-row-qty .qty-btn:hover { background: #e0e0e0; }

.cart-row-qty span {
  width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  line-height: 32px;
}

.cart-row-subtotal {
  font-weight: 700;
  font-size: 1rem;
  min-width: 80px;
  text-align: right;
}

.cart-row-remove {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #aaa;
  padding: 4px 8px;
  transition: color 0.15s;
}

.cart-row-remove:hover { color: #e74c3c; }

.cart-summary {
  max-width: 400px;
  margin-left: auto;
  background: var(--color-surface, #f5ebe0);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.cart-summary-total {
  font-weight: 900;
  font-size: 1.2rem;
  border-top: 2px solid #000;
  padding-top: 12px;
  margin-top: 4px;
}

.checkout-btn {
  background: var(--color-primary, #000);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  width: 100%;
  transition: opacity 0.2s;
}

.checkout-btn:hover { opacity: 0.85; }

.continue-link {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-secondary, #8b4513);
  text-decoration: underline;
}

.continue-link:hover { color: var(--color-primary, #2c1810); }

@media (max-width: 600px) {
  .cart-row { flex-wrap: wrap; gap: 8px; }
  .cart-row-product { flex-basis: 100%; }
  .cart-summary { max-width: 100%; }
}

/* ══════════════════════════════════════
   Legal / Info pages
══════════════════════════════════════ */
.legal-content {
  max-width: 800px;
  margin: 40px auto 60px;
  line-height: 1.8;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 8px;
  color: var(--color-primary);
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 20px 0 6px;
}

.legal-content p {
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-content a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-primary);
}

.legal-content ul, .legal-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-content li { margin-bottom: 6px; }

.legal-content details {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 8px;
}

.legal-content summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
}

.legal-content details[open] summary {
  margin-bottom: 8px;
}

.legal-content .last-updated {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 28px;
}
