/* Theme, founder portrait and page-level controls. Hero motion stays untouched. */

.theme-toggle,
.scroll-top {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  place-items: center;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.theme-toggle:hover,
.scroll-top:hover {
  border-color: rgba(98, 232, 255, .48);
  color: var(--cyan);
  transform: translateY(-2px);
}

.theme-toggle svg,
.scroll-top svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-icon {
  display: grid;
  place-items: center;
}

.theme-icon-moon {
  display: none;
}

.scroll-top {
  position: fixed;
  z-index: 46;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 48px;
  height: 48px;
  border-color: rgba(121, 163, 255, .28);
  background: rgba(10, 17, 29, .86);
  color: #f4f7fb;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
  transform: translateY(14px) scale(.94);
  backdrop-filter: blur(16px);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: none;
}

.scroll-top.is-visible:hover {
  transform: translateY(-3px);
}

.founder-portrait {
  position: relative;
  width: 180px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(121, 163, 255, .24);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .24), 0 0 0 9px rgba(77, 128, 255, .045);
}

.founder-portrait::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, rgba(7, 11, 18, .16));
  content: "";
  pointer-events: none;
}

.founder-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
}

@media (prefers-reduced-motion: no-preference) {
  html.theme-transition body,
  html.theme-transition .topbar,
  html.theme-transition .section,
  html.theme-transition .owner-card,
  html.theme-transition .funnel-track,
  html.theme-transition .funnel-stage,
  html.theme-transition .funnel-detail,
  html.theme-transition .proof-card,
  html.theme-transition .loss-calculator,
  html.theme-transition .capability-card,
  html.theme-transition .comparison-grid,
  html.theme-transition .price-option,
  html.theme-transition .foundation-card,
  html.theme-transition .step-number,
  html.theme-transition .faq-section,
  html.theme-transition .footer {
    transition: color .28s ease, background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f8fc;
  --bg-soft: #edf3f9;
  --surface: rgba(255, 255, 255, .82);
  --surface-solid: #ffffff;
  --line: rgba(38, 66, 105, .13);
  --line-strong: rgba(38, 66, 105, .21);
  --text: #102038;
  --muted: #5d6b7f;
  --muted-strong: #3f5069;
  --blue: #3d68f5;
  --blue-bright: #315ed8;
  --cyan: #006f89;
  --mint: #087b61;
  --red: #d7475e;
  --amber: #946400;
  --ink: #ffffff;
  --shadow: 0 28px 74px rgba(37, 65, 102, .13);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% 7%, rgba(77, 128, 255, .12), transparent 30rem),
    radial-gradient(circle at 14% 33%, rgba(0, 142, 174, .055), transparent 34rem),
    var(--bg);
}

:root[data-theme="light"] body::before {
  opacity: .022;
  mix-blend-mode: multiply;
}

:root[data-theme="light"] .theme-icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-icon-moon {
  display: grid;
}

:root[data-theme="light"] .brand img {
  filter: none;
}

:root[data-theme="light"] .topbar.scrolled {
  background: rgba(247, 250, 254, .86);
  box-shadow: 0 10px 34px rgba(32, 54, 85, .07);
}

:root[data-theme="light"] .topbar:not(.scrolled) .brand img {
  filter: brightness(0) invert(1);
}

:root[data-theme="light"] .topbar:not(.scrolled) .nav-links a {
  color: rgba(224, 233, 246, .8);
}

:root[data-theme="light"] .topbar:not(.scrolled) .nav-links a:hover {
  color: #fff;
}

:root[data-theme="light"] .topbar:not(.scrolled) .nav-cta,
:root[data-theme="light"] .topbar:not(.scrolled) .theme-toggle,
:root[data-theme="light"] .topbar:not(.scrolled) .menu-toggle {
  border-color: rgba(173, 205, 255, .24);
  background: rgba(7, 13, 23, .62);
  color: #f4f7fb;
}

