:root {
  --bg: #07101d;
  --bg-deep: #030811;
  --surface: #0d1928;
  --surface-strong: #111f30;
  --surface-soft: #0a1522;
  --border: rgba(166, 189, 211, 0.15);
  --border-strong: rgba(166, 189, 211, 0.24);
  --text: #f4f7fb;
  --muted: #9cafc2;
  --muted-strong: #becbd8;
  --gold: #e0b35b;
  --gold-bright: #efc878;
  --teal: #59c7bd;
  --teal-deep: #218b8b;
  --shell: 1240px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 6%, rgba(33, 139, 139, 0.14), transparent 30rem),
    radial-gradient(circle at 6% 28%, rgba(28, 78, 124, 0.12), transparent 27rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

main {
  overflow: clip;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #07101d;
  background: var(--gold-bright);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(38px, 7vw, 98px);
  align-items: center;
  min-height: 80px;
  padding: 8px max(20px, calc((100vw - var(--shell)) / 2));
  background: rgba(4, 11, 20, 0.93);
  border-bottom: 1px solid rgba(158, 181, 202, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(190px, 16vw, 214px);
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 7px;
  box-shadow: none;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  gap: 3px;
  align-items: flex-end;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 7px;
  background: linear-gradient(145deg, rgba(89, 199, 189, 0.18), rgba(224, 179, 91, 0.12));
  border: 1px solid rgba(89, 199, 189, 0.34);
  border-radius: 10px;
  box-shadow: inset 0 0 18px rgba(89, 199, 189, 0.08);
}

.brand-mark span {
  width: 4px;
  background: var(--teal);
  border-radius: 999px;
}

.brand-mark span:nth-child(1) { height: 8px; }
.brand-mark span:nth-child(2) { height: 16px; background: var(--gold); }
.brand-mark span:nth-child(3) { height: 12px; }

.brand-name {
  color: #ffffff;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-name > span {
  color: var(--gold-bright);
}

.site-nav {
  display: flex;
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
  justify-content: flex-end;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  color: #dbe5ef;
  background: transparent;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-1px);
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible {
  color: #ffffff;
  background: rgba(16, 34, 53, 0.78);
}

.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
  background: transparent;
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(224, 179, 91, 0.42);
  content: "";
}

.site-nav .nav-cta {
  min-height: 46px;
  padding-inline: 22px;
  color: #121820;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(224, 179, 91, 0.18);
  transform: translateY(-1px);
}

.site-nav .nav-cta:hover {
  color: #07101d;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: #f4f7fb;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 26px;
  color: #8094a9;
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumbs a {
  color: #afbfce;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold-bright);
}

.hero {
  position: relative;
  padding: clamp(70px, 8vw, 112px) 0 clamp(82px, 9vw, 124px);
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -14rem;
  left: -12rem;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgba(31, 97, 145, 0.3), transparent 68%);
}

.hero::after {
  right: -12rem;
  bottom: -13rem;
  width: 40rem;
  height: 40rem;
  background: radial-gradient(circle, rgba(72, 189, 178, 0.16), transparent 68%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.82fr);
  gap: clamp(56px, 8vw, 104px);
  align-items: center;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 25px;
  height: 2px;
  background: var(--gold);
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.7vw, 5.25rem);
}

.hero h1 em {
  color: var(--gold-bright);
  font-style: normal;
}

.hero-subtitle {
  max-width: 730px;
  margin: 26px 0 0;
  color: var(--muted-strong);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #d9e3ec;
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-list li > span {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  color: #07131c;
  background: var(--teal);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 900;
}

.positioning-line {
  max-width: 650px;
  margin: 27px 0 0;
  padding-left: 18px;
  color: #c5d1dc;
  border-left: 2px solid rgba(224, 179, 91, 0.72);
  font-size: 0.96rem;
  font-weight: 600;
}

.primary-link,
.card-cta {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #101720;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.primary-link {
  min-height: 52px;
  margin-top: 32px;
  padding-inline: 22px;
  box-shadow: 0 12px 32px rgba(224, 179, 91, 0.18);
}

.primary-link:hover,
.card-cta:hover {
  color: #07101d;
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(224, 179, 91, 0.2);
}

.stack-visual {
  position: relative;
  padding: 18px;
  background: linear-gradient(160deg, rgba(17, 31, 48, 0.97), rgba(8, 18, 30, 0.98));
  border: 1px solid rgba(124, 165, 189, 0.22);
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.04);
}

