/* RiskPod website V2, alternate variant: V1's first screen and its cyan-on-navy character over V2's structure.
   Loaded after site.css, only in the alternate build. Every rule is scoped to .v-alt. */

.v-alt {
  --navy-2: #140e3a;
  --navy-3: #1c1550;
  --navy-deep: #0a0720;
  --text-2: #cdc9e8;
  --text-3: #a29dc8;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --teal-2: #74f3ea;
  --header-h: 92px;
}
@media (max-width: 960px) { .v-alt { --header-h: 68px; } }

/* ---------- buttons: pills with a cyan glow on dark ---------- */
.v-alt .btn { border-radius: 999px; border-width: 1px; }
.v-alt .btn:hover { transform: translateY(-2px); }
.v-alt .dark .btn--primary, .v-alt .btn--teal { box-shadow: 0 8px 30px -10px rgba(0, 223, 210, .6); }
.v-alt .dark .btn--primary:hover, .v-alt .btn--teal:hover { background: var(--teal-2); box-shadow: 0 14px 40px -12px rgba(0, 223, 210, .8); }
.v-alt .dark .btn--secondary { border-color: var(--line-2); color: var(--white); }
.v-alt .dark .btn--secondary:hover { border-color: var(--teal); color: var(--teal); background: transparent; }
.v-alt .hero .btn { min-height: 52px; padding: 0 26px; font-size: 16px; }
@media (max-width: 640px) { .v-alt .hero .btn { min-height: 48px; } }

