/* SportsBadger Contact and Privacy pages (contact/, privacy/). Loaded after sb.css: its colors (light and dark), fonts
   and .btn. The eyebrow, the turf icon tiles and the rounded cards match the home page. */

.info { padding-bottom: 64px; }
.info-head { padding: 34px 0 26px; }
.info-eyebrow { margin: 0 0 10px; font: 700 .875rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--turf); }
.info-head h1 { font-size: clamp(2.6rem, 7vw, 4rem); letter-spacing: .005em; }
.info-head p { margin: 10px 0 0; max-width: 58ch; color: var(--muted); font-size: 1.08rem; line-height: 1.5; }
@media (max-width: 560px) { .info-head { padding: 24px 0 18px; } .info-head p { font-size: 1rem; } }

/* ---------- Contact: the form card, and the notes beside it (below it on phones) ---------- */
.ct { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px 48px; align-items: start; }
@media (max-width: 900px) { .ct { grid-template-columns: minmax(0, 1fr); } }
.ct-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 32px 28px;
  box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 18px 40px -28px rgb(14 21 17 / .35);
}
@media (max-width: 560px) { .ct-card { padding: 22px 18px 20px; border-radius: 16px; } }
.ct-card form { margin: 0; }
.ct-card { scroll-margin-top: 16px; }

/* topic chips: radio buttons dressed as the site's pills */
.ct-topics { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.ct-topics legend, .ct-field label { font: 600 .92rem/1.2 var(--font-body); color: var(--ink); padding: 0; margin: 0 0 9px; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip { position: relative; display: block; }
.ct-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ct-chip span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .92rem/1 var(--font-body);
  white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s;
}
.ct-chip svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ct-chip:hover span { border-color: var(--muted); }
.ct-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.ct-chip input:focus-visible + span { outline: 3px solid var(--turf); outline-offset: 2px; }
@media (max-width: 560px) {
  .ct-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .ct-chip span { min-height: 46px; padding: 0 10px; }
}

/* boxes */
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .ct-row { grid-template-columns: minmax(0, 1fr); } }
.ct-field { margin: 0 0 20px; min-width: 0; }
.ct-field[hidden] { display: none; }
.ct-field label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ct-opt { font-weight: 500; font-size: .8rem; color: var(--muted); }
.ct-field input, .ct-field textarea {
  display: block; width: 100%; margin: 0; padding: 12px 14px; min-height: 50px;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);   /* 16px: phones don't zoom in when a box is tapped */
  background: var(--chalk); border: 1px solid var(--line); border-radius: 12px;
  -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.ct-field textarea { min-height: 164px; resize: vertical; line-height: 1.55; overflow-y: hidden; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.ct-field input:hover, .ct-field textarea:hover { border-color: color-mix(in srgb, var(--muted) 60%, var(--line)); }
.ct-field input:focus, .ct-field textarea:focus {
  outline: none; background: var(--surface); border-color: var(--turf);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--turf) 20%, transparent);
}
.ct-field [aria-invalid="true"] { border-color: var(--loss); background: color-mix(in srgb, var(--loss) 5%, var(--chalk)); }
.ct-field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--loss) 18%, transparent); }
.ct-hint { margin: 7px 0 0; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.ct-err { display: flex; align-items: flex-start; gap: 7px; margin: 7px 0 0; font-size: .86rem; font-weight: 600; line-height: 1.35; color: var(--loss); }
.ct-err[hidden] { display: none; }
.ct-err::before {
  content: "!"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%;
  background: var(--loss); color: var(--surface); font: 700 .68rem/1 var(--font-body);
}
.ct-under { display: flex; align-items: flex-start; gap: 12px; }
.ct-count { margin: 7px 0 0 auto; font-size: .8rem; color: var(--muted); white-space: nowrap; }
.ct-count.near { color: var(--loss); font-weight: 600; }

/* the hidden box only bots fill in: off screen, out of the tab order, silent for screen readers */
.ct-trap { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* Cloudflare's check: invisible for nearly everyone; when it does need a click it appears here, full width */
.ct-turnstile { margin: -4px 0 16px; }
.ct-turnstile:empty { display: none; }

/* a message about the whole form (couldn't send, too many messages) */
.ct-alert {
  display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px;
  font-size: .93rem; line-height: 1.45; color: var(--ink);
  background: color-mix(in srgb, var(--loss) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--loss) 32%, var(--line));
}
.ct-alert[hidden] { display: none; }
.ct-alert svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--loss); }
.ct-alert.calm { background: color-mix(in srgb, var(--turf) 8%, var(--surface)); border-color: color-mix(in srgb, var(--turf) 30%, var(--line)); }
.ct-alert.calm svg { color: var(--turf); }

/* send */
.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.ct-send { min-height: 52px; padding: 0 28px; font-size: 1.02rem; letter-spacing: .01em; justify-content: center;
  transition: background-color .15s, transform .1s; }
