:root {
  color-scheme: dark;
  --background: #0b1221;
  --ink: #f0f4ff;
  --muted: #bac8df;
  --blue: #a9baff;
  --edge: #3a4b6b;
  color: var(--ink);
  background: var(--background);
  font-family: system-ui, sans-serif;
  line-height: 1.5;
}

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

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  margin: 0;
  background: radial-gradient(ellipse at 79% 44%, #15274b 0%, var(--background) 54%);
}

h1, p { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.shell { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 91px;
  border-bottom: 1px solid var(--edge);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.48rem;
  font-weight: 745;
  line-height: 1;
  letter-spacing: -.04em;
  text-decoration: none;
}

.wordmark-letter { width: .64em; height: .76em; flex: none; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: .88rem;
  text-decoration: none;
}

.contact-link span { color: var(--blue); }
.contact-link:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(0, .83fr);
  align-items: center;
  min-height: 625px;
  padding-block: 50px;
  isolation: isolate;
}

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

.hero h1 {
  font-size: clamp(2.9rem, 5.35vw, 4.85rem);
  font-weight: 685;
  letter-spacing: -.063em;
  line-height: 1.045;
}

.hero h1 > span, .hero h1 em { display: block; }
.hero h1 em { color: var(--blue); font-style: normal; }
.mobile-break { display: none; }

.hero p {
  max-width: 31ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.65vw, 1.23rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 21px;
  min-height: 49px;
  margin-top: 29px;
  padding: 10px 16px;
  border: 1px solid #96ace9;
  border-radius: 5px;
  background: #dce5ff;
  color: #132949;
  font-size: .91rem;
  font-weight: 680;
  text-decoration: none;
}

.button:hover { background: #f0f4ff; }

.hero-art {
  display: block;
  width: 120%;
  max-width: 680px;
  height: auto;
  margin-left: -12%;
  pointer-events: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  min-height: 76px;
  padding-block: 16px;
  border-top: 1px solid var(--edge);
  color: var(--muted);
  font-size: .83rem;
}

.site-footer a { text-decoration: none; }

/* Netlify inserts this badge iframe on Free production sites. */
iframe#nl-badge-frame { display: none; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero { min-height: 555px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 42px); }
  .site-header { min-height: 72px; }
  .wordmark { font-size: 1.26rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 54px 17px; }
  .hero h1 { font-size: clamp(2.125rem, 9.55vw, 3.75rem); }
  .hero h1 em { display: inline; }
  .mobile-break { display: initial; }
  .hero p { margin-top: 16px; }
  .button { margin-top: 22px; }
  .hero-art { width: min(100%, 460px); margin: -9px auto 0; }
  body { background: radial-gradient(ellipse at 60% 68%, #15274b 0%, var(--background) 53%); }
}
