/* Features page (redesign_support_files/VosCast Features - Daylight Glass.dc.html) in Daylight Glass. Loads after
   tokens.css and site.css, on the Features page only ($vcPageCss = 'features'). Sections, glass, buttons, chips,
   the closing panel and the footer are in site.css; js/features.js shows the section tracker. */

:root {
  /* Where the tracker sits (the header's height once the page has scrolled, site.css) and its own height. */
  --vc-track-top: calc(45px + 2 * min(14px, var(--vc-header-pad)));
  --vc-track-h: 59px;
}
/* Jumps and keyboard focus land below the header and the tracker. */
html { scroll-padding-top: calc(var(--vc-track-top) + var(--vc-track-h) + 16px); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Hero: the page's H1, the lead and the jump list, over the shared blobs (site.css). */
.vc-features-hero { position: relative; overflow: hidden; overflow: clip; padding: calc(var(--vc-header-h) + clamp(24px, 3vw, 40px)) 0 clamp(72px, 8vw, 112px); background: var(--bg); }
.vc-features-hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 56px; }
.vc-features-hero__copy { flex: 1 1 560px; min-width: 0; max-width: 780px; }
.vc-features-hero__side { flex: 1 1 320px; min-width: 0; max-width: 400px; }
.vc-features-hero__side .vc-page-lead { margin-top: 0; }
.vc-features-hero__side .vc-btn { margin-top: 24px; }

/* The jump list: one glass panel of six links, ruled into a grid (each cell draws its left and top rule; the
   panel clips the outer ones). */
.vc-jump { margin-top: clamp(44px, 5vw, 64px); }
.vc-jump__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin: 0; padding: 0; overflow: hidden; list-style: none; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-card); background: var(--vc-bright); -webkit-backdrop-filter: var(--vc-glass-blur); backdrop-filter: var(--vc-glass-blur); box-shadow: var(--vc-bright-shadow); }
.vc-jump__list li { display: flex; box-shadow: -1px 0 0 rgba(15,22,38,.1), 0 -1px 0 rgba(15,22,38,.1); }
.vc-jump__link { display: flex; flex: 1; align-items: flex-start; gap: 16px; padding: clamp(20px, 2.2vw, 26px); color: var(--ink); text-decoration: none; transition: background-color .2s; }
.vc-jump__link:hover, .vc-jump__link:focus { background: rgba(255,255,255,.7); color: var(--ink); text-decoration: none; }
/* Inside the ring, which the panel would otherwise clip at its edges. */
.vc-jump__link:focus-visible { outline-offset: -4px; }
.vc-jump__n { flex: none; width: 24px; padding-top: 3px; color: var(--acc-strong); font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.vc-jump__text { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.vc-jump__text strong { font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em; }
.vc-jump__text span { color: var(--mut2); font-size: 15px; text-wrap: pretty; }
.vc-jump__arrow { flex: none; padding-top: 2px; color: var(--mut3); }
.vc-jump__link:hover .vc-jump__arrow { color: var(--acc-strong); }

/* The section tracker: a bar under the header listing the groups, the one on screen lit. Hidden (the hidden
   attribute) until js/features.js starts, then shown while the groups are on screen. The header loses its
   bottom rule meanwhile, so the two read as one bar. */
.vc-tracker { position: fixed; top: var(--vc-track-top); left: 0; right: 0; z-index: 990; padding-bottom: 12px; border-bottom: 1px solid var(--rule); background: var(--glass); -webkit-backdrop-filter: var(--nav-blur); backdrop-filter: var(--nav-blur); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.vc-tracker.is-shown { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.vc-tracking .vc-header { border-bottom-color: transparent; }
.vc-tracker__nav { position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%; padding: 4px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--rule); border-radius: var(--radius-pill); background: rgba(15,22,38,.045); }
.vc-tracker__nav::-webkit-scrollbar { display: none; }
.vc-tracker__nav a { position: relative; flex: none; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--radius-pill); color: var(--ink2); font-size: 14px; line-height: 1; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
/* A 44px tap target: the link reaches into the bar's padding. */
.vc-tracker__nav a::after { content: ""; position: absolute; top: -4px; right: 0; bottom: -4px; left: 0; }
.vc-tracker__nav a:hover, .vc-tracker__nav a:focus { color: var(--acc-strong); text-decoration: none; }
.vc-tracker__nav a:focus-visible { outline-offset: 0; }
.vc-tracker__n { color: var(--mut3); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.vc-tracker__nav a[aria-current] { background: var(--lime); color: var(--on-lime); }
.vc-tracker__nav a[aria-current] .vc-tracker__n { color: var(--on-lime); }

/* The six groups: one column, two from 760px. */
.vc-groups { padding: clamp(72px, 8vw, 112px) 0 clamp(88px, 10vw, 140px); border-bottom: 0; }
.vc-groups__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (min-width: 760px) { .vc-groups__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vc-group { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow-card-soft); }
.vc-group__head { display: flex; align-items: center; gap: 16px; width: 100%; }
.vc-group__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(108,192,36,.45); border-radius: var(--radius-tile); background: var(--lime-soft); color: var(--acc-large); font-family: var(--font-icon); font-size: 24px; font-style: normal; font-weight: normal; line-height: 1; }
.vc-group__title { flex: 1; min-width: 0; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.vc-group__n { flex: none; color: var(--mut3); font-family: var(--font-mono); font-size: 13px; font-weight: 700; }
.vc-group__desc { margin-top: 18px; color: var(--mut); font-size: 17px; text-wrap: pretty; }
.vc-group__list { width: 100%; margin: 22px 0 0; padding: 0; list-style: none; }
.vc-group__list li { position: relative; padding: 13px 0 13px 21px; border-top: 1px solid rgba(15,22,38,.09); }
.vc-group__list li::before { content: ""; position: absolute; top: 22px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.vc-group__item { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--ink); font-size: 16px; }
.vc-group__item strong { font-weight: 700; }
.vc-group__item .vc-chip { letter-spacing: .06em; }
.vc-group__item .vc-chip::before { content: none; }
.vc-group__detail { display: block; margin-top: 2px; color: var(--mut2); font-size: 15px; text-wrap: pretty; }
.vc-group__link { min-height: 44px; margin-top: auto; padding-top: 20px; }
/* js/features.js: the lower half of each card, so the tracker can tell the two halves of a row apart. */
.vc-group__half { position: absolute; top: 50%; bottom: 0; left: 0; width: 1px; pointer-events: none; }

/* Client quote */
.vc-quote { padding: clamp(88px, 10vw, 140px) 0; border-top: 1px solid rgba(15,22,38,.042); }
.vc-quote__figure { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; margin: 0; }
.vc-quote__text { max-width: 1000px; margin: 0; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.16; font-weight: 800; letter-spacing: -0.028em; text-wrap: pretty; }
.vc-quote__text span { color: var(--acc-large); }
.vc-quote__by { display: flex; align-items: center; gap: 14px; color: var(--mut2); font-size: 16px; }
.vc-quote__by::before { content: ""; flex: none; width: 32px; height: 2px; background: var(--lime); }
.vc-quote__by strong { color: var(--ink); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .vc-jump__link, .vc-tracker, .vc-tracker__nav a { transition: none; }
  .vc-tracker { transform: none; }
}
@media print {
  .vc-tracker { display: none; }
}
