/* Tower Hrm public site. Headings use a self-hosted Noto Serif SC subset (OFL, see fonts/OFL.txt). */
@font-face {
  font-family: "Tower Serif";
  src: url("fonts/tower-serif.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf9f5;
  --paper-2: #f2f0e9;
  --card: #fffdf9;
  --ink: #141413;
  --ink-2: #3b3a35;
  --muted: #66645d;
  --line: #e3dfd6;
  --accent: #b46546;
  --accent-ink: #9a4f33;
  --accent-soft: #f3e8df;
  --clay: #d97757;
  --dark: #1d1d1a;
  --dark-2: #2a2a25;
  --dark-line: #403e37;
  --dark-muted: #c4c0b8;
  --dark-accent: #e8ab8d;
  --ok: #3f8a63;
  --serif: "Tower Serif", "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); interpolate-size: allow-keywords; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.nowrap { white-space: nowrap; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: -80px; left: 12px; padding: 10px 16px; border-radius: 8px; background: #fff; box-shadow: 0 4px 16px rgb(0 0 0 / .12); }
.skip:focus { top: 12px; }

/* Announcement and header */
.announcement { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 8px 20px; background: var(--ink); color: #f5f2ec; font-size: 13px; line-height: 1.5; text-align: center; }
.announcement strong { font-weight: 600; }
.announcement-text { color: #bfbab0; }
.announcement a { display: inline-flex; align-items: center; gap: 4px; color: #eeac8f; transition: color .2s; }
.announcement a:hover { color: #fff; }
.announcement a .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.announcement a:hover .icon { transform: translateX(3px); }
.pulse-dot { position: relative; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--clay); }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: pulse 2.4s var(--ease) infinite; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgb(250 249 245 / .8); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { background: rgb(250 249 245 / .92); border-color: var(--line); box-shadow: 0 10px 30px -24px rgb(40 35 25 / .45); }
.nav-row { position: relative; height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 22px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.site-header nav { display: flex; gap: 4px; margin-inline: auto; }
.site-header nav a { padding: 7px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.site-header nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-header nav a.is-active { background: var(--accent-soft); color: var(--accent-ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; }
.menu-toggle span { position: absolute; left: 11px; width: 22px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: 10px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .25s var(--ease), box-shadow .25s; }
.button:hover { background: #34332d; transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgb(20 20 19 / .55); }
.button:active { transform: translateY(0); box-shadow: none; }
.button .icon { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.button:hover .icon-nudge { transform: translateX(3px); }
.button-lg { min-height: 52px; padding: 14px 26px; border-radius: 12px; font-size: 16px; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-ghost:hover { background: var(--card); border-color: #cdc6b9; box-shadow: none; }
.button-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button-light:hover { background: #ece8de; }
.button-outline-light { background: transparent; color: #f5f2ec; border-color: #57544c; }
.button-outline-light:hover { background: rgb(255 255 255 / .06); border-color: #8d887d; box-shadow: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 104px; }
.hero::before { content: ""; position: absolute; top: -260px; right: -220px; width: 860px; height: 860px; border-radius: 50%; background: radial-gradient(closest-side, rgb(217 119 87 / .17), rgb(217 119 87 / 0)); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgb(20 20 19 / .08) 1px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 15%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgb(255 253 249 / .85); font-size: 14px; color: var(--ink-2); }
.hero h1 { margin: 24px 0 22px; font: 600 clamp(36px, 4.2vw, 58px)/1.22 var(--serif); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent); background: linear-gradient(transparent 68%, rgb(217 119 87 / .2) 68%, rgb(217 119 87 / .2) 90%, transparent 90%) no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-lead { max-width: 520px; font-size: 18px; line-height: 1.85; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; padding-top: 24px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.hero-checks li { display: inline-flex; align-items: center; gap: 6px; }
.hero-checks .icon { width: 16px; height: 16px; color: var(--accent); }
.hero-visual { position: relative; transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border: 1px solid #efebe4; border-radius: 14px; background: #fff; box-shadow: 0 22px 44px -22px rgb(40 35 25 / .35); translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -14px); transition: translate .6s var(--ease); }
.float-card div { display: flex; flex-direction: column; line-height: 1.4; }
.float-card b { font-size: 14px; font-weight: 600; }
.float-card small { font-size: 12px; color: var(--muted); }
.float-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--accent); color: #fff; }
.float-icon svg { width: 19px; height: 19px; }
.float-icon.is-ok { background: var(--ok); }
.float-payroll { top: -24px; right: -20px; }
.float-toast { bottom: -40px; left: -36px; }

/* Product window and illustrations */
.window { position: relative; overflow: hidden; border: 1px solid #e5e1d9; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgb(40 35 25 / .04), 0 30px 70px -30px rgb(40 35 25 / .32); container-type: inline-size; }
.window-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; border-bottom: 1px solid #ebe8e1; background: #f5f3ee; font-size: 12px; color: #77736a; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3a58f; }
.dots i:nth-child(2) { background: #e7cf9e; }
.dots i:nth-child(3) { background: #b9c6a3; }
.window-path { min-width: 0; overflow: hidden; font-weight: 550; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.window-note { margin-left: auto; white-space: nowrap; }

.mock { --m-ink: #1f1e1b; --m-muted: #8a867d; --m-line: #eeebe5; display: flex; aspect-ratio: 16 / 10; overflow: hidden; background: #f8f7f4; color: var(--m-ink); font-family: var(--sans); font-size: clamp(5px, 1.6cqi, 12.5px); line-height: 1.35; text-align: left; }
.mock svg { width: 1.2em; height: 1.2em; }
.m-side { display: flex; flex-direction: column; align-items: center; gap: 1em; width: 4.4em; flex-shrink: 0; padding: 1.2em 0; border-right: 1px solid var(--m-line); background: #fff; }
.m-logo { display: flex; align-items: flex-end; justify-content: center; gap: .3em; width: 2.5em; height: 2.5em; margin-bottom: .4em; padding-bottom: .6em; border: 1px solid #e5e2db; border-radius: .65em; }
.m-logo i { width: .3em; height: .95em; border-radius: .2em; background: #1f8a70; }
.m-logo i + i { height: 1.3em; background: #111827; }
.m-side > i { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: .65em; color: #a7a399; }
.m-side > i.is-on { background: var(--accent-soft); color: var(--accent); }
.m-main { display: flex; flex-direction: column; gap: 1em; flex: 1; min-width: 0; padding: 1.2em 1.4em; }
.m-top { display: flex; align-items: center; gap: .9em; }
.m-title { display: flex; flex-direction: column; margin-right: auto; }
.m-title b { font-size: 1.25em; font-weight: 650; }
.m-title small { font-size: .8em; color: var(--m-muted); }
.m-search { display: flex; align-items: center; gap: .5em; min-width: 15em; padding: .55em .9em; border: 1px solid var(--m-line); border-radius: 2em; background: #fff; font-size: .8em; color: #a5a198; }
.m-bell { display: grid; place-items: center; width: 2.4em; height: 2.4em; border: 1px solid var(--m-line); border-radius: 50%; background: #fff; color: #8a867d; }
.m-avatar { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8em; font-weight: 600; }
.m-chip { display: inline-flex; align-items: center; gap: .35em; padding: .4em .9em; border-radius: 2em; background: #f1efe9; color: #6d695f; font-size: .8em; font-weight: 600; white-space: nowrap; }
.m-chip svg { width: 1em; height: 1em; }
.m-chip-warn { background: #fbf0dc; color: #94600f; }
.m-chip-ok { background: #e4f1ea; color: #2f6f4e; }
.m-chip-danger { background: #fbe7e2; color: #a8412d; }
.m-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8em; }
.m-kpi { display: flex; flex-direction: column; gap: .15em; min-width: 0; padding: .8em 1em; border: 1px solid var(--m-line); border-radius: .8em; background: #fff; }
.m-kpi small { font-size: .75em; color: var(--m-muted); }
.m-kpi b { font-size: 1.45em; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.m-kpi em { font-size: .72em; font-style: normal; color: var(--m-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-kpi em.up { color: var(--ok); }
.m-kpi-ok b { color: var(--ok); }
.m-row { display: grid; gap: .8em; flex: 1; min-height: 0; }
.m-row-overview { grid-template-columns: 1fr 1.2fr; }
.m-row-payroll { grid-template-columns: 1.55fr 1fr; }
.m-row-employee { grid-template-columns: 1.2fr 1fr; }
.m-row-performance { grid-template-columns: 1.15fr 1fr; }
.m-row-helpdesk { grid-template-columns: 2.1fr 1fr; }
.m-col { display: flex; flex-direction: column; gap: .8em; min-height: 0; }
.m-card { display: flex; flex-direction: column; gap: .7em; min-height: 0; overflow: hidden; padding: .9em 1em; border: 1px solid var(--m-line); border-radius: .8em; background: #fff; }
.m-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; }
.m-card-head b { font-size: .92em; font-weight: 650; white-space: nowrap; }
.m-card-head small { font-size: .72em; color: var(--m-muted); white-space: nowrap; }
.m-sub-head { margin-top: .2em; }

.m-bars { display: flex; flex: 1; align-items: flex-end; gap: .8em; min-height: 7em; padding-top: .6em; }
.m-bars > span { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-end; gap: .45em; height: 100%; }
.m-bars i { display: flex; justify-content: center; width: 100%; height: calc(var(--v) * 80%); min-height: 1.8em; padding-top: .35em; border-radius: .5em .5em .2em .2em; background: linear-gradient(#d88d6e, var(--accent)); color: #fff; font-size: .72em; font-style: normal; font-weight: 650; transform-origin: bottom; }
.m-bars .is-late i { background: #ecd8cc; color: var(--accent-ink); }
.m-bars small { font-size: .7em; color: var(--m-muted); white-space: nowrap; }
.m-bars-type i { background: linear-gradient(#e2a487, #c97a5a); }

.m-approvals { display: flex; flex-direction: column; gap: .5em; }
.m-approvals li { display: flex; align-items: center; gap: .7em; padding: .55em .65em; border: 1px solid var(--m-line); border-radius: .65em; transition: background-color .45s, border-color .45s; }
.m-approvals li.is-approved { background: #f5faf7; border-color: #d3e8dc; }
.m-dot { display: grid; place-items: center; width: 2.2em; height: 2.2em; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-size: .8em; font-weight: 650; }
.m-approvals div { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.m-approvals b { font-size: .84em; font-weight: 600; }
.m-approvals small { overflow: hidden; font-size: .7em; color: var(--m-muted); white-space: nowrap; text-overflow: ellipsis; }
.m-badge { display: grid; font-size: .72em; font-weight: 650; }
.m-badge > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: .25em; padding: .3em .75em; border-radius: 2em; white-space: nowrap; transition: opacity .35s, transform .45s var(--ease); }
.m-badge > span:first-child { background: #fbf0dc; color: #94600f; }
.m-badge > span:last-child { background: #e4f1ea; color: #2f6f4e; opacity: 0; transform: translateY(45%); }
.m-badge svg { width: 1.1em; height: 1.1em; }
.is-approved .m-badge > span:first-child { opacity: 0; transform: translateY(-45%); }
.is-approved .m-badge > span:last-child { opacity: 1; transform: none; }
.m-more { display: flex; align-items: center; justify-content: center; gap: .3em; margin-top: auto; padding-top: .7em; border-top: 1px dashed var(--m-line); color: var(--accent-ink); font-size: .74em; font-weight: 600; }
.m-more svg { width: 1.1em; height: 1.1em; }

.m-line { width: 100%; height: auto; overflow: visible; color: var(--accent); }
.mock .m-line { width: 100%; height: auto; }
.m-grid-lines { fill: none; stroke: #f0ede7; stroke-width: 1; }
.m-stroke { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m-end { fill: #fff; stroke: var(--accent); stroke-width: 2.4; transform-box: fill-box; transform-origin: center; }
.m-axis { display: flex; align-items: center; justify-content: space-between; font-size: .72em; color: var(--m-muted); }
.m-axis b { font-size: 1.15em; color: var(--accent-ink); }
.m-steps { display: flex; flex-direction: column; gap: .6em; }
.m-steps li { position: relative; display: flex; align-items: center; gap: .7em; }
.m-steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.85em; left: .9em; width: 1.5px; height: calc(100% - 1.25em); background: #e6e2da; }
.m-steps i { display: grid; place-items: center; width: 1.8em; height: 1.8em; flex-shrink: 0; border: 1.5px solid #dcd8d0; border-radius: 50%; background: #fff; color: #fff; }
.m-steps i svg { width: 1em; height: 1em; }
.m-steps .is-done i { border-color: var(--ok); background: var(--ok); }
.m-steps .is-now i { border-color: var(--accent); box-shadow: 0 0 0 .3em rgb(180 101 70 / .14); }
.m-steps .is-now i::after { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--accent); }
.m-steps div { display: flex; flex-direction: column; }
.m-steps b { font-size: .8em; font-weight: 600; }
.m-steps small { font-size: .68em; color: var(--m-muted); }
.m-steps li:not(.is-done):not(.is-now) b { color: var(--m-muted); }
.m-split { flex: none; gap: .6em; }
.m-stack { display: flex; gap: 2px; height: 2.2em; overflow: hidden; border-radius: .5em; }
.m-stack span { display: flex; align-items: center; width: var(--w); padding-left: .7em; overflow: hidden; background: var(--accent); color: #fff; font-size: .72em; font-weight: 650; white-space: nowrap; }
.m-stack span:nth-child(2) { background: #cd8a6c; }
.m-stack span:nth-child(3) { background: #e2b39d; color: #6f3a25; }
.m-stack span:nth-child(4) { background: #eed6c9; color: #6f3a25; }

.m-legend { display: flex; align-items: center; gap: .35em; font-size: .68em; color: var(--m-muted); white-space: nowrap; }
.m-legend i { width: .75em; height: .75em; margin-left: .5em; border-radius: .2em; }
.m-legend .ok, .m-cal .ok { background: #e3f0e8; }
.m-legend .late, .m-cal .late { background: #fbedd3; }
.m-legend .leave, .m-cal .leave { background: var(--accent-soft); }
.m-cal { display: grid; flex: 1; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: auto repeat(5, minmax(0, 1fr)); gap: .32em; }
.m-cal b { font-size: .68em; font-weight: 500; color: var(--m-muted); text-align: center; }
.m-cal span { display: grid; place-items: center; min-height: 1.9em; border-radius: .45em; background: #f5f3ef; color: #77736a; font-size: .74em; font-variant-numeric: tabular-nums; }
.m-cal .ok { color: #2f6f4e; }
.m-cal .late { color: #94600f; }
.m-cal .leave { color: var(--accent-ink); }
.m-cal .off { background: transparent; color: #c1bcb2; }
.m-cal .today { box-shadow: inset 0 0 0 1.5px var(--accent); font-weight: 700; }
.m-list li { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .5em 0; border-bottom: 1px solid var(--m-line); }
.m-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.m-list div { display: flex; flex-direction: column; min-width: 0; }
.m-list b { font-size: .8em; font-weight: 600; }
.m-list small { font-size: .68em; color: var(--m-muted); white-space: nowrap; }
.m-tag { padding: .28em .7em; border-radius: 2em; background: #f1efe9; color: #6d695f; font-size: .68em; font-weight: 650; white-space: nowrap; }
.m-tag.ok { background: #e4f1ea; color: #2f6f4e; }
.m-tag.warn { background: #fbf0dc; color: #94600f; }
.m-tag.danger { background: #fbe7e2; color: #a8412d; }
.m-tag.info { background: #e7edf4; color: #3f5f84; }
.m-quick { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.m-quick span { display: flex; align-items: center; gap: .45em; padding: .65em .75em; border: 1px solid var(--m-line); border-radius: .65em; background: #fff; font-size: .76em; font-weight: 550; }
.m-quick svg { color: var(--accent); }

.m-hbars { display: flex; flex-direction: column; gap: .6em; }
.m-hbars div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) 2.8em; align-items: center; gap: .6em; }
.m-hbars small { font-size: .74em; color: #5f5b53; }
.m-hbars span { height: .8em; overflow: hidden; border-radius: 1em; background: #f2efe9; }
.m-hbars span i { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #dc9a7d, var(--accent)); transform-origin: left; }
.m-hbars b { font-size: .76em; text-align: right; font-variant-numeric: tabular-nums; }
.m-hbars-wide div { grid-template-columns: 8.4em minmax(0, 1fr) 1.8em; }
.m-hbars .is-done span i { background: linear-gradient(90deg, #7fb89a, var(--ok)); }
.m-table { display: flex; flex-direction: column; }
.m-tr { display: grid; grid-template-columns: 5.2em minmax(0, 1fr) 3em 3.4em 5.6em; align-items: center; gap: .6em; padding: .7em .3em; border-bottom: 1px solid var(--m-line); font-size: .76em; }
.m-tr:last-child { border-bottom: 0; }
.m-tr b { overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.m-tr > span:first-child { color: var(--m-muted); font-variant-numeric: tabular-nums; }
.m-th { padding-top: 0; font-size: .68em; color: var(--m-muted); }
.m-tr.is-overdue { background: linear-gradient(90deg, rgb(201 87 63 / .07), transparent 70%); }
.m-tr .m-tag { justify-self: start; font-size: .88em; }
.m-pri { display: inline-flex; align-items: center; gap: .35em; }
.m-pri::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: #b8b3a9; }
.m-pri.high::before { background: #c9573f; }
.m-pri.mid::before { background: #e0a54a; }

/* Narrow windows show a simplified illustration that stays legible. */
@container (max-width: 560px) {
  .mock { aspect-ratio: auto; font-size: 2.9cqi; }
  .m-side, .m-search, .m-bell { display: none; }
  .m-main { gap: .9em; padding: 1.1em; }
  .m-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6em; }
  .m-row { grid-template-columns: minmax(0, 1fr) !important; }
  .m-row-overview > :first-child, .m-row-payroll > :nth-child(2), .m-split, .m-quick, .m-row-performance > :nth-child(2), .m-row-helpdesk > :nth-child(2) { display: none; }
  .m-tr { grid-template-columns: 5em minmax(0, 1fr) 3em 5.6em; }
  .m-tr > :nth-child(3) { display: none; }
}

/* Marquee */
.marquee { overflow: hidden; padding: 18px 0; border-block: 1px solid var(--line); background: var(--paper-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; }
.marquee li { display: flex; align-items: center; gap: 22px; padding-right: 22px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.marquee li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .65; }

/* Sections */
.section { padding-block: 112px; }
.section-heading { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.eyebrow::before { content: ""; width: 24px; height: 1.5px; border-radius: 2px; background: currentColor; }
h2 { font: 600 clamp(30px, 3.4vw, 46px)/1.3 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
h2 em { font-style: normal; color: var(--accent); white-space: nowrap; }
.section-intro { margin-top: 20px; font-size: 17px; line-height: 1.85; color: var(--muted); }

.problems { background: var(--paper-2); }
.swipe-hint { display: none; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.swipe-hint .icon { width: 15px; height: 15px; }
.benefits .swipe-hint { color: var(--dark-muted); }
.problem-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.problem-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.problem-grid article:hover { transform: translateY(-3px); border-color: #d6cfc2; box-shadow: 0 20px 40px -28px rgb(60 45 30 / .35); }
.problem-number { display: block; font: 600 30px/1 var(--serif); color: #d6cbbd; transition: color .35s; }
.problem-grid article:hover .problem-number { color: var(--accent); }
.problem-grid h3 { margin: 18px 0 10px; font-size: 18px; font-weight: 650; line-height: 1.5; }
.problem-grid p { font-size: 15px; line-height: 1.85; color: var(--muted); }

.manual-cost { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; margin-top: 32px; padding: 44px; overflow: hidden; border-radius: 24px; background: var(--dark); color: #fff; }
.manual-cost::before { content: ""; position: absolute; top: -40%; right: -10%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgb(217 119 87 / .2), transparent); pointer-events: none; }
.cost-copy, .cost-total { position: relative; }
.cost-label { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #4a342b; color: #f0b195; font-size: 13px; }
.manual-cost h3 { margin: 20px 0 14px; font: 600 clamp(22px, 2.2vw, 30px)/1.45 var(--serif); }
.manual-cost p { font-size: 15px; line-height: 1.85; color: var(--dark-muted); }
.cost-total { padding: 28px; border: 1px solid var(--dark-line); border-radius: 18px; background: rgb(255 255 255 / .03); }
.cost-total strong { display: flex; align-items: baseline; gap: 12px; font: 600 72px/1 var(--serif); color: var(--dark-accent); font-variant-numeric: tabular-nums; }
.cost-total strong small { font: 400 18px var(--sans); color: #d6b4a3; }
.cost-weeks { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 5px; margin: 22px 0 14px; }
.cost-weeks i { aspect-ratio: 1; border-radius: 3px; background: var(--dark-accent); }
.cost-total > span { font-size: 13px; color: var(--dark-muted); }

/* Feature story */
.story-steps { display: flex; flex-direction: column; gap: 80px; }
.story-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.story-label .icon { width: 18px; height: 18px; }
.story-index { margin-right: 4px; font: 600 14px var(--serif); color: var(--muted); }
.story-step h3 { margin-top: 14px; font: 600 clamp(24px, 2.4vw, 32px)/1.35 var(--serif); letter-spacing: -.01em; }
.story-step > p:not(.story-label) { max-width: 560px; margin-top: 14px; font-size: 17px; line-height: 1.85; color: var(--muted); }
.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.checks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); }
.story-figure { margin-top: 32px; }
.story.is-staged { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 64px; align-items: start; }
.story.is-staged .story-steps { gap: 0; }
.story.is-staged .story-step { display: flex; flex-direction: column; justify-content: center; min-height: 66vh; padding: 24px 0 24px 28px; border-left: 2px solid var(--line); opacity: .32; transition: opacity .5s var(--ease), border-color .5s; }
.story.is-staged .story-step.is-active { opacity: 1; border-color: var(--accent); }
.story-stage { position: sticky; top: calc(var(--header-h) + 36px); }
.story-stage-inner { display: flex; flex-direction: column; gap: 16px; }
.story-tabs { position: relative; display: flex; align-self: flex-start; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); }
.story-tabs::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--tab-w, 0); border-radius: 999px; background: #fff; box-shadow: 0 2px 8px -2px rgb(40 35 25 / .18); transform: translateX(var(--tab-x, 0)); transition: transform .45s var(--ease), width .45s var(--ease); }
.story-tabs button { position: relative; z-index: 1; padding: 8px 18px; border: 0; border-radius: 999px; background: none; font-size: 14px; font-weight: 550; color: var(--muted); transition: color .3s; }
.story-tabs button:hover, .story-tabs button[aria-pressed="true"] { color: var(--ink); }
.story-frames { display: grid; }
.story-frames > .story-figure { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.story-frames > .story-figure.is-active { opacity: 1; transform: none; }
.story-progress { height: 3px; overflow: hidden; border-radius: 3px; background: var(--line); }
.story-progress i { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* Modules */
.modules { background: var(--paper-2); }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.module-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.module-card:hover { transform: translateY(-3px); border-color: #dbbfae; box-shadow: 0 20px 40px -28px rgb(110 60 35 / .4); }
.module-icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 13px; background: var(--accent-soft); color: var(--accent); transition: background-color .35s, color .35s, transform .45s var(--ease); }
.module-icon svg { width: 24px; height: 24px; }
.module-card:hover .module-icon { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.05); }
.module-card h3 { font-size: 17px; font-weight: 650; line-height: 1.45; }
.module-card p { margin-top: 4px; font-size: 14px; line-height: 1.65; color: var(--muted); }

/* Benefits */
.benefits { position: relative; overflow: hidden; background: var(--dark); color: #f6f4ef; }
.benefits::before { content: ""; position: absolute; bottom: -320px; left: -200px; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgb(217 119 87 / .14), transparent); pointer-events: none; }
.benefits .container { position: relative; }
.benefits .eyebrow, .benefits h2 em { color: var(--dark-accent); }
.benefit-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.benefit-grid article { display: flex; flex-direction: column; grid-column: span 2; padding: 28px; border: 1px solid var(--dark-line); border-radius: 20px; background: var(--dark-2); transition: border-color .35s, background-color .35s, transform .35s var(--ease); }
.benefit-grid article:nth-last-child(-n + 2) { grid-column: span 3; }
.benefit-grid article:hover { transform: translateY(-3px); border-color: #6e5347; background: #2f2e28; }
.benefit-index { margin-bottom: 18px; font: 600 15px var(--serif); color: var(--dark-accent); }
.benefit-grid h3 { font-size: 19px; font-weight: 600; line-height: 1.5; }
.benefit-grid p { margin: 12px 0 22px; font-size: 15px; line-height: 1.85; color: var(--dark-muted); }
.benefit-tag { align-self: flex-start; margin-top: auto; padding: 4px 12px; border-radius: 999px; background: #4a342b; color: #f2ba9e; font-size: 13px; }
.customer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.customer-grid article { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.customer-grid blockquote { margin: 0 0 24px; font-size: 15px; line-height: 1.85; }
.customer-grid p { font-size: 13px; color: var(--muted); }

/* Getting started */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 980px; margin: 0 auto; }
.steps li { position: relative; padding: 0 12px; text-align: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 52px); right: calc(-50% + 36px); height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), #e7c6b6); transform-origin: left; }
.step-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--accent); box-shadow: 0 14px 30px -22px rgb(110 60 35 / .45); }
.step-icon svg { width: 28px; height: 28px; }
.step-index { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.steps h3 { font-size: 19px; font-weight: 650; }
.steps p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* FAQ */
.faq-section { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 80px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro p:last-child { margin-top: 16px; font-size: 16px; color: var(--muted); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs details:first-child { border-top: 1px solid var(--line); }
.faqs summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 17px; font-weight: 600; list-style: none; cursor: pointer; transition: color .2s; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary:hover { color: var(--accent-ink); }
.faq-icon { position: relative; width: 30px; height: 30px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; border-radius: 2px; background: var(--accent-ink); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faqs details[open] .faq-icon { transform: rotate(45deg); border-color: var(--accent-soft); background: var(--accent-soft); }
.faqs details > p { padding: 0 52px 24px 0; font-size: 16px; line-height: 1.85; color: var(--muted); }
.faqs details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faqs details[open]::details-content { block-size: auto; }

/* Closing and footer */
.closing { position: relative; overflow: hidden; padding: 104px 0; background: var(--dark); color: #fff; text-align: center; }
.closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 50% 0%, rgb(217 119 87 / .22), transparent 70%), radial-gradient(rgb(255 255 255 / .06) 1px, transparent 1.2px) 0 0 / 24px 24px; pointer-events: none; }
.closing .container { position: relative; }
.closing .eyebrow { color: var(--dark-accent); letter-spacing: .16em; }
.closing h2 em { color: var(--dark-accent); }
.closing p:not(.eyebrow) { max-width: 520px; margin: 18px auto 0; font-size: 17px; color: var(--dark-muted); }
.closing .actions { justify-content: center; }
.site-footer { padding-block: 36px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-footer .brand { font-size: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--ink-2); }
.site-footer nav a { display: inline-flex; align-items: center; gap: 4px; transition: color .2s; }
.site-footer nav a:hover { color: var(--accent-ink); }
.site-footer nav .icon { width: 14px; height: 14px; }
.copyright { font-size: 13px; color: var(--muted); }

/* Motion. Everything below is skipped when the visitor prefers reduced motion. */
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; translate: 0 22px; } }
@keyframes window-in { from { opacity: 0; transform: perspective(1600px) rotateX(12deg) rotateY(-10deg) translateY(40px) scale(.95); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.9); } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes mark { from { background-size: 0 100%; } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes m-rise { from { opacity: 0; transform: translateY(.8em); } }
@keyframes wipe-x { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes wipe-y { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
@keyframes icon-pop { 40% { transform: scale(1.18) rotate(-6deg); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero h1 em { animation: mark 1.1s 1s var(--ease) both; }
  .hero-window { animation: window-in 1.1s .15s var(--ease) both; }
  .float-payroll { animation: pop .7s .9s var(--ease) both, bob 6s 1.6s ease-in-out infinite; }
  .float-toast { animation: pop .7s 1.15s var(--ease) both, bob 7s 1.9s ease-in-out infinite; }
  .float-toast.is-pop .float-icon { animation: icon-pop .55s var(--ease); }
  .float-toast.is-pop div { animation: swap .45s var(--ease); }

  .js [data-reveal]:not(.is-in) { opacity: 0; }
  .js [data-reveal].is-in { animation: rise .85s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
  .js .steps:not(.is-in) li { opacity: 0; }
  .js .steps.is-in li { animation: rise .7s var(--ease) both; animation-delay: calc(.1s + var(--i) * .18s); }
  .js .steps li:not(:last-child)::after { transform: scaleX(0); transition: transform .9s var(--ease) calc(.5s + var(--i) * .3s); }
  .js .steps.is-in li::after { transform: scaleX(1); }
  .js .cost-weeks i { background: #3b3934; transition: background-color .3s calc(.2s + var(--i) * 22ms); }
  .js .manual-cost.is-in .cost-weeks i { background: var(--dark-accent); }

  .js .window .m-kpi { animation: m-rise .6s var(--ease) both; }
  .js .window .m-kpi:nth-child(2) { animation-delay: .07s; }
  .js .window .m-kpi:nth-child(3) { animation-delay: .14s; }
  .js .window .m-kpi:nth-child(4) { animation-delay: .21s; }
  .js .window .m-bars i { animation: grow-y .9s var(--ease) both; }
  .js .window .m-bars > span:nth-child(2) i { animation-delay: .08s; }
  .js .window .m-bars > span:nth-child(3) i { animation-delay: .16s; }
  .js .window .m-bars > span:nth-child(4) i { animation-delay: .24s; }
  .js .window .m-bars > span:nth-child(5) i { animation-delay: .32s; }
  .js .window .m-approvals li, .js .window .m-list li, .js .window .m-tr { animation: m-rise .55s var(--ease) both; }
  .js .window :is(.m-approvals li, .m-list li, .m-tr):nth-child(2) { animation-delay: .25s; }
  .js .window :is(.m-approvals li, .m-list li, .m-tr):nth-child(3) { animation-delay: .35s; }
  .js .window :is(.m-approvals li, .m-list li, .m-tr):nth-child(4) { animation-delay: .45s; }
  .js .window :is(.m-approvals li, .m-list li, .m-tr):nth-child(5) { animation-delay: .55s; }
  .js .window :is(.m-approvals li, .m-list li, .m-tr):nth-child(6) { animation-delay: .65s; }
  .js .window .m-stroke { stroke-dasharray: 1; animation: draw 1.5s .25s var(--ease) both; }
  .js .window .m-area { animation: fade .9s .9s both; }
  .js .window .m-end { animation: pop .5s 1.5s var(--ease) both; }
  .js .window .m-steps li { animation: m-rise .5s var(--ease) both; }
  .js .window .m-steps li:nth-child(2) { animation-delay: .15s; }
  .js .window .m-steps li:nth-child(3) { animation-delay: .3s; }
  .js .window .m-steps li:nth-child(4) { animation-delay: .45s; }
  .js .window .m-steps li:nth-child(5) { animation-delay: .6s; }
  .js .window .m-steps li:nth-child(6) { animation-delay: .75s; }
  .js .window .m-stack { animation: wipe-x 1.1s .3s var(--ease) both; }
  .js .window .m-cal { animation: wipe-y 1s .2s var(--ease) both; }
  .js .window .m-hbars i { animation: grow-x 1s var(--ease) both; }
  .js .window .m-hbars div:nth-child(2) i { animation-delay: .1s; }
  .js .window .m-hbars div:nth-child(3) i { animation-delay: .2s; }
  .js .window .m-hbars div:nth-child(4) i { animation-delay: .3s; }
  .js .window .m-hbars div:nth-child(5) i { animation-delay: .4s; }
  .js .window .m-hbars div:nth-child(6) i { animation-delay: .5s; }
  .m-steps .is-now i { animation: now 1.8s ease-in-out infinite; }
  @keyframes now { 50% { box-shadow: 0 0 0 .5em rgb(180 101 70 / .06); } }
  /* Illustrations wait at their first frame until they scroll into view; .is-replay restarts them. */
  .js .window:not(.is-playing) *, .js .window.is-replay * { animation-play-state: paused !important; }
  .js .window.is-replay * { animation-name: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; }
  .marquee ul { flex-wrap: wrap; justify-content: center; gap: 8px 0; width: 100%; }
  .marquee ul[aria-hidden] { display: none; }
}
@media print {
  .js [data-reveal], .js .steps li { opacity: 1 !important; animation: none !important; }
  .site-header, .announcement, .marquee { position: static; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-secondary { display: none; }
  .hero-grid { gap: 48px; }
  .float-toast { left: -16px; }
  .float-payroll { right: -8px; }
  .story.is-staged { gap: 44px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .js .site-header nav { position: absolute; top: var(--header-h); left: -24px; right: -24px; display: none; flex-direction: column; gap: 4px; margin: 0; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 30px -20px rgb(40 35 25 / .3); }
  .js .site-header nav.open { display: flex; animation: swap .3s var(--ease); }
  .js .site-header nav a { padding: 12px 14px; font-size: 16px; }
  .site-header nav { order: 3; }
  html:not(.js) .nav-row { flex-wrap: wrap; height: auto; padding-block: 10px; }
  html:not(.js) .site-header nav { width: 100%; margin: 0; overflow-x: auto; }
  .nav-actions { margin-left: auto; }
  .hero { padding: 48px 0 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { margin: 0 12px; }
  .section { padding-block: 88px; }
  .problem-grid, .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manual-cost { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 32px; }
  .cost-total { max-width: 460px; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid article, .benefit-grid article:nth-last-child(-n + 2) { grid-column: auto; }
  .benefit-grid article:last-child { grid-column: 1 / -1; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-intro { position: static; }
  .customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 40px); }
  .announcement { gap: 8px; font-size: 12px; }
  .announcement-text { display: none; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .nav-actions .button { min-height: 40px; padding: 8px 14px; font-size: 14px; }
  .js .site-header nav { left: -20px; right: -20px; }
  .hero { padding-top: 36px; }
  .hero h1 { margin: 20px 0 16px; font-size: clamp(28px, 8.6vw, 40px); }
  .hero-lead { font-size: 16px; }
  .actions { margin-top: 26px; }
  .actions .button-lg { flex: 1 1 auto; min-height: 50px; padding-inline: 18px; }
  .hero-checks { gap: 8px 16px; margin-top: 28px; font-size: 13px; }
  .hero-visual { margin: 0 6px; }
  .window-bar { gap: 10px; height: 34px; padding: 0 10px; font-size: 11px; }
  .dots i { width: 8px; height: 8px; }
  .float-card { gap: 8px; padding: 8px 12px 8px 8px; border-radius: 11px; }
  .float-icon { width: 28px; height: 28px; border-radius: 8px; }
  .float-icon svg { width: 15px; height: 15px; }
  .float-card b { font-size: 12px; }
  .float-card small { font-size: 11px; }
  .float-payroll { top: -26px; right: -10px; }
  .float-toast { bottom: -30px; left: -10px; }
  .marquee { padding: 14px 0; }
  .marquee li { font-size: 14px; }
  .section { padding-block: 72px; }
  .section-heading { margin-bottom: 36px; }
  .eyebrow { font-size: 13px; }
  h2 { font-size: clamp(26px, 7.4vw, 32px); }
  .section-intro { font-size: 15px; }
  .problem-grid, .benefit-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; margin-inline: -20px; padding: 4px 20px 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .problem-grid::-webkit-scrollbar, .benefit-grid::-webkit-scrollbar { display: none; }
  .problem-grid > article, .benefit-grid > article, .benefit-grid article:last-child { grid-column: auto; scroll-snap-align: start; }
  .swipe-hint { display: flex; }
  .problem-grid article { padding: 22px; }
  .problem-number { font-size: 24px; }
  .problem-grid h3 { margin-top: 14px; font-size: 17px; }
  .manual-cost { padding: 24px; border-radius: 18px; }
  .cost-total { padding: 20px; }
  .cost-total strong { font-size: 56px; }
  .story-steps { gap: 64px; }
  .story-step > p:not(.story-label) { font-size: 15px; }
  .story-figure { margin-top: 24px; }
  .module-grid { gap: 10px; }
  .module-card { flex-direction: column; gap: 12px; padding: 18px; }
  .module-icon { width: 42px; height: 42px; border-radius: 11px; }
  .module-icon svg { width: 21px; height: 21px; }
  .module-card h3 { font-size: 16px; }
  .module-card p { font-size: 13px; }
  .customer-grid { grid-template-columns: minmax(0, 1fr); }
  .benefit-grid article { padding: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 0 0 28px; text-align: left; }
  .steps li:not(:last-child)::after { top: 56px; bottom: 4px; left: 25px; right: auto; width: 2px; height: auto; transform-origin: top; }
  .js .steps li:not(:last-child)::after { transform: scaleY(0); }
  .js .steps.is-in li::after { transform: scaleY(1); }
  .step-icon { grid-row: 1 / 4; width: 52px; height: 52px; margin: 0; border-radius: 15px; }
  .step-icon svg { width: 24px; height: 24px; }
  .step-index { margin: 2px 0 2px; }
  .faqs summary { padding: 18px 0; font-size: 16px; }
  .faqs details > p { padding-right: 8px; font-size: 15px; }
  .closing { padding: 80px 0; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .nav-row { gap: 8px; }
  .brand { gap: 6px; font-size: 18px; }
  .brand img { width: 28px; height: 28px; }
  .nav-actions .button { padding: 8px 12px; font-size: 13px; }
  .nav-actions .button .icon { display: none; }
  .menu-toggle { width: 40px; }
  .menu-toggle span { left: 9px; }
  .note-extra { display: none; }
}
