/* RAHA Financials homepage v2 (preview).
   Flat, typographic layout with pastel rounded cards and pill buttons.
   Colours are the existing brand blues (#1445c2 / #587edb); nothing here uses
   gradient text, glows, parallax or glass effects. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.12%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

:root {
  --ink: #0b1220;
  --body: #46526b;
  --muted: #6b7690;
  --brand: #1445c2;
  --brand-2: #587edb;
  --brand-dk: #0f3596;
  --tint: #eef3fd;
  --alt: #f5f7fb;
  --line: #e1e7f2;
  --p-blue: #e8efff;
  --p-sky: #e2f0fb;
  --p-lav: #ecebff;
  --p-mint: #e0f4ec;
  --r-lg: 32px;
  --r-md: 24px;
  --r-sm: 16px;
  --wrap: 1224px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.hv {
  margin: 0;
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:where(.hv) img { max-width: 100%; height: auto; display: block; }
:where(.hv) a { color: inherit; text-decoration: none; }
:where(.hv) ul { margin: 0; padding: 0; list-style: none; }
:where(.hv) h1, :where(.hv) h2, :where(.hv) h3, :where(.hv) p { margin: 0; }
:where(.hv) svg { flex-shrink: 0; }
:where(.hv) button { font: inherit; color: inherit; cursor: pointer; }
.hv :focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 8px; }

.hv-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.hv-skip:focus { top: 12px; }

.hv-wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
.hv-h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.hv-h2 {
  font-size: clamp(32px, 3.7vw, 50px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.032em;
}
.hv-h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.hv-accent { color: var(--brand); }
.hv-eyebrow { display: block; font-size: 15px; font-weight: 600; color: var(--brand); margin-bottom: 14px; }
.hv-lead { font-size: 18px; line-height: 1.65; color: var(--body); }
.hv-lead strong { color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */
.hv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.hv-btn svg { width: 18px; height: 18px; }
.hv-btn--primary { background: var(--brand); color: #fff; }
.hv-btn--primary:hover { background: var(--brand-dk); }
.hv-btn--soft { background: #e7ecf7; color: var(--ink); }
.hv-btn--soft:hover { background: #dbe3f3; }
.hv-btn--white { background: #fff; color: var(--ink); }
.hv-btn--white:hover { background: #f1f4fb; }
.hv-btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.hv-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--brand); white-space: nowrap; flex-shrink: 0; }
.hv-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.hv-link:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.hv-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--tint);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.hv-header.is-stuck { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
.hv-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.hv-logo img { width: 140px; height: 43px; }
.hv-nav > ul { display: flex; align-items: center; gap: 4px; }
.hv-nav li { position: relative; }
.hv-navlink {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; white-space: nowrap;
  font-size: 15px; font-weight: 500; color: var(--ink); background: none; border: 0; border-radius: 999px;
}
.hv-navlink svg { width: 14px; height: 14px; opacity: .6; transition: transform .18s ease; }
.hv-navlink:hover { background: rgba(20, 69, 194, .08); }
.hv-navlink--ai { gap: 7px; background: rgba(20, 69, 194, .09); color: var(--brand); font-weight: 600; }
.hv-navlink--ai svg { width: 15px; height: 15px; opacity: 1; }
.hv-navlink--ai:hover { background: rgba(20, 69, 194, .15); }
/* AI Accountant and the consultation button sit together as one pair */
.hv-cta-pair { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20, 69, 194, .07); }
.hv-cta-pair .hv-navlink--ai { background: none; }
.hv-cta-pair .hv-navlink--ai:hover { background: rgba(20, 69, 194, .1); }
.hv-navlink--login { gap: 7px; }
.hv-navlink--login svg { width: 16px; height: 16px; opacity: .75; }
.hv-drawer-cta .hv-btn svg { width: 17px; height: 17px; }
/* a crowded bar on laptop widths: tighter items, same spacing in the nav and the links on the right */
@media (max-width: 1440px) {
  .hv-bar { gap: 16px; }
  .hv-nav > ul { gap: 0; }
  .hv-navlink { padding: 10px 11px; font-size: 14.5px; }
  .hv-bar .hv-actions { gap: 0; }
}
@media (max-width: 1240px) {
  .hv-navlink { padding: 9px 8px; font-size: 14px; }
}
.hv-has-dd:hover > .hv-navlink svg, .hv-has-dd:focus-within > .hv-navlink svg { transform: rotate(180deg); }
.hv-dd {
  position: absolute; top: 100%; left: -8px; min-width: 300px; padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.hv-has-dd:hover > .hv-dd, .hv-has-dd:focus-within > .hv-dd { opacity: 1; visibility: visible; transform: none; }
.hv-dd-in {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px;
  box-shadow: 0 18px 40px rgba(15, 30, 70, .12);
}
.hv-dd--wide { min-width: 560px; }
.hv-dd--wide .hv-dd-in { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.hv-dd a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  font-size: 14.5px; font-weight: 500; line-height: 1.3;
}
.hv-dd a:hover { background: var(--tint); color: var(--brand); }
.hv-dd-ic {
  width: 34px; height: 34px; border-radius: 10px; background: var(--p-blue); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.hv-dd-ic svg { width: 18px; height: 18px; }
.hv-dd-label { grid-column: 1 / -1; display: block; padding: 10px 12px 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hv-drawer-label { list-style: none; padding: 12px 4px 2px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hv-actions { display: flex; align-items: center; gap: 4px; }
.hv-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; align-items: center; justify-content: center; }
.hv-burger svg { width: 22px; height: 22px; }
.hv-burger .hv-i-close { display: none; }
.hv-burger[aria-expanded="true"] .hv-i-open { display: none; }
.hv-burger[aria-expanded="true"] .hv-i-close { display: block; }

.hv-drawer {
  display: none; position: fixed; inset: 84px 0 0 0; z-index: 49; overflow-y: auto;
  background: #fff; padding: 12px 24px 40px;
}
.hv-drawer.is-open { display: block; }
.hv-drawer > nav > a, .hv-drawer summary {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 4px;
  border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; cursor: pointer; list-style: none;
}
.hv-drawer summary::-webkit-details-marker { display: none; }
.hv-drawer summary svg { width: 18px; height: 18px; transition: transform .18s ease; }
.hv-drawer details[open] summary svg { transform: rotate(180deg); }
.hv-drawer details ul { padding: 6px 0 12px; }
.hv-drawer details li a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; font-size: 16px; font-weight: 500; color: var(--body); }
.hv-drawer-cta { display: grid; gap: 10px; margin-top: 24px; }
.hv-drawer-cta .hv-btn { width: 100%; }

/* ---------- hero ---------- */
.hv-hero { background: var(--tint); padding: 36px 0 56px; }
.hv-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hv-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px; margin-bottom: 26px;
  background: #fff; border-radius: 999px; font-size: 13.5px; font-weight: 500;
}
.hv-toggle span { padding: 6px 12px 6px 14px; color: var(--muted); }
.hv-toggle a { padding: 8px 16px; border-radius: 999px; color: var(--body); }
.hv-toggle a[aria-current] { background: var(--ink); color: #fff; font-weight: 600; }
.hv-toggle a:not([aria-current]):hover { background: var(--tint); }
.hv-hero-copy .hv-lead { margin-top: 22px; max-width: 540px; font-size: 17px; }
.hv-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hv-tick {
  width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.hv-tick svg { width: 12px; height: 12px; stroke-width: 3; }

/* hero visual: one photo with the six service cards floating around it */
.hv-scene { position: relative; width: 100%; max-width: 620px; margin-left: auto; aspect-ratio: 1 / .86; font-size: 15px; }
.hv-photo {
  position: absolute; inset: 0; border-radius: 34px; overflow: hidden; background: #c3d4f7;
  border: 5px solid #fff; box-shadow: 0 50px 70px -44px rgba(15, 40, 110, .6), 0 0 0 1px rgba(20, 69, 194, .08);
  translate: calc(var(--px, 0) * -6px) calc(var(--py, 0) * -6px); transition: translate .35s ease-out;
  animation: hv-photo-in 1.1s cubic-bezier(.22, .8, .24, 1) .1s both;
}
.hv-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(10, 30, 90, .28)); pointer-events: none; }
.hv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; animation: hv-settle 2.2s cubic-bezier(.22, .8, .24, 1) .1s both; }
.hv-node {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: .75em; white-space: nowrap;
  translate: calc(-50% + var(--px, 0) * var(--z, 14) * 1px) calc(-50% + var(--py, 0) * var(--z, 14) * 1px);
  padding: .55em 1.05em .55em .55em; border-radius: 1.2em; background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(20, 69, 194, .07), 0 24px 36px -16px rgba(15, 40, 110, .5), 0 3px 8px rgba(15, 40, 110, .1);
  animation: hv-node-in .8s cubic-bezier(.22, .8, .24, 1) calc(.7s + var(--i) * .12s) both, hv-drift-a 8s ease-in-out calc(1.8s + var(--i) * .5s) infinite;
  transition: translate .35s ease-out, box-shadow .25s ease, background-color .25s ease;
}
.hv-node:nth-of-type(even) { animation-name: hv-node-in, hv-drift-b; animation-duration: .8s, 9.5s; }
.hv-node:hover { box-shadow: 0 0 0 2px var(--brand), 0 28px 40px -16px rgba(15, 40, 110, .55); }
.hv-node:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; }
.hv-node-ic { width: 2.75em; height: 2.75em; border-radius: .9em; background: var(--tint, var(--p-blue)); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hv-node-ic svg { width: 52%; height: 52%; }
.hv-node-tx { display: grid; line-height: 1.2; }
.hv-node-tx strong { font-size: .96em; font-weight: 700; letter-spacing: -0.012em; }
.hv-node-tx small { margin-top: .22em; font-size: .74em; font-weight: 500; color: var(--muted); }
.hv-node-go { display: inline-flex; align-items: center; justify-content: center; width: 0; margin-left: -.35em; opacity: 0; color: var(--brand); overflow: hidden; transition: width .25s ease, opacity .25s ease, margin .25s ease; }
.hv-node-go svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.hv-node:hover .hv-node-go, .hv-node:focus-visible .hv-node-go { width: 1.2em; margin-left: .15em; opacity: 1; }@media (hover: none) { .hv-photo, .hv-node { translate: none; } .hv-node { translate: -50% -50%; } }
@keyframes hv-photo-in { from { opacity: 0; transform: translateY(36px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes hv-settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes hv-node-in { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes hv-drift-a { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(5px, -7px); } 66% { transform: translate(-4px, -2px); } }
@keyframes hv-drift-b { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-5px, -5px); } 66% { transform: translate(4px, -8px); } }.hv-float {
  position: absolute; background: #fff; border-radius: 18px;
  box-shadow: 0 14px 36px rgba(15, 30, 70, .14);
}
.hv-sectors {
  display: flex; align-items: center; gap: 28px 36px; margin-top: 56px; padding: 26px 34px;
  background: #fff; border-radius: var(--r-md);
}
.hv-sectors > p { flex: 0 0 210px; font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.hv-marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.hv-marquee-track { display: flex; width: max-content; animation: hv-marquee 36s linear infinite; }
.hv-marquee-track li { flex-shrink: 0; margin-right: 10px; }
.hv-marquee:hover .hv-marquee-track,
.hv-marquee:focus-within .hv-marquee-track { animation-play-state: paused; }
@keyframes hv-marquee { to { transform: translateX(-50%); } }
.hv-sectors a {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 10px; border-radius: 999px;
  background: var(--alt); font-size: 14px; font-weight: 500; transition: background-color .16s ease;
}
.hv-sectors a:hover { background: var(--p-blue); }
.hv-sectors a span {
  width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.hv-sectors a span svg { width: 15px; height: 15px; }

/* ---------- sections ---------- */
.hv-sec { padding: 120px 0 0; }
.hv-sec--last { padding-bottom: 120px; }
.hv-center { text-align: center; }
.hv-center .hv-lead { max-width: 760px; margin: 22px auto 0; }
.hv-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }

/* feature cards */
.hv-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.hv-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-lg); padding: 36px 36px 0;
}
.hv-card--blue { background: var(--p-blue); }
.hv-card--sky { background: var(--p-sky); }
.hv-card--lav { background: var(--p-lav); }
.hv-card--mint { background: var(--p-mint); }
.hv-card-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand); margin-bottom: 16px; }
.hv-card-tag svg { width: 18px; height: 18px; }
.hv-card h3 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.hv-card > p { margin-top: 12px; color: var(--body); font-size: 16px; }
.hv-card .hv-link { margin-top: 20px; margin-bottom: 30px; align-self: flex-start; }
.hv-card > .hv-ui { margin-top: auto; }
.hv-ui {
  margin: 30px -2px 0; padding: 16px 16px 0; background: #fff; border-radius: 20px 20px 0 0;
  border: 1px solid rgba(15, 30, 70, .06); border-bottom: 0; min-height: 190px;
}
.hv-ui-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.hv-ui li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.hv-ui li:first-of-type { border-top: 0; }
.hv-ui .hv-state { margin-left: auto; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--p-mint); color: #1c6b4c; }
.hv-ui .hv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); }
.hv-ui .hv-tick { width: 18px; height: 18px; }
.hv-ui .hv-tick svg { width: 10px; height: 10px; }
.hv-chart { width: 100%; height: 132px; display: block; }

