/* ==========================================================================
   padel.how — padel-static.css
   Single stylesheet. Mobile-first. System fonts. No external requests.
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout
   4.  Header / nav
   5.  Buttons & links
   6.  Hero
   7.  Directions (home)
   8.  Popular strip (home)
   9.  Card grid (section landing)
   10. Article (content page)
   11. Tables
   12. FAQ accordion
   13. Footer
   14. Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, "Courier New", monospace;

  --brand:      #0b6fbf;   /* padel blue */
  --brand-700:  #085a9b;
  --brand-900:  #063f6e;
  --pop:        #d8f24a;   /* optic ball — micro accent only */

  --ink:        #0d1722;
  --ink-soft:   #2b3a47;
  --muted:      #5a6776;
  --line:       #e4e9ee;
  --subtle:     #f3f6f9;
  --subtle-2:   #eef3f7;
  --bg:         #ffffff;

  --max:        1180px;
  --article:    720px;
  --r:          14px;
  --r-sm:       10px;
  --shadow:     0 1px 2px rgba(13,23,34,.04), 0 8px 28px rgba(13,23,34,.07);
  --shadow-sm:  0 1px 2px rgba(13,23,34,.05), 0 3px 10px rgba(13,23,34,.05);

  --pad:        clamp(20px, 5vw, 40px);
  --ease:       cubic-bezier(.22,.61,.36,1);
}

/* 2. Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
  font-weight: 800;
}

p { text-wrap: pretty; }

a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.25em; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--pop); color: var(--ink); }

/* 3. Layout ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(48px, 8vw, 88px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 3px;
  background: var(--pop);
  border-radius: 2px;
}

/* 4. Header / nav ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 9px;
  font-weight: 800;
}
.brand__mark span { font-size: 15px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink-soft);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav a:hover { background: var(--subtle); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--brand); color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* 5. Buttons & links ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .18s var(--ease), border-color .18s, color .18s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--brand-700);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.arrow-link:hover { text-decoration: none; }
.arrow-link:hover svg { transform: translateX(4px); }

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-700) 55%, var(--brand-900) 100%);
  color: #fff;
}
.hero__court {
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
}
.hero__court svg { width: 100%; height: 100%; }
.hero__inner {
  position: relative;
  padding-block: clamp(56px, 11vw, 120px);
}
.hero .eyebrow { color: #fff; }
.hero .eyebrow::before { background: var(--pop); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 7.2vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-top: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--pop);
}
.hero__sub {
  margin-top: 20px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.5;
  color: rgba(255,255,255,.86);
  max-width: 46ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.hero .btn--light { background: #fff; color: var(--brand-900); }
.hero .btn--light:hover { background: var(--pop); }

/* 7. Directions (home) ----------------------------------------------------- */
.directions { display: grid; gap: 14px; margin-top: 36px; }

.direction {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.direction:hover {
  text-decoration: none;
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.direction__icon {
  width: 60px; height: 60px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--subtle);
  color: var(--brand);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.direction:hover .direction__icon { background: var(--brand); color: #fff; }
.direction__icon svg { width: 30px; height: 30px; }
.direction__body { min-width: 0; }
.direction__title {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 800;
}
.direction__desc {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 1.02rem;
  line-height: 1.5;
}
.direction__go {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.direction:hover .direction__go { background: var(--brand); color: #fff; transform: translateX(4px); }
.direction__go svg { width: 20px; height: 20px; }

/* 8. Popular strip (home) -------------------------------------------------- */
.popular { background: var(--subtle); border-block: 1px solid var(--line); }
.popular__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.popular__head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }

.quicklist {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.quicklist a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 600;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.quicklist a:hover { text-decoration: none; border-color: var(--brand); transform: translateX(3px); }
.quicklist .num {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand);
  flex: none;
}
.quicklist .tag {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
}

/* 9. Card grid (section landing) ------------------------------------------ */
.page-head { padding-block: clamp(40px, 7vw, 72px) clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-top: 16px; }
.page-head p {
  margin-top: 16px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
}
.page-head__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: .92rem;
  color: var(--muted);
  font-weight: 600;
}
.page-head__meta b { color: var(--ink); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  position: sticky;
  top: 64px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  z-index: 10;
}
.chip {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); text-decoration: none; }
.chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
  padding-top: 32px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover {
  text-decoration: none;
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.card__rank {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  padding: 4px 9px;
  border-radius: 7px;
}
.card__badge {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--subtle-2);
  padding: 5px 10px;
  border-radius: 999px;
}
.card__badge--pick { color: var(--ink); background: var(--pop); }
.card__brand { color: var(--muted); background: var(--subtle); font-weight: 700; }
.card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  flex: 1;
}
.card__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__specs {
  display: flex;
  gap: 14px;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
}
.card__specs b { color: var(--ink); font-weight: 800; }

/* 10. Article (content page) ----------------------------------------------- */
.breadcrumb {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--line);
  font-size: 1.1em;
}
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

