* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #ECF6FA;
  color: #1A2A36;
  line-height: 1.75;
  overflow-x: hidden;
}

.legal-top {
  background-color: #12161C;
  border-bottom: 4px solid #608678;
  padding: 16px 26px;
}

.legal-top-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.legal-brand-bottle {
  width: 20px;
  height: 27px;
  background-color: #608678;
  border-radius: 6px 6px 3px 3px;
  position: relative;
  border: 2px solid #C4AA29;
  flex: 0 0 auto;
}

.legal-brand-bottle::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 4px;
  width: 8px;
  height: 6px;
  background-color: #C4AA29;
  border-radius: 1px;
}

.legal-brand-text {
  color: #ECF6FA;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  font-weight: bold;
}

.legal-top-home {
  color: #ECF6FA;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  border: 1px solid #608678;
  border-radius: 15px;
  padding: 5px 16px;
}

.legal-top-home:hover {
  background-color: #608678;
}

.legal-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-head {
  background-color: #D8E2E6;
  border-bottom: 3px solid #12161C;
  padding: 48px 0 38px;
}

.legal-head h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  color: #1A2A36;
  margin: 0 0 12px;
  line-height: 1.15;
}

.legal-head .legal-sub {
  font-size: 14px;
  color: #1A2A36;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}

.legal-head .legal-company {
  font-size: 14px;
  color: #608678;
  margin: 0;
  font-weight: bold;
}

.legal-toc {
  background-color: #FFFFFF;
  border: 2px solid #12161C;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 36px 0 10px;
}

.legal-toc h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  margin: 0 0 14px;
  color: #1A2A36;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 34px;
}

.legal-toc li {
  margin-bottom: 7px;
  font-size: 14px;
  break-inside: avoid;
}

.legal-toc a {
  color: #1A2A36;
  text-decoration: none;
  border-bottom: 1px solid #929E9E;
}

.legal-toc a:hover {
  color: #608678;
  border-bottom-color: #608678;
}

.legal-content {
  padding: 30px 0 60px;
}

.legal-content section {
  background-color: #ECF6FA !important;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  color: #1A2A36;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #608678;
}

.legal-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  color: #1A2A36;
  margin: 22px 0 8px;
}

.legal-content p {
  font-size: 16px;
  color: #1A2A36;
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content li {
  font-size: 16px;
  color: #1A2A36;
  margin-bottom: 8px;
}

.legal-content a {
  color: #1A2A36;
  font-weight: bold;
  border-bottom: 1px solid #608678;
  text-decoration: none;
}

.legal-content a:hover {
  color: #608678;
}

.legal-content .legal-note {
  background-color: #D8E2E6;
  border-left: 5px solid #608678;
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 15px;
  margin: 0 0 18px;
}

.legal-content .legal-note strong {
  color: #608678;
}

.legal-bottom {
  background-color: #12161C;
  color: #ECF6FA;
  padding: 40px 0 34px;
  border-top: 4px solid #608678;
}

.legal-bottom-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  align-items: center;
  justify-content: space-between;
}

.legal-bottom-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #ECF6FA;
  font-weight: bold;
}

.legal-bottom-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.legal-bottom-links a {
  color: #ECF6FA;
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid #12161C;
}

.legal-bottom-links a:hover {
  border-bottom-color: #608678;
}

.legal-bottom-meta {
  max-width: 900px;
  margin: 18px auto 0;
  padding: 16px 24px 0;
  border-top: 1px solid #929E9E;
  font-size: 13px;
  color: #D8E2E6;
}

.legal-bottom-meta a {
  color: #ECF6FA;
  text-decoration: none;
}

.legal-drop {
  display: inline-block;
  width: 9px;
  height: 13px;
  background-color: #608678;
  border-radius: 50% 50% 50% 50%;
  transform: rotate(45deg);
  margin-right: 6px;
  vertical-align: -1px;
}

@media (max-width: 640px) {
  .legal-head h1 { font-size: 32px; }
  .legal-toc ol { columns: 1; }
  .legal-shell { padding: 0 18px; }
}
