/* ==========================================================================
   Stridelane field guides and reachability pages
   ========================================================================== */

.guide-page,
.reach-page {
  --guide-bg: #05080e;
  --guide-ink: #f6f9ff;
  --guide-copy: #b8c6d8;
  --guide-blue: #2387ff;
  --guide-blue-soft: #96ceff;
  --guide-line: rgba(170, 211, 255, 0.18);
  --guide-header-height: 76px;
  background: var(--guide-bg);
  color: var(--guide-ink);
  overflow-x: clip;
}

body.guide-page.sales-home .page-shell > main,
body.reach-page.sales-home .page-shell > main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0;
  background: #ffffff;
}

.guide-page header,
.reach-page header {
  min-height: var(--guide-header-height);
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: rgba(189, 218, 255, 0.16);
  background: rgba(3, 6, 11, 0.76);
  box-shadow: none;
}

.guide-page .nav-trigger,
.guide-page .nav-link,
.reach-page .nav-trigger,
.reach-page .nav-link {
  color: rgba(239, 247, 255, 0.76);
}

.guide-page .nav-trigger:hover,
.guide-page .nav-group:focus-within .nav-trigger,
.guide-page .nav-group:hover .nav-trigger,
.guide-page .nav-link:hover,
.reach-page .nav-trigger:hover,
.reach-page .nav-group:focus-within .nav-trigger,
.reach-page .nav-group:hover .nav-trigger,
.reach-page .nav-link:hover {
  color: #ffffff;
}

.guide-page .nav-dropdown,
.reach-page .nav-dropdown {
  border-color: rgba(169, 210, 255, 0.2);
  background: rgba(5, 8, 14, 0.98);
}

.guide-page .dropdown-link,
.reach-page .dropdown-link {
  color: rgba(239, 246, 255, 0.86);
}

.guide-page .dropdown-link:hover,
.reach-page .dropdown-link:hover {
  background: rgba(35, 135, 255, 0.16);
  color: #ffffff;
}

.guide-page .nav-menu-toggle,
.reach-page .nav-menu-toggle {
  border-color: rgba(169, 210, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.guide-page .nav-quote,
.reach-page .nav-quote {
  border-color: rgba(171, 216, 255, 0.36);
  background: linear-gradient(135deg, #0878ff, #37a4ff);
  color: #ffffff;
  box-shadow: 0 0 28px rgba(8, 120, 255, 0.28);
}

.guide-hero,
.reach-hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--guide-header-height) + clamp(76px, 12vh, 132px)) clamp(22px, 6vw, 88px) clamp(64px, 10vh, 110px);
  isolation: isolate;
  overflow: hidden;
  background: var(--guide-bg);
}

.guide-hero-media,
.reach-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.guide-hero-media picture,
.guide-hero-media img,
.reach-hero-media picture,
.reach-hero-media img {
  width: 100%;
  height: 100%;
}

.guide-hero-media img,
.reach-hero-media img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
}

.guide-hero::after,
.reach-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 5, 10, 0.95) 0%, rgba(3, 7, 13, 0.82) 38%, rgba(3, 7, 13, 0.18) 82%),
    linear-gradient(180deg, rgba(3, 6, 11, 0.28) 0%, rgba(3, 6, 11, 0.2) 48%, #05080e 100%);
}

.rules-hero .guide-hero-media img {
  object-position: center 46%;
}

.guide-hero-copy,
.reach-hero-copy {
  width: min(880px, 100%);
  animation: guideHeroIn 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.guide-eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  color: var(--guide-blue-soft) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.guide-hero h1,
.reach-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 7.2vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
  text-shadow: 0 22px 70px rgba(0, 0, 0, 0.58);
}

.guide-hero-copy > p:not(.guide-eyebrow),
.reach-hero-copy > p:not(.guide-eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(233, 242, 255, 0.86) !important;
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.58;
  text-shadow: 0 14px 42px rgba(0, 0, 0, 0.64);
}

