﻿/* =====================================================================
   cloudeVITA "Fresh" layer — loads after vita.css.
   Research-led sections (each layout used once on the Home page) and a
   single recurring motif: the ECG heartbeat line from the logo.
   ===================================================================== */

:root {
    --vx-teal:      #0B8A7E;
    --vx-teal-2:    #12B3A3;
    --vx-teal-50:   #E7F8F4;
    --vx-teal-100:  #C6EEE6;
    --vx-deep:      #062F33;
    --vx-coral:     #FF6B3D;
    --vx-coral-text:#C2410C;
    --vx-coral-50:  #FFF0E8;
    --vx-sky-50:    #EAF4FF;
    --vx-lilac-50:  #F1EEFF;
    --vx-sun-50:    #FFF8E1;
}
.vx-btn--primary { background: var(--vx-teal); }
.vx-btn--primary:hover { background: #087267; }

/* ---------- the motif: ECG line ---------- */
.vx-ecgline { display: block; width: 100%; height: 40px; color: var(--vx-coral); }
.vx-ecgline path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: vxDraw 3s ease forwards; }
.vx-js .vx-reveal:not(.is-in) .vx-ecgline path { animation: none; }
@keyframes vxDraw { to { stroke-dashoffset: 0; } }

/* ---------- announcement bar ---------- */
.vx-announce { background: linear-gradient(90deg, #FFF0E8, #FFE4D6); border-bottom: 1px solid #FBD3C1; }
.vx-announce .vx-wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; padding-top: 11px; padding-bottom: 11px; font-size: 14px; color: var(--vx-ink); }
.vx-announce b { padding: 3px 9px; border-radius: 999px; background: var(--vx-coral); color: #fff; font-size: 11px; letter-spacing: .06em; }
.vx-announce a { color: var(--vx-coral-text); font-weight: 700; text-decoration: none; }
.vx-announce a:hover { text-decoration: underline; }

/* ---------- 1. full-bleed photo hero ---------- */
.vx-fhero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: 680px; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 0; }
.vx-fhero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.vx-fhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,47,51,.92) 0%, rgba(6,47,51,.78) 38%, rgba(6,47,51,.15) 75%), linear-gradient(0deg, rgba(6,47,51,.85) 0%, rgba(6,47,51,0) 45%); }
.vx-fhero > .vx-wrap { width: 100%; }
.vx-fhero__copy { max-width: 680px; display: flex; flex-direction: column; gap: 24px; }
.vx-fhero .vx-eyebrow { color: #9CEBDD; }
.vx-fhero h1 { font-family: var(--vx-ff-head); font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -.04em; font-weight: 800; margin: 0; }
.vx-fhero h1 span { color: #9CEBDD; }
.vx-fhero p { font-size: 19px; line-height: 1.65; color: #D9EFEC; max-width: 560px; }
.vx-btn--ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vx-btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.vx-fhero__ecg { width: min(520px, 90%); margin-top: 8px; color: var(--vx-coral); }
.vx-glass { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.18); background: rgba(6,47,51,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.vx-glass > div { padding: 26px 28px; border-left: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 2px; }
.vx-glass > div:first-child { border-left: 0; }
.vx-glass dd b, .vx-glass dd span { display: block; }
.vx-glass b { font-family: var(--vx-ff-head); font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.vx-glass span { font-size: 14px; color: #BFE3DD; }
.vx-glass > div:last-child b { color: #FFB59A; }

/* ---------- 2. audience choice tiles ---------- */
.vx-choose { position: relative; z-index: 3; padding: 56px 0 24px; }
.vx-choose__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 22px; }
.vx-choose__head h2 { font-family: var(--vx-ff-head); font-size: 24px; font-weight: 700; margin: 0; }
.vx-choose__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.vx-choice { position: relative; display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: 22px; text-decoration: none; color: var(--vx-ink); border: 1.5px solid transparent; transition: transform .25s, border-color .25s, box-shadow .25s; }
.vx-choice:hover { transform: translateY(-4px); border-color: currentColor; box-shadow: 0 24px 40px -28px rgba(6,47,51,.45); color: var(--vx-ink); }
.vx-choice:nth-child(1) { background: var(--vx-teal-50); }
.vx-choice:nth-child(2) { background: var(--vx-coral-50); }
.vx-choice:nth-child(3) { background: var(--vx-sky-50); }
.vx-choice img { width: 84px; height: 84px; border-radius: 18px; object-fit: cover; flex: none; }
.vx-choice h3 { font-family: var(--vx-ff-head); font-size: 19px; margin: 0 0 4px; }
.vx-choice p { font-size: 14px; color: var(--vx-muted); line-height: 1.5; margin: 0; }
.vx-choice__go { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; flex: none; transition: transform .25s; }
.vx-choice:hover .vx-choice__go { transform: rotate(-45deg); }

/* ---------- 3. ticker marquee ---------- */
.vx-ticker { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--vx-line); border-bottom: 1px solid var(--vx-line); background: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.vx-ticker__track { display: flex; gap: 44px; width: max-content; animation: vxMarquee 38s linear infinite; }
.vx-ticker:hover .vx-ticker__track { animation-play-state: paused; }
.vx-ticker__track span { display: inline-flex; align-items: center; gap: 12px; font-family: var(--vx-ff-head); font-size: 22px; font-weight: 600; color: var(--vx-ink); white-space: nowrap; }
.vx-ticker__track span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--vx-coral); transform: rotate(45deg); }
.vx-ticker__track span:nth-child(3n+2)::before { background: var(--vx-teal-2); }
.vx-ticker__track span:nth-child(3n)::before { background: var(--vx-blue); }
@keyframes vxMarquee { to { transform: translateX(-50%); } }

/* ---------- 4. typographic manifesto with inline photos ---------- */
.vx-manifesto { padding: clamp(5rem, 10vw, 8.5rem) 0; text-align: center; background: radial-gradient(600px 300px at 50% 100%, rgba(18,179,163,.08), transparent 70%); }
.vx-manifesto p.big { font-family: var(--vx-ff-head); font-size: clamp(32px, 4.6vw, 62px); line-height: 1.18; letter-spacing: -.035em; font-weight: 700; color: var(--vx-ink); max-width: 1080px; margin: 0 auto; }
.vx-manifesto .mute { color: #9AAEB4; }
.vx-manifesto .pic { display: inline-block; width: 1.9em; height: .95em; border-radius: 999px; vertical-align: -.08em; background-size: cover; background-position: center; margin: 0 .08em; box-shadow: 0 8px 20px -10px rgba(6,47,51,.5); }
.vx-manifesto .hl { color: var(--vx-teal); }
.vx-manifesto .co { color: var(--vx-coral); }
.vx-manifesto .vx-ecgline { width: 280px; margin: 36px auto 0; }

/* ---------- 5. three-phase portrait columns ---------- */
.vx-phases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; counter-reset: vxp; }
.vx-phase { position: relative; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--vx-line); display: flex; flex-direction: column; }
.vx-phase__img { position: relative; height: 300px; }
.vx-phase__img img { width: 100%; height: 100%; object-fit: cover; }
.vx-phase__label { position: absolute; top: 18px; left: 18px; padding: 7px 14px; border-radius: 999px; background: #fff; font: 700 12px var(--vx-ff-body); letter-spacing: .08em; text-transform: uppercase; color: var(--vx-teal); }
.vx-phase:nth-child(2) .vx-phase__label { color: var(--vx-coral-text); }
.vx-phase:nth-child(3) .vx-phase__label { color: var(--vx-blue); }
.vx-phase__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 14px; }
.vx-phase h3 { font-size: 23px; }

/* ---------- 6. bento grid ---------- */
.vx-bento { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.vx-bx { position: relative; overflow: hidden; border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 10px; isolation: isolate; }
.vx-bx h3 { font-size: 22px; }
.vx-bx p { font-size: 15px; line-height: 1.6; color: var(--vx-muted); }
.vx-bx--photo { grid-column: span 2; grid-row: span 2; color: #fff; justify-content: flex-end; min-height: 400px; }
.vx-bx--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vx-bx--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,47,51,0) 30%, rgba(6,47,51,.9) 100%); }
.vx-bx--photo h3 { font-size: 34px; color: #fff; }
.vx-bx--photo p { color: #D9EFEC; max-width: 420px; }
.vx-bx--photo .vx-link { color: #9CEBDD; }
.vx-bx--mint { background: var(--vx-teal-50); }
.vx-bx--peach { background: var(--vx-coral-50); }
.vx-bx--sky { background: var(--vx-sky-50); }
.vx-bx--lilac { background: var(--vx-lilac-50); }
.vx-bx--deep { background: var(--vx-deep); color: #fff; }
.vx-bx--deep p { color: #BFE3DD; }
.vx-bx--wide { grid-column: span 2; }
.vx-bx__num { font-family: var(--vx-ff-head); font-size: 58px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--vx-coral); }
.vx-bx__words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.vx-bx__words span { padding: 8px 14px; border-radius: 12px; background: #fff; font: 600 15px var(--vx-ff-body); }
.vx-bx .vx-chips li { background: #fff; }

/* ---------- 7. tabbed role showcase ---------- */
.vx-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 18px; background: #fff; border: 1px solid var(--vx-line); align-self: flex-start; }
.vx-tabs button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 13px; background: transparent; color: var(--vx-muted); font: 600 15px var(--vx-ff-body); cursor: pointer; }
.vx-tabs button:hover { color: var(--vx-ink); background: var(--vx-soft); }
.vx-tabs button[aria-selected="true"] { background: var(--vx-teal); color: #fff; }
.vx-tabpanel { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 0; border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid var(--vx-line); box-shadow: var(--vx-shadow); }
.vx-tabpanel[hidden] { display: none; }
.vx-tabpanel img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.vx-tabpanel__body { padding: 44px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.vx-tabpanel__body h3 { font-size: 30px; line-height: 1.15; }
.vx-tabpanel__mods { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 6px; }

/* ---------- 8. numbers over a full-bleed photo ---------- */
.vx-photostats { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(5rem, 9vw, 7.5rem) 0; }
.vx-photostats > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vx-photostats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(6,47,51,.92), rgba(11,138,126,.72)); }
.vx-photostats h2 { font-size: clamp(30px, 3.6vw, 46px); color: #fff; max-width: 720px; }
.vx-photostats .vx-eyebrow { color: #9CEBDD; }
.vx-bignums { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: 48px; }
.vx-bignums div { padding: 8px 28px 8px 0; border-right: 1px solid rgba(255,255,255,.18); margin-right: 28px; }
.vx-bignums div:last-child { border-right: 0; margin-right: 0; }
.vx-bignums b { display: block; font-family: var(--vx-ff-head); font-size: clamp(48px, 6vw, 84px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.vx-bignums span { display: block; margin-top: 10px; font-size: 15px; color: #CFEDE8; }

/* ---------- 9. integration hub orbit ---------- */
.vx-hub { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.vx-hub::before, .vx-hub::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px dashed var(--vx-teal-100); }
.vx-hub::before { inset: 6%; }
.vx-hub::after { inset: 24%; border-style: solid; border-color: var(--vx-line); }
.vx-hub__core { position: absolute; inset: 36%; border-radius: 50%; background: linear-gradient(150deg, var(--vx-teal), #087267); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 30px 60px -20px rgba(11,138,126,.6); z-index: 2; }
.vx-hub__core strong { font-family: var(--vx-ff-head); font-size: 20px; }
.vx-hub__core span { font-size: 12px; color: #CFEDE8; }
.vx-hub__node { position: absolute; z-index: 3; transform: translate(-50%, -50%); padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--vx-line); box-shadow: 0 14px 30px -18px rgba(6,47,51,.45); font: 700 14px var(--vx-ff-body); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.vx-hub__node i { width: 8px; height: 8px; border-radius: 50%; background: var(--vx-teal-2); }
.vx-hub__node:nth-child(even) i { background: var(--vx-coral); }

/* ---------- 10. numbered getting started ---------- */
.vx-numbered { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 2px solid var(--vx-ink); }
.vx-numbered li { list-style: none; padding: 28px 24px 8px 0; border-right: 1px solid var(--vx-line); margin-right: 24px; display: flex; flex-direction: column; gap: 10px; }
.vx-numbered li:last-child { border-right: 0; margin-right: 0; }
.vx-numbered b { font-family: var(--vx-ff-head); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--vx-teal); }
.vx-numbered h3 { font-size: 20px; }
.vx-numbered p { font-size: 15px; line-height: 1.6; color: var(--vx-muted); }

/* ---------- 11. editorial FAQ ---------- */
.vx-efaq { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 64px; align-items: start; }
.vx-efaq__list { counter-reset: vxq; border-top: 1px solid var(--vx-line); }
.vx-efaq details { counter-increment: vxq; border-bottom: 1px solid var(--vx-line); }
.vx-efaq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 32px; align-items: center; gap: 12px; padding: 24px 0; font-family: var(--vx-ff-head); font-size: 21px; font-weight: 600; }
.vx-efaq summary::-webkit-details-marker { display: none; }
.vx-efaq summary::before { content: counter(vxq, decimal-leading-zero); font: 700 14px var(--vx-ff-body); color: var(--vx-coral-text); }
.vx-efaq summary::after { content: ""; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--vx-line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2530' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.vx-efaq details[open] summary::after { transform: rotate(180deg); background-color: var(--vx-teal-50); border-color: var(--vx-teal-100); }
.vx-efaq details p { padding: 0 44px 26px 68px; color: var(--vx-muted); font-size: 16px; line-height: 1.75; margin: 0; }

/* ---------- 12. split CTA with action cards ---------- */
.vx-scta { border-radius: 36px; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); background: linear-gradient(135deg, #E7F8F4 0%, #EAF4FF 60%, #FFF0E8 100%); }
.vx-scta__copy { padding: 56px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.vx-scta__copy h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; }
.vx-scta__cards { padding: 40px 40px 40px 0; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.vx-act { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 20px; background: #fff; text-decoration: none; color: var(--vx-ink); box-shadow: 0 14px 30px -24px rgba(6,47,51,.5); transition: transform .2s; }
.vx-act:hover { transform: translateX(6px); color: var(--vx-ink); }
.vx-act strong { display: block; font-family: var(--vx-ff-head); font-size: 18px; }
.vx-act span { font-size: 14px; color: var(--vx-muted); }
.vx-act__ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.vx-act__go { margin-left: auto; color: var(--vx-faint); }

/* ---------- certification strip ---------- */
.vx-certstrip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 36px; padding: 36px 0; }
.vx-certstrip img { height: 64px; width: auto; }
.vx-certstrip__item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--vx-muted); }
.vx-certstrip__item strong { display: block; color: var(--vx-ink); font-family: var(--vx-ff-head); font-size: 16px; }

/* ---------- inner pages: full-bleed photo hero (matches Home) ---------- */
.vx-phero { padding: 120px 0 80px; color: #fff; background: var(--vx-deep); border-bottom: 0; isolation: isolate; }
.vx-phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,47,51,.94) 0%, rgba(6,47,51,.8) 45%, rgba(6,47,51,.3) 100%); }
.vx-phero .vx-wrap { position: static; min-height: 0; }
.vx-phero .vx-wrap > .vx-phero__photo { position: absolute; inset: 0; top: 0; bottom: 0; right: 0; width: 100%; max-width: none; height: 100%; border-radius: 0; box-shadow: none; z-index: -2; object-fit: cover; }
.vx-phero h1 { color: #fff; }
.vx-phero h1 span { color: #9CEBDD; }
.vx-phero .vx-hero__lead { color: #D9EFEC; }
.vx-phero .vx-crumbs, .vx-phero .vx-crumbs a { color: #BFE3DD; }
.vx-phero .vx-crumbs [aria-current] { color: #fff; }
.vx-phero .vx-jump a { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.vx-phero .vx-jump a:hover { background: rgba(255,255,255,.2); color: #fff; border-color: #fff; }
.vx-phero .vx-badge { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.vx-phero .vx-btn--amber-line { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
.vx-phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20h560l18-16 18 32 16-24 12 8h240l18-16 18 32 16-24 12 8h512' fill='none' stroke='%23FF6B3D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.9'/%3E%3C/svg%3E") center/100% 100% no-repeat; z-index: -1; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .vx-bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .vx-numbered { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .vx-numbered li:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 960px) {
    .vx-fhero { min-height: 0; padding-top: 96px; }
    .vx-glass, .vx-bignums { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .vx-glass > div:nth-child(3) { border-left: 0; }
    .vx-glass > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
    .vx-bignums div:nth-child(2) { border-right: 0; margin-right: 0; }
    .vx-bignums div { margin-bottom: 28px; }
    .vx-choose__grid, .vx-phases { grid-template-columns: minmax(0,1fr); }
    .vx-tabpanel, .vx-scta, .vx-efaq { grid-template-columns: minmax(0,1fr); }
    .vx-tabpanel img { min-height: 260px; height: 260px; }
    .vx-tabpanel__body { padding: 28px; }
    .vx-scta__cards { padding: 0 24px 32px; }
    .vx-scta__copy { padding: 36px 24px 24px; }
    .vx-efaq { gap: 28px; }
    .vx-efaq details p { padding: 0 0 24px 0; }
}
@media (max-width: 600px) {
    .vx-bento { grid-template-columns: minmax(0,1fr); }
    .vx-bx--photo, .vx-bx--wide { grid-column: auto; }
    .vx-bx--photo { min-height: 360px; }
    .vx-numbered { grid-template-columns: minmax(0,1fr); }
    .vx-numbered li { border-right: 0; margin-right: 0; }
    .vx-hub__node { font-size: 12px; padding: 7px 10px; }
    .vx-efaq summary { grid-template-columns: 36px 1fr 32px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .vx-ticker__track, .vx-ecgline path { animation: none; stroke-dashoffset: 0; }
    .vx-choice:hover, .vx-act:hover { transform: none; }
}
