/* Rally landing: the ball is the page. Every dimension snaps to the 12px half-pitch. */

.landing {
  --u: 12px;
  background: var(--ball);
  color: var(--ink);
  overflow-x: hidden;
}

.wrap {
  width: min(100% - 4 * var(--u), 1344px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: var(--u);
  top: -60px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--ball);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: var(--u);
}

/* perforation: the world's divider, a row of drilled holes */
.perf {
  height: 24px;
  background-image:
    radial-gradient(circle at 50% 62%, var(--hole) 0 3.5px, transparent 4px),
    radial-gradient(circle at 50% 50%, var(--hole-deep) 0 5px, transparent 5.6px);
  background-size: 24px 24px;
  background-position: center;
}

/* ---------- Buttons: molded, they press in ---------- */
.btn {
  --lift: 0 2px 0 rgba(0, 0, 0, 0.35), 0 6px 14px -4px rgba(21, 26, 11, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--lift);
  transition:
    transform 0.14s var(--ease-press),
    box-shadow 0.14s var(--ease-press),
    background-color 0.2s;
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.35), 0 2px 6px -2px rgba(21, 26, 11, 0.4);
}
.btn-ink {
  background: var(--ink);
  color: var(--ball);
}
.btn-ink:hover {
  background: #262d12;
}
.btn-orange {
  background: var(--orange);
  color: var(--ink);
}
.btn-orange:hover {
  background: #ff7d3b;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink) inset;
}
.btn-ghost:hover {
  background: rgba(21, 26, 11, 0.08);
}
.btn-ghost:active {
  box-shadow: 0 0 0 2px var(--ink) inset;
}
.btn-small {
  height: 40px;
  padding: 0 18px;
  font-size: 14.5px;
}
.btn-block {
  width: 100%;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ball);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled {
  box-shadow: 0 1px 0 rgba(21, 26, 11, 0.12), 0 8px 20px -14px rgba(21, 26, 11, 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: calc(3 * var(--u));
  height: 72px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.ballmark {
  width: 30px;
  height: 30px;
}
.wordmark .stamp {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.nav nav {
  margin-left: auto;
}
.nav-links {
  display: flex;
  gap: calc(2.5 * var(--u));
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a,
.nav-signin {
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.nav-links a:hover,
.nav-signin:hover {
  text-decoration: underline;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: calc(2 * var(--u));
}

/* ---------- Hero ---------- */
.hero {
  padding-top: var(--u);
  padding-bottom: calc(6 * var(--u));
}
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: calc(4 * var(--u));
  align-items: end;
}
.hero-title {
  margin: 0;
  font-size: clamp(48px, 5.6vw, 82px);
  line-height: 0.92;
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: -0.035em;
}
.hero-title span {
  display: block;
}
.hero-title span:nth-child(2) {
  padding-left: 0.42em;
}
.hero-title span:nth-child(3) {
  padding-left: 0.84em;
}
.hero-sub {
  margin: 0 0 calc(2 * var(--u));
  max-width: 46ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* the trial form, in its working form */
.trial-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px auto;
  gap: 8px;
  align-items: end;
}
.field {
  display: grid;
  gap: 4px;
}
.field-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}
.field input,
.field select {
  height: 48px;
  width: 100%;
  padding: 0 16px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--white-ball);
  color: var(--ink);
  font-size: 15.5px;
  box-shadow: inset 0 2px 4px rgba(21, 26, 11, 0.22), inset 0 0 0 1.5px rgba(21, 26, 11, 0.28);
}
.field select {
  appearance: none;
  padding-right: 34px;
  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='%23151a0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  font-variant-numeric: tabular-nums;
}
.field input::placeholder {
  color: #6d7350;
}
.field input:focus-visible,
.field select:focus-visible {
  outline: 3px solid var(--court);
  outline-offset: 1px;
}
.field input[aria-invalid='true'] {
  box-shadow: inset 0 2px 4px rgba(21, 26, 11, 0.22), inset 0 0 0 2px var(--orange-deep);
}
.trial-note {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--ink-2);
}
.trial-note a {
  font-weight: 600;
}
.trial-note.is-error {
  color: #8a2a00;
  font-weight: 600;
}
.trial.is-done .trial-fields {
  display: none;
}
.trial-done {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.trial-done .seated {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.12), 0 2px 4px rgba(21, 26, 11, 0.35);
  animation: seat 0.5s var(--ease-out);
}

/* the board */
.hero-board {
  margin: calc(2.5 * var(--u)) 0 0;
  padding: calc(1.5 * var(--u)) calc(2 * var(--u)) var(--u);
  border-radius: var(--radius-l);
  background: var(--ball-lo);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(21, 26, 11, 0.1),
    0 18px 40px -24px rgba(21, 26, 11, 0.55);
}
.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--u) calc(2 * var(--u));
  margin-bottom: var(--u);
  font-size: 14px;
}
.board-where em {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 1.5px var(--ink-2) inset;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-2);
  vertical-align: 1px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 22px;
  height: 10px;
  border-radius: var(--radius-pill);
}
.legend i[data-type='booking'] {
  background: var(--ink);
}
.legend i[data-type='open'] {
  background: var(--white-ball);
}
.legend i[data-type='league'] {
  background: var(--olive);
}
.legend i[data-type='clinic'] {
  background: var(--court);
}
.legend i[data-type='hold'] {
  background: repeating-linear-gradient(-45deg, var(--white-ball) 0 3px, #d9dcc8 3px 6px);
  box-shadow: 0 0 0 1.5px var(--ink) inset;
}
.legend i[data-type='conflict'] {
  background: var(--orange);
}

.board-scroll {
  overflow-x: auto;
  padding-top: 22px;
  margin-inline: -4px;
  padding-inline: 4px;
  scrollbar-color: var(--hole-deep) transparent;
}
#hero-board {
  --label: 96px;
  --row: 34px;
  --hole-r: 5px;
  min-width: 920px;
}
.hero-board .board-court small {
  color: var(--ink-3);
}

