/* ELIX HSE Suite - public website. Theme A "Refreshed Navy" (Nov 2026): navy #0B2545 / ink #071A33 / #0E2E57, green #22A35A, deep #137A41 (small green text on white),
   mint #4CD486 (on navy only), amber #F5B82E (live status dots only, never text on white), mist #F4F7FA, Poppins. */
:root {
    --navy: #0B2545; --navy2: #13315C; --navy3: #0E2E57; --ink: #071A33; --green: #22A35A; --deep: #137A41; --deeper: #0E5C31; --mint: #4CD486;
    --mist: #F4F7FA; --line: #E2E8F0; --text: #0F172A; --muted: #526075; --soft: #C9D6E6; --softer: #A9BBD1;
    --red: #D93F44; --amber: #D99A1E; --hot: #F5B82E;
    /* navy ground for heroes and the demo / CTA bands: deep gradient with a soft green glow top right */
    --ground: radial-gradient(900px 420px at 85% 30%, rgba(34,163,90,.38), transparent 60%), linear-gradient(160deg, #071A33 30%, #0E2E57);
    --bar-h: 76px; --bar-h-s: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--text); font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--deep); } a:hover { color: var(--deeper); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; } .mid { max-width: 1000px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 25px; border-radius: 12px; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; } .btn-green:hover { background: var(--deep); color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.45); } .btn-ghost-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-ghost { color: var(--navy); border-color: var(--navy); background: #fff; } .btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
/* sticky top bar on every page. It keeps its height in the page flow; the hero below is pulled up under it, so over the hero the bar is
   see-through (same navy, seamless). After ~40px of scroll site.js adds .stuck: solid navy, blur, shadow and a slightly shorter bar.
   Without JavaScript the bar is always solid. */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--bar-h); color: #fff; pointer-events: none; }
.topbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; background: rgba(7,26,51,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(3,10,25,.28); transition: opacity .25s, height .25s; }
.js .topbar:not(.stuck):not(.open)::before { opacity: 0; }
.topbar.stuck::before { height: var(--bar-h-s); }
.topbar .nav { pointer-events: auto; }
.site-head { background: var(--ground); background-color: var(--ink); color: #fff; position: relative; overflow: hidden; margin-top: calc(-1 * var(--bar-h)); padding-top: var(--bar-h); }
.nav { display: flex; align-items: center; gap: 16px 32px; height: var(--bar-h); position: relative; z-index: 2; transition: height .25s; }
.topbar.stuck .nav { height: var(--bar-h-s); }
[id] { scroll-margin-top: calc(var(--bar-h-s) + 16px); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.brand svg { width: 36px; height: 36px; flex: none; } .brand b { color: var(--mint); font-weight: 700; }
.brand:hover { color: #fff; }
/* logo lockup: "ELIX HSE Suite" with the tagline underneath at exactly the same width (letter-spacing measured in the browser) */
.lk { display: inline-grid; justify-items: start; line-height: 1.1; }
.lk1 { font-size: 20px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; } .lk1 em { font-style: normal; font-weight: 300; }
.lk small { display: block; margin-top: 3px; font-size: 8px; font-weight: 400; letter-spacing: var(--lk-ls, .98px); margin-right: calc(-1 * var(--lk-ls, .98px)); color: var(--softer); white-space: nowrap; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 28px; flex: 1 1 auto; font-size: 15px; }
.nav-links a { color: #DCE6F2; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: #fff; } .nav-links a[aria-current="page"] { color: #fff; font-weight: 600; border-bottom-color: var(--mint); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; overflow: hidden; font-size: 14px; font-weight: 600; }
.lang a { color: #C9D6E6; text-decoration: none; padding: 8px 12px; min-height: 40px; display: inline-flex; align-items: center; }
.lang a.on { background: rgba(255,255,255,.14); color: #fff; } .lang a:hover { color: #fff; }
.login { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; } .login:hover { color: var(--mint); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* watermark shield behind headers */
.mark-bg { --mb: .07; position: absolute; pointer-events: none; transform: rotate(-8deg); }
.mark-bg path:first-child { fill-opacity: var(--mb); }
.mark-bg path + path { stroke-opacity: calc(var(--mb) * 3); }
.page-hero .mark-bg { right: -60px; top: 10px; width: 420px; height: 420px; }

/* ---------- heroes ---------- */
.hero-in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.pill-tag { display: inline-block; margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); background: rgba(76,212,134,.12); border-radius: 999px; padding: 6px 14px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(34px, 5vw, 52px); line-height: 1.12; font-weight: 700; }
.hero .sub { margin: 0 0 32px; font-size: clamp(17px, 1.6vw, 19px); color: var(--soft); max-width: 600px; }
.hero .note { margin: 20px 0 0; font-size: 14px; color: var(--softer); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 72px; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.page-hero h1 { margin: 0 0 16px; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.15; font-weight: 700; max-width: 820px; }
.page-hero .sub { margin: 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--soft); max-width: 720px; }
.jump { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { font-size: 14px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 14px; } .jump a:hover { background: rgba(255,255,255,.08); }

/* hero: the ELIX web dashboard in a tilted laptop with the ELIX Field phone in front (real app screens, images/hero-dash-*, hero-field-*) */
.hp-sec .hero-in { flex-wrap: nowrap; gap: 48px; padding-bottom: 104px; }
.hp-sec .hero-copy { flex: 0 0 470px; }
.hp-sec h1 { font-size: clamp(34px, 3.9vw, 48px); }
.hv-glow { position: absolute; right: -10%; top: 6%; width: 70%; height: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34,163,90,.32), rgba(34,163,90,.1) 55%, transparent); filter: blur(20px); pointer-events: none; }
.hero h1 mark { background: none; color: var(--mint); }
.hero-vis { position: relative; flex: 1 1 0; min-width: 0; margin-right: -90px; padding: 10px 0 40px 4%; }
.hv-lap { position: relative; transform: perspective(2000px) rotateY(-16deg) rotateX(5deg); transform-origin: 0 50%; }
.hv-screen { background: #0A1424; border-radius: 16px 16px 4px 4px; padding: 12px 12px 14px; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 40px 80px rgba(3,10,25,.55); }
.hv-screen img { display: block; width: 100%; height: auto; border-radius: 4px; }
.hv-base { height: 18px; margin: 0 -7%; border-radius: 2px 2px 18px 18px; background: linear-gradient(180deg, #DDE3EB 0%, #A9B4C3 60%, #7D8899 100%); box-shadow: 0 24px 40px rgba(3,10,25,.5); }
.hv-base::before { content: ""; display: block; width: 16%; height: 7px; margin: 0 auto; border-radius: 0 0 10px 10px; background: #8E99A9; }
.phone-frame { background: #0A1424; border-radius: 30px; padding: 7px; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 30px 60px rgba(3,10,25,.65); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 24px; }
.hv-phone { position: absolute; z-index: 2; left: 0; bottom: 0; width: 27%; min-width: 150px; }
.toast { position: absolute; z-index: 2; right: 150px; top: -14px; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--text); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: 0 14px 30px rgba(3,10,25,.35); animation: hv-float 6s ease-in-out -3s infinite; white-space: nowrap; }
.toast b { display: block; font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.toast small { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.toast small i { flex: none; width: 8px; height: 8px; border-radius: 999px; background: var(--hot); box-shadow: 0 0 0 0 rgba(245,184,46,.55); animation: hot-pulse 2s ease-out infinite; }
@keyframes hot-pulse { 0% { box-shadow: 0 0 0 0 rgba(245,184,46,.55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(245,184,46,0); } }
.toast > span:last-child { transition: opacity .3s; } .toast.swap > span:last-child { opacity: 0; }
.toast .ti { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.toast .ti svg { width: 18px; height: 18px; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.toast .ti { background: #DFF3E7; } .toast .ti svg { stroke: var(--deep); }
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) {
    .hp-sec .hero-in { flex-wrap: wrap; }
    .hp-sec .hero-copy { flex-basis: 100%; }
    .hero-vis { flex-basis: 100%; margin: 0 -80px 0 8%; }
    .toast { right: 120px; }
}
@media (max-width: 760px) {
    .hp-sec .hero-in { padding-bottom: 64px; }
    .hero-vis { margin: 0; padding: 0; display: flex; justify-content: center; }
    .hv-lap, .toast { display: none; }
    .hv-phone { position: relative; left: auto; width: 240px; }
    .hv-glow { right: -40%; top: 45%; width: 120%; height: 60%; }
}

/* ---------- sections ---------- */
.sec { padding: 96px 0; } .sec.tight { padding: 72px 0; } .sec.mist { background: var(--mist); }
.kicker { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); }
.h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; color: var(--navy); }
.lead { margin: 0 0 44px; font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); max-width: 720px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.split { display: flex; flex-wrap: wrap; gap: 48px; } .split.middle { align-items: center; }
.split > .col { flex: 1 1 480px; min-width: 0; } .split > .col.sm { flex: 1 1 380px; }
.p-muted { margin: 0 0 16px; font-size: 17px; color: var(--muted); } .p-muted:last-child { margin-bottom: 0; }

.built { background: var(--mist); border-bottom: 1px solid var(--line); }
.built .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 28px; padding-bottom: 28px; }
.built b { font-size: 14px; font-weight: 600; color: var(--muted); margin-right: 8px; }
.chip { font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
.chips-lg { display: flex; flex-wrap: wrap; gap: 10px; } .chips-lg span { font-size: 15px; background: var(--mist); border-radius: 999px; padding: 10px 18px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cards.c240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: #fff; }
.card h3 { margin: 14px 0 8px; font-size: 19px; color: var(--navy); line-height: 1.3; } .card h3:first-child { margin-top: 0; }
.card p { margin: 0; font-size: 15px; color: var(--muted); }
.card svg.ic { width: 32px; height: 32px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card.dark { background: var(--navy); border-color: var(--navy); color: #fff; } .card.dark h3 { color: #fff; } .card.dark p { color: var(--soft); }
/* home: module cards grouped by need, with the packages that include each one in the card footer */
.mg { padding: 28px 0; border-top: 1px solid var(--line); }
.mg:first-of-type { margin-top: 8px; }
.mg-t { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.mg-t::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--green); }
.mg-row { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; }
.mg-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.mg-card:hover { border-color: #BFD3E6; box-shadow: 0 10px 24px rgba(11,37,69,.08); }
.mg-main { display: flex; align-items: flex-start; gap: 14px; padding: 18px; }
.mg-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c, #13315C) 11%, #fff); }
.mg-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--c, var(--navy2)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mg-txt { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mg-txt b { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.mg-txt span { font-size: 14px; line-height: 1.55; color: var(--muted); }
.mg-pk { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 18px; border-top: 1px solid var(--line); }
.mg-pk small { flex: 1 0 100%; font-size: 12px; line-height: 1.3; color: var(--muted); }
.mg-pk em { font-style: normal; font-size: 12px; font-weight: 600; line-height: 1.4; border-radius: 999px; padding: 2px 10px; border: 1px solid var(--navy); background: var(--navy); color: #fff; white-space: nowrap; }
.mg-pk em.essential { background: #fff; border-color: var(--green); color: var(--deep); }
.mg-all { margin: 0 0 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 1100px) { .mg-row[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .mg-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mg-row, .mg-row[style*="--n:4"] { grid-template-columns: minmax(0, 1fr); } .mg-main { padding: 16px; } .mg-pk { padding: 12px 16px; } }
@media (prefers-reduced-motion: reduce) { .mg-card { transition: none; } }.mini { background: #fff; border-radius: 14px; padding: 22px; border: 1px solid var(--line); }
.mini h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); } .mini p { margin: 0; font-size: 14px; color: var(--muted); }
.grid-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; font-size: 16px; }
.ticks li { display: flex; gap: 12px; } .ticks li::before { content: "\2713"; color: var(--green); font-weight: 700; flex: none; }
.ticks.sm { gap: 12px; }

.navy-box { background: var(--navy); color: #fff; border-radius: 24px; padding: 36px; position: relative; overflow: hidden; }
/* "One app, two home screens" box (includes/field_box.cfm): two real ELIX Field home screens in phone frames */
.fb-phones { display: flex; justify-content: center; gap: 22px; margin-top: 18px; }
.fb-phones figure { margin: 0; flex: 0 1 190px; min-width: 0; text-align: center; }
.fb-phones .phone-frame { border-radius: 26px; padding: 6px; box-shadow: 0 22px 44px rgba(3,10,25,.55); }
.fb-phones .phone-frame img { border-radius: 20px; }
.fb-phones figcaption { margin-top: 14px; font-size: 15px; font-weight: 600; color: #fff; }
@media (max-width: 640px) { .fb-phones { gap: 14px; } .fb-phones figure { flex-basis: 150px; } .fb-phones .phone-frame { border-radius: 22px; padding: 5px; } .fb-phones .phone-frame img { border-radius: 17px; } }.navy-box .muted { margin: 0 0 18px; font-size: 14px; color: var(--softer); }

/* features: module rows */
.feat-tag { display: block; width: 44px; height: 6px; border-radius: 999px; margin-bottom: 18px; }
.feat h2 { margin: 0 0 12px; font-size: clamp(26px, 3vw, 32px); line-height: 1.2; color: var(--navy); }
.feat .p-muted { font-size: 18px; margin-bottom: 22px; }
.feat .split { align-items: flex-start; }
/* "How it flows" stepper: horizontal, a vertical timeline on phones (see includes/flow.cfm) */
.flow { margin-top: 40px; border-radius: 20px; padding: 28px 28px 30px; background: var(--mist); border: 1px solid var(--line); }
.feat.mist .flow:not(.dark) { background: #fff; }
.flow.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.flow-t { margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); } .flow.dark .flow-t { color: var(--mint); }
.fl-steps { --dot: 56px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 12px; position: relative; }
.fl-steps::before, .fl-steps::after { content: ""; position: absolute; top: calc(var(--dot) / 2 - 1.5px); left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); height: 3px; border-radius: 3px; background: var(--line); }
.fl-steps::after { background: var(--green); transform-origin: left center; }
.flow.dark .fl-steps::before { background: rgba(255,255,255,.14); }
.fl-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.fl-dot { position: relative; flex: none; width: var(--dot); height: var(--dot); border-radius: 999px; background: #fff; border: 2px solid var(--c, var(--navy2)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--mist); transition: transform .2s; }
.feat.mist .flow:not(.dark) .fl-dot { box-shadow: 0 0 0 6px #fff; }
.fl-dot svg { width: 24px; height: 24px; fill: none; stroke: var(--c, var(--navy2)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fl-dot b { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; line-height: 22px; text-align: center; }
.fl-dot i { position: absolute; bottom: -4px; right: -6px; width: 22px; height: 22px; border-radius: 999px; background: var(--green); display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.fl-dot i svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; }
.fl-step.last .fl-dot { background: var(--green); border-color: var(--green); } .fl-step.last .fl-dot svg { stroke: #fff; } .fl-step.last .fl-dot i svg { stroke: #fff; }
.fl-step.last .fl-dot i { background: var(--deep); }
.fl-step:hover .fl-dot { transform: translateY(-3px); }
.flow.dark .fl-dot { background: var(--ink); border-color: var(--mint); box-shadow: 0 0 0 6px var(--navy); } .flow.dark .fl-dot svg { stroke: var(--mint); }
.flow.dark .fl-dot b { background: var(--green); } .flow.dark .fl-dot i { border-color: var(--navy); }
.flow.dark .fl-step.last .fl-dot { background: var(--green); border-color: var(--green); } .flow.dark .fl-step.last .fl-dot svg { stroke: #fff; }
.fl-txt { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 16px; min-width: 0; max-width: 100%; }
.fl-t { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; } .flow.dark .fl-t { color: #fff; }
.fl-c { font-size: 13px; line-height: 1.45; color: var(--muted); } .flow.dark .fl-c { color: var(--soft); }
.fl-st { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 11px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.fl-st::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 999px; background: var(--c, var(--navy2)); }
.feat.mist .flow:not(.dark) .fl-st { background: var(--mist); }
.fl-step.last .fl-st { color: var(--deep); border-color: rgba(34,163,90,.35); } .fl-step.last .fl-st::before { background: var(--green); }
.flow.dark .fl-st { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); } .flow.dark .fl-st::before { background: var(--mint); }
/* scroll-in: only when site.js is running (html.js); without it the stepper is fully drawn */
.js .flow .fl-steps::after { transform: scaleX(0); transition: transform 1.2s ease .15s; }
.js .flow .fl-step { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i) * 140ms + .1s); }
.js .flow.in .fl-steps::after { transform: none; } .js .flow.in .fl-step { opacity: 1; transform: none; }

/* compliance: requirement tables */
.req-head, .req { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.req-head { padding: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.req { padding: 18px 0; border-top: 1px solid var(--line); }
.req-head span:first-child, .req .need { flex: 1 1 300px; min-width: 0; } .req-head span:last-child, .req .how { flex: 1 1 360px; min-width: 0; }
.req .need { margin: 0; font-size: 16px; font-weight: 600; color: var(--navy); }
.req .how { margin: 0; font-size: 15px; color: var(--muted); display: flex; gap: 10px; } .req .how::before { content: "\2713"; color: var(--green); font-weight: 700; flex: none; }
.h-law { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.25; color: var(--navy); }
.disclaimer { margin: 0; font-size: 14px; color: var(--muted); background: var(--mist); border-radius: 12px; padding: 16px 18px; }

/* ---------- packages ---------- */
/* all four packages in one row on desktop, two per row on tablets, one per row on phones */
.pk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 1100px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; } }
@media (max-width: 700px) { .pk-grid { grid-template-columns: minmax(0, 1fr); } }
.pk { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.pk h3 { margin: 0; font-size: 22px; color: var(--navy); } .pk .tag { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.pk .price { margin: 0; } .pk .price b { font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1.1; } .pk .price span { font-size: 15px; color: var(--muted); } .pk .price small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.pk ul { margin: 0; padding: 0 0 0 20px; font-size: 15px; display: grid; gap: 8px; flex: 1 1 auto; align-content: start; }
.pk.featured { background: var(--navy); border-color: var(--navy); color: #fff; } .pk.featured h3, .pk.featured .price b { color: #fff; } .pk.featured .tag, .pk.featured .price span, .pk.featured .price small { color: var(--soft); }
.pk .badge { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; background: var(--green); color: #fff; border-radius: 999px; padding: 4px 12px; }
.pk.featured .pk-head { padding-right: 110px; }
@media (min-width: 1101px) {
    .pk-grid .pk { padding: 28px 22px; }
    .pk-grid .pk .price b { font-size: 34px; }
    .pk-grid .pk .badge { top: -12px; right: auto; left: 50%; transform: translateX(-50%); white-space: nowrap; }
    .pk-grid .pk.featured .pk-head { padding-right: 0; }
}

.cmp-wrap { margin-top: 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 560px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 14px 8px; border-top: 1px solid var(--line); font-size: 15px; text-align: center; }
.cmp thead th { border-top: 0; font-size: 14px; font-weight: 700; color: var(--navy); width: 130px; }
.cmp th[scope="row"] { text-align: left; font-weight: 400; } .cmp thead th:first-child { width: auto; }
.cmp .yes { color: var(--green); font-weight: 700; font-size: 18px; } .cmp .no { color: #94A3B8; } .cmp .val { font-size: 14px; font-weight: 600; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-item h3 { margin: 0; }
.faq-q { width: 100%; text-align: left; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--navy); background: transparent; border: 0; padding: 20px 22px; min-height: 44px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; cursor: pointer; border-radius: 14px; }
.faq-q .sign { color: var(--deep); font-size: 20px; line-height: 1.2; flex: none; } .faq-q .sign::before { content: "+"; } .faq-q[aria-expanded="true"] .sign::before { content: "\2212"; }
.faq-a { padding: 0 22px 20px; font-size: 15px; color: var(--muted); } .faq-a p { margin: 0; }
.faq-a[hidden] { display: none; }
.ask { background: var(--mist); border-radius: 16px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.ask p { margin: 0; font-size: 16px; }

/* ---------- demo form ---------- */
.demo { background: var(--ground); background-color: var(--ink); color: #fff; position: relative; overflow: hidden; }
.demo .mark-bg { left: -120px; bottom: -160px; width: 520px; height: 520px; --mb: .06; transform: none; }
.demo-in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.demo-in.page { padding-top: 64px; padding-bottom: 88px; }
.demo-copy { flex: 1 1 380px; min-width: 0; }
.demo-copy h1, .demo-copy h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; } .demo-copy h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; }
.demo-copy .strong { margin: 0 0 16px; font-size: 20px; font-weight: 600; } .demo-copy .sub { margin: 0 0 24px; font-size: 18px; color: var(--soft); } .demo-copy .note { margin: 0; font-size: 15px; color: var(--softer); }
.form { flex: 1 1 480px; min-width: 0; background: #fff; color: var(--text); border-radius: 20px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; align-content: start; }
.field input, .field select, .field textarea { width: 100%; font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.4; color: var(--text); padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 10px; min-height: 48px; background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(34,163,90,.25); }
.field .req { color: var(--red); }
.field .err { display: none; font-size: 13px; font-weight: 500; color: #B42318; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #D92D20; } .field.bad .err { display: block; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .pdpa { margin: 0; font-size: 13px; color: var(--muted); }
.alert { grid-column: 1 / -1; border-radius: 12px; padding: 16px; font-size: 15px; }
.alert.ok { background: #D7F0E1; color: var(--deeper); } .alert.bad { background: #FEE4E2; color: #912018; }
.form.sent .field, .form.sent .send, .form.sent .pdpa { display: none; }
.send[disabled] { opacity: .65; cursor: wait; }

.steps { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.step { display: flex; gap: 16px; }
.step > span { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 0 0 4px; font-size: 18px; color: var(--navy); } .step p { margin: 0; font-size: 15px; color: var(--muted); }

/* about */
.aim { flex: 1 1 380px; min-width: 0; background: var(--navy); color: #fff; border-radius: 20px; padding: 32px; position: relative; overflow: hidden; }
.aim .mark-bg { right: -40px; bottom: -50px; width: 240px; height: 240px; --mb: .08; transform: none; }
.aim .eyebrow { letter-spacing: .06em; } .aim p.big { position: relative; margin: 0; font-size: 22px; line-height: 1.45; font-weight: 600; }

/* CTA band + footer */
.cta { background: var(--ground); background-color: var(--ink); color: #fff; position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); }
.cta .mark-bg { right: -40px; bottom: -120px; width: 340px; height: 340px; --mb: .05; }
.cta .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 32px); line-height: 1.2; color: #fff; } .cta p { margin: 0; font-size: 17px; color: var(--soft); }
.cta .btn-row { align-items: center; } .cta-link { color: var(--mint); font-weight: 600; text-decoration: none; padding: 12px 4px; } .cta-link:hover { color: #fff; }
.cta .col { flex: 1 1 480px; min-width: 0; }
.site-foot { background: var(--ink); color: var(--softer); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 14px; padding-top: 48px; padding-bottom: 40px; }
.foot-brand { flex: 1 1 280px; min-width: 0; display: grid; gap: 14px; justify-items: start; } .foot-brand p { margin: 0; max-width: 340px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: flex-start; } .foot-links a { color: var(--softer); text-decoration: none; } .foot-links a:hover { color: #fff; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.08); } .foot-bar p { margin: 0 auto; padding: 18px 24px; font-size: 13px; max-width: 1200px; }

/* privacy / plain text pages */
.prose { max-width: 820px; } .prose h2 { color: var(--navy); font-size: 22px; margin: 36px 0 8px; } .prose p, .prose li { color: var(--muted); font-size: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
    :root { --bar-h: 68px; --bar-h-s: 60px; }
    .menu-btn { display: inline-flex; }
    .nav { flex-wrap: wrap; }
    .topbar.open { height: auto; } .topbar.open .nav { height: auto; padding-top: 12px; }
    .topbar.open .brand, .topbar.open .menu-btn { margin-bottom: 8px; }
    .nav-links, .nav-actions { display: none; flex: 1 1 100%; }
    .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 8px; }
    .nav.open .nav-links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.06); }
    .nav.open .nav-links a[aria-current="page"] { border-bottom-color: var(--mint); }
    .nav.open .nav-actions { display: flex; flex-wrap: wrap; padding-bottom: 8px; }
    .nav.open .nav-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 760px) {
    .flow { margin-top: 32px; }
    .fl-steps { --dot: 48px; grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .fl-steps::before, .fl-steps::after { top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2); left: calc(var(--dot) / 2 - 1.5px); right: auto; width: 3px; height: auto; }
    .fl-steps::after { transform-origin: center top; }
    .js .flow .fl-steps::after { transform: scaleY(0); }
    .fl-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 16px; }
    .fl-txt { align-items: flex-start; margin-top: 2px; }
    .fl-dot svg { width: 21px; height: 21px; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .sec { padding: 64px 0; } .sec.tight { padding: 56px 0; }
    .hero-in { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
    .page-hero .wrap { padding-top: 36px; padding-bottom: 52px; }
    .page-hero .mark-bg { width: 280px; height: 280px; right: -90px; }
    .btn-row .btn { flex: 1 1 100%; }
    .lead { margin-bottom: 32px; }
    .form { grid-template-columns: 1fr; padding: 22px; }
    .demo-in { padding-top: 64px; padding-bottom: 64px; } .demo-in.page { padding-top: 40px; padding-bottom: 56px; }
    .navy-box, .flow { padding: 22px; }
    .pk { padding: 24px; } .pk .price b { font-size: 34px; }
    .cta .wrap { padding-top: 56px; padding-bottom: 56px; } .cta .btn { flex: 1 1 100%; }
    .faq-q { font-size: 16px; padding: 18px; } .faq-a { padding: 0 18px 18px; }
    .split { gap: 32px; }
    .cmp { min-width: 0; } .cmp th, .cmp td { padding: 12px 4px; font-size: 13px; } .cmp thead th { width: 66px; font-size: 12px; } .cmp .val { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .toast, .toast small i { animation: none; } .topbar::before, .nav { transition: none; }
    html { scroll-behavior: auto; } .btn { transition: none; }
    .js .flow .fl-steps::after, .js .flow .fl-step { transform: none; opacity: 1; transition: none; } .fl-dot { transition: none; } .fl-step:hover .fl-dot { transform: none; }
}

.mt { margin: 28px 0 0; }
.form.sent { align-self: flex-start; }

/* free trial sign-up */
.field .err:not(:empty) { display: block; }
.field.check { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; column-gap: 10px; }
.field.check input { width: auto; margin-top: 3px; }
.field.check .err { grid-column: 1 / -1; }
.su-steps { margin: 18px 0; padding-left: 20px; display: grid; gap: 8px; }
.su-steps li { line-height: 1.5; }
/* sign-up: steps and "when the trial ends" on the left, the form on the right; one column (copy, form, trial end) on narrow screens */
.su-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: auto 1fr; column-gap: 48px; row-gap: 28px; align-items: start; }
.su-grid > .demo-copy { grid-column: 1; grid-row: 1; } .su-grid > .form { grid-column: 2; grid-row: 1 / span 2; } .su-grid > .su-end { grid-column: 1; grid-row: 2; }
.su-end { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }
.su-end h2 { margin: 0 0 10px; font-size: 17px; color: #fff; }
.su-end ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--soft); }
@media (max-width: 960px) { .su-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; } .su-grid > .demo-copy, .su-grid > .form, .su-grid > .su-end { grid-column: 1; grid-row: auto; } }
/* pricing: free trial */
.trial-flow .fl-c { font-size: 14px; max-width: 320px; }
.trial-cards { margin-top: 32px; } .trial-cards .ticks { font-size: 15px; color: var(--muted); }
.trial-ent { max-width: 760px; margin: 32px auto 0; text-align: center; font-size: 15px; color: var(--muted); }
.trial-btns { justify-content: center; margin-top: 20px; }
#devLink { word-break: break-all; }

/* menu links: tighter spacing so the menu stays on one line from 1200px (EN from 981px) */
.nav-links { gap: 8px 24px; }
/* the menu is a button below 1100px; between 1100 and 1299px (and in BM, whose labels are longer, at every width) the links sit a little closer */
@media (min-width: 1100px) and (max-width: 1299px) { .nav { column-gap: 22px; } .nav-links { gap: 8px 18px; font-size: 14.5px; } }
@media (min-width: 1300px) { html[lang="ms"] .nav { column-gap: 22px; } html[lang="ms"] .nav-links { gap: 8px 18px; font-size: 14.5px; } }
@media (min-width: 1100px) and (max-width: 1199px) { .nav { column-gap: 16px; } .nav-links { gap: 8px 12px; font-size: 14px; } .nav-actions { gap: 6px; } .login { padding: 10px 6px; } .lang a { padding: 8px 10px; } .nav-actions .btn-sm { padding: 10px 14px; } }
@media (min-width: 1100px) { .nav-links { flex-wrap: nowrap; white-space: nowrap; } }
/* ---------- refresh phase 1: hero entrance, scroll reveals, hover lift, back to top ---------- */
/* hero entrance, once on load: pill, headline, sub, buttons and note ~80ms apart; laptop slides in from the right (keeps its tilt: the
   motion uses `translate`, the tilt `transform`), the phone rises, the status toast pops last */
@keyframes rise-in { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes lap-in { from { opacity: 0; translate: 70px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes phone-in { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: 0 0; } }
@keyframes pop-in { 0% { opacity: 0; scale: .8; } 70% { opacity: 1; scale: 1.04; } 100% { opacity: 1; scale: 1; } }
.js .hp-sec .hero-copy > * { animation: rise-in .6s cubic-bezier(.2,.7,.2,1) both; }
.js .hp-sec .hero-copy > :nth-child(2) { animation-delay: .08s; } .js .hp-sec .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hp-sec .hero-copy > :nth-child(4) { animation-delay: .24s; } .js .hp-sec .hero-copy > :nth-child(5) { animation-delay: .32s; } .js .hp-sec .hero-copy > :nth-child(6) { animation-delay: .4s; }
.js .hv-lap { animation: lap-in .9s cubic-bezier(.2,.7,.2,1) .2s both; }
.js .hv-phone { animation: phone-in .8s cubic-bezier(.2,.7,.2,1) .5s both; }
.js .toast { animation: pop-in .5s ease-out 1s both, hv-float 6s ease-in-out 1.5s infinite; }

/* scroll reveals (site.js adds .rv / .rv-g only when motion is allowed, so without JavaScript everything is simply there) */
.js .rv, .js .rv-g > * { opacity: 0; translate: 0 16px; transition: opacity .6s ease, translate .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.in, .js .rv-g.in > * { opacity: 1; translate: 0 0; }

/* cards lift a little on hover */
.card, .mg-card, .mini, .pk { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .3s ease; }
.card:hover, .mg-card:hover, .mini:hover, .pk:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -14px rgba(11,37,69,.25); }
.pk.featured:hover, .card.dark:hover { box-shadow: 0 18px 36px -14px rgba(3,10,25,.55); }

/* back to top, after two screens of scrolling */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: var(--navy); color: #fff; cursor: pointer;
          display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(3,10,25,.3); opacity: 0; translate: 0 12px; pointer-events: none; transition: opacity .25s, translate .25s, background .15s; }
.to-top[hidden] { display: none; }
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; } .to-top:hover { background: var(--green); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 640px) {
    .lk1 { font-size: 18px; } .lk small { font-size: 7.2px; letter-spacing: var(--lk-ls-s, .885px); margin-right: calc(-1 * var(--lk-ls-s, .885px)); }
    .brand svg { width: 32px; height: 32px; }
    .to-top { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .js .hp-sec .hero-copy > *, .js .hv-lap, .js .hv-phone, .js .toast { animation: none; }
    .card, .mg-card, .mini, .pk, .to-top { transition: none; }
    .card:hover, .mg-card:hover, .mini:hover, .pk:hover { transform: none; }
}

/* ---------- refresh phase 2: module explorer, module panel, billing switch, package finder ---------- */
/* segmented buttons and filter chips (real buttons with aria-pressed) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #E8EEF5; border-radius: 999px; padding: 4px; }
.seg button, .seg-b { font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--text); border: 0; border-radius: 999px; padding: 9px 16px; min-height: 40px; background: transparent; cursor: pointer; transition: background .15s, color .15s; }
.seg button:hover, .seg-b:hover { background: rgba(11,37,69,.08); }
.seg button[aria-pressed="true"], .seg-b[aria-pressed="true"] { background: var(--navy); color: #fff; font-weight: 600; }
.seg-b { background: #E8EEF5; }

.mx { display: grid; gap: 16px; margin: -8px 0 28px; }
.mx[hidden] { display: none; }
.mx-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-pk { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.mx-l { font-size: 14px; font-weight: 600; color: var(--muted); }
.mx-count { margin: 0; font-size: 14px; font-weight: 600; color: var(--deep); }
.mg[hidden] { display: none; }
.mx-one .mg { border-top: 0; padding-top: 0; } .mx-one .mg-t { display: none; }
/* a package chosen: summary of what it includes, included cards marked and first, the others compact and grey at the end of their group */
.mx-sum { background: var(--ground); background-color: var(--ink); color: #fff; border-radius: 18px; padding: 22px 24px; display: grid; gap: 16px; }
.mx-sum[hidden] { display: none; }
.mx-sum-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.mx-sum-t { margin: 0; font-size: clamp(19px, 2vw, 23px); line-height: 1.25; color: #fff; }
.mx-sum-p { margin: 4px 0 0; font-size: 15px; color: var(--soft); }
.mx-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.mx-chips button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.25; color: #fff; text-align: left;
                   background: rgba(76,212,134,.14); border: 1px solid rgba(76,212,134,.45); border-radius: 999px; padding: 6px 14px 6px 10px; cursor: pointer; transition: background .15s; }
.mx-chips button::before { content: "\2713"; flex: none; width: 18px; height: 18px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.mx-chips button:hover { background: rgba(76,212,134,.28); }
.mx-count[hidden] { display: none; }
.mg-card { position: relative; }
.mg-badge { display: none; position: absolute; z-index: 1; top: -11px; right: 14px; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--green); border-radius: 999px; padding: 1px 10px 1px 8px; box-shadow: 0 0 0 3px #fff; }
.mg-badge::before { content: "\2713 "; }
.mx-on .mg-row { align-items: start; padding-top: 6px; }
.mg-card.inp { border: 2px solid var(--green); box-shadow: 0 10px 24px -16px rgba(19,122,65,.55); }
.mg-card.inp .mg-badge { display: inline-block; }
.mg-card.off { background: var(--mist); border-style: dashed; opacity: .75; }
.mg-card.off:hover, .mg-card.off:focus-visible { opacity: 1; }
.mg-card.off .mg-main { padding: 12px 14px; align-items: center; }
.mg-card.off .mg-ic { width: 32px; height: 32px; border-radius: 9px; filter: grayscale(1); }
.mg-card.off .mg-ic svg { width: 17px; height: 17px; }
.mg-card.off .mg-txt b { font-size: 14px; color: var(--muted); }
.mg-card.off .mg-txt span { display: none; }
.mg-card.off .mg-pk { padding: 0 14px 12px; border-top: 0; }
.mg-card.off .mg-pk em, .mg-card.off .mg-pk small { display: none; }
.mg-off { flex: 1 0 100%; font-size: 12px; font-weight: 600; color: var(--muted); }
.mg-off[hidden] { display: none; }
.mg-card.flash { animation: mg-flash 1.2s ease; }
@keyframes mg-flash { 0%, 40% { box-shadow: 0 0 0 5px rgba(34,163,90,.35); } 100% { box-shadow: 0 0 0 0 rgba(34,163,90,0); } }
@media (max-width: 640px) { .mx-sum { padding: 18px; } .mx-sum-go { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .mg-card.flash { animation: none; outline: 3px solid var(--green); } .mx-chips button { transition: none; } }
.js .mg-card { cursor: pointer; }

/* module side panel: slides in from the right; a bottom sheet on phones */
.mp { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(480px, 100%); max-width: 100%; height: 100%; max-height: 100%; padding: 0; border: 0; border-radius: 20px 0 0 20px; background: #fff; color: var(--text); box-shadow: -20px 0 50px rgba(3,10,25,.3); overflow: auto; overscroll-behavior: contain; }
.mp::backdrop { background: rgba(7,26,51,.55); }
.mp[open] { animation: mp-in .3s cubic-bezier(.2,.7,.2,1); }
@keyframes mp-in { from { translate: 40px 0; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.mp-in { padding: 28px; display: grid; gap: 18px; }
.mp-head { display: flex; align-items: center; gap: 14px; }
.mp-head h2 { flex: 1 1 auto; margin: 0; font-size: 22px; line-height: 1.25; color: var(--navy); }
.mp-x { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.mp-x:hover { background: var(--mist); } .mp-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.mp-lead { margin: 0; font-size: 16px; color: var(--muted); }
.mp-shot { margin: 0; } .mp-shot[hidden] { display: none; }
.mp-frame { display: block; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 12px 30px -14px rgba(11,37,69,.35); background: var(--mist); }
.mp-frame img { display: block; width: 100%; height: auto; }
.mp-ticks { font-size: 15px; color: var(--text); }
.mp-pk { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.mp-pk small { font-size: 13px; margin-right: 4px; }
.mp-pk em { font-style: normal; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: var(--navy); color: #fff; }
.mp-links { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) {
    .mp { inset: auto 0 0 0; width: 100%; height: auto; max-height: 88vh; max-height: 88dvh; border-radius: 20px 20px 0 0; box-shadow: 0 -20px 50px rgba(3,10,25,.3); }
    .mp[open] { animation-name: mp-up; }
    .mp-in { padding: 22px 18px 26px; }
    .mp-links .btn { flex: 1 1 auto; }
}
@keyframes mp-up { from { translate: 0 60px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
body.mp-lock { overflow: hidden; }

/* billing switch above the package cards */
.pk-bill { display: flex; justify-content: center; margin: -12px 0 28px; }
.pk-bill[hidden] { display: none; }
.pk .price small.save { color: var(--deep); font-weight: 600; } .pk.featured .price small.save { color: var(--mint); }
.pk-more { margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; } .pk-more span { color: var(--softer); }

/* package finder (Pricing) */
.pf-sec { border-bottom: 1px solid var(--line); }
.js .pf-nojs.gone { display: none; }
.pf { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pf[hidden] { display: none; }
.pf-q { display: grid; gap: 22px; }
.pf-q fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pf-q legend { padding: 0; margin: 0 0 10px; font-size: 16px; font-weight: 600; color: var(--navy); }
.pf-q legend small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.pf-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-opt { position: relative; display: inline-flex; }
.pf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pf-opt span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; line-height: 1.3; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.pf-opt span:hover { border-color: var(--softer); }
.pf-opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.pf-mods .pf-opt input:checked + span::before { content: "\2713"; color: var(--mint); }
.pf-opt input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.pf-res { position: sticky; top: calc(var(--bar-h-s) + 20px); background: var(--ground); background-color: var(--ink); color: #fff; border-radius: 20px; padding: 28px; display: grid; gap: 10px; justify-items: start; }
.pf-kick { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.pf-name { margin: 0; font-size: 30px; line-height: 1.15; }
.pf-price { margin: 0; } .pf-price b { font-size: 22px; } .pf-price span { display: block; font-size: 14px; color: var(--soft); }
.pf-why { margin: 0 0 8px; font-size: 15px; color: var(--soft); }
.pf-cmp { margin: 4px 0 0; font-size: 14px; } .pf-cmp a { color: var(--mint); } .pf-cmp a:hover { color: #fff; }
.pf-res.flash { animation: pf-flash .45s ease; }
@keyframes pf-flash { from { opacity: .55; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 860px) { .pf { grid-template-columns: minmax(0, 1fr); } .pf-res { position: static; } }
@media (max-width: 640px) { .pf-res { padding: 22px; } .pf-res .btn { width: 100%; } .seg button, .seg-b { padding: 8px 13px; font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .mp[open], .pf-res.flash { animation: none; } .seg button, .seg-b, .pf-opt span { transition: none; } }

/* ---------- refresh phase 3: hero video button, product tour, video player, Selamat 60 Saat, compliance checker ---------- */
.btn-play svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn-play svg path { fill: currentColor; stroke: none; }
.btn-play small { font-weight: 400; font-size: 13px; opacity: .8; }
.or-demo { margin: 14px 0 0; font-size: 15px; } .or-demo a { color: var(--mint); font-weight: 500; } .or-demo a:hover { color: #fff; }
.hero .note { margin-top: 14px; }

/* product tour: tabs, a browser frame with numbered spots, and the steps beside it (below on phones) */
.tr-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 28px; }
.tr-tabs[hidden] { display: none; }
.tr-tabs button { font-family: inherit; font-size: 15px; font-weight: 500; color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 20px; min-height: 44px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.tr-tabs button:hover { border-color: var(--softer); }
.tr-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.tr-panel { margin: 0; display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); grid-template-areas: "h h" "stage steps" "stage more"; grid-template-rows: auto auto 1fr; gap: 0 36px; align-items: start; }
.tr-panel + .tr-panel { margin-top: 56px; }
.js .tr-ready .tr-panel + .tr-panel { margin-top: 0; }
.tr-panel[hidden] { display: none; }
.tr-h { grid-area: h; margin: 0 0 16px; font-size: 22px; font-weight: 700; color: var(--navy); }
.tr-ready .tr-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tr-stage { grid-area: stage; position: relative; min-width: 0; }
.tr-stage.has-phone { padding-right: 9%; }
.tr-shot { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #D5DEE9; box-shadow: 0 30px 60px -28px rgba(11,37,69,.45); }
.tr-bar { display: flex; gap: 6px; padding: 10px 14px; background: #E9EEF4; border-bottom: 1px solid #D5DEE9; }
.tr-bar i { width: 10px; height: 10px; border-radius: 999px; background: #C3CDD9; } .tr-bar i:first-child { background: #F08A8D; } .tr-bar i:nth-child(2) { background: #F3C86B; } .tr-bar i:nth-child(3) { background: #7FD3A0; }
.tr-view { position: relative; overflow: hidden; }
.tr-zoom { position: relative; transform-origin: var(--fx, 50%) var(--fy, 50%); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tr-zoom img { display: block; width: 100%; height: auto; }
.tr-view::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), transparent 0 14%, rgba(7,26,51,.38) 34%); }
.tr-view.zoomed .tr-zoom { transform: scale(1.45); }
.tr-view.zoomed::after { opacity: 1; }
.tr-phone { position: absolute; right: 0; bottom: -28px; width: 23%; min-width: 92px; padding: 5px; border-radius: 22px; z-index: 2; }
.tr-phone .tr-view { border-radius: 17px; }
.tr-phone img { border-radius: 0; }
.tr-hs { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 999px; border: 2px solid #fff; background: var(--green); color: #fff; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
          display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(3,10,25,.35); transition: background .2s, scale .2s; }
.tr-hs::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--green); animation: hs-pulse 2s ease-out infinite; }
@keyframes hs-pulse { 0% { opacity: .8; scale: 1; } 100% { opacity: 0; scale: 1.9; } }
.tr-hs.on { background: var(--navy); scale: 1.15; } .tr-hs.on::before { border-color: var(--navy); }
.tr-view.zoomed .tr-hs { scale: .72; } .tr-view.zoomed .tr-hs.on { scale: .85; }
.tr-steps { grid-area: steps; margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tr-step { width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; font-family: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s; }
.tr-step:hover { border-color: var(--softer); }
.tr-step b { flex: none; width: 30px; height: 30px; border-radius: 999px; background: var(--green); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.tr-step > span { display: grid; gap: 4px; min-width: 0; }
.tr-step strong { font-size: 16px; line-height: 1.3; color: var(--navy); } .tr-step span span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.tr-step[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 10px 24px -14px rgba(19,122,65,.45); } .tr-step[aria-pressed="true"] b { background: var(--navy); }
.tr-more { grid-area: more; margin: 14px 0 0; font-size: 15px; }
@media (max-width: 900px) {
    .tr-panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "stage" "steps" "more"; grid-template-rows: none; }
    .tr-stage { margin-bottom: 28px; } .tr-stage.has-phone { margin-bottom: 44px; }
}
@media (max-width: 640px) {
    .tr-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: -8px -16px 20px; padding: 2px 16px 6px; scrollbar-width: none; }
    .tr-tabs button { flex: none; padding: 9px 16px; font-size: 14px; }
    .tr-hs { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 11px; }
    .tr-bar { padding: 7px 10px; } .tr-bar i { width: 8px; height: 8px; }
    .tr-step { padding: 14px; }
}

/* video player (teaser 16:9, Selamat 60 Saat portrait) */
.vd { width: min(960px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden; }
.vd::backdrop { background: rgba(4,12,24,.78); }
.vd[open] { animation: vd-in .25s ease-out; }
@keyframes vd-in { from { opacity: 0; scale: .96; } to { opacity: 1; scale: 1; } }
.vd-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; }
.vd-head h2 { flex: 1 1 auto; margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.vd .mp-x { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); } .vd .mp-x:hover { background: rgba(255,255,255,.1); }
.vd video { display: block; width: 100%; height: auto; max-height: calc(100vh - 110px); background: #000; aspect-ratio: 16 / 9; }
.vd.portrait { width: min(420px, calc(100% - 32px)); }
.vd.portrait video { aspect-ratio: 9 / 16; }

/* Selamat 60 Saat strip (About) */
.s60-row { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.s60-card { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--navy); color: #fff; text-decoration: none; aspect-ratio: 9 / 16; box-shadow: 0 18px 36px -20px rgba(11,37,69,.6); transition: transform .2s ease, box-shadow .2s ease; }
.s60-card:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 24px 44px -20px rgba(11,37,69,.7); }
.s60-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s60-card::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgba(4,12,24,.9) 38%, rgba(4,12,24,.97)); }
.s60-play { position: absolute; z-index: 1; left: 50%; top: 42%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 999px; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: scale .2s; }
.s60-play svg { width: 26px; height: 26px; fill: var(--deep); margin-left: 3px; }
.s60-card:hover .s60-play { scale: 1.08; }
.s60-t { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 2px; }
.s60-t small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); }
.s60-t b { font-size: 17px; line-height: 1.3; } .s60-t span { font-size: 13px; color: var(--soft); }
.s60-ai { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .s60-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .s60-row { gap: 12px; } .s60-t { left: 12px; right: 12px; bottom: 12px; } .s60-t b { font-size: 15px; } .s60-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; } }

/* "Which rules apply to me?" (Compliance) */
.cc-sec[hidden] { display: none; }
.cc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cc-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); } .cc-note[hidden] { display: none; }
.cc-res { position: sticky; top: calc(var(--bar-h-s) + 20px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.cc-res h3 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); }
.cc-list { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 12px; }
.cc-list li { padding: 12px 14px; border-radius: 12px; background: var(--mist); }
.cc-list a.law { font-weight: 600; color: var(--navy); text-decoration: none; } .cc-list a.law:hover { color: var(--deep); text-decoration: underline; }
.cc-mods { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.cc-mods a { font-size: 12px; font-weight: 600; text-decoration: none; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; } .cc-mods a:hover { border-color: var(--green); color: var(--deep); }
.cc-res .disclaimer { background: #FFF8E6; color: #5C4813; }
@media (max-width: 860px) { .cc { grid-template-columns: minmax(0, 1fr); } .cc-res { position: static; } }

@media (prefers-reduced-motion: reduce) {
    .tr-zoom, .tr-view::after, .tr-hs, .tr-step, .tr-tabs button, .s60-card, .s60-play { transition: none; }
    .tr-hs::before { animation: none; opacity: 0; }
    .tr-view.zoomed .tr-zoom { transform: none; }
    .s60-card:hover { transform: none; }
    .vd[open] { animation: none; }
}

/* ---------- free trial form: Custom package module tick list (site.js adds the live total) ---------- */
.su-mods { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; margin: 0; min-width: 0; background: var(--mist); }
.su-mods[hidden] { display: none; }
.su-mods.bad { border-color: #D92D20; }
.su-mods legend { padding: 0 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.su-mods-hint { margin: 0 0 6px; font-size: 13px; font-weight: 400; color: var(--muted); }
.js .nojs-only { display: none; }
.su-lvl-t { margin: 10px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.su-mod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .su-mod-grid { grid-template-columns: minmax(0, 1fr); } }
.su-mod { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; background: #fff; border: 1px solid #CBD5E1; border-radius: 10px; font-weight: 400; font-size: 14px; line-height: 1.3; cursor: pointer; }
.su-mod input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--deep); }
.su-mod.on { border-color: var(--deep); background: #F0FAF4; }
.su-mod.locked { cursor: not-allowed; opacity: .9; }
.su-mod-n { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.su-mod-why { display: block; font-size: 12px; color: var(--muted); }
.su-mod-why:empty { display: none; }
.su-mod-p { font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.su-mod-p.incl { font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--deep); }
.su-sum { margin-top: 14px; padding: 12px 14px; background: #fff; border: 1px solid #CBD5E1; border-radius: 12px; font-weight: 400; }
.su-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.su-tot { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.su-total { font-size: 22px; color: var(--navy); } .su-unit, .su-alt { font-size: 14px; color: var(--muted); }
.su-min { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: #B42318; }
.su-up { margin: 8px 0 0; padding: 8px 10px; font-size: 13px; background: #EAF4FF; border-radius: 8px; color: var(--navy); }
.su-min[hidden], .su-up[hidden] { display: none; }

/* "Log in" drawer (header.cfm #loginDlg): slides in from the right; inside, the app's "Site pass" sign-in card
   (same look as ELIX_HSE login.cfm: elix.css .auth-*), on the app's light grey page colour (v0.41.5) */
.lg { width: min(500px, 100%); background: #F4F6F9; border-radius: 0; }
/* slower, smoother slide-in than the module panel (v1.4.1): the whole drawer glides in from the edge while the backdrop fades */
.lg[open] { animation: lg-in .65s cubic-bezier(.22,.61,.36,1); }
.lg[open]::backdrop { animation: lg-fade .65s ease; }
@keyframes lg-in { from { translate: 100% 0; } to { translate: 0 0; } }
@keyframes lg-fade { from { opacity: 0; } to { opacity: 1; } }
/* closing: the same glide back out to the right (site.js adds .closing, then closes the dialog when it ends) */
.lg[open].closing { animation: lg-out .65s cubic-bezier(.64,0,.78,.39) forwards; }
.lg[open].closing::backdrop { animation: lg-unfade .65s ease forwards; }
@keyframes lg-out { from { translate: 0 0; } to { translate: 100% 0; } }
@keyframes lg-unfade { from { opacity: 1; } to { opacity: 0; } }
.lg-in { position: relative; min-height: 100%; box-sizing: border-box; padding: 24px 32px 32px; display: flex; flex-direction: column; justify-content: center; }
.lg-x { position: absolute; top: 16px; right: 16px; z-index: 2; background: #fff; }
.lg-wrap { width: 100%; max-width: 420px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.lg-lanyard { width: 64px; height: 84px; display: flex; justify-content: center; margin-bottom: -18px; position: relative; z-index: 0; }
.lg-lanyard span { width: 22px; height: 100%; background: var(--green); border-radius: 0 0 4px 4px; }
.lg-card { width: 100%; background: #fff; border-radius: 22px; box-shadow: 0 2px 4px rgba(15,23,42,.06), 0 24px 48px rgba(11,37,69,.14); overflow: hidden; position: relative; z-index: 1; }
.lg-head { background: var(--navy); color: #fff; padding: 26px 32px 22px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.lg-slot { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 56px; height: 10px; border-radius: 999px; background: #F4F6F9; }
.lg-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 14px; }
.lg-row > div { display: flex; flex-direction: column; gap: 4px; }
.lg-row svg { flex: none; width: 44px; height: 44px; }
.lg-label { font-size: 11px; font-weight: 600; letter-spacing: 2.4px; color: var(--mint); text-transform: uppercase; }
.lg-head h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.3px; color: #fff; line-height: 1.25; }
.lg-head p { margin: 0; font-size: 13px; line-height: 1.6; color: #C9D4E3; }
.lg-body { padding: 24px 32px 8px; display: flex; flex-direction: column; gap: 18px; }
.lg-lang-row { display: flex; justify-content: flex-end; }
.lg-lang { display: inline-flex; padding: 3px; background: #EEF2F7; border-radius: 999px; }
.lg-lang a { min-height: 32px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; }
.lg-lang a.on { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.lg-msg { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FEF3F2; border: 1px solid #FECDCA; color: #B42318; font-size: 13px; font-weight: 500; }
.lg-msg[hidden], .lg-as[hidden], .lg-form[hidden] { display: none; }
.lg-form { display: flex; flex-direction: column; gap: 18px; }
.lg-f { display: flex; flex-direction: column; gap: 6px; }
.lg-f label { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.lg-input { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px; box-sizing: border-box; border: 1px solid #CBD5E1; border-radius: 12px; background: #F8FAFC; }
.lg-input.lg-pw { padding-right: 4px; }
.lg-input > svg { width: 18px; height: 18px; flex: none; color: #64748B; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-input input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: transparent; font-family: inherit; font-size: 15px; color: var(--text); box-shadow: none; }
.lg-input input:focus { outline: none; }
.lg-input input::placeholder { color: #94A3B8; }
.lg-input:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(34,163,90,.28); }
.lg-eye { width: 44px; height: 44px; flex: none; border: 0; border-radius: 10px; background: transparent; color: #475569; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lg-eye:hover { color: var(--navy); }
.lg-eye svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-eye .lg-eye-x { display: none; } .lg-eye[aria-pressed="true"] .lg-eye-x { display: inline; }
.lg-rem { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; color: #334155; cursor: pointer; }
.lg-rem input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.lg-go { height: 52px; width: 100%; font-family: inherit; font-size: 15px; font-weight: 600; color: #fff; background: var(--deep); border: 0; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.lg-go:hover { background: var(--deeper); color: #fff; }
.lg-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lg-go[disabled] { opacity: .75; cursor: progress; }
.lg-go:focus-visible, .lg-eye:focus-visible, .lg-lang a:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.lg-as { display: grid; gap: 14px; }
.lg-as-t { margin: 0; font-size: 15px; color: var(--text); }
.lg-link { color: var(--deep); font-weight: 600; text-decoration: none; } .lg-link:hover { color: var(--deeper); text-decoration: underline; }
.lg-as .lg-link { font-size: 13px; justify-self: start; }
.lg-tear { margin: 20px 0 0; border-top: 2px dashed var(--line); position: relative; }
.lg-tear span { position: absolute; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: #F4F6F9; }
.lg-tear .l { left: -12px; } .lg-tear .r { right: -12px; }
.lg-foot { padding: 18px 32px 24px; }
.lg-foot p { margin: 0; font-size: 12px; line-height: 1.6; color: #475569; }
.lg-more { margin: 20px 0 0; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
    .lg { inset: 0 0 0 auto; width: 100%; height: 100%; max-height: 100%; border-radius: 0; box-shadow: none; }
    .lg[open] { animation-name: lg-in; }
    .lg[open].closing { animation-name: lg-out; }
    .lg-in { padding: 16px 16px 28px; justify-content: flex-start; }
    .lg-lanyard { height: 64px; }
    .lg-head { padding: 24px 22px 20px; } .lg-head h2 { font-size: 23px; }
    .lg-body { padding: 22px 22px 8px; }
    .lg-foot { padding: 16px 22px 22px; }
}
@media (prefers-reduced-motion: reduce) { .lg[open], .lg[open]::backdrop, .lg[open].closing, .lg[open].closing::backdrop { animation: none; } }

/* free trial form grouped in four numbered parts (v0.41.2): package, company, you, sign-in, then the check, PDPA and button together */
.form .su-h { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.form .su-h ~ .su-h { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.form .su-h > span { flex: none; width: 26px; height: 26px; border-radius: 999px; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.form .su-rule { margin-top: -6px; }
.su-final { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 10px; padding: 18px; background: var(--mist); border: 1px solid var(--line); border-radius: 14px; }
@media (max-width: 640px) { .su-final { grid-template-columns: minmax(0, 1fr); padding: 16px; } }
/* billing after the trial: a two-way switch (Monthly | Yearly) beside the referral code (v0.41.2). Real radio buttons underneath. */
.su-cycle { border: 0; margin: 0; padding: 0; min-width: 0; }
.su-cycle legend { padding: 0; margin-bottom: 6px; }
.su-seg { display: flex; gap: 4px; padding: 4px; min-height: 48px; background: var(--mist); border: 1px solid #CBD5E1; border-radius: 12px; }
.su-seg-o { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.su-seg-o > span { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; text-align: center; }
.su-seg-o input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.su-seg-o:hover { color: var(--navy); }
.su-seg-o:has(input:checked) { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(15,23,42,.14), inset 0 0 0 1.5px var(--deep); }
.su-seg-o:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.su-save { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; background: #D7F0E1; color: var(--deeper); white-space: nowrap; }
.su-seg-o:has(input:checked) .su-save { background: var(--deep); color: #fff; }
@media (prefers-reduced-motion: reduce) { .su-seg-o { transition: none; } }
/* PDPA agreement on the free trial form: a larger, clearer tick box in its own card (v0.41.2) */
.su-final .field.check { padding: 14px 16px; background: #fff; border: 1px solid #CBD5E1; border-radius: 12px; column-gap: 14px; font-size: 15px; line-height: 1.5; cursor: pointer; transition: border-color .15s, background .15s; }
.su-final .field.check:has(input:checked) { border-color: var(--deep); background: #F0FAF4; }
.su-final .field.check.bad { border-color: #D92D20; }
.su-final .field.check input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; min-height: 0; margin: 0; padding: 0; flex: none; border: 2px solid #94A3B8; border-radius: 7px; background: #fff center / 16px 16px no-repeat; cursor: pointer; transition: background-color .15s, border-color .15s; }
.su-final .field.check input[type="checkbox"]:hover { border-color: var(--deep); }
.su-final .field.check input[type="checkbox"]:checked { background-color: var(--deep); border-color: var(--deep); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.su-final .field.check input[type="checkbox"]:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .su-final .field.check, .su-final .field.check input[type="checkbox"] { transition: none; } }

/* free trial form as a stepper (v0.42): .su-step groups each part; site.js shows one at a time when it adds .stepper */
.su-step { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; min-width: 0; }
.su-step[hidden], .su-nav[hidden], .su-prog[hidden], .su-prog-of[hidden], .su-act .su-back[hidden] { display: none; }
.su-step + .su-step, .su-nav + .su-step { margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.form .su-h { outline: none; }
.form.stepper .su-step { margin-top: 0; padding-top: 0; border-top: 0; }
.form.stepper .su-step:not([hidden]) { animation: su-in .3s ease; }
@keyframes su-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
/* progress bar: numbered dots joined by a line; done steps turn green and can be clicked to go back */
.su-prog { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.su-prog li { position: relative; min-width: 0; }
.su-prog li + li::before { content: ""; position: absolute; top: 17px; right: calc(50% + 22px); left: calc(-50% + 22px); height: 3px; border-radius: 3px; background: var(--line); transition: background .3s; }
.su-prog li.done + li::before, .su-prog li.done + li.on::before { background: var(--green); }
.su-prog button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; }
.su-prog button:disabled { cursor: default; }
.su-prog button:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.su-prog-n { width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; background: #fff; border: 2px solid #CBD5E1; color: var(--muted); transition: background .2s, border-color .2s, color .2s; }
.su-prog-t { font-size: 13px; font-weight: 600; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.su-prog li.done .su-prog-n { background: var(--green); border-color: var(--green); color: #fff; font-size: 0; }
.su-prog li.done .su-prog-n::after { content: ""; width: 14px; height: 8px; border: solid #fff; border-width: 0 0 3px 3px; transform: translateY(-2px) rotate(-45deg); }
.su-prog li.done button:not(:disabled):hover .su-prog-t { color: var(--navy); text-decoration: underline; }
.su-prog li.on .su-prog-n { background: var(--navy); border-color: var(--navy); color: #fff; font-size: 15px; box-shadow: 0 0 0 5px rgba(11,37,69,.12); }
.su-prog li.on .su-prog-n::after { content: none; }
.su-prog li.on .su-prog-t { color: var(--navy); }
.su-prog-of { display: none; margin: -4px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
/* Next / Back row under each step, and Back beside Start free trial on the last one */
.su-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.su-nav .btn { min-width: 140px; }
.su-act { display: flex; gap: 12px; }
.su-act .su-send { flex: 1; }
@media (max-width: 640px) {
    .su-step { grid-template-columns: minmax(0, 1fr); }
    .su-prog-t { display: none; }
    .su-prog-of { display: block; }
    .su-prog-of[hidden] { display: none; }
    .su-nav .btn { flex: 1; min-width: 0; }
    .su-act { flex-direction: column-reverse; }
}
@media (prefers-reduced-motion: reduce) { .form.stepper .su-step:not([hidden]) { animation: none; } .su-prog li + li::before, .su-prog-n { transition: none; } }
/* sign-up password boxes: the eye sits inside the box (own rules, so the Log in card's styles can change freely) */
.su-pw { position: relative; display: block; }
.su-pw input { padding-right: 52px; }
.su-pw .lg-eye { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; border-radius: 8px; }
.form.stepper .su-h > span { display: none; }
