@import url("styles.css");

/* Deliberately reduced first-run setup option. */

.start-here-page {
  --radius: .6rem;
  background: #f7f3eb;
}

.start-here-page h1,
.start-here-page h2,
.start-here-page h3,
.start-footer strong {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

.start-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.25rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 85% 18%, rgb(173 74 40 / 15%), transparent 28rem),
    var(--paper);
}

.start-intro {
  max-width: 47rem;
}

.start-intro h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.7rem, 9vw, 6.8rem);
  letter-spacing: -.06em;
  line-height: .92;
}

.start-lede {
  max-width: 35rem;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.have-ready {
  max-width: 47rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(255 253 249 / 88%);
  box-shadow: var(--shadow);
}

.have-ready .mini-label {
  margin: 0 0 .75rem;
  color: var(--copper);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.have-ready ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.have-ready li {
  padding: .42rem .7rem;
  border-radius: 999px;
  background: #eee6da;
  font-size: .86rem;
  font-weight: 750;
}

.setup-section {
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 4rem);
  scroll-margin-top: 4.5rem;
}

.setup-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.setup-heading h2,
.done-section h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  letter-spacing: -.055em;
  line-height: .95;
}

.setup-heading > p {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
}

.basic-steps {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  padding: 1px;
  border-radius: var(--radius);
  background: #4a423c;
  list-style: none;
}

.basic-steps li {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.5rem;
  background: var(--night);
  color: var(--white);
}

.basic-steps .step-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: #f2b78b;
  font-weight: 900;
}

.basic-steps h3 {
  margin: .2rem 0 .6rem;
  font-size: 1.35rem;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.basic-steps p {
  margin: 0;
  color: #ccc4bd;
}

.basic-steps .step-note {
  margin-top: .75rem;
  color: #f0b98f;
  font-size: .88rem;
}

.basic-steps .address {
  display: inline-block;
  margin-top: 1rem;
  padding: .48rem .7rem;
  border: 1px solid #655950;
  border-radius: .35rem;
  background: #0f0d0c;
  color: #f9d5b7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  letter-spacing: .02em;
}

.success-message {
  display: grid;
  gap: .05rem;
  margin-top: 1.2rem !important;
  padding: .8rem;
  border-left: 3px solid #76b897;
  background: rgb(44 108 77 / 24%);
}

.success-message strong {
  color: #aee0c5;
  font-size: .8rem;
  letter-spacing: .1em;
}

.success-message span {
  color: var(--white);
  font-weight: 750;
}

.saved-network-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .9rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--orange);
  background: #eee6da;
}

.saved-network-note strong {
  color: var(--copper-dark);
}

.saved-network-note p {
  margin: 0;
  color: var(--muted);
}

.done-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 2rem;
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 6vw, 5rem);
  background: var(--copper-dark);
  color: var(--white);
}

.done-section > div {
  max-width: 46rem;
}

.done-section .kicker {
  color: #f8bf92;
}

.done-section p:last-child {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: #f1ddd0;
  font-size: 1.1rem;
}

.button-light {
  width: fit-content;
  align-self: center;
  background: var(--white);
  color: var(--copper-dark);
}

.next-links {
  display: grid;
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}

.next-links a {
  display: grid;
  gap: .25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.next-links a:first-child {
  border-top: 1px solid var(--line);
}

.next-links span {
  color: var(--muted);
  font-size: .82rem;
}

.next-links strong {
  font-size: 1.1rem;
}

.start-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
  background: var(--night);
  color: #bfb6ae;
  font-size: .84rem;
}

.start-footer p {
  margin: 0;
}

.start-footer a {
  color: var(--white);
  font-weight: 750;
}

@media (min-width: 48rem) {
  .start-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
    align-items: end;
  }

  .setup-heading {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, .55fr);
    align-items: end;
  }

  .basic-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .done-section {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .next-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .next-links a {
    padding: 1.25rem;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .next-links a:last-child {
    border-right: 0;
  }
}

@media (min-width: 72rem) {
  .start-hero,
  .done-section {
    padding-inline: max(4rem, calc((100vw - 82rem) / 2));
  }

  .basic-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .basic-steps li {
    min-height: 19rem;
    align-content: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 47.99rem) {
  .start-hero {
    padding-top: 3.75rem;
  }

  .saved-network-note {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .start-footer {
    flex-direction: column;
  }
}

@media print {
  .site-header,
  .next-links,
  .start-footer {
    display: none;
  }

  .start-hero,
  .setup-section,
  .done-section {
    padding: 1rem 0;
    background: white;
    color: black;
  }

  .basic-steps li {
    background: white;
    color: black;
  }

  .basic-steps p,
  .done-section p:last-child {
    color: black;
  }
}