.hv-banner {
  display: flex; align-items: center; gap: 22px; margin-top: 24px; padding: 22px 26px 22px 24px;
  background: var(--alt); border-radius: var(--r-md);
}
.hv-banner-ic {
  width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center;
}
.hv-banner-ic svg { width: 24px; height: 24px; }
.hv-banner p { flex: 1; font-size: 16px; font-weight: 500; color: var(--ink); }

/* services tabs */
.hv-tabs { display: flex; gap: 6px; margin-top: 40px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.hv-tabs::-webkit-scrollbar { display: none; }
.hv-tab {
  position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 16px 22px; flex-shrink: 0;
  background: none; border: 0; font-size: 16px; font-weight: 500; color: var(--muted);
}
.hv-tab svg { width: 18px; height: 18px; }
.hv-tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.hv-tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand);
}
.hv-tab:hover { color: var(--ink); }
.hv-panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
  margin-top: 28px; padding: 56px; border-radius: var(--r-lg); background: var(--tint);
}
.hv-panel[hidden] { display: none; }
.hv-panel-ic {
  width: 56px; height: 56px; border-radius: 16px; background: var(--brand); color: #fff; margin-bottom: 24px;
  display: inline-flex; align-items: center; justify-content: center;
}
.hv-panel-ic svg { width: 28px; height: 28px; }
.hv-panel-copy > p { margin-top: 14px; color: var(--body); font-size: 17px; max-width: 460px; }
.hv-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.hv-panel-media { position: relative; }
.hv-panel-photo { border-radius: 24px; overflow: hidden; background: #cddcf9; aspect-ratio: 4 / 3; }
.hv-panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.hv-panel-tag {
  position: absolute; left: -22px; bottom: 26px; display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 30, 70, .14);
}
.hv-panel-tag span { width: 30px; height: 30px; border-radius: 50%; background: var(--p-blue); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.hv-panel-tag svg { width: 16px; height: 16px; }

/* why choose */
.hv-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; }
.hv-why { padding: 40px 40px 0; min-height: 440px; }
.hv-why .hv-card-tag { margin-bottom: 18px; }
.hv-why .hv-ui { margin-top: auto; min-height: 0; padding-bottom: 6px; }
.hv-why > p { margin-bottom: 30px; }
.hv-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding-bottom: 0; }
.hv-bars i { flex: 1; border-radius: 8px 8px 0 0; background: var(--p-blue); }
.hv-bars i:nth-child(4), .hv-bars i:nth-child(6) { background: var(--brand-2); }
.hv-bars i:nth-child(5) { background: var(--brand); }

