/* PredSaúde — seções da home. Depende de site.css. */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(620px, 100svh);
  padding: calc(var(--header-h) + 150px) 0 150px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--ink) 8%, rgb(11 35 80 / 55%) 55%, transparent 80%);
}

/* Monitor-like grid */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 60%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 30% 60%, #000 20%, transparent 75%);
}

.hero__image {
  position: absolute;
  inset: 0 0 auto auto;
  z-index: -2;
  width: auto;
  max-width: none;
  height: 68%;
  opacity: 0.55;
  object-fit: cover;
  object-position: 80% top;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent), linear-gradient(to right, transparent 20%, #000 45%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent), linear-gradient(to right, transparent 20%, #000 45%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.hero__content {
  position: relative;
}

.hero__tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  color: rgb(255 255 255 / 80%);
  font-size: 0.925rem;
}

.live-dot {
  position: relative;
  flex: none;
  top: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vital);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--vital);
  animation: ping 2.4s var(--ease) infinite;
}

.hero__title {
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-size: clamp(2.5rem, 1.6rem + 4.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

/* Wordmark grammar: light + bold, like "Pred" + "Saúde" */
.hero__title-light {
  font-weight: 300;
}

.hero__title-bold {
  font-weight: 700;
}

.hero__lead {
  max-width: 36rem;
  margin-top: 20px;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.hero__chips li {
  padding: 5px 12px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  color: rgb(255 255 255 / 82%);
  font-size: 0.85rem;
}

/* Page-load sequence */
.js .hero__tag,
.js .hero__title > span,
.js .hero__lead,
.js .hero__actions,
.js .hero__chips {
  animation: rise 0.9s var(--ease) both;
}

.js .hero__title > span:nth-child(1) { animation-delay: 0.08s; }
.js .hero__title > span:nth-child(2) { animation-delay: 0.16s; }
.js .hero__lead { animation-delay: 0.26s; }
.js .hero__actions { animation-delay: 0.36s; }
.js .hero__chips { animation-delay: 0.46s; }

/* Heartbeat that becomes a rising indicator line */
.pulse {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 56px;
  height: 90px;
  pointer-events: none;
}

.pulse__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pulse__path {
  fill: none;
  stroke: var(--sky);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgb(0 144 255 / 70%));
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s 0.3s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

.pulse__dot {
  position: absolute;
  left: calc(1380 / 1440 * 100%);
  top: calc(32 / 200 * 100%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 4px rgb(0 144 255 / 45%), 0 0 16px var(--sky);
  opacity: 0;
  animation: fade-in 0.4s 2.8s forwards;
}

.pulse__dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--sky);
  animation: ping 2.4s 3s var(--ease) infinite;
  opacity: 0;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__image {
    height: 80%;
  }
}

@media (min-width: 900px) {
  .hero {
    align-items: center;
    min-height: max(680px, 92vh);
    padding: calc(var(--header-h) + 64px) 0 200px;
  }

  .hero__image {
    height: 100%;
    opacity: 0.9;
    object-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 18%, #000 50%), linear-gradient(to bottom, #000 70%, transparent);
    mask-image: linear-gradient(to right, transparent 18%, #000 50%), linear-gradient(to bottom, #000 70%, transparent);
  }

  .hero::before {
    background: linear-gradient(90deg, var(--ink) 30%, rgb(11 35 80 / 70%) 48%, transparent 68%);
  }

  .hero__content > * {
    max-width: 40rem;
  }

  .pulse {
    bottom: 90px;
    height: 150px;
  }
}

/* ---------- Stats ---------- */

.stats {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}

.stats__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 16px;
  border-color: var(--line);
  border-style: solid;
  border-width: 0;
}

.stat:nth-child(odd) {
  border-right-width: 1px;
}

.stat:nth-child(-n + 2) {
  border-bottom-width: 1px;
}

.stat__icon {
  width: 26px;
  height: 26px;
  margin-bottom: 6px;
  color: var(--sky);
}

.stat__value {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat__value small {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0;
}

.stat__label {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .stats {
    margin-top: -88px;
  }

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

  .stat {
    padding: 32px 28px;
    border-width: 0 1px 0 0 !important;
  }

  .stat:last-child {
    border-right-width: 0 !important;
  }
}

/* ---------- Mission + objective ---------- */

.objective {
  padding-top: 64px;
}

.mission-statement {
  max-width: 54rem;
  margin-bottom: 64px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.mission-statement strong {
  font-weight: 600;
  color: var(--royal);
}

.objective__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 0 14px 52px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 38px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--mist);
  color: var(--royal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.steps strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
}

.steps span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Cycle diagram */
.cycle {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1.02;
  margin-inline: auto;
  color: var(--sky);
}

.cycle__arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  overflow: visible;
}

.cycle__arc,
.cycle__core {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cycle__core {
  stroke: var(--royal);
  stroke-width: 6;
}

.cycle__node {
  position: absolute;
  width: 32%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.cycle__node img {
  width: 100%;
  filter: drop-shadow(0 10px 18px rgb(11 35 80 / 22%));
}

.cycle__node figcaption {
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 6px;
  transform: translateX(-50%);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 0.8rem + 0.3vw, 1rem);
  font-weight: 600;
  white-space: nowrap;
}

.cycle__node--1 { left: 50%; top: 17.5%; }
.cycle__node--2 { left: 78.2%; top: 64%; }
.cycle__node--3 { left: 21.8%; top: 64%; }

@media (min-width: 900px) {
  .objective__grid {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

/* ---------- Solutions ---------- */

.solutions {
  background: var(--mist);
}

.solutions__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

/* Mobile: sticky horizontal chips */
.solutions__nav {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  margin-inline: calc(var(--gutter) * -1);
  padding: 10px 0;
  background: rgb(238 243 250 / 92%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.solutions__tabs {
  display: flex;
  gap: 8px;
  padding-inline: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.solutions__tabs::-webkit-scrollbar {
  display: none;
}

.solutions__group {
  display: none;
}

.tab {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.925rem;
  font-weight: 600;
  text-align: left;
  scroll-snap-align: start;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.tab__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 32px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--mist);
  color: var(--royal);
  transition: background-color 0.25s, color 0.25s;
}

.tab__icon svg {
  width: 17px;
  height: 17px;
}

.tab:hover {
  border-color: var(--royal);
}

.tab[aria-selected="true"] {
  border-color: var(--royal);
  background: var(--royal);
  color: var(--white);
}

.tab[aria-selected="true"] .tab__icon {
  background: var(--white);
  color: var(--royal);
}

/* Panels */
.panel {
  display: grid;
  gap: 24px;
  padding: 16px 16px 28px;
  border-radius: var(--radius-l);
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel:focus-visible {
  outline-offset: 4px;
}

.js .panel + .panel {
  margin-top: 0;
}

.panel + .panel {
  margin-top: 24px;
}

.js .panel[hidden] {
  display: none;
}

.js .panel.is-entering {
  animation: panel-in 0.5s var(--ease) both;
}

.panel__media {
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--mist);
}

.panel__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.panel__media--mockup img {
  padding: 12px;
  object-fit: contain;
}

.panel__body {
  padding-inline: 4px;
}

.panel__kicker {
  color: var(--royal);
  font-size: 0.875rem;
  font-weight: 700;
}

.panel__title {
  margin-top: 4px;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
}

.panel__subtitle {
  font-size: 1.35rem;
  font-weight: 600;
}

.panel__lead {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 1.025rem;
}

.panel__highlight {
  display: grid;
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.panel__highlight img {
  width: 100%;
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
}

/* Checklist: items get "checked" when they enter the screen */
.checklist {
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgb(22 184 146 / 14%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316b892' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.js .checklist li {
  opacity: 0.35;
  transition: opacity 0.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}

.js .checklist li::before {
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i, 0) * 45ms);
}

.js .checklist.is-checked li {
  opacity: 1;
}

.js .checklist.is-checked li::before {
  transform: scale(1);
}

.checklist--light li {
  color: rgb(255 255 255 / 82%);
}

@media (min-width: 640px) {
  .checklist--cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }

  .panel {
    padding: 24px 24px 32px;
  }

  .panel__highlight {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .solutions__layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .solutions__nav {
    top: calc(var(--header-h) + 24px);
    margin: 0;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .solutions__tabs {
    flex-direction: column;
    gap: 2px;
    padding: 0;
    overflow: visible;
  }

  .solutions__group {
    display: block;
    margin: 0 0 8px 12px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
  }

  .solutions__group:not(:first-child) {
    margin-top: 20px;
  }

  .tab {
    width: 100%;
    padding: 8px 12px;
    border-color: transparent;
    border-radius: var(--radius-m);
    background: transparent;
  }

  .tab__icon {
    background: var(--white);
  }

  .tab:hover {
    border-color: transparent;
    background: rgb(0 63 193 / 6%);
  }

  .tab[aria-selected="true"] {
    background: var(--white);
    border-color: var(--line);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .tab[aria-selected="true"] .tab__icon {
    background: var(--royal);
    color: var(--white);
  }

  .panel {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .panel__media img {
    aspect-ratio: 21 / 9;
  }
}

/* ---------- Integration ---------- */

.diagrams {
  display: grid;
  gap: 24px;
}

.diagram {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
}

.diagram__scroll {
  overflow-x: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.diagram__scroll img {
  width: 100%;
  min-width: 640px;
}

.diagram figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.diagram figcaption a {
  font-weight: 700;
}

.pillars {
  display: grid;
  gap: 32px;
  margin-top: 56px;
}

.pillar {
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.pillar__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  color: var(--royal);
}

.pillar h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 600;
}

.pillar p {
  color: var(--muted);
  font-size: 0.975rem;
}

@media (min-width: 640px) {
  .diagram__scroll img {
    min-width: 0;
  }
}

@media (min-width: 900px) {
  .diagrams {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .diagram__scroll {
    padding: 24px;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
  }
}

/* ---------- Features (dark) ---------- */

.features {
  background: var(--ink);
  color: rgb(255 255 255 / 82%);
}

.features .section-title,
.features h3 {
  color: var(--white);
}

.features .section-lead {
  color: rgb(255 255 255 / 70%);
}

.features__grid {
  display: grid;
  gap: 20px;
}

.feature {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius-l);
  background: var(--ink-2);
}

.feature__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d2758;
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature__media {
  position: relative;
}

.feature__media--logo {
  background: var(--white);
}

.feature__media--logo img {
  position: absolute;
  inset: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  object-fit: contain;
}

.feature__body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px 20px 28px;
}

.feature h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.feature__sub {
  margin-top: -6px;
  color: var(--sky);
  font-weight: 700;
}

.feature strong {
  color: var(--white);
}

@media (min-width: 900px) {
  .features__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .feature__body {
    padding: 28px 32px 36px;
  }
}

/* ---------- Updates carousel ---------- */

.updates {
  overflow: hidden;
}

.carousel-controls {
  display: none;
  gap: 10px;
}

.carousel {
  display: flex;
  gap: 16px;
  padding: 8px max(var(--gutter), (100vw - 1200px) / 2 + var(--gutter)) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), (100vw - 1200px) / 2 + var(--gutter));
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.update {
  display: flex;
  flex: none;
  flex-direction: column;
  width: min(84vw, 340px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--white);
  scroll-snap-align: start;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.update:hover {
  border-color: #b9c9e2;
  box-shadow: var(--shadow);
}

.update img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--mist);
}

.update__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.update h3 {
  font-size: 1.075rem;
  font-weight: 600;
  line-height: 1.3;
}

.update p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.925rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.update__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  font-weight: 700;
  text-decoration: none;
}

.update__link::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.update__link:hover {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .carousel-controls {
    display: flex;
  }

  .carousel {
    gap: 24px;
  }

  .update {
    width: 360px;
  }
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding-block: 64px;
  background: var(--royal);
  color: var(--white);
}

/* Echo of the brand hexagon */
.cta::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 50%;
  width: 360px;
  aspect-ratio: 0.866;
  transform: translateY(-50%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%, 50% 0, 50% 12%, 10% 32%, 10% 68%, 50% 88%, 90% 68%, 90% 32%, 50% 12%);
  background: rgb(255 255 255 / 8%);
}

.cta__inner {
  position: relative;
  display: grid;
  gap: 28px;
}

.cta__title {
  color: var(--white);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta__text {
  max-width: 36rem;
  margin-top: 12px;
  color: rgb(255 255 255 / 85%);
  font-size: 1.075rem;
}

.cta__actions {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .cta__actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 900px) {
  .cta {
    padding-block: 88px;
  }

  .cta__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
  }
}

/* ---------- Scroll reveal (home) ---------- */

/* Diagrams: revealed as a left-to-right scan, like data flowing in */
.js [data-reveal="wipe"] {
  transform: none;
  transition: opacity 0.5s var(--ease);
}

.js [data-reveal="wipe"] > * {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s 0.15s cubic-bezier(0.65, 0, 0.35, 1);
}

.js [data-reveal="wipe"].is-visible > * {
  clip-path: inset(0);
}

/* Cycle: prevention → indicators → financial, drawn in order */
.js [data-reveal="cycle"] {
  opacity: 1;
  transform: none;
}

.js .cycle__node {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.5s var(--ease), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js .cycle__arc,
.js .cycle__core {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.js .cycle__arc {
  marker-end: none;
}

.js .cycle.is-visible .cycle__node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.js .cycle.is-visible .cycle__arc,
.js .cycle.is-visible .cycle__core {
  stroke-dashoffset: 0;
}

.js .cycle.is-drawn .cycle__arc {
  marker-end: url(#cycle-head);
}

.cycle__node--1 { transition-delay: 0s !important; }
.cycle__arc--1 { transition-delay: 0.35s !important; }
.cycle__node--2 { transition-delay: 0.8s !important; }
.cycle__arc--2 { transition-delay: 1.15s !important; }
.cycle__node--3 { transition-delay: 1.6s !important; }
.cycle__arc--3 { transition-delay: 1.95s !important; }
.cycle__core { transition-delay: 2.4s !important; transition-duration: 0.9s !important; }

/* ---------- Keyframes ---------- */

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .js .cycle__node,
  .js .checklist li {
    opacity: 1;
    transform: none;
  }

  .js .cycle__node {
    transform: translate(-50%, -50%);
  }

  .js .checklist li::before {
    transform: none;
  }

  .js .cycle__arc,
  .js .cycle__core {
    stroke-dashoffset: 0;
    marker-end: url(#cycle-head);
  }

  .pulse__path {
    stroke-dashoffset: 0;
  }

  .pulse__dot {
    opacity: 1;
  }

  .live-dot::after,
  .pulse__dot::after {
    display: none;
  }
}
