/* NeverLost — neverlostlead.com */

:root {
  --ink: #131c26;
  --slate: #46596b;
  --line: #d5dce2;
  --paper: #ffffff;
  --wash: #eef1f4;
  --amber: #e8a317;
  --red: #b8332a;
  --green: #1d7a4c;
  --measure: 34rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--slate);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

.mark {
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-block;
}

.mark span {
  color: var(--amber);
}

/* ---------- hero ---------- */

.hero {
  padding: 3.25rem 0 2.5rem;
}

h1 {
  font-size: clamp(2.1rem, 8vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 1.4rem;
  max-width: 13ch;
}

.lede {
  font-size: 1.1875rem;
  color: var(--slate);
  margin: 0 0 2.25rem;
  max-width: 40ch;
}

/* ---------- the log ---------- */

.log {
  font-family: "IBM Plex Mono", ui-monospace, "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  background: var(--wash);
  border-left: 4px solid var(--line);
  padding: 1.25rem 1.1rem;
  margin: 0 0 1.25rem;
}

.log-row {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 0.75rem;
  padding: 0.3rem 0;
  opacity: 0;
  transform: translateY(4px);
  animation: settle 0.45s ease forwards;
}

.log-row:nth-child(1) { animation-delay: 0.15s; }
.log-row:nth-child(2) { animation-delay: 0.85s; }
.log-row:nth-child(3) { animation-delay: 1.55s; }
.log-row:nth-child(4) { animation-delay: 2.25s; }
.log-row:nth-child(5) { animation-delay: 2.95s; }

@keyframes settle {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .log-row {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.stamp {
  color: var(--slate);
  white-space: nowrap;
}

.bad {
  color: var(--red);
  font-weight: 600;
}

.good {
  color: var(--green);
  font-weight: 600;
}

.log-note {
  font-size: 0.9375rem;
  color: var(--slate);
  margin: 0 0 2.75rem;
  max-width: 44ch;
}

/* ---------- sections ---------- */

section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--line);
}

h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 1.1rem;
  max-width: 22ch;
}

p {
  max-width: 62ch;
}

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

.does li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  max-width: 50ch;
}

.does li:last-child {
  border-bottom: 0;
}

.does strong {
  display: block;
  font-weight: 600;
}

.does span {
  color: var(--slate);
  font-size: 0.9375rem;
}

/* ---------- price ---------- */

.price {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.price-note {
  color: var(--slate);
  font-size: 0.9375rem;
  margin: 0;
}

/* ---------- form ---------- */

.field {
  margin: 0 0 1.1rem;
  max-width: 26rem;
}

label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--slate);
  border-radius: 2px;
  padding: 0.65rem 0.7rem;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%),
    linear-gradient(135deg, var(--slate) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  background: var(--wash);
  padding: 0.9rem;
  margin: 1.5rem 0 1.25rem;
  max-width: 26rem;
}

.consent input {
  margin: 0.3rem 0 0;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.consent label {
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
}

button {
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: 2px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
}

button:hover {
  background: var(--slate);
}

button:disabled {
  background: var(--slate);
  cursor: default;
}

.status {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  max-width: 34rem;
}

.status.err {
  color: var(--red);
  font-weight: 600;
}

.status.ok {
  color: var(--green);
  font-weight: 600;
}

/* ---------- legal pages ---------- */

.legal h1 {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  max-width: 20ch;
}

.legal h2 {
  font-size: 1.125rem;
  margin-top: 2.25rem;
}

.legal p,
.legal li {
  color: var(--ink);
  max-width: 62ch;
}

.legal ul {
  padding-left: 1.1rem;
}

.updated {
  color: var(--slate);
  font-size: 0.9375rem;
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  font-size: 0.875rem;
  color: var(--slate);
}

footer p {
  margin: 0 0 0.4rem;
}

footer a {
  color: var(--slate);
}
