:root {
  color-scheme: light only;
  --bg: #000;
  --panel: #171717;
  --panel-border: rgba(255, 255, 255, 0.07);
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.58);
  --purple: #6651cf;
  --purple-dark: #342484;
  --purple-hover: #422ea6;
  --teal: #2fd6af;
  --field-border: rgba(255, 255, 255, 0.28);
  --field-text: rgba(255, 255, 255, 0.75);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13pt;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-shell {
  width: min(100%, 61rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 4rem 3rem;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9rem;
  align-items: start;
  width: 100%;
  padding: 4.5rem;
  border: 1px solid var(--panel-border);
  border-radius: 0.75rem;
  background: var(--panel);
}

.brand-logo {
  width: 12.125rem;
  height: auto;
}

.hero-copy h1,
.thanks-card h1 {
  max-width: 7.2em;
  margin: 1.5rem 0 0;
  color: var(--text);
  font-size: 2.875rem;
  line-height: 1.125;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow {
  margin: 1.5rem 0 0;
  color: var(--purple);
  font-size: 1.375rem;
  line-height: 1.38;
  font-weight: 600;
  letter-spacing: 0;
}

.intro-copy {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
  letter-spacing: 0;
}

.intro-copy p {
  margin: 0;
}

.intro-copy p + p {
  margin-top: 1rem;
}

.contact-panel h2 {
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 0.25rem;
  background: transparent;
  color: var(--field-text);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  outline: 0;
}

.contact-form input {
  height: 3rem;
  padding: 0 1.05rem;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
  padding: 0.8rem 1.05rem;
  line-height: 1.5;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(102, 81, 207, 0.22);
}

.contact-form button,
.return-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--purple-dark);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.contact-form button:hover,
.return-button:hover {
  background: var(--purple-hover);
}

.contact-form button:active,
.return-button:active {
  transform: translateY(1px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

.hidden-field {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.thank-you-shell {
  display: grid;
  place-items: center;
}

.thanks-card {
  width: min(100%, 24rem);
  padding: 3.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.thanks-card .brand-logo {
  margin: 0 auto;
}

.thanks-card h1 {
  max-width: none;
  margin-top: 2rem;
  font-size: 1.75rem;
  line-height: 1.25;
}

.thanks-card p {
  margin: 1.125rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.65;
}

.return-button {
  width: 8rem;
  margin-top: 1.5rem;
}

@media (max-width: 980px) {
  :root {
    font-size: 11pt;
  }
}

@media (max-width: 736px) {
  .site-shell {
    padding: 1rem;
  }

  .hero-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3.5rem 2rem;
  }

  .hero-copy h1,
  .thanks-card h1 {
    max-width: none;
    font-size: 2.875rem;
  }

  .site-footer {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-card {
    padding: 2.25rem 1.25rem;
  }

  .brand-logo {
    width: min(12.125rem, 100%);
  }

  .hero-copy h1,
  .thanks-card h1 {
    font-size: 2.35rem;
  }

  .eyebrow {
    font-size: 1.2rem;
  }

  .thanks-card {
    padding: 2.25rem 1.25rem;
  }
}