.guide-actions,
.reach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.guide-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(187, 221, 255, 0.34);
  background: rgba(5, 10, 17, 0.66);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.guide-action-primary {
  border-color: rgba(171, 216, 255, 0.46);
  background: linear-gradient(135deg, #0878ff, #37a4ff);
  box-shadow: 0 0 36px rgba(8, 120, 255, 0.36);
}

.guide-action:hover {
  border-color: rgba(226, 244, 255, 0.76);
  color: #ffffff;
  transform: translateY(-2px);
}

.guide-action-primary:hover {
  box-shadow: 0 0 46px rgba(8, 120, 255, 0.52);
}

.guide-definition {
  padding: clamp(70px, 9vw, 118px) clamp(22px, 6vw, 88px);
  background: #05080e;
  color: #ffffff;
}

.guide-definition-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 110px);
  align-items: start;
}

.guide-definition-inner--single {
  grid-template-columns: minmax(0, 1fr);
}

.guide-definition-label {
  color: var(--guide-blue-soft) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.guide-definition-copy {
  max-width: 920px;
  color: #ffffff !important;
  font-size: clamp(1.65rem, 3.1vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.14;
}

.guide-definition-copy strong {
  color: var(--guide-blue-soft);
  font-weight: 850;
}

.guide-layout {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 0.26fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 112px);
  padding: clamp(72px, 10vw, 128px) clamp(22px, 5vw, 72px);
  background: #ffffff;
}

.guide-chapters {
  align-self: start;
  position: sticky;
  top: calc(var(--guide-header-height) + 34px);
  display: grid;
  gap: 0;
  border-top: 1px solid #dce4ef;
}

.guide-chapters p {
  margin: 0;
  padding: 16px 0 12px;
  color: #66707f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-chapters a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid #edf1f6;
  color: #536072;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.3;
  transition: color 180ms ease, padding-left 180ms ease;
}

.guide-chapters a:hover,
.guide-chapters a.is-active {
  padding-left: 8px;
  color: #0b70ed;
}

.guide-content {
  min-width: 0;
}

.guide-section {
  scroll-margin-top: calc(var(--guide-header-height) + 30px);
  padding: 0 0 clamp(74px, 10vw, 122px);
}

.guide-section + .guide-section {
  padding-top: clamp(74px, 10vw, 122px);
  border-top: 1px solid #dce4ef;
}

.guide-section-kicker {
  margin: 0 0 18px;
  color: #1679ee !important;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-section h2 {
  max-width: 920px;
  margin: 0;
  color: #07111f;
  font-size: clamp(2.35rem, 5vw, 5.3rem);
  font-weight: 900;
  letter-spacing: -0.048em;
  line-height: 0.96;
  text-wrap: balance;
}

.guide-section h3 {
  margin: 0;
  color: #07111f;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.guide-lead,
.guide-prose p,
.guide-prose li,
.guide-step p,
.guide-split-copy p,
.rules-verdict p,
.guide-note p {
  color: #3d4857;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.72;
}

.guide-lead {
  max-width: 820px;
  margin: 26px 0 0;
  font-size: clamp(1.16rem, 1.9vw, 1.42rem);
}

.guide-prose {
  max-width: 820px;
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.guide-prose ul {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.guide-prose a,
.guide-source-list a,
.guide-note a,
.rules-verdict a {
  color: #086fdc;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-steps {
  display: grid;
  margin-top: 52px;
  border-top: 1px solid #cfd9e7;
}

.guide-step {
  display: grid;
  grid-template-columns: 94px minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: start;
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid #dce4ef;
}

.guide-step-number {
  color: #8dbce9;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.guide-step p {
  margin: 0;
}

.guide-figure {
  position: relative;
  margin: 52px 0 0;
  overflow: hidden;
  background: #07111f;
}

.guide-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-figure figcaption {
  padding: 16px 18px;
  background: #07111f;
  color: #b9c8da;
  font-size: 0.82rem;
  line-height: 1.5;
}

.guide-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border-top: 1px solid #aebfd2;
}

.guide-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  color: #07111f;
}

.guide-table th,
.guide-table td {
  padding: 20px 18px;
  border-bottom: 1px solid #dce4ef;
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  color: #536072;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-table td {
  color: #3d4857;
  font-size: 0.98rem;
  line-height: 1.55;
}

.guide-table td:first-child {
  color: #07111f;
  font-weight: 850;
}

.guide-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  margin-top: 52px;
}

.guide-split-media {
  min-height: 480px;
  overflow: hidden;
  background: #07111f;
}

.guide-split-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.guide-split-copy {
  display: grid;
  gap: 18px;
}

.guide-split-copy ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  color: #3d4857;
}

