:root {
  --green: #00a859;
  --black: #050505;
  --white: #ffffff;
  --cream: #faf9f7;
  --ink: #2d2d2d;
  --muted: rgb(5 5 5 / 0.5);
  --border: rgb(5 5 5 / 0.1);
  --focus-ring: rgb(5 5 5 / 0.12);
  --radius: 0.5rem;
  --space-page: clamp(1.5rem, 5vw, 3rem);
  --space-section: clamp(4rem, 10vw, 6rem);
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 800;
  --font-weight-heavy: 950;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--green);
  color: var(--black);
  font-family: var(--font-sans);
}

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

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

a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: color 160ms ease, opacity 160ms ease, background-color 160ms ease;
  transition: color 160ms ease, opacity 160ms ease, background-color 160ms ease;
}

a:hover,
a:focus {
  opacity: 0.72;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 0.25rem solid var(--focus-ring);
  outline-offset: 0.2rem;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure {
  -webkit-margin-before: 0;
          margin-block-start: 0;
}

h1,
h2,
h3,
h4,
.brand,
.status,
.button,
button,
label,
th {
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  -webkit-margin-after: 1rem;
          margin-block-end: 1rem;
  line-height: 0.8;
  letter-spacing: -0.05em;
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.5rem;
}

h4 {
  font-size: 2rem;
}

p,
li,
td {
  line-height: 1.25;
}

.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--green);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  letter-spacing: 0;
}

.site-header {
  padding: 1.5rem;
}

.site-footer {
  padding: var(--space-page);
}

.brand {
  font-size: 1.5rem;
  line-height: 1;
}