/* ---------- header: clear over the hero, navy glass once scrolled ---------- */
.v-alt .site-header {
  position: fixed; inset: 0 0 auto 0; background: transparent; border-bottom: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color .35s, box-shadow .35s;
}
.v-alt .site-header.is-scrolled {
  background: rgba(14, 9, 42, .95); border-bottom: 0; box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
}
.v-alt .header-inner { max-width: 1320px; padding: 0 40px; height: var(--header-h); gap: 40px; }
.v-alt .site-header.is-scrolled .header-inner { height: 72px; }
.v-alt .brand img { width: 160px; transition: width .35s var(--ease); }
.v-alt .site-header.is-scrolled .brand img { width: 140px; }
.v-alt .primary-nav ul { gap: 8px; }
.v-alt .primary-nav a { padding: 10px 16px; border-radius: 10px; font-size: 15.5px; color: var(--text-2); }
.v-alt .primary-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.v-alt .primary-nav a[aria-current="page"] { color: var(--teal); }
.v-alt .primary-nav a[aria-current="page"]::after { display: none; }
.v-alt .header-cta { margin-left: 16px; }
.v-alt .header-cta .btn { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
@media (max-width: 960px) {
  .v-alt .header-inner, .v-alt .site-header.is-scrolled .header-inner { height: 68px; padding: 0 var(--gutter); }
  .v-alt .brand img, .v-alt .site-header.is-scrolled .brand img { width: 132px; }
  .v-alt.js .nav-open .site-header, .v-alt .nav-open .site-header { background: var(--navy); }
}

/* ---------- heroes: deep navy, soft blue and cyan light, the network behind ---------- */
.v-alt .hero {
  padding: calc(var(--header-h) + 80px) 0 104px;
  background:
    radial-gradient(1200px 700px at 78% 18%, rgba(0, 88, 255, .22), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(0, 223, 210, .10), transparent 60%),
    var(--navy);
}
.v-alt .hero::before { display: none; }
.v-alt .hero canvas.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.v-alt .hero .lede { color: var(--text-2); }
.v-alt .hero .eyebrow { font-size: 13px; letter-spacing: .16em; gap: 12px; margin-bottom: 20px; }
.v-alt .hero .eyebrow::before { width: 28px; }
.v-alt .crumbs { color: var(--text-3); }
.v-alt .crumbs a { color: var(--text-2) !important; }
.v-alt .article-hero { padding-top: calc(var(--header-h) + 56px); }
@media (max-width: 1024px) { .v-alt .hero { padding: calc(var(--header-h) + 56px) 0 80px; } }
@media (max-width: 640px) { .v-alt .hero { padding: calc(var(--header-h) + 36px) 0 60px; } }

/* home hero: one full first screen */
.v-alt .hero--home { min-height: min(100vh, 980px); display: flex; align-items: center; padding: calc(var(--header-h) + 72px) 0 80px; }
.v-alt .hero--home .hero-grid { width: 100%; grid-template-columns: 1.05fr .95fr; gap: 48px; }
.v-alt .hero--home h1 { margin-bottom: 0; max-width: 700px; text-wrap: balance; }
.v-alt .hero--home .lede { font-size: 20px; line-height: 1.6; max-width: 640px; margin: 26px 0 0; }
.v-alt .hero--home .btn-row { margin-top: 36px; }
.v-alt .hero--home .eyebrow::before { width: 28px; flex-shrink: 0; }
@media (max-width: 1024px) {
  .v-alt .hero--home { min-height: 0; padding: calc(var(--header-h) + 56px) 0 110px; }
  .v-alt .hero--home .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .v-alt .hero--home { padding: calc(var(--header-h) + 36px) 0 96px; }
  .v-alt .hero--home .lede { font-size: 17px; }
}

/* the 360 ring */
.hero-ring { position: relative; width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 1; }
.hero-ring svg { width: 100%; height: 100%; overflow: visible; }
.hero-ring .ring-arc { fill: none; stroke-width: 9; stroke-linecap: round; }
.hero-ring .ring-chip rect { fill: #160f42; stroke-width: 1.5; }
.hero-ring .ring-chip text { font-family: var(--f-head); font-weight: 700; font-size: 15px; fill: #fff; }
.hero-ring .ring-chip .n { font-family: var(--f-body); font-weight: 600; font-size: 11px; letter-spacing: .1em; }
.hero-ring .spin { transform-origin: 280px 280px; animation: altSpin 60s linear infinite; }
.hero-ring .spin--rev { animation-duration: 90s; animation-direction: reverse; }
.hero-ring .orbit { transform-origin: 280px 280px; animation: altSpin 18s linear infinite; }
.hero-ring .orbit--b { animation-duration: 26s; animation-delay: -9s; }
.hero-ring .pulse-ring { transform-origin: 280px 280px; animation: altPulse 4.8s ease-out infinite; }
.hero-ring .pulse-ring--b { animation-delay: 2.4s; }
.hero-ring .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: altDraw 1.6s var(--ease) forwards; }
.hero-ring .draw--2 { animation-delay: .25s; }
.hero-ring .draw--3 { animation-delay: .5s; }
.hero-ring .draw--4 { animation-delay: .75s; }
.hero-ring .fade-in { opacity: 0; animation: altFade .8s var(--ease) forwards; }
.hero-ring .fade-in--1 { animation-delay: .9s; }
.hero-ring .fade-in--2 { animation-delay: 1.1s; }
.hero-ring .fade-in--3 { animation-delay: 1.3s; }
.hero-ring .fade-in--4 { animation-delay: 1.5s; }
.hero-ring .float { animation: altFloat 7s ease-in-out infinite; }
@keyframes altSpin { to { transform: rotate(360deg); } }
@keyframes altPulse { 0% { transform: scale(.55); opacity: .55; } 100% { transform: scale(1.12); opacity: 0; } }
@keyframes altDraw { to { stroke-dashoffset: 0; } }
@keyframes altFade { to { opacity: 1; } }
@keyframes altFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1024px) { .hero-ring { max-width: 460px; margin: 8px auto 0; } }
@media (max-width: 640px) {
  .hero-ring { max-width: 350px; }
  /* the stage pills stay readable on a phone */
  .hero-ring .ring-chip { transform-box: fill-box; transform-origin: center; transform: scale(1.32); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ring .spin, .hero-ring .orbit, .hero-ring .pulse-ring, .hero-ring .float { animation: none !important; }
  .hero-ring .pulse-ring { opacity: 0; }
  .hero-ring .draw { stroke-dashoffset: 0 !important; }
  .hero-ring .fade-in { opacity: 1 !important; }
}

/* proof strip under the home hero */
.v-alt .proof { position: relative; z-index: 2; margin-top: -64px; }
.v-alt .proof-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(180deg, #1c1550, #140e3a); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(16, 11, 45, .55);
}
.v-alt .proof-item { padding: 34px 32px; border-left: 1px solid var(--line); }
.v-alt .proof-item:first-child { border-left: 0; }
.v-alt .stat-num { font: 700 54px/1 var(--f-head); letter-spacing: -.03em; color: var(--teal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-alt .stat-num small { font-size: .5em; margin-left: 3px; letter-spacing: 0; }
.v-alt .proof-item p { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.v-alt .proof + .section { padding-top: calc(var(--sec) - 8px); }
@media (max-width: 1024px) {
  .v-alt .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-alt .proof-item:nth-child(3) { border-left: 0; }
  .v-alt .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .v-alt .proof { margin-top: -56px; }
  .v-alt .proof-item { padding: 22px 18px; }
  .v-alt .stat-num { font-size: 38px; }
  .v-alt .proof-item p { font-size: 14.5px; }
}

/* ---------- the four stages as one line (home, below the hero ring) ---------- */
.v-alt .stages--cycle { position: relative; gap: 28px; }
.v-alt .stages--cycle .stage { border-top: 4px solid var(--c, var(--teal)); padding-top: 26px; }
.v-alt .stages--cycle .stage:nth-child(1) { --c: #00DFD2; }
.v-alt .stages--cycle .stage:nth-child(2) { --c: #5FEAE1; }
.v-alt .stages--cycle .stage:nth-child(3) { --c: #2F74FF; }
.v-alt .stages--cycle .stage:nth-child(4) { --c: #0058FF; }
.v-alt .stages--cycle .stage .num { color: var(--brand); }
.v-alt .stages--cycle .stage:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -22px; width: 14px; height: 14px;
  border-top: 2px solid #9fb3d9; border-right: 2px solid #9fb3d9; transform: rotate(45deg);
}
@media (max-width: 1024px) { .v-alt .stages--cycle .stage::after { display: none; } }

/* ---------- dark bands, cards and panels in the same family ---------- */
.v-alt .section.dark {
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(0, 88, 255, .18), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(0, 223, 210, .08), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
}
.v-alt .dark .card { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)); border-color: var(--line); }
.v-alt .section.dark .lede, .v-alt .cta-card--dark p:not(.eyebrow), .v-alt .dark .card > p { color: var(--text-2); }
.v-alt .dark .chip { background: rgba(255, 255, 255, .05); border-color: var(--line-2); }
.v-alt .hero-panel {
  background: linear-gradient(180deg, rgba(28, 21, 80, .88), rgba(20, 14, 58, .88)); border-color: var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.v-alt .hero-panel .s { color: var(--text-3); }
.v-alt .hero-grid > * { min-width: 0; }
@media (max-width: 640px) {
  /* a long figure such as 225,000+ takes its own line, with the caption under it */
  .v-alt .panel-stat { flex-direction: column; align-items: flex-start; gap: 8px; }
  .v-alt .panel-stat b { font-size: 46px; }
}
.v-alt .panel-stat b { color: var(--teal); }
.v-alt .panel-stat span { color: var(--text-2); }
.v-alt .cta-card--dark, .v-alt .callout {
  background:
    radial-gradient(620px 320px at 92% 0%, rgba(0, 223, 210, .16), transparent 60%),
    linear-gradient(160deg, var(--navy-3), var(--navy));
}
.v-alt .card.testimonial { padding: 48px 56px; }
.v-alt .card.testimonial .quote blockquote { font-size: 26px; max-width: 940px; }
@media (max-width: 640px) { .v-alt .card.testimonial { padding: 28px 22px; } .v-alt .card.testimonial .quote blockquote { font-size: 19px; } }
.v-alt .site-footer { background: var(--navy-deep); }
.v-alt .walk { background: var(--navy-2); }