.guide-note {
  margin-top: 44px;
  padding: clamp(24px, 4vw, 38px);
  border-left: 4px solid #2387ff;
  background: #f1f6fc;
}

.guide-note strong {
  display: block;
  margin-bottom: 8px;
  color: #07111f;
  font-size: 1rem;
}

.guide-source-list {
  display: grid;
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid #cfd9e7;
}

.guide-source-list li {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #dce4ef;
  color: #536072;
  line-height: 1.55;
  list-style: none;
}

.guide-source-list strong {
  color: #07111f;
}

.rules-verdicts {
  display: grid;
  margin-top: 50px;
  border-top: 1px solid #aebfd2;
}

.rules-verdict {
  display: grid;
  grid-template-columns: 170px minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid #dce4ef;
}

.rules-verdict-status {
  width: fit-content;
  display: inline-flex;
  padding: 7px 10px;
  border: 1px solid #8dbce9;
  color: #086fdc;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.rules-verdict p {
  margin: 0;
}

.guide-final,
.reach-final {
  padding: clamp(86px, 12vw, 154px) clamp(22px, 6vw, 88px);
  background:
    radial-gradient(circle at 88% 32%, rgba(35, 135, 255, 0.26), transparent 31%),
    #05080e;
  color: #ffffff;
}

.guide-final-inner,
.reach-final-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.guide-final h2,
.reach-final h2 {
  max-width: 900px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.65rem, 6vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-wrap: balance;
}

.guide-final p,
.reach-final p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #bac9db !important;
  font-size: clamp(1.04rem, 1.6vw, 1.26rem);
  line-height: 1.64;
}

/* Reachability page */

.reach-hero {
  min-height: min(790px, 92svh);
}

.reach-hero h1 {
  max-width: 840px;
}

.reach-contact-band {
  padding: clamp(64px, 8vw, 104px) clamp(22px, 6vw, 88px);
  background: #05080e;
  color: #ffffff;
}

.reach-contact-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(34px, 6vw, 90px);
  align-items: end;
}

.reach-contact-links {
  display: grid;
  gap: 12px;
}

