/* Top Tennis Strings â€” 2026-08-28 redesign
   Brand hexes (exact): purple #332c81 Â· blue #029bd8 Â· lime #ccFF00 (selective) Â· forest #516e1c
   Lime is one primary button + a 2px logo tick. Not H1, not nav, not prices, not headings, not chrome. */
:root {
  --purple: #332c81;
  --blue: #029bd8;
  --lime: #ccFF00;
  --green: #516e1c;
  --bg: #050505;
  --card: #0a0a0a;
  --card-hover: #101010;
  --ink: #f4f6f8;
  --muted: #9aa3b2;
  --line: #1c1c1c;
  --header: #000;
  --radius: 5px;
  --font: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --pad: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: #4db8e8; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--lime); color: #111; padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }
.wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* Header â€” black, 1px blue rule, no lime stripe, no gradient */
.site-header {
  background: var(--header);
  border-bottom: 1px solid var(--blue);
  padding: .7rem 0;
  position: sticky; top: 0; z-index: 50;
}
.brand-row {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.logo {
  color: #fff; font-weight: 800; text-decoration: none;
  letter-spacing: -.03em; font-size: 1.05rem;
  display: inline-flex; align-items: center; gap: .45rem;
  white-space: nowrap;
}
.logo::before {
  content: "";
  width: 14px; height: 2px;
  background: var(--lime);
  flex-shrink: 0;
}
.logo span { color: var(--blue); }
nav {
  display: flex; flex-wrap: nowrap;
  gap: 0 1.15rem; align-items: center;
}
nav a {
  color: rgba(255,255,255,.78); text-decoration: none;
  font-size: .82rem; font-weight: 650; white-space: nowrap;
}
nav a.active, nav a:hover { color: #fff; }
nav a.active { color: var(--blue); }

/* Disclosure â€” quiet line, not a card */
.disclosure {
  padding: .55rem 0 .15rem;
  margin: 0 auto;
  font-size: .78rem; color: var(--muted);
  border: 0; background: transparent; border-radius: 0;
}
.disclosure strong { color: var(--muted); font-weight: 650; }
.disclosure code { font-family: var(--mono); font-size: .74rem; color: #c5ccd6; }

/* Hero */
.hero {
  padding: 56px 32px 48px;
  display: grid; gap: 2rem;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  background: transparent;
  border-radius: 0;
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { order: -1; }
}
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: transparent;
  padding: 0; border-radius: 0; margin-bottom: .7rem;
  border: 0;
}
.hero h1 {
  margin: 0 0 .55rem; font-size: clamp(2rem, 4.2vw, 2.75rem);
  letter-spacing: -.04em; line-height: 1.12; color: #fff; font-weight: 800;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.lede { color: var(--muted); max-width: 38rem; font-size: 1.05rem; margin: 0 0 1.15rem; }
.hero-visual {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3; background: var(--card);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.cta-row { display: flex; flex-wrap: wrap; gap: .65rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: .52rem 1.05rem; border-radius: var(--radius); font-size: .88rem;
  border: 1px solid var(--blue); color: var(--blue) !important;
  background: transparent; transition: background .12s, color .12s, border-color .12s;
}
.btn:hover { background: rgba(2,155,216,.12); color: #fff !important; }
.btn-solid {
  background: var(--lime); color: #111 !important;
  border-color: var(--lime);
}
.btn-solid:hover { background: #d9ff3d; color: #111 !important; }
.btn-mr {
  background: var(--blue); color: #fff !important;
  border-color: var(--blue);
}
.btn-mr:hover { background: #0288c0; color: #fff !important; }
.btn-sm { padding: .4rem .85rem; font-size: .8rem; }

.section { padding: var(--pad) 0; }
.section h2 {
  font-size: 1.35rem; color: #fff;
  font-weight: 800; margin: 0 0 .75rem; letter-spacing: -.02em;
}
.section .sub { color: var(--muted); margin: -.25rem 0 1.15rem; max-width: 42rem; }

.grid, .product-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.cat-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}
.split-2 {
  display: grid; gap: 22px;
  grid-template-columns: 1fr 1fr;
}
.product-card, .card, .step-card, .guide-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 20px;
  text-decoration: none; color: inherit;
  box-shadow: none;
  transition: border-color .12s, background .12s;
}
.card:hover, .product-card:hover, .guide-card:hover {
  border-color: #2a2a2a; background: var(--card-hover);
  transform: none; box-shadow: none;
}
.product-card h3, .card h3, .step-card h3, .guide-card h3 {
  margin: 0 0 .35rem; font-size: 1rem; color: #f4f6f8; font-weight: 750;
}
.product-img {
  border-radius: 4px;
  background: #fff;
  height: 140px;
  max-height: 140px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 .85rem; overflow: hidden; border: 1px solid var(--line);
}
.product-img img {
  width: auto;
  max-width: 180px;
  max-height: 128px;
  height: auto;
  object-fit: contain;
  padding: .35rem;
}
.why, .muted { color: var(--muted); font-size: .9rem; }
.product-card .why { min-height: 3.4em; }
.price { font-weight: 800; color: var(--blue); margin: .4rem 0 .15rem; font-size: 1.08rem; }
.price-asof { font-size: .74rem; color: #6e7785; margin: 0 0 .55rem; }
.asin {
  font-size: .7rem; color: #6e7785; font-family: var(--mono);
  margin: 0 0 .65rem;
}
.tag-row { display: flex; flex-wrap: wrap; gap: .3rem; margin: .3rem 0 .55rem; }
.tag {
  font-size: .68rem; font-weight: 750; text-transform: uppercase;
  letter-spacing: .03em; padding: .12rem .4rem; border-radius: 4px;
  background: #141414; color: var(--blue);
}
.tag-spin { color: #c5d4a0; background: #14180e; }
.tag-arm { color: #b9c4d4; background: #12161c; }
.tag-control { color: #93c5fd; background: #101820; }
.tag-wake { color: var(--muted); background: #121212; }
.tag-quiet { color: #c5d4a0; background: #12180e; }

.callout {
  background: #0a0a0a;
  border: 1px solid #1e2a38;
  color: #dbe4ee; padding: 1.05rem 1.15rem; border-radius: 6px;
  margin: .9rem 0; font-size: .95rem;
}
.callout a { color: var(--blue); font-weight: 700; text-decoration: underline; }
.callout-mr {
  background: #0a0a0a;
  border: 1px solid rgba(2,155,216,.35);
}
.callout strong { display: block; margin-bottom: .25rem; font-size: 1.02rem; color: #fff; }
.wake-note {
  display: inline-block; margin-top: .45rem;
  background: transparent; color: var(--muted);
  font-weight: 650; font-size: .82rem;
  padding: 0; border-radius: 0;
}
.service-area {
  color: var(--muted); font-size: .82rem; margin: 0 0 .85rem;
}

.steps { display: grid; gap: .85rem; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
.step-card { position: relative; padding-top: 1.25rem; }
.step-card::before {
  counter-increment: step;
  content: "Step " counter(step);
  position: absolute; top: .65rem; right: .9rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue);
}
.step-num {
  width: 1.85rem; height: 1.85rem; border-radius: 4px;
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; margin-bottom: .45rem;
}

.how-strip {
  display: grid; gap: .7rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: .75rem 0;
}
.how-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: .85rem; text-align: center;
}
.how-item strong { display: block; color: #fff; margin-bottom: .2rem; }
.how-item span { color: var(--muted); font-size: .85rem; }

.compare {
  display: grid; gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}
.compare article {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: 20px;
}
.compare h3 { margin: 0 0 .35rem; color: #fff; font-size: .98rem; }
.compare ul { margin: .35rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .88rem; }
.compare li { margin: .25rem 0; }

.gauge-table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
  margin: .75rem 0 1rem;
}
.gauge-table th, .gauge-table td {
  border: 1px solid var(--line); padding: .55rem .7rem; text-align: left;
}
.gauge-table th { background: var(--purple); color: #fff; }
.gauge-table tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.gauge-table td { color: var(--muted); }
.gauge-table td:first-child { color: var(--ink); font-weight: 700; }

.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: .8rem 1rem; margin: .45rem 0;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: #f4f6f8;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+ "; color: var(--blue); font-weight: 800; }
.faq details[open] summary::before { content: "â€“ "; }
.faq details p { color: var(--muted); margin: .55rem 0 0; font-size: .92rem; }

.soft-hub {
  font-size: .86rem; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: .85rem; margin-top: 1.1rem;
}
.soft-hub a { color: var(--blue); }

.prose { max-width: 46rem; }
.prose h1 { letter-spacing: -.025em; margin-bottom: .4rem; }
.prose p { color: #c5ccd6; }
.prose ul { color: var(--muted); padding-left: 1.15rem; }
.prose li { margin: .35rem 0; }
.search-link {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 6px; padding: .75rem .95rem; margin: .6rem 0;
  font-size: .9rem;
}
.search-link .label {
  display: inline-block; font-size: .66rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); margin-bottom: .2rem;
}

.site-footer {
  background: #000; border-top: 1px solid var(--line);
  color: var(--muted); padding: 2.25rem 0 1.75rem; margin-top: 0; font-size: .86rem;
}
.site-footer a { color: var(--blue); }
.site-footer .fine { font-size: .78rem; color: #6e7785; }
.site-footer code {
  font-family: var(--mono); font-size: .76rem;
  background: #111; padding: .1rem .35rem; border-radius: 4px;
}
.footer-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 1.25rem;
}
.footer-grid h4 { margin: 0 0 .4rem; color: #fff; font-size: .82rem; font-weight: 750; letter-spacing: .02em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .28rem 0; }

.price-note { font-size: .78rem; color: var(--muted); margin: -.15rem 0 .4rem; font-weight: 600; }
.product-img-text {
  display: flex; align-items: center; justify-content: center;
  height: 140px; max-height: 140px; background: #111;
  border: 1px solid var(--line); border-radius: 4px; margin-bottom: .65rem;
}
.product-img-text .img-fallback {
  color: var(--muted); font-size: .82rem; font-weight: 700; text-align: center;
  padding: .75rem; line-height: 1.35;
}

.disclaimer {
  font-size: .84rem; color: var(--muted); max-width: 42rem;
}


/* Ranked picks / wildcard blocks */
.rank-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  margin: 0 0 22px;
}
.rank-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .3rem;
}
.rank-block > h2 {
  margin: 0 0 .45rem;
}
.rank-lead {
  color: var(--muted);
  margin: 0 0 .9rem;
  max-width: 46rem;
}
.who-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 1.1rem;
}
.who-box {
  background: #0d0d0d;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .85rem 1rem;
}
.who-box h3 {
  margin: 0 0 .25rem;
  font-size: .82rem;
  color: #fff;
  font-weight: 750;
}
.who-box p { color: var(--muted); font-size: .88rem; margin: 0; }
.rank-cards {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}
.rank-cards.one { grid-template-columns: minmax(0, 380px); }
.rank-cards .product-card .why { min-height: 0; }
.rank-block .product-grid { margin-top: .15rem; }
.rank-block .product-grid .product-card .why { min-height: 0; }
.when-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  margin: .75rem 0 1.1rem;
}

@media (max-width: 900px) {
  .grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .compare { grid-template-columns: repeat(2, 1fr); }
  .who-grid, .when-grid, .rank-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap, .hero { padding-left: 24px; padding-right: 24px; }
  .brand-row { flex-wrap: wrap; }
  nav { flex-wrap: wrap; gap: .35rem .9rem; }
  .split-2 { grid-template-columns: 1fr; }
  .who-grid, .when-grid, .rank-cards { grid-template-columns: 1fr; }
  :root { --pad: 48px; }
}
@media (max-width: 560px) {
  .grid, .product-grid, .cat-grid, .compare, .footer-grid { grid-template-columns: 1fr; }
  .product-img, .product-img-text { height: 140px; max-height: 140px; }
}
