:root {
  --ink: #172725;
  --muted: #5c6c69;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --line: #d7d0c2;
  --teal: #125f59;
  --teal-dark: #0c4642;
  --orange: #e86f36;
  --red: #882f28;
  --red-pale: #f8e5e1;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 88% 5%, rgba(18, 95, 89, .09), transparent 28rem), var(--cream);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
}

a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
button, input { font: inherit; }

.site-header, .site-footer {
  padding: 18px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(23, 39, 37, .14);
}

.site-header { min-height: 70px; background: rgba(245, 241, 232, .92); }
.site-footer { border-top: 1px solid rgba(23, 39, 37, .14); border-bottom: 0; color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; gap: 18px; }

.brand { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .02em; }
.slash { color: var(--orange); margin: 0 2px; }
.brand-mark { display: flex; align-items: end; gap: 3px; height: 23px; }
.brand-mark i { display: block; width: 4px; border-radius: 2px; background: var(--teal); }
.brand-mark i:nth-child(1) { height: 10px; }
.brand-mark i:nth-child(2) { height: 22px; }
.brand-mark i:nth-child(3) { height: 15px; background: var(--orange); }
.draft-label { padding: 5px 9px; border: 1px solid #c7a39f; color: var(--red); background: var(--red-pale); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.legal-page { width: min(900px, 90vw); margin: 0 auto; padding: 64px 0 76px; }
.gate-page { width: min(1100px, 90vw); }
.draft-banner { margin-bottom: 42px; padding: 15px 18px; border: 1px solid #c79f99; color: #6f261f; background: var(--red-pale); }
.draft-banner strong { display: block; }
.eyebrow { margin: 0 0 10px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.lead { max-width: 800px; margin: 26px 0 38px; color: var(--muted); font-size: 18px; }
h2 { margin: 36px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 500; }
h3 { margin: 24px 0 5px; font-size: 16px; }
p, li { color: #42514f; }

.notice-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--paper); }
.notice-grid article { padding: 25px 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice-grid h2 { margin: 0 0 7px; font-family: inherit; font-size: 15px; font-weight: 800; }
.notice-grid p { margin: 0; font-size: 14px; }
.notice-grid .notice-critical {
  grid-column: 1 / -1;
  border: 3px solid var(--red);
  background: var(--red-pale);
}
.notice-grid .notice-critical h2 { color: var(--red); font-size: 18px; }
.notice-grid .notice-critical p { color: #5d1e19; font-size: 15px; }
.notice-grid .notice-critical strong { font-weight: 850; }
.trademark-note { color: var(--muted); font-size: 12px; }

.acceptance-card { margin-top: 34px; padding: 30px; border: 2px solid var(--teal); background: var(--paper); }
.acceptance-card h2 { margin: 0 0 8px; }
.accept-check { margin-top: 22px; padding: 17px; display: flex; gap: 13px; align-items: flex-start; border: 1px solid var(--line); background: #f8f5ee; cursor: pointer; font-weight: 650; }
.accept-check input { width: 19px; height: 19px; flex: 0 0 auto; accent-color: var(--teal); }
.button-row { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 46px; padding: 0 20px; border: 1px solid var(--teal); border-radius: 2px; cursor: pointer; font-weight: 750; }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button-primary { color: white; background: var(--teal); }
.button-primary:hover:not(:disabled) { background: var(--teal-dark); }
.button-secondary { color: var(--teal); background: transparent; }
.form-error { padding: 12px 15px; color: #6f261f; background: var(--red-pale); }

.document-meta { margin: 24px 0 36px; padding: 17px 19px; border-left: 4px solid var(--orange); background: var(--paper); }
.document-meta p { margin: 2px 0; }
.legal-section { padding-top: 4px; }
.legal-section ul { padding-left: 24px; }
.compact-page { min-height: calc(100vh - 145px); display: grid; align-content: center; }
.choice-links { margin-top: 25px; display: flex; gap: 20px; flex-wrap: wrap; }
.external-note { font-size: 13px; color: var(--muted); }

@media (max-width: 720px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .legal-page { padding-top: 42px; }
  .notice-grid { grid-template-columns: 1fr; }
  .acceptance-card { padding: 22px; }
}
