@font-face {
  font-family: "PT Sans";
  src: url("assets/fonts/PTSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "PT Sans";
  src: url("assets/fonts/PTSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --purple: #763ce6;
  --page: #f6f5f8;
  --text: #12171a;
  --muted: #51565e;
  --rule: #dcd8e3;
  --field: #837b91;
  --link: #763ce6;
  font-family: "PT Sans", Arial, sans-serif;
  font-synthesis: none;
  background: var(--page);
  color: var(--text);
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #12171a;
    --text: #f4f2f7;
    --muted: #abb0ba;
    --rule: #363c44;
    --field: #777483;
    --link: #bea5ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--link); }
:where(a, button, textarea):focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 5px;
}
h1, h2, p { margin: 0; }
svg, img { display: block; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.shell {
  width: min(100% - 112px, 1200px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 12px 18px;
  background: var(--page);
}

.skip-link:focus { transform: translateY(0); }

.masthead, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.masthead {
  min-height: 104px;
  border-bottom: 1px solid var(--rule);
}

.wordmark { display: block; width: 202px; }
.wordmark img { width: 100%; height: auto; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid var(--rule);
  border-radius: 40px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--link);
}

.hero { padding-block: clamp(74px, 10vw, 144px) clamp(76px, 9vw, 132px); }

h1 {
  font-size: clamp(57px, 7.45vw, 108px);
  line-height: .99;
  font-weight: 700;
  letter-spacing: -.055em;
  text-wrap: balance;
}

h1 > span { display: block; }
.period { color: var(--link); }

.lead {
  max-width: 680px;
  margin-top: 33px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
}

.lead p + p { margin-top: 7px; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { background: #6228cc; }
.hero-action { margin-top: 30px; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 76px);
  border-top: 1px solid var(--rule);
  padding-block: clamp(34px, 5vw, 62px);
  scroll-margin-top: 24px;
}

h2 {
  font-size: clamp(35px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.contact-intro p {
  max-width: 350px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.contact label { display: block; margin-bottom: 8px; font-weight: 700; }
.contact textarea {
  display: block;
  width: 100%;
  min-height: 106px;
  padding: 12px 14px;
  border: 1px solid var(--field);
  border-radius: 8px;
  background: var(--page);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  resize: vertical;
}
.contact textarea::placeholder { color: var(--muted); opacity: 1; }
.contact button { margin-top: 12px; }
.form-notice { margin-top: 13px; color: var(--link); font-weight: 700; }
.form-error { color: var(--text); }

.footer {
  min-height: 72px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 14px;
}
.footer a { text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
}

@media (max-width: 660px) {
  .shell { width: calc(100% - 48px); }
  .masthead { min-height: 77px; }
  .wordmark { width: 152px; }
  .status { padding: 6px 9px; font-size: 12px; }
  .status span { width: 7px; height: 7px; }
  .hero { padding-block: 64px; }
  h1 { font-size: clamp(39px, 10.7vw, 64px); text-wrap: initial; }
  .lead { margin-top: 24px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 370px) {
  .shell { width: calc(100% - 36px); }
  .wordmark { width: 132px; }
  .masthead { gap: 8px; }
}