:root[data-theme="light"] .hero {
  --text: #f4f7fb;
  --muted: #9aa9bc;
  --muted-strong: #c0cada;
  --blue-bright: #79a3ff;
  --cyan: #62e8ff;
  --mint: #65f3bd;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(77, 128, 255, .13), transparent 29rem),
    #070b12;
}

:root[data-theme="light"] .funnel-section {
  background:
    linear-gradient(180deg, transparent, rgba(61, 104, 245, .04) 38%, transparent),
    var(--bg-soft);
}

:root[data-theme="light"] .funnel-track,
:root[data-theme="light"] .loss-calculator,
:root[data-theme="light"] .comparison-grid,
:root[data-theme="light"] .foundation-card {
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .funnel-stage {
  border-color: rgba(38, 66, 105, .12);
  background: rgba(246, 249, 253, .9);
}

:root[data-theme="light"] .funnel-stage:hover,
:root[data-theme="light"] .funnel-stage.active {
  border-color: rgba(0, 142, 174, .3);
  background: #fff;
  box-shadow: 0 18px 42px rgba(37, 65, 102, .1);
}

:root[data-theme="light"] .funnel-detail {
  border-color: rgba(215, 71, 94, .2);
  background:
    radial-gradient(circle at 95% 5%, rgba(215, 71, 94, .1), transparent 35%),
    rgba(255, 249, 250, .94);
}

:root[data-theme="light"] .detail-status,
:root[data-theme="light"] .detail-number strong {
  color: #bd3049;
}

:root[data-theme="light"] .proof-card,
:root[data-theme="light"] .capability-card {
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 18px 52px rgba(37, 65, 102, .08);
}

:root[data-theme="light"] .loss-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 71, 94, .07), transparent 30rem),
    radial-gradient(circle at 84% 72%, rgba(61, 104, 245, .08), transparent 30rem),
    #f1f5fa;
}

:root[data-theme="light"] .calc-result {
  --muted-strong: #dbe4f2;
}

:root[data-theme="light"] .capabilities-section,
:root[data-theme="light"] .pricing-section {
  background: #f7f9fc;
}

:root[data-theme="light"] .comparison-section,
:root[data-theme="light"] .steps-section {
  background:
    radial-gradient(circle at 84% 34%, rgba(61, 104, 245, .07), transparent 28rem),
    #eef3f8;
}

:root[data-theme="light"] .comparison-row:first-child {
  background: rgba(38, 66, 105, .035);
}

:root[data-theme="light"] .comparison-row > span:not(:first-child) {
  color: #67768a;
}

:root[data-theme="light"] .comparison-row .medlead-cell {
  color: #17325c !important;
  background: rgba(61, 104, 245, .08);
}

:root[data-theme="light"] .price-option {
  background: rgba(255, 255, 255, .72);
}

:root[data-theme="light"] .price-card,
:root[data-theme="light"] .audit-panel {
  --text: #f4f7fb;
  --muted: #9aa9bc;
  --muted-strong: #c0cada;
  --cyan: #62e8ff;
  --mint: #65f3bd;
  color: var(--text);
}

:root[data-theme="light"] .foundation-section {
  background:
    radial-gradient(circle at 18% 50%, rgba(61, 104, 245, .08), transparent 25rem),
    #f4f7fb;
}

:root[data-theme="light"] .founder-portrait {
  box-shadow: 0 22px 54px rgba(37, 65, 102, .14), 0 0 0 9px rgba(61, 104, 245, .045);
}

:root[data-theme="light"] .step-number {
  background: #fff;
  box-shadow: 0 16px 38px rgba(37, 65, 102, .09);
}

:root[data-theme="light"] .scroll-top {
  border-color: rgba(38, 66, 105, .16);
  background: rgba(255, 255, 255, .9);
  color: #183153;
  box-shadow: 0 16px 40px rgba(37, 65, 102, .16);
}

