:root {
  --ink: #092323;
  --muted: #526765;
  --deep: #083a36;
  --lime: #caff63;
  --paper: #f5f7f0;
  --white: #ffffff;
  --line: #d8e2d4;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 240, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 190px;
  flex: 0 0 auto;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--deep);
  border-radius: 999px;
  color: var(--deep);
  font-weight: 850;
}

.legal-main {
  padding: 78px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--deep);
  font-size: 0.9rem;
  font-weight: 850;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 42px 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

p,
li {
  color: var(--muted);
}

.notice,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.notice {
  margin: 28px 0 34px;
  padding: 18px;
}

.notice p {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.content-card {
  padding: 28px;
}

.content-card p:last-child,
.content-card ul:last-child {
  margin-bottom: 0;
}

.placeholder {
  color: var(--ink);
  font-weight: 800;
}

.legal-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.legal-form .field {
  display: grid;
  gap: 7px;
}

.legal-form label {
  color: var(--ink);
  font-weight: 800;
}

.legal-form input,
.legal-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fbfcf7;
  padding: 12px 14px;
  outline: none;
}

.legal-form textarea {
  min-height: 150px;
  resize: vertical;
}

.legal-form input:focus,
.legal-form textarea:focus {
  border-color: var(--deep);
  box-shadow: 0 0 0 3px rgba(8, 58, 54, 0.12);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  border: 0;
  border-radius: 999px;
  color: var(--deep);
  background: var(--lime);
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status.is-error {
  color: #a73222;
}

.form-status.is-success {
  color: #2f6e1f;
}

.honeypot {
  display: none;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink);
  font-weight: 750;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

.footer-links a:hover {
  text-decoration-color: var(--lime);
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 28px, 940px);
  }

  .nav-shell {
    height: 64px;
  }

  .brand {
    width: 160px;
  }

  .back-link {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .legal-main {
    padding: 52px 0;
  }

  h1 {
    font-size: 2.3rem;
  }

  .content-card {
    padding: 20px;
  }

  .button {
    width: 100%;
    justify-self: stretch;
  }
}
