:root {
  color-scheme: dark;
  --bc-black: #020504;
  --bc-panel: #06110b;
  --bc-white: #ffffff;
  --bc-muted: rgba(255, 255, 255, 0.64);
  --bc-soft: rgba(255, 255, 255, 0.42);
  --bc-line: rgba(255, 255, 255, 0.1);
  --bc-green: #b8f5a1;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bc-black);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% -10%, rgba(184, 245, 161, 0.08), transparent 34%),
    linear-gradient(180deg, #06110b 0%, #020504 100%);
  color: var(--bc-white);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.legal-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.legal-header {
  padding: 12px 0 34px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
  color: var(--bc-green);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-brand {
  margin: 0 0 10px;
  color: var(--bc-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 8vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--bc-soft);
  font-size: 13px;
  font-weight: 700;
}

.legal-intro {
  margin: 12px 0 42px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  font-weight: 650;
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid var(--bc-line);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal-section p {
  margin: 0;
  color: var(--bc-muted);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 520;
}

.legal-notice {
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid rgba(184, 245, 161, 0.22);
  border-radius: 18px;
  background: rgba(184, 245, 161, 0.05);
  color: rgba(184, 245, 161, 0.78);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
}

.contact-card {
  margin-top: 10px;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--bc-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: clamp(27px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contact-card p {
  margin: 0 0 28px;
  max-width: 660px;
  color: var(--bc-muted);
  font-size: 16px;
  line-height: 1.7;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--bc-green);
  border-radius: 999px;
  color: var(--bc-green);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.contact-email:hover {
  background: var(--bc-green);
  color: #06110b;
}

.legal-footer {
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid var(--bc-line);
  color: var(--bc-soft);
  font-size: 12px;
  line-height: 1.6;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}

.legal-footer-links a {
  text-decoration: none;
}

.legal-footer-links a:hover {
  color: var(--bc-green);
}

@media (max-width: 640px) {
  .legal-shell {
    width: min(100% - 28px, 860px);
    padding-top: 18px;
  }

  .legal-back {
    margin-bottom: 34px;
  }

  .legal-header {
    padding-bottom: 24px;
  }

  .legal-section {
    padding: 23px 0;
  }
}


/* =========================================================
   BIRDIECAST CONTACT FORM
   ========================================================= */

.contact-form-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.018)
    );
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.24);
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}

.contact-field label {
  color: rgba(255, 255, 255, 0.77);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-field input,
.contact-field select {
  min-height: 54px;
  padding: 0 16px;
}

.contact-field textarea {
  min-height: 170px;
  padding: 14px 16px;
  resize: vertical;
}

.contact-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #b8f5a1 50%),
    linear-gradient(135deg, #b8f5a1 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 23px,
    calc(100% - 14px) 23px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: rgba(184, 245, 161, 0.34);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #b8f5a1;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 0 4px rgba(184, 245, 161, 0.09);
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 4px;
}

.contact-submit {
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid #b8f5a1;
  border-radius: 999px;
  background: #b8f5a1;
  color: #06110b;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(184, 245, 161, 0.15);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-submit:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.contact-form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.43);
  font-size: 12px;
  line-height: 1.5;
}

.contact-form-note a {
  color: rgba(184, 245, 161, 0.8);
  text-decoration: none;
}

.contact-status {
  min-height: 22px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.5;
}

.contact-status-success {
  color: rgba(184, 245, 161, 0.86);
}

.direct-contact {
  margin-top: 28px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-align: center;
}

.direct-contact p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.direct-contact a {
  color: #b8f5a1;
  font-size: 17px;
  font-weight: 850;
  text-decoration: none;
}

.direct-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 680px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-form-note {
    text-align: center;
  }
}
