/* Agent65 home page, after the client's reference (Automara): off-white grid hero, two-tone headings,
   status chips, a live product window, cards with small working UI. Brand: navy #002532, blue #0348C6,
   orange #FE5615. Every loop rests under prefers-reduced-motion. */

.h-hero, .h-sec, .h-tools, .h-figures, .h-cta-sec { position: relative; }
.h-sec { padding: clamp(80px, 8vw, 128px) 0; }
.h-sec--tint { background: var(--p-surface); }

/* ---------- shared bits ---------- */
.h-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 500 13px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.h-eyebrow__line { width: 28px; height: 1.5px; background: currentColor; }
.h-eyebrow--light { color: #fff; }
.h-hl { color: var(--brand-orange-text); }
.h-hl2 { color: var(--brand-blue); }
.h-hl-light { color: #ff8a5c; }
.h-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 4vw, 64px); }
.h-head h2 { margin: 0; font-size: clamp(32px, 2.6vw + 14px, 56px); line-height: 1.05; letter-spacing: var(--display-tracking-xl); font-weight: 500; }
.h-head > p { margin: 0; font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 46ch; }
@media (max-width: 1023px) { .h-head { grid-template-columns: minmax(0, 1fr); } }

.h-ok, .h-warn, .h-bad { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #12a150; flex: none; }
.h-warn { background: var(--brand-orange); }
.h-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font: 500 13px/1 var(--font-text); background: var(--brand-orange); color: #fff; }
.h-tag--soft { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.h-dots { display: inline-flex; gap: 6px; }
.h-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9e0e6; }
.h-live { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 13px/1 var(--font-text); white-space: nowrap; }
.h-live > span { width: 8px; height: 8px; border-radius: 50%; background: #12a150; box-shadow: 0 0 0 0 rgba(18,161,80,.5); animation: h-ping 2.4s ease-out infinite; }
.h-live--sm { height: 26px; padding: 0 10px; }
@keyframes h-ping { 0% { box-shadow: 0 0 0 0 rgba(18,161,80,.45); } 80%, 100% { box-shadow: 0 0 0 8px rgba(18,161,80,0); } }
.h-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-orange); color: #fff; font: 500 13px/1 var(--font-text); flex: none; }
.h-av--brand { background: #fff; border: 1px solid var(--line); }
.h-av--brand img { width: 18px; height: auto; }

/* scroll reveal: only when script has run (html.h-js), so the page reads whole without it */
html.h-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--m-ease-enter, cubic-bezier(.22,1,.36,1)), transform .7s var(--m-ease-enter, cubic-bezier(.22,1,.36,1)); transition-delay: calc(var(--stagger, 0) * 80ms); }
html.h-js [data-reveal].is-in { opacity: 1; transform: none; }

/* hero entrance */
.rise { animation: h-rise .9s var(--m-ease-enter, cubic-bezier(.22,1,.36,1)) both; }
.h-hero__head .rise:nth-child(1) { animation-delay: .05s; }
.h-hero__head .rise:nth-child(2) { animation-delay: .15s; }
.h-hero__head .rise:nth-child(3) { animation-delay: .3s; }
.h-hero__head .rise:nth-child(4) { animation-delay: .4s; }
.h-hero__head .rise:nth-child(5) { animation-delay: .5s; }
.h-win.rise { animation-delay: .55s; animation-duration: 1.1s; }
@keyframes h-rise { from { opacity: 0; transform: translateY(28px); } }