/* statement */
.hv-statement { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.hv-statement-text { display: grid; gap: 22px; }
.hv-statement-text p { font-size: 19px; line-height: 1.65; color: var(--body); }
.hv-statement-text p:first-child { color: var(--ink); font-weight: 600; font-size: 21px; line-height: 1.5; }
.hv-statement-text strong { color: var(--ink); font-weight: 600; }

/* outsourced */
.hv-out { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hv-out-media { position: relative; padding-bottom: 40px; }
.hv-out-photo { border-radius: var(--r-lg); overflow: hidden; background: #cddcf9; aspect-ratio: 5 / 4; }
.hv-out-photo img { width: 100%; height: 100%; object-fit: cover; }
.hv-support { right: -26px; bottom: 0; width: 300px; padding: 20px 20px 14px; }
.hv-support p { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.hv-support li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13.5px; font-weight: 500; }
.hv-support .hv-tick { width: 18px; height: 18px; }
.hv-support .hv-tick svg { width: 10px; height: 10px; }
.hv-out-copy .hv-lead { margin-top: 18px; }
.hv-note { display: flex; gap: 16px; align-items: flex-start; margin: 26px 0 30px; padding: 20px 22px; background: var(--alt); border-radius: var(--r-sm); }
.hv-note span { width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hv-note svg { width: 20px; height: 20px; }
.hv-note p { font-size: 15.5px; color: var(--ink); font-weight: 500; }

/* industries */
.hv-ind { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.hv-ind a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 190px;
  padding: 26px; border-radius: var(--r-md); transition: transform .18s ease;
}
.hv-ind a:nth-child(4n+1) { background: var(--p-blue); }
.hv-ind a:nth-child(4n+2) { background: var(--p-sky); }
.hv-ind a:nth-child(4n+3) { background: var(--p-lav); }
.hv-ind a:nth-child(4n+4) { background: var(--p-mint); }
.hv-ind a:hover { transform: translateY(-4px); }
.hv-ind-top { display: flex; align-items: center; justify-content: space-between; }
.hv-ind-ic { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.hv-ind-ic svg { width: 23px; height: 23px; }
.hv-ind-go { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.hv-ind-go svg { width: 16px; height: 16px; }
.hv-ind strong { font-size: 19px; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; }

/* getting started: sticky heading + vertical stepper */
.hv-band { background: var(--alt); margin-top: 120px; padding: 110px 0 120px; }
.hv-process { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.hv-process-head { position: sticky; top: 120px; }
.hv-process-head .hv-btn { margin-top: 32px; }
.hv-timeline { position: relative; display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.hv-timeline::before {
  content: ""; position: absolute; left: 27px; top: 40px; bottom: 40px; width: 2px;
  background: repeating-linear-gradient(to bottom, #b9c8ea 0 7px, transparent 7px 14px);
}
.hv-stepper { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.hv-step-no {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--alt);
}
.hv-step-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; overflow: hidden;
  border-radius: var(--r-lg); padding: 34px 34px 0;
}
.hv-step-card--sky { background: var(--p-sky); }
.hv-step-card--blue { background: #dbe5ff; }
.hv-step-card--lav { background: var(--p-lav); }
.hv-step-copy { padding-bottom: 34px; align-self: center; }
.hv-step-label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--brand); }
.hv-step-copy h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.hv-step-copy p { margin-top: 12px; font-size: 16px; color: var(--body); }
.hv-step-card .hv-ui { align-self: end; margin: 28px 0 0; min-height: 0; padding-bottom: 8px; }
/* final CTA (restored from the first v2 design): deep-blue panel, faint grid, soft drifting glows */
.hv-cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: 36px;
  background: linear-gradient(135deg, #587edb 0%, #1445c2 100%);
  color: rgba(255, 255, 255, .88);
}
.hv-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 80%);
}
.hv-cta-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hv-cta-glow--a { width: 420px; height: 420px; left: -120px; top: -160px; background: radial-gradient(closest-side, rgba(255, 255, 255, .28), transparent); animation: hv-drift 12s ease-in-out infinite; }
.hv-cta-glow--b { width: 520px; height: 520px; right: -160px; bottom: -240px; background: radial-gradient(closest-side, rgba(10, 30, 110, .55), transparent); animation: hv-drift 14s ease-in-out infinite reverse; }
@keyframes hv-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
.hv-cta .hv-h2 { color: #fff; max-width: 900px; margin: 0 auto; font-size: clamp(2rem, 4vw, 3.4rem); }
.hv-cta p { max-width: 620px; margin: 22px auto 0; font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.7; }
.hv-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hv-cta .hv-btn--white { color: var(--brand); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); }
.hv-cta .hv-btn--white:hover { background: #fff; transform: translateY(-2px); }
.hv-btn--glass {
  background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hv-btn--glass:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
/* footer */
.hv-footer { margin-top: 120px; padding: 72px 0 40px; background: var(--alt); }
.hv-footer-grid { display: grid; grid-template-columns: 1.5fr 1.1fr 1.1fr; gap: 56px; }
.hv-footer-brand p { margin-top: 18px; max-width: 380px; font-size: 15px; color: var(--body); }
.hv-social { display: flex; gap: 10px; margin-top: 24px; }
.hv-social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background-color .16s ease, color .16s ease; }
.hv-social a:hover { background: var(--brand); color: #fff; }
.hv-social svg { width: 17px; height: 17px; fill: currentColor; }
.hv-fhead { display: block; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.hv-flinks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 15px; color: var(--body); }
.hv-flinks a:hover, .hv-fcontact a:hover { color: var(--brand); }
.hv-fcontact { display: grid; gap: 14px; font-size: 15px; color: var(--body); font-style: normal; }
.hv-fcontact li { display: flex; gap: 12px; align-items: flex-start; }
.hv-fcontact svg { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); }
.hv-footer address { font-style: normal; }
.hv-fbottom { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.hv-fbottom div { display: flex; gap: 24px; }
.hv-fbottom a:hover { color: var(--brand); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hv-nav { display: none; }
  .hv-burger { display: inline-flex; }
  .hv-hide-sm { display: none !important; }
  .hv-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hv-scene { max-width: 520px; margin: 0 auto; }
  .hv-scene { font-size: 11px; }
  .hv-node { padding: .5em .85em .5em .5em; gap: .6em; }
  .hv-cards3 { grid-template-columns: 1fr; }
  .hv-card { padding: 32px 28px 0; }
  .hv-ui { max-width: 520px; }
  .hv-panel { grid-template-columns: 1fr; padding: 40px 32px; gap: 36px; }
  .hv-statement { grid-template-columns: 1fr; gap: 32px; }
  .hv-out { grid-template-columns: 1fr; gap: 56px; }
  .hv-support { right: 12px; }
  .hv-ind { grid-template-columns: repeat(2, 1fr); }
  .hv-process { grid-template-columns: 1fr; gap: 44px; }
  .hv-process-head { position: static; }
  .hv-step-card { grid-template-columns: 1fr; gap: 0; }
  .hv-step-card .hv-ui { margin-top: 4px; max-width: 520px; }
  .hv-footer-grid { grid-template-columns: 1fr 1fr; }
  .hv-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body.hv { font-size: 16px; }
  .hv-bar { height: 72px; }
  .hv-hero { padding: 20px 0 40px; }
  .hv-toggle { margin-bottom: 20px; }
  .hv-hero-cta .hv-btn { flex: 1 1 100%; }
  .hv-sectors { flex-direction: column; align-items: flex-start; padding: 22px 20px; margin-top: 36px; }
  .hv-sectors > p { flex: none; }
  .hv-marquee { width: 100%; flex: none; }
  .hv-sec { padding-top: 80px; }
  .hv-head-row { flex-direction: column; align-items: flex-start; }
  .hv-cards3, .hv-cards2 { margin-top: 40px; }
  .hv-cards2 { grid-template-columns: 1fr; }
  .hv-why { padding: 30px 24px 0; min-height: 0; }
  .hv-banner { flex-direction: column; align-items: flex-start; }
  .hv-banner .hv-btn { width: 100%; }
  .hv-panel { padding: 28px 22px; border-radius: 26px; }
  .hv-panel-tag { left: 10px; bottom: 14px; }
  .hv-tab { padding: 14px 16px; font-size: 15px; }
  .hv-support { position: relative; right: auto; bottom: auto; width: auto; margin: -36px 14px 0; }
  .hv-out-media { padding-bottom: 0; }
  .hv-ind { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
  .hv-ind a { min-height: 150px; padding: 18px; gap: 24px; }
  .hv-ind strong { font-size: 16px; }
  .hv-band { margin-top: 80px; padding: 72px 0 80px; }
  .hv-stepper { grid-template-columns: 44px 1fr; gap: 14px; }
  .hv-step-no { width: 44px; height: 44px; font-size: 17px; box-shadow: 0 0 0 6px var(--alt); }
  .hv-timeline::before { left: 21px; top: 34px; bottom: 34px; }
  .hv-step-card { padding: 26px 20px 0; border-radius: 26px; }
  .hv-step-copy { padding-bottom: 22px; }
  .hv-step-copy h3 { font-size: 21px; }
  .hv-cta { border-radius: 26px; padding: 52px 22px; }
  .hv-cta .hv-h2 { font-size: clamp(1.8rem, 7.6vw, 2.4rem); }
  .hv-cta p { margin-top: 16px; font-size: 1rem; }
  .hv-cta-actions { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hv-cta-actions .hv-btn { width: 100%; }
  .hv-cta-glow--a { width: 280px; height: 280px; }
  .hv-cta-glow--b { width: 320px; height: 320px; }
  .hv-footer { margin-top: 80px; padding-top: 52px; }
  .hv-footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hv-fbottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .hv-marquee { -webkit-mask-image: none; mask-image: none; }
  .hv-marquee-track { animation: none; width: auto; flex-wrap: wrap; gap: 10px; }
  .hv-marquee-track li { margin-right: 0; }
  .hv-marquee-track li[aria-hidden] { display: none; }
  .hv-cta-glow { animation: none; }
  .hv-hero-copy > *, .hv-photo, .hv-photo img, .hv-node { animation: none; transition: none; }
}

/* services panel: services bundled inside one service */
.hv-incl-label { margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.hv-incl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding: 0; list-style: none; }
.hv-incl li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px 7px 10px; border-radius: 999px; background: var(--p-blue, #e8efff); color: var(--ink); font-size: 14px; font-weight: 500; }
.hv-incl svg { width: 14px; height: 14px; color: var(--brand); stroke-width: 3; }

/* Homepage: no white page background. Everything sits on the soft blue; only the header and footer use the slightly lighter shade. */
body.hv:not(.ai-page) { background: var(--tint); }
body.hv:not(.ai-page) .hv-band { background: transparent; margin-top: 0; padding-top: 112px; }
body.hv:not(.ai-page) .hv-band:not(:has(+ .sv-cta)) { padding-bottom: 0; }
body.hv:not(.ai-page) .hv-header, body.hv:not(.ai-page) .hv-header.is-stuck, body.hv:not(.ai-page) .hv-footer { background: var(--alt); }



/* A faint brand-blue stroke on the pastel cards, the same on every page. An outline follows the
   card's rounded corners and does not change its size or clash with its own shadows. */
.hb-card, .hv-ind a, .hv-card, .hv-step-card, .ab-step, .ct-card, .en-review, .sl-why-card {
  outline: 1.5px solid rgba(20, 69, 194, .12);
  outline-offset: -1.5px;
}

/* Less space between the top section and the first section below it */
body.hv:not(.ai-page) .hv-hero + .hv-sec { padding-top: 40px; }

/* One consistent space (96px) between every section, and the same under the top section */
body.hv:not(.ai-page) .hv-sec, body.hv:not(.ai-page) .pg-sec, body.hv:not(.ai-page) .hv-band { padding-top: 96px; }
body.hv:not(.ai-page) .hv-hero + .hv-sec { padding-top: 40px; }
body.hv:not(.ai-page) .pg-hero + .pg-sec { padding-top: 44px; }

/* The service panel was the same blue as the page, so its padding showed as empty space. Give it its own light surface and the card stroke. */
body.hv:not(.ai-page) .hv-panel { background: var(--alt); outline: 1.5px solid rgba(20, 69, 194, .12); outline-offset: -1.5px; }
body.hv:not(.ai-page) :is(.sl-find, .lg-intro, .roi-form, .sv-rule, .sv-linknote) { background: var(--alt); }
body.hv:not(.ai-page) :is(.sl-find, .lg-intro, .roi-form) { outline: 1.5px solid rgba(20, 69, 194, .12); outline-offset: -1.5px; }

/* ===================== Homepage on phones: smaller type, tighter spacing ===================== */
@media (max-width: 720px) {
  body.hv-home.hv:not(.ai-page) { font-size: 15px; }
  body.hv-home .hv-h1 { font-size: 30px; line-height: 1.13; letter-spacing: -0.03em; }
  body.hv-home .hv-h2 { font-size: 25px; line-height: 1.16; letter-spacing: -0.026em; }
  body.hv-home .hv-h3 { font-size: 20px; }
  body.hv-home .hv-eyebrow { font-size: 13px; margin-bottom: 10px; }
  body.hv-home .hv-lead { font-size: 15.5px; line-height: 1.6; }
  body.hv-home main p { line-height: 1.6; }
  body.hv-home .hv-btn { height: 46px; padding: 0 22px; font-size: 14.5px; }
  body.hv-home .hv-btn--sm { height: 40px; font-size: 14px; }

  /* header */
  body.hv-home .hv-bar { height: 64px; }
  body.hv-home .hv-logo img { width: 120px; height: auto; }
  body.hv-home .hv-burger { width: 42px; height: 42px; }

  /* hero */
  body.hv-home .hv-hero { padding: 14px 0 28px; }
  body.hv-home .hv-toggle { font-size: 12.5px; margin-bottom: 16px; padding: 4px; }
  body.hv-home .hv-toggle span { padding: 6px 8px 6px 10px; white-space: nowrap; }
  body.hv-home .hv-toggle a { padding: 7px 12px; white-space: nowrap; }
  body.hv-home .hv-hero-copy .hv-lead { font-size: 15.5px; margin-top: 16px; }
  body.hv-home .hv-hero-grid { gap: 26px; }
  body.hv-home .hv-hero-cta { gap: 10px; margin-top: 22px; }
  body.hv-home .hv-sectors { margin-top: 26px; padding: 18px 16px; gap: 14px; }
  body.hv-home .hv-sectors > p { font-size: 13.5px; }

  /* spacing between sections */
  body.hv-home.hv:not(.ai-page) .hv-sec, body.hv-home.hv:not(.ai-page) .hv-band { padding-top: 56px; }
  body.hv-home.hv:not(.ai-page) .hv-hero + .hv-sec { padding-top: 32px; }
  body.hv-home .hv-cards3, body.hv-home .hv-cards2, body.hv-home .hb-grid--home, body.hv-home .hv-ind { margin-top: 26px; }
  body.hv-home .hv-head-row { gap: 12px; }
  body.hv-home .hv-center .hv-lead, body.hv-home .hv-head-row + * { margin-top: 18px; }

  /* cards */
  body.hv-home .hb-card { min-height: 0; padding: 20px; border-radius: 22px; }
  body.hv-home .hb-card h3 { padding-top: 18px; font-size: 18px; }
  body.hv-home .hb-ic { width: 44px; height: 44px; border-radius: 14px; }
  body.hv-home .hb-go { width: 34px; height: 34px; }
  body.hv-home .hb-blurb, body.hv-home .hb-card p { font-size: 14px; line-height: 1.5; }
  body.hv-home .hv-card { padding: 24px 20px 0; border-radius: 24px; }
  body.hv-home .hv-card h3 { font-size: 21px; }
  body.hv-home .hv-card > p { font-size: 14.5px; }
  body.hv-home .hv-card .hv-link { margin-top: 14px; margin-bottom: 22px; }
  body.hv-home .hv-tab { padding: 12px 14px; font-size: 14px; }
  body.hv-home .hv-panel { padding: 22px 16px; gap: 22px; border-radius: 22px; }
  body.hv-home .hv-panel-copy p { font-size: 14.5px; }
  body.hv-home .hv-incl li { font-size: 13px; padding: 6px 11px 6px 9px; }
  body.hv-home .hv-ind { gap: 10px; }
  body.hv-home .hv-ind a { min-height: 118px; padding: 14px; gap: 16px; border-radius: 20px; }
  body.hv-home .hv-ind strong { font-size: 14.5px; }
  body.hv-home .hv-ind-ic { width: 38px; height: 38px; border-radius: 12px; }
  body.hv-home .hv-ind-ic svg { width: 19px; height: 19px; }
  body.hv-home .hv-ind-go { width: 30px; height: 30px; }
  body.hv-home .hv-banner { padding: 20px 18px; gap: 14px; }
  body.hv-home .hv-banner p { font-size: 14px; }
  body.hv-home .hv-note { padding: 16px 16px; margin: 20px 0 22px; }

  /* how it works */
  body.hv-home .hv-step-card { padding: 20px 16px 0; }
  body.hv-home .hv-step-copy h3 { font-size: 18.5px; }
  body.hv-home .hv-step-copy p { font-size: 14.5px; }
  body.hv-home .hv-stepper { grid-template-columns: 38px 1fr; gap: 12px; }
  body.hv-home .hv-step-no { width: 38px; height: 38px; font-size: 15px; }
  body.hv-home .hv-timeline::before { left: 18px; }

  /* closing banner and footer */
  body.hv-home .hv-cta { padding: 38px 18px; }
  body.hv-home .hv-cta .hv-h2 { font-size: 26px; }
  body.hv-home .hv-cta p { font-size: 14.5px; margin-top: 12px; }
  body.hv-home .hv-cta-actions { margin-top: 22px; }
  body.hv-home .hv-footer { margin-top: 56px; padding: 40px 0 28px; background: var(--alt); }
  body.hv-home .hv-footer-grid { gap: 28px; }
  body.hv-home .hv-flinks a, body.hv-home .hv-fcontact li { font-size: 14.5px; }
  body.hv-home .hv-footer-brand p { font-size: 14px; }
}

/* ---------- full-screen page change for the "I am a" switch (Individual/Small Business <-> Enterprise) ----------
   One deep-navy panel sweeps across the page from right to left with a precise ease, the RAHA logo and the destination appear, the page changes
   underneath, and the panel keeps going off the left edge to reveal the new page while its hero content settles into place. */
.hv-sw { visibility: hidden; position: fixed; inset: 0; z-index: 10000; overflow: hidden; pointer-events: none; }
html.hv-sw-go .hv-sw, html.hv-sw-arrive .hv-sw { visibility: visible; pointer-events: auto; }
.hv-sw-sheet { position: absolute; inset: 0; background: linear-gradient(160deg, #1f3d78 0%, #152c5a 100%); transform: translateX(101%); will-change: transform; }
.hv-sw-sheet::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; }
.hv-sw-sheet::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: linear-gradient(180deg, transparent, rgba(110, 156, 255, .85), transparent); }
html.hv-sw-go .hv-sw-sheet { transform: translateX(0); transition: transform .8s cubic-bezier(.76, 0, .24, 1); }
html.hv-sw-arrive .hv-sw-sheet { transform: translateX(0); }
html.hv-sw-arrive.hv-sw-leave .hv-sw-sheet { transform: translateX(-101%); transition: transform .85s cubic-bezier(.76, 0, .24, 1) .1s; }

.hv-sw-mark { position: fixed; left: 50%; top: 50%; translate: -50% -50%; text-align: center; opacity: 0; pointer-events: none; }
.hv-sw-mark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 70vmax; height: 46vmax; translate: -50% -50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(110, 156, 255, .3), transparent); }
.hv-sw-logo { display: block; width: 180px; height: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.hv-sw-to { display: none; margin-top: 22px; font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .38em; padding-left: .38em; text-transform: uppercase; color: #9fb4ea; }
html.hv-dir-fwd .hv-sw-to--fwd, html.hv-dir-back .hv-sw-to--back { display: block; }
.hv-sw-line { display: block; width: 150px; height: 2px; margin: 18px auto 0; border-radius: 2px; background: rgba(255, 255, 255, .14); position: relative; overflow: hidden; }
.hv-sw-line::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #4a78e6, #9fc0ff); transform: scaleX(0); transform-origin: left; }
html.hv-sw-go .hv-sw-mark { opacity: 1; animation: hv-sw-mark-in .55s cubic-bezier(.22, .8, .24, 1) .8s both; }
html.hv-sw-go .hv-sw-line::after { animation: hv-sw-fill .5s cubic-bezier(.4, 0, .2, 1) 1s forwards; }
html.hv-sw-arrive .hv-sw-mark { opacity: 1; }
html.hv-sw-arrive .hv-sw-line::after { transform: scaleX(1); }
html.hv-sw-arrive.hv-sw-leave .hv-sw-mark { opacity: 0; transform: translateY(-10px); transition: opacity .28s ease, transform .4s ease; }
@keyframes hv-sw-mark-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hv-sw-fill { to { transform: scaleX(1); } }

/* the new page's hero content eases in from the right as the panel clears */
html.hv-sw-arrive .hv-hero-copy > :not(.hv-toggle), html.hv-sw-arrive .hv-scene { opacity: 0; transform: translateX(32px); }
html.hv-sw-arrive.hv-sw-leave .hv-hero-copy > :not(.hv-toggle), html.hv-sw-arrive.hv-sw-leave .hv-scene {
  opacity: 1; transform: none; transition: opacity .75s ease .4s, transform .9s cubic-bezier(.22, .8, .24, 1) .4s;
}
html.hv-sw-arrive.hv-sw-leave .hv-hero-copy > :nth-child(3) { transition-delay: .46s; }
html.hv-sw-arrive.hv-sw-leave .hv-hero-copy > :nth-child(4) { transition-delay: .52s; }
html.hv-sw-arrive.hv-sw-leave .hv-hero-copy > :nth-child(5) { transition-delay: .58s; }
html.hv-sw-arrive.hv-sw-leave .hv-scene { transition-delay: .48s; }

/* never leave a visitor stuck behind the panel */
html.hv-sw-arrive .hv-sw { animation: hv-sw-failsafe .01s 3.5s forwards; }
@keyframes hv-sw-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .hv-sw { display: none !important; } html.hv-sw-arrive .hv-hero-copy > *, html.hv-sw-arrive .hv-scene { opacity: 1 !important; transform: none !important; } }
