/* ProveIt static landing site */
:root {
  --black: #000;
  --white: #fff;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.25);
  --panel: rgba(255, 255, 255, 0.026);
  --ease: cubic-bezier(.2,.8,.2,1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--white);
  color: var(--black);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal {
  animation: riseIn 700ms var(--ease) both;
}

@keyframes riseIn {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 32px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.button:hover svg {
  transform: translateX(2px);
}

.button-primary {
  color: var(--black);
  background: var(--white);
}

.button-primary:hover {
  background: var(--zinc-200);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
  background: transparent;
  font-weight: 500;
}

.button-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.045);
}

/* Home */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.glow-home {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.07), transparent 48%);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  max-width: 1120px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.75rem, 9.2vw, 7rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.hero-title span {
  display: block;
  color: var(--zinc-500);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}

/* Shared header */
.header {
  position: relative;
  z-index: 1;
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 24px;
}

.header.wide {
  max-width: 1200px;
}

.header.narrow {
  max-width: 640px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--zinc-400);
  font-size: 14px;
  transition: color 180ms ease;
}

.back-link:hover {
  color: var(--white);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.brand {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* How it works */
.page-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(900px, 100%);
  height: 520px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.065), transparent 62%);
}

.how-page {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.how-intro {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 28px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--zinc-500);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.how-intro h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.065em;
}

.how-intro h1 span {
  margin-left: 0.18em;
  color: var(--zinc-400);
}

.intro-copy {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--zinc-400);
  font-size: 16px;
  line-height: 1.8;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 72px;
}

.steps::before {
  position: absolute;
  top: 41px;
  right: 12.5%;
  left: 12.5%;
  content: "";
  border-top: 1px dashed rgba(255, 255, 255, 0.11);
}

.step {
  position: relative;
  min-height: 224px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(9, 9, 11, 0.75);
  transition: border-color 180ms ease;
}

.step:hover {
  border-color: rgba(255, 255, 255, 0.17);
}

.step-number {
  position: relative;
  z-index: 1;
  display: flex;
  width: 37px;
  height: 37px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: var(--black);
  color: var(--zinc-300);
  font-size: 12px;
}

.step h2 {
  margin: 0 0 13px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: var(--zinc-400);
  font-size: 14px;
  line-height: 1.65;
}

.result {
  display: flex;
  max-width: 800px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 64px auto 0;
  padding: 28px 31px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: var(--panel);
}

.result .eyebrow {
  margin-bottom: 11px;
  letter-spacing: 0.22em;
}

.result-text {
  margin: 0;
  font-size: 18px;
}

/* Join */
.join-page {
  max-width: 592px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.join-page h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.5rem, 7vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.join-copy,
.confirmation p {
  max-width: 440px;
  margin: 23px 0 0;
  color: var(--zinc-400);
  font-size: 16px;
  line-height: 1.8;
}

.early-access-form {
  margin-top: 52px;
}

.field {
  margin-bottom: 26px;
}

.field label {
  display: block;
  margin-bottom: 12px;
  color: var(--zinc-400);
  font-size: 14px;
}

.field input {
  width: 100%;
  height: 57px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 180ms ease;
}

.field input::placeholder {
  color: var(--zinc-700);
}

.field input:focus {
  border-color: var(--white);
}

.field input:user-invalid {
  border-color: rgba(239, 68, 68, 0.65);
}

.submit-button {
  margin-top: 14px;
}

.form-note {
  max-width: 470px;
  margin-top: 24px;
  color: var(--zinc-500);
  font-size: 12px;
  line-height: 1.7;
}

.confirmation .button {
  margin-top: 46px;
}

/* Responsive */
@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    margin-top: 56px;
  }

  .steps::before {
    display: none;
  }

  .result {
    margin-top: 42px;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: clamp(3.1rem, 16vw, 4rem);
  }

  .button-row {
    width: 100%;
    flex-direction: column;
    margin-top: 40px;
  }

  .button-row .button {
    width: 100%;
  }

  .how-page {
    padding-top: 32px;
  }

  .how-intro h1 span {
    display: block;
    margin: 4px 0 0;
  }

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

  .step {
    min-height: 0;
  }

  .step-number {
    margin-bottom: 26px;
  }

  .result {
    flex-direction: column;
    align-items: stretch;
  }

  .result .button {
    width: 100%;
  }
}
