/* HRMS landing page: the application's Sky theme (light blue base, sky-blue brand, cyan accent, navy bands for contrast) */
:root {
    /* Same palette as the application's Sky theme (HRMS/wwwroot/css/theme-sky.css) */
    --bg: #f5faff;
    --surface: #ffffff;
    --tint: #eaf4fc;
    --ink: #0f2537;
    --ink-2: #33506a;
    --muted: #5b7186;
    --line: #dbe9f5;
    --line-2: #bfd6ea;

    --brand: #0284c7;
    --brand-600: #0369a1;
    --brand-700: #075985;
    --brand-50: #e0f2fe;
    --brand-100: #bae6fd;
    --sky: #38bdf8;
    --hero-gradient: linear-gradient(120deg, #0284c7 0%, #0ea5e9 55%, #22d3ee 100%);
    --banner: linear-gradient(120deg, #e0f2fe 0%, #f0f9ff 55%, #ecfeff 100%);

    --accent: #22d3ee;
    --accent-600: #0891b2;
    --accent-50: #ecfeff;

    --deep: #0a2238;
    --deep-2: #0c3354;

    --ok: #12805c;  --ok-bg: #dcf5ea;
    --warn: #b54708; --warn-bg: #fef0c7;
    --info: #0369a1; --info-bg: #e0f2fe;
    --bad: #d92d20;

    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(15, 76, 129, .05), 0 2px 8px rgba(15, 76, 129, .05);
    --shadow: 0 10px 30px -12px rgba(15, 76, 129, .2), 0 2px 6px rgba(15, 76, 129, .05);
    --shadow-lg: 0 40px 80px -30px rgba(15, 76, 129, .38), 0 18px 40px -16px rgba(15, 76, 129, .16);

    --font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); text-wrap: balance; }
h1 em, h2 em { font-style: normal; background: var(--hero-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 20px; border-radius: 11px; font: 600 15px/1.2 var(--font); border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 15px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(2, 132, 199, .55), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-quiet { color: var(--ink-2); }
.btn-quiet:hover { color: var(--brand); background: var(--brand-50); }
.btn-accent { background: var(--accent); color: #05293b; box-shadow: 0 8px 20px -8px rgba(34, 211, 238, .7); }
.btn-accent:hover { background: #67e8f9; color: #05293b; }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--deep); color: #d2e6f5; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.topbar .tag { background: var(--accent); color: #05293b; font-weight: 700; font-size: 11.5px; padding: 2px 8px; border-radius: 99px; }
.topbar a { color: #fff; font-weight: 600; white-space: nowrap; }
.topbar a:hover { color: var(--accent); }
@media (max-width: 760px) { .topbar a, .topbar .tag { display: none; } .topbar-inner { font-size: 12.5px; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 250, 255, .85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 37, 55, .4); }
.nav { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; font-weight: 800; font-size: 19px; line-height: 1.05; letter-spacing: -.01em; }
.brand-text small { font-weight: 600; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 9px; }
.nav-links a:hover { color: var(--brand); background: var(--brand-50); }
.nav-mobile-only { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; }

@media (max-width: 980px) {
    .nav-burger { display: inline-grid; }
    .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px; font-size: 16px; }
    .nav-mobile-only { display: block; }
}
@media (max-width: 560px) { .hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(600px 340px at 15% 10%, rgba(34, 211, 238, .16), transparent 70%),
        radial-gradient(760px 420px at 85% 0%, rgba(2, 132, 199, .16), transparent 70%),
        linear-gradient(180deg, transparent 55%, var(--tint) 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(15, 37, 55, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 37, 55, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); }
.hero-copy { text-align: center; max-width: 880px; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.pill-badge i { color: var(--accent-600); }
.hero h1 { margin-top: 22px; font-size: clamp(38px, 6.4vw, 68px); font-weight: 800; letter-spacing: -.035em; }
.lead { margin: 22px auto 0; max-width: 680px; font-size: clamp(16.5px, 1.8vw, 19px); color: var(--ink-2); }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.hero-trust i { color: var(--brand); margin-right: 6px; }

.hero-shot { position: relative; margin: 60px auto 0; max-width: 1040px; padding-bottom: 72px; }
.win { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #f8fbfe; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d3e3f0; }
.win-url { flex: 1; max-width: 360px; margin: 0 auto; text-align: center; font-size: 12.5px; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; }
.win-url i { font-size: 10px; margin-right: 4px; color: var(--ok); }
.win-body { display: flex; min-height: 380px; }
.win-side { width: 62px; flex: none; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 16px 0; color: #45607a; font-size: 16px; }
.win-side img { border-radius: 8px; margin-bottom: 4px; }
.win-side .on { color: var(--brand); background: var(--brand-50); width: 38px; height: 34px; display: grid; place-items: center; border-radius: 10px; }
.win-main { flex: 1; padding: 22px 24px; min-width: 0; text-align: left; }
.run-head { background: var(--banner); border: 1px solid #cfe7f8; border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.run-head small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.run-head strong { display: block; font-size: 19px; letter-spacing: -.01em; }
.run-actions { display: flex; align-items: center; gap: 8px; }
.fake-btn { font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--ink-2); }
.fake-btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.run-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0; }
.run-kpis > div { background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; }
.run-kpis small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.run-kpis b { font-size: 15.5px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.run-kpis .net { background: var(--brand-50); border-color: var(--brand-100); }
.run-kpis .net b { color: var(--brand-700); }
.run-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.run-table th { text-align: right; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.run-table td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.run-table th:first-child, .run-table td:first-child { text-align: left; }
.run-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.run-table td:last-child { color: var(--ink); font-weight: 700; }
.run-table tr.fade td { opacity: .45; border-bottom: 0; }
.av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 10.5px; font-weight: 700; color: #fff; margin-right: 9px; vertical-align: middle; }
.av.big { width: 46px; height: 46px; font-size: 15px; margin: 0; }
.a1 { background: #0284c7; } .a2 { background: #c9831f; } .a3 { background: #2563a8; } .a4 { background: #8a5a9e; } .a5 { background: #b5452e; }

.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.st-ok { background: var(--ok-bg); color: var(--ok); }
.st-wait { background: var(--warn-bg); color: var(--warn); }
.st-info { background: var(--info-bg); color: var(--info); }
.st-cyan { background: var(--accent-50); color: var(--accent-600); }

.callout { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); text-align: left; animation: float 6s ease-in-out infinite; }
.callout strong { display: block; font-size: 14px; }
.callout small { color: var(--muted); font-size: 12.5px; }
.ci { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ci.ok { background: var(--ok-bg); color: var(--ok); }
.ci.cyan { background: var(--accent-50); color: var(--accent-600); }
.ci.teal { background: var(--brand-50); color: var(--brand); }
.c-left { left: -48px; bottom: 48px; }
.c-right { right: -40px; top: -30px; animation-delay: -2s; }
.c-bottom { right: 60px; bottom: 34px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 1160px) { .c-left { left: -12px; } .c-right { right: -8px; } }
@media (max-width: 900px) {
    .run-kpis { grid-template-columns: repeat(3, 1fr); }
    .run-kpis > div:nth-child(3), .run-kpis > div:nth-child(4) { display: none; }
    .c-left { bottom: 40px; left: 8px; }
    .c-right { top: -30px; right: 8px; }
    .c-bottom { display: none; }
}
@media (max-width: 680px) {
    .hero { padding-top: 48px; }
    .win-side { display: none; }
    .win-main { padding: 16px; }
    .run-actions .fake-btn:not(.primary) { display: none; }
    .run-table th:nth-child(2), .run-table td:nth-child(2), .run-table th:nth-child(3), .run-table td:nth-child(3), .run-table th:nth-child(5), .run-table td:nth-child(5) { display: none; }
    .run-kpis { grid-template-columns: 1fr 1fr; }
    .run-kpis > div:nth-child(2) { display: none; }
    .c-left { display: none; }
    .hero-shot { padding-bottom: 48px; margin-top: 44px; }
}

/* ---------- Facts ---------- */
.facts { background: var(--tint); padding: 8px 0 64px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.facts-grid > div { padding: 26px 28px; border-left: 1px solid var(--line); }
.facts-grid > div:first-child { border-left: 0; }
.facts-grid b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--brand-700); line-height: 1.1; }
.facts-grid span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 820px) {
    .facts-grid { grid-template-columns: 1fr 1fr; }
    .facts-grid > div:nth-child(3) { border-left: 0; }
    .facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section.tint { background: var(--tint); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2, .split h2, .demo-copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin-top: 16px; font-size: 17.5px; color: var(--ink-2); }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.eyebrow.light { color: var(--accent); }
.fine { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.fine.center { text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.split > div > p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } .section { padding: 76px 0; } }

/* ---------- Before / after ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.compare-col { border-radius: var(--radius-lg); padding: 30px 32px; }
.compare-col h3 { font-size: 18px; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.compare-col li i { margin-top: 4px; width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.before { background: var(--surface); border: 1px dashed var(--line-2); color: var(--muted); }
.before h3 { color: var(--ink-2); }
.before h3 i { color: var(--muted); }
.before li i { background: #fde4e1; color: var(--bad); }
.after { background: var(--surface); border: 1px solid var(--brand-100); box-shadow: var(--shadow); color: var(--ink-2); position: relative; }
.after::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.after h3 i { color: var(--brand); }
.after li i { background: var(--brand-50); color: var(--brand); }
.compare-arrow { display: grid; place-items: center; }
.compare-arrow i { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #05293b; box-shadow: 0 8px 18px -8px rgba(34, 211, 238, .8); }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } .compare-arrow i { transform: rotate(90deg); } }

/* ---------- Product tabs ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font: 600 14.5px var(--font); color: var(--ink-2); cursor: pointer; transition: all .15s; }
.tabs button i { color: var(--muted); }
.tabs button:hover { border-color: var(--brand); color: var(--brand); }
.tabs button[aria-selected="true"] { background: var(--deep); border-color: var(--deep); color: #fff; box-shadow: var(--shadow); }
.tabs button[aria-selected="true"] i { color: var(--accent); }
@media (max-width: 680px) {
    .tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -16px 24px; padding: 4px 16px; scrollbar-width: none; }
    .tabs::-webkit-scrollbar { display: none; }
    .tabs button { flex: none; }
}
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-sm); animation: fadeUp .35s ease; }
.tab-panel[hidden] { display: none; }
.tp-copy h3 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.tp-copy p { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before { content: "\f00c"; font: 900 10px "Font Awesome 6 Free"; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.tp-visual { background: linear-gradient(145deg, var(--tint), var(--brand-50)); border-radius: 18px; padding: 30px; display: grid; place-items: center; min-height: 340px; }
@media (max-width: 900px) { .tab-panel { grid-template-columns: 1fr; padding: 28px; gap: 28px; } .tp-visual { padding: 20px; min-height: 0; } }
@media (max-width: 600px) { .tab-panel { padding: 20px; } }

.mini { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; font-size: 14px; }
.mini-title { font-weight: 700; font-size: 14.5px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mini-profile { display: flex; align-items: center; gap: 14px; }
.mini-profile strong { display: block; font-size: 16px; }
.mini-profile small { color: var(--muted); font-size: 12.5px; }
.mini-profile .st { margin-left: auto; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-grid > div { background: var(--bg); border-radius: 10px; padding: 8px 12px; }
.mini-grid small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.mini-grid b { font-size: 13px; font-variant-numeric: tabular-nums; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; }
.mini-row > i { color: var(--brand); width: 18px; text-align: center; }
.mini-row > span:not(.st):not(.bar) { flex: 1; color: var(--ink-2); }
.mini-row > small { color: var(--muted); }
.bar { width: 80px; height: 7px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.dtr { display: grid; gap: 6px; }
.dtr-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.dtr-row b { color: var(--muted); font-size: 12.5px; }
.dtr-row span:not(.st) { color: var(--ink-2); }
.check-list { display: grid; gap: 10px; }
.check-list div { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.check-list i { margin-top: 3px; }
.check-list .ok { color: var(--ok); }
.check-list .warn { color: var(--warn); }
.check-list .pending { color: var(--line-2); }
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kanban div { background: var(--bg); border-radius: 10px; padding: 10px; text-align: center; border: 1px solid var(--line); }
.kanban small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.kanban span { font-size: 22px; font-weight: 800; }
.kanban .on { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }

.phone { width: 260px; background: var(--surface); border: 8px solid var(--deep); border-radius: 34px; padding: 22px 16px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; font-size: 13px; }
.phone-head small { color: var(--muted); display: block; }
.phone-head strong { font-size: 20px; }
.phone-card { background: linear-gradient(135deg, var(--brand), var(--brand-700)); color: #fff; border-radius: 14px; padding: 14px; display: grid; gap: 2px; position: relative; }
.phone-card small { opacity: .8; }
.phone-card b { font-size: 22px; letter-spacing: -.01em; }
.phone-card span { position: absolute; right: 12px; top: 12px; font-size: 11.5px; background: rgba(255, 255, 255, .16); padding: 3px 8px; border-radius: 99px; }
.phone-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.phone-actions span { display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--ink-2); font-weight: 600; }
.phone-actions i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); font-size: 15px; }
.phone-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 12px; }
.phone-row .st { font-size: 10.5px; padding: 3px 8px; }

/* ---------- Dark payroll band ---------- */
.section.dark { background: radial-gradient(800px 400px at 90% 10%, rgba(34, 211, 238, .12), transparent 70%), linear-gradient(160deg, var(--deep), var(--deep-2)); color: #cfe2f2; }
.section.dark h2 { color: #fff; }
.section.dark h2 em { background: linear-gradient(90deg, #38bdf8, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section.dark .split > div > p { color: #b6cde0; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: rgba(255, 255, 255, .08); color: var(--accent); border: 1px solid rgba(255, 255, 255, .14); }
.steps strong { display: block; color: #fff; font-size: 16px; }
.steps small { color: #a6bfd4; font-size: 14.5px; }
.payslip { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .55); max-width: 440px; width: 100%; justify-self: center; font-variant-numeric: tabular-nums; transform: rotate(1.2deg); }
.ps-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.ps-head strong { display: block; font-size: 20px; }
.ps-head small { color: var(--muted); font-size: 12.5px; }
.ps-head img { border-radius: 8px; }
.ps-who { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 4px; font-weight: 700; }
.ps-who small { color: var(--muted); font-weight: 500; }
.ps-sec { margin-top: 12px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ps-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; border-bottom: 1px dotted var(--line-2); }
.ps-line span { color: var(--ink-2); }
.ps-line.total { border-bottom: 0; font-weight: 700; }
.ps-line.total span { color: var(--ink); }
.ps-net { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 12px; padding: 12px 16px; }
.ps-net span { font-weight: 700; color: var(--brand-700); }
.ps-net b { font-size: 24px; letter-spacing: -.02em; color: var(--brand-700); }
.ps-foot { margin-top: 14px; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.ps-foot i { color: var(--ok); margin-right: 4px; }
@media (max-width: 900px) { .payslip { transform: none; } }
@media (max-width: 420px) { .payslip { padding: 20px; } .ps-net b { font-size: 20px; } }

/* ---------- Approvals timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.timeline li { position: relative; text-align: center; padding: 0 6px; }
.t-ico { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); color: var(--brand); font-size: 20px; box-shadow: var(--shadow-sm); }
.timeline li:last-child .t-ico { background: var(--brand); border-color: var(--brand); color: #fff; }
.timeline strong { display: block; font-size: 16px; }
.timeline small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 860px) {
    .timeline { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin: 0 auto; }
    .timeline::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
    .timeline li { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; }
    .t-ico { grid-row: span 2; margin: 0; }
    .timeline strong { align-self: end; }
    .timeline small { margin-top: 2px; }
}

/* ---------- Compliance ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.comp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.comp:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.comp-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: 99px; background: var(--accent-50); color: var(--accent-600); }
.comp h3 { margin-top: 14px; font-size: 19px; }
.comp p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .comp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .comp-grid { grid-template-columns: 1fr; } }

/* ---------- Who it's for ---------- */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.who { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.who > i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-50); color: var(--brand); font-size: 19px; }
.who h3 { margin-top: 16px; font-size: 18px; }
.who p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .who-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- Demo ---------- */
.demo-band { padding-top: 24px; }
.demo-card { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; background: linear-gradient(140deg, var(--accent-50), #fff 45%, var(--brand-50)); border: 1px solid var(--line); border-radius: 28px; padding: 52px; box-shadow: var(--shadow); }
.demo-copy p { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }
.demo-copy .btn { margin-top: 22px; }
.cred { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px 8px 8px 16px; flex-wrap: wrap; }
.cred span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.cred code { font: 700 16px ui-monospace, "Cascadia Code", Consolas, monospace; color: var(--brand-700); background: var(--brand-50); padding: 4px 10px; border-radius: 7px; }
.role-list { display: grid; gap: 10px; }
.role { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; transition: border-color .15s, transform .15s; }
.role:hover { border-color: var(--brand-100); transform: translateX(3px); }
.role > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--tint); color: var(--brand); }
.role strong { display: block; font-size: 15px; }
.role small { color: var(--muted); font-size: 13px; }
.role code { font: 600 13px ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--bg); border: 1px solid var(--line); padding: 4px 9px; border-radius: 7px; color: var(--ink-2); }
@media (max-width: 960px) { .demo-card { grid-template-columns: 1fr; padding: 32px; } }
@media (max-width: 560px) { .demo-card { padding: 22px; border-radius: 20px; } .role { grid-template-columns: 36px 1fr; } .role > i { width: 36px; height: 36px; } .role code { grid-column: 2; justify-self: start; } }

/* ---------- Security ---------- */
.assure { margin-top: 26px; display: flex; gap: 16px; align-items: flex-start; background: var(--accent-50); border: 1px solid #a5f3fc; border-radius: var(--radius); padding: 18px 20px; }
.assure i { color: var(--accent-600); font-size: 20px; margin-top: 3px; }
.assure p { color: var(--ink-2); font-size: 15px; }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 4px; }
.sec i { color: var(--brand); font-size: 20px; margin-bottom: 8px; }
.sec strong { font-size: 15.5px; }
.sec small { color: var(--muted); font-size: 13.5px; }
@media (max-width: 420px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.sizer { max-width: 560px; margin: -12px auto 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.sizer label { font-weight: 700; font-size: 15px; }
.sizer-row { display: flex; align-items: center; gap: 16px; margin: 12px 0 6px; }
.sizer input[type=range] { flex: 1; accent-color: var(--brand); height: 6px; cursor: pointer; }
.sizer output { min-width: 64px; font-weight: 800; font-size: 22px; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.sizer p { font-size: 14.5px; color: var(--muted); }
.sizer p strong { color: var(--ink); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.plan h3 { font-size: 22px; }
.plan-for { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.plan .size { margin: 20px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }
.plan .size b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); margin: 0 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); font-size: 15px; }
.plan li i { color: var(--brand); font-size: 13px; }
.plan-flag { position: absolute; top: -12px; left: 28px; background: var(--accent); color: #05293b; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.plan.recommended { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100), var(--shadow); transform: translateY(-4px); }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .plan.recommended { transform: none; } }

.rollout { margin-top: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
.rollout h3 { font-size: 22px; text-align: center; margin-bottom: 26px; }
.rollout ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rollout li { display: grid; gap: 6px; align-content: start; }
.rollout li > span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--deep); color: var(--accent); }
.rollout strong { margin-top: 6px; font-size: 16px; }
.rollout small { color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .rollout ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rollout { padding: 24px; } .rollout ol { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .15s, box-shadow .15s; }
.faq[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--tint); color: var(--brand); font-weight: 700; font-size: 18px; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq p { padding-bottom: 20px; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 20px; }
.contact-points li { display: flex; gap: 16px; align-items: flex-start; }
.contact-points li > i { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--brand); }
.contact-points strong { display: block; }
.contact-points span { color: var(--muted); font-size: 15px; }
.inquiry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.inquiry h3 { font-size: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry label { display: grid; gap: 6px; }
.inquiry label > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.inquiry label b { color: var(--bad); }
.inquiry input, .inquiry select, .inquiry textarea { width: 100%; font: 15px var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s, background .15s; }
.inquiry textarea { resize: vertical; min-height: 120px; }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.inquiry .invalid { border-color: var(--bad); background: #fef3f2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14.5px; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--bad); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .inquiry { padding: 22px; } }

/* ---------- Final CTA ---------- */
.final { background: var(--hero-gradient); color: #e6f6ff; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; right: -140px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.final-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 72px; padding-bottom: 72px; flex-wrap: wrap; }
.final h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.final p { margin-top: 10px; font-size: 17px; color: #e6f6ff; }
.final-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #071a2c; color: #9db4c8; padding: 64px 0 28px; font-size: 14.5px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand, .foot .brand:hover { color: #fff; }
.foot .brand-text small { color: #86a0b8; }
.foot-brand p { margin-top: 14px; max-width: 320px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col strong { color: #fff; font-size: 14px; margin-bottom: 4px; }
.foot-col a { color: #9db4c8; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); color: #7690a8; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .callout, .tab-panel { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* Closing banner sits on the bright gradient: white primary button */
.final .btn-accent { background: #fff; color: var(--brand-700); box-shadow: 0 10px 24px -10px rgba(7, 89, 133, .6); }
.final .btn-accent:hover { background: var(--brand-50); color: var(--brand-700); }