.article { padding-block: clamp(32px, 6vw, 56px) clamp(28px, 5vw, 44px); }
.article__head { max-width: var(--article); margin-inline: auto; }
.article__cat {
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--subtle-2);
  padding: 6px 12px;
  border-radius: 999px;
}
.article h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  margin-top: 18px;
}
.article__meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .92rem;
  color: var(--muted);
  font-weight: 600;
}

.prose { max-width: var(--article); margin-inline: auto; }
.prose > * + * { margin-top: 1.15em; }
.prose p { font-size: 1.12rem; line-height: 1.75; color: var(--ink-soft); }
.prose h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-top: 2em;
  padding-top: .3em;
}
.prose h3 {
  font-size: clamp(1.2rem, 2.6vw, 1.4rem);
  margin-top: 1.6em;
}
.prose ul, .prose ol { font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); }
.prose li + li { margin-top: .4em; }
.prose a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: var(--line); }
.prose a:hover { text-decoration-color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--brand);
  padding: 4px 0 4px 22px;
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 500;
}
.prose figure { margin-block: 2em; }
.prose figure img { border-radius: var(--r); width: 100%; }
.prose figcaption {
  margin-top: 10px;
  font-size: .88rem;
  color: var(--muted);
  text-align: center;
}

/* image placeholder (no real photo yet) */
.media-ph {
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  background:
    repeating-linear-gradient(135deg, var(--subtle) 0 12px, var(--subtle-2) 12px 24px);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-block: 2em;
}

.callout {
  margin-block: 2em;
  padding: 22px 24px;
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.callout h3 { margin: 0 0 6px; font-size: 1.05rem; }
.callout p { font-size: 1rem; color: var(--ink-soft); }

/* 11. Tables --------------------------------------------------------------- */
.table-scroll { margin-block: 2em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  min-width: 460px;
}
table.data caption {
  text-align: left;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
table.data th, table.data td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
table.data thead th {
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
table.data thead th:first-child { border-top-left-radius: var(--r-sm); }
table.data thead th:last-child { border-top-right-radius: var(--r-sm); }
table.data tbody tr:nth-child(even) { background: var(--subtle); }
table.data tbody th { font-weight: 700; color: var(--ink); }
table.data td { color: var(--ink-soft); }

/* Review byline + score badge --------------------------------------------- */
.review-byline {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: .92rem;
  color: var(--muted);
  font-weight: 600;
}
.review-byline a { color: var(--brand-700); }
.review-byline .dot { color: var(--line); }

.score-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.score-badge b { font-size: 1.5rem; color: var(--pop); }
.score-badge span { font-size: .9rem; color: rgba(255,255,255,.65); }
.score-badge em { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-right: 6px; }

/* Table of contents -------------------------------------------------------- */
.toc {
  max-width: var(--article);
  margin: 2.4em auto;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--subtle);
}
.toc__title {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 32px;
  counter-reset: toc;
}
.toc__list li { break-inside: avoid; margin-bottom: 9px; counter-increment: toc; }
.toc__list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
}
.toc__list a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand);
  flex: none;
}
.toc__list a:hover { color: var(--brand-700); text-decoration: none; }

