:root {
  --magenta: #ec0f8c;
  --cyan: #00aeef;
  --lime: #d6df21;
  --dark: #0f172a;
  --slate: #475569;
  --muted: #f8fafc;
  --soft: #f8fafc;
  --white: #ffffff;
  --line: rgba(15, 23, 42, 0.12);
}

.site-footer {
  padding: 58px max(20px, calc((100vw - 1180px) / 2)) 28px;
  color: rgba(255, 255, 255, 0.74);
  background: #090f1f;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 64px);
}

.footer-brand img {
  width: 168px;
  max-width: 100%;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.14em;
}

.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--magenta);
}

.site-footer p {
  max-width: 340px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 650;
}

.site-footer .footer-cta {
  display: inline-flex;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--magenta);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .footer-cta:hover,
.site-footer .footer-cta:focus-visible {
  color: var(--white);
  filter: brightness(0.94);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--muted);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 158px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.35vw, 22px);
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a,
.nav-menu-trigger {
  white-space: nowrap;
}

nav a,
.header-cta,
.button {
  text-decoration: none;
}

.nav-menu {
  position: relative;
}

.nav-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -18px;
  right: -18px;
  height: 18px;
}

.nav-menu-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  display: grid;
  gap: 4px;
  min-width: 260px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown,
.nav-menu.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: #334155;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--soft);
  color: var(--magenta);
}

nav > a,
.nav-menu-trigger,
.header-cta,
.button.primary {
  transition: color 0.18s ease, background-color 0.18s ease, filter 0.18s ease, transform 0.18s ease;
}

nav > a:hover,
nav > a:focus-visible,
.nav-menu-trigger:hover,
.nav-menu-trigger:focus-visible {
  color: var(--magenta);
}

.header-cta:hover,
.header-cta:focus-visible,
.button.primary:hover,
.button.primary:focus-visible {
  filter: brightness(0.94);
}

.header-cta {
  display: inline-flex;
  padding: 13px 18px;
  color: var(--white);
  background: var(--magenta);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 20px;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 14px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--magenta);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: auto;
  padding: 176px max(20px, calc((100vw - 1180px) / 2)) 106px;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(236, 15, 140, 0.23), transparent 38%),
    linear-gradient(35deg, rgba(0, 174, 239, 0.18), transparent 48%),
    var(--dark);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 70% 36%, rgba(214, 223, 33, 0.2), transparent 9%),
    radial-gradient(circle at 86% 62%, rgba(236, 15, 140, 0.18), transparent 11%),
    linear-gradient(120deg, transparent 0 43%, rgba(255, 255, 255, 0.12) 43.2% 43.8%, transparent 44% 100%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, auto, 46px 46px, 46px 46px;
  pointer-events: none;
}

.hero-content {
  max-width: 940px;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.52;
  font-style: italic;
  font-weight: 500;
}

.hero-subcopy {
  max-width: 720px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.diagnosis-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: 720px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(214, 223, 33, 0.34);
  border-radius: 8px;
  color: var(--white);
  background: rgba(214, 223, 33, 0.08);
}

.diagnosis-strip strong,
.diagnosis-strip span {
  font-size: 15px;
  line-height: 1.45;
}

.diagnosis-strip strong {
  color: var(--lime);
  font-weight: 900;
}

.diagnosis-strip span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 720;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 17px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button.primary {
  color: var(--white);
  background: var(--magenta);
  box-shadow: 0 18px 50px rgba(236, 15, 140, 0.28);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  min-height: 78px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--lime);
  font-size: 14px;
  font-weight: 900;
}

.hero-panel strong,
.hero-panel small {
  display: block;
}

.hero-panel strong {
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-panel small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding: clamp(80px, 9vw, 132px) clamp(20px, 6vw, 84px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.9fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.section-copy p,
.section-heading p:not(.eyebrow) {
  color: #475569;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
}

.section-copy p:last-child,
.section-heading p:last-child {
  margin-bottom: 0;
}

.operating-map {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 22px;
  align-items: center;
  max-width: 1080px;
  margin: 58px auto 0;
  isolation: isolate;
}

.map-side {
  position: relative;
  z-index: 2;
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

.map-side span,
.map-core small {
  display: block;
  margin-bottom: 14px;
  color: var(--magenta);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.map-side strong {
  color: var(--dark);
  font-size: 22px;
  line-height: 1.25;
}

.map-core {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
  justify-self: center;
  padding: 26px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--lime);
  box-shadow: 0 0 0 14px rgba(214, 223, 33, 0.16), 0 30px 80px rgba(15, 23, 42, 0.14);
  text-align: center;
}

.map-core::before,
.map-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
}

.map-core::before {
  right: 100%;
}

.map-core::after {
  left: 100%;
}

.map-core small {
  margin: 0 0 12px;
  color: rgba(15, 23, 42, 0.64);
  line-height: 1;
}

.map-core strong {
  color: var(--dark);
  font-size: 23px;
  line-height: 1.05;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  justify-items: start;
  max-width: 980px;
  margin: 0 auto 44px;
}

.section-heading.centered {
  justify-items: center;
  text-align: center;
}

.section-heading .eyebrow {
  width: fit-content;
  max-width: 100%;
}

.emphasis-line {
  display: inline-block;
  margin-top: 8px;
  color: var(--dark);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.invisible-map-graphic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 1120px;
  margin: 58px auto 0;
}

.map-card,
.map-bridge {
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
}

.map-card {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
}

.map-card.dark-card {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(236, 15, 140, 0.18), rgba(0, 174, 239, 0.1)),
    var(--dark);
}

.map-card span,
.map-bridge small {
  color: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.map-card.dark-card span {
  color: var(--cyan);
}

.map-card strong {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.11);
  border-radius: 8px;
  color: #334155;
  background: #f8fafc;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.18;
}

.map-card.dark-card strong {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
}

.map-bridge {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 28px;
  color: var(--dark);
  text-align: center;
  background: var(--lime);
}

.map-bridge::before,
.map-bridge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan));
}