.catch {
  margin-top: var(--u);
  padding: var(--u) 0 2px;
  background-image: radial-gradient(circle at 50% 50%, var(--hole-deep) 0 2px, transparent 2.5px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}
.catch-state {
  display: flex;
  align-items: center;
  gap: calc(2 * var(--u));
}
.catch-state[hidden] {
  display: none;
}
.catch-state::before {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 31, 0.25);
}
.catch-state[data-state='preview']::before {
  background: transparent;
  box-shadow: 0 0 0 2px var(--ink) inset;
  outline: 2px dashed var(--ink);
  outline-offset: 2px;
}
.catch-state[data-state='done']::before {
  background: var(--ink);
  box-shadow: 0 2px 3px rgba(21, 26, 11, 0.3);
}
.catch-text {
  flex: 1;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.45;
  max-width: 78ch;
}
.catch-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.catch-actions .btn {
  height: 42px;
  font-size: 14.5px;
}

/* ---------- Section frame ---------- */
.section-title {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 0.98;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 18ch;
}
.section-lede {
  margin: calc(2 * var(--u)) 0 0;
  max-width: 54ch;
  font-size: 18px;
  color: var(--ink-2);
}

/* ---------- Fixes: the shadow side of the ball ---------- */
.fixes {
  padding: calc(8 * var(--u)) 0 calc(6 * var(--u));
}
.fix-list {
  margin: calc(6 * var(--u)) 0 0;
  padding: 0;
  list-style: none;
}
.fix {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 336px;
  gap: calc(4 * var(--u));
  align-items: start;
  padding: calc(4 * var(--u)) 0;
  background-image:
    radial-gradient(circle at 50% 62%, var(--hole) 0 2.5px, transparent 3px),
    radial-gradient(circle at 50% 50%, var(--hole-deep) 0 4px, transparent 4.6px);
  background-size: 18px 12px;
  background-repeat: repeat-x;
  background-position: 0 0;
}
.fix:last-child {
  padding-bottom: 0;
}
.fix-when {
  display: grid;
}
.fix-time {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 125%;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.fix-time small {
  font-size: 0.5em;
  margin-left: 0.15em;
  letter-spacing: 0;
}
.fix-where {
  margin-top: 6px;
  font-weight: 600;
  color: var(--ink-2);
}
.fix-body h3 {
  margin: 4px 0 var(--u);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.fix-body p {
  margin: 0;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
}
.fix-do {
  display: grid;
  gap: calc(1.5 * var(--u));
  justify-items: start;
  padding: calc(1.5 * var(--u));
  border-radius: var(--radius-m);
  background: var(--ball-lo);
  box-shadow: inset 0 2px 4px rgba(21, 26, 11, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--ball);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3), 0 4px 8px -4px rgba(21, 26, 11, 0.5);
}

.mini-board {
  display: grid;
  gap: 6px;
  width: 100%;
}
.mini-row {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}
.mini-track {
  position: relative;
  height: 24px;
  background-image:
    radial-gradient(circle at 50% 60%, var(--hole) 0 2.5px, transparent 3px),
    radial-gradient(circle at 50% 50%, var(--hole-deep) 0 4px, transparent 4.6px);
  background-size: calc(100% / 6) 100%;
}
.m-plug {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: var(--radius-pill);
}
.m-ink {
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--orange);
}
.m-orange {
  background: var(--orange);
}
.m-jam {
  top: 8px;
  bottom: -2px;
  transform: translateX(6px);
  box-shadow: 0 2px 5px rgba(21, 26, 11, 0.4);
}
.m-ghost {
  outline: 2px dashed var(--ink);
  outline-offset: -2px;
}

