:root {
  --blue: #2432F5;
  --blue-deep: #1620B8;
  --pink: #FF6FB5;
  --gold: #FFB81F;
  --paper: #F3F4FF;
  --ink: #0E1033;
  --white: #FFFFFF;
  --err: #B3123F;
  --muted: #4A4D75;
  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; }

.wrap {
  width: min(100% - 2rem, 70rem);
  margin-inline: auto;
}

/* Hero */

.hero {
  background: var(--blue);
  color: var(--white);
  padding: 3rem 0 4.5rem;
  overflow-x: clip;
}

.hero .wrap {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .hero { padding: 5rem 0 6rem; }
  .hero .wrap {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
  .hero-thanks .wrap { grid-template-columns: 1fr; }
}

.glitch {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 14vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-shadow: 0.035em 0 0 var(--pink), -0.035em 0 0 var(--gold);
  animation: split 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 1 both;
}

@keyframes split {
  from { text-shadow: 0.16em 0 0 var(--pink), -0.16em 0 0 var(--gold); }
  to   { text-shadow: 0.035em 0 0 var(--pink), -0.035em 0 0 var(--gold); }
}

@media (prefers-reduced-motion: reduce) {
  .glitch { animation: none; }
}

.lede {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.lede-small {
  margin-top: 0.75rem;
  font-size: 1rem;
  opacity: 0.9;
}

/* Form styled as a video player. The full duration is the 24 hour turnaround. */

.player {
  position: relative;
  padding: 1.25rem 1.25rem 1.5rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 28px 28px 16px 16px;
  box-shadow: 8px 8px 0 var(--ink);
}

@media (min-width: 40rem) {
  .player { padding: 1.5rem 1.75rem 1.75rem; }
}

.sticker {
  position: absolute;
  top: -1.6rem;
  right: -0.5rem;
  display: grid;
  place-items: center;
  width: 4.75rem;
  height: 4.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--pink);
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: rotate(10deg);
}

.player-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-right: 3.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}

.player-bar .track {
  position: relative;
  flex: 1;
  height: 6px;
  background: #D9DCFF;
  border-radius: 99px;
}

.player-bar .track i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: translateY(-50%);
}

.player-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.2;
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
}

.field input::placeholder { color: #6B6E93; }

.field input:focus-visible {
  border-color: var(--blue);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.field input[aria-invalid="true"] { border-color: var(--err); }

.hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.errors {
  margin-bottom: 1.1rem;
  padding: 0.75rem 1rem;
  color: var(--err);
  background: #FFE9F1;
  border: 2px solid var(--err);
  border-radius: 12px;
  font-weight: 700;
}

.errors p { margin: 0; }
.errors p + p { margin-top: 0.35rem; }

/* Honeypot: hidden from people, visible to bots */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.5rem;
  margin-top: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink);
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}

.btn:hover { background: #FFC445; }

.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--ink);
}

.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.btn-inline { width: auto; }

.fine {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.fine-first {
  margin-top: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

/* Sections */

.section { padding: 4rem 0; }

.section h2,
.strip h2 {
  margin: 0 0 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Steps as clips on a timeline */

.steps {
  position: relative;
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  bottom: 1.4rem;
  left: 1.3rem;
  width: 3px;
  background: var(--ink);
}

.steps li {
  position: relative;
  padding-left: 4rem;
}

.steps .n {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.steps p {
  max-width: 22rem;
  margin: 0;
}

@media (min-width: 48rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .steps::before {
    top: 1.3rem;
    right: 1.4rem;
    bottom: auto;
    left: 1.4rem;
    width: auto;
    height: 3px;
  }
  .steps li {
    padding-top: 4rem;
    padding-left: 0;
  }
}

/* Honesty strip */

.strip {
  padding: 4.5rem 0;
  color: var(--white);
  background: var(--blue);
}

.strip h2 { margin-bottom: 1.25rem; }

.glitch-static {
  text-shadow: 0.04em 0 0 var(--pink), -0.04em 0 0 var(--gold);
}

.strip p {
  max-width: 38rem;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Sample result */

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.split h2 { margin-bottom: 1rem; }

.note {
  max-width: 28rem;
  margin: 0 0 0.75rem;
}

.note.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.sample {
  max-width: 34rem;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px;
}

.sample-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--ink);
}

.sample ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sample li {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-top: 2px solid var(--paper);
}

.sample li:first-child { border-top: 0; }

.tc {
  flex: none;
  align-self: flex-start;
  min-width: 3.25rem;
  padding: 0.05rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  background: var(--gold);
  border-radius: 99px;
}

/* FAQ */

.faq details { border-top: 2px solid var(--ink); }
.faq details:last-of-type { border-bottom: 2px solid var(--ink); }

.faq summary {
  position: relative;
  padding: 1.1rem 2.5rem 1.1rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  top: 0.85rem;
  right: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
}

.faq details[open] summary::after { content: "\2212"; }

.faq summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.faq p {
  max-width: 40rem;
  margin: 0 0 1.1rem;
}

/* Confirmation page */

.thanks-body { display: grid; gap: 2rem; }

.tip {
  max-width: 34rem;
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 10px 28px 10px 28px;
}

.tip h2 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
}

.tip p { margin: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin: 0;
}

.actions .btn { margin-top: 0; }

.link-plain {
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Footer */

.foot {
  padding: 2.25rem 0;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--ink);
}

.foot p { margin: 0; }
.foot a { text-underline-offset: 3px; }
