:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17362d;
  background: #eef2f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(31, 122, 87, 0.14), transparent 32rem),
    #eef2f1;
  line-height: 1.65;
}

a {
  color: #176b4c;
}

a:hover,
a:focus-visible {
  color: #0f4d36;
}

.legal-header {
  border-bottom: 1px solid rgba(23, 54, 45, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.legal-header-inner,
.legal-main,
.legal-footer {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #17362d;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: #17362d;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.legal-nav a {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-main {
  margin-top: 34px;
  margin-bottom: 34px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(23, 54, 45, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(23, 54, 45, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: #1f7a57;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.5rem);
  letter-spacing: -0.045em;
}

h2 {
  margin: 2.2rem 0 0.65rem;
  font-size: 1.28rem;
}

p,
li {
  color: #3c514a;
}

.updated {
  margin: 14px 0 28px;
  color: #6a7d77;
  font-size: 0.92rem;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid #1f7a57;
  border-radius: 0 12px 12px 0;
  background: #edf7f3;
}

.notice p {
  margin: 0;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.55rem;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 38px;
  color: #63756f;
  font-size: 0.86rem;
}

.legal-footer p {
  margin: 0;
  color: inherit;
}

@media (max-width: 620px) {
  .legal-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-nav {
    justify-content: flex-start;
  }

  .legal-main {
    width: 100%;
    margin-top: 0;
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
  }
}
