/* Legal pages: about, contact, privacy, disclaimer, terms */
:root {
  --legal-red: #b10000;
  --legal-green: #08712b;
  --legal-gold: #d4af37;
  --legal-brown: #6d3f10;
  --legal-cream: #fff7df;
  --legal-border: #d8bd65;
  --legal-black: #111111;
  --legal-muted: #5f5f5f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--legal-black);
  font-family: Inter, Arial, sans-serif;
}

.legal-wrapper {
  width: 100%;
  background: #ffffff;
  padding: 8px 0 14px;
}

.legal-container {
  width: min(100% - 14px, 980px);
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 9px;
  border: 1px dashed var(--legal-border);
  border-radius: 8px;
  background: #fffaf0;
  color: var(--legal-brown);
  padding: 8px 9px;
  font-size: 12px;
  font-weight: 900;
}

.breadcrumb a {
  color: var(--legal-red);
  font-weight: 900;
  text-decoration: none;
}

.breadcrumb-separator {
  color: var(--legal-gold);
  font-weight: 900;
}

.page-header {
  margin-bottom: 10px;
  overflow: hidden;
  border: 2px solid var(--legal-gold);
  border-radius: 8px;
  background: linear-gradient(135deg, #111111 0%, #7b0000 48%, #b8860b 100%);
  color: #ffffff;
  text-align: center;
  padding: 14px 10px;
  box-shadow: 0 7px 17px rgba(88, 41, 7, 0.16);
}

.page-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(23px, 6vw, 34px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.36);
}

.page-subtitle {
  margin: 8px auto 0;
  max-width: 780px;
  color: #fff4c8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.page-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.page-meta-item {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff8d7;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 900;
}

.card,
.notice,
.toc,
.page-footer {
  border-radius: 8px;
}

.card {
  margin: 10px 0;
  border: 2px solid var(--legal-border);
  background: linear-gradient(180deg, #fffdf5, #ffffff 45%, #fff8df);
  box-shadow: 0 7px 16px rgba(55, 35, 8, 0.1);
  padding: 12px 11px;
}

.card h2,
.card h3,
.notice h3,
.toc h2 {
  margin: 0 0 8px;
  color: var(--legal-red);
  font-weight: 900;
  line-height: 1.2;
}

.card h2,
.toc h2 {
  border-left: 5px solid var(--legal-red);
  background: linear-gradient(90deg, #fff0f0, #fff8df);
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 20px;
}

.card h3,
.notice h3 {
  font-size: 16px;
}

.card p,
.notice p,
.card li,
.toc li,
.text-muted,
.iext-fa769ae035 {
  color: #262626;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.58;
}

.text-muted {
  color: var(--legal-muted);
}

.custom-list,
.check-list,
.cross-list,
.toc-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.custom-list li,
.check-list li,
.cross-list li,
.toc-list li {
  margin: 5px 0;
}

.toc {
  margin: 10px 0;
  border: 2px solid var(--legal-border);
  background: #fff8df;
  padding: 11px;
}

.toc-list a {
  color: var(--legal-red);
  font-weight: 900;
  text-decoration: none;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 9px;
}

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

.stat-box,
.contact-item,
.card-section {
  border: 1px solid var(--legal-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.stat-box {
  text-align: center;
}

.stat-value,
.contact-item-label {
  display: block;
  color: var(--legal-red);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.stat-label,
.contact-item-value {
  display: block;
  margin-top: 4px;
  color: var(--legal-brown);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.contact-grid {
  display: grid;
  gap: 8px;
}

.contact-item-value a,
.card a,
.notice a {
  color: var(--legal-red);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.notice {
  margin: 10px 0;
  border: 2px solid var(--legal-border);
  background: #fff8df;
  padding: 10px;
}

.notice-info {
  border-color: #9fc0ff;
  background: #f0f6ff;
}

.notice-success {
  border-color: #8ddca3;
  background: #edfff2;
}

.notice-warning {
  border-color: #f1bf54;
  background: #fff7df;
}

.notice-info h3,
.notice-info strong { color: #004a9f; }
.notice-success h3,
.notice-success strong { color: var(--legal-green); }
.notice-warning h3,
.notice-warning strong { color: #9a5b00; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none !important;
}

.btn-primary {
  border: 0;
  background: linear-gradient(180deg, #18a447, #08712b);
  color: #ffffff !important;
  box-shadow: 0 3px 0 #06481f;
}

.btn-outline {
  border: 1px solid var(--legal-border);
  background: #ffffff;
  color: var(--legal-red) !important;
}

form label,
.iext-9c2219d568 {
  display: block;
  margin: 9px 0 5px;
  color: var(--legal-brown);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea,
.iext-4b963243f2,
.iext-d98d600473 {
  width: 100%;
  min-height: 42px;
  border: 2px solid var(--legal-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--legal-black);
  padding: 10px;
  font-size: 15px;
  font-weight: 800;
  outline: none;
}

textarea,
.iext-d98d600473 {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--legal-red);
  box-shadow: 0 0 0 3px rgba(177, 0, 0, 0.12);
}

.page-footer {
  margin: 12px 0 0;
  border: 2px solid var(--legal-border);
  background: #fff8df;
  padding: 9px;
  text-align: center;
}

.footer-meta {
  color: var(--legal-brown);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.35;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.footer-links a {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--legal-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--legal-red);
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.fade-in {
  animation: none;
}

@media (max-width: 760px) {
  .legal-wrapper {
    padding-top: 6px;
  }

  .legal-container {
    width: calc(100% - 12px);
  }

  .page-header {
    padding: 12px 8px;
  }

  .page-header h1 {
    font-size: 23px;
  }

  .page-subtitle,
  .card p,
  .notice p,
  .card li,
  .toc li,
  .iext-fa769ae035 {
    font-size: 12.5px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .card,
  .notice,
  .toc {
    padding: 10px 9px;
    margin: 8px 0;
  }

  .card h2,
  .toc h2 {
    font-size: 18px;
  }

  .page-meta-item,
  .footer-links a {
    font-size: 10.5px;
  }
}
