/* ==========================================================================
   SUSHI SECRETS INC. — legal.css
   Shared stylesheet for privacy.html and terms-of-service.html.
   These pages load ONLY this file, so it defines the page background,
   text colors, the plain legal header and a scoped legal-content reset.
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  background-color: #F4EFE4;
  color: #2B2825;
  line-height: 1.75;
  overflow-x: hidden;
}

/* plain legal header — solid background, strong h1 contrast */
.legal-header {
  background-color: #322C26;
  color: #FBF7EC;
  padding: 30px 24px;
  width: 100%;
}

.legal-header-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #E08A5E;
  margin-bottom: 10px;
}

.legal-header h1 {
  font-size: 34px;
  line-height: 1.22;
  color: #FBF7EC;
}

.legal-header p {
  margin-top: 10px;
  color: #FBF7EC;
  max-width: 70ch;
  font-size: 15px;
}

.legal-header a {
  color: #FBF7EC;
  text-decoration: underline;
}

/* the single centered legal column */
.legal-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-content {
  padding: 44px 0 64px;
}

/* scope isolation so embedded sections never inherit odd backgrounds */
.legal-content section {
  background-color: transparent !important;
}

.legal-content h2 {
  font-size: 23px;
  color: #322C26;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #C9AE85;
}

.legal-content h3 {
  font-size: 18px;
  color: #9E3D38;
  margin: 22px 0 8px;
}

.legal-content p {
  margin-bottom: 16px;
  max-width: 76ch;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 18px 26px;
  max-width: 76ch;
}

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

.legal-content strong {
  color: #322C26;
}

.legal-content a {
  color: #9E3D38;
  text-decoration: underline;
}

/* table of contents */
.legal-toc {
  background-color: #FBF7EC;
  border: 2px solid #C9AE85;
  border-radius: 8px;
  padding: 24px 26px;
  margin-bottom: 12px;
}

.legal-toc h2 {
  margin-top: 0;
}

.legal-toc ol {
  columns: 2;
  column-gap: 34px;
}

.legal-toc a {
  color: #9E3D38;
}

.legal-meta {
  margin-top: 14px;
  font-size: 14px;
  color: #4E565B;
}

.legal-note {
  background-color: #FBF7EC;
  border-left: 5px solid #9E3D38;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}

.legal-footer {
  background-color: #322C26;
  color: #FBF7EC;
  padding: 30px 24px;
  margin-top: 20px;
}

.legal-footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-footer p {
  color: #FBF7EC;
  font-size: 14px;
  margin-bottom: 8px;
}

.legal-footer a {
  color: #FBF7EC;
  text-decoration: underline;
}

.legal-footer-links a {
  margin-right: 18px;
  display: inline-block;
}

@media (max-width: 640px) {
  .legal-toc ol {
    columns: 1;
  }

  .legal-header h1 {
    font-size: 26px;
  }
}
