/* v58, home: the hero's support thread, the number carousel with filling bars, and the comparison. */

/* Hero (v58e): type-led, one column. The river is the only picture; it climbs through the right half and never
   crosses the copy at desktop widths. */
.flow-hero .rise-grid.solo { display: block; min-height: 640px; padding-top: 96px; padding-bottom: 200px; }
.rise-grid.solo .rise-copy { max-width: 860px; }
.flow-hero .rise-grid.solo .display { max-width: 11ch; font-size: clamp(52px, 7.4vw, 112px); line-height: .98; letter-spacing: -.055em; white-space: normal; }
.flow-hero .rise-grid.solo .sub { margin-top: 28px; max-width: 28em; font-size: 21px; line-height: 1.5; color: #425466; }
.flow-hero .rise-grid.solo .hero-cta { margin-top: 38px; }
@media (max-width: 960px) { .flow-hero canvas.flow { top: 60% !important; height: 40% !important; } .flow-hero .rise-grid.solo { min-height: 0; padding-top: 40px; padding-bottom: 200px; } .flow-hero .rise-grid.solo .sub { font-size: 18px; } }

/* The number carousel: under the numbers, a bar per number fills while it shows, then the next number takes over */
.carousel .chrome-adapt { z-index: 2; transition: opacity .35s; } .carousel.swap .chrome-adapt { opacity: 0; }
.carousel .slides { z-index: 1; }
.dots-nav { gap: 28px; bottom: 40px; }
.dots-nav button { display: block; width: 150px; height: auto; padding: 0 0 2px; border: 0; border-radius: 0; background: none; font: 500 14.5px var(--font); text-align: left; color: rgba(255, 255, 255, .86); text-shadow: 0 1px 2px rgba(6, 21, 54, .3); cursor: pointer; transition: color .3s; }
.dots-nav button i { position: relative; display: block; height: 3px; margin-bottom: 11px; border-radius: 2px; background: rgba(255, 255, 255, .32); overflow: hidden; }
.dots-nav button i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.dots-nav button[aria-current="true"] { background: none; color: #fff; }
.dots-nav button[aria-current="true"] i::after { animation: barFill 6s linear both; } @keyframes barFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carousel:hover .dots-nav button[aria-current="true"] i::after, .carousel:focus-within .dots-nav button[aria-current="true"] i::after { animation-play-state: paused; }
.dots-nav button:focus-visible { outline: 2px solid #fff; outline-offset: 6px; border-radius: 2px; }
@media (max-width: 560px) { .dots-nav { gap: 14px; left: 20px; right: 20px; transform: none; } .dots-nav button { flex: 1; width: auto; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .dots-nav button[aria-current="true"] i::after { animation: none; transform: none; } }

/* The comparison: two columns side by side. The usual contract on a quiet panel, Trace on a raised one */
.vs { position: relative; display: grid; margin: 10px 0 0; padding: 0 64px; isolation: isolate; }
.vs::before, .vs::after { content: ""; position: absolute; z-index: -1; top: -6px; bottom: -6px; border-radius: 14px; }
.vs::before { left: calc(64px + (100% - 128px) * .24 + 14px); width: calc((100% - 128px) * .34 - 28px); background: #f5f7fb; box-shadow: inset 0 0 0 1px rgba(10, 37, 64, .05); }
.vs::after { right: 64px; width: calc((100% - 128px) * .42); top: -18px; bottom: -18px; background: #fff linear-gradient(90deg, #22b8ff, #2f6bff 50%, #7b5cff) 0 0 / 100% 3px no-repeat; box-shadow: 0 0 0 1px rgba(10, 37, 64, .07), 0 40px 80px -36px rgba(20, 35, 110, .45); }
.vs > div { display: grid; grid-template-columns: 24% calc(34% - 28px) 42%; column-gap: 14px; align-items: center; }
.vs > div + div > * { border-top: 1px solid var(--line); } .vs > div:nth-child(2) > * { border-top: 0; }
.vs b, .vs span { padding: 20px 26px; font-size: 17px; line-height: 1.4; } .vs b { padding-left: 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.vs span { color: #6b7a96; } .vs span.t { position: relative; padding-left: 60px; font-weight: 500; color: var(--ink); }
.vs > div:not(.vs-h) span.t::before { content: ""; position: absolute; left: 26px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; background: #e8f0ff; }
.vs > div:not(.vs-h) span.t::after { content: ""; position: absolute; left: 32px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.vs-h span { padding-top: 22px; padding-bottom: 20px; font-size: 16px; font-weight: 600; color: var(--ink); } .vs-h small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; color: var(--muted); }
.vs-h .t { font-weight: 600; display: grid !important; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center; padding-left: 26px !important; font-size: 17px; } .vs-h .t img { grid-row: 1 / 3; } .vs-h .t small { grid-column: 2; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 960px) {
  .vs { padding: 0; } .vs::before { display: none; } .vs::after { left: 0; right: 0; width: auto; }
  .vs > div { grid-template-columns: 1fr; padding: 16px 20px; } .vs > div + div > * { border-top: 0; } .vs > div + div { border-top: 1px solid var(--line); }
  .vs b, .vs span { padding: 3px 0; } .vs span { font-size: 15px; } .vs span:not(.t) { text-decoration: line-through; text-decoration-color: rgba(107, 122, 150, .5); }
  .vs span.t { padding-left: 30px; font-size: 16px; } .vs > div:not(.vs-h) span.t::before { left: 0; } .vs > div:not(.vs-h) span.t::after { left: 6px; } .vs-h { display: none !important; }
}
