:root {
  color-scheme: light;
  --teal: #21c7bf;
  --teal-dark: #139f9a;
  --purple: #4d21b4;
  --purple-dark: #35147f;
  --ink: #191424;
  --muted: #5d5870;
  --line: rgba(77, 33, 180, 0.14);
  --surface: rgba(255, 255, 255, 0.9);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
}

body {
  overflow-x: hidden;
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(33, 199, 191, 0.22), transparent 32rem),
    radial-gradient(circle at 90% 18%, rgba(77, 33, 180, 0.18), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

body::before {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -3rem;
  width: 100vw;
  height: min(25rem, 36vh);
  content: "";
  background: url("../img/brush-strokes.svg") center / 100vw 100% no-repeat;
  opacity: 0.28;
  pointer-events: none;
}

.site-shell {
  display: grid;
  min-height: 100vh;
  padding: clamp(1.25rem, 4vw, 3rem);
  place-items: center;
}

.hero {
  position: relative;
  display: grid;
  width: min(100%, 980px);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  padding: clamp(1.5rem, 5vw, 4.5rem);
  overflow: visible;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(35, 21, 65, 0.12);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0 0 auto 0;
  height: 0.4rem;
  background: linear-gradient(90deg, var(--teal), var(--purple));
}

.hero::after {
  display: none;
}

.logo-wrap {
  justify-self: center;
  width: min(100%, 760px);
  padding: clamp(0.25rem, 1vw, 0.5rem);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.eyebrow,
.lede,
.contact-panel p {
  margin: 0;
}

.eyebrow {
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--purple);
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.lede {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: center;
  width: min(100%, 34rem);
  justify-self: center;
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(77, 33, 180, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(35, 21, 65, 0.08);
}

.contact-panel p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.email-link {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(77, 33, 180, 0.2);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.email-link:hover {
  color: #ffffff;
  background: #1ad3c5;
  box-shadow: 0 16px 32px rgba(77, 33, 180, 0.25);
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.email-link:focus-visible {
  outline: 3px solid rgba(33, 199, 191, 0.45);
  outline-offset: 4px;
}

.no-script-contact {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    text-align: left;
  }

  .logo-wrap,
  .hero-copy {
    justify-items: start;
  }

  h1 {
    max-width: 11ch;
  }

  .contact-panel {
    align-items: stretch;
    justify-content: flex-start;
  }

  .email-link {
    width: 100%;
  }
}
