:root {
  color-scheme: light;
  --ink: oklch(20% 0.035 24);
  --muted: oklch(47% 0.055 28);
  --paper: oklch(97% 0.017 68);
  --rose: oklch(64% 0.18 20);
  --fig: oklch(34% 0.12 338);
  --lime: oklch(82% 0.17 117);
  --line: oklch(82% 0.045 42);
  --soft: oklch(91% 0.04 45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Avenir Next, Avenir, Montserrat, Segoe UI, sans-serif;
  background:
    linear-gradient(110deg, oklch(97% 0.018 73) 0 52%, oklch(91% 0.055 28) 52%),
    var(--paper);
  color: var(--ink);
}

main {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

.hero {
  padding: clamp(28px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 7vw, 104px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--muted);
}

.mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 700;
  color: var(--fig);
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(54px, 10vw, 156px);
  line-height: 0.88;
  letter-spacing: 0;
  font-weight: 800;
}

.accent {
  color: var(--fig);
}

.intro {
  display: grid;
  grid-template-columns: minmax(190px, 0.78fr) minmax(260px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}

.intro p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
}

.signup {
  padding: 18px;
  border: 1px solid var(--line);
  background: oklch(99% 0.009 68 / 0.72);
  border-radius: 8px;
}

form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input,
button {
  min-height: 56px;
  border-radius: 4px;
  font: inherit;
}

input {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
}

input:focus {
  border-color: var(--fig);
  box-shadow: 0 0 0 3px oklch(64% 0.18 20 / 0.18);
}

button {
  border: 0;
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

button:hover {
  background: var(--fig);
  transform: translateY(-1px);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.status {
  margin: 12px 0 0;
  min-height: 22px;
  color: var(--fig);
  font-size: 14px;
}

.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;
}

.visual {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 42px);
  display: grid;
}

.photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-image:
    linear-gradient(180deg, oklch(18% 0.06 24 / 0.06), oklch(18% 0.06 24 / 0.45)),
    url("../img/bg.webp");
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px oklch(32% 0.05 24 / 0.18);
}

.note {
  position: absolute;
  left: clamp(18px, 4vw, 52px);
  right: clamp(18px, 4vw, 52px);
  bottom: clamp(18px, 4vw, 52px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--paper);
  align-items: end;
}

.note strong {
  font-size: clamp(25px, 4vw, 52px);
  line-height: 0.95;
}

.note span {
  max-width: 19ch;
  line-height: 1.35;
}

.stripe {
  position: absolute;
  width: 38%;
  height: 18px;
  right: 0;
  top: 12%;
  background: var(--lime);
}

@media (max-width: 860px) {
  main {
    grid-template-columns: 1fr;
  }

  .hero,
  .visual {
    min-height: auto;
  }

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

  form {
    grid-template-columns: 1fr;
  }

  .photo {
    min-height: 62vh;
  }
}
