:root {
  color-scheme: dark;
  --bg: #101214;
  --panel: #181b1f;
  --panel-deep: #0f1114;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.12);
  --green: #27b08e;
  --green-soft: #8ee8d4;
  --blue: #0079c2;
  --danger: #fecaca;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  min-height: 100vh;
  padding: 20px 16px;
}

.shell {
  width: min(1120px, 100%);
  min-height: calc(100vh - 40px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-size: 14px;
  font-weight: 800;
}

.eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-name {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.pill {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.grid {
  display: grid;
  flex: 1;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
}

.copy {
  order: 2;
  max-width: 660px;
}

.tag {
  display: inline-flex;
  margin: 0 0 20px;
  border: 1px solid rgba(39, 176, 142, 0.4);
  border-radius: 999px;
  background: rgba(39, 176, 142, 0.1);
  padding: 4px 12px;
  color: var(--green-soft);
  font-size: 14px;
  font-weight: 700;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  margin: 20px 0 0;
  max-width: 570px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.75;
}

.card {
  order: 1;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.42);
}

.card-head {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 6px;
  background: #fff;
  color: #111315;
  font-size: 20px;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

.sub {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

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

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: var(--panel-deep);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
  padding: 0 12px;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(39, 176, 142, 0.25);
}

button {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #07110e;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
}

button:hover {
  background: #65d7bf;
}

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

.error {
  display: none;
  border: 1px solid rgba(248, 113, 113, 0.38);
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.12);
  padding: 10px 12px;
  color: var(--danger);
  font-size: 14px;
}

.links {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  text-align: center;
}

a {
  color: var(--green-soft);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  color: var(--faint);
  font-size: 12px;
}

@media (min-width: 640px) {
  main {
    padding-inline: 24px;
  }

  .pill {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  main {
    padding-inline: 32px;
  }

  .grid {
    grid-template-columns: 1fr 460px;
    gap: 48px;
    padding: 32px 0;
  }

  .copy {
    order: 1;
  }

  .card {
    order: 2;
  }

  footer {
    grid-column: span 2;
  }
}
