/* Tokens follow weartopay.com so the two sites read as one brand. */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #177da5;
  --brand-deep: #0f5f80;
  --ink: #05202d;
  --text: #0c2531;
  --muted: #5b7482;
  --line: #dbe6eb;
  --field: #9db1bb;
  --paper: #f2f7f9;
  --white: #fff;
  --error: #b3261e;
  --gutter: 20px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
p,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Header */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.top__logo img {
  width: auto;
  height: 24px;
}

.top__site {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

/* Hero */

.hero {
  display: grid;
  gap: 40px;
  padding-top: 28px;
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(44px, 12vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero__copy p {
  max-width: 30em;
  margin-top: 16px;
}

.hero__copy .lead {
  margin-top: 20px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
}

.hero__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 36px 0 28px;
  background: var(--paper);
}

.hero__ring {
  width: auto;
  height: 300px;
}

.hero__ring--b {
  margin-top: 56px;
  margin-left: -44px;
}

/* Form */

.join {
  max-width: 440px;
  margin-top: 28px;
  scroll-margin-top: 24px;
}

.field {
  display: block;
  margin-top: 16px;
}

.field span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field select {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: 0;
  background-color: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2305202d' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input:focus,
.field select:focus {
  border-color: var(--brand);
  outline: 2px solid var(--brand);
  outline-offset: 0;
}

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

.join__extra {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.join__error {
  margin-top: 14px;
  color: var(--error);
  font-size: 15px;
}

.join button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: var(--brand);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.join button {
  width: 100%;
  margin-top: 20px;
}

.join button:hover,
.button:hover {
  background: var(--brand-deep);
  color: var(--white);
}

.join button:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.join button[disabled] {
  background: var(--muted);
  cursor: default;
}

.hero__copy .join__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.joined {
  max-width: 440px;
  margin-top: 28px;
  padding: 24px;
  background: var(--paper);
  outline: none;
}

.joined h2 {
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero__copy .joined p {
  margin-top: 8px;
  overflow-wrap: anywhere;
}

/* Photo */

.scene {
  margin-top: 56px;
}

.scene img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 62% 50%;
}

/* Facts */

.about,
.faq {
  margin-top: 72px;
}

.about h2,
.faq h2 {
  max-width: 16em;
  color: var(--ink);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.facts {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.facts > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--ink);
  font-weight: 600;
}

.facts dd {
  margin-top: 4px;
  color: var(--text);
}

/* Finishes */

.finishes {
  margin-top: 56px;
}

.finishes__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.finishes__img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--paper);
}

.finishes__img img {
  width: auto;
  height: 68%;
}

.finishes__list span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.finishes__note {
  max-width: 34em;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

/* Questions */

.faq__list {
  margin-top: 28px;
  border-bottom: 1px solid var(--line);
}

.faq__item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.faq__item h3 {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.faq__item p {
  max-width: 38em;
  margin-top: 6px;
}

.faq__cta {
  margin-top: 36px;
}

/* Footer */

.foot {
  margin-top: 88px;
  padding: 40px 0 28px;
  background: var(--paper);
  color: var(--muted);
  font-size: 14px;
}

.foot__inner {
  display: grid;
  gap: 24px;
}

.foot__name {
  color: var(--ink);
  font-weight: 600;
}

.foot__links li + li {
  margin-top: 6px;
}

.foot__copy {
  margin-top: 32px;
  font-size: 13px;
}

/* Plain text pages */

.doc {
  max-width: 720px;
  padding-top: 32px;
}

.doc h1 {
  color: var(--ink);
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.doc h2 {
  margin-top: 36px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
}

.doc p,
.doc ul {
  margin-top: 12px;
}

.doc ul {
  padding-left: 1.2em;
  list-style: disc;
}

.doc li + li {
  margin-top: 4px;
}

.doc .doc__meta {
  color: var(--muted);
  font-size: 14px;
}

.doc .doc__back {
  margin-top: 40px;
}

@media (min-width: 900px) {
  :root {
    --gutter: 32px;
  }

  .top {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .top__logo img {
    height: 28px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 72px;
    align-items: stretch;
    padding-top: 24px;
  }

  .hero__copy {
    padding: 40px 0 56px;
  }

  .hero h1 {
    font-size: clamp(64px, 7vw, 92px);
  }

  .hero__copy .lead {
    margin-top: 28px;
    font-size: 22px;
  }

  .hero__stage {
    min-height: 620px;
    padding: 48px 0;
  }

  .hero__ring {
    height: min(58vh, 460px);
  }

  .hero__ring--b {
    margin-top: 84px;
    margin-left: -64px;
  }

  .scene {
    margin-top: 96px;
  }

  .scene img {
    aspect-ratio: 16 / 9;
  }

  .about,
  .faq {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 72px;
    margin-top: 120px;
  }

  .facts,
  .faq__list {
    margin-top: 6px;
  }

  .facts > div {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 24px;
    padding: 22px 0;
  }

  .facts dd {
    margin-top: 0;
  }

  .faq__cta {
    grid-column: 2;
    margin-top: -36px;
  }

  .finishes {
    margin-top: 96px;
  }

  .finishes__list {
    gap: 16px;
  }

  .finishes__img img {
    height: 62%;
  }

  .foot {
    margin-top: 136px;
    padding-top: 56px;
  }

  .foot__inner {
    grid-template-columns: 1fr auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .join button,
  .button {
    transition: none;
  }
}