.status,
.section-label {
  display: inline-block;
  border-radius: 999px;
  background: var(--black);
  color: var(--green);
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.hero {
  flex: 1;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: minmax(26rem, 1fr) auto;
  grid-template-rows: minmax(26rem, 1fr) auto;
}

.hero-lockup {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

.hero-copy,
.hero-signup {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
}

.hero-copy {
  justify-content: center;
  -webkit-padding-before: 0;
          padding-block-start: 0;
}

.hero-signup {
  justify-content: flex-end;
  -webkit-padding-before: 0;
          padding-block-start: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: 5rem;
  font-weight: var(--font-weight-heavy);
  line-height: 0.8;
  letter-spacing: -0.05em;
}

.hero-lede,
.content-lede {
  max-width: 36rem;
  margin: 0 0 3rem;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.signup-form,
.input-wrap {
  display: flex;
  width: 100%;
  max-width: 36rem;
  background: var(--white);
  -webkit-transition: -webkit-box-shadow 160ms ease;
  transition: -webkit-box-shadow 160ms ease;
  transition: box-shadow 160ms ease;
  transition: box-shadow 160ms ease, -webkit-box-shadow 160ms ease;
}

.signup-form:focus-within,
.input-wrap:focus-within {
  -webkit-box-shadow: 0 0 0 0.35rem var(--focus-ring);
          box-shadow: 0 0 0 0.35rem var(--focus-ring);
}

.signup-form input,
.input-wrap input,
.input-wrap textarea {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 1.25rem;
  color: var(--black);
  font: inherit;
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  text-transform: uppercase;
}

.input-wrap textarea {
  min-height: 10rem;
  resize: vertical;
}

.signup-form input::-webkit-input-placeholder, .input-wrap input::-webkit-input-placeholder, .input-wrap textarea::-webkit-input-placeholder {
  color: rgb(5 5 5 / 0.3);
}

.signup-form input::-moz-placeholder, .input-wrap input::-moz-placeholder, .input-wrap textarea::-moz-placeholder {
  color: rgb(5 5 5 / 0.3);
}

.signup-form input:-ms-input-placeholder, .input-wrap input:-ms-input-placeholder, .input-wrap textarea:-ms-input-placeholder {
  color: rgb(5 5 5 / 0.3);
}

.signup-form input::-ms-input-placeholder, .input-wrap input::-ms-input-placeholder, .input-wrap textarea::-ms-input-placeholder {
  color: rgb(5 5 5 / 0.3);
}

.signup-form input::placeholder,
.input-wrap input::placeholder,
.input-wrap textarea::placeholder {
  color: rgb(5 5 5 / 0.3);
}

.signup-form input:focus,
.input-wrap input:focus,
.input-wrap textarea:focus {
  outline: 0;
}

.signup-form button,
.button,
button {
  border: 0;
  background: var(--black);
  color: var(--green);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
  -webkit-transition: background-color 160ms ease, color 160ms ease, -webkit-box-shadow 160ms ease;
  transition: background-color 160ms ease, color 160ms ease, -webkit-box-shadow 160ms ease;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, -webkit-box-shadow 160ms ease;
}

.signup-form button:hover,
.signup-form button:focus,
.button:hover,
.button:focus,
button:hover,
button:focus {
  background: rgb(5 5 5 / 0.9);
}

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

.button-secondary:hover,
.button-secondary:focus {
  background: rgb(255 255 255 / 0.9);
}

.button-outline {
  background: transparent;
  color: var(--black);
  -webkit-box-shadow: inset 0 0 0 0.25rem var(--black);
          box-shadow: inset 0 0 0 0.25rem var(--black);
}

.button-outline:hover,
.button-outline:focus {
  background: var(--black);
  color: var(--green);
}

.back-link {
  display: inline-block;
  -webkit-margin-before: 2rem;
          margin-block-start: 2rem;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  order: -1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 2rem 1.5rem 0;
}

.ball-wrap {
  width: 100%;
  max-width: 11rem;
  aspect-ratio: 1;
}

.pickleball {
  width: 100%;
  height: 100%;
  color: var(--black);
  -webkit-animation: ball-spin 25s linear infinite;
          animation: ball-spin 25s linear infinite;
}

.site-footer {
  align-items: center;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  text-align: right;
  opacity: 0.8;
}

body > main:not(.landing-page),
body > article {
  width: min(100%, 64rem);
  min-height: 100vh;
  padding: var(--space-page);
}

body > main:not(.landing-page) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body > article {
  padding-block: var(--space-section);
}

body > main:not(.landing-page) h1,
body > article h1 {
  -webkit-margin-after: 2rem;
          margin-block-end: 2rem;
}

body > main:not(.landing-page) p,
body > article p {
  max-width: 44rem;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  text-transform: uppercase;
}

body > article h2,
body > article h3,
body > article h4 {
  -webkit-margin-before: 4rem;
          margin-block-start: 4rem;
}

body > article a {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

body > article a:hover,
body > article a:focus {
  background: var(--black);
  color: var(--green);
  opacity: 1;
}

body > article ul,
body > article ol {
  display: -ms-grid;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.5rem 0 3rem;
  list-style: none;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  text-transform: uppercase;
}

body > article ul li,
body > article ol li {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 1fr;
  grid-template-columns: auto 1fr;
  gap: 1rem;
}

body > article ul li::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  -webkit-margin-before: 0.45em;
          margin-block-start: 0.45em;
  border-radius: 999px;
  background: var(--white);
}

body > article ol {
  counter-reset: ordered-list;
}

body > article ol li {
  counter-increment: ordered-list;
}

body > article ol li::before {
  content: counter(ordered-list, decimal-leading-zero);
  color: var(--white);
}

blockquote {
  max-width: 52rem;
  margin: 4rem 0;
  padding: 1rem 0 1rem clamp(2rem, 5vw, 3rem);
  border-left: 0.5rem solid var(--white);
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

table {
  width: 100%;
  margin: 2rem 0 3rem;
  border-collapse: collapse;
  background: var(--white);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

thead {
  border-bottom: 0.25rem solid var(--black);
}

th,
td {
  padding: 1.25rem;
  vertical-align: top;
}

tbody tr {
  border-bottom: 0.125rem solid var(--border);
  -webkit-transition: background-color 160ms ease;
  transition: background-color 160ms ease;
}

tbody tr:last-child {
  border-bottom: 0;
}

tbody tr:hover {
  background: rgb(5 5 5 / 0.05);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@-webkit-keyframes ball-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes ball-spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@media (min-width: 960px) {
  h1 {
    font-size: 8rem;
  }

  h2 {
    font-size: 6rem;
  }

  h3 {
    font-size: 4rem;
  }

  h4 {
    font-size: 2.5rem;
  }

  .brand {
    font-size: 1.5rem;
  }

  .site-header {
    padding-inline: 3rem;
  }

  .hero h1 {
    font-size: 8rem;
  }

  .hero-lede,
  .content-lede,
  body > main:not(.landing-page) p,
  body > article p,
  body > article ul,
  body > article ol {
    font-size: 2rem;
  }

  .signup-form input,
  .input-wrap input,
  .input-wrap textarea {
    padding: 1.5rem;
    font-size: 1.25rem;
  }

  .signup-form button,
  .button,
  button {
    padding-inline: 2.5rem;
    font-size: 1.25rem;
  }

  blockquote {
    font-size: 4rem;
  }

  .hero {
    -ms-grid-rows: minmax(30rem, 1fr) auto;
    grid-template-rows: minmax(30rem, 1fr) auto;
  }

  .hero-lockup {
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-copy,
  .hero-signup {
    padding: 3rem;
  }

  .hero-signup {
    max-width: 42rem;
    -webkit-padding-before: 0;
            padding-block-start: 0;
  }

  .hero-visual {
    order: 0;
    justify-content: center;
    padding: 3rem 6rem;
  }

  .ball-wrap {
    max-width: 31.25rem;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 10rem;
  }
}

@media (min-width: 640px) and (max-width: 959px) {
  h1 {
    font-size: 7rem;
  }

  h2 {
    font-size: 5rem;
  }

  h3 {
    font-size: 3.5rem;
  }

  h4 {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 7rem;
  }

  .hero-copy,
  .hero-signup {
    padding: 3rem;
  }

  .hero-signup {
    -webkit-padding-before: 0;
            padding-block-start: 0;
  }

  .hero-visual {
    padding: 3rem 3rem 0;
  }

  .ball-wrap {
    max-width: 16rem;
  }

  .hero-lede,
  .content-lede {
    font-size: 1.875rem;
  }

  .signup-form input,
  .input-wrap input,
  .input-wrap textarea {
    padding: 1.5rem;
    font-size: 1.25rem;
  }

  blockquote {
    font-size: 3rem;
  }
}

@media (max-width: 640px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .signup-form {
    flex-direction: column;
  }

  .signup-form button {
    width: 100%;
  }

  .site-footer p:last-child {
    text-align: left;
  }

  th,
  td {
    padding: 1rem;
  }
}