/* Scorecard (100-point system) -------------------------------------------- */
.scorecard {
  max-width: var(--article);
  margin: 2.4em auto;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.scorecard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.scorecard__head h2 { margin: 0; font-size: clamp(1.4rem, 3.2vw, 1.8rem); }
.scorecard__head p { margin-top: 8px; font-size: .98rem; color: var(--muted); max-width: 46ch; }
.scorecard__head p a { font-weight: 600; }

.score-ring {
  flex: none;
  width: 124px; height: 124px;
  border-radius: 50%;
  background: conic-gradient(var(--brand) calc(var(--pct) * 1%), var(--subtle-2) 0);
  display: grid;
  place-items: center;
}
.score-ring__inner {
  width: 102px; height: 102px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  line-height: 1;
}
.score-ring__num { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.score-ring__den { font-size: .82rem; font-weight: 700; color: var(--muted); line-height: 1; margin-top: 2px; }

.score-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}
.score-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 12px; }
.score-row__label { font-weight: 600; font-size: .98rem; color: var(--ink-soft); }
.score-row__val { font-weight: 800; font-variant-numeric: tabular-nums; }
.score-row__bar {
  grid-column: 1 / -1;
  height: 7px;
  background: var(--subtle-2);
  border-radius: 999px;
  overflow: hidden;
}
.score-row__bar > span {
  display: block;
  height: 100%;
  width: calc(var(--v) * 10%);
  background: var(--brand);
  border-radius: 999px;
}
.score-row[data-tier="low"] .score-row__bar > span { background: #e0a32e; }

.score-final {
  margin: 2em auto;
  max-width: var(--article);
  padding: 22px 24px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.score-final__num { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; flex: none; }
.score-final__num b { color: var(--pop); }
.score-final p { font-size: 1rem; color: rgba(255,255,255,.8); line-height: 1.55; flex: 1; min-width: 240px; }

/* 12. FAQ accordion -------------------------------------------------------- */
.faq { margin-top: clamp(40px, 7vw, 64px); }
.article .faq { max-width: var(--article); margin-inline: auto; }   /* center only inside article column */
.faq > h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 20px; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.faq__q:hover { color: var(--brand-700); }
.faq__icon {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2.5px;
  background: var(--brand);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a {
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr;            /* open by default — readable without JS */
  transition: grid-template-rows .28s var(--ease);
}
.faq__a > div { min-height: 0; }

/* Once JS is active, collapse closed items and animate the icon */
.faq[data-js] .faq__a { grid-template-rows: 0fr; }
.faq[data-js] .faq__item[data-open] .faq__a { grid-template-rows: 1fr; }
.faq[data-js] .faq__item[data-open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a p {
  padding-bottom: 22px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 70ch;
}
/* native marker off when using <details> */
.faq__item summary { list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }

/* Tilda FAQ blocks inside migrated articles. Keep them aligned with the
   article column and remove the legacy oversized vertical gaps. */
.site-preserved-records .r[data-record-type="585"] {
  padding-top: clamp(28px, 5vw, 40px) !important;
  padding-bottom: clamp(28px, 5vw, 40px) !important;
}
.site-preserved-records .t585 > .t-container,
.site-preserved-records .t585 > .t-section__container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 26px !important;
  display: block !important;
  box-sizing: border-box;
}
.site-preserved-records .t585 .t-col,
.site-preserved-records .t585 .t-col_12 {
  float: none !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-preserved-records .t585 .t-section__title {
  margin: 0 0 clamp(22px, 4vw, 30px) !important;
  padding: 0 !important;
  text-align: left !important;
}
.site-preserved-records .t585__trigger-button {
  padding: 21px 44px 21px 0;
}
.site-preserved-records .t585__textwrapper {
  padding-bottom: 18px;
}

/* Video facade — fast, no embed until clicked (links out) ------------------ */
.video-facade {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  margin-block: 2em;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(160deg, var(--brand-700), var(--ink));
  color: #fff;
}
.video-facade:hover { text-decoration: none; }
.video-facade__play {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 2px solid rgba(255,255,255,.8);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.video-facade:hover .video-facade__play { transform: scale(1.08); background: var(--pop); border-color: var(--pop); }
.video-facade:hover .video-facade__play svg { color: var(--ink); }
.video-facade__play svg { width: 26px; height: 26px; margin-left: 3px; color: #fff; }
.video-facade__label {
  position: absolute;
  bottom: 16px; left: 18px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

/* Brand grid (catalog) ----------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.brand-card:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); }
.brand-card strong { font-size: 1.12rem; font-weight: 800; }
.brand-card span { color: var(--muted); font-size: .96rem; line-height: 1.45; }

/* Guide / article list (catalog) ------------------------------------------ */
.guide-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.guide-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.guide-list a:hover { text-decoration: none; border-color: transparent; box-shadow: var(--shadow-sm); }
.guide-list h3 { font-size: 1.12rem; font-weight: 800; }
.guide-list p { margin-top: 5px; color: var(--muted); font-size: .98rem; line-height: 1.45; }
/* guide-list with strong+span layout (how-to-play index) */
.guide-list a > div { display: flex; flex-direction: column; gap: 4px; }
.guide-list a > div > strong { display: block; font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.guide-list a > div > span { display: block; font-size: .93rem; color: var(--muted); line-height: 1.45; }
.guide-list__go {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--subtle);
  color: var(--ink);
  transition: background .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.guide-list a:hover .guide-list__go { background: var(--brand); color: #fff; transform: translateX(3px); }
.guide-list__go svg { width: 18px; height: 18px; }

.subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.subhead h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }

/* 13. Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding-block: clamp(44px, 7vw, 72px);
  margin-top: clamp(24px, 4vw, 40px);
}
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px 32px;
}
.footer__brand .brand { color: #fff; }
.footer__brand p { margin-top: 14px; font-size: .96rem; max-width: 34ch; }
.footer-col h4 {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-weight: 500; }
/* Language switcher */
.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.lang-switcher a {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.lang-switcher a:hover { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.9); text-decoration: none; }
.lang-switcher a[aria-current] { border-color: rgba(255,255,255,.5); color: #fff; }

.footer__bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
}

/* 14. Utilities ------------------------------------------------------------ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0 !important; }
.article [id] { scroll-margin-top: 84px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--pad) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav-toggle { display: inline-flex; }

  .direction {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  .direction__go { display: none; }
  .direction__icon { width: 50px; height: 50px; }
  .direction__icon svg { width: 26px; height: 26px; }

  .toolbar { top: 0; }
  .gallery { grid-template-columns: 1fr; }
  .prose p, .prose ul, .prose ol { font-size: 1.06rem; }

  .toc__list { columns: 1; }
  .score-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ====================================================================
   Tilda content compatibility — keeps imported content readable
   ==================================================================== */
/* Tilda layout resets inside article prose */
.prose .t-container,.prose .t-col,.prose .t-width{max-width:100%!important;width:100%!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;float:none!important}
.prose .t-rec{padding-top:0!important;padding-bottom:1.15em!important}
.prose .t220__textwrapper{background:var(--bg)!important;border-radius:var(--r);padding:22px 26px}
.prose .t220__text,.prose .t-text{font-size:1.12rem;line-height:1.75;color:var(--ink-soft)}
.prose .t220__title,.prose .t-heading{font-size:clamp(1.5rem,3.5vw,2rem);font-weight:800;margin:.6em 0 .6em;color:var(--ink)}
/* Images */
.prose img{border-radius:var(--r);width:100%;height:auto}
.prose .t214__container{display:grid!important;grid-template-columns:repeat(2,1fr);gap:14px;list-style:none;padding:0!important}
.prose .t214__col{padding:0!important;margin:0!important;width:auto!important;max-width:none!important}
.prose .t214__blockimg,.prose .t-bgimg{display:block;min-height:220px;border-radius:var(--r);background-size:cover!important;background-position:center!important}
/* Tables */
.prose .t431__table{width:100%;border-collapse:collapse;font-size:1rem;margin:1.5em 0}
.prose .t431__table-wrapper{overflow-x:auto}
.prose .t431__td{border:1px solid var(--line);padding:10px 13px;vertical-align:top}
.prose .t431__thead .t431__td{background:var(--ink);color:#fff;font-weight:700;font-size:.82rem;letter-spacing:.04em;text-transform:uppercase}
.prose .t431__tr:nth-child(even) .t431__td{background:var(--subtle)}
/* Breadcrumb t758 compat */
.t758__list{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;list-style:none;padding:0;margin:0;font-size:.88rem;color:var(--muted)}
.t758__list_item{display:flex;align-items:center;gap:10px}
.t758 .t-menu__link-item{color:var(--brand);font-weight:600}
.t758__breadcrumb-divider{color:var(--line)}
/* Old FAQ t585 — styled to match new .faq__item style */
.prose .t585{margin-top:clamp(40px,7vw,64px)}
.prose .t585__wrapper{border-bottom:1px solid var(--line)}
.prose .t585__wrapper:first-child .t585__header{border-top:1px solid var(--line)}
.prose .t585__header{border-top:none}
.prose .t585__trigger-button{width:100%;background:none;border:0;text-align:left;padding:22px 0;cursor:pointer;font:inherit;font-weight:700;font-size:1.15rem;color:var(--ink);display:flex;justify-content:space-between;align-items:center;gap:16px}
.prose .t585__trigger-button:hover{color:var(--brand-700)}
/* + / – icon via pseudo-element */
.prose .t585__trigger-button::after{content:"";flex:none;width:26px;height:26px;position:relative;background:
  linear-gradient(var(--brand),var(--brand)) center/14px 2.5px no-repeat,
  linear-gradient(var(--brand),var(--brand)) center/2.5px 14px no-repeat;
  border-radius:2px;transition:background .25s}
.prose .t585__trigger-button[aria-expanded="true"]::after{background:
  linear-gradient(var(--brand),var(--brand)) center/14px 2.5px no-repeat}
.prose .t585__content{display:none}
.prose .t585__content.t585--open{display:block!important}
.prose .t585__text{padding-bottom:22px;font-size:1.08rem;line-height:1.7;color:var(--ink-soft)}
.prose .t585__icon,.prose .t585__icon-hover,.prose .t585__circle{display:none}
.prose .t585__lines{display:none}
.prose .t585__title{flex:1}
.prose .t585__border{display:none}
.prose .t585 .t-section__title{font-size:clamp(1.5rem,3.5vw,2rem);font-weight:800;margin-bottom:20px;text-align:left}
/* Section index pages (preserved-records) */
.site-preserved-records .t-rec{margin-bottom:1em}
.site-preserved-records .t-section__title{font-size:clamp(1.5rem,3.5vw,2rem);font-weight:800;text-align:left}
.site-preserved-records .t-section__descr{font-size:1.05rem;color:var(--muted);margin-bottom:1.5em}
.site-preserved-records .t650__inner-col{border:1px solid var(--line);border-radius:var(--r);padding:20px;background:var(--bg);transition:box-shadow .18s}
.site-preserved-records .t650__inner-col:hover{box-shadow:var(--shadow)}
.site-preserved-records .t-card__title{font-weight:700;font-size:1.1rem}
.site-preserved-records .t-btntext__text{color:var(--brand);font-weight:700}
.site-preserved-records .t-container{max-width:100%}
.t-records{opacity:1!important}
@media(max-width:640px){.prose .t214__container{grid-template-columns:1fr}}

/* ====================================================================
   Additional fixes
   ==================================================================== */
/* Brand mark ball style */
.brand__mark{background:transparent!important;padding:0!important;overflow:visible}
.brand__mark svg{width:32px;height:32px}

/* Hide t758 breadcrumb if new .breadcrumb nav is present on same page */
.breadcrumb ~ * .t758,.breadcrumb + * .t758,.breadcrumb ~ .prose .t758{display:none!important}

/* Full-width video (iframe.site-video or .video-facade) */
.site-video,.video-facade{width:100%;max-width:100%;display:block;border-radius:var(--r)}
.site-video{aspect-ratio:16/9;border:0}

/* Clickable t650 cards (equipment page) */
.site-preserved-records .t650__inner-col,.prose .t650__inner-col{position:relative}
.site-preserved-records .t-card__link,.prose .t-card__link{position:static}
.site-preserved-records .t-card__link::after,.prose .t-card__link::after{content:"";position:absolute;inset:0;z-index:1}
.site-preserved-records .t650__btn-container,.prose .t650__btn-container{position:relative;z-index:2}

/* Section padding reduction on home */
.section{padding-block:clamp(32px,5vw,60px)}

/* Prose h1 hide (it's in article__head separately) */
body.site-original-page .article .prose h1{display:none}

/* ToC in prose */
.prose .toc{margin:2em 0;padding:20px 24px;border:1px solid var(--line);border-radius:var(--r);background:var(--subtle)}

/* === Spacing / misc fixes === */
/* Remove excessive top margin on first h2 in prose */
.prose > h2:first-child,.prose > .gallery + h2,.prose > div + h2:first-of-type{margin-top:0}
/* T-rec padding override with higher specificity */
.article .prose .t-rec,.article .prose .r{padding-top:0!important;padding-bottom:0!important;margin-bottom:1.2em}
/* Hide T017 hero block container (empty after h1 hidden) */
.article .prose .t017{display:none}
.article .prose .t-rec_pt_90,.article .prose .t-rec_pt_135{padding-top:0!important}
/* Video facade proper height */
.video-facade{aspect-ratio:16/9;min-height:220px}
/* Gallery spacing */
.gallery{margin-block:1.8em;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.gallery img{width:100%;height:220px;object-fit:cover;border-radius:var(--r)}
/* Score ring centering */
.scorecard__head{flex-wrap:nowrap}
@media(max-width:640px){.scorecard__head{flex-wrap:wrap}.score-ring{margin:0 auto}}

/* Data table (specs) */
.table-scroll { margin-block: 2em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 460px; }
table.data caption { text-align: left; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* Final FAQ alignment override for migrated Tilda accordions. This sits after
   the broad Tilda resets so it wins consistently across imported pages. */
.article .prose .site-preserved-records .r[data-record-type="585"] {
  padding-top: clamp(28px, 5vw, 40px) !important;
  padding-bottom: clamp(20px, 4vw, 28px) !important;
  margin-bottom: 0 !important;
}
.article .prose .site-preserved-records .t585 {
  margin-top: clamp(28px, 5vw, 40px);
}
.article .prose .site-preserved-records .t585 > .t-container,
.article .prose .site-preserved-records .t585 > .t-section__container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 26px !important;
  display: block !important;
  box-sizing: border-box;
}
.article .prose .site-preserved-records .t585 .t-col,
.article .prose .site-preserved-records .t585 .t-col_12 {
  float: none !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.article .prose .site-preserved-records .t585 .t-section__title {
  margin: 0 0 clamp(22px, 4vw, 30px) !important;
  padding: 0 !important;
  text-align: left !important;
}
table.data th, table.data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--ink); color: #fff; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
table.data thead th:first-child { border-top-left-radius: var(--r-sm); }
table.data thead th:last-child { border-top-right-radius: var(--r-sm); }
table.data tbody tr:nth-child(even) { background: var(--subtle); }
table.data tbody th { font-weight: 700; color: var(--ink); }
table.data td { color: var(--ink-soft); }

/* Brand grid */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 20px; }
.brand-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--ink); transition: border-color .18s var(--ease), transform .18s var(--ease); text-decoration: none; }
.brand-card:hover { text-decoration: none; border-color: var(--brand); transform: translateY(-2px); }
.brand-card strong { font-size: 1.12rem; font-weight: 800; }
.brand-card span { color: var(--muted); font-size: .96rem; line-height: 1.45; }

/* Blog / static content page layout */
.static-container{width:100%;max-width:var(--max);margin-inline:auto;padding-inline:var(--pad);padding-block:clamp(40px,7vw,80px)}
.site-native-section h1{font-size:clamp(2rem,5vw,3rem);margin-bottom:clamp(32px,5vw,56px)}

/* Blog card grid */
.site-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-bottom:clamp(32px,5vw,56px)}
.site-card{background:var(--bg);border:1px solid var(--line);border-radius:var(--r);padding:24px;display:flex;flex-direction:column;gap:10px;transition:box-shadow .2s var(--ease),transform .2s var(--ease)}
.site-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.site-card h3{font-size:1.05rem;font-weight:700;line-height:1.3}
.site-card h3 a{color:var(--ink);text-decoration:none}
.site-card h3 a:hover{color:var(--brand-700)}
.site-card p{font-size:.95rem;color:var(--muted);line-height:1.55;flex:1}
.site-card__cta{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:.9rem;color:var(--brand-700);margin-top:auto;text-decoration:none}
.site-card__cta:hover{text-decoration:underline}