.mini-coaches {
  display: grid;
  gap: 6px;
  width: 100%;
}
.coach {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
}
.coach em {
  font-style: normal;
  font-weight: 500;
  font-size: 12.5px;
}
.coach.is-out {
  box-shadow: 0 0 0 2px var(--orange-deep) inset;
  color: #7c2d0a;
}
.coach.is-free {
  background: var(--court);
  color: #fff;
}

.mini-queue {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mini-queue li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  font-size: 13.5px;
  font-weight: 600;
}
.mini-queue i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 62%, var(--hole) 0 5px, var(--hole-deep) 5.5px);
}
.mini-queue li:first-child i {
  background: var(--ink);
  box-shadow: 0 2px 2px rgba(21, 26, 11, 0.4);
}
.mini-queue em {
  margin-left: auto;
  font-style: normal;
  font-weight: 500;
  font-size: 12.5px;
  color: var(--ink-2);
}

/* ---------- Features index: the dense passage ---------- */
.features {
  padding: calc(10 * var(--u)) 0 calc(3 * var(--u));
}
.features-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: calc(4 * var(--u));
  align-items: end;
}
.features-head .section-lede {
  margin: 0;
}
.index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: calc(4 * var(--u));
  margin: calc(6 * var(--u)) 0 0;
}
.index-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    'dt tag'
    'dd dd';
  gap: 6px var(--u);
  padding: calc(2 * var(--u)) 0 calc(2.5 * var(--u));
  background-image: radial-gradient(circle at 50% 50%, var(--hole-deep) 0 2.5px, transparent 3px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}
.index-item dt {
  grid-area: dt;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 120%;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.index-item dd {
  grid-area: dd;
  margin: 0;
  max-width: 52ch;
  font-size: 16.5px;
  color: var(--ink-2);
}
.index-item .tag {
  grid-area: tag;
  align-self: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 1.5px var(--ink-2) inset;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}
.index-item .tag-pro {
  background: var(--court);
  box-shadow: none;
  color: #fff;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: calc(6 * var(--u)) 0 calc(10 * var(--u));
}
.counter {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: calc(2 * var(--u)) calc(5 * var(--u));
  align-items: end;
  margin-top: calc(5 * var(--u));
  padding: calc(2.5 * var(--u)) calc(3 * var(--u));
  border-radius: var(--radius-l);
  background: var(--ball-lo);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), inset 0 -2px 0 rgba(21, 26, 11, 0.1);
}
.counter fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.counter legend {
  margin-bottom: var(--u);
  padding: 0;
  font-weight: 700;
  font-size: 15px;
}
.holes {
  display: flex;
  gap: 6px;
}
.hole-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--hole);
  box-shadow: inset 0 4px 6px rgba(21, 26, 11, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.35);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.hole-btn span {
  position: relative;
  z-index: 1;
}
.hole-btn.is-filled {
  background: var(--ink);
  color: var(--ball);
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.1), 0 3px 4px rgba(21, 26, 11, 0.35);
}
.hole-btn.is-filled.is-cap {
  animation: seat 0.45s var(--ease-out);
}
.hole-btn:hover:not(.is-filled) {
  background: #b9c418;
}
.hole-btn:nth-child(4) {
  margin-right: 14px;
}
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--hole);
  box-shadow: inset 0 2px 3px rgba(21, 26, 11, 0.3);
}
.seg button {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.seg button[aria-checked='true'] {
  background: var(--ink);
  color: var(--ball);
  box-shadow: 0 2px 3px rgba(21, 26, 11, 0.35);
}
.counter-read {
  margin: 0;
  justify-self: end;
  text-align: right;
  font-size: 17px;
  line-height: 1.35;
}
.counter-read strong {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 850;
  font-stretch: 125%;
  font-size: 30px;
  letter-spacing: -0.02em;
}

.plans {
  display: grid;
  grid-template-columns: 4fr 8fr 5fr;
  gap: var(--u);
  margin-top: calc(2 * var(--u));
}
.plan {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  padding: calc(2.5 * var(--u));
  border-radius: var(--radius-l);
  background: var(--ball-lo);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), inset 0 -2px 0 rgba(21, 26, 11, 0.1);
  transition:
    background-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}