.reach-contact-links a {
  width: fit-content;
  color: #ffffff;
  font-size: clamp(1.55rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  overflow-wrap: anywhere;
  transition: color 180ms ease;
}

.reach-contact-links a:hover {
  color: var(--guide-blue-soft);
}

.reach-response {
  max-width: 260px;
  padding-left: 22px;
  border-left: 1px solid var(--guide-line);
}

.reach-response strong {
  display: block;
  color: var(--guide-blue-soft);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reach-response p {
  margin: 10px 0 0;
  color: #bac9db !important;
  line-height: 1.58;
}

.reach-response p:first-child {
  margin-top: 0;
}

.reach-routes {
  padding: clamp(72px, 10vw, 128px) clamp(22px, 6vw, 88px);
  background: #ffffff;
}

.reach-routes-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.reach-routes h2 {
  max-width: 820px;
  margin: 0;
  color: #07111f;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.reach-route-list {
  display: grid;
  margin-top: 52px;
  border-top: 1px solid #aebfd2;
}

.reach-route {
  display: grid;
  grid-template-columns: 80px minmax(190px, 0.42fr) minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  min-height: 132px;
  padding: 26px 0;
  border-bottom: 1px solid #dce4ef;
}

.reach-route-number {
  color: #8dbce9;
  font-size: 0.82rem;
  font-weight: 900;
}

.reach-route h3 {
  margin: 0;
  color: #07111f;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.reach-route p {
  margin: 0;
  color: #536072;
  line-height: 1.58;
}

.reach-route a {
  min-width: 146px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  color: #086fdc;
  font-size: 0.92rem;
  font-weight: 850;
}

.reach-route a::after {
  content: "\2192";
  margin-left: 8px;
  transition: transform 180ms ease;
}

.reach-route a:hover::after {
  transform: translateX(4px);
}

.guide-reveal {
  opacity: 1;
  transform: none;
}

.guide-motion .guide-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1), transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.guide-motion .guide-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes guideHeroIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-chapters {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 18px;
  }

  .guide-chapters p {
    grid-column: 1 / -1;
  }

  .guide-chapters a:hover,
  .guide-chapters a.is-active {
    padding-left: 0;
  }

  .guide-step,
  .rules-verdict {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .guide-step p,
  .rules-verdict p {
    grid-column: 2;
  }

  .guide-split {
    grid-template-columns: 1fr;
  }

  .guide-split-media,
  .guide-split-media img {
    min-height: 0;
  }

  .reach-route {
    grid-template-columns: 64px minmax(190px, 0.4fr) minmax(0, 1fr);
  }

  .reach-route a {
    grid-column: 2 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .guide-page,
  .reach-page {
    --guide-header-height: 64px;
  }

  .guide-page header,
  .reach-page header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .guide-page nav,
  .reach-page nav {
    top: var(--guide-header-height);
    height: calc(100svh - var(--guide-header-height));
    border-bottom-color: rgba(169, 210, 255, 0.18);
    background: #05080e;
  }

  .guide-page .mobile-nav-link,
  .reach-page .mobile-nav-link {
    color: #ffffff;
  }

  .guide-page .mobile-nav-section,
  .reach-page .mobile-nav-section {
    border-bottom-color: rgba(169, 210, 255, 0.18);
  }

  .guide-hero,
  .reach-hero {
    min-height: 720px;
    padding: 126px 20px 52px;
  }

  .guide-hero::after,
  .reach-hero::after {
    background:
      linear-gradient(90deg, rgba(2, 5, 10, 0.88) 0%, rgba(3, 7, 13, 0.55) 78%, rgba(3, 7, 13, 0.2) 100%),
      linear-gradient(180deg, rgba(3, 6, 11, 0.12) 0%, rgba(3, 6, 11, 0.42) 52%, #05080e 100%);
  }

  .guide-hero h1,
  .reach-hero h1 {
    font-size: clamp(2.75rem, 13.6vw, 4.4rem);
    line-height: 0.94;
  }

  .guide-hero-copy > p:not(.guide-eyebrow),
  .reach-hero-copy > p:not(.guide-eyebrow) {
    font-size: 1rem;
    line-height: 1.52;
  }

  .guide-actions,
  .reach-actions {
    align-items: stretch;
  }

  .guide-action {
    width: 100%;
  }

  .guide-definition-inner,
  .reach-contact-inner {
    grid-template-columns: 1fr;
  }

  .guide-definition-copy {
    font-size: clamp(1.55rem, 7.5vw, 2.35rem);
  }

  .guide-layout {
    padding-left: 20px;
    padding-right: 20px;
  }

  .guide-chapters {
    grid-template-columns: 1fr 1fr;
  }

  .guide-section h2,
  .reach-routes h2 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .guide-step,
  .rules-verdict {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
  }

  .rules-verdict {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  .guide-step-number {
    font-size: 2.6rem;
  }

  .guide-table-wrap {
    margin-right: -20px;
  }

  .guide-source-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .guide-final,
  .reach-final,
  .reach-contact-band,
  .reach-routes {
    padding-left: 20px;
    padding-right: 20px;
  }

  .reach-response {
    max-width: none;
    padding: 22px 0 0;
    border-top: 1px solid var(--guide-line);
    border-left: 0;
  }

  .reach-contact-links a {
    font-size: clamp(1.45rem, 7vw, 2.2rem);
  }

  .reach-route {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px 16px;
    align-items: start;
  }

  .reach-route p,
  .reach-route a {
    grid-column: 2;
  }

  .reach-route a {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-hero-copy,
  .reach-hero-copy,
  .guide-motion .guide-reveal {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .guide-hero-media img,
  .reach-hero-media img {
    transform: none;
  }
}