.map-bridge::before {
  right: 100%;
}

.map-bridge::after {
  left: 100%;
}

.map-bridge small {
  display: block;
  margin-bottom: 10px;
  color: rgba(15, 23, 42, 0.62);
}

.map-bridge strong {
  display: block;
  font-size: 28px;
  line-height: 1.02;
  font-weight: 900;
  text-transform: uppercase;
}

.intro-section {
  background:
    linear-gradient(135deg, rgba(236, 15, 140, 0.075), transparent 34%),
    linear-gradient(35deg, rgba(0, 174, 239, 0.09), transparent 48%),
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    var(--soft);
  background-size: auto, auto, 34px 34px, 34px 34px;
}

.sand-section,
.compare-section {
  color: var(--white);
  background: var(--dark);
}

.sand-section .section-heading p,
.compare-section .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.warning-grid,
.shift-grid,
.compare-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.warning-grid article {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 286px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.16);
}

.warning-grid article::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--lime));
}

.warning-grid span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.warning-grid h3 {
  margin: 0;
  color: var(--white);
  font-size: 20px;
  line-height: 1.15;
}

.warning-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.52;
  font-weight: 720;
}

.warning-grid small {
  display: block;
  color: rgba(255, 255, 255, 0.54);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 720;
}

.pillars-section {
  background: #ffffff;
}

.pillar-stack {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.pillar-stack article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 38px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.pillar-stack article > span {
  display: inline-grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  font-size: 30px;
  font-weight: 900;
}

.card-kicker {
  margin-bottom: 10px;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pillar-stack p:not(.card-kicker),
.compare-grid p,
.faq-grid p,
.before-after p:not(.card-kicker) {
  color: #475569;
  font-size: 16px;
  line-height: 1.62;
  font-weight: 620;
}

.pillar-stack ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding-left: 18px;
  color: #334155;
  font-weight: 760;
  line-height: 1.5;
}

.canvas-section {
  background: var(--soft);
}

.level-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 46px auto 0;
}

.level-map article {
  position: relative;
  overflow: hidden;
  min-height: 226px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.07);
}

.level-map article::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--lime));
}

.level-map span {
  display: inline-grid;
  min-width: 78px;
  min-height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--magenta);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.level-map h3 {
  font-size: 22px;
}

.level-map p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.58;
  font-weight: 650;
}

.canvas-board {
  max-width: 1180px;
  margin: 54px auto 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92)),
    var(--dark);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
}

.canvas-topline {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.canvas-topline span:first-child {
  color: var(--white);
}

.canvas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.canvas-grid article {
  min-height: 178px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.canvas-grid span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--dark);
  background: var(--lime);
  font-size: 16px;
  font-weight: 900;
}

.canvas-grid h3,
.canvas-bottom h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 22px;
}

.canvas-grid p,
.canvas-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.canvas-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.canvas-bottom article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
}

.canvas-bottom .card-kicker {
  color: var(--cyan);
}

.canvas-bottom strong {
  display: block;
  margin-top: 18px;
  color: var(--lime);
  font-size: 15px;
  text-transform: uppercase;
}

.practice-section {
  background: var(--white);
}

.next-move-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.next-move-grid article {
  display: grid;
  gap: 18px;
  min-height: 172px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.next-move-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  color: var(--magenta);
  background: var(--white);
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}

.next-move-grid strong {
  color: var(--dark);
  font-size: 20px;
  line-height: 1.18;
}

.living-loop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 34px auto 0;
  padding: 24px;
  border: 1px solid rgba(236, 15, 140, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(236, 15, 140, 0.06), rgba(0, 174, 239, 0.07)),
    var(--white);
}

.living-loop::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 11%;
  right: 11%;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--cyan), var(--lime));
  transform: translateY(-50%);
}

.living-loop div {
  position: relative;
  z-index: 1;
  min-height: 130px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: var(--white);
}

.living-loop span {
  display: block;
  margin-bottom: 12px;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.living-loop strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.25;
}