@media (max-width: 900px) {
  :root[data-theme="light"] .topbar {
    background: rgba(7, 11, 18, .78);
  }

  :root[data-theme="light"] .topbar.scrolled {
    background: rgba(247, 250, 254, .92);
  }

  :root[data-theme="light"] .topbar.scrolled .nav-links {
    background: rgba(255, 255, 255, .98);
  }

  :root[data-theme="light"] .topbar:not(.scrolled) .nav-links {
    background: rgba(9, 14, 23, .98);
  }
}

@media (max-width: 620px) {
  .theme-toggle {
    width: 42px;
    height: 42px;
    margin-left: auto;
  }

  .scroll-top {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
  }

  .founder-portrait {
    width: min(180px, 62vw);
    margin-inline: auto;
    border-radius: 30px;
  }

  :root[data-theme="light"] .hero .hero-copy::before {
    background: linear-gradient(90deg, rgba(7, 11, 18, .94) 0%, rgba(7, 11, 18, .78) 48%, rgba(7, 11, 18, .28) 78%, transparent 100%);
  }
}

/* Data ecosystem */

.ecosystem-section {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 48%, rgba(77, 128, 255, .12), transparent 28rem),
    linear-gradient(180deg, rgba(14, 23, 38, .26), rgba(8, 13, 22, .72));
}

.ecosystem-heading {
  max-width: 860px;
  margin: 0 auto 54px;
  text-align: center;
}

.ecosystem-heading .section-kicker {
  margin-bottom: 18px;
}

.ecosystem-heading h2 {
  margin-inline: auto;
}

.ecosystem-heading .section-intro {
  margin-inline: auto;
}

.ecosystem-map {
  position: relative;
  display: grid;
  grid-template-areas:
    "ads core mis"
    "messages core phone";
  grid-template-columns: minmax(230px, 1fr) 280px minmax(230px, 1fr);
  grid-template-rows: repeat(2, minmax(116px, auto));
  align-items: center;
  max-width: 1090px;
  margin-inline: auto;
  gap: 30px 74px;
  isolation: isolate;
}

.ecosystem-lines {
  position: absolute;
  z-index: -1;
  inset: -20px 0;
  width: 100%;
  height: calc(100% + 40px);
  overflow: visible;
  pointer-events: none;
}

.ecosystem-lines path {
  fill: none;
  stroke: url(#ecosystem-flow);
  stroke-dasharray: 7 10;
  stroke-linecap: round;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.ecosystem-source {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 27, 44, .84);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
  gap: 16px;
}

.ecosystem-source::after {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: var(--cyan);
  content: "";
  box-shadow: 0 0 14px rgba(98, 232, 255, .7);
  transform: translateY(-50%);
}

.ecosystem-ads { grid-area: ads; }
.ecosystem-messages { grid-area: messages; }
.ecosystem-mis { grid-area: mis; }
.ecosystem-phone { grid-area: phone; }

.ecosystem-ads::after,
.ecosystem-messages::after {
  right: -4px;
}

.ecosystem-mis::after,
.ecosystem-phone::after {
  left: -4px;
}

.ecosystem-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 15px;
  place-items: center;
}

.ecosystem-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.ecosystem-icon.icon-blue { background: rgba(77, 128, 255, .14); color: #79a3ff; }
.ecosystem-icon.icon-mint { background: rgba(101, 243, 189, .12); color: var(--mint); }
.ecosystem-icon.icon-violet { background: rgba(139, 117, 255, .14); color: #a897ff; }
.ecosystem-icon.icon-amber { background: rgba(255, 202, 104, .12); color: var(--amber); }

.ecosystem-source span:last-child {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.ecosystem-source strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.25;
}

.ecosystem-source small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.ecosystem-core {
  position: relative;
  display: grid;
  grid-area: core;
  width: 248px;
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid rgba(173, 205, 255, .26);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, .14), transparent 35%),
    linear-gradient(145deg, rgba(25, 41, 67, .98), rgba(8, 15, 27, .98));
  box-shadow: 0 28px 75px rgba(0, 0, 0, .3), 0 0 70px rgba(77, 128, 255, .12);
  place-content: center;
  place-items: center;
}

