:root {
  --ink: #14191f;
  --muted: #5d6874;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --line: #d8ddd7;
  --teal: #176b72;
  --red: #b85241;
  --gold: #c2a24a;
  --charcoal: #202a30;
  /* Same hue family as --teal / #7fd2d8 (~185-190deg), pushed brighter and
     more saturated for kinetic/atmospheric moments (the hero globe, the
     page edge-glow) -- one blue-teal identity at three intensities,
     rather than an unrelated blue invented per element. */
  --pulse: #22c7dd;
  --pulse-deep: #0d4a54;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  animation: edge-breathe 7s ease-in-out infinite;
}

@keyframes edge-breathe {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(34, 199, 221, 0.16),
      inset 0 0 34px rgba(34, 199, 221, 0.1);
  }
  50% {
    box-shadow:
      inset 0 0 0 1.5px rgba(34, 199, 221, 0.42),
      inset 0 0 72px rgba(34, 199, 221, 0.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none;
    box-shadow:
      inset 0 0 0 1px rgba(34, 199, 221, 0.16),
      inset 0 0 36px rgba(34, 199, 221, 0.1);
  }
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fff;
  background: rgba(20, 25, 31, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.brand-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 26px;
  max-height: 26px;
  width: auto;
  max-width: 140px;
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-social-links a {
  display: block;
  opacity: 0.75;
  line-height: 0;
}

.header-social-links a:hover {
  opacity: 1;
}

.header-social-links img {
  display: block;
  width: 18px;
  height: 18px;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 14px;
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 112px clamp(20px, 7vw, 96px) 84px;
  background: var(--charcoal);
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 17, 21, 0.9), rgba(12, 17, 21, 0.62) 42%, rgba(12, 17, 21, 0.12) 82%),
    linear-gradient(180deg, rgba(12, 17, 21, 0.28), rgba(12, 17, 21, 0.5));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7fd2d8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.2;
}

.promise {
  margin-bottom: 18px;
  font-size: clamp(21px, 3vw, 32px);
  color: rgba(255, 255, 255, 0.92);
}

.summary {
  max-width: 600px;
  margin-bottom: 30px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.82);
}

.brand-banner {
  display: flex;
  justify-content: center;
  background: #000;
}

.brand-banner img {
  max-width: 100%;
  height: auto;
  width: min(760px, 100%);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  background: rgba(23, 107, 114, 0.84);
}

main > section:not(.hero) {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 7vw, 96px);
}

.intro,
.control {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
  background: var(--panel);
}

.intro p,
.control p,
.method-copy p,
.focus-grid p,
.steps span {
  color: var(--muted);
  font-size: 17px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.focus-grid article {
  min-height: 300px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--paper);
}

.marker {
  display: block;
  width: 38px;
  height: 8px;
  margin-bottom: 24px;
  background: var(--teal);
}

.marker.red {
  background: var(--red);
}

.marker.gold {
  background: var(--gold);
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background: var(--charcoal);
  color: #fff;
}

.method .eyebrow {
  color: #7fd2d8;
}

.method-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.steps li {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  color: rgba(255, 255, 255, 0.72);
}

.explore {
  background: var(--charcoal);
  color: #fff;
}

.explore .eyebrow {
  color: #7fd2d8;
}

/* Capped and centered, unlike the section itself (which stays full-bleed
   for the background) -- without this, the two columns spread apart on
   very wide screens instead of sitting at a fixed, deliberate distance. */
.explore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.explore-tenets {
  position: sticky;
  top: 100px;
}

.explore-tenets-label {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.explore-tenets-graphic {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 199, 221, 0.16), rgba(34, 199, 221, 0.04) 55%, transparent 72%);
}

.explore-tenets-graphic canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.explore-tenets-graphic #tenets-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.explore-tenets-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.explore-tenets-center img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.92;
}

.explore-tenets-center span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(223, 251, 255, 0.75);
  white-space: nowrap;
}

.explore-tenets-caption {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  line-height: 1.6;
}

.explore-hourglass {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hourglass-diagram {
  width: 100%;
  aspect-ratio: 300 / 768;
}

.hourglass-diagram svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hourglass-diagram text {
  font-family: inherit;
  font-size: 8.6px;
  font-weight: 800;
  letter-spacing: 0.03em;
  fill: rgba(223, 251, 255, 0.82);
}

.hourglass-diagram .hourglass-pill-label {
  font-size: 9.5px;
}

.hourglass-diagram .hourglass-final-label {
  font-size: 9.5px;
  fill: #eafeff;
}

.hourglass-flow-line {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 1.3;
  stroke-opacity: 0.4;
  stroke-dasharray: 5 7;
  animation: hourglass-flow 2.6s linear infinite;
}

.hourglass-loop-line {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 1.1;
  stroke-opacity: 0.32;
  stroke-dasharray: 2 5;
  animation: hourglass-flow 1.8s linear infinite;
}

@keyframes hourglass-flow {
  to { stroke-dashoffset: -24; }
}

.hourglass-node-halo {
  fill: rgba(34, 199, 221, 0.18);
}

.hourglass-node-halo-final {
  fill: rgba(234, 254, 255, 0.22);
}

.explore-hourglass-logo {
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 78%;
  max-width: 300px;
}

.explore-hourglass-logo img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95;
  filter: drop-shadow(0 0 18px rgba(34, 199, 221, 0.22));
}