/* ---------- HERO ---------- */
.h-hero { padding: calc(var(--nav) + clamp(56px, 6vw, 96px)) 0 clamp(64px, 6vw, 96px); overflow: hidden; background: #fbfcfd; }
.h-hero__grid { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,37,50,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,37,50,.05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.h-hero__head { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; }
.h-hero h1 { margin: 0; font-size: clamp(40px, 4.6vw + 6px, 80px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; max-width: 15ch; }
.h-lead { margin: 28px 0 0; max-width: 56ch; font-size: clamp(17px, .4vw + 15px, 20px); line-height: 1.6; color: var(--muted); }
.h-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; position: relative; }
.h-actions .btn--primary { height: 56px; padding-left: 28px; font-size: 17px; }
.h-btn-ghost { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 6px 0 26px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 500 17px/1 var(--font-text); text-decoration: none; transition: border-color .15s, transform .15s var(--ease); }
.h-btn-ghost:hover { border-color: rgba(0,37,50,.35); transform: translateY(-1px); }
.h-btn-ghost__disc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--p-surface); }
.h-btn-ghost__disc svg { width: 13px; height: 13px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s var(--ease); }
.h-btn-ghost:hover .h-btn-ghost__disc svg { transform: translateY(2px); }
.h-note { position: absolute; left: 100%; top: -18px; margin-left: 4px; display: flex; align-items: flex-end; gap: 6px; font: italic 500 17px/1 var(--font-display); color: var(--brand-orange-text); white-space: nowrap; transform: rotate(-6deg); }
.h-note svg { width: 56px; height: 32px; fill: none; stroke: var(--brand-orange); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1) translateY(18px); }
@media (max-width: 1100px) { .h-note { display: none; } }
.h-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--muted); font-size: 15px; }
.h-facts li { display: inline-flex; align-items: center; gap: 8px; }
.h-facts li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #e6f4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='%2312a150' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* floating chips around the headline */
.h-chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; max-width: 1440px; margin: 0 auto; }
.h-chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(0,37,50,.22); animation: h-bob 6s ease-in-out infinite; font-size: 13px; }
.h-chip small { display: block; color: var(--muted); font-size: 12.5px; }
.h-chip b { font-weight: 500; font-size: 14px; }
.h-chip__row { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.h-chip--icons { left: 2%; top: calc(var(--nav) + 40px); background: none; border: 0; box-shadow: none; width: 300px; height: 150px; animation-duration: 7s; }
.h-tile { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px -12px rgba(0,37,50,.25); }
.h-tile:nth-child(1) { left: 0; top: 0; transform: rotate(-8deg); }
.h-tile:nth-child(2) { left: 72px; top: 12px; transform: rotate(6deg); }
.h-tile:nth-child(3) { left: 32px; top: 58px; }
.h-tile svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.h-tile--dark { background: var(--brand-navy); border-color: var(--brand-navy); }
.h-tile--dark svg { stroke: var(--brand-orange); }
.h-dash { position: absolute; left: 86px; top: 80px; width: 180px; height: 60px; fill: none; stroke: #a9b6bd; stroke-width: 1.5; stroke-dasharray: 4 6; animation: h-dash 1.6s linear infinite; }
@keyframes h-dash { to { stroke-dashoffset: -20; } }
.h-chip--ticket { left: 2.5%; top: calc(var(--nav) + 300px); width: 252px; padding: 16px; display: grid; gap: 12px; animation-delay: -2s; }
.h-bar { height: 5px; border-radius: 9px; background: #edf1f4; overflow: hidden; }
.h-bar span { display: block; height: 100%; width: 92%; background: var(--brand-navy); border-radius: inherit; animation: h-grow 2.4s var(--m-ease-enter, ease-out) .8s both; transform-origin: left; }
@keyframes h-grow { from { transform: scaleX(0); } }
.h-chip__row--foot small { font-size: 12.5px; }
.h-chip--ticket .h-tag { background: #ffe6da; color: #8c2c05; height: 24px; }
.h-chip--usage { right: 2.5%; top: calc(var(--nav) + 56px); width: 240px; padding: 16px 18px; display: grid; gap: 6px; animation-delay: -1s; }
.h-chip--usage b { font: 500 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.h-up { color: #12a150; font-weight: 500; font-size: 13px; }
.h-bars { display: flex; align-items: flex-end; gap: 6px; height: 50px; margin-top: 8px; }
.h-bars i { flex: 1; height: calc(var(--v) * 100%); border-radius: 4px; background: #e9eef2; transform-origin: bottom; animation: h-barup .9s var(--m-ease-enter, ease-out) both; }
.h-bars i:nth-child(n) { animation-delay: calc(.6s + var(--v) * .4s); }
.h-bars i.is-hot { background: var(--brand-orange); }
@keyframes h-barup { from { transform: scaleY(0); } }
.h-chip--pill { right: 5%; top: calc(var(--nav) + 300px); display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font: 500 14px/1 var(--font-text); animation-delay: -3s; }
.h-chip--orb { right: 12%; top: calc(var(--nav) + 400px); width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-orange); border: 0; box-shadow: 0 0 0 12px rgba(254,86,21,.14), 0 0 0 24px rgba(254,86,21,.06); animation-delay: -4s; }
.h-chip--orb svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes h-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 1279px) { .h-chips { display: none; } }

/* the portal window */
.h-win { position: relative; z-index: 2; margin-top: clamp(56px, 6vw, 88px); background: #f5f7f9; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,37,50,.35); text-align: left; }
.h-win__bar { display: flex; align-items: center; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.h-win__title { flex: 1; font: 500 15px/1.3 var(--font-text); }
.h-win__body { display: grid; grid-template-columns: 260px minmax(0, 1fr) 320px; min-height: 440px; background: #fff; }
.h-label { margin: 0 0 14px; font: 500 12px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h-win__side { padding: 24px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: #fbfcfd; }
.h-devices { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.h-devices li { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; }
.h-devices li.is-active { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 16px -10px rgba(0,37,50,.3); }
.h-devices div { flex: 1; min-width: 0; }
.h-devices b { display: block; font: 500 14px/1.3 var(--font-text); }
.h-devices small { color: var(--muted); font-size: 12.5px; }
.h-dev { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-navy) center / 18px no-repeat; flex: none; }
.h-dev--pc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.h-dev--wifi { background-color: var(--brand-orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M2 9a15 15 0 0 1 20 0M5.5 12.5a10 10 0 0 1 13 0M9 16a5 5 0 0 1 6 0'/%3E%3C/svg%3E"); }
.h-dev--till { background-color: var(--brand-blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='10' rx='2'/%3E%3Cpath d='M3 21h18l-2-8H5z'/%3E%3C/svg%3E"); }
.h-dev--phone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='7' y='2.5' width='10' height='19' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E"); }
.h-st { width: 8px; height: 8px; border-radius: 50%; background: #12a150; }
.h-st--work { background: var(--brand-orange); animation: h-blink 1.4s ease-in-out infinite; }
@keyframes h-blink { 50% { opacity: .3; } }
.h-left { margin-top: auto; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; }
.h-left small { color: var(--muted); font-size: 12.5px; }
.h-left b { font: 500 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.h-meter { height: 6px; border-radius: 9px; background: #edf1f4; overflow: hidden; }
.h-meter span { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--brand-blue); border-radius: inherit; transform-origin: left; animation: h-grow 1.4s var(--m-ease-enter, ease-out) 1.2s both; }

.h-win__flow { position: relative; padding: 28px clamp(20px, 3vw, 44px); background-image: radial-gradient(rgba(0,37,50,.12) 1px, transparent 1px); background-size: 18px 18px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.h-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.h-flow::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: #e3e9ed; }
.h-flow::after { content: ""; position: absolute; left: 18px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-orange); box-shadow: 0 0 0 4px rgba(254,86,21,.2); animation: h-travel 10s linear infinite; }
@keyframes h-travel { 0% { transform: translateY(0); opacity: 0; } 4% { opacity: 1; } 80% { transform: translateY(calc(4 * 72px)); opacity: 1; } 90%, 100% { transform: translateY(calc(4 * 72px)); opacity: 0; } }
.h-flow li { position: relative; display: flex; align-items: center; gap: 16px; height: 58px; padding: 0 16px 0 0; animation: h-step 10s ease infinite; animation-delay: calc(var(--i) * 2s); opacity: .45; }
.h-flow li > div { flex: 1; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; box-shadow: 0 8px 20px -14px rgba(0,37,50,.3); }
.h-flow b { font: 500 14px/1.2 var(--font-text); }
.h-flow small { color: var(--muted); font-size: 12.5px; }
.h-flow em { font-style: normal; font-size: 12.5px; color: var(--muted); min-width: 48px; text-align: right; }
.h-node { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--line); flex: none; }
.h-node svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h-node--dark { background: var(--brand-navy); border-color: var(--brand-navy); }
.h-node--dark svg { stroke: #fff; }
.h-node--ok { background: #e6f4ec; border-color: transparent; }
.h-node--ok svg { stroke: #12a150; }
@keyframes h-step { 0% { opacity: .45; } 4%, 70% { opacity: 1; } 90%, 100% { opacity: .45; } }
.h-flow__foot { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--brand-navy); color: #fff; font: 500 14px/1 var(--font-text); }

.h-win__feed { border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.h-feed__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 20px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.h-feed__head b { font-weight: 500; }
.h-feed { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent); }
.h-feed__track { list-style: none; margin: 0; padding: 0; animation: h-feed 24s linear infinite; }
.h-feed li { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #eef2f5; height: 64px; }
.h-feed li div { flex: 1; display: grid; gap: 2px; }
.h-feed b { font: 500 14px/1.2 var(--font-text); }
.h-feed small, .h-feed em { color: var(--muted); font-size: 12.5px; font-style: normal; }
.h-fi { width: 30px; height: 30px; border-radius: 9px; background: #e8effc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230348c6' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 4h14v16H5zM8.5 9h7M8.5 13h7'/%3E%3C/svg%3E") center / 16px no-repeat; flex: none; }
.h-fi--ok { background-color: #e6f4ec; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a150' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.h-fi--warm { background-color: #fff1ea; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d63f05' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4l3 2'/%3E%3C/svg%3E"); }
@keyframes h-feed { to { transform: translateY(-50%); } }
.h-win:hover .h-feed__track, .h-win:hover .h-flow li, .h-win:hover .h-flow::after { animation-play-state: paused; }

@media (max-width: 1279px) { .h-win__body { grid-template-columns: 230px minmax(0, 1fr) 280px; } }
@media (max-width: 1023px) { .h-win__body { grid-template-columns: minmax(0, 1fr) 280px; } .h-win__side { display: none; } }
@media (max-width: 767px) {
  .h-win__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .h-win__feed { display: none; }
  .h-win__bar .h-live { display: none; }
  .h-win__title { font-size: 13px; }
  .h-flow em { display: none; }
  .h-win { border-radius: 18px; }
}

/* ---------- TOOLS STRIP ---------- */
.h-tools { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.h-tools__in { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: center; }
.h-tools__lead { display: flex; align-items: center; gap: 16px; }
.h-tools__num { font: 500 48px/1 var(--font-display); letter-spacing: -.03em; color: var(--brand-blue); }
.h-tools__lead p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--muted); }
.h-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.h-marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 44px; width: max-content; animation: h-marq 50s linear infinite; }
.h-marquee:hover .h-marquee__track { animation-play-state: paused; }
.h-marquee li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font: 500 16px/1 var(--font-text); color: var(--ink); }
.h-marquee img { width: 24px; height: 24px; object-fit: contain; }
@keyframes h-marq { to { transform: translateX(calc(-50% - 22px)); } }
@media (max-width: 767px) { .h-tools__in { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- PROBLEM AND FIX ---------- */
.h-vs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.h-vs__side { border-radius: 24px; padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 20px; align-content: start; min-height: 560px; }
.h-vs__side h3 { margin: 0; font: 500 clamp(26px, 1.2vw + 16px, 34px)/1.15 var(--font-display); letter-spacing: -.025em; max-width: 18ch; }
.h-vs__side--before { background: repeating-linear-gradient(135deg, #f6f8fa 0 14px, #eef2f5 14px 15px); border: 1px solid var(--line); }
.h-vs__side--after { background: var(--brand-navy); color: #fff; --muted: #a9bac1; --line: rgba(255,255,255,.14); }
.h-vs__label { margin: 0; display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: #ff9b73; }
.h-vs__label--bad { color: var(--bad); }
.h-vs__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.h-vs__lead { margin: 0; color: #d7e0e4; font-size: 17px; line-height: 1.6; }
.h-vs__badge { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--brand-orange); color: #fff; font: italic 500 22px/1 var(--font-display); box-shadow: 0 0 0 8px #fff; }
.h-scatter { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.h-scatter li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 30px -20px rgba(0,37,50,.35); rotate: var(--r); max-width: 400px; transition: rotate .3s var(--ease), translate .3s var(--ease); }
.h-scatter li:nth-child(even) { margin-left: auto; }
.h-scatter li:hover { rotate: 0deg; translate: 0 -2px; }
.h-scatter b { display: block; font: 500 15px/1.3 var(--font-text); }
.h-scatter small { color: var(--muted); font-size: 13px; }
.h-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none; }
.h-ico svg { width: 20px; height: 20px; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h-ico--bad { background: var(--bad-bg); } .h-ico--bad svg { stroke: var(--bad); }
.h-checks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.h-checks li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font: 500 15px/1.35 var(--font-text); }
.h-checks small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 13px; white-space: nowrap; padding-left: 12px; }
.h-check { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; flex: none; }
.h-checks--plain li { background: none; border: 0; padding: 4px 0; font-size: 16px; }
.h-checks--plain .h-check { width: 24px; height: 24px; background-color: var(--brand-navy); }
@media (max-width: 1023px) {
  .h-vs { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .h-vs__side { min-height: 0; }
  .h-scatter li { max-width: none; }
}
@media (max-width: 639px) { .h-checks small { display: none; } .h-scatter li:nth-child(even) { margin-left: 0; } }

/* ---------- SERVICE CARDS ---------- */
.h-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.h-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; color: var(--ink); text-decoration: none; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s; }
.h-card:hover { transform: translateY(-2px); border-color: rgba(0,37,50,.22); box-shadow: 0 24px 40px -28px rgba(0,37,50,.35); }
.h-card h3 { margin: 12px 0 0; font: 500 21px/1.25 var(--font-text); letter-spacing: -.01em; }
.h-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.h-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.h-card__foot i { font: italic 400 26px/1 var(--font-display); color: #b3c0c6; }
.h-more { display: inline-flex; align-items: center; gap: 8px; font: 500 16px/1 var(--font-text); }
.h-more::after { content: "→"; transition: transform .15s var(--ease); }
.h-card:hover .h-more::after { transform: translateX(3px); }
.h-ui { height: 220px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfd; position: relative; overflow: hidden; display: grid; place-items: center; padding: 20px; }
.h-ui--list { place-items: stretch; align-content: center; gap: 4px; }
.h-task { display: flex; align-items: center; gap: 12px; padding: 10px 6px; font-size: 14px; border-bottom: 1px dashed #e4eaee; }
.h-task:last-child { border: 0; }
.h-task span { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #c5d0d6; flex: none; }
.h-task em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--muted); }
.h-task.is-done span { background: #12a150 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 10px no-repeat; border-color: #12a150; }
.h-task.is-run span { border-color: var(--brand-orange); border-top-color: transparent; animation: h-spin 1s linear infinite; }
.h-task.is-run em { color: var(--brand-orange-text); }
@keyframes h-spin { to { transform: rotate(360deg); } }
.h-ui--chain { display: flex; align-items: center; justify-content: center; gap: 0; }
.h-cn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 18px -12px rgba(0,37,50,.35); flex: none; }
.h-cn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.h-cn--dark { background: var(--brand-navy); border-color: var(--brand-navy); }
.h-cn--dark svg { stroke: #fff; }
.h-wire { position: relative; width: 26px; height: 2px; background: #dce3e8; overflow: hidden; }
.h-wire::after { content: ""; position: absolute; top: 0; left: -8px; width: 8px; height: 2px; background: var(--brand-orange); animation: h-pulse 1.8s linear infinite; }
.h-wire:nth-of-type(2)::after { animation-delay: .6s; } .h-wire:nth-of-type(3)::after { animation-delay: 1.2s; }
@keyframes h-pulse { to { left: 26px; } }
.h-ui--cams { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; place-items: stretch; background: #0d1b22; border-color: #0d1b22; }
.h-ui--cams figure { margin: 0; border-radius: 8px; background: var(--img) center / cover; filter: grayscale(1) contrast(1.05) brightness(.85); position: relative; }
.h-ui--cams figcaption { position: absolute; left: 6px; bottom: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 11.5px; }
.h-rec { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font: 500 11.5px/1 var(--font-text); letter-spacing: .05em; }
.h-rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; animation: h-blink 1.2s steps(2) infinite; }
.h-ui--site { place-items: center; }
.h-browser { width: 100%; max-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 24px -16px rgba(0,37,50,.35); }
.h-browser__bar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.h-browser__bar .h-dots i { width: 7px; height: 7px; }
.h-url { flex: 1; padding: 3px 8px; border-radius: 6px; background: #f2f5f9; font-size: 11.5px; color: var(--muted); }
.h-browser__page { display: grid; grid-template-columns: 1.2fr 1fr; gap: 6px 10px; padding: 12px; }
.h-sk { display: block; height: 8px; border-radius: 4px; background: #e6ecf0; }
.h-sk--nav { grid-column: 1 / -1; height: 6px; width: 60%; }
.h-sk--h { height: 14px; background: var(--brand-navy); }
.h-sk--p { width: 90%; } .h-sk--p.short { width: 60%; }
.h-sk--btn { width: 60px; height: 16px; border-radius: 99px; background: var(--brand-blue); }
.h-sk--img { grid-column: 2; grid-row: 2 / span 3; height: auto; min-height: 50px; border-radius: 8px; background: linear-gradient(135deg, #cfe0ff, #ffd9c9); }
.h-toast { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--brand-navy); color: #fff; font: 500 12.5px/1 var(--font-text); animation: h-toast 4s ease infinite; }
@keyframes h-toast { 0%, 15% { opacity: 0; transform: translateY(8px); } 25%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.h-ui--brand { grid-template-columns: 1fr; gap: 16px; place-items: stretch; align-content: center; }
.h-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.h-swatches span { height: 76px; border-radius: 12px; background: var(--c); color: #fff; font: 500 12px/1 var(--font-text); display: flex; align-items: flex-end; padding: 8px; transition: transform .3s var(--ease); }
.h-card:hover .h-swatches span:nth-child(2) { transform: translateY(-4px); }
.h-type { display: flex; align-items: baseline; gap: 12px; }
.h-type b { font: 500 40px/1 var(--font-display); letter-spacing: -.03em; }
.h-type small { color: var(--muted); font-size: 13px; }
.h-ui--gauge { grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.h-gauge { position: relative; width: 120px; height: 120px; }
.h-gauge svg { width: 100%; height: 100%; rotate: -90deg; }
.h-gauge circle { fill: none; stroke: #e6ecf0; stroke-width: 10; }
.h-gauge .h-gauge__fill { stroke: var(--brand-blue); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: calc(314 - 314 * var(--v) / 100); animation: h-gauge 1.6s var(--m-ease-enter, ease-out) both; }
@keyframes h-gauge { from { stroke-dashoffset: 314; } }
.h-gauge > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.h-gauge b { font: 500 32px/1 var(--font-display); }
.h-gauge small { font-size: 11px; color: var(--muted); }
.h-ui--gauge ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; }
.h-ui--gauge li { display: flex; align-items: center; gap: 8px; }
@media (max-width: 1023px) { .h-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .h-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- PROCESS ---------- */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.h-steps li { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.h-steps li.is-dark { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; --muted: #a9bac1; --line: rgba(255,255,255,.14); }
.h-step__top { display: flex; justify-content: space-between; align-items: center; }
.h-step__top b { font: 500 40px/1 var(--font-display); letter-spacing: -.03em; }
.h-step__ui { min-height: 110px; padding: 14px; border-radius: 14px; background: var(--p-surface); display: grid; gap: 8px; align-content: center; }
.is-dark .h-step__ui { background: rgba(255,255,255,.07); }
.h-pillbtn { justify-self: start; margin-top: 6px; padding: 6px 12px; border-radius: 99px; background: var(--brand-blue); color: #fff; font: 500 12.5px/1 var(--font-text); }
.h-mini { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fff; font-size: 13px; color: var(--brand-navy); }
.h-mini--prog { height: 10px; padding: 0; background: #dfe6eb; overflow: hidden; }
.h-mini--prog span { height: 100%; width: calc(var(--v) * 100%); background: var(--brand-orange); border-radius: inherit; animation: h-load 3s ease-in-out infinite; transform-origin: left; }
@keyframes h-load { 0% { transform: scaleX(.1); } 70%, 100% { transform: scaleX(1); } }
.h-steps h3 { margin: 6px 0 0; font: 500 19px/1.3 var(--font-text); }
.h-steps p { margin: 0; color: var(--muted); line-height: 1.55; }
@media (max-width: 1023px) { .h-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .h-steps { grid-template-columns: minmax(0, 1fr); } }

.h-ribbons { position: relative; height: 150px; margin-top: clamp(64px, 6vw, 96px); overflow: hidden; }
.h-ribbon { position: absolute; left: -5%; right: -5%; top: 50%; padding: 16px 0; overflow: hidden; }
.h-ribbon--a { background: var(--brand-orange); color: #fff; rotate: -3deg; translate: 0 -50%; z-index: 2; }
.h-ribbon--b { background: var(--brand-navy); color: #fff; rotate: 2.5deg; translate: 0 -50%; }
.h-ribbon__track { display: flex; gap: 0; width: max-content; animation: h-marq 40s linear infinite; }
.h-ribbon--b .h-ribbon__track { animation-direction: reverse; animation-duration: 46s; }
.h-ribbon span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 18px/1 var(--font-text); white-space: nowrap; }
.h-ribbon span::after { content: "✦"; font-size: 14px; opacity: .8; }

/* ---------- FIGURES BAND ---------- */
.h-figures { background: var(--brand-navy); color: #fff; padding: clamp(56px, 6vw, 88px) 0; }
.h-figures__row { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.h-figures__row > div { display: flex; flex-direction: column-reverse; gap: 12px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }
.h-figures dd { margin: 0; font: 500 clamp(44px, 3vw + 20px, 72px)/1 var(--font-display); letter-spacing: -.04em; }
.h-figures dd span { font-variant-numeric: tabular-nums; }
.h-figures dt { color: #a9bac1; font-size: 15px; }
.h-figures__row > div:nth-child(4) dd { color: #ff8a5c; }
@media (max-width: 767px) { .h-figures__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; } .h-figures__row > div { padding-left: 16px; } }

/* ---------- PORTAL THREAD ---------- */
.h-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.h-split__text h2 { margin: 0; font-size: clamp(32px, 2.6vw + 14px, 56px); line-height: 1.05; letter-spacing: var(--display-tracking-xl); font-weight: 500; }
.h-lead-sm { margin: 20px 0 24px; font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 44ch; }
.h-split .btn-row { margin-top: 28px; }
.h-thread { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -48px rgba(0,37,50,.4); }
.h-thread__bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.h-thread__bar > div { flex: 1; display: grid; gap: 2px; }
.h-thread__bar b { font: 500 15px/1.3 var(--font-text); }
.h-thread__bar small { color: var(--muted); font-size: 13px; }
.h-thread__body { padding: 24px 20px; display: grid; gap: 12px; min-height: 360px; align-content: start; background-image: radial-gradient(rgba(0,37,50,.08) 1px, transparent 1px); background-size: 18px 18px; }
.h-msg { justify-self: start; max-width: 78%; padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: var(--brand-navy); color: #fff; font-size: 15px; line-height: 1.45; }
.h-msg--you { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--p-surface); color: var(--ink); border: 1px solid var(--line); }
.h-status { justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.h-status--ok { color: #0f7b4a; background: #e6f4ec; border-color: transparent; font-weight: 500; }
html.h-js .h-thread .h-msg, html.h-js .h-thread .h-status { opacity: 0; transform: translateY(10px) scale(.98); }
html.h-js .h-thread.is-in .h-msg, html.h-js .h-thread.is-in .h-status { animation: h-msg .5s var(--m-ease-enter, ease-out) forwards; animation-delay: calc(.4s + var(--d) * .9s); }
@keyframes h-msg { to { opacity: 1; transform: none; } }
.h-thread__input { display: flex; justify-content: space-between; align-items: center; margin: 0 20px 20px; padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 14px; }
.h-send { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-orange); }
.h-send svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1023px) { .h-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WHY US BENTO ---------- */
.h-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.h-bento__photo { grid-column: 1 / span 4; grid-row: span 2; margin: 0; position: relative; border-radius: 22px; overflow: hidden; min-height: 520px; }
.h-bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.h-bento__photo:hover img { transform: scale(1.03); }
.h-float-pill { position: absolute; left: 16px; right: 16px; top: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: #fff; font: 500 14px/1.2 var(--font-text); width: max-content; max-width: calc(100% - 32px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.4); }
.h-bento__card { grid-column: span 4; display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.h-bento__card--wide { grid-column: 5 / span 8; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px; }
.h-bento__card--wide > div:first-child { display: grid; gap: 12px; }
.h-bento__card--dark { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; --muted: #a9bac1; --line: rgba(255,255,255,.16); }
.h-bento__card .h-tag { justify-self: start; }
.h-bento h3 { margin: 4px 0 0; font: 500 19px/1.3 var(--font-text); }
.h-bento p { margin: 0; color: var(--muted); line-height: 1.55; }
.h-big { margin: 8px 0 0 !important; color: var(--ink) !important; font: 500 clamp(44px, 2vw + 28px, 60px)/1 var(--font-display) !important; letter-spacing: -.04em; }
.h-big small { font: 500 16px/1 var(--font-text); letter-spacing: 0; color: var(--muted); margin-left: 8px; }
.h-chart { display: flex; align-items: flex-end; gap: 12px; height: 200px; padding: 18px; border-radius: 16px; background: var(--p-surface); }
.h-chart > div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; text-align: center; }
.h-chart i { display: block; height: calc(var(--v) * 78%); border-radius: 8px; background: #cfd9df; transform-origin: bottom; }
.h-chart .is-hot i { background: var(--brand-orange); }
html.h-js .h-chart i { transform: scaleY(0); transition: transform 1s var(--m-ease-enter, ease-out); }
html.h-js .is-in .h-chart i { transform: none; }
.h-chart > div:nth-child(2) i { transition-delay: .12s; } .h-chart > div:nth-child(3) i { transition-delay: .24s; }
.h-chart small { font-size: 12.5px; color: var(--muted); }
.h-timeline { display: flex; align-items: center; gap: 0; margin: 8px 0; }
.h-timeline span { flex: 1; position: relative; padding-top: 22px; font-size: 12.5px; color: var(--muted); }
.h-timeline span::before { content: ""; position: absolute; top: 4px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-navy); z-index: 1; }
.h-timeline span::after { content: ""; position: absolute; top: 9px; left: 12px; right: 0; height: 2px; background: var(--brand-navy); }
.h-timeline span.is-end { flex: none; }
.h-timeline span.is-end::before { background: var(--brand-orange); box-shadow: 0 0 0 4px rgba(254,86,21,.2); }
.h-timeline span.is-end::after { display: none; }
.h-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.h-pills > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 1023px) {
  .h-bento__photo { grid-column: 1 / -1; grid-row: auto; min-height: 340px; }
  .h-bento__card, .h-bento__card--wide { grid-column: 1 / -1; }
}
@media (min-width: 640px) and (max-width: 1023px) { .h-bento__card:not(.h-bento__card--wide) { grid-column: span 6; } }
@media (max-width: 639px) { .h-bento__card--wide { grid-template-columns: minmax(0, 1fr); } }

/* home pricing cards sit on white: give the light ones a tint */
#plans .plan-card:not(.is-featured) { background: var(--p-surface); border-color: transparent; }
#plans .plan-card { border-radius: 24px; }

/* ---------- QUESTIONS ---------- */
.h-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.h-faq__side h2 { margin: 0; font-size: clamp(32px, 2.6vw + 14px, 56px); line-height: 1.05; letter-spacing: var(--display-tracking-xl); font-weight: 500; }
.h-ask { margin-top: 40px; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
.h-ask h3 { margin: 0; font: 500 19px/1.3 var(--font-text); }
.h-ask p { margin: 0 0 8px; color: var(--muted); }
.h-faq__list { display: grid; gap: 12px; }
.h-qa { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .15s; }
.h-qa[open] { border-color: rgba(0,37,50,.25); }
.h-qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font: 500 17px/1.35 var(--font-text); min-height: 44px; }
.h-qa summary::-webkit-details-marker { display: none; }
.h-qa summary::after { content: ""; width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--p-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' fill='none' stroke='%23002532' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.h-qa[open] summary::after { transform: rotate(45deg); background-color: var(--brand-orange); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.h-qa p { margin: 0; padding: 0 24px 22px; color: var(--muted); line-height: 1.65; max-width: 62ch; }
.h-qa[open] p { animation: h-open .35s var(--m-ease-enter, ease-out); }
@keyframes h-open { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 1023px) { .h-faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CLOSING BLOCK ---------- */
.h-cta-sec { padding: clamp(64px, 6vw, 96px) 0 clamp(80px, 8vw, 120px); }
.h-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: clamp(36px, 5vw, 72px); border-radius: 32px; background: var(--brand-navy); color: #fff; }
.h-cta__word { position: absolute; left: 50%; bottom: -0.18em; translate: -50% 0; font: 600 clamp(110px, 17vw, 260px)/1 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); white-space: nowrap; pointer-events: none; user-select: none; }
.h-cta__text, .h-cta__card { position: relative; z-index: 1; }
.h-cta h2 { margin: 0; font-size: clamp(34px, 2.8vw + 14px, 60px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; max-width: 14ch; }
.h-cta__text > p { margin: 20px 0 28px; color: #c9d5da; font-size: var(--t-lead); line-height: 1.55; max-width: 44ch; }
.h-cta .btn--primary { background: #fff; color: var(--brand-navy); height: 56px; padding-left: 28px; font-size: 17px; }
.h-cta__checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: #c9d5da; font-size: 15px; }
.h-cta__checks li::before { content: "✓"; color: #ff8a5c; margin-right: 8px; }
.h-cta__card { background: #fff; color: var(--brand-navy); border-radius: 22px; padding: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.h-cta__card-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid #e6ecf0; }
.h-cta__card-head b { font: 500 17px/1.3 var(--font-text); }
.h-cta__card-head small { color: #5b707a; font-size: 13px; }
.h-cta__card ol { list-style: none; margin: 0; padding: 0; }
.h-cta__card li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid #eef2f5; }
.h-cta__card li:last-child { border: 0; padding-bottom: 0; }
.h-cta__card li > span { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #c5d0d6; flex: none; }
.h-cta__card li.is-done > span { background: #12a150 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 6.2 2 2 4-4.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: #12a150; }
.h-cta__card li.is-run > span { border-color: var(--brand-orange); border-top-color: transparent; animation: h-spin 1s linear infinite; }
.h-cta__card li div { display: grid; gap: 2px; }
.h-cta__card li b { font: 500 15px/1.3 var(--font-text); }
.h-cta__card li small { color: #5b707a; font-size: 13px; }
@media (max-width: 1023px) { .h-cta { grid-template-columns: minmax(0, 1fr); } }

/* ---------- reduced motion: every loop rests on its finished frame ---------- */
@media (prefers-reduced-motion: reduce) {
  .h-hero *, .h-tools *, .h-sec *, .h-figures *, .h-cta * { animation: none !important; transition: none !important; }
  .h-flow li { opacity: 1; }
  .h-flow::after { display: none; }
  html.h-js [data-reveal] { opacity: 1; transform: none; }
  html.h-js .h-thread .h-msg, html.h-js .h-thread .h-status { opacity: 1; transform: none; }
  html.h-js .h-chart i { transform: none; }
  .h-marquee__track, .h-ribbon__track { flex-wrap: wrap; width: auto; }
}

/* the kit sizes every main > section to whole screens; the home page follows the reference's own
   rhythm instead, so its sections take their content's height */
main > section:is(.h-hero, .h-sec, .h-tools, .h-figures, .h-cta-sec) { height: auto; min-height: 0; display: block; }
main > section:is(.h-hero, .h-sec, .h-tools, .h-figures, .h-cta-sec) > .wrap { height: auto; display: block !important; }
main > section.h-sec { padding: clamp(80px, 8vw, 128px) 0; }
main > section.h-hero { padding: calc(var(--nav) + clamp(56px, 6vw, 96px)) 0 clamp(64px, 6vw, 96px); }
main > section.h-hero > .h-hero__head { display: grid !important; }
main > section.h-tools { padding: 40px 0; }
main > section.h-tools > .h-tools__in { display: grid !important; }
main > section.h-figures { padding: clamp(56px, 6vw, 88px) 0; }
main > section.h-cta-sec { padding: clamp(32px, 4vw, 64px) 0 clamp(80px, 8vw, 120px); }
main > section.h-sec > .h-split, main > section.h-sec > .h-faq { display: grid !important; }
.is-home footer.closing { height: auto; min-height: 0; padding-top: clamp(48px, 5vw, 80px); }
.is-home footer.closing > .wrap { height: auto; }
.h-marquee { min-width: 0; } .h-tools__in > * { min-width: 0; }
.h-bento__card--dark { --ink: #fff; }
@media (max-width: 1023px) {
  .h-vs__badge { position: relative; left: auto; top: auto; translate: none; justify-self: center; margin: -64px 0; }
}
@media (max-width: 639px) {
  .h-hero .h-eyebrow { font-size: 12px; letter-spacing: .06em; }
  .h-hero .h-eyebrow__line { display: none; }
  .h-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .h-actions .btn--primary, .h-btn-ghost { justify-content: space-between; }
  .h-facts { flex-direction: column; align-items: center; gap: 8px; }
  .h-ribbons { height: 110px; }
  .h-ribbon span { font-size: 15px; }
  .h-cta__word { font-size: 96px; }
  .h-thread__body { min-height: 320px; }
}

/* ---------- the portal's title bar: it types in, the ticket number rolls each cycle, the status turns
   resolved when the flow reaches "Fixed", and a line under the bar tracks the ticket (10 s cycle) ---------- */
.h-win__bar { position: relative; }
.h-win__dots-on .h-dots i:nth-child(1) { background: #fe5615; }
.h-win .h-dots i { animation: h-dotlight 10s ease infinite; }
.h-win .h-dots i:nth-child(2) { animation-delay: .3s; } .h-win .h-dots i:nth-child(3) { animation-delay: .6s; }
@keyframes h-dotlight { 0%, 8% { background: #d9e0e6; } 12%, 60% { background: #fe5615; } 64%, 92% { background: #12a150; } 100% { background: #d9e0e6; } }
.h-win__title { display: inline-flex; align-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.h-win__type { display: inline-flex; align-items: center; clip-path: inset(0 100% 0 0); animation: h-type 1.4s steps(34, end) 1s forwards; }
@keyframes h-type { to { clip-path: inset(0 0 0 0); } }
.h-win__sep { margin: 0 .45em; color: var(--muted); }
.h-roll { display: inline-block; height: 1.3em; line-height: 1.3em; overflow: hidden; vertical-align: bottom; margin-left: .3em; color: var(--brand-blue); font-variant-numeric: tabular-nums; }
.h-roll__track { display: flex; flex-direction: column; animation: h-roll 30s cubic-bezier(.65,0,.35,1) 2.4s infinite; }
.h-roll__track > span { height: 1.3em; }
@keyframes h-roll { 0%, 31% { transform: translateY(0); } 33.3%, 64.6% { transform: translateY(-1.3em); } 66.6%, 97.9% { transform: translateY(-2.6em); } 100% { transform: translateY(-3.9em); } }
.h-caret { width: 2px; height: 1.1em; margin-left: 3px; background: var(--brand-orange); animation: h-caret 1s steps(2, jump-none) infinite; }
@keyframes h-caret { 50% { opacity: 0; } }
.h-live--swap { position: relative; display: inline-grid; grid-template-columns: auto auto; }
.h-live--swap .h-live__a, .h-live--swap .h-live__b { grid-column: 2; grid-row: 1; }
.h-live--swap .h-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-orange); animation: h-livedot 10s ease infinite; }
.h-live__a { animation: h-swap-a 10s ease infinite; }
.h-live__b { opacity: 0; color: #0f7b4a; animation: h-swap-b 10s ease infinite; }
.h-live--swap { animation: h-swap-pill 10s ease infinite; }
@keyframes h-swap-a { 0%, 58% { opacity: 1; transform: none; } 62%, 96% { opacity: 0; transform: translateY(-6px); } 100% { opacity: 1; } }
@keyframes h-swap-b { 0%, 58% { opacity: 0; transform: translateY(6px); } 62%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes h-livedot { 0%, 58% { background: var(--brand-orange); box-shadow: 0 0 0 0 rgba(254,86,21,.45); } 30% { box-shadow: 0 0 0 6px rgba(254,86,21,0); } 62%, 96% { background: #12a150; box-shadow: 0 0 0 0 rgba(18,161,80,0); } }
@keyframes h-swap-pill { 0%, 58% { background: #fff; border-color: var(--line); } 62%, 96% { background: #e6f4ec; border-color: transparent; } }
.h-win__line { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--brand-orange); transform-origin: left; animation: h-ticketline 10s linear infinite; }
@keyframes h-ticketline { 0% { transform: scaleX(0); background: var(--brand-orange); opacity: 1; } 60% { transform: scaleX(1); background: var(--brand-orange); } 62%, 92% { transform: scaleX(1); background: #12a150; opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.h-win:hover :is(.h-dots i, .h-roll__track, .h-live--swap, .h-live--swap *, .h-win__line) { animation-play-state: paused; }
@media (max-width: 767px) { .h-caret { display: none; } }
@media (prefers-reduced-motion: reduce) { .h-win__type { clip-path: none; } .h-live__b, .h-win__line { display: none; } }
.h-live--swap { flex: none; column-gap: 8px; justify-items: start; }
.h-live--swap .h-live__dot { grid-column: 1; grid-row: 1; }
.h-live--swap .h-live__a, .h-live--swap .h-live__b { white-space: nowrap; }
/* the generic live pill styles every child span as a dot: undo that for the two labels */
.h-live.h-live--swap > .h-live__a, .h-live.h-live--swap > .h-live__b { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; }
.h-live.h-live--swap > .h-live__a { animation: h-swap-a 10s ease infinite; }
.h-live.h-live--swap > .h-live__b { animation: h-swap-b 10s ease infinite; }
.h-live.h-live--swap > .h-live__dot { animation: h-livedot 10s ease infinite; }
