/* ============================================================
   Vahvista — landing + app styles
   Inspired by a clean, editorial health-brand layout:
   soft periwinkle canvas, white content, black pill buttons,
   photo-style media tiles, floating result chips, mock UI cards.
   ============================================================ */

:root {
  --ink: #15161c;
  --ink-soft: #565a66;
  --muted: #8b8f9a;
  --line: rgba(20, 24, 40, 0.08);
  --white: #ffffff;

  --periwinkle: #c5d2ef;
  --periwinkle-2: #d7def2;
  --blue-soft: #e8eefb;
  --blue-soft-2: #eef3fc;

  --green: #2bb673;
  --green-bg: #e3f6ec;
  --blue: #3b82f6;
  --blue-bg: #e4eefe;
  --amber: #e98a1f;
  --amber-bg: #fdf0dd;
  --pink: #ff6b8e;
  --pink-bg: #ffe6ec;

  --radius-card: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 6px 16px rgba(30, 40, 80, 0.06);
  --shadow-md: 0 18px 40px rgba(30, 40, 80, 0.1);
  --shadow-lg: 0 34px 70px rgba(30, 40, 80, 0.16);

  --max: 1240px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

/* ---------- Shell (full-bleed white canvas) ---------- */
.shell {
  background: var(--white);
  width: 100%;
  margin: 0;
  overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 12px;
  --pad-x: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 22px rgba(21, 22, 28, 0.22);
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(21, 22, 28, 0.3);
}

.btn-light {
  background: #f1f3f8;
  color: var(--ink);
  border-color: var(--line);
}

.btn-light:hover {
  background: #e8ebf3;
  transform: translateY(-2px);
}

.btn-lg {
  --pad-y: 15px;
  --pad-x: 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s ease;
}

.link:hover {
  color: var(--blue);
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 34px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-name-vah {
  background: linear-gradient(135deg, #1e40af 0%, #4338ca 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-name-vista {
  margin-left: -0.5px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 30px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 30px 18px;
}

.mobile-menu a {
  padding: 12px 4px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .btn {
  margin-top: 10px;
  border-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 30px 24px 8px;
  max-width: 760px;
  margin: 0 auto;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-soft);
  color: #3650b5;
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
}

.dot-check {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.hero-title {
  margin: 20px auto 0;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-sub {
  margin: 18px auto 0;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 17px;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Showcase ---------- */
.showcase {
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
}

/* media / photo-style tiles */
.media,
.split-media,
.own-photo,
.gp {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.media-scene {
  position: relative;
  height: 100%;
  min-height: 340px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(150deg, #e8eefb, #d7def2);
}

/* real photo fills the tile */
.scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  /* display: block; */
  z-index: 0;
}

/* soft light + vignette overlay for legibility of chips */
.media-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
    linear-gradient(180deg, transparent 55%, rgba(20, 24, 40, 0.28));
  z-index: 1;
  pointer-events: none;
}

/* central medallion holding the emoji — reads as a portrait/icon */
.scene-emoji {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(120px, 16vw, 168px);
  height: clamp(120px, 16vw, 168px);
  border-radius: 50%;
  font-size: clamp(54px, 8vw, 84px);
  line-height: 1;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 50px rgba(20, 30, 70, 0.18),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(3px);
}

/* scattered confetti dots */
.confetti {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle, #ffffff 38%, transparent 40%),
    radial-gradient(circle, #ff8fb3 38%, transparent 40%),
    radial-gradient(circle, #7eb0ff 38%, transparent 40%),
    radial-gradient(circle, #ffd36b 38%, transparent 40%),
    radial-gradient(circle, #8fd9a8 38%, transparent 40%),
    radial-gradient(circle, #c4a8ff 38%, transparent 40%);
  background-repeat: no-repeat;
  background-size: 12px 12px, 10px 10px, 14px 14px, 9px 9px, 11px 11px, 8px 8px;
  background-position: 16% 22%, 78% 16%, 28% 78%, 86% 70%, 60% 30%, 40% 90%;
  opacity: 0.85;
}

.scene-a {
  background: linear-gradient(150deg, #f6d8c4, #e7b9c8 55%, #c6b6e6);
}

.scene-b {
  background: linear-gradient(150deg, #cfe0fb, #b9c9f3 60%, #d8c9ee);
}

.scene-c {
  background: linear-gradient(150deg, #d7e8d2, #bcd9c6 60%, #b6cfe6);
}

.scene-d {
  background: linear-gradient(150deg, #e9d6c2, #d6b9a6);
}

.scene-e {
  background: linear-gradient(150deg, #f3cdd6, #e0a9c2 60%, #c9b1e6);
}

.scene-f {
  background: linear-gradient(150deg, #c9dbf0, #aec6ea);
}

/* floating chips */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 9px 13px;
  box-shadow: var(--shadow-md);
}

.chip-tl {
  left: 16px;
  bottom: 76px;
}

.chip-bl {
  left: 16px;
  bottom: 16px;
}

.fc-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
}

.ic-green {
  background: var(--green-bg);
}

.ic-pink {
  background: var(--pink-bg);
}

.ic-blue {
  background: var(--blue-bg);
}

.ic-amber {
  background: var(--amber-bg);
}

.fc-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.fc-text strong {
  font-size: 13.5px;
}

.fc-text em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Profile mock card ---------- */
.profile {
  background: var(--blue-soft-2);
  border: 1px solid rgba(120, 150, 220, 0.18);
  border-radius: var(--radius-card);
  padding: 22px;
}

.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.profile-title {
  font-weight: 700;
  font-size: 16px;
}

.profile-avs {
  display: flex;
}

.pa {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  border: 2px solid var(--white);
  margin-left: -8px;
}

.pa-1 {
  background: linear-gradient(135deg, #ff8fb3, #b69bff);
  margin-left: 0;
}

.pa-2 {
  background: linear-gradient(135deg, #6aa6ff, #5fd0c0);
}

.profile-meter {
  background: var(--white);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.pm-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.pm-track {
  display: block;
  height: 8px;
  border-radius: 6px;
  margin: 9px 0 10px;
  background: linear-gradient(90deg, #ffd2a8, #ffe39a 40%, #bdeac4 70%, #8fd9a8);
  position: relative;
}

.pm-track i {
  position: absolute;
  top: 50%;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green);
  transform: translate(-50%, -50%);
}

.pm-tags {
  display: flex;
  justify-content: space-between;
}

.pm-tags em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}

.pm-tags em.active {
  color: var(--green);
  font-weight: 700;
}

.profile-sub {
  margin: 18px 0 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  border-radius: 13px;
  padding: 11px 13px;
  box-shadow: var(--shadow-sm);
}

.profile-row+.profile-stat,
.profile-stat+.profile-row {
  margin-top: 10px;
}

.pr-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
}

.pr-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.25;
}

.pr-info strong {
  font-size: 14px;
}

.pr-info em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.pr-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.pr-pill.ok {
  color: var(--green);
  background: var(--green-bg);
}

.pr-pill.warn {
  color: var(--amber);
  background: var(--amber-bg);
}

.profile-stat {
  background: var(--white);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 12px;
}

.ps-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.ps-value {
  grid-row: span 2;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.ps-value b {
  font-weight: 800;
}

.ps-spark {
  width: 100%;
  height: 34px;
  grid-column: 1;
}

.ps-spark polyline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Press ---------- */
.press {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 26px 24px;
  text-align: center;
}

.press-label {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.press-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask: linear-gradient(90deg,
      transparent,
      #000 7%,
      #000 93%,
      transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.press-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  animation: pressScroll 34s linear infinite;
}

.press-marquee:hover .press-track {
  animation-play-state: paused;
}

.press-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  padding: 14px 24px;
  border-radius: 14px;
  background: #f3f4f8;
  color: #9aa0ad;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease,
    transform 0.25s ease, border-color 0.25s ease;
}

.press-logo svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: none;
}

.press-logo span {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.press-logo:hover {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

@keyframes pressScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Statement / Who we are ---------- */
.statement {
  max-width: var(--max);
  margin: 30px auto 0;
  padding: 50px 24px 10px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

.kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.statement h2 {
  margin: 18px 0 0;
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 900px;
}

.statement .hl {
  color: var(--muted);
}

.story-tabs {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.story-tab {
  flex: 1 1 240px;
  text-align: left;
  background: #f5f6fa;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.story-tab span {
  float: right;
  transition: transform 0.2s ease;
}

.story-tab.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.story-tab.is-active span {
  transform: translateX(4px);
}

.story-body {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- Split (occasions) ---------- */
.split {
  max-width: var(--max);
  margin: 30px auto 0;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.split-media .media-scene {
  min-height: 360px;
}

.biomarkers {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bm {
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.split-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 700;
}

.split-copy p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 420px;
}

.split-copy .btn {
  margin-top: 22px;
}

.split-figure {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 28px !important;
}

.split-figure b {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.split-figure span {
  font-size: 14px;
  color: var(--muted);
  max-width: 160px;
}

/* ---------- Own (tabs section) ---------- */
.own {
  background: #f6f7fb;
  margin-top: 40px;
  padding: 100px 24px;
}

.own-head {
  max-width: var(--max);
  margin: 0 auto 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.own-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-weight: 700;
  max-width: 620px;
}

.own-tabs {
  display: inline-flex;
  background: #eaecf3;
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
}

.own-tab {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.own-tab.is-active {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.own-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.own-panel {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.own-step {
  display: inline-block;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.own-panel h3 {
  margin: 0 0 22px;
  font-size: 30px;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.own-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.own-panel li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 17px;
}

.own-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
  font-size: 17px;
}

.own-photo .media-scene {
  min-height: 420px;
}

.own-chip {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 13px;
  padding: 10px 13px;
  box-shadow: var(--shadow-md);
}

.oc-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #5fd0a8, #4db1ff);
  flex: none;
}

.oc-check {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex: none;
}

.own-card {
  background: var(--blue-soft-2);
  border: 1px solid rgba(120, 150, 220, 0.18);
  border-radius: var(--radius-card);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}

.oc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 16px;
}

.oc-score {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.oc-norm {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin: 10px 0 22px;
}

.oc-line {
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.oc-line:first-of-type {
  margin-top: auto;
  padding-top: 12px;
}

.oc-line i {
  display: block;
  height: 9px;
  border-radius: 6px;
  background: #dfe6f4;
  margin-top: 9px;
  overflow: hidden;
}

.oc-line b {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #3b82f6, #6366f1);
}

.oc-line.warn b {
  background: linear-gradient(90deg, #f59e0b, #ef6f6f);
}

/* ---------- Gold (retention) ---------- */
.gold {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px;
}

.gold-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.gold-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 700;
}

.gold-head p {
  margin: 14px 0 20px;
  color: var(--ink-soft);
  font-size: 17px;
}

.aud-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 24px;
  max-width: 660px;
}

.aud {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  background: #f1f3f8;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.aud:hover {
  background: var(--blue-bg);
  color: #2f54c0;
  transform: translateY(-2px);
}

.gold-photos {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
  align-items: center;
}

.gp .media-scene {
  min-height: 300px;
}

.gp-mid {
  position: relative;
}

.gp-mid .media-scene {
  min-height: 360px;
}

.gp-score {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.gp-chip {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 13px;
  padding: 10px 13px;
  box-shadow: var(--shadow-md);
}

.gpc-ic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--blue-bg);
  font-size: 16px;
  flex: none;
}

.gpc-tag {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ---------- Pricing ---------- */
.pricing2 {
  background: #f6f7fb;
  padding: 60px 24px;
}

.p2-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 36px;
}

.p2-head .kicker {
  justify-content: center;
}

.p2-head h2 {
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.p2-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.p2-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.p2-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.p2-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.p2-card h3 {
  margin: 0;
  font-size: 19px;
}

.p2-price {
  margin: 12px 0 18px;
  color: inherit;
  opacity: 0.75;
  font-size: 14px;
}

.p2-price b {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  opacity: 1;
}

.featured .p2-price {
  opacity: 0.7;
}

.featured .p2-price b {
  color: #fff;
}

.p2-card ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.p2-card li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  opacity: 0.85;
}

.p2-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.featured li::before {
  color: #7eb0ff;
}

.featured .btn-dark {
  background: #fff;
  color: var(--ink);
}

/* ---------- CTA ---------- */
.cta2 {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px;
}

.cta2-inner {
  background: linear-gradient(135deg, #1c2b6b 0%, #3b4fb0 60%, #6366f1 100%);
  border-radius: 28px;
  padding: 54px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta2-inner h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.cta2-inner p {
  margin: 14px auto 0;
  max-width: 460px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.cta2-form {
  margin: 26px auto 0;
  max-width: 560px;
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px;
  border-radius: var(--radius-pill);
}

.cta2-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding: 10px 16px;
  outline: none;
}

.cta2-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cta2-form input[name="org"] {
  max-width: 170px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.cta2-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
}

.cta2-note.error {
  color: #ffc2cf;
}

.cta2-note.success {
  color: #bdf5d6;
}

/* ---------- Contact section ---------- */
.contact-wrap {
  text-align: left;
  padding: clamp(36px, 5vw, 52px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 44px);
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.8vw, 42px);
  letter-spacing: -0.025em;
  font-weight: 800;
  line-height: 1.12;
}

.contact-copy>p {
  margin: 16px 0 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
  line-height: 1.55;
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.contact-perks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.contact-perks b {
  font-weight: 700;
  color: #fff;
}

.perk-ic {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Contact form card */
.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 24px 60px rgba(10, 16, 50, 0.28);
  text-align: left;
}

.contact-form-head h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.contact-form-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.contact-fields .span-2 {
  grid-column: 1 / -1;
}

.cf {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.cf .opt {
  font-weight: 500;
  color: var(--muted);
}

.cf input,
.cf select,
.cf textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #f7f8fc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cf textarea {
  resize: vertical;
  min-height: 108px;
  line-height: 1.5;
}

.cf select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238b8f9a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.cf input:focus,
.cf select:focus,
.cf textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.cf input:invalid:not(:placeholder-shown),
.cf textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(229, 72, 77, 0.45);
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 18px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
  cursor: pointer;
}

.contact-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--blue);
  cursor: pointer;
}

.contact-consent a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.contact-consent a:hover {
  text-decoration: underline;
}

.contact-submit {
  padding: 14px 24px;
  font-size: 16px;
}

.contact-msg {
  margin: 12px 0 0;
  min-height: 20px;
  font-size: 14px;
  text-align: center;
}

.contact-msg.error {
  color: #e5484d;
}

.contact-msg.success {
  color: var(--green);
}

.contact-form.is-success .contact-fields,
.contact-form.is-success .contact-consent,
.contact-form.is-success .contact-submit {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 48px 34px 36px;
}

.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 40px;
}

.foot-blurb {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 280px;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.foot-cols h4 {
  margin: 0 0 12px;
  font-size: 14px;
}

.foot-cols a {
  display: block;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  padding: 5px 0;
  transition: color 0.15s ease;
}

.foot-cols a:hover {
  color: var(--ink);
}

.foot-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   Responsive — mobile-first refinements
   ============================================================ */
@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    padding: 16px 20px;
  }

  .hero {
    padding: 24px 20px 8px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .showcase,
  .split,
  .own-grid,
  .gold-photos,
  .foot-top {
    grid-template-columns: 1fr;
  }

  .showcase {
    padding: 0 20px;
    gap: 20px;
  }

  .split {
    padding: 0 20px;
    gap: 28px;
  }

  .statement,
  .own,
  .gold,
  .pricing2,
  .press,
  .cta2 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .own-head {
    align-items: flex-start;
  }

  .gp:first-child,
  .gp:last-child {
    display: none;
  }

  .p2-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }

  .p2-card.featured {
    transform: none;
  }

  .foot {
    padding: 40px 20px 28px;
  }

  .foot-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta2-inner {
    border-radius: 22px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .pill-badge {
    font-size: 12.5px;
    padding: 6px 12px;
  }

  .float-chip {
    transform: scale(0.92);
    transform-origin: left center;
  }

  .chip-tl {
    top: 8px;
    left: 8px;
  }

  .chip-bl {
    bottom: 8px;
    left: 8px;
  }

  .profile {
    padding: 18px;
  }

  .statement h2,
  .split-copy h2,
  .own-head h2,
  .gold-head h2,
  .p2-head h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .story-tabs,
  .own-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    padding-bottom: 4px;
  }

  .story-tabs::-webkit-scrollbar,
  .own-tabs::-webkit-scrollbar {
    display: none;
  }

  .story-tab,
  .own-tab {
    flex: none;
    white-space: nowrap;
    font-size: 13px;
    padding: 10px 14px;
  }

  .biomarkers {
    gap: 8px;
  }

  .bm {
    font-size: 12.5px;
    padding: 8px 12px;
  }

  .aud-row {
    gap: 8px;
  }

  .aud {
    font-size: 13px;
    padding: 8px 12px;
  }

  .gold-photos {
    gap: 12px;
  }

  .press-logo {
    padding: 12px 18px;
  }

  .press-logo span {
    font-size: 14px;
  }

  .contact-wrap {
    padding: 28px 20px;
  }

  .contact-copy h2 {
    font-size: clamp(24px, 6.5vw, 32px);
  }

  .contact-form {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-fields .span-2 {
    grid-column: auto;
  }

  .cf input,
  .cf select,
  .cf textarea {
    font-size: 16px;
    /* prevents iOS zoom on focus */
  }

  .contact-submit {
    min-height: 48px;
  }

  .foot-cols {
    grid-template-columns: 1fr;
  }

  .foot-blurb {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 14px 16px;
  }

  .mobile-menu {
    padding: 4px 16px 18px;
  }

  .hero {
    padding: 20px 16px 4px;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .br-d {
    display: none;
  }

  .showcase,
  .split,
  .statement,
  .own,
  .gold,
  .pricing2,
  .press,
  .cta2 {
    padding-left: 16px;
    padding-right: 16px;
  }

  .showcase {
    margin-top: 24px;
  }

  .media-scene,
  .own-photo .media-scene {
    min-height: 220px;
  }

  .float-chip {
    display: none;
    /* cleaner on very small screens */
  }

  .profile-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .pr-pill {
    margin-left: auto;
  }

  .own-grid {
    gap: 16px;
  }

  .own-card {
    padding: 18px;
  }

  .p2-price {
    flex-wrap: wrap;
  }

  .p2-price span {
    display: block;
    margin-top: 2px;
  }

  .cta2 {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .cta2-inner {
    border-radius: 18px;
    padding: 0;
  }

  .contact-wrap {
    padding: 24px 16px;
  }

  .contact-perks {
    margin-top: 20px;
    gap: 12px;
  }

  .contact-perks li {
    font-size: 14px;
  }

  .perk-ic {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }

  .contact-form-head h3 {
    font-size: 18px;
  }

  .contact-consent {
    font-size: 12.5px;
    align-items: flex-start;
  }

  .contact-consent input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .own-tab {
    padding: 9px 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 28px;
  }

  .btn-lg {
    --pad-y: 14px;
    --pad-x: 22px;
    font-size: 15px;
  }

  .press-logo {
    padding: 10px 14px;
  }

  .press-logo svg {
    width: 20px;
    height: 20px;
  }

  .press-logo span {
    font-size: 13px;
  }
}

/* ============================================================
   Advanced graphics & motion
   ============================================================ */

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes floatYsm {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(10px, -16px) rotate(10deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

@keyframes sheen {
  from {
    transform: translateX(-130%) skewX(-18deg);
  }

  to {
    transform: translateX(230%) skewX(-18deg);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 24px 50px rgba(30, 40, 80, 0.18);
  }

  50% {
    box-shadow: 0 30px 74px rgba(99, 102, 241, 0.5);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes panelIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Hero decoration ---------- */
.hero {
  position: relative;
}

.hero>*:not(.hero-deco) {
  position: relative;
  z-index: 1;
}

.hero-deco {
  position: absolute;
  inset: -10px -240px 0;
  z-index: 0;
  pointer-events: none;
}

.hero-deco .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
  animation: floatY 9s ease-in-out infinite;
}

.orb-1 {
  width: 220px;
  height: 220px;
  left: 60px;
  top: 0;
  background: radial-gradient(circle, #bcd0ff, transparent 70%);
}

.orb-2 {
  width: 180px;
  height: 180px;
  right: 70px;
  top: -10px;
  background: radial-gradient(circle, #ffc6dc, transparent 70%);
  animation-duration: 11s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  left: 46%;
  top: -40px;
  background: radial-gradient(circle, #d6c6ff, transparent 70%);
  animation-duration: 13s;
}

.hero-deco .cf {
  position: absolute;
  font-size: 24px;
  opacity: 0.9;
  animation: drift 7s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
}

.cf-1 {
  left: 12%;
  top: 38%;
}

.cf-2 {
  right: 14%;
  top: 30%;
  animation-duration: 9s;
}

.cf-3 {
  left: 20%;
  top: 8%;
  animation-duration: 10s;
  font-size: 20px;
}

.cf-4 {
  right: 20%;
  top: 70%;
  animation-duration: 8s;
}

.cf-5 {
  left: 7%;
  top: 72%;
  animation-duration: 11s;
  font-size: 18px;
}

.cf-6 {
  right: 9%;
  top: 60%;
  animation-duration: 12s;
  font-size: 18px;
}

/* animated gradient word */
.hl-anim {
  background: linear-gradient(100deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s linear infinite;
}

/* ---------- Button shine ---------- */
.btn-dark {
  position: relative;
  overflow: hidden;
}

.btn-dark::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-130%) skewX(-18deg);
}

.btn-dark:hover::after {
  animation: sheen 0.85s ease;
}

/* ---------- Scene motion ---------- */
.scene-emoji {
  animation: floatY 6s ease-in-out infinite;
}

.confetti {
  animation: twinkle 4.5s ease-in-out infinite;
}

/* medallion shimmer ring */
.scene-emoji::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      rgba(255, 255, 255, 0) 0deg,
      rgba(255, 255, 255, 0.55) 60deg,
      rgba(255, 255, 255, 0) 140deg,
      rgba(255, 255, 255, 0) 220deg,
      rgba(255, 255, 255, 0.45) 300deg,
      rgba(255, 255, 255, 0) 360deg);
  z-index: -1;
  opacity: 0.6;
  filter: blur(3px);
  animation: ringSpin 8s linear infinite;
}

/* photo-tile hover: zoom + sheen */
.media .media-scene,
.split-media .media-scene,
.own-photo .media-scene,
.gp .media-scene {
  transition: transform 0.5s ease;
}

.media:hover .media-scene,
.split-media:hover .media-scene,
.own-photo:hover .media-scene,
.gp:hover .media-scene {
  transform: scale(1.05);
}

.media::after,
.split-media::after,
.own-photo::after,
.gp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 42%, rgba(255, 255, 255, 0.4) 50%, transparent 58%);
  transform: translateX(-130%);
}

.media:hover::after,
.split-media:hover::after,
.own-photo:hover::after,
.gp:hover::after {
  animation: sheen 0.9s ease;
}

/* ---------- Animated meters / bars / sparkline ---------- */
.pm-track i {
  left: 0;
  transition: left 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.showcase.in .pm-track i {
  left: var(--w, 0);
}

.oc-line b {
  width: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.own.in .oc-line:nth-child(3) b {
  width: var(--w);
  transition-delay: 0.15s;
}

.own.in .oc-line:nth-child(4) b {
  width: var(--w);
  transition-delay: 0.3s;
}

.own.in .oc-line:nth-child(5) b {
  width: var(--w);
  transition-delay: 0.45s;
}

.ps-spark polyline {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.5s ease 0.3s;
}

.showcase.in .ps-spark polyline {
  stroke-dashoffset: 0;
}

/* ---------- Staggered entrances ---------- */
.showcase.in .float-chip {
  animation: popIn 0.6s ease both, floatYsm 5s ease-in-out 1s infinite;
}

.showcase.in .chip-bl {
  animation-delay: 0.18s, 1.2s;
}

.showcase.in .profile-row,
.showcase.in .profile-stat,
.showcase.in .profile-meter {
  animation: popIn 0.55s ease both;
}

.showcase.in .profile-meter {
  animation-delay: 0.05s;
}

.showcase.in .profile-row:nth-of-type(1) {
  animation-delay: 0.12s;
}

.showcase.in .profile-stat {
  animation-delay: 0.2s;
}

.showcase.in .profile-row:nth-of-type(2) {
  animation-delay: 0.28s;
}

.split.in .bm {
  animation: popIn 0.5s ease both;
}

.split.in .bm:nth-child(1) {
  animation-delay: 0.04s;
}

.split.in .bm:nth-child(2) {
  animation-delay: 0.1s;
}

.split.in .bm:nth-child(3) {
  animation-delay: 0.16s;
}

.split.in .bm:nth-child(4) {
  animation-delay: 0.22s;
}

.split.in .bm:nth-child(5) {
  animation-delay: 0.28s;
}

.split.in .bm:nth-child(6) {
  animation-delay: 0.34s;
}

.split.in .bm:nth-child(7) {
  animation-delay: 0.4s;
}

.press .press-marquee {
  opacity: 0;
  transform: translateY(14px);
}

.press.in .press-marquee {
  animation: popIn 0.6s ease both;
  animation-delay: 0.08s;
}

.gold.in .aud {
  animation: popIn 0.5s ease both;
}

.gold.in .aud:nth-child(1) {
  animation-delay: 0.04s;
}

.gold.in .aud:nth-child(2) {
  animation-delay: 0.1s;
}

.gold.in .aud:nth-child(3) {
  animation-delay: 0.16s;
}

.gold.in .aud:nth-child(4) {
  animation-delay: 0.22s;
}

.gold.in .aud:nth-child(5) {
  animation-delay: 0.28s;
}

.gold.in .aud:nth-child(6) {
  animation-delay: 0.34s;
}

.gold.in .gp {
  animation: popIn 0.6s ease both;
}

.gold.in .gp:nth-child(1) {
  animation-delay: 0.05s;
}

.gold.in .gp:nth-child(2) {
  animation-delay: 0.18s;
}

.gold.in .gp:nth-child(3) {
  animation-delay: 0.31s;
}

.pricing2.in .p2-card {
  animation: popIn 0.6s ease both;
}

.pricing2.in .p2-card:nth-child(1) {
  animation-delay: 0.05s;
}

.pricing2.in .p2-card:nth-child(2) {
  animation-delay: 0.16s;
}

.pricing2.in .p2-card:nth-child(3) {
  animation-delay: 0.27s;
}

/* ---------- Hover polish ---------- */
.p2-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.p2-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.p2-card.featured {
  animation: popIn 0.6s ease both, pulseGlow 4s ease-in-out 0.8s infinite;
}

.p2-card.featured:hover {
  transform: translateY(-10px);
}

.gp-mid .gp-score {
  animation: floatYsm 4s ease-in-out infinite;
}

/* ---------- Decorative blobs ---------- */
.statement {
  position: relative;
  overflow: hidden;
}

.statement::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -50px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
  animation: floatY 12s ease-in-out infinite;
  pointer-events: none;
}

.own {
  position: relative;
  overflow: hidden;
}

.own::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent 70%);
  animation: floatY 14s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- Own panel tab-swap ---------- */
.own-panel.swap {
  animation: panelIn 0.4s ease;
}

/* ---------- CTA animated gradient + confetti ---------- */
.cta2-inner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #1c2b6b, #3b4fb0, #6366f1, #8b5cf6);
  background-size: 220% 220%;
  animation: gradientShift 9s ease infinite;
}

.cta2-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.8) 38%, transparent 40%),
    radial-gradient(circle, rgba(255, 209, 102, 0.9) 38%, transparent 40%),
    radial-gradient(circle, rgba(255, 143, 179, 0.9) 38%, transparent 40%),
    radial-gradient(circle, rgba(143, 217, 168, 0.9) 38%, transparent 40%),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 38%, transparent 40%);
  background-repeat: no-repeat;
  background-size: 10px 10px, 8px 8px, 12px 12px, 9px 9px, 7px 7px;
  background-position: 12% 22%, 86% 18%, 24% 80%, 80% 74%, 60% 40%;
  opacity: 0.5;
  animation: twinkle 5s ease-in-out infinite;
}

.cta2-inner>* {
  position: relative;
  z-index: 1;
}

.cta2.in .contact-copy {
  animation: popIn 0.55s ease both;
}

.cta2.in .contact-form {
  animation: popIn 0.55s ease both;
  animation-delay: 0.1s;
}

/* ---------- Nav link underline ---------- */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .pm-track i {
    left: var(--w, 0);
  }

  .oc-line b {
    width: var(--w);
  }

  .ps-spark polyline {
    stroke-dashoffset: 0;
  }

  .showcase.in .float-chip,
  .showcase.in .profile-row,
  .showcase.in .profile-stat,
  .showcase.in .profile-meter,
  .split.in .bm,
  .press.in .press-marquee,
  .gold.in .aud,
  .gold.in .gp,
  .pricing2.in .p2-card {
    opacity: 1;
    transform: none;
  }

  .press-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }

  .press-dup {
    display: none;
  }
}