/* Legal stylesheet - Lapar Control Valve Co., Limited
   Loaded only by privacy.html and terms-of-service.html
   Defines its own background and text colours with strong contrast. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  background-color: #EAF2EA;
  color: #2A3830;
  line-height: 1.72;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #2A3830;
  line-height: 1.22;
  margin: 0 0 0.55em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: #9E4526;
}

a:hover {
  color: #1C2620;
}

.legal-head {
  background-color: #1C2620;
  color: #EAF2EA;
  padding: 26px 0;
  border-bottom: 6px solid #C25E34;
}

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

.legal-head a.brand-link {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #EAF2EA;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.legal-head a.brand-link:hover {
  color: #C25E34;
}

.legal-head .head-home {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C25E34;
  text-decoration: none;
}

.legal-head .head-home:hover {
  color: #EAF2EA;
}

.legal-title {
  background-color: #DCE7DC;
  padding: 46px 0 40px;
  border-bottom: 3px solid #C9C4AE;
}

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

.legal-title h1 {
  font-size: 38px;
  color: #2A3830;
  margin-bottom: 10px;
}

.legal-title .legal-meta {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3F4F45;
}

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

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

.legal-content section {
  background-color: transparent !important;
  padding: 0 0 4px;
  margin-bottom: 22px;
}

.legal-content h2 {
  font-size: 23px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 2px solid #C9C4AE;
}

.legal-content section:first-of-type h2 {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 18px;
  margin-top: 22px;
}

.legal-content p {
  font-size: 16px;
  color: #2A3830;
}

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

.legal-content li {
  margin-bottom: 8px;
  font-size: 15.5px;
}

.legal-toc {
  background-color: #E6E2D0;
  border: 3px solid #1C2620;
  border-left: 8px solid #C25E34;
  padding: 24px 26px;
  margin: 0 0 40px;
}

.legal-toc h2 {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: #1C2620;
  border-top: none;
  padding-top: 0;
}

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

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

.legal-toc a {
  color: #9E4526;
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-note {
  background-color: #DCE7DC;
  border-left: 8px solid #B06565;
  padding: 18px 22px;
  margin: 0 0 30px;
}

.legal-note p {
  margin: 0;
  font-size: 15px;
}

.legal-foot {
  background-color: #1C2620;
  color: #E6E2D0;
  margin-top: 30px;
  padding: 34px 0;
}

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

.legal-foot p {
  font-size: 14.5px;
  color: #C9D2C6;
  margin-bottom: 8px;
}

.legal-foot a {
  color: #EAF2EA;
  border-bottom: 1px solid #667A6C;
}

.legal-foot a:hover {
  color: #C25E34;
}

.legal-foot .foot-home-line {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .legal-title h1 {
    font-size: 29px;
  }

  .legal-toc ol {
    columns: 1;
  }

  .legal-content h2 {
    font-size: 20px;
  }
}