.stack-visual::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(145deg, rgba(89, 199, 189, 0.32), transparent 36%, rgba(224, 179, 91, 0.2));
  border-radius: inherit;
  content: "";
  filter: blur(15px);
  opacity: 0.5;
}

.stack-visual__topline,
.stack-visual__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #93a8bb;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stack-visual__topline {
  padding: 2px 4px 15px;
  border-bottom: 1px solid var(--border);
}

.stack-visual__topline strong {
  color: var(--gold-bright);
}

.stack-flow {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.stack-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 38px;
  gap: 13px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(166, 189, 211, 0.11);
  border-radius: 13px;
}

.stack-flow li::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: linear-gradient(var(--teal), var(--gold));
  content: "";
  opacity: 0.7;
}

.stage-number {
  color: var(--teal);
  font-size: 0.69rem;
  font-weight: 900;
}

.stack-flow strong,
.stack-flow small {
  display: block;
}

.stack-flow strong {
  color: #eef4f8;
  font-size: 0.9rem;
}

.stack-flow small {
  margin-top: 2px;
  color: #8398ab;
  font-size: 0.71rem;
}

.stack-flow i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--gold-bright);
  background: rgba(224, 179, 91, 0.08);
  border: 1px solid rgba(224, 179, 91, 0.18);
  border-radius: 10px;
  font-size: 0.69rem;
  font-style: normal;
  font-weight: 900;
}

.stack-visual__footer {
  justify-content: flex-start;
  gap: 9px;
  padding: 14px 4px 2px;
  border-top: 1px solid var(--border);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(89, 199, 189, 0.1);
}

.affiliate-disclosure {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: -28px;
  margin-bottom: clamp(70px, 8vw, 110px);
  padding: 18px 20px;
  color: #afbfce;
  background: rgba(224, 179, 91, 0.055);
  border: 1px solid rgba(224, 179, 91, 0.19);
  border-radius: 14px;
  font-size: 0.84rem;
}

.affiliate-disclosure svg {
  width: 24px;
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.affiliate-disclosure p {
  margin: 0;
}

.affiliate-disclosure strong {
  color: var(--gold-bright);
}

.section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.picks-section {
  background: linear-gradient(180deg, rgba(3, 8, 17, 0.5), rgba(10, 22, 35, 0.6));
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  gap: 40px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2.15rem, 4vw, 3.5rem);
}

.section-heading > p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.picks-grid,
.tools-grid {
  display: grid;
  gap: 18px;
}

