:root {
  --green: #00a859;
  --green-dark: #009a52;
  --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;

  /* Spacing scale (after NoStyle): use these steps instead of one-off values. */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Type scale (after NoStyle): named sizes that step up at wider screens. */
  --text-small: 0.85rem;
  --text-body: 1.125rem;
  --text-label: 1.125rem;
  --text-lede: 1.5rem;
  --text-h4: 2rem;
  --text-h3: 2.5rem;
  --text-h2: 3rem;
  --text-h1: 5rem;
}

@media (min-width: 640px) and (max-width: 959px) {
  :root {
    --text-lede: 1.875rem;
    --text-h4: 2.5rem;
    --text-h3: 3.5rem;
    --text-h2: 5rem;
    --text-h1: 7rem;
  }
}

@media (min-width: 960px) {
  :root {
    --text-label: 1.25rem;
    --text-lede: 2rem;
    --text-h4: 2.5rem;
    --text-h3: 4rem;
    --text-h2: 6rem;
    --text-h1: 8rem;
  }
}

* {
  -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,
.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: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

h4 {
  font-size: var(--text-h4);
}

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);
  background: var(--green-dark);
}

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

.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) {
  .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) {
  .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;
  }
}

body > main.learn-page {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: 0;
}

.learn-page {
  background: var(--green);
}

.learn-hero,
.learn-list {
  padding: clamp(2rem, 6vw, 5rem) var(--space-page);
}

.learn-hero {
  display: -ms-grid;
  display: grid;
  align-items: end;
  min-height: clamp(26rem, 58vh, 40rem);
}

.learn-hero-copy {
  max-width: 64rem;
}

.learn-hero h1 {
  max-width: 12ch;
  -webkit-margin-after: 2rem;
          margin-block-end: 2rem;
  font-size: clamp(4rem, 13vw, 10rem);
  font-weight: var(--font-weight-heavy);
}

.terms-list-section {
  padding: clamp(2rem, 6vw, 5rem) var(--space-page);
  background: var(--green-dark);
}

.terms-list-header {
  max-width: 64rem;
  -webkit-margin-after: clamp(2rem, 5vw, 4rem);
          margin-block-end: clamp(2rem, 5vw, 4rem);
}

.terms-list-header h2 {
  -webkit-margin-after: 1.5rem;
          margin-block-end: 1.5rem;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: var(--font-weight-heavy);
}

.terms-list {
  display: -ms-grid;
  display: grid;
  gap: var(--space-12);
}

.terms-group[hidden] {
  display: none;
}

.terms-group-title {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  -webkit-padding-after: var(--space-3);
          padding-block-end: var(--space-3);
  border-bottom: 0.25rem solid var(--black);
  font-size: var(--text-h4);
  font-weight: var(--font-weight-heavy);
}

.terms-group-count {
  font-size: var(--text-small);
  letter-spacing: 0.08em;
}

.terms-group-list {
  display: -ms-grid;
  display: grid;
  gap: 0.75rem;
}

.term-list-item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(4.5rem, 7rem) minmax(0, 1fr) auto;
  grid-template-columns: minmax(4.5rem, 7rem) minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 1.5rem) 0;
  color: var(--black);
}

.term-list-item:hover,
.term-list-item:focus {
  opacity: 1;
}

.term-list-icon {
  display: -ms-grid;
  display: grid;
  place-items: center;
  min-width: 0;
}

.term-list-icon .term-icon {
  width: min(100%, 5.5rem);
  -webkit-transition: -webkit-transform 160ms ease;
  transition: -webkit-transform 160ms ease;
  transition: transform 160ms ease;
  transition: transform 160ms ease, -webkit-transform 160ms ease;
}

.term-list-item:hover .term-icon,
.term-list-item:focus .term-icon {
  -webkit-transform: scale(1.08);
          transform: scale(1.08);
}

.term-list-copy {
  display: -ms-grid;
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.term-list-title,
.term-list-measurement,
.term-list-definition,
.term-list-action {
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
}

.term-list-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: var(--font-weight-heavy);
}

.term-list-measurement {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  background: var(--black);
  color: var(--green);
  font-size: 0.82rem;
}

.term-list-definition {
  max-width: 48rem;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.14;
}