.ecosystem-core::before {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(98, 232, 255, .11);
  border-radius: inherit;
  content: "";
}

.ecosystem-core img {
  position: relative;
  z-index: 1;
  display: block;
  width: 158px;
  height: auto;
  filter: brightness(0) invert(1);
}

.ecosystem-core small {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ecosystem-orbit {
  position: absolute;
  border: 1px solid rgba(121, 163, 255, .14);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one { inset: -20px; }
.orbit-two { inset: -42px; border-color: rgba(98, 232, 255, .07); }

.ecosystem-result {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 58px auto 0;
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 22, 36, .7);
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  gap: 15px;
}

.ecosystem-result i {
  width: clamp(18px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, rgba(77, 128, 255, .25), var(--cyan));
}

/* Cabinet report showcase */

.reports-section {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 22%, rgba(77, 128, 255, .09), transparent 30rem),
    #080d16;
}

.report-showcase {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 12px;
  border: 1px solid rgba(173, 205, 255, .16);
  border-radius: 30px;
  background: rgba(11, 19, 32, .88);
  box-shadow: 0 38px 95px rgba(0, 0, 0, .28);
  gap: 12px;
}

.report-tabs {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 8px;
}

.report-tab {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 130px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 19px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color .22s ease, background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.report-tab::after {
  position: absolute;
  top: 22px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  color: var(--cyan);
  content: "";
  opacity: 0;
  transform: translateX(-5px) rotate(45deg);
  transition: opacity .2s ease, transform .2s ease;
}

.report-tab:hover {
  background: rgba(255, 255, 255, .025);
}

.report-tab.is-active {
  border-color: rgba(98, 232, 255, .2);
  background:
    linear-gradient(135deg, rgba(77, 128, 255, .17), rgba(98, 232, 255, .055)),
    rgba(255, 255, 255, .025);
  box-shadow: inset 3px 0 var(--cyan);
}

.report-tab.is-active::after {
  opacity: 1;
  transform: rotate(45deg);
}

.report-tab > span {
  align-self: start;
  color: var(--blue-bright);
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  letter-spacing: .1em;
}

.report-tab strong {
  align-self: end;
  margin-top: 18px;
  padding-right: 22px;
  font-size: 15px;
}

.report-tab small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.report-stage {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(173, 205, 255, .13);
  border-radius: 22px;
  background: #0b1220;
}

.report-stage-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(173, 205, 255, .12);
  color: #8190a5;
  gap: 16px;
}

.report-stage-bar > span {
  display: flex;
  gap: 6px;
}

.report-stage-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #354159;
}

