:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #090b10;
  color: #f7f3ea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #090b10;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

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

.page {
  width: min(100%, 1536px);
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  padding-bottom: 24px;
}

.wordmark {
  display: block;
  width: 154px;
  height: auto;
}

.back-link,
.eyebrow,
.updated,
.site-footer {
  color: rgb(255 255 255 / 48%);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-link {
  text-decoration: none;
}

main {
  padding: clamp(56px, 8vw, 96px) 0;
}

.hero {
  max-width: 760px;
  margin-bottom: 64px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: #2f63ff;
  content: "";
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(48px, 8vw, 86px);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.lead {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgb(255 255 255 / 66%);
  font-size: 18px;
  line-height: 1.7;
}

.updated {
  margin: 0;
}

.legal-content {
  display: grid;
  gap: 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
}

.legal-section {
  display: grid;
  gap: 32px;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  padding: 40px 0;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
}

.legal-section > div {
  max-width: 760px;
}

.legal-section h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
}

.legal-section h3 {
  margin: 28px 0 10px;
  font-size: 16px;
}

.legal-section p,
.legal-section li {
  color: rgb(255 255 255 / 68%);
  font-size: 15px;
  line-height: 1.8;
}

.legal-section p {
  margin: 0 0 16px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal-section strong {
  color: #f7f3ea;
  font-weight: 600;
}

.notice {
  border-left: 2px solid #2f63ff;
  padding-left: 20px;
}

.contact-status {
  margin: 0 0 32px;
  border: 1px solid rgb(255 255 255 / 14%);
  padding: 18px 20px;
  color: rgb(255 255 255 / 76%);
  font-size: 15px;
  line-height: 1.6;
}

.contact-status.success {
  border-left: 3px solid #2f63ff;
}

.contact-status.error {
  border-left: 3px solid #d36b6b;
}

.contact-form {
  display: grid;
  max-width: 760px;
  gap: 24px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding-top: 40px;
}

.form-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: rgb(255 255 255 / 62%);
  font-size: 13px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 0;
  outline: none;
  background: #0f1219;
  padding: 13px 14px;
  color: #f7f3ea;
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #2f63ff;
  box-shadow: 0 0 0 2px rgb(47 99 255 / 18%);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .consent {
  display: grid;
  align-items: start;
  gap: 12px;
  grid-template-columns: 18px minmax(0, 1fr);
  line-height: 1.7;
}

.contact-form .consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  padding: 0;
}

.contact-form button {
  width: fit-content;
  border: 1px solid #2f63ff;
  background: #2f63ff;
  padding: 13px 20px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background: #2452dc;
}

.form-note {
  margin: -8px 0 0;
  color: rgb(255 255 255 / 42%);
  font-size: 12px;
  line-height: 1.6;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding-top: 24px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

@media (max-width: 700px) {
  .page {
    padding: 20px 18px 36px;
  }

  .wordmark {
    width: 132px;
  }

  .back-link {
    font-size: 9px;
  }

  main {
    padding: 52px 0;
  }

  .hero {
    margin-bottom: 44px;
  }

  .legal-section {
    gap: 18px;
    padding: 32px 0;
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
