@font-face {
  font-family: "Inter";
  src: url("/assets/Inter-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("/assets/Lora-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #f5f6f1;
  --text: #0b2948;
  --brand: #08745b;
  --brand-hover: #06634e;
  --border: #d2e0dd;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 10%, rgba(8, 116, 91, 0.1), transparent 32rem),
    var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  width: min(100% - 2rem, 72rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 0 1.5rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
}

.brand img {
  width: 10.5rem;
  height: auto;
  display: block;
}

.card {
  width: min(100%, 48rem);
  align-self: center;
  padding: clamp(2rem, 6vw, 4.75rem);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 1.5rem 4rem rgba(11, 41, 72, 0.08);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Lora, Georgia, serif;
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 38rem;
  margin: 1.75rem 0 2rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.home-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.home-link:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

.home-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(8, 116, 91, 0.35);
  outline-offset: 4px;
}

.disclaimer {
  margin: 1.5rem 0 0;
  color: rgba(11, 41, 72, 0.66);
  font-size: 0.82rem;
}

@media (max-width: 40rem) {
  .shell {
    width: min(100% - 1.25rem, 72rem);
    padding-top: 1.25rem;
  }

  .brand img {
    width: 9rem;
  }

  .card {
    border-radius: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-link {
    transition: none;
  }
}