@media (prefers-reduced-motion: reduce) {
  .hourglass-flow-line,
  .hourglass-loop-line {
    animation: none;
  }
}

.explore-cta {
  max-width: 1180px;
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.explore-cta-text {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.explore-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.explore-inner {
  max-width: 640px;
}

.explore-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  margin-bottom: 16px;
}

.explore-instruction {
  color: var(--pulse);
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 40px;
}

.explore-widget {
  margin-bottom: 40px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.explore-widget:last-child {
  margin-bottom: 0;
}

.explore-widget label,
.explore-widget-label {
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 15px;
}

.explore-widget input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.explore-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.explore-result {
  margin-top: 20px;
  margin-bottom: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 16px;
  color: #7fd2d8;
}

.explore-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.explore-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.explore-check input {
  margin-top: 3px;
  accent-color: var(--teal);
}

.explore-widget textarea {
  width: 100%;
  min-height: 90px;
  resize: vertical;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-size: 15px;
}

.explore-widget textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.explore-done {
  display: block;
  margin: 10px 0 0 auto;
  padding: 8px 16px;
  min-height: 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.explore-done.is-saved {
  background: rgba(34, 199, 221, 0.16);
  border-color: var(--pulse);
  color: var(--pulse);
}

.explore-synthesis-pulse {
  animation: explore-synthesis-flash 1.3s ease-out;
}

@keyframes explore-synthesis-flash {
  0% { box-shadow: 0 0 0 0 rgba(34, 199, 221, 0.55); }
  55% { box-shadow: 0 0 0 16px rgba(34, 199, 221, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 199, 221, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .explore-synthesis-pulse {
    animation: none;
  }
}

.explore-save-note {
  margin-top: 10px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.explore-synthesis {
  background: rgba(127, 210, 216, 0.08);
  border: 1px solid rgba(127, 210, 216, 0.4);
  border-left: 3px solid var(--teal);
}

.explore-synthesis .explore-widget-label {
  color: #7fd2d8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.explore-synthesis-hint {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

.explore-synthesis-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(20px, 7vw, 96px);
  color: rgba(255, 255, 255, 0.78);
  background: #11161a;
}

footer .footer-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 150px;
}

footer .legal-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

footer .legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

footer .legal-links a:hover {
  color: #fff;
}

footer .social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

footer .social-links a {
  display: block;
  opacity: 0.75;
  line-height: 0;
}

footer .social-links a:hover {
  opacity: 1;
}

footer .social-links img {
  display: block;
  width: 20px;
  height: 20px;
}

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(140px, 14vw, 168px) clamp(20px, 7vw, 96px) clamp(64px, 8vw, 96px);
}

.legal-main h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 8px;
}

.legal-main .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal-main h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal-main ul {
  padding-left: 20px;
}

@media (max-width: 1080px) and (min-width: 761px) {
  .explore-grid {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 280px);
    gap: clamp(20px, 4vw, 40px);
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 72vh;
    padding: 150px 20px 56px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(12, 17, 21, 0.86), rgba(12, 17, 21, 0.52));
  }

  .intro,
  .control,
  .method,
  .focus-grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .explore-tenets {
    position: static;
    margin-top: 40px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .explore-checks {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

/* Persistent entry point — fixed trigger + expandable panel, the same
   interaction shape as howtoplaypickleball-seo's real floating chat
   widget, restyled to V2ADV's own palette. Purely static: no fetch, no
   Turnstile in this repo. */
#v2adv-entry-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
}

#v2adv-entry-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#v2adv-entry-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.34);
}

#v2adv-entry-label {
  background: var(--panel);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--charcoal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
  transition: opacity 0.15s ease;
}

#v2adv-entry-trigger.open #v2adv-entry-label {
  opacity: 0;
  pointer-events: none;
}

#v2adv-entry-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 41;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: var(--panel);
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.24);
  padding: 20px;
  display: none;
}

#v2adv-entry-panel.open {
  display: block;
}

#v2adv-entry-panel h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--charcoal);
}

#v2adv-entry-panel p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

#v2adv-entry-panel .entry-actions {
  display: grid;
  gap: 8px;
}

#v2adv-entry-panel .entry-actions a {
  display: block;
  text-align: center;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
}

#v2adv-entry-panel .entry-actions a.primary {
  background: var(--teal);
  color: #fff;
}

#v2adv-entry-panel .entry-actions a.secondary {
  border: 1px solid var(--teal);
  color: var(--teal);
}

@media (max-width: 420px) {
  #v2adv-entry-panel { right: 8px; left: 8px; width: auto; bottom: 92px; }
  #v2adv-entry-label { display: none; }
}
