:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ecedee;
  background: #0e0e10;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: #0e0e10;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #0e0e10;
  color: #ecedee;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  padding-block: 30px;
}

.wordmark {
  color: #ecedee;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark span {
  color: #e0934a;
}

.hero {
  padding-block: 86px 96px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 26px;
  font-size: clamp(2.75rem, 9vw, 5.4rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 690;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero p,
.signup > p {
  max-width: 610px;
  color: #9ba1a6;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.65;
}

.screenshots {
  display: flex;
  gap: 18px;
  width: calc(100vw - 20px);
  margin-left: calc((100vw - min(100vw - 40px, 680px)) / -2 + 10px);
  padding: 4px 10px 24px;
  overflow-x: auto;
  scroll-padding-inline: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #26262a transparent;
}

.phone-frame {
  flex: 0 0 min(72vw, 270px);
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
  border: 1px solid #26262a;
  border-radius: 40px;
  background: #151518;
  scroll-snap-align: center;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.signup {
  padding-block: 140px 120px;
}

.signup > p {
  margin-bottom: 44px;
}

form {
  display: grid;
  gap: 28px;
}

.field {
  display: grid;
  gap: 9px;
}

label,
legend {
  color: #ecedee;
  font-size: 0.9rem;
  font-weight: 630;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid #343439;
  border-radius: 10px;
  outline: 0;
  background: #151518;
  color: #ecedee;
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

input[type="email"]:hover,
input[type="text"]:hover {
  border-color: #505057;
}

input[type="email"]:focus-visible,
input[type="text"]:focus-visible {
  border-color: #b9bdc1;
  box-shadow: 0 0 0 3px #35353b;
  background: #18181b;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #e0934a;
}

input[type="radio"]:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid #ecedee;
  outline-offset: 4px;
}

.cf-turnstile {
  min-height: 65px;
}

button {
  justify-self: start;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: #e0934a;
  color: #19130d;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: filter 150ms ease, transform 150ms ease, opacity 150ms ease;
}

button:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

button:active:not(:disabled) {
  transform: translateY(0);
}

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

.status {
  min-height: 1.65em;
  margin: 20px 0 0;
  color: #9ba1a6;
}

.success-message {
  margin: 0;
  color: #ecedee;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  font-weight: 650;
}

.form-note {
  margin: 4px 0 0;
  color: #70767b;
}

.form-note a {
  color: #9ba1a6;
  text-underline-offset: 3px;
}

.legal {
  padding-block: 40px 90px;
}

.legal p {
  max-width: 610px;
  margin-bottom: 22px;
  color: #9ba1a6;
}

.legal strong {
  color: #ecedee;
}

footer {
  padding-block: 34px 44px;
  border-top: 1px solid #26262a;
  color: #9ba1a6;
}

footer p {
  margin-bottom: 8px;
}

footer a {
  color: #ecedee;
  text-underline-offset: 3px;
}

.small-print {
  max-width: 570px;
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (min-width: 760px) {
  .site-header {
    padding-top: 42px;
  }

  .hero {
    padding-block: 108px 124px;
  }

  .signup {
    padding-block: 170px 140px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
