:root {
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  color: #0f172a;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 12%, rgb(204 251 241 / 55%), transparent 30rem), #f8fafc;
}

a {
  color: #0f766e;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid #0d9488;
  outline-offset: 3px;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  border-bottom: 1px solid #cbd5e1;
}

.brand {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.header-link {
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
  min-height: 650px;
  padding-block: 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: #020617;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.lede {
  max-width: 660px;
  margin: 32px 0 0;
  color: #334155;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.status-card {
  display: flex;
  gap: 12px;
  max-width: 650px;
  margin-top: 34px;
  padding: 18px 20px;
  border: 1px solid #99f6e4;
  border-radius: 14px;
  background: rgb(240 253 250 / 80%);
  color: #134e4a;
  line-height: 1.55;
}

.status-card p {
  margin: 0;
}

.status-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: #0d9488;
  box-shadow: 0 0 0 5px #ccfbf1;
}

.signup-card {
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid #cbd5e1;
  border-radius: 22px;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 22px 60px rgb(15 23 42 / 10%);
}

.signup-card h2,
.what-we-are-building h2,
.privacy h2 {
  margin: 0;
  color: #020617;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.signup-card > p {
  margin: 12px 0 28px;
  color: #475569;
  line-height: 1.55;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 750;
}

.form-row {
  display: grid;
  gap: 10px;
}

input,
button {
  min-height: 50px;
  border-radius: 10px;
  font: inherit;
}

input {
  width: 100%;
  border: 1px solid #94a3b8;
  padding: 0 15px;
  background: #fff;
  color: #0f172a;
}

input::placeholder {
  color: #64748b;
}

button {
  border: 1px solid #0f766e;
  padding-inline: 20px;
  background: #0f766e;
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}

button:hover {
  border-color: #115e59;
  background: #115e59;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-note,
.form-status {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.3em;
  font-weight: 700;
}

.form-status.is-success {
  color: #0f766e;
}

.form-status.is-error {
  color: #b91c1c;
}

.what-we-are-building {
  padding-block: 100px;
  border-top: 1px solid #cbd5e1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.feature-grid article {
  padding: 28px;
  border: 1px solid #dbe3ec;
  border-radius: 16px;
  background: rgb(255 255 255 / 72%);
}

.feature-grid h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.2rem;
}

.feature-grid p {
  margin: 10px 0 0;
  color: #475569;
  line-height: 1.65;
}

.privacy {
  max-width: 760px;
  padding-block: 80px;
  border-top: 1px solid #cbd5e1;
}

.privacy p {
  margin: 20px 0 0;
  color: #475569;
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px;
  border-top: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 0.88rem;
}

@media (min-width: 680px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 70px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  .hero {
    gap: 44px;
    padding-block: 54px 70px;
  }

  .signup-card {
    padding: 24px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