.term-list-action {
  -ms-grid-row-align: end;
      align-self: end;
  padding: 0.55rem 0.75rem;
  background: var(--black);
  color: var(--green);
  font-size: 0.82rem;
}

.learn-list {
  display: -ms-grid;
  display: grid;
  gap: 1rem;
  background: var(--green-dark);
  color: var(--black);
}

.learn-list h2 {
  -webkit-margin-after: 1.5rem;
          margin-block-end: 1.5rem;
}

.learn-guide {
  display: -ms-grid;
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  color: inherit;
}

.learn-guide:hover,
.learn-guide:focus {
  background: var(--black);
  color: var(--black);
  opacity: 1;
}

.learn-guide:hover .guide-kicker,
.learn-guide:hover .guide-title,
.learn-guide:hover .guide-summary,
.learn-guide:focus .guide-kicker,
.learn-guide:focus .guide-title,
.learn-guide:focus .guide-summary {
  color: var(--green);
}

.guide-kicker,
.guide-title,
.guide-summary {
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.guide-kicker {
  color: currentColor;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
}

.guide-title {
  max-width: 18ch;
  font-size: clamp(2rem, 7vw, 5rem);
  font-weight: var(--font-weight-heavy);
}

.guide-summary {
  max-width: 42rem;
  font-size: clamp(1.125rem, 2.3vw, 1.75rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
}

.graphic-card-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
}

.graphic-card {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: minmax(11rem, 1fr) auto;
  grid-template-rows: minmax(11rem, 1fr) auto;
  min-height: 15rem;
  color: var(--black);
}

.graphic-card:hover,
.graphic-card:focus {
  opacity: 1;
}

.graphic-card-art {
  display: -ms-grid;
  display: grid;
  place-items: center;
  min-height: 11rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: transparent;
  -webkit-transition: -webkit-transform 160ms ease;
  transition: -webkit-transform 160ms ease;
  transition: transform 160ms ease;
  transition: transform 160ms ease, -webkit-transform 160ms ease;
}

.graphic-card:hover .graphic-card-art,
.graphic-card:focus .graphic-card-art {
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
}

.graphic-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
  padding: 0.5rem 0.75rem;
  background: var(--black);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
}

.term-icon {
  width: min(100%, 11rem);
  color: var(--black);
}

.court-figure {
  margin: 0;
}

.court-diagram {
  width: 100%;
  background: var(--green-dark);
  color: var(--black);
}

.court-surface {
  fill: var(--green);
}

.kitchen-zone {
  fill: var(--green-dark);
}

.court-line {
  fill: none;
  stroke: var(--black);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.court-line.heavy {
  stroke-width: 4;
}

.net-line {
  stroke: var(--black);
  stroke-dasharray: 7 5;
  stroke-width: 5;
}

.measure-line {
  stroke: var(--black);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.measure-label,
.zone-label,
.net-label {
  color: var(--black);
  fill: var(--black);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
}

.zone-label {
  opacity: 1;
}

.court-figure figcaption {
  max-width: 42rem;
  -webkit-margin-before: 1rem;
          margin-block-start: 1rem;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  text-transform: uppercase;
}

.term-detail-page {
  background: var(--green);
}

.term-detail-hero {
  display: -ms-grid;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(2rem, 6vw, 5rem) var(--space-page);
}

.term-detail-copy {
  min-width: 0;
}

/* Breadcrumb: Home / Learn / topic / this term. */
.breadcrumb {
  margin: 0 0 2rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-transform: uppercase;
}

.breadcrumb li + li::before {
  content: "/";
  padding-inline: 0.6em;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

/* The current page is plain text; links are the underlined items. */

.term-detail-hero h1 {
  max-width: 8ch;
  -webkit-margin-after: 1.5rem;
          margin-block-end: 1.5rem;
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: var(--font-weight-heavy);
}

.term-detail-measurement {
  display: inline-block;
  margin: 0 0 2rem;
  padding: 0.5rem 0.75rem;
  background: var(--black);
  color: var(--green);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
}

.term-detail-graphic {
  display: -ms-grid;
  display: grid;
  place-items: center;
  min-height: min(70vh, 42rem);
  background: transparent;
}

.term-detail-graphic .term-icon {
  width: min(70%, 28rem);
}

.term-definition-band {
  display: -ms-grid;
  display: grid;
  gap: 0;
  padding: clamp(2rem, 6vw, 5rem) var(--space-page);
  background: var(--green-dark);
  color: var(--black);
}

.term-definition-block {
  display: -ms-grid;
  display: grid;
  gap: 1rem;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.term-definition-block h2 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 5rem);
}

.term-definition-block p {
  max-width: 56rem;
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.18;
  text-transform: uppercase;
}

.term-definition-block a {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.term-related {
  display: -ms-grid;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(2rem, 6vw, 5rem) var(--space-page);
  color: var(--black);
}

.term-related h2 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 5rem);
}

.term-related-list {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: 0 clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.term-related-item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 3.5rem minmax(0, 1fr);
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  height: 100%;
  padding-block: 1rem;
  border-top: 0.25rem solid var(--black);
  color: var(--black);
}

.term-related-icon .term-icon {
  display: block;
  width: 100%;
  -webkit-transition: -webkit-transform 160ms ease;
  transition: -webkit-transform 160ms ease;
  transition: transform 160ms ease;
  transition: transform 160ms ease, -webkit-transform 160ms ease;
}

.term-related-item:hover .term-icon,
.term-related-item:focus .term-icon {
  -webkit-transform: scale(1.08);
          transform: scale(1.08);
}

.term-related-copy {
  display: -ms-grid;
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.term-related-title,
.term-related-measurement {
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
}

.term-related-title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: var(--font-weight-heavy);
}

.term-related-measurement {
  font-size: 0.82rem;
}

body > main.design-guide-page {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
}

.design-guide-page {
  background: var(--green);
}

.design-guide-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: var(--space-page);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
}