.plan header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--u);
  flex-wrap: wrap;
}
.plan h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}
.plan-fit {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-3);
}
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
}
.price-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 115%;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price-u {
  font-weight: 600;
  color: var(--ink-3);
}
.plan-list {
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  align-content: start;
  gap: 8px;
}
.plan-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 15.5px;
}
.plan-list li::before {
  content: '';
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-1px);
}
.plan.is-match {
  background: var(--ball-hi);
  box-shadow: inset 0 0 0 3px var(--ink), 0 16px 30px -18px rgba(21, 26, 11, 0.55);
  transform: translateY(-4px);
}
.plan-fits {
  display: none;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--ball);
  font-size: 12px;
  font-weight: 700;
}
.plan.is-match .plan-fits {
  display: inline-block;
}
.plans-note {
  margin: calc(2 * var(--u)) 0 0;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- FAQ ---------- */
.faq {
  padding: calc(8 * var(--u)) 0;
  background: var(--ball-lo);
}
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: calc(4 * var(--u));
  align-items: start;
}
.faq-list {
  display: grid;
}
.faq details {
  padding: calc(1.5 * var(--u)) 0;
  background-image: radial-gradient(circle at 50% 50%, var(--hole-deep) 0 2.5px, transparent 3px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--u);
  padding: var(--u) 0;
  font-weight: 700;
  font-size: 19px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 62%, var(--hole) 0 7px, var(--hole-deep) 7.5px);
  transition: background 0.2s;
}
.faq details[open] summary::after {
  background: var(--ink);
  box-shadow: 0 2px 3px rgba(21, 26, 11, 0.35);
}
.faq details p {
  margin: 0 0 var(--u);
  max-width: 60ch;
  font-size: 17px;
  color: var(--ink-2);
}

/* ---------- Close ---------- */
.close {
  padding: calc(10 * var(--u)) 0 calc(8 * var(--u));
}
.close-title {
  margin: 0 0 calc(4 * var(--u));
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.92;
  font-weight: 900;
  font-stretch: 128%;
  letter-spacing: -0.035em;
  max-width: 17ch;
  text-wrap: balance;
}
.trial-close {
  max-width: 720px;
}

/* ---------- Footer ---------- */
.foot {
  padding: calc(4 * var(--u)) 0 calc(5 * var(--u));
  background-image: radial-gradient(circle at 50% 50%, var(--hole-deep) 0 2.5px, transparent 3px);
  background-size: 12px 6px;
  background-repeat: repeat-x;
  color: var(--ink-2);
}
.foot-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--u) calc(4 * var(--u));
  align-items: center;
}
.foot-inner > p {
  margin: 0;
}
.foot-links {
  display: flex;
  gap: calc(2 * var(--u));
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-links a {
  text-decoration: none;
  font-weight: 600;
}
.foot-links a:hover {
  text-decoration: underline;
}
.foot-small {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-top {
    grid-template-columns: 1fr;
    gap: calc(3 * var(--u));
  }
  .hero-sub {
    max-width: 60ch;
  }
  .fix {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .fix-do {
    grid-column: 2;
    max-width: 420px;
  }
  .counter {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .counter-read {
    justify-self: start;
    text-align: left;
  }
  .plans {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav nav {
    margin-left: 0;
  }
  .nav-actions {
    margin-left: auto;
  }
  .features-head,
  .faq-inner {
    grid-template-columns: 1fr;
    gap: calc(2 * var(--u));
  }
  .index {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .catch-state {
    flex-wrap: wrap;
    gap: var(--u) calc(1.5 * var(--u));
  }
  .catch-text {
    flex-basis: calc(100% - 40px);
  }
  .catch-actions {
    margin-left: 30px;
  }
  .foot-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(100% - 2.5 * var(--u), 1344px);
  }
  .nav-inner {
    height: 64px;
    gap: var(--u);
  }
  .nav-signin {
    display: none;
  }
  .hero {
    padding-top: calc(2 * var(--u));
  }
  .hero-title {
    font-size: clamp(40px, 12.4vw, 60px);
  }
  .hero-title span:nth-child(2),
  .hero-title span:nth-child(3) {
    padding-left: 0;
  }
  .hero-sub {
    font-size: 17px;
  }
  .trial-fields {
    grid-template-columns: minmax(0, 1fr) 88px;
  }
  .trial-fields .btn {
    grid-column: 1 / -1;
  }
  .hero-board {
    padding: var(--u);
    margin-inline: calc(-0.5 * var(--u));
  }
  #hero-board {
    --label: 70px;
    min-width: 1320px;
  }
  .legend {
    display: none;
  }
  .fixes {
    padding: calc(6 * var(--u)) 0 calc(4 * var(--u));
  }
  .fix {
    grid-template-columns: 1fr;
    gap: calc(1.5 * var(--u));
  }
  .fix-do {
    grid-column: auto;
    max-width: none;
  }
  .fix-time {
    font-size: 36px;
  }
  .fix-body h3 {
    font-size: 22px;
  }
  .holes {
    flex-wrap: wrap;
    max-width: 300px;
  }
  .hole-btn:nth-child(4) {
    margin-right: 0;
  }
  .counter {
    padding: calc(2 * var(--u));
  }
  .catch-actions {
    margin-left: 0;
  }
  .catch-text {
    flex-basis: calc(100% - 34px);
  }
}