.ct-send:hover { background: color-mix(in srgb, var(--ink) 86%, var(--turf)); border-color: color-mix(in srgb, var(--ink) 86%, var(--turf)); }
.ct-send:active { transform: translateY(1px); }
.ct-send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.ct-send:hover svg { transform: translateX(3px); }
.ct-send[aria-busy="true"] { cursor: progress; }
.ct-send .ct-spin { display: none; width: 18px; height: 18px; border: 2.2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: ct-spin .7s linear infinite; }
.ct-send[aria-busy="true"] .ct-spin { display: block; }
.ct-send[aria-busy="true"] .ct-arrow { display: none; }
@keyframes ct-spin { to { transform: rotate(360deg); } }
.ct-fine { display: flex; align-items: center; gap: 7px; margin: 0; font-size: .85rem; color: var(--muted); }
.ct-fine svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ct-fine a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .ct-send { width: 100%; }
  .ct-fine { width: 100%; justify-content: center; text-align: center; }
}

/* sent */
.ct-done { padding: 30px 6px 14px; text-align: center; }
.ct-done[hidden] { display: none; }
.ct-done:focus { outline: none; }
.ct-done-ico { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  background: #24543A; color: #EEF2EE; box-shadow: 0 0 0 8px color-mix(in srgb, var(--turf) 14%, transparent); }
.ct-done-ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ct-done-ico path { stroke-dasharray: 30; stroke-dashoffset: 0; animation: ct-draw .45s .1s ease-out both; }
@keyframes ct-draw { from { stroke-dashoffset: 30; } }
.ct-done h2 { font-size: clamp(2rem, 5vw, 2.5rem); margin: 0 0 10px; }
.ct-done p { margin: 0 auto; max-width: 44ch; color: var(--muted); line-height: 1.55; }
.ct-done p b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.ct-done-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
@media (max-width: 560px) { .ct-done-row .btn { flex: 1 1 100%; justify-content: center; } }

/* the notes: what to write about */
.ct-aside { padding-top: 6px; }
.ct-aside h2 { margin: 0 0 16px; font: 700 .875rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--turf); }
.ct-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ct-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.ct-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #24543A; color: #EEF2EE; }
.ct-ico svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-ico .ac { stroke: #82C99D; }
.ct-list b { display: block; margin: 1px 0 3px; font-weight: 600; font-size: 1rem; }
.ct-list div > span { display: block; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.ct-promise { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .88rem; line-height: 1.5; color: var(--muted); }
.ct-promise svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: var(--turf); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ct-promise a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .ct-aside { padding: 8px 2px 0; }
  .ct-list { gap: 16px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .ct-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .ct-list li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* ---------- Privacy ---------- */
.pv { display: grid; grid-template-columns: minmax(0, 720px) 220px; justify-content: space-between; gap: 40px; align-items: start; }
@media (max-width: 1000px) { .pv { grid-template-columns: minmax(0, 1fr); } .pv-toc { display: none; } }
.pv-updated { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.pv-short { margin: 0 0 8px; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
@media (max-width: 560px) { .pv-short { padding: 20px 18px; border-radius: 16px; } }
.prose .pv-short h2 { margin: 0 0 14px; font: 700 .875rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--turf); }
.pv-short ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pv-short li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; line-height: 1.5; }
.pv-short li svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--turf); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.prose { font-size: 1.02rem; line-height: 1.65; }
.prose h2 { margin: 40px 0 10px; font-size: 1.75rem; scroll-margin-top: 16px; }
.prose h3 { margin: 22px 0 6px; font: 600 1.05rem/1.3 var(--font-body); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 1.25em; }
.prose li { margin: 0 0 6px; }
.prose li::marker { color: var(--turf); }
.prose a { color: var(--turf); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose code { font: 500 .9em/1 ui-monospace, Consolas, monospace; padding: 2px 5px; border-radius: 5px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.pv-services { display: grid; gap: 10px; margin: 6px 0 16px; }
.pv-service { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.pv-service b { display: block; font-weight: 600; }
.pv-service p { margin: 3px 0 0; font-size: .94rem; line-height: 1.5; color: var(--muted); }
.pv-service p a { font-weight: 600; }
.pv-toc { position: sticky; top: 24px; padding-top: 6px; }
.pv-toc h2 { margin: 0 0 12px; font: 700 .8rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pv-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.pv-toc a { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: .9rem; color: var(--muted); text-decoration: none; }
.pv-toc a:hover { color: var(--ink); }
.pv-toc a[aria-current="true"] { color: var(--ink); font-weight: 600; border-left-color: var(--turf); }
.pv-end { margin-top: 36px; padding: 22px 24px; border-radius: 18px; background: #142019; color: #EEF2EE; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 14px 20px; }
.pv-end p { margin: 0; font-size: 1rem; }
.pv-end b { display: block; font: 700 1.35rem/1.1 var(--font-display); }
.pv-end .btn { background: #EEF2EE; color: #142019; border-color: #EEF2EE; }
@media (max-width: 560px) { .pv-end .btn { width: 100%; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  .ct-send, .ct-send svg, .ct-chip span, .ct-field input, .ct-field textarea { transition: none; }
  .ct-done-ico path { animation: none; }
  .ct-send .ct-spin { animation-duration: 2s; }
}
