@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9f7f7;
  --ink: #172542;
  --blue: #5364e6;
  --muted: #697286;
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; background: var(--paper); }

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", "Avenir Next", Avenir, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.landing {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.35rem, 6vw, 5.5rem);
  background:
    radial-gradient(ellipse 54rem 43rem at 100% 0%, rgb(83 100 230 / 25%), transparent 72%),
    linear-gradient(135deg, #f9f7f7 0%, #fff 54%, #f2f3fa 100%);
}

.landing__content {
  width: min(100%, 66rem);
  margin-inline: 0;
  padding-inline: 0;
  text-align: left;
  animation: arrive 900ms cubic-bezier(.2, .8, .2, 1) both;
}

.landing__logo {
  display: block;
  width: clamp(9.5rem, 15vw, 12rem);
  height: auto;
  margin-inline: 0;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.landing__message {
  width: 100%;
  max-width: 58rem;
  margin-inline: 0;
  text-align: left;
}

.landing__eyebrow {
  margin: 0 0 .9rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5.1vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .99;
}

h1 span { color: var(--blue); }

.landing__description {
  max-width: 34rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: clamp(.98rem, 1.5vw, 1.15rem);
  line-height: 1.55;
}

.landing__bottom {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: clamp(2.25rem, 5.5vh, 4rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgb(23 37 66 / 17%);
  text-align: left;
}

.landing__contact {
  display: grid;
  gap: .3rem;
  min-width: 0;
  margin-inline: 0;
  text-align: left;
}

.landing__contact > span:first-child {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 650;
}

.landing__email {
  width: fit-content;
  color: var(--ink);
  font-size: .92rem;
  user-select: text;
  -webkit-user-select: text;
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(.75rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 42rem) {
  .landing { padding: 1.5rem 1.35rem; }
  .landing__content { padding: 0; }
  .landing__logo { width: 9.75rem; margin-bottom: 2.25rem; }
  .landing__eyebrow { margin-bottom: .8rem; font-size: .66rem; }
  h1 { font-size: clamp(1.9rem, 8vw, 3rem); line-height: 1.02; }
  .landing__description { max-width: 21rem; margin-top: 1rem; font-size: .96rem; }
  .landing__bottom { align-items: flex-start; flex-direction: column; gap: 1rem; margin-top: 2rem; padding-top: 1rem; }
}

@media (max-height: 700px) and (min-width: 42.01rem) {
  .landing { padding-block: 1.25rem; }
  .landing__logo { width: 9.5rem; margin-bottom: 1.5rem; }
  .landing__bottom { margin-top: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