.proof-section,
.faq-section {
  background: var(--soft);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto 20px;
}

.before-after article,
.compare-grid article,
.faq-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.before-after article:first-child {
  border-color: rgba(236, 15, 140, 0.28);
}

.before-after article:last-child {
  border-color: rgba(0, 174, 239, 0.28);
}

.case-switcher {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.case-tabs {
  display: grid;
  align-content: start;
  gap: 12px;
}

.case-tab {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--dark);
  text-align: left;
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.case-tab span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: var(--magenta);
  background: #f8fafc;
  font-size: 12px;
}

.case-tab.active {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  box-shadow: 0 18px 45px rgba(236, 15, 140, 0.16);
}

.case-tab.active span {
  color: var(--dark);
  background: var(--lime);
}

.case-tab.muted {
  color: #94a3b8;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.58);
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

.case-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(236, 15, 140, 0.9), rgba(0, 174, 239, 0.75)),
    var(--dark);
}

.case-card-header h3 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(24px, 3.2vw, 38px);
}

.case-card-header .card-kicker {
  color: rgba(255, 255, 255, 0.75);
}

.case-card-header a {
  flex: 0 0 auto;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.case-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-rows div {
  min-height: 168px;
  padding: 26px 30px;
  border-top: 1px solid var(--line);
}

.case-rows div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.case-rows div:last-child {
  grid-column: 1 / -1;
  min-height: auto;
  background: #f8fafc;
}

.case-rows span {
  display: block;
  margin-bottom: 12px;
  color: var(--magenta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-rows p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.62;
  font-weight: 700;
}

.shift-grid article {
  min-height: 160px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--dark);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 900;
  text-transform: uppercase;
}

.shift-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

.shift-grid.compact article {
  min-height: 142px;
}

.shift-grid span,
.shift-grid strong {
  display: block;
}

.shift-grid span {
  margin-bottom: 16px;
  color: var(--magenta);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.shift-grid strong {
  margin-top: 10px;
  color: #475569;
  font-size: 16px;
  line-height: 1.35;
}

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

.compare-grid article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.compare-grid h3 {
  color: var(--white);
  font-size: 21px;
  overflow-wrap: anywhere;
}

.compare-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.start-section {
  padding-top: 0;
  background: var(--dark);
}

.start-panel {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(236, 15, 140, 0.22), rgba(0, 174, 239, 0.15)),
    rgba(255, 255, 255, 0.06);
}

.start-panel p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 650;
}

.final-cta {
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(236, 15, 140, 0.92), rgba(0, 174, 239, 0.78)),
    var(--dark);
}

.final-cta h2 {
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: 24px;
  color: var(--white);
}

.final-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.6;
}

.final-cta .hero-actions {
  justify-content: center;
}

.diagnosis-points {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.diagnosis-points li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 760;
}

.diagnosis-points li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(214, 223, 33, 0.14);
}

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

.faq-grid h3 {
  color: var(--magenta);
}

.section-grid,
.operating-map,
.invisible-map-graphic,
.warning-grid,
.shift-grid,
.compare-grid,
.faq-grid,
.pillar-stack,
.canvas-board,
.level-map,
.next-move-grid,
.living-loop,
.case-switcher,
.before-after,
.start-panel {
  max-width: 1180px;
  margin-inline: auto;
}

.warning-grid,
.compare-grid,
.shift-grid.compact {
  max-width: 1280px;
}

@media (max-width: 1040px) {
  .hero,
  .section-grid,
  .operating-map,
  .invisible-map-graphic {
    grid-template-columns: 1fr;
  }

  .map-core::before,
  .map-core::after,
  .map-bridge::before,
  .map-bridge::after,
  .living-loop::before {
    display: none;
  }

  .hero-panel {
    max-width: 720px;
  }

  .warning-grid,
  .shift-grid,
  .shift-grid.compact,
  .level-map,
  .next-move-grid,
  .living-loop,
  .compare-grid,
  .faq-grid,
  .canvas-grid {
    grid-template-columns: 1fr 1fr;
  }

  .canvas-topline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }

  .nav-menu {
    display: block;
  }

  .nav-menu-trigger {
    display: inline-flex;
  }

  .nav-dropdown {
    top: calc(100% + 10px);
    display: grid;
    min-width: min(300px, calc(100vw - 32px));
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
  }

  .hero {
    min-height: auto;
    padding: 74px 18px 52px;
  }

  .hero-panel,
  .warning-grid,
  .shift-grid,
  .shift-grid.compact,
  .level-map,
  .next-move-grid,
  .living-loop,
  .compare-grid,
  .faq-grid,
  .case-switcher,
  .canvas-grid,
  .canvas-bottom,
  .before-after {
    grid-template-columns: 1fr;
  }

  .case-card-header,
  .case-rows {
    grid-template-columns: 1fr;
  }

  .case-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-rows div:nth-child(odd) {
    border-right: 0;
  }

  .pillar-stack article {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