.design-guide-section {
  padding: clamp(3rem, 8vw, 7rem) var(--space-page);
}

.design-guide-section.contrast {
  background: var(--green-dark);
}

.design-guide-label {
  display: inline-block;
  -webkit-margin-after: clamp(2rem, 5vw, 4rem);
          margin-block-end: clamp(2rem, 5vw, 4rem);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--black);
  color: var(--green);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.type-sample {
  display: -ms-grid;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.sample-kicker {
  margin: 0 0 1rem;
  color: rgb(5 5 5 / 0.58);
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.sample-h1,
.sample-h2,
.sample-h3 {
  margin: 0;
  font-weight: var(--font-weight-heavy);
  line-height: 0.78;
  text-transform: uppercase;
}

.sample-h1 {
  font-size: clamp(5rem, 15vw, 12rem);
}

.sample-h2 {
  font-size: clamp(4rem, 11vw, 8rem);
}

.sample-h3 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.layout-variation-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.layout-swatch {
  display: -ms-grid;
  display: grid;
  min-height: 15rem;
  background: var(--green);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  text-transform: uppercase;
}

.layout-swatch span {
  display: -ms-grid;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.layout-swatch .dark {
  background: var(--green-dark);
}

.layout-swatch.split {
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}

.layout-swatch.caps {
  -ms-grid-rows: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
}

.layout-swatch.sidebar {
  -ms-grid-columns: 0.42fr 1fr;
  grid-template-columns: 0.42fr 1fr;
}

.layout-swatch.rows {
  -ms-grid-rows: (1fr)[3];
  grid-template-rows: repeat(3, 1fr);
}

.layout-swatch.grid {
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}

.guide-table-wrap {
  overflow-x: auto;
  background: var(--white);
}

@media (min-width: 1040px) {

  .term-detail-hero {
    -ms-grid-columns: minmax(0, 1fr) minmax(26rem, 0.85fr);
    grid-template-columns: minmax(0, 1fr) minmax(26rem, 0.85fr);
  }
}

@media (max-width: 640px) {
  .learn-hero h1 {
    font-size: 4rem;
  }

  .term-list-item {
    -ms-grid-columns: 4rem minmax(0, 1fr);
    grid-template-columns: 4rem minmax(0, 1fr);
  }

  .term-list-action {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-column-align: start;
        justify-self: start;
  }
}

/**************************************
* Components (after NoStyle)
* Buttons, form fields, error messages.
* Restyled for 101 Pickleball; documented
* in /design-guide/.
**************************************/

a.button {
  display: inline-block;
}

a.button:hover,
a.button:focus {
  opacity: 1;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* Field: label, optional hint, optional error, then the control. */
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field {
  display: -ms-grid;
  display: grid;
  gap: var(--space-2);
  max-width: 36rem;
  -webkit-margin-after: var(--space-8);
          margin-block-end: var(--space-8);
}

.field-label,
.field-legend {
  display: block;
  padding: 0;
  font-size: var(--text-label);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.field-legend {
  -webkit-margin-after: var(--space-2);
          margin-block-end: var(--space-2);
}

.field > .field-hint,
.field-hint {
  display: block;
  margin: 0;
  color: rgb(5 5 5 / 0.65);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  text-transform: uppercase;
}

.field > .field-error,
.field-error {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0;
  padding: var(--space-2) var(--space-3);
  background: var(--black);
  color: var(--white);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-transform: uppercase;
}

.field-error::before {
  content: "!";
  display: -ms-grid;
  display: grid;
  flex: none;
  place-items: center;
  width: 1.4em;
  height: 1.4em;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: var(--font-weight-heavy);
}

/* Text box, textarea, select */
.field input:is([type=text], [type=email], [type=search], [type=tel], [type=url], [type=number]),
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--white);
  padding: var(--space-5);
  color: var(--black);
  font: inherit;
  font-size: var(--text-body);
  font-weight: var(--font-weight-bold);
  line-height: 1.4;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -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;
}

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

.field select {
  -webkit-padding-end: var(--space-12);
          padding-inline-end: var(--space-12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23050505'/%3E%3C/svg%3E");
  background-position: right var(--space-5) center;
  background-repeat: no-repeat;
  background-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.35rem var(--focus-ring);
          box-shadow: 0 0 0 0.35rem var(--focus-ring);
}

/* Invalid controls get a heavy black frame. */
[aria-invalid="true"]:is(input, textarea, select),
.signup-form:has([aria-invalid="true"]) {
  -webkit-box-shadow: inset 0 0 0 0.25rem var(--black);
          box-shadow: inset 0 0 0 0.25rem var(--black);
}

.field input[aria-invalid="true"]:focus,
.field textarea[aria-invalid="true"]:focus,
.field select[aria-invalid="true"]:focus {
  -webkit-box-shadow: inset 0 0 0 0.25rem var(--black), 0 0 0 0.35rem var(--focus-ring);
          box-shadow: inset 0 0 0 0.25rem var(--black), 0 0 0 0.35rem var(--focus-ring);
}

/* Radios and checkboxes: large white tap targets that turn black when chosen. */
.field-options {
  display: -ms-grid;
  display: grid;
  gap: var(--space-2);
}

.field-option {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer;
  -webkit-transition: background-color 160ms ease, color 160ms ease;
  transition: background-color 160ms ease, color 160ms ease;
}

.field-option input {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  accent-color: var(--green);
  cursor: pointer;
}

.field-option:hover {
  background: rgb(255 255 255 / 0.85);
}

.field-option:has(input:checked) {
  background: var(--black);
  color: var(--green);
}

.field-option:has(input:focus-visible) {
  outline: 0.25rem solid var(--focus-ring);
  outline-offset: 0.2rem;
}

.field-option input:focus-visible {
  outline: 0;
}

fieldset[aria-invalid="true"] .field-option {
  -webkit-box-shadow: inset 0.25rem 0 0 var(--black);
          box-shadow: inset 0.25rem 0 0 var(--black);
}

/* Error summary: lists every problem at the top of a longer form. */
.error-summary {
  max-width: 36rem;
  -webkit-margin-after: var(--space-8);
          margin-block-end: var(--space-8);
  padding: var(--space-6);
  border: 0.25rem solid var(--black);
  background: var(--white);
  -webkit-box-shadow: 0.6rem 0.6rem 0 var(--black);
          box-shadow: 0.6rem 0.6rem 0 var(--black);
}

.error-summary[hidden] {
  display: none;
}

.error-summary:focus {
  outline: 0.25rem solid var(--focus-ring);
  outline-offset: 0.6rem;
}

.error-summary h2 {
  margin: 0 0 var(--space-4);
  font-size: var(--text-h4);
  font-weight: var(--font-weight-heavy);
}

.error-summary ul {
  display: -ms-grid;
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.error-summary a {
  font-weight: var(--font-weight-bold);
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-transform: uppercase;
}

/* Newsletter: label and hint above the existing input + button row. */
.newsletter-form {
  max-width: 36rem;
}

.newsletter-form .field {
  margin: 0;
}

.newsletter-form .signup-form button {
  flex: none;
}

/* Design guide additions */
.design-guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0 var(--space-page) var(--space-8);
  margin: 0;
  list-style: none;
}

.design-guide-nav a {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--black);
  color: var(--green);
  font-size: var(--text-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.design-guide-group {
  padding: clamp(3rem, 8vw, 7rem) var(--space-page) var(--space-8);
  background: var(--black);
  color: var(--green);
}

.design-guide-group h2 {
  margin: 0;
  font-weight: var(--font-weight-heavy);
}

.design-guide-group p {
  max-width: 44rem;
  margin: var(--space-6) 0 0;
  font-size: var(--text-body);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  text-transform: uppercase;
}

.design-guide-section h3 {
  -webkit-margin-after: var(--space-8);
          margin-block-end: var(--space-8);
  font-weight: var(--font-weight-heavy);
}

.design-guide-example + .design-guide-example {
  -webkit-margin-before: var(--space-12);
          margin-block-start: var(--space-12);
}

.design-guide-section .design-guide-note {
  max-width: 44rem;
  margin-block: var(--space-4) var(--space-8);
  font-size: var(--text-body);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  text-transform: uppercase;
}

.swatch-grid {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--space-4);
  margin: 0;
}

.swatch {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: 8rem auto;
  grid-template-rows: 8rem auto;
  margin: 0;
  background: var(--white);
}

.swatch figcaption {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-small);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  text-transform: uppercase;
}

.spacing-scale {
  display: -ms-grid;
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.spacing-scale li {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 8rem 1fr;
  grid-template-columns: 8rem 1fr;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-small);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
}

.spacing-scale span:last-child {
  height: 1rem;
  background: var(--black);
}

/**************************************
* Site navigation (after NoStyle's menu)
* A row of links on wider screens. Under
* 640px, site.js folds them behind a
* Menu button that opens a black panel.
**************************************/

.site-header {
  position: relative;
  flex-wrap: wrap;
}

.site-header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-list a {
  display: inline-block;
  padding-block: var(--space-2);
  border-bottom: 0.2rem solid transparent;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
}

.site-nav-list a:hover,
.site-nav-list a:focus {
  opacity: 1;
  border-bottom-color: currentColor;
}

.site-nav-list a[aria-current="page"] {
  border-bottom-color: currentColor;
}

.site-nav-list .site-nav-cta {
  padding: var(--space-2) var(--space-4);
  border: 0;
  background: var(--black);
  color: var(--green);
}

.site-nav-list .site-nav-cta:hover,
.site-nav-list .site-nav-cta:focus {
  background: rgb(5 5 5 / 0.85);
}

.site-nav-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: 1rem;
}

/* Three bars that turn into a cross when open. */
.site-nav-toggle-icon,
.site-nav-toggle-icon::before,
.site-nav-toggle-icon::after {
  display: block;
  width: 1.1rem;
  height: 0.15rem;
  background: currentColor;
  -webkit-transition: background-color 160ms ease, -webkit-transform 160ms ease;
  transition: background-color 160ms ease, -webkit-transform 160ms ease;
  transition: transform 160ms ease, background-color 160ms ease;
  transition: transform 160ms ease, background-color 160ms ease, -webkit-transform 160ms ease;
}

.site-nav-toggle-icon {
  position: relative;
}

.site-nav-toggle-icon::before,
.site-nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-nav-toggle-icon::before {
  top: -0.35rem;
}

.site-nav-toggle-icon::after {
  top: 0.35rem;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-icon {
  background: transparent;
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-icon::before {
  -webkit-transform: translateY(0.35rem) rotate(45deg);
          transform: translateY(0.35rem) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .site-nav-toggle-icon::after {
  -webkit-transform: translateY(-0.35rem) rotate(-45deg);
          transform: translateY(-0.35rem) rotate(-45deg);
}

/* Small screens, once the script has added the Menu button. */
.site-nav.is-collapsible .site-nav-list {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 20;
  display: -ms-grid;
  display: grid;
  gap: 0;
  padding: var(--space-2) var(--space-6) var(--space-6);
  background: var(--black);
  color: var(--green);
}

.site-nav.is-collapsible .site-nav-list[hidden] {
  display: none;
}

.site-nav.is-collapsible .site-nav-list a {
  display: block;
  padding-block: var(--space-4);
  border-bottom: 0.125rem solid rgb(0 168 89 / 0.25);
  font-size: var(--text-lede);
}

.site-nav.is-collapsible .site-nav-list a[aria-current="page"] {
  border-bottom-color: var(--green);
}

.site-nav.is-collapsible .site-nav-list .site-nav-cta {
  -webkit-margin-before: var(--space-4);
          margin-block-start: var(--space-4);
  padding: var(--space-4);
  background: var(--green);
  color: var(--black);
  text-align: center;
}

/**************************************
* Term search (after NoStyle's search)
* Narrows the terms list on /learn/ as
* you type. Hidden until site.js runs.
**************************************/

.term-search {
  -webkit-margin-after: var(--space-8);
          margin-block-end: var(--space-8);
}

.term-search[hidden] {
  display: none;
}

.term-search .field {
  -webkit-margin-after: var(--space-3);
          margin-block-end: var(--space-3);
}

.term-search .term-search-status {
  margin: 0;
  font-size: var(--text-small);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.term-list-item[hidden] {
  display: none;
}

/**************************************
* Term figures: measured diagrams on each
* term page, in the court map's style.
**************************************/

.term-detail-graphic .term-figure {
  width: 100%;
}

.court-highlight {
  fill: none;
  stroke: var(--black);
  stroke-width: 9;
  vector-effect: non-scaling-stroke;
}

.zone-highlight {
  fill: var(--black);
}

.net-line.on-dark,
.zone-label.on-dark {
  stroke: var(--green);
}

.zone-label.on-dark {
  stroke: none;
  fill: var(--green);
}

.callout-label {
  fill: var(--black);
  font-size: 15px;
  font-weight: var(--font-weight-heavy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Player labels on the play diagrams: black tags with green type, the
   same look as the measurement badge on term pages. */
.diagram-tag rect {
  fill: var(--black);
}

.diagram-tag text {
  fill: var(--green);
  font-size: 15px;
  font-weight: var(--font-weight-heavy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Term pages: title and copy first, then the diagram full width below,
   so long titles like "Centerline" never run under the diagram. */
.term-detail-page .term-detail-hero {
  -ms-grid-columns: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: 0;
}

.term-detail-page .term-detail-graphic {
  min-height: 0;
  max-width: 56rem;
}

.term-detail-page .term-detail-hero h1 {
  max-width: none;
  font-size: clamp(3rem, 12vw, 11rem);
}

/* Stepped term diagrams (figure[data-play], see site.js). Title, diagram,
   step list and controls stack flush into one dark green block. */
.court-figure[data-play] {
  --play-pad: clamp(1rem, 3vw, 1.5rem);
}

.play-title {
  margin: 0;
  padding: var(--play-pad) var(--play-pad) 0;
  background: var(--green-dark);
  color: var(--black);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.1;
}

.play-steps {
  display: -ms-grid;
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0.25rem var(--play-pad) 0.5rem calc(var(--play-pad) + 1.25rem);
  background: var(--green-dark);
  color: var(--black);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  text-transform: uppercase;
}

.play-steps li {
  max-width: 42rem;
  padding: 0.25rem 0.5rem;
}

.play-steps li[aria-current] {
  background: var(--black);
  color: var(--green);
}

/* The number sits outside the highlight, so keep it dark. */
.play-steps li::marker {
  color: var(--black);
}

/* Back on the left, Next on the right, the step count between them. */
.play-controls {
  display: flex;
  gap: clamp(0.35rem, 1vw, 0.6rem);
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem var(--play-pad) var(--play-pad);
  background: var(--green-dark);
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
}

.play-controls[hidden] {
  display: none;
}

.play-controls button {
  padding: clamp(0.5rem, 1.4vw, 0.75rem) clamp(0.6rem, 1.8vw, 1rem);
  font-size: inherit;
  white-space: nowrap;
}

/* Auto and Next sit together on the right. */
.play-forward {
  display: flex;
  gap: inherit;
  align-items: center;
}

/* Auto is a toggle: outlined when off, filled when on, with a box
   that shows its state. */
.play-controls .play-auto {
  display: inline-flex;
  gap: 0.45em;
  align-items: center;
  background: transparent;
  -webkit-box-shadow: inset 0 0 0 0.15rem var(--black);
          box-shadow: inset 0 0 0 0.15rem var(--black);
  color: var(--black);
}

.play-auto::before {
  content: "";
  width: 0.7em;
  height: 0.7em;
  -webkit-box-shadow: inset 0 0 0 0.15em currentColor;
          box-shadow: inset 0 0 0 0.15em currentColor;
}

.play-controls .play-auto[aria-pressed="true"] {
  background: var(--black);
  color: var(--green);
}

.play-auto[aria-pressed="true"]::before {
  background: currentColor;
}

.play-controls button[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
}

.play-count {
  min-width: 6.5em;
  font-weight: var(--font-weight-bold);
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Each line in the step list jumps to its step. */
.play-step {
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  text-transform: inherit;
  -webkit-transition: none;
  transition: none;
}

.play-step:hover,
.play-step:focus {
  background: none;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.play-ball {
  fill: var(--white);
  stroke: var(--black);
  stroke-width: 3;
  opacity: 0;
}

.court-figure.is-playing .play-ball {
  opacity: 1;
}

.court-figure.is-playing .play-ball.is-hidden {
  opacity: 0;
}

.court-figure.is-playing [data-step-path],
.court-figure.is-playing [data-step-mark] {
  opacity: 0.12;
  -webkit-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
}

.court-figure.is-playing [data-step-path].is-done,
.court-figure.is-playing [data-step-mark].is-done {
  opacity: 1;
}

/**************************************
* Home page sections below the hero:
* term of the day, a play, start here
* and the glossary topics. Bands
* alternate dark and light green.
**************************************/

/* The hero still fills the first screen now that more follows it. */
.landing-page .hero {
  min-height: calc(100svh - 5rem);
}

.home-today,
.home-play,
.home-start,
.home-topics {
  display: -ms-grid;
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(2rem, 6vw, 5rem) var(--space-page);
  color: var(--black);
}

.home-today,
.home-start {
  background: var(--green-dark);
}

.home-today .eyebrow,
.home-section-header .eyebrow {
  margin: 0;
}

.home-today-date::before {
  content: " · ";
}

.home-section-header {
  display: -ms-grid;
  display: grid;
  gap: 1rem;
  max-width: 64rem;
}

.home-section-header h2 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: var(--font-weight-heavy);
  line-height: 0.9;
}

.home-section-header .content-lede {
  margin: 0;
}

/* Term of the day */
.home-today-card {
  display: -ms-grid;
  display: grid;
  justify-items: start;
  gap: 1rem;
  max-width: 64rem;
}

.home-today-card:hover,
.home-today-card:focus {
  opacity: 1;
}

.home-today-group {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
}

.home-today-title {
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: var(--font-weight-heavy);
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.home-today-measurement {
  padding: 0.5rem 0.75rem;
  background: var(--black);
  color: var(--green-dark);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
}

.home-today-definition {
  max-width: 44rem;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.18;
  text-transform: uppercase;
}

.home-today-action {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.25em;
  text-transform: uppercase;
}

.home-today-card:hover .home-today-action,
.home-today-card:focus .home-today-action {
  opacity: 0.72;
}

/* See a play */
.home-play-figure {
  width: 100%;
  max-width: 64rem;
}

.home-play-figure .term-figure {
  width: 100%;
  margin: 0;
}

.home-section-more {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  text-transform: uppercase;
}

.home-section-more a {
  text-decoration: underline;
  text-decoration-thickness: 0.15em;
  text-underline-offset: 0.25em;
}

/* Start here: numbered, in learning order */
.home-start-list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  counter-reset: start;
}

.home-start-list li {
  counter-increment: start;
}

.home-start-list .term-related-title::before {
  content: counter(start) ". ";
}

/* Browse by topic */
.home-topics-list {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 0 clamp(1rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-topic {
  display: -ms-grid;
  display: grid;
  gap: 0.6rem;
  height: 100%;
  padding-block: 1rem 1.5rem;
  border-top: 0.25rem solid var(--black);
}

.home-topic-count {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: var(--font-weight-heavy);
  line-height: 0.85;
}

.home-topic-title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  text-transform: uppercase;
}

.site-footer-link,
.field-hint a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.privacy-updated {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
}

.home-topic-sample {
  font-size: 0.82rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  text-transform: uppercase;
}