.report-stage-bar i:first-child { background: #ff6d7c; }
.report-stage-bar i:nth-child(2) { background: #ffca68; }
.report-stage-bar i:last-child { background: #65f3bd; }

.report-stage-bar strong {
  color: #aeb9c8;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: .05em;
}

.report-stage-bar em {
  justify-self: end;
  color: var(--mint);
  font-size: 9px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.report-panel[hidden] {
  display: none;
}

.report-panel {
  animation: report-panel-in .34s ease both;
}

.report-image-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e9eef6;
}

.report-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.report-image-link > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: rgba(7, 11, 18, .76);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  opacity: 0;
  transform: translateY(5px);
  backdrop-filter: blur(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.report-image-link:hover img,
.report-image-link:focus-visible img {
  transform: scale(1.012);
}

.report-image-link:hover > span,
.report-image-link:focus-visible > span {
  opacity: 1;
  transform: none;
}

.report-caption {
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(280px, 1.28fr);
  align-items: start;
  padding: 22px 24px 24px;
  border-top: 1px solid rgba(173, 205, 255, .1);
  gap: 28px;
}

.report-caption strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.report-caption span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.report-proofline {
  display: flex;
  align-items: center;
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(14, 23, 38, .62);
  gap: 28px;
}

.report-proofline span {
  color: var(--muted);
  font-size: 12px;
}

.report-proofline strong {
  margin-right: 6px;
  color: var(--text);
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.report-proofline a {
  margin-left: auto;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 650;
}

/* Weekly mobile report inside the capabilities mosaic */

.capability-report-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 206px;
  min-height: 330px;
  padding: 30px 26px 0 30px;
  background:
    radial-gradient(circle at 92% 28%, rgba(77, 128, 255, .3), transparent 35%),
    linear-gradient(135deg, #172b5a, #0c172c 72%);
  color: #f4f7fb;
  gap: 24px;
}

.capability-report-card::after {
  top: -50px;
  right: -35px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(98, 232, 255, .18), transparent 70%);
}

.capability-report-copy {
  align-self: center;
  padding-bottom: 30px;
}

.capability-report-card h3 {
  color: #f4f7fb;
}

.capability-report-card p {
  color: #b9c7d9;
}

.report-delivery {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  color: #a7b6ca;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  gap: 8px;
}

.report-delivery i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65f3bd;
  box-shadow: 0 0 10px rgba(101, 243, 189, .68);
}

.phone-report {
  align-self: end;
  min-height: 286px;
  padding: 13px 14px 16px;
  border: 5px solid #273753;
  border-bottom: 0;
  border-radius: 27px 27px 0 0;
  background: #09111f;
  box-shadow: 0 0 0 1px rgba(98, 232, 255, .11), 0 0 34px rgba(77, 128, 255, .24);
  color: #eef5ff;
}

.phone-report-top,
.phone-report-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-report-top {
  color: #75859d;
  font-size: 8px;
}

.phone-report-top i {
  width: 34px;
  height: 8px;
  border-radius: 999px;
  background: #02060d;
}

.phone-report-brand {
  margin: 18px 0 20px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.phone-report-brand em {
  color: #65f3bd;
  font-size: 7px;
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.phone-report > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
}

.phone-report dl {
  margin: 0;
  padding: 8px 10px;
  border-radius: 9px;
  background: #121d30;
}

.phone-report dl div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 8px;
}

.phone-report dt { color: #8290a4; }
.phone-report dd { margin: 0; color: #f3f7fd; font-weight: 700; }
.phone-report dl div:last-child dd { color: #65f3bd; }

.phone-report > p {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 8px;
  border: 1px solid rgba(255, 109, 124, .22);
  border-radius: 8px;
  background: rgba(255, 109, 124, .07);
  color: #e3b0b8;
  font-size: 7px;
  gap: 7px;
}

.phone-report > p span {
  display: grid;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 109, 124, .16);
  color: #ff8794;
  font-weight: 800;
  place-items: center;
}

.phone-report-button {
  display: block;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(77, 128, 255, .18);
  color: #91b3ff;
  font-size: 7px;
  text-align: center;
}

@keyframes report-panel-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

@keyframes ecosystem-flow {
  to { stroke-dashoffset: -34; }
}

@media (prefers-reduced-motion: no-preference) {
  .ecosystem-lines path {
    animation: ecosystem-flow 2.8s linear infinite;
  }

  html.theme-transition .ecosystem-section,
  html.theme-transition .ecosystem-source,
  html.theme-transition .ecosystem-core,
  html.theme-transition .ecosystem-result,
  html.theme-transition .reports-section,
  html.theme-transition .report-showcase,
  html.theme-transition .report-tab,
  html.theme-transition .report-proofline {
    transition: color .28s ease, background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
  }
}

/* Light theme for the new product-proof sections */

:root[data-theme="light"] .ecosystem-section {
  background:
    radial-gradient(circle at 50% 48%, rgba(61, 104, 245, .09), transparent 28rem),
    #f2f6fb;
}

:root[data-theme="light"] .ecosystem-source {
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 46px rgba(37, 65, 102, .08);
}

:root[data-theme="light"] .ecosystem-source::after {
  border-color: #f2f6fb;
}

:root[data-theme="light"] .ecosystem-core {
  border-color: rgba(38, 66, 105, .12);
  background:
    radial-gradient(circle at 35% 28%, #fff, transparent 38%),
    linear-gradient(145deg, #fff, #f1f6fc);
  box-shadow: 0 28px 65px rgba(37, 65, 102, .14), 0 0 60px rgba(61, 104, 245, .07);
}

:root[data-theme="light"] .ecosystem-core img {
  filter: none;
}

:root[data-theme="light"] .ecosystem-result,
:root[data-theme="light"] .report-proofline {
  background: rgba(255, 255, 255, .78);
}

:root[data-theme="light"] .reports-section {
  background:
    radial-gradient(circle at 78% 22%, rgba(61, 104, 245, .08), transparent 30rem),
    #edf3f9;
}

:root[data-theme="light"] .report-showcase {
  border-color: rgba(38, 66, 105, .13);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 32px 80px rgba(37, 65, 102, .13);
}

:root[data-theme="light"] .report-tab:hover {
  background: rgba(61, 104, 245, .035);
}

:root[data-theme="light"] .report-tab.is-active {
  border-color: rgba(61, 104, 245, .16);
  background: linear-gradient(135deg, rgba(61, 104, 245, .1), rgba(0, 111, 137, .035));
}

:root[data-theme="light"] .report-stage {
  border-color: rgba(38, 66, 105, .14);
  background: #f8fbff;
}

:root[data-theme="light"] .report-stage-bar {
  border-bottom-color: rgba(38, 66, 105, .1);
  background: #fff;
}

:root[data-theme="light"] .report-stage-bar strong {
  color: #617086;
}

:root[data-theme="light"] .report-caption {
  border-top-color: rgba(38, 66, 105, .1);
}

:root[data-theme="light"] .capability-report-card {
  background:
    radial-gradient(circle at 92% 28%, rgba(77, 128, 255, .3), transparent 35%),
    linear-gradient(135deg, #172b5a, #0c172c 72%);
  box-shadow: 0 20px 58px rgba(37, 65, 102, .16);
}

@media (max-width: 1080px) {
  .ecosystem-map {
    grid-template-columns: minmax(210px, 1fr) 230px minmax(210px, 1fr);
    gap: 26px 44px;
  }

  .ecosystem-core {
    width: 218px;
  }

  .report-showcase {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .report-tab {
    min-height: 122px;
    padding: 17px;
  }
}

@media (max-width: 900px) {
  .ecosystem-heading {
    margin-bottom: 38px;
  }

  .ecosystem-map {
    grid-template-areas:
      "core core"
      "ads mis"
      "messages phone";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 16px;
  }

  .ecosystem-lines,
  .ecosystem-source::after,
  .ecosystem-orbit {
    display: none;
  }

  .ecosystem-core {
    width: 196px;
    margin-bottom: 18px;
  }

  .ecosystem-result {
    margin-top: 34px;
  }

  .report-showcase {
    grid-template-columns: 1fr;
  }

  .report-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .report-tab {
    min-height: 138px;
  }

  .report-stage {
    border-radius: 19px;
  }

  .report-proofline {
    flex-wrap: wrap;
  }

  .report-proofline a {
    flex-basis: 100%;
    margin-left: 0;
  }

  .capability-report-card {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
}

@media (max-width: 620px) {
  .ecosystem-map {
    grid-template-areas:
      "core"
      "ads"
      "messages"
      "mis"
      "phone";
    grid-template-columns: 1fr;
  }

  .ecosystem-source {
    min-height: 84px;
    padding: 17px;
    border-radius: 17px;
  }

  .ecosystem-core {
    width: 178px;
  }

  .ecosystem-core img {
    width: 132px;
  }

  .ecosystem-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
    text-align: center;
    gap: 12px;
  }

  .ecosystem-result i {
    display: none;
  }

  .report-showcase {
    margin-inline: -4px;
    padding: 7px;
    border-radius: 22px;
  }

  .report-tabs {
    display: flex;
    flex-direction: row;
    margin-right: -7px;
    padding: 4px 4px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .report-tab {
    min-width: 218px;
    min-height: 120px;
    padding: 16px;
    scroll-snap-align: start;
  }

  .report-tab strong {
    margin-top: 12px;
  }

  .report-stage-bar {
    grid-template-columns: auto 1fr;
    padding: 0 12px;
  }

  .report-stage-bar strong {
    justify-self: end;
    font-size: 8px;
  }

  .report-stage-bar em {
    display: none;
  }

  .report-image-link > span {
    right: 9px;
    bottom: 9px;
    padding: 8px 9px;
    opacity: 1;
    transform: none;
  }

  .report-caption {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 8px;
  }

  .report-proofline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 17px;
    gap: 16px;
  }

  .report-proofline span:nth-child(3),
  .report-proofline a {
    grid-column: 1 / -1;
  }

  .capability-report-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 25px 25px 0;
  }

  .capability-report-copy {
    padding-bottom: 0;
  }

  .phone-report {
    width: min(230px, 88%);
    margin: 6px auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .report-panel {
    animation: none;
  }

  .report-image-link img {
    transition: none;
  }
}

/* Privacy links, form consent and cookie preferences */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  margin-top: 16px;
  color: #8e9cb0;
  font-size: 11px;
  line-height: 1.5;
  cursor: pointer;
  gap: 9px;
}

.privacy-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: #62e8ff;
}

.privacy-consent a,
.footer-legal a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(98, 232, 255, .36);
  text-underline-offset: 3px;
}

.privacy-consent a:hover,
.footer-legal a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  gap: 8px 14px;
}

.footer-legal a,
.footer-cookie-settings {
  color: var(--muted);
  font: inherit;
  font-size: 11px;
}

.footer-cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(155, 176, 204, .36);
  text-underline-offset: 3px;
}

.footer-cookie-settings:hover {
  color: var(--cyan);
  text-decoration-color: currentColor;
}

.cookie-consent {
  position: fixed;
  z-index: 90;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  padding: 0 max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__card {
  display: flex;
  width: min(100%, 1240px);
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 18px 22px;
  border: 1px solid rgba(162, 203, 255, .22);
  border-radius: 20px;
  background:
    linear-gradient(115deg, rgba(19, 36, 61, .95), rgba(9, 17, 30, .94)),
    #0a1220;
  box-shadow: 0 22px 72px rgba(0, 0, 0, .36), inset 0 1px rgba(255, 255, 255, .06);
  color: #f5f8fe;
  pointer-events: auto;
  backdrop-filter: blur(18px);
  gap: 24px;
}

.cookie-consent__copy {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  max-width: 740px;
  gap: 14px;
}

.cookie-consent__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(98, 232, 255, .28);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(77, 128, 255, .24), rgba(98, 232, 255, .09));
  color: #7deeff;
  place-items: center;
}

.cookie-consent__icon svg,
.cookie-settings-trigger svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cookie-consent__copy p {
  margin: 0;
  color: #e7edf7;
  font-size: 13px;
  line-height: 1.52;
}

.cookie-consent__copy .cookie-consent__legal {
  margin-top: 4px;
  color: #9fadc1;
  font-size: 11px;
}

.cookie-consent a,
.cookie-dialog a {
  color: #8aeaff;
  text-decoration: underline;
  text-decoration-color: rgba(138, 234, 255, .42);
  text-underline-offset: 3px;
}

.cookie-consent a:hover,
.cookie-dialog a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}

.cookie-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #f6f9ff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.cookie-button:hover {
  transform: translateY(-2px);
}

.cookie-button--primary {
  background: linear-gradient(125deg, #4678ff, #50b6ff 68%, #5de8e7);
  box-shadow: 0 10px 24px rgba(77, 128, 255, .24), inset 0 1px rgba(255, 255, 255, .28);
}

.cookie-button--primary:hover {
  box-shadow: 0 14px 28px rgba(77, 128, 255, .34), inset 0 1px rgba(255, 255, 255, .3);
}

.cookie-button--quiet {
  border-color: rgba(173, 205, 255, .22);
  background: rgba(255, 255, 255, .035);
}

.cookie-button--quiet:hover {
  border-color: rgba(98, 232, 255, .44);
  background: rgba(98, 232, 255, .08);
}

.cookie-settings-trigger {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(173, 205, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .035);
  color: #dceaff;
  cursor: pointer;
  place-items: center;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}

.cookie-settings-trigger:hover {
  border-color: rgba(98, 232, 255, .48);
  background: rgba(98, 232, 255, .08);
  transform: rotate(28deg);
}

.cookie-dialog {
  width: min(calc(100% - 32px), 560px);
  max-height: min(760px, calc(100dvh - 32px));
  padding: 0;
  border: 1px solid rgba(162, 203, 255, .25);
  border-radius: 24px;
  overflow: auto;
  background:
    radial-gradient(circle at 96% 0, rgba(77, 128, 255, .22), transparent 34%),
    #101c30;
  box-shadow: 0 28px 100px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .07);
  color: #f5f8fe;
}

.cookie-dialog::backdrop {
  background: rgba(3, 7, 14, .7);
  backdrop-filter: blur(6px);
}

.cookie-dialog__panel {
  position: relative;
  padding: 32px;
}

.cookie-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(173, 205, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  color: #d9e6f7;
  cursor: pointer;
  font-size: 23px;
  font-weight: 300;
  line-height: 1;
  place-items: center;
}

.cookie-dialog__close:hover {
  border-color: rgba(98, 232, 255, .45);
  color: #fff;
}

.cookie-dialog__eyebrow {
  margin: 0 0 10px;
  color: #8aeaff;
  font-family: "Unbounded", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cookie-dialog h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -.045em;
}

.cookie-dialog h2 + p {
  margin: 15px 0 22px;
  color: #b2bed0;
  font-size: 13px;
  line-height: 1.6;
}

.cookie-options {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
  gap: 9px;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border: 1px solid rgba(173, 205, 255, .14);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  cursor: pointer;
  gap: 18px;
}

.cookie-option > span {
  display: grid;
  gap: 4px;
}

.cookie-option strong {
  color: #f4f7fb;
  font-size: 13px;
}

.cookie-option small {
  color: #9eacbf;
  font-size: 11px;
  line-height: 1.4;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: #62e8ff;
}

.cookie-dialog__actions {
  display: flex;
  margin-top: 22px;
  gap: 9px;
}

.cookie-dialog__actions .cookie-button {
  flex: 1 1 0;
}

.cookie-dialog__legal {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
  color: #718096;
  font-size: 11px;
  gap: 9px;
}

:root[data-theme="light"] .footer-legal a,
:root[data-theme="light"] .footer-cookie-settings {
  color: #53657c;
}

:root[data-theme="light"] .privacy-consent {
  color: #62718a;
}

@media (max-width: 1080px) {
  .footer-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-legal {
    order: 4;
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  .cookie-consent__card {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 620px) {
  .privacy-consent {
    font-size: 10px;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .cookie-consent {
    padding: 0 12px max(12px, env(safe-area-inset-bottom));
  }

  .cookie-consent__card {
    padding: 16px;
    border-radius: 18px;
    gap: 16px;
  }

  .cookie-consent__copy {
    gap: 11px;
  }

  .cookie-consent__icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .cookie-consent__copy p {
    font-size: 12px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr 42px;
    gap: 7px;
  }

  .cookie-button {
    min-height: 41px;
    padding: 0 8px;
    font-size: 10px;
  }

  .cookie-dialog__panel {
    padding: 28px 20px 20px;
  }

  .cookie-dialog__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-button,
  .cookie-settings-trigger {
    transition: none;
  }
}
