/* V2 launch branch only. Keeps the live main site untouched until launch. */

.v2-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: clamp(54px, 7vw, 96px);
  align-items: center;
  min-height: 760px;
  padding-top: 96px;
  padding-bottom: 96px;
  color: white;
  background:
    radial-gradient(circle at 83% 16%, rgba(66,200,208,.18), transparent 28%),
    radial-gradient(circle at 12% 90%, rgba(255,152,0,.10), transparent 27%),
    linear-gradient(135deg, #071827, #0b2238 58%, #123b5d);
}
.v2-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.12));
  pointer-events: none;
}
.v2-hero-copy { position: relative; z-index: 2; }
.v2-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(3.1rem, 5.8vw, 5.7rem);
  line-height: 1.01;
  letter-spacing: -.055em;
}
.v2-hero h1 em { color: var(--cyan-bright); font-style: normal; }
.v2-hero-lede {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
}
.v2-hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 34px; }
.v2-proof-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.v2-proof-row span {
  padding: 9px 13px;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  font-size: .79rem;
  font-weight: 700;
}

.v2-compass-demo { position: relative; z-index: 2; }
.v2-compass-window {
  position: relative;
  max-width: 520px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 30px;
  background: rgba(8,27,45,.9);
  box-shadow: 0 40px 90px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
}
.v2-compass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.v2-compass-title { display: flex; align-items: center; gap: 12px; }
.v2-compass-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  font-size: 1.15rem;
  font-weight: 900;
}
.v2-compass-title strong { display: block; font-family: "Montserrat", sans-serif; }
.v2-compass-title small { display: block; color: rgba(255,255,255,.52); }
.v2-grounded-badge {
  padding: 6px 10px;
  color: var(--cyan-bright);
  border: 1px solid rgba(66,200,208,.24);
  border-radius: 999px;
  background: rgba(66,200,208,.08);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.v2-compass-body { padding: 24px; }
.v2-question {
  max-width: 86%;
  margin: 0 0 18px auto;
  padding: 14px 16px;
  color: var(--navy);
  border-radius: 18px 18px 5px 18px;
  background: white;
  font-weight: 700;
}
.v2-answer {
  padding: 20px;
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px 20px 20px 5px;
  background: rgba(255,255,255,.055);
}
.v2-answer strong { color: white; }
.v2-answer p { margin: 0; }
.v2-answer p + p { margin-top: 13px; }
.v2-source-line {
  margin-top: 16px !important;
  color: rgba(255,255,255,.48);
  font-size: .78rem;
}
.v2-compass-foot {
  padding: 0 24px 24px;
  color: rgba(255,255,255,.52);
  font-size: .76rem;
  line-height: 1.45;
}
.v2-float-note {
  position: absolute;
  z-index: 4;
  right: -28px;
  bottom: 44px;
  width: 210px;
  padding: 14px 16px;
  color: white;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 17px;
  background: rgba(7,24,39,.94);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.v2-float-note strong, .v2-float-note small { display: block; }
.v2-float-note strong { color: var(--orange); font-size: .82rem; }
.v2-float-note small { margin-top: 3px; color: rgba(255,255,255,.62); }

.v2-section-intro { max-width: 820px; margin: 0 auto 58px; text-align: center; }
.v2-section-intro .eyebrow { justify-content: center; }
.v2-section-intro h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.45rem, 4.3vw, 4.35rem);
  line-height: 1.04;
  letter-spacing: -.047em;
}
.v2-section-intro > p:last-child { max-width: 720px; margin: 20px auto 0; color: var(--muted); font-size: 1.08rem; }

