@font-face {
  font-family: "Public Sans";
  src: url("/static/fonts/public-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/static/fonts/public-sans-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/static/fonts/public-sans-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("/static/fonts/public-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #1a2233;
  --muted: #5b667a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #187a45;
  --line: #cdd9ea;
  --surface: #f4f6fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--surface);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 72px;
}

.intro {
  max-width: 920px;
}

.brand {
  margin: 0 0 42px;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.emr-line {
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.emr-line strong {
  color: inherit;
  font-weight: inherit;
}

.story {
  max-width: 850px;
  margin: 26px 0 0;
  color: #425164;
  font-size: 1.16rem;
  line-height: 1.72;
}

.waitlist {
  display: flex;
  max-width: 760px;
  margin-top: 38px;
  gap: 12px;
}

.email-field {
  flex: 1;
}

input,
button {
  min-height: 66px;
  border-radius: 5px;
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid #aeb9c7;
  padding: 0 17px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  font-size: 1.08rem;
}

input::placeholder {
  color: #758294;
  opacity: 1;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(49 95 154 / 17%);
}

button {
  border: 1px solid var(--blue);
  padding: 0 27px;
  color: var(--white);
  background: var(--blue);
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
}

button:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
}

button:focus-visible {
  outline: 3px solid rgb(49 95 154 / 30%);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.form-status {
  min-height: 1.5em;
  margin: 10px 0 0;
  color: var(--green);
  font-size: 0.94rem;
}

.form-status:empty {
  display: none;
}

.form-status.error {
  color: #a23d3d;
}

.features {
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.feature {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line);
}

.feature-wide {
  max-width: none;
}

.feature h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 760px) {
  main {
    width: min(100% - 36px, 620px);
    padding: 36px 0 52px;
  }

  .brand {
    margin-bottom: 48px;
    font-size: 1.75rem;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .story {
    font-size: 1.05rem;
  }

  .waitlist {
    flex-direction: column;
  }

  button {
    width: 100%;
  }

  .features {
    margin-top: 68px;
  }

  .feature {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

.privacy {
  max-width: 760px;
}

.privacy .brand {
  margin-bottom: 56px;
}

.privacy h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.privacy h2 {
  margin: 2rem 0 0.4rem;
  color: var(--blue);
  font-size: 1.1rem;
}

.privacy p {
  color: var(--muted);
}

.privacy a {
  color: var(--blue);
}