.picks-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tools-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pick-card,
.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(165deg, rgba(17, 31, 48, 0.96), rgba(10, 21, 34, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.17);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.pick-card {
  padding: 25px;
}

.pick-card::before {
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  opacity: 0.72;
}

.tool-card {
  padding: 22px;
}

.pick-card:hover,
.tool-card:hover {
  border-color: rgba(89, 199, 189, 0.31);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
}

.pick-card__top,
.tool-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tool-glyph {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  color: #c6f5ef;
  background: linear-gradient(145deg, rgba(89, 199, 189, 0.14), rgba(33, 139, 139, 0.08));
  border: 1px solid rgba(89, 199, 189, 0.28);
  border-radius: 13px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.tool-glyph__fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transition: opacity 140ms ease;
}

.tool-glyph img {
  position: absolute;
  inset: 50% auto auto 50%;
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 140ms ease, transform 140ms ease;
}

.tool-glyph.has-logo {
  background: #f7fafc;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(10, 25, 40, 0.04), 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tool-glyph.has-logo .tool-glyph__fallback {
  opacity: 0;
}

.tool-glyph.has-logo img {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.tool-glyph--hardware {
  color: var(--gold-bright);
  background: rgba(224, 179, 91, 0.08);
  border-color: rgba(224, 179, 91, 0.24);
}

.tool-glyph--hardware svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tool-glyph--resource {
  background: linear-gradient(145deg, rgba(89, 199, 189, 0.15), rgba(33, 139, 139, 0.08));
  border-color: rgba(89, 199, 189, 0.3);
}

.type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: #ffdca0;
  background: rgba(224, 179, 91, 0.08);
  border: 1px solid rgba(224, 179, 91, 0.2);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.type-badge--resource {
  color: #b8f4ee;
  background: rgba(89, 199, 189, 0.08);
  border-color: rgba(89, 199, 189, 0.2);
}

.category-label {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pick-card h3,
.tool-card h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1.28rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.pick-card > p:not(.category-label):not(.best-for),
.tool-card > p:not(.category-label):not(.best-for) {
  margin: 0 0 13px;
  color: #aebdcb;
  font-size: 0.86rem;
  line-height: 1.68;
}

.pick-card > p strong {
  display: block;
  margin-bottom: 3px;
  color: #dce6ee;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.best-for {
  margin: auto 0 19px;
  padding: 13px 0 0;
  color: #bac8d4;
  border-top: 1px solid rgba(166, 189, 211, 0.12);
  font-size: 0.8rem;
  line-height: 1.55;
}

.best-for span {
  display: block;
  margin-bottom: 2px;
  color: var(--gold-bright);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-cta {
  width: 100%;
  min-height: 44px;
  margin-top: 0;
  padding-inline: 15px;
  font-size: 0.8rem;
}

.filter-bar {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: rgba(4, 11, 20, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.filter-bar .shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding-block: 13px;
}

.filter-scroll {
  display: flex;
  gap: 8px;
  min-width: 0;
  padding: 2px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.filter-scroll::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 13px;
  color: #9fb0c1;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.filter-button:hover {
  color: #fff;
  border-color: var(--border-strong);
}

.filter-button.is-active {
  color: #101720;
  background: var(--gold);
  border-color: var(--gold);
}

.filter-status {
  margin: 0;
  color: #8498aa;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
}

.catalog-section {
  padding-top: clamp(82px, 9vw, 122px);
}

.hardware-section {
  background: linear-gradient(180deg, rgba(3, 8, 17, 0.32), rgba(10, 22, 35, 0.62));
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.hardware-grid .tool-glyph {
  color: #ffdda5;
  background: rgba(224, 179, 91, 0.08);
  border-color: rgba(224, 179, 91, 0.22);
}

.final-cta {
  padding: clamp(82px, 9vw, 124px) 0 clamp(48px, 4vw, 64px);
}

.final-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
  padding: clamp(34px, 5vw, 60px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(89, 199, 189, 0.14), transparent 18rem),
    linear-gradient(145deg, rgba(17, 31, 48, 0.98), rgba(8, 17, 28, 0.98));
  border: 1px solid rgba(224, 179, 91, 0.2);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 760px;
}

.final-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 16px;
}

.primary-link--large {
  min-width: 160px;
  margin-top: 0;
}

.site-footer {
  color: #afbed0;
  background: #030811;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 0.7fr));
  gap: 50px;
  padding-top: 72px;
  padding-bottom: 54px;
}

.footer-brand-block {
  max-width: 420px;
}

.footer-brand-block p {
  margin: 20px 0 0;
  color: #879aac;
  font-size: 0.86rem;
  line-height: 1.75;
}

.footer-brand .brand-logo {
  width: min(100%, 244px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-column strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column a {
  color: #9eb0c2;
  font-size: 0.83rem;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a[aria-current="page"] {
  color: var(--gold-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 26px;
  color: #657a8d;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.72rem;
}

:focus-visible {
  outline: 3px solid rgba(89, 199, 189, 0.72);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.75fr);
    gap: 52px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 4.45rem);
  }

  .picks-grid,
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: 620px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 72px;
  }

  .js .nav-toggle {
    display: block;
  }

  .site-nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 18px;
    padding-bottom: 10px;
  }

  .js .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    align-content: start;
    max-height: calc(100dvh - 72px);
    padding: 18px 20px 28px;
    overflow-y: auto;
    background: rgba(4, 11, 20, 0.99);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .js .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .js .site-nav a,
  .js .site-nav a[aria-current="page"] {
    width: 100%;
    min-height: 48px;
    padding-inline: 14px;
    border-radius: 9px;
  }

  .js .site-nav a[aria-current="page"] {
    background: rgba(224, 179, 91, 0.08);
  }

  .js .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .js .site-nav .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

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

  .hero-copy {
    max-width: 760px;
  }

  .stack-visual {
    width: min(100%, 620px);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > p {
    max-width: 680px;
  }

  .filter-bar {
    top: 72px;
  }

  .filter-bar .shell {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .filter-status {
    padding-left: 3px;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .primary-link--large {
    width: fit-content;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .site-header {
    padding-inline: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 164px;
    border-radius: 6px;
  }

  .breadcrumbs {
    padding-top: 16px;
  }

  .hero {
    padding: 54px 0 74px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.45rem);
    letter-spacing: -0.06em;
  }

  .hero-subtitle {
    margin-top: 20px;
    font-size: 0.98rem;
  }

  .trust-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }

  .positioning-line {
    margin-top: 24px;
    font-size: 0.9rem;
  }

  .primary-link {
    width: 100%;
  }

  .stack-visual {
    padding: 13px;
    border-radius: 18px;
  }

  .stack-flow li {
    grid-template-columns: 28px minmax(0, 1fr) 34px;
    gap: 9px;
    min-height: 64px;
    padding: 9px;
  }

  .stack-flow i {
    width: 32px;
    height: 32px;
  }

  .affiliate-disclosure {
    align-items: start;
    margin-top: -18px;
    margin-bottom: 68px;
    padding: 16px;
    font-size: 0.79rem;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .final-cta h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .picks-grid,
  .tools-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pick-card,
  .tool-card {
    padding: 21px;
  }

  .filter-bar .shell {
    width: 100%;
    padding: 10px 12px;
  }

  .filter-scroll {
    padding-right: 20px;
  }

  .filter-status {
    padding-left: 3px;
  }

  .catalog-section {
    padding-top: 74px;
  }

  .final-cta {
    padding: 72px 0 48px;
  }

  .final-cta__inner {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .primary-link--large {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 58px;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* CoachOpsPro official brand alignment — 2026-06-21 */
:root {
  --bg: #1f2a44;
  --bg-deep: #2B2B2B;
  --surface: #2B2B2B;
  --surface-strong: #1f2a44;
  --surface-soft: #2B2B2B;
  --border: rgba(243, 244, 245, 0.14);
  --border-strong: rgba(243, 244, 245, 0.24);
  --text: #F3F4F5;
  --muted: rgba(243, 244, 245, 0.68);
  --muted-strong: rgba(243, 244, 245, 0.82);
  --gold: #C2A14A;
  --gold-bright: #C2A14A;
  --teal: #2F5D62;
  --teal-deep: #2F5D62;
  --shadow: 0 24px 70px rgba(43, 43, 43, 0.34);
}

body {
  background:
    radial-gradient(circle at 88% 6%, rgba(47, 93, 98, 0.28), transparent 30rem),
    radial-gradient(circle at 6% 28%, rgba(231, 111, 81, 0.12), transparent 27rem),
    #1f2a44;
}

.site-header {
  min-height: 88px;
  background: rgba(31, 42, 68, 0.97);
  border-bottom-color: rgba(194, 161, 74, 0.28);
}

.brand-logo {
  content: url("https://coachopspro.com/wp-content/plugins/COACHOPSPRO-WP-HOME-PLUGIN/assets/logo-coachopspro.png");
  width: 220px;
  max-height: 70px;
  object-fit: contain;
  background: #F3F4F5;
  border-radius: 8px;
}

.site-nav a:not(.nav-cta) { color: #F3F4F5; }
.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta):focus-visible,
.site-nav a[aria-current="page"] { color: #C2A14A; }

.site-nav .nav-cta,
.primary-link,
.filter-button.is-active {
  background: #C2A14A;
  color: #1f2a44;
  border-color: #C2A14A;
}

.filter-bar {
  background: rgba(43, 43, 43, 0.94);
  border-bottom-color: rgba(243, 244, 245, 0.12);
}

.hero,
.catalog-section,
.final-cta {
  background-color: #1f2a44;
}

.hardware-section,
.site-footer {
  background: #2B2B2B;
}

.final-cta__inner {
  background:
    radial-gradient(circle at 92% 10%, rgba(47, 93, 98, 0.34), transparent 18rem),
    linear-gradient(145deg, #1f2a44, #2B2B2B);
  border-color: rgba(194, 161, 74, 0.28);
}

.site-footer { border-top-color: rgba(194, 161, 74, 0.22); }

@media (max-width: 860px) {
  .site-header { min-height: 80px; }
  .brand-logo { width: 174px; max-height: 58px; }
  .filter-bar { top: 80px; }
}