.v2-understand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.v2-understand-card {
  position: relative;
  min-height: 330px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: white;
  box-shadow: 0 18px 50px rgba(16,34,54,.06);
}
.v2-understand-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -60px;
  bottom: -60px;
  border-radius: 50%;
  background: rgba(66,200,208,.09);
}
.v2-understand-card:nth-child(2)::after { background: rgba(255,152,0,.09); }
.v2-understand-card:nth-child(3)::after { background: rgba(61,110,184,.09); }
.v2-understand-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  color: var(--navy);
  border-radius: 17px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  font-size: 1.35rem;
  font-weight: 900;
}
.v2-understand-card:nth-child(2) .v2-understand-icon { background: linear-gradient(135deg, #ffc14a, var(--orange)); }
.v2-understand-card:nth-child(3) .v2-understand-icon { color: white; background: linear-gradient(135deg, #548bd2, var(--blue)); }
.v2-understand-card:nth-child(4) .v2-understand-icon { background: linear-gradient(135deg, #d9f3e4, #8fd5ad); }
.v2-understand-card h3 { margin: 0 0 12px; font-family: "Montserrat", sans-serif; font-size: 1.32rem; }
.v2-understand-card p { margin: 0; color: var(--muted); }
.v2-understand-label {
  display: inline-block;
  margin-top: 24px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.v2-context-section { position: relative; overflow: hidden; color: white; background: var(--navy); }
.v2-context-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: clamp(58px, 8vw, 110px);
  align-items: center;
  padding-top: 112px;
  padding-bottom: 112px;
}
.v2-context-copy h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -.05em;
}
.v2-context-copy > p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.67); font-size: 1.08rem; }
.v2-context-list { display: grid; gap: 14px; margin-top: 28px; }
.v2-context-item { display: flex; gap: 13px; align-items: flex-start; }
.v2-context-item span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--navy);
  border-radius: 50%;
  background: var(--cyan);
  font-weight: 900;
}
.v2-context-item strong { display: block; }
.v2-context-item small { display: block; margin-top: 2px; color: rgba(255,255,255,.55); font-size: .83rem; }
.v2-map-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 60% 30%, rgba(66,200,208,.16), transparent 22%),
    linear-gradient(160deg, #173b5d, #071827);
  box-shadow: 0 36px 84px rgba(0,0,0,.32);
}
.v2-map-grid {
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
}
.v2-route {
  position: absolute;
  left: 14%;
  right: 15%;
  top: 50%;
  height: 5px;
  transform: rotate(-12deg);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  box-shadow: 0 0 24px rgba(66,200,208,.38);
}
.v2-map-pin { position: absolute; display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: .78rem; }
.v2-map-pin::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,152,0,.14); }
.v2-map-pin.one { left: 13%; top: 62%; }
.v2-map-pin.two { left: 46%; top: 47%; }
.v2-map-pin.three { right: 12%; top: 31%; }
.v2-region { position: absolute; color: rgba(255,255,255,.3); font-family: "Montserrat", sans-serif; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.v2-region.r1 { left: 9%; top: 16%; }
.v2-region.r2 { right: 9%; bottom: 16%; }
.v2-map-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(5,20,33,.76);
  backdrop-filter: blur(10px);
}
.v2-map-caption strong { font-size: .87rem; }
.v2-map-caption span { color: rgba(255,255,255,.54); font-size: .76rem; }

.v2-rhythm { background: linear-gradient(180deg, #fbfcfd, #f5f8fb); }
.v2-rhythm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1050px; margin: 0 auto; }
.v2-rhythm-step { position: relative; padding: 24px 28px; text-align: center; }
.v2-rhythm-step:not(:last-child)::after { content: "→"; position: absolute; top: 31px; right: -8px; color: var(--orange); font-size: 1.3rem; font-weight: 800; }
.v2-rhythm-step strong { display: block; color: var(--navy); font-family: "Montserrat", sans-serif; font-size: 1.2rem; }
.v2-rhythm-step span { display: block; margin-top: 7px; color: var(--muted); font-size: .9rem; }

.v2-founder { background: white; }
.v2-founder-grid { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: clamp(46px, 7vw, 90px); align-items: center; max-width: 1040px; margin: 0 auto; }
.v2-founder-video { overflow: hidden; padding: 8px; border-radius: 30px; background: linear-gradient(155deg, var(--navy-3), #061725); box-shadow: 0 28px 65px rgba(8,30,50,.22); }
.v2-founder-video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; background: #061725; }
.v2-founder-copy h2 { margin: 0; font-family: "Montserrat", sans-serif; font-size: clamp(2.45rem, 4.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; }
.v2-founder-copy > p:not(.eyebrow):not(.founder-signoff) { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }

.v2-final {
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 100px;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, #081b2d, var(--navy) 58%, #123b5d);
}
.v2-final h2 { max-width: 850px; margin: 0 auto; font-family: "Montserrat", sans-serif; font-size: clamp(2.6rem, 4.7vw, 4.8rem); line-height: 1.03; letter-spacing: -.05em; }
.v2-final p { max-width: 700px; margin: 22px auto 0; color: rgba(255,255,255,.68); font-size: 1.08rem; }
.v2-final .button { margin-top: 30px; }
.v2-final small { display: block; margin-top: 13px; color: rgba(255,255,255,.45); }

.v2-footer { padding: 34px 24px; color: rgba(255,255,255,.55); text-align: center; background: #061725; font-size: .82rem; }
.v2-footer a { color: rgba(255,255,255,.75); }

@media (max-width: 1040px) {
  .v2-hero { grid-template-columns: 1fr; min-height: auto; }
  .v2-compass-window { margin: 0 auto; }
  .v2-float-note { right: 10px; }
  .v2-understand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-context-grid { grid-template-columns: 1fr; }
  .v2-map-card { min-height: 400px; }
}

@media (max-width: 760px) {
  .v2-hero { padding-top: 72px; padding-bottom: 74px; }
  .v2-hero h1 { font-size: clamp(2.7rem, 13vw, 4.1rem); }
  .v2-hero-actions { align-items: stretch; flex-direction: column; }
  .v2-hero-actions .button, .v2-hero-actions .text-link { width: 100%; text-align: center; }
  .v2-compass-head { align-items: flex-start; gap: 14px; flex-direction: column; }
  .v2-float-note { position: static; width: auto; margin-top: 14px; }
  .v2-understand-grid { grid-template-columns: 1fr; }
  .v2-understand-card { min-height: 0; }
  .v2-context-grid { padding-top: 86px; padding-bottom: 86px; }
  .v2-map-card { min-height: 350px; }
  .v2-rhythm-grid { grid-template-columns: 1fr; }
  .v2-rhythm-step:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -10px; transform: translateX(50%); }
  .v2-founder-grid { grid-template-columns: 1fr; }
  .v2-founder-video { width: min(100%, 300px); margin: 0 auto; }
}
