:root {
  --carbon: #17232d;
  --carbon-2: #22323d;
  --docket: #dce5ea;
  --docket-deep: #c9d6dd;
  --porcelain: #f7f8f7;
  --white: #ffffff;
  --folder: #4088f4;
  --folder-pale: #dceaff;
  --approval: #9e463b;
  --approval-pale: #f1d9d5;
  --confirmed: #3e6d5c;
  --confirmed-pale: #d8e7e1;
  --ink: #17232d;
  --muted: #66757d;
  --line: #b9c7ce;
  --line-dark: rgba(255, 255, 255, .16);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Figtree", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --utility: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --shadow: 0 35px 90px rgba(5, 18, 27, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--porcelain); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.section-shell { width: min(1240px, calc(100% - 72px)); margin-inline: auto; }
.skip-link { position: fixed; left: 18px; top: -70px; z-index: 1000; padding: 11px 16px; color: var(--carbon); background: var(--folder); font-weight: 700; }
.skip-link:focus { top: 14px; }

.site-header { position: sticky; top: 0; z-index: 100; color: var(--white); background: rgba(23, 35, 45, .97); border-bottom: 1px solid var(--line-dark); backdrop-filter: blur(14px); }
.header-shell { width: min(1380px, calc(100% - 64px)); height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-inline: auto; }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 58px; height: 44px; display: block; flex: 0 0 auto; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand > span:last-child { display: grid; line-height: .86; }
.brand strong { font-family: "Manrope", var(--body); font-size: 16px; font-weight: 800; letter-spacing: -.055em; }
.brand-lockup strong > span { color: var(--folder-pale); }
.brand small { margin-top: 5px; font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.main-nav { display: flex; gap: 31px; }
.main-nav a { position: relative; color: #b7c4ca; font-size: 14px; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--folder); transition: right .2s ease; }
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { right: 0; }
.menu-button { display: none; }

.section-label { margin: 0 0 20px; color: var(--approval); font-family: var(--utility); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.light-label { color: var(--folder-pale); }
h1, h2 { margin: 0; font-family: var(--display); font-stretch: 95%; font-weight: 620; letter-spacing: -.055em; line-height: .96; text-wrap: balance; }
h1 { font-size: clamp(57px, 5.7vw, 88px); }
h2 { font-size: clamp(45px, 4.45vw, 68px); }
h1 span, h2 span { color: var(--folder); }

.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 23px; border: 0; border-radius: 5px; cursor: pointer; font-size: 15px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button > span { font-size: 18px; }
.primary-button { color: var(--carbon); background: var(--folder); box-shadow: 5px 5px 0 #0c151c; }
.primary-button:hover { background: #5798f6; }

.hero { position: relative; overflow: hidden; padding-block: 88px 115px; color: var(--white); background: var(--carbon); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 74px; background: var(--docket); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 72px; }
.hero-copy { min-width: 0; padding-bottom: 52px; }
.hero-copy h1 span { color: #95c0ff; }
.hero-intro { max-width: 590px; margin: 29px 0 0; color: #b8c5cb; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 35px; }
.hero-actions > p { display: grid; margin: 0; }
.hero-actions strong { font-size: 14px; }
.hero-actions small { margin-top: 3px; color: #aab7bd; font-size: 12px; }
.hero-assurances { display: flex; flex-wrap: wrap; gap: 12px 21px; margin-top: 36px; color: #aab7bd; font-family: var(--utility); font-size: 11px; line-height: 1.4; text-transform: uppercase; }
.hero-assurances span { display: flex; align-items: center; gap: 7px; }
.hero-assurances span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--confirmed); box-shadow: 0 0 0 3px rgba(62,109,92,.2); }

.employee-file { position: relative; width: 100%; min-width: 0; max-width: 100%; padding-top: 36px; filter: drop-shadow(0 32px 45px rgba(0,0,0,.22)); }
.employee-file::before { content: ""; position: absolute; left: 20px; right: -10px; top: 56px; bottom: -13px; background: #9eafb8; transform: rotate(1.2deg); }
.file-tabs { position: absolute; z-index: 3; left: 24px; right: 24px; top: 0; height: 41px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 4px; }
.file-tabs span { display: flex; align-items: center; justify-content: center; padding-top: 2px; color: #445760; background: #aebdc5; border-radius: 7px 7px 0 0; font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.file-tabs .active { color: var(--carbon); background: var(--folder); }
.file-paper { position: relative; z-index: 2; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; color: var(--ink); background: var(--porcelain); border: 1px solid #aebcc3; }
.file-heading { min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 15px 19px; background: var(--docket); border-bottom: 1px solid var(--line); }
.file-heading > div { display: grid; }
.file-heading small, .file-label, .file-identity p, .file-workplace p { margin: 0; color: #586b74; font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.file-heading > div strong { margin-top: 4px; font-family: var(--utility); font-size: 13px; }
.file-status { display: flex; align-items: center; gap: 7px; padding: 8px 10px; color: var(--confirmed); background: var(--confirmed-pale); font-family: var(--utility); font-size: 11px; font-weight: 600; }
.file-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--confirmed); box-shadow: 0 0 0 3px rgba(62,109,92,.12); }
.file-identity { min-height: 130px; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 15px; padding: 20px; border-bottom: 1px solid var(--line); }
.file-initial { width: 58px; height: 70px; display: grid; place-items: center; color: var(--white); background: var(--carbon-2); border-radius: 4px 4px 14px 4px; font-family: var(--display); font-size: 28px; font-weight: 700; }
.file-identity h2 { margin-top: 1px; font-size: 30px; line-height: 1; }
.file-identity > div:nth-child(2) > strong { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 500; }
.file-workplace { align-self: stretch; min-width: 145px; display: flex; flex-direction: column; justify-content: center; padding-left: 18px; border-left: 1px solid var(--line); }
.file-workplace > span { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: 13px; font-weight: 700; }
.file-workplace svg { width: 24px; height: 24px; }
.file-body { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 220px; }
.file-duties, .file-controls { padding: 18px 19px; }
.file-duties { border-right: 1px solid var(--line); }
.file-duties ul { list-style: none; display: grid; gap: 11px; margin: 17px 0 0; padding: 0; }
.file-duties li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.file-duties li i { width: 19px; height: 19px; display: grid; place-items: center; flex: 0 0 auto; color: var(--confirmed); background: var(--confirmed-pale); border-radius: 50%; font-style: normal; font-size: 11px; }
.file-controls dl { margin: 13px 0 0; border-top: 1px solid var(--line); }
.file-controls dl > div { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.file-controls dt { color: #52656e; font-family: var(--utility); font-size: 11px; font-weight: 600; }
.file-controls dd { margin: 0; font-size: 12px; font-weight: 600; }
.file-controls .approval-row dd { color: var(--approval); }
.handover-log { padding: 17px 19px 19px; background: #edf1f2; border-top: 1px solid var(--line); }
.handover-events { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 15px; }
.handover-events::before { content: ""; position: absolute; left: 8%; right: 8%; top: 12px; height: 1px; background: #aebbc2; }
.work-event { position: relative; display: grid; grid-template-columns: 36px 13px 1fr; align-items: start; gap: 4px; opacity: .45; animation: handover-in .5s ease forwards; }
.work-event time { padding-top: 3px; color: #5b6d76; font-family: var(--utility); font-size: 11px; }
.work-event i { position: relative; z-index: 1; width: 13px; height: 13px; margin-top: 1px; border: 3px solid #edf1f2; border-radius: 50%; background: var(--confirmed); box-shadow: 0 0 0 1px var(--confirmed); }
.work-event strong { padding: 2px 5px 0; font-size: 12px; line-height: 1.4; }
.event-two { animation-delay: .35s; }.event-three { animation-delay: .7s; }
.event-three i { background: var(--approval); box-shadow: 0 0 0 1px var(--approval); }
.event-three strong { color: var(--approval); }
@keyframes handover-in { from { opacity: .45; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.file-care { min-height: 52px; display: flex; align-items: center; gap: 16px; padding: 10px 19px; color: #52656e; background: var(--docket); border-top: 1px solid var(--line); font-family: var(--utility); font-size: 11px; }
.file-care > span { display: flex; align-items: center; gap: 6px; }
.file-care i { width: 6px; height: 6px; border-radius: 50%; background: var(--confirmed); }
.file-care b { margin-left: auto; color: var(--carbon); font-size: 11px; }

.platform-strip { background: var(--docket); border-bottom: 1px solid var(--line); }
.platform-layout { min-height: 128px; display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; gap: 70px; }
.platform-layout > p { display: grid; margin: 0; }
.platform-layout small { color: var(--approval); font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.platform-layout strong { margin-top: 8px; font-size: 15px; }
.platforms { display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--line); }
.platforms > span { min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #465b65; border-right: 1px solid var(--line); font-size: 13px; font-weight: 700; text-align: center; }
.platforms svg { width: 24px; height: 24px; flex: 0 0 auto; }

.roles-section { padding-block: 135px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .55fr; align-items: end; gap: 95px; margin-bottom: 66px; }
.split-heading h2 { max-width: 850px; }
.split-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.work-board { border: 1px solid var(--line); background: var(--white); box-shadow: 10px 10px 0 var(--docket); }
.work-board-head, .work-row { display: grid; grid-template-columns: 1.05fr .8fr 1.15fr 1.1fr .9fr; }
.work-board-head { min-height: 52px; align-items: center; color: #50636d; background: var(--docket); border-bottom: 1px solid var(--line); font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.work-board-head span, .work-row > div { height: 100%; display: flex; align-items: center; padding: 13px 15px; border-right: 1px solid var(--line); }
.work-board-head span:last-child, .work-row > div:last-child { border-right: 0; }
.work-row { min-height: 132px; border-bottom: 1px solid var(--line); }
.work-row:last-child { border-bottom: 0; }
.work-row > div:first-child { display: grid; align-content: center; }
.work-row b { font-family: var(--display); font-size: 17px; letter-spacing: -.025em; }
.work-row small { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.work-row p { margin: 0; color: #465b65; font-size: 13px; line-height: 1.55; }
.input-token, .approval-token { display: inline-flex; align-items: center; min-height: 36px; padding: 8px 10px; font-family: var(--utility); font-size: 11px; font-weight: 600; line-height: 1.35; }
.input-token { color: var(--carbon); background: var(--folder-pale); }
.approval-token { color: var(--approval); background: var(--approval-pale); }

.onboarding-section { padding-block: 135px; background: var(--docket); border-block: 1px solid var(--line); }
.onboarding-track { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; margin: 0; padding: 0; }
.onboarding-track > li { min-height: 430px; display: flex; flex-direction: column; padding: 22px; background: var(--porcelain); border: 1px solid var(--line); }
.step-index { color: var(--approval); font-family: var(--utility); font-size: 12px; font-weight: 600; }
.step-sheet { position: relative; height: 145px; margin: 26px 0 35px; overflow: hidden; background: var(--docket); border: 1px solid var(--line); }
.step-sheet > strong { position: absolute; display: grid; place-items: center; }
.assess-sheet i { position: absolute; border: 1px solid #9cafb8; border-radius: 50%; }
.assess-sheet i:first-child { width: 105px; height: 105px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.assess-sheet i:nth-child(2) { width: 67px; height: 67px; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.assess-sheet strong { width: 40px; height: 40px; left: calc(50% - 20px); top: calc(50% - 20px); color: var(--carbon); background: var(--folder); border-radius: 50%; }
.define-sheet { display: grid; align-content: center; gap: 8px; padding: 25px; }
.define-sheet > span { min-height: 23px; display: flex; align-items: center; padding: 4px 7px; color: #4f626c; background: var(--porcelain); border: 1px solid var(--line); font-family: var(--utility); font-size: 11px; }
.define-sheet > span:nth-child(2) { width: 78%; }.define-sheet > span:nth-child(3) { width: 90%; }
.define-sheet strong { width: 34px; height: 34px; right: 14px; bottom: 12px; color: var(--white); background: var(--confirmed); border-radius: 50%; font-size: 9px; }
.test-sheet { padding: 20px; }
.test-sheet > b { font-family: var(--utility); font-size: 11px; }
.test-sheet p { display: flex; align-items: center; gap: 7px; margin: 15px 0; color: #4f626c; font-size: 11px; }
.test-sheet p i { width: 10px; height: 10px; border: 2px solid var(--confirmed); border-radius: 50%; }
.test-sheet strong { width: 52px; height: 25px; right: 13px; bottom: 13px; color: var(--white); background: var(--confirmed); font-family: var(--utility); font-size: 11px; }
.launch-sheet svg { position: absolute; width: 34px; height: 34px; left: 23px; top: 56px; }
.launch-sheet > span { position: absolute; left: 65px; right: 66px; top: 72px; height: 1px; background: #91a4ad; }
.launch-sheet > b { position: absolute; width: 42px; height: 42px; right: 22px; top: 52px; display: grid; place-items: center; color: var(--white); background: var(--carbon); border-radius: 50%; font-family: var(--display); }
.launch-sheet strong { width: 48px; height: 24px; right: 12px; bottom: 11px; color: var(--confirmed); background: var(--confirmed-pale); font-family: var(--utility); font-size: 11px; }
.onboarding-track h3 { margin: 0; font-family: var(--display); font-size: 22px; letter-spacing: -.035em; }
.onboarding-track > li > p { margin: 13px 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.onboarding-track > li > small { margin-top: auto; padding-top: 16px; color: #586b74; border-top: 1px solid var(--line); font-family: var(--utility); font-size: 11px; }

.security-section { padding-block: 140px; color: var(--white); background: var(--carbon); }
.security-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 95px; }
.security-copy h2 { font-size: clamp(46px, 4.5vw, 67px); }
.security-copy > p:not(.section-label) { margin: 29px 0 34px; color: #b9c5ca; font-size: 16px; line-height: 1.7; }
.zdr-note { display: flex; align-items: center; gap: 14px; padding-top: 25px; border-top: 1px solid var(--line-dark); }
.zdr-note > strong { width: 50px; height: 50px; display: grid; place-items: center; flex: 0 0 auto; color: var(--carbon); background: var(--folder); border-radius: 50%; font-family: var(--display); font-size: 22px; }
.zdr-note p { display: grid; margin: 0; }
.zdr-note b { color: var(--folder-pale); font-family: var(--utility); font-size: 11px; letter-spacing: .07em; }
.zdr-note span { max-width: 370px; margin-top: 5px; color: #a9b7bd; font-size: 13px; line-height: 1.5; }
.permissions-sheet { color: var(--ink); background: var(--porcelain); border: 1px solid #91a2aa; box-shadow: 14px 14px 0 #0c151c; }
.permissions-title { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--docket); border-bottom: 1px solid var(--line); font-family: var(--utility); }
.permissions-title span { font-size: 12px; font-weight: 600; letter-spacing: .05em; }
.permissions-title small { color: #596c75; font-size: 11px; }
.permissions-row { min-height: 100px; display: grid; grid-template-columns: .75fr 1.25fr 1fr; align-items: stretch; border-bottom: 1px solid var(--line); }
.permissions-row > * { display: flex; align-items: center; padding: 13px 15px; border-right: 1px solid var(--line); }
.permissions-row > *:last-child { border-right: 0; }
.permissions-row strong { font-size: 14px; }
.permissions-row span { color: #465b65; font-size: 13px; line-height: 1.5; }
.permissions-row b { color: var(--approval); background: #fbf3f1; font-size: 12px; font-weight: 600; line-height: 1.4; }
.permissions-head { min-height: 43px; color: #596c75; background: #edf1f2; font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.permissions-head > span { color: inherit; font-size: inherit; }
.permissions-row.no-access span { color: #87949a; text-decoration: line-through; }
.permissions-row.no-access b { color: var(--carbon); background: var(--folder-pale); }
.permissions-footer { min-height: 56px; display: flex; align-items: center; gap: 24px; padding: 10px 17px; background: var(--docket); font-family: var(--utility); font-size: 11px; }
.permissions-footer span { display: flex; align-items: center; gap: 6px; }
.permissions-footer i { width: 18px; height: 18px; display: grid; place-items: center; color: var(--confirmed); background: var(--confirmed-pale); border-radius: 50%; font-style: normal; font-size: 10px; }

.service-section { padding-block: 140px; }
.service-intro { display: grid; grid-template-columns: 1.2fr .65fr; align-items: end; gap: 95px; margin-bottom: 62px; }
.service-intro .section-label { grid-column: 1 / -1; margin-bottom: -7px; }
.service-intro > p:last-child { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.service-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ownership-sheet { min-height: 445px; display: grid; grid-template-columns: 1fr 54px 1fr; background: var(--docket); border: 1px solid var(--line); }
.ownership-sheet > div { padding: 28px 24px; }
.ownership-sheet > div > span { display: block; margin-bottom: 27px; color: var(--approval); font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .07em; }
.ownership-sheet > div > strong { min-height: 70px; display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ownership-sheet > i { display: grid; place-items: center; border-inline: 1px solid var(--line); color: var(--approval); font-style: normal; font-size: 24px; }
.service-log { border: 1px solid var(--line); background: var(--white); }
.service-log header { min-height: 58px; display: flex; align-items: center; gap: 8px; padding: 12px 17px; background: var(--carbon); color: var(--white); font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.service-log header i { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #71aa93; box-shadow: 0 0 0 3px rgba(113,170,147,.15); }
.service-log header strong { color: #9fc5b5; font-size: 11px; }
.service-log > div { min-height: 106px; display: grid; grid-template-columns: 145px 1fr; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.service-log > div:last-child { border-bottom: 0; }
.service-log time { color: #5c6f78; font-family: var(--utility); font-size: 11px; font-weight: 600; line-height: 1.4; }
.service-log p { display: grid; margin: 0; }
.service-log p strong { font-size: 14px; }
.service-log p span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.monthly-offer { min-height: 108px; display: grid; grid-template-columns: .55fr 1.3fr auto; align-items: center; gap: 36px; margin-top: 20px; padding: 21px 27px; color: var(--white); background: var(--carbon); }
.monthly-offer > span { color: var(--folder-pale); font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.monthly-offer p { margin: 0; color: #b6c2c7; font-size: 13px; line-height: 1.55; }
.monthly-offer a { display: flex; gap: 19px; align-items: center; padding-bottom: 4px; color: var(--folder); border-bottom: 1px solid rgba(64,136,244,.55); font-size: 13px; font-weight: 700; }
.monthly-offer b { font-size: 16px; }

.site-footer { color: var(--white); background: #101a22; }
.footer-main { min-height: 175px; display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line-dark); }
.footer-main > p { justify-self: end; margin: 0; color: #899aa2; font-size: 15px; }
.footer-bottom { min-height: 67px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #8798a0; font-family: var(--utility); font-size: 11px; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom > span:last-child { justify-self: end; }

@media (max-width: 1120px) {
  .section-shell { width: min(100% - 48px, 1040px); }
  .header-shell { width: calc(100% - 48px); }.main-nav { gap: 20px; }
  .hero-layout { grid-template-columns: .72fr 1.28fr; gap: 42px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .file-identity { grid-template-columns: 55px 1fr; }.file-workplace { grid-column: 1 / -1; min-height: 60px; display: grid; grid-template-columns: 70px 1fr; align-items: center; padding: 9px 0 0; border-left: 0; border-top: 1px solid var(--line); }.file-workplace > span { margin: 0; }
  .split-heading, .service-intro { gap: 50px; }
  .security-layout { gap: 55px; }
  .service-layout { grid-template-columns: .95fr 1.05fr; }
}

@media (max-width: 880px) {
  .site-header { position: sticky; }.header-shell { height: 72px; grid-template-columns: 1fr 38px; gap: 17px; }
  .main-nav { position: fixed; inset: 72px 0 auto; display: none; flex-direction: column; gap: 0; padding: 18px 24px 28px; color: var(--ink); background: var(--porcelain); border-bottom: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.2); }.main-nav.open { display: flex; }.main-nav a { padding: 16px 0; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 15px; }.main-nav a::after { display: none; }
  .menu-button { width: 38px; height: 38px; display: grid; place-content: center; justify-self: end; gap: 5px; padding: 0; border: 0; background: transparent; }.menu-button span { width: 21px; height: 2px; background: var(--white); transition: transform .2s; }.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding-top: 70px; }.hero-layout { grid-template-columns: 1fr; gap: 35px; }.hero-copy { max-width: 730px; padding-bottom: 30px; }.hero-actions { flex-direction: row; align-items: center; }.employee-file { width: 90%; margin-inline: auto; }
  .platform-layout { grid-template-columns: 1fr; gap: 23px; padding-block: 28px; }.platforms { border-top: 1px solid var(--line); }
  .split-heading, .service-intro { grid-template-columns: 1fr; gap: 25px; }.service-intro .section-label { grid-column: auto; margin-bottom: -5px; }
  .work-board { overflow-x: auto; }.work-board-head, .work-row { min-width: 820px; }
  .onboarding-track { grid-template-columns: 1fr 1fr; }
  .security-layout { grid-template-columns: 1fr; }.security-copy { max-width: 720px; }.permissions-sheet { max-width: 760px; }
  .service-layout { grid-template-columns: 1fr; }.ownership-sheet, .service-log { min-height: 430px; }
  .monthly-offer { grid-template-columns: 1fr; gap: 14px; }.monthly-offer a { width: fit-content; }
}

@media (max-width: 560px) {
  .section-shell, .header-shell { width: calc(100% - 30px); max-width: calc(100% - 30px); }
  .header-shell { grid-template-columns: 1fr 38px; gap: 10px; }.brand-mark { width: 33px; height: 33px; font-size: 23px; }.brand strong { font-size: 12px; }.brand small { display: none; }
  h1 { font-size: 44px; overflow-wrap: break-word; } h2 { font-size: 39px; }
  .hero-layout, .hero-copy { min-width: 0; max-width: 100%; }
  .hero { padding-block: 58px 95px; }.hero::after { height: 40px; }.hero-actions { flex-direction: column; align-items: flex-start; }.hero-actions .button { width: 100%; }.hero-assurances { display: grid; }.employee-file { width: 100%; padding-top: 30px; }.file-tabs { left: 10px; right: 10px; height: 35px; }.file-heading { align-items: flex-start; gap: 12px; }.file-status { padding: 5px; }.file-identity { padding: 16px; }.file-body { grid-template-columns: 1fr; }.file-duties { border-right: 0; border-bottom: 1px solid var(--line); }.handover-events { grid-template-columns: 1fr; gap: 12px; }.handover-events::before { left: 42px; right: auto; top: 7px; bottom: 7px; width: 1px; height: auto; }.work-event { grid-template-columns: 35px 13px 1fr; }.file-care { display: grid; grid-template-columns: 1fr 1fr; }.file-care b { grid-column: 1 / -1; margin: 0; }
  .platforms { grid-template-columns: 1fr 1fr; }.platforms > span { border-bottom: 1px solid var(--line); }
  .roles-section, .onboarding-section, .security-section, .service-section { padding-block: 88px; }.split-heading, .service-intro { margin-bottom: 43px; }
  .onboarding-track { grid-template-columns: 1fr; }.onboarding-track > li { min-height: 390px; }
  .permissions-row { grid-template-columns: .7fr 1.3fr; }.permissions-row > b { grid-column: 1 / -1; min-height: 39px; border-top: 1px solid var(--line); border-right: 0; }.permissions-head { display: none; }.permissions-footer { flex-wrap: wrap; gap: 10px; }
  .ownership-sheet { grid-template-columns: 1fr; }.ownership-sheet > i { min-height: 50px; border: 0; border-block: 1px solid var(--line); }.ownership-sheet > div > span { margin-bottom: 20px; }
  .service-log > div { grid-template-columns: 100px 1fr; }
  .monthly-offer { padding: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 25px; padding-block: 38px; }.footer-main > p { justify-self: start; }.footer-bottom { grid-template-columns: 1fr; gap: 11px; padding-block: 22px; }.footer-bottom > span:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .work-event { opacity: 1; transform: none; }
}

/* Visual systems refinement: keep the employee-file identity, replace repeated tables with flows. */
:root { --display: "Manrope", "Avenir Next", "Segoe UI", sans-serif; }
h1, h2 { font-stretch: normal; font-weight: 700; letter-spacing: -.045em; line-height: 1.01; }
h1 { max-width: 720px; font-size: clamp(53px, 5vw, 76px); }
h2 { font-size: clamp(42px, 4vw, 61px); }
.brand strong { font-stretch: normal; letter-spacing: -.035em; }

.hero { padding-block: 70px 86px; }
.hero::after { height: 38px; }
.hero-layout { grid-template-columns: .92fr 1.08fr; gap: 64px; }
.hero-copy { padding-bottom: 28px; }
.hero-intro { max-width: 560px; margin-top: 24px; font-size: 18px; line-height: 1.62; }
.hero-actions { margin-top: 29px; }
.hero-assurances { margin-top: 29px; }

.employee-file { padding-top: 41px; }
.file-paper { overflow: visible; }
.file-heading { min-height: 68px; }
.work-map { position: relative; height: 390px; overflow: hidden; background: radial-gradient(circle at 50% 47%, rgba(64,136,244,.12), transparent 28%), var(--porcelain); }
.work-map::before { content: "LIVE WORK MAP"; position: absolute; left: 20px; top: 17px; color: #5c6f78; font-family: var(--utility); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.work-map-lines { position: absolute; inset: 25px 0 0; width: 100%; height: calc(100% - 25px); }
.work-map-lines path { fill: none; stroke: #9cabb3; stroke-width: 1.5; stroke-dasharray: 5 7; animation: line-travel 7s linear infinite; }
.map-inputs { position: absolute; left: 22px; top: 72px; width: 145px; display: grid; gap: 16px; }
.map-inputs span { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 9px 11px; color: #465b65; background: var(--white); border: 1px solid var(--line); box-shadow: 4px 4px 0 var(--docket); font-size: 12px; font-weight: 700; }
.map-inputs i { width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 auto; color: var(--approval); background: var(--approval-pale); border-radius: 50%; font-family: var(--utility); font-size: 10px; font-style: normal; }
.employee-core { position: absolute; left: 50%; top: 48%; width: 158px; height: 158px; display: grid; place-items: center; align-content: center; padding: 18px; color: var(--white); background: var(--carbon); border-radius: 50%; text-align: center; transform: translate(-50%, -50%); box-shadow: 0 0 0 12px rgba(62,109,92,.13), 0 0 0 26px rgba(62,109,92,.06); }
.core-rings { position: absolute; inset: -28px; border: 1px solid rgba(62,109,92,.35); border-radius: 50%; animation: core-breathe 3.8s ease-in-out infinite; }
.employee-core b { width: 43px; height: 43px; display: grid; place-items: center; color: var(--carbon); background: var(--folder); border-radius: 50%; font-family: var(--display); font-size: 22px; }
.employee-core strong { margin-top: 7px; font-size: 20px; }
.employee-core small { color: #b8c5cb; font-size: 11px; }
.map-output { position: absolute; right: 24px; top: 127px; width: 155px; min-height: 108px; display: grid; align-content: center; padding: 17px 15px 15px 47px; color: var(--carbon); background: var(--confirmed-pale); border: 1px solid #9bbcaf; }
.map-output i { position: absolute; left: 14px; top: 50%; width: 24px; height: 24px; display: grid; place-items: center; color: var(--white); background: var(--confirmed); border-radius: 50%; font-size: 12px; font-style: normal; transform: translateY(-50%); }
.map-output strong { font-size: 14px; line-height: 1.25; }
.map-output small { margin-top: 5px; color: #557267; font-size: 11px; }
.approval-gate { position: absolute; left: 50%; bottom: 21px; width: min(360px, calc(100% - 40px)); min-height: 57px; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 10px 48px 10px 15px; color: var(--approval); background: var(--approval-pale); border: 1px solid #d7aaa3; transform: translateX(-50%); }
.approval-gate span { grid-column: 1; font-family: var(--utility); font-size: 10px; font-weight: 600; letter-spacing: .05em; }
.approval-gate strong { grid-column: 1; margin-top: 2px; font-size: 13px; }
.approval-gate i { position: absolute; right: 14px; width: 28px; height: 28px; display: grid; place-items: center; color: var(--white); background: var(--approval); border-radius: 50%; font-style: normal; }
.flow-pulse { position: absolute; z-index: 3; width: 9px; height: 9px; border-radius: 50%; background: var(--folder); box-shadow: 0 0 0 5px rgba(64,136,244,.16); }
.pulse-one { left: 21%; top: 46.5%; animation: pulse-across 3.4s ease-in-out infinite; }
.pulse-two { right: 25%; top: 46.5%; animation: pulse-out 3.4s 1.7s ease-in-out infinite; opacity: 0; }
.file-care svg { width: 18px; height: 18px; }

@keyframes line-travel { to { stroke-dashoffset: -72; } }
@keyframes core-breathe { 50% { transform: scale(1.06); opacity: .55; } }
@keyframes pulse-across { 0%, 15% { transform: translateX(-22px); opacity: 0; } 35%, 70% { opacity: 1; } 85%, 100% { transform: translateX(98px); opacity: 0; } }
@keyframes pulse-out { 0%, 15% { transform: translateX(-55px); opacity: 0; } 35%, 70% { opacity: 1; } 85%, 100% { transform: translateX(45px); opacity: 0; } }

.roles-section { padding-block: 118px 128px; }
.role-lab { display: grid; grid-template-columns: 330px 1fr; min-height: 540px; border: 1px solid var(--line); background: var(--white); box-shadow: 11px 11px 0 var(--docket); }
.role-switcher { display: grid; align-content: stretch; padding: 12px; background: var(--docket); border-right: 1px solid var(--line); }
.role-switcher button { position: relative; display: grid; grid-template-columns: 43px 1fr; align-items: center; gap: 12px; padding: 16px; color: #52656e; background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; transition: color .25s, background .25s, transform .25s; }
.role-switcher button:last-child { border-bottom: 0; }
.role-switcher button:hover { color: var(--ink); background: rgba(255,255,255,.45); }
.role-switcher button.active { color: var(--ink); background: var(--porcelain); transform: translateX(8px); box-shadow: -4px 4px 0 rgba(23,35,45,.08); }
.role-switcher button > i { width: 40px; height: 40px; display: grid; place-items: center; color: var(--approval); background: var(--approval-pale); border-radius: 50%; font-family: var(--utility); font-size: 17px; font-style: normal; }
.role-switcher button.active > i { color: var(--carbon); background: var(--folder); }
.role-switcher button span { display: grid; }
.role-switcher strong { font-size: 15px; }
.role-switcher small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.role-stage { position: relative; min-width: 0; overflow: hidden; background: radial-gradient(circle at 50% 48%, rgba(64,136,244,.13), transparent 27%), var(--porcelain); }
.role-stage::before, .role-stage::after { content: ""; position: absolute; border: 1px solid rgba(185,199,206,.45); border-radius: 50%; }
.role-stage::before { width: 500px; height: 500px; left: calc(50% - 250px); top: calc(50% - 250px); }
.role-stage::after { width: 350px; height: 350px; left: calc(50% - 175px); top: calc(50% - 175px); }
.role-stage-label { position: absolute; z-index: 2; left: 24px; right: 24px; top: 19px; display: flex; justify-content: space-between; gap: 25px; font-family: var(--utility); }
.role-stage-label span { color: var(--approval); font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.role-stage-label small { color: var(--muted); font-size: 11px; text-align: right; }
.role-flow { position: absolute; z-index: 2; inset: 65px 28px 25px; display: grid; grid-template-columns: 1fr 70px 1.35fr 70px 1fr; grid-template-rows: 1fr 104px; align-items: center; }
.flow-node { min-height: 108px; display: grid; align-content: center; padding: 17px; background: var(--white); border: 1px solid var(--line); box-shadow: 5px 5px 0 var(--docket); }
.flow-node small, .flow-employee > small, .flow-approval small { color: var(--approval); font-family: var(--utility); font-size: 10px; font-weight: 600; letter-spacing: .05em; }
.flow-node strong { margin-top: 8px; font-size: 18px; line-height: 1.25; }
.flow-employee { position: relative; width: 220px; height: 220px; display: grid; place-items: center; align-content: center; justify-self: center; padding: 26px; color: var(--white); background: var(--carbon); border-radius: 50%; text-align: center; }
.employee-halo { position: absolute; inset: -20px; border: 1px dashed #8fa4ae; border-radius: 50%; animation: orbit-turn 14s linear infinite; }
.employee-halo::after { content: ""; position: absolute; left: 38px; top: 3px; width: 10px; height: 10px; background: var(--folder); border-radius: 50%; box-shadow: 0 0 0 5px rgba(64,136,244,.16); }
.flow-employee b { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 8px; color: var(--carbon); background: var(--folder); border-radius: 50%; font-size: 24px; }
.flow-employee strong { margin-top: 5px; font-size: 19px; }
.flow-employee p { margin: 8px 0 0; color: #b8c5cb; font-size: 12px; line-height: 1.4; }
.flow-arrow { position: relative; height: 1px; background: #8da0a9; }
.flow-arrow::after { content: ""; position: absolute; right: -1px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--approval); border-right: 2px solid var(--approval); transform: translateY(-50%) rotate(45deg); }
.flow-arrow i { position: absolute; left: 0; top: -4px; width: 9px; height: 9px; background: var(--folder); border-radius: 50%; animation: arrow-travel 2.6s ease-in-out infinite; }
.arrow-out i { animation-delay: 1.3s; }
.flow-approval { grid-column: 2 / 5; grid-row: 2; align-self: end; justify-self: center; width: min(370px, 100%); min-height: 70px; display: flex; align-items: center; gap: 13px; padding: 13px 17px; color: var(--approval); background: var(--approval-pale); border: 1px solid #d7aaa3; }
.flow-approval > i { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; color: var(--white); background: var(--approval); border-radius: 50%; font-style: normal; }
.flow-approval span { display: grid; }
.flow-approval strong { margin-top: 3px; font-size: 13px; }
.role-stage.is-changing .flow-node, .role-stage.is-changing .flow-employee { animation: role-change .42s ease; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes arrow-travel { 0%, 10% { left: 0; opacity: 0; } 30%, 70% { opacity: 1; } 90%, 100% { left: calc(100% - 9px); opacity: 0; } }
@keyframes role-change { 0% { opacity: .25; transform: translateY(7px); } 100% { opacity: 1; transform: none; } }

.onboarding-section { padding-block: 118px; }
.onboarding-track { position: relative; gap: 0; }
.onboarding-track::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 107px; height: 2px; background: #9aadb6; }
.onboarding-track::after { content: ""; position: absolute; left: 12.5%; top: 104px; width: 8px; height: 8px; background: var(--approval); border-radius: 50%; animation: journey 6s ease-in-out infinite; }
.onboarding-track > li { position: relative; z-index: 1; min-height: 390px; padding: 18px 25px; background: transparent; border: 0; border-right: 1px solid rgba(185,199,206,.85); }
.onboarding-track > li:last-child { border-right: 0; }
.step-sheet { width: 154px; height: 154px; margin: 19px auto 29px; background: var(--porcelain); border-radius: 50%; box-shadow: 0 0 0 10px var(--docket), 0 0 0 11px var(--line); }
.onboarding-track h3 { font-size: 23px; }
@keyframes journey { 0%, 8% { left: 12.5%; } 30% { left: 37%; } 55% { left: 61.5%; } 80%, 100% { left: calc(87.5% - 8px); } }

.security-section { padding-block: 122px; }
.security-layout { grid-template-columns: .78fr 1.22fr; gap: 78px; }
.security-visual { color: var(--ink); background: var(--porcelain); border: 1px solid #91a2aa; box-shadow: 14px 14px 0 #0c151c; }
.boundary-title { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; background: var(--docket); border-bottom: 1px solid var(--line); font-family: var(--utility); }
.boundary-title span { font-size: 12px; font-weight: 600; letter-spacing: .05em; }
.boundary-title small { color: #596c75; font-size: 11px; }
.boundary-field { position: relative; height: 500px; margin: 18px; border: 1px dashed #8fa3ad; border-radius: 42% 42% 17% 17% / 27% 27% 15% 15%; background: radial-gradient(circle at 50% 45%, rgba(62,109,92,.12), transparent 30%); }
.boundary-field > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.boundary-field > svg path { fill: none; stroke: #8fa3ad; stroke-width: 1.5; stroke-dasharray: 5 7; animation: line-travel 7s linear infinite; }
.boundary-field > svg .approval-path { stroke: var(--approval); }
.boundary-core { position: absolute; left: 50%; top: 46%; width: 155px; height: 155px; display: grid; place-items: center; align-content: center; padding: 18px; color: var(--white); background: var(--carbon); border-radius: 50%; text-align: center; transform: translate(-50%, -50%); box-shadow: 0 0 0 13px rgba(62,109,92,.14); }
.boundary-core > span { position: absolute; inset: -25px; border: 1px solid rgba(62,109,92,.45); border-radius: 50%; animation: core-breathe 4s ease-in-out infinite; }
.boundary-core b { width: 42px; height: 42px; display: grid; place-items: center; color: var(--carbon); background: var(--folder); border-radius: 50%; font-size: 20px; }
.boundary-core strong { margin-top: 7px; font-size: 17px; }
.boundary-core small { color: #b6c4ca; font-size: 11px; }
.system-node { position: absolute; width: 128px; min-height: 80px; display: grid; align-content: center; padding: 12px 12px 12px 42px; background: var(--white); border: 1px solid var(--line); box-shadow: 4px 4px 0 var(--docket); }
.system-node i { position: absolute; left: 12px; top: 17px; width: 22px; height: 22px; display: grid; place-items: center; color: var(--white); background: var(--confirmed); border-radius: 50%; font-size: 10px; font-style: normal; }
.system-node strong { font-size: 13px; }
.system-node small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.system-crm { left: 6%; top: 10%; }.system-docs { right: 6%; top: 10%; }.system-email { right: 5%; bottom: 12%; }
.human-node { position: absolute; left: 50%; bottom: 15px; min-width: 195px; display: flex; align-items: center; gap: 10px; padding: 10px 13px; color: var(--approval); background: var(--approval-pale); border: 1px solid #d7aaa3; transform: translateX(-50%); }
.human-node i { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: var(--white); background: var(--approval); border-radius: 50%; font-family: var(--utility); font-style: normal; }
.human-node span, .blocked-node span { display: grid; }
.human-node strong, .blocked-node strong { font-size: 12px; }.human-node small, .blocked-node small { font-size: 10px; }
.blocked-node { position: absolute; left: -14px; bottom: 57px; display: flex; align-items: center; gap: 9px; padding: 9px 12px; color: #7c898f; background: #e7ecee; border: 1px dashed #89979e; transform: rotate(-3deg); }
.blocked-node i { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #89979e; border-radius: 50%; font-size: 17px; font-style: normal; }
.security-key { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 16px; background: var(--docket); border-top: 1px solid var(--line); font-family: var(--utility); font-size: 10px; }
.security-key span { display: flex; align-items: center; gap: 6px; }.security-key i { color: var(--confirmed); font-style: normal; }

.service-section { padding-block: 122px; }
.service-layout { grid-template-columns: 1.12fr .88fr; align-items: center; gap: 76px; }
.care-system { min-height: 570px; display: grid; place-items: center; background: radial-gradient(circle, var(--docket) 0 1px, transparent 1.5px) 0 0 / 24px 24px; }
.care-orbit { position: relative; width: 500px; height: 500px; }
.orbit-line { position: absolute; inset: 70px; border: 1px dashed #91a4ad; border-radius: 50%; animation: orbit-turn 24s linear infinite; }
.orbit-line::before, .orbit-line::after { content: ""; position: absolute; width: 10px; height: 10px; background: var(--folder); border-radius: 50%; box-shadow: 0 0 0 5px rgba(64,136,244,.18); }
.orbit-line::before { left: 36px; top: 32px; }.orbit-line::after { right: 36px; bottom: 32px; }
.care-core { position: absolute; left: 50%; top: 50%; width: 190px; height: 190px; display: grid; place-items: center; align-content: center; color: var(--white); background: var(--carbon); border-radius: 50%; text-align: center; transform: translate(-50%, -50%); box-shadow: 0 0 0 14px rgba(62,109,92,.13); }
.care-core b { width: 51px; height: 51px; display: grid; place-items: center; color: var(--carbon); background: var(--folder); border-radius: 50%; font-size: 23px; }
.care-core strong { margin-top: 9px; font-size: 17px; }.care-core small { color: #b7c4ca; font-size: 11px; }
.care-node { position: absolute; width: 150px; min-height: 76px; display: grid; grid-template-columns: 31px 1fr; align-content: center; align-items: center; gap: 2px 9px; padding: 10px 12px; background: var(--white); border: 1px solid var(--line); box-shadow: 5px 5px 0 var(--docket); }
.care-node i { grid-row: 1 / 3; width: 31px; height: 31px; display: grid; place-items: center; color: var(--approval); background: var(--approval-pale); border-radius: 50%; font-style: normal; }
.care-node strong { font-size: 13px; }.care-node small { color: var(--muted); font-size: 10px; line-height: 1.3; }
.care-monitor { left: 0; top: 61px; }.care-maintain { right: 0; top: 61px; }.care-secure { right: 0; bottom: 61px; }.care-improve { left: 0; bottom: 61px; }
.service-promises { display: grid; gap: 0; }
.service-promises > p { display: grid; grid-template-columns: 43px 1fr; gap: 15px; margin: 0; padding: 23px 0; border-bottom: 1px solid var(--line); }
.service-promises > p > i { width: 39px; height: 39px; display: grid; place-items: center; color: var(--approval); background: var(--approval-pale); border-radius: 50%; font-family: var(--utility); font-size: 11px; font-style: normal; }
.service-promises > p span { display: grid; }.service-promises strong { font-size: 17px; }.service-promises small { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.live-care { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 25px; padding: 16px 18px; color: var(--white); background: var(--carbon); }
.live-care span { display: flex; align-items: center; gap: 8px; color: #9fc5b5; font-family: var(--utility); font-size: 10px; }.live-care span i { width: 7px; height: 7px; background: #71aa93; border-radius: 50%; box-shadow: 0 0 0 4px rgba(113,170,147,.15); animation: status-pulse 2.2s ease-in-out infinite; }.live-care strong { font-size: 12px; }
@keyframes status-pulse { 50% { box-shadow: 0 0 0 8px rgba(113,170,147,0); } }

[data-reveal] { opacity: .2; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .hero-layout { grid-template-columns: .86fr 1.14fr; gap: 38px; }
  .role-lab { grid-template-columns: 285px 1fr; }
  .role-flow { inset-inline: 18px; grid-template-columns: 1fr 45px 1.25fr 45px 1fr; }
  .flow-employee { width: 190px; height: 190px; }
  .security-layout { gap: 45px; }
  .service-layout { gap: 35px; }
  .care-orbit { transform: scale(.88); }
}

@media (max-width: 880px) {
  h1 { font-size: clamp(50px, 9vw, 68px); }
  .hero { padding-top: 62px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 680px; padding-bottom: 5px; }
  .employee-file { width: 100%; }
  .role-lab { grid-template-columns: 1fr; }
  .role-switcher { grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--line); }
  .role-switcher button:nth-child(2) { border-right: 0; }
  .role-switcher button.active { transform: translateY(4px); }
  .role-stage { min-height: 500px; }
  .security-layout { grid-template-columns: 1fr; }
  .security-copy { max-width: 680px; }
  .security-visual { width: min(720px, 100%); }
  .service-layout { grid-template-columns: 1fr; gap: 20px; }
  .care-system { min-height: 510px; }
  .care-orbit { transform: none; }
  .service-promises { max-width: 680px; margin-inline: auto; }
}

@media (max-width: 560px) {
  h1 { font-size: 43px; letter-spacing: -.04em; line-height: 1.04; }
  h2, .security-copy h2 { font-size: 36px; line-height: 1.05; }
  .hero { padding-block: 50px 72px; }
  .hero-copy { padding-bottom: 0; }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: stretch; }
  .hero-actions > p { padding-inline: 2px; }
  .employee-file { padding-top: 34px; }
  .file-tabs { height: 34px; }
  .file-tabs span { font-size: 9px; }
  .file-heading { min-height: 76px; padding: 12px; }
  .file-heading small { font-size: 9px; }
  .file-heading > div strong { font-size: 11px; }
  .file-status { max-width: 92px; font-size: 9px; line-height: 1.2; }
  .work-map { height: 500px; }
  .work-map::before { left: 13px; }
  .work-map-lines { display: none; }
  .map-inputs { left: 13px; right: 13px; top: 48px; width: auto; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .map-inputs span { min-height: 62px; display: grid; justify-items: center; gap: 5px; padding: 7px 4px; font-size: 10px; text-align: center; }
  .employee-core { top: 51%; width: 145px; height: 145px; }
  .map-output { right: 12px; top: 300px; width: 135px; min-height: 92px; padding: 13px 10px 12px 40px; }
  .map-output i { left: 10px; top: 50%; }.map-output strong { font-size: 12px; }
  .approval-gate { bottom: 13px; }
  .pulse-one, .pulse-two { display: none; }
  .file-care { grid-template-columns: 1fr; gap: 8px; }.file-care b { grid-column: auto; }
  .platforms > span { font-size: 11px; }
  .role-switcher { grid-template-columns: 1fr 1fr; }
  .role-switcher button { min-height: 88px; padding: 12px; border-right: 0; }
  .role-switcher button > i { width: 34px; height: 34px; }
  .role-switcher strong { font-size: 13px; }
  .role-stage { min-height: 680px; }
  .role-stage-label { display: grid; gap: 5px; }.role-stage-label small { text-align: left; }
  .role-stage::before { width: 420px; height: 420px; left: calc(50% - 210px); top: 125px; }
  .role-stage::after { display: none; }
  .role-flow { inset: 82px 18px 22px; display: flex; flex-direction: column; justify-content: center; gap: 23px; }
  .flow-node { width: min(240px, 100%); min-height: 82px; }
  .flow-employee { width: 178px; height: 178px; flex: 0 0 auto; }
  .flow-arrow { width: 1px; height: 30px; }
  .flow-arrow::after { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
  .flow-arrow i { left: -4px; top: 0; animation-name: arrow-travel-vertical; }
  .flow-approval { width: min(280px, 100%); min-height: 65px; }
  @keyframes arrow-travel-vertical { 0%, 10% { top: 0; opacity: 0; } 30%, 70% { opacity: 1; } 90%, 100% { top: calc(100% - 9px); opacity: 0; } }
  .onboarding-track::before, .onboarding-track::after { display: none; }
  .onboarding-track > li { border-right: 0; border-bottom: 1px solid var(--line); }
  .boundary-field { height: 570px; margin: 12px; border-radius: 36% 36% 12% 12% / 18% 18% 10% 10%; }
  .boundary-field > svg { display: none; }
  .boundary-core { top: 46%; width: 140px; height: 140px; }
  .system-node { width: 116px; min-height: 74px; padding-left: 38px; }
  .system-crm { left: 3%; top: 9%; }.system-docs { right: 3%; top: 9%; }.system-email { right: 3%; bottom: 19%; }
  .blocked-node { left: 3px; bottom: 21%; }
  .human-node { bottom: 14px; min-width: 210px; }
  .security-key { flex-wrap: wrap; justify-content: flex-start; gap: 9px 14px; }
  .care-system { min-height: 570px; margin-inline: -7px; overflow: hidden; }
  .care-orbit { width: 390px; height: 520px; }
  .orbit-line { inset: 100px 45px; }
  .care-core { width: 160px; height: 160px; }
  .care-node { width: 138px; }
  .care-monitor { left: 5px; top: 45px; }.care-maintain { right: 5px; top: 45px; }.care-secure { right: 5px; bottom: 45px; }.care-improve { left: 5px; bottom: 45px; }
  .monthly-offer { margin-top: 30px; }
}

/* Accuracy and conversion pass */
.brand-mark { width: 58px; height: 44px; }
.brand-lockup { display: grid; align-items: center; line-height: 1; }
.brand-lockup strong { font-size: 16px; letter-spacing: -.055em; }
.brand-lockup small { margin-top: 5px; font-size: 9px; letter-spacing: .12em; }

.work-map-lines { inset: 0; width: 100%; height: 100%; }
.map-inputs { left: 3.15%; width: 21%; }
.map-output { right: 3.4%; width: 22%; }
.work-map-lines path { stroke-width: 1.7; }

.onboarding-track::before { top: 117px; }
.onboarding-track::after { top: 114px; }
.step-sheet { width: calc(100% - 18px); max-width: 245px; height: 184px; margin: 22px auto 31px; overflow: hidden; background: var(--porcelain); border: 1px solid var(--line); border-radius: 8px; box-shadow: 6px 6px 0 rgba(185,199,206,.65); }
.step-sheet::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.55), transparent 45%); }
.assess-scene { position: relative; padding: 22px 18px; }
.task-stack { position: absolute; left: 18px; top: 27px; width: 126px; display: grid; gap: 7px; }
.task-stack span { height: 30px; display: flex; align-items: center; padding: 0 9px; color: #52656e; background: var(--white); border: 1px solid var(--line); font-size: 10px; box-shadow: 3px 3px 0 var(--docket); }
.task-stack span:nth-child(2) { transform: translateX(8px); }.task-stack span:nth-child(3) { transform: translateX(16px); }
.scene-lens { position: absolute; z-index: 2; right: 21px; top: 47px; width: 72px; height: 72px; display: grid; place-items: center; color: var(--carbon); background: rgba(64,136,244,.88); border: 8px solid rgba(255,255,255,.85); border-radius: 50%; box-shadow: 0 0 0 2px var(--folder); font-size: 27px; }
.scene-lens::after { content: ""; position: absolute; width: 37px; height: 8px; right: -27px; bottom: -13px; background: var(--carbon); border-radius: 8px; transform: rotate(45deg); }
.assess-scene > small { position: absolute; left: 18px; bottom: 15px; color: var(--approval); font-family: var(--utility); font-size: 9px; font-weight: 600; }
.define-scene { position: relative; display: grid; place-items: center; }
.mini-role-file { width: 174px; display: grid; grid-template-columns: 55px 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); box-shadow: 5px 5px 0 var(--docket); }
.mini-role-file > * { min-height: 34px; display: flex; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.mini-role-file > *:nth-last-child(-n+2) { border-bottom: 0; }
.mini-role-file b { color: var(--approval); background: var(--approval-pale); font-family: var(--utility); font-size: 8px; }
.mini-role-file span { color: #53656e; font-size: 9px; }
.define-scene > i { position: absolute; z-index: 3; right: 19px; bottom: 17px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--white); background: var(--confirmed); border: 4px solid var(--porcelain); border-radius: 50%; font-size: 14px; font-style: normal; }
.test-scene { position: relative; display: grid; grid-template-columns: auto 18px 45px 18px auto; grid-template-rows: 1fr 35px; align-items: center; justify-content: center; gap: 8px; padding: 18px 12px; }
.test-scene > span { min-width: 53px; padding: 8px 6px; color: #52656e; background: var(--white); border: 1px solid var(--line); font-family: var(--utility); font-size: 8px; text-align: center; }
.test-scene > i { color: var(--approval); font-style: normal; text-align: center; }
.test-scene > b { width: 45px; height: 45px; display: grid; place-items: center; color: var(--white); background: var(--carbon); border-radius: 50%; font-size: 18px; box-shadow: 0 0 0 8px var(--docket); }
.test-scene > small { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--confirmed); font-size: 9px; }
.test-scene > small strong { padding: 4px 6px; color: var(--white); background: var(--confirmed); font-family: var(--utility); font-size: 9px; }
.launch-scene { position: relative; padding: 0; background: var(--white); }
.launch-scene header { height: 42px; display: flex; align-items: center; gap: 7px; padding: 8px 10px; color: var(--white); background: var(--carbon); }
.launch-scene header svg { width: 21px; height: 21px; }.launch-scene header strong { font-size: 10px; }.launch-scene header i { margin-left: auto; color: #9fc5b5; font-family: var(--utility); font-size: 8px; font-style: normal; }
.launch-scene p { display: flex; margin: 10px 9px; font-size: 9px; line-height: 1.35; }
.launch-scene p > span { max-width: 160px; padding: 8px 9px; background: var(--docket); border-radius: 8px 8px 8px 2px; }
.launch-scene p:last-child { justify-content: flex-end; align-items: flex-start; gap: 6px; }
.launch-scene p:last-child > span { color: var(--white); background: var(--confirmed); border-radius: 8px 8px 2px 8px; }
.launch-scene p b { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; color: var(--carbon); background: var(--folder); border-radius: 50%; }

.signup-section { padding-block: 126px; color: var(--white); background: var(--carbon-2); }
.signup-layout { display: grid; grid-template-columns: .9fr .8fr; align-items: center; gap: 110px; }
.signup-copy h2 span { color: var(--folder); }
.signup-copy > p:not(.section-label) { max-width: 590px; margin: 27px 0 33px; color: #bdc8cd; font-size: 17px; line-height: 1.7; }
.signup-button { color: var(--carbon); background: var(--folder); box-shadow: 5px 5px 0 #0d171e; }
.signup-copy > small { display: block; margin-top: 19px; color: #93a4ac; font-family: var(--utility); font-size: 11px; }
.signup-preview { color: var(--ink); background: var(--porcelain); border: 1px solid #90a3ad; box-shadow: 12px 12px 0 var(--folder); }
.signup-preview > header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; background: var(--docket); border-bottom: 1px solid var(--line); font-family: var(--utility); }
.signup-preview > header span { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; }.signup-preview > header i { width: 8px; height: 8px; background: var(--confirmed); border-radius: 50%; box-shadow: 0 0 0 4px rgba(62,109,92,.12); }.signup-preview > header small { color: var(--muted); font-size: 10px; }
.preview-conversation { min-height: 380px; display: grid; align-content: start; gap: 17px; padding: 28px 24px; }
.assistant-message { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.assistant-message > i { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; color: var(--carbon); background: var(--folder); border-radius: 8px 8px 2px 8px; font-size: 18px; font-style: normal; }
.assistant-message > span { max-width: 310px; display: grid; padding: 12px 14px; color: #52656e; background: var(--docket); border-radius: 3px 12px 12px 12px; font-size: 13px; line-height: 1.45; }
.assistant-message strong { margin-bottom: 3px; color: var(--ink); font-size: 14px; }
.preview-answer { justify-self: end; max-width: 280px; margin: 0; padding: 12px 14px; color: var(--white); background: var(--confirmed); border-radius: 12px 3px 12px 12px; font-size: 13px; }
.preview-options { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 41px; }
.preview-options span { display: flex; align-items: center; gap: 7px; padding: 9px 11px; background: var(--white); border: 1px solid var(--line); font-size: 11px; font-weight: 700; }
.preview-options svg { width: 20px; height: 20px; }
.signup-preview > footer { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; color: #5a6c75; background: var(--docket); border-top: 1px solid var(--line); font-family: var(--utility); font-size: 10px; }.signup-preview > footer b { color: var(--approval); font-size: 11px; }

@media (max-width: 880px) {
  .signup-layout { grid-template-columns: 1fr; gap: 58px; }
  .signup-copy { max-width: 700px; }
  .signup-preview { width: min(620px, 100%); }
}

@media (max-width: 560px) {
  .brand-mark { width: 48px; height: 37px; }
  .brand .brand-lockup { display: none; }
  .step-sheet { width: min(310px, calc(100% - 20px)); height: 190px; }
  .signup-section { padding-block: 84px; }
  .signup-copy > p:not(.section-label) { font-size: 16px; }
  .signup-button { width: 100%; }
  .preview-conversation { min-height: 360px; padding: 22px 16px; }
  .signup-preview > footer { align-items: flex-start; flex-direction: column; gap: 4px; }
}

/* Integration registry: primary workplaces first, connected business systems second. */
.platform-strip { padding-block: 92px 84px; background: var(--docket); border-bottom: 1px solid var(--line); }
.platform-layout { min-height: 0; display: block; }
.platform-intro { display: grid; grid-template-columns: .78fr 1.22fr; align-items: end; gap: 72px; padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.platform-intro .section-label { margin: 0 0 15px; }
.platform-copy h2 { max-width: 510px; margin: 0; font-size: clamp(36px, 3.4vw, 49px); line-height: 1.04; }
.platform-copy > p:last-child { max-width: 520px; margin: 18px 0 0; color: #596b74; font-size: 15px; line-height: 1.65; }
.office-platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.office-platforms > span { position: relative; min-width: 0; min-height: 118px; display: grid; grid-template-columns: 37px 1fr; grid-template-rows: auto auto; align-content: center; gap: 2px 12px; padding: 20px 17px; background: rgba(255,255,255,.4); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.office-platforms > span.is-office::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; background: var(--folder); }
.office-platforms svg { grid-row: 1 / 3; align-self: center; width: 35px; height: 35px; }
.office-platforms small { align-self: end; color: var(--approval); font-family: var(--utility); font-size: 8px; font-weight: 600; letter-spacing: .06em; }
.office-platforms strong { align-self: start; margin: 2px 0 0; color: var(--ink); font-size: 13px; line-height: 1.25; }
.integration-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 45px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.integration-grid > span { min-width: 0; min-height: 88px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #3e525c; background: rgba(255,255,255,.38); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; line-height: 1.25; }
.integration-grid img, .integration-grid svg { width: 27px; height: 27px; flex: 0 0 auto; object-fit: contain; }
.integration-grid svg.wide-mark { width: 31px; }
.integration-monogram { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; margin: 0; border-radius: 6px; font-family: var(--display); font-size: 15px; font-weight: 800; letter-spacing: -.06em; }
.pipedrive-mark { color: var(--white); background: #262626; }
.ringcentral-mark { color: #263238; background: #ffcb05; font-size: 10px; text-transform: uppercase; }
.integration-more { margin: 25px 0 0; color: var(--approval); font-family: var(--display); font-size: 22px; font-weight: 700; text-align: right; }

@media (max-width: 880px) {
  .platform-strip { padding-block: 74px 70px; }
  .platform-intro { grid-template-columns: 1fr; gap: 27px; }
  .platform-copy { max-width: 650px; }
  .integration-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .platform-strip { padding-block: 62px; }
  .platform-intro { padding-bottom: 32px; }
  .platform-copy h2 { font-size: 36px; }
  .office-platforms { grid-template-columns: 1fr 1fr; }
  .office-platforms > span { min-height: 100px; padding: 16px 12px; }
  .office-platforms > span:last-child { grid-column: 1 / -1; }
  .integration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
  .integration-grid > span { min-height: 74px; gap: 9px; padding: 11px; font-size: 11px; }
  .integration-grid img, .integration-grid svg { width: 23px; height: 23px; }
  .integration-more { margin-top: 20px; font-size: 19px; text-align: left; }
}

/* ==========================================================================
   Pass 5: finish and polish
   Keeps the employee-file concept, palette and diagrams intact. Adds the
   craft layer: real depth instead of blocked offsets, a consistent radius and
   elevation scale, atmosphere in the dark sections, and considered hover,
   focus and entrance behaviour.
   ========================================================================== */

:root {
  --paper: #fafbfb;
  --paper-2: #f1f4f6;
  --carbon-deep: #101a22;
  --carbon-mid: #1d2b36;
  --folder-deep: #2c6fdd;
  --folder-lift: #8fc0ff;
  --folder-wash: #eef4ff;
  --muted: #5b6c75;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --e1: 0 1px 2px rgba(18, 30, 39, .05), 0 3px 8px -3px rgba(18, 30, 39, .10);
  --e2: 0 2px 4px rgba(18, 30, 39, .05), 0 12px 26px -12px rgba(18, 30, 39, .20);
  --e3: 0 4px 10px rgba(18, 30, 39, .06), 0 30px 56px -24px rgba(18, 30, 39, .30);
  --e4: 0 10px 20px rgba(18, 30, 39, .08), 0 50px 90px -34px rgba(18, 30, 39, .45);
  --e-dark: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 70px -26px rgba(0, 0, 0, .82);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
}

body { background: var(--paper); text-rendering: optimizeLegibility; }
::selection { color: var(--white); background: var(--folder-deep); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--folder);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
.skip-link { border-radius: 0 0 var(--r-sm) var(--r-sm); box-shadow: var(--e3); }

/* --- Typographic finish ------------------------------------------------- */
h1, h2 { letter-spacing: -.036em; line-height: 1.045; }
h1 { max-width: 15ch; }
h1 span, h2 span { color: var(--folder-deep); }
.section-label { display: flex; align-items: center; gap: 12px; }
.section-label::before { content: ""; flex: 0 0 auto; width: 24px; height: 1px; background: currentColor; opacity: .55; }
.split-heading > p, .service-intro > p:last-child { color: #55666e; font-size: 15px; line-height: 1.72; }
.split-heading h2 { max-width: 18ch; }

/* --- Buttons ------------------------------------------------------------ */
.button {
  border-radius: var(--r-sm);
  letter-spacing: -.005em;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background .25s ease;
}
.button > span { transition: transform .3s var(--ease-out); }
.button:hover > span { transform: translateX(4px); }
.primary-button, .signup-button {
  background: linear-gradient(180deg, #56a1ff, #3b82f0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    0 2px 6px rgba(11, 20, 27, .35),
    0 16px 34px -14px rgba(59, 130, 240, .95);
}
.primary-button:hover, .signup-button:hover {
  background: linear-gradient(180deg, #64aaff, #4a8df3);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    0 4px 10px rgba(11, 20, 27, .32),
    0 22px 46px -14px rgba(59, 130, 240, 1);
}
.primary-button:active, .signup-button:active { transform: translateY(0); }

/* --- Header ------------------------------------------------------------- */
.site-header, .start-header {
  background: linear-gradient(180deg, rgba(19, 30, 39, .94), rgba(19, 30, 39, .8));
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}
.brand { transition: opacity .25s ease; }
.brand:hover { opacity: .82; }
.brand-mark img { filter: drop-shadow(0 6px 14px rgba(64, 136, 244, .35)); }
.main-nav a { transition: color .22s ease; }
.main-nav a::after { height: 1.5px; border-radius: 2px; transition: right .3s var(--ease-out); }
/* --- Atmosphere for the dark fields ------------------------------------- */
.hero, .security-section, .signup-section, .site-footer, .start-page { position: relative; isolation: isolate; }
.hero {
  background:
    radial-gradient(115% 85% at 76% 12%, rgba(64, 136, 244, .26), transparent 58%),
    radial-gradient(90% 75% at 4% 96%, rgba(62, 109, 92, .22), transparent 62%),
    linear-gradient(168deg, #1b2934 0%, #17232d 46%, #131e27 100%);
}
.security-section {
  background:
    radial-gradient(90% 70% at 84% 8%, rgba(64, 136, 244, .18), transparent 60%),
    radial-gradient(80% 70% at 6% 92%, rgba(62, 109, 92, .18), transparent 62%),
    linear-gradient(180deg, #16222c, #18242f);
}
.signup-section {
  background:
    radial-gradient(85% 75% at 78% 88%, rgba(64, 136, 244, .24), transparent 60%),
    linear-gradient(180deg, #23333f, #1d2b36);
}
.hero::before, .security-section::before, .signup-section::before, .site-footer::before, .start-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .038) 1px, transparent 1px),
    var(--grain);
  background-size: 72px 72px, 72px 72px, 160px 160px;
  opacity: .55;
  -webkit-mask-image: radial-gradient(130% 90% at 50% 0%, #000 10%, transparent 76%);
  mask-image: radial-gradient(130% 90% at 50% 0%, #000 10%, transparent 76%);
}
.site-footer::before { opacity: .3; }
.hero::after { background: linear-gradient(180deg, rgba(220, 229, 234, .55), var(--docket) 62%); }

/* --- Hero ---------------------------------------------------------------- */
.hero-intro { color: #c3cfd5; }
.hero-actions strong { letter-spacing: -.01em; }
.hero-assurances { gap: 12px 24px; }
.hero-assurances span::before { box-shadow: 0 0 0 3px rgba(62, 109, 92, .22), 0 0 14px rgba(94, 176, 145, .7); }
.employee-file { filter: none; }
.employee-file::before {
  left: 26px; right: -8px; top: 62px; bottom: -14px;
  background: linear-gradient(160deg, rgba(190, 205, 214, .9), rgba(150, 169, 181, .75));
  border-radius: var(--r-lg);
  transform: rotate(1.4deg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.file-tabs span {
  background: linear-gradient(180deg, #b8c6ce, #a4b4bd);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  transition: background .3s ease, color .3s ease;
}
.file-tabs .active {
  color: var(--carbon);
  background: linear-gradient(180deg, #6bb0ff, #4088f4);
  box-shadow: 0 -6px 20px -6px rgba(64, 136, 244, .9);
}
.file-paper {
  overflow: hidden;
  border: 0;
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 1px rgba(23, 35, 45, .1),
    0 4px 12px rgba(0, 0, 0, .18),
    0 44px 80px -34px rgba(0, 0, 0, .78);
}
.file-heading { background: linear-gradient(180deg, #e4ebef, var(--docket)); }
.file-status { border-radius: var(--r-pill); }
.file-status i { animation: status-pulse 2.4s ease-in-out infinite; }
.work-map {
  background:
    radial-gradient(circle at 50% 47%, rgba(64, 136, 244, .16), transparent 30%),
    linear-gradient(180deg, #fdfefe, #f3f6f7);
}
.work-map-lines path { stroke: #a6b5bd; }
.map-inputs span {
  background: linear-gradient(180deg, #fff, #fbfcfd);
  border-color: rgba(23, 35, 45, .12);
  border-radius: var(--r-sm);
  box-shadow: var(--e1);
}
.map-output { border-color: rgba(62, 109, 92, .38); border-radius: var(--r-sm); box-shadow: var(--e1); }
.approval-gate { border-color: rgba(158, 70, 59, .38); border-radius: var(--r-sm); box-shadow: var(--e1); }
.employee-core {
  background: radial-gradient(120% 120% at 30% 20%, #2b3d4a, #16222c 68%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 0 0 12px rgba(62, 109, 92, .12),
    0 0 0 26px rgba(62, 109, 92, .05),
    0 22px 45px -18px rgba(0, 0, 0, .55);
}
.employee-core b, .boundary-core b, .care-core b, .flow-employee b {
  background: linear-gradient(180deg, #6bb0ff, #4088f4);
  box-shadow: 0 6px 18px -6px rgba(64, 136, 244, .95);
}
.flow-pulse, .employee-halo::after, .orbit-line::before, .orbit-line::after,
.flow-arrow i { box-shadow: 0 0 0 5px rgba(64, 136, 244, .16), 0 0 14px rgba(64, 136, 244, .8); }
.file-care { background: linear-gradient(180deg, var(--docket), #d3dee4); }

/* --- Platform registry --------------------------------------------------- */
.platform-strip { background: linear-gradient(180deg, var(--docket) 0%, #e3eaee 55%, #dfe7eb 100%); }
.office-platforms { border: 0; gap: 12px; }
.office-platforms > span {
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f8fafb);
  border: 1px solid rgba(23, 35, 45, .09);
  border-radius: var(--r-md);
  box-shadow: var(--e1);
  transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out), border-color .3s ease;
}
.office-platforms > span:hover { transform: translateY(-3px); box-shadow: var(--e2); border-color: rgba(64, 136, 244, .3); }
.office-platforms > span.is-office::before { background: linear-gradient(90deg, #6bb0ff, #3b82f0); }
.office-platforms svg { filter: drop-shadow(0 4px 8px rgba(23, 35, 45, .12)); }
.integration-grid { gap: 10px; margin-top: 42px; border: 0; }
.integration-grid > span {
  background: linear-gradient(180deg, #fff, #f9fbfb);
  border: 1px solid rgba(23, 35, 45, .085);
  border-radius: var(--r-sm);
  box-shadow: var(--e1);
  transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out), border-color .3s ease;
}
.integration-grid > span:hover { transform: translateY(-3px); box-shadow: var(--e2); border-color: rgba(64, 136, 244, .32); }
.integration-grid img, .integration-grid svg { transition: transform .32s var(--ease-out); }
.integration-grid > span:hover img, .integration-grid > span:hover svg { transform: scale(1.08); }
.integration-more {
  grid-column: span 3;
  display: flex;
  align-items: center;
  min-height: 88px;
  margin: 0;
  padding: 14px 18px;
  border: 1px dashed rgba(158, 70, 59, .42);
  border-radius: var(--r-sm);
  font-size: 19px;
  text-align: left;
}

/* --- Roles --------------------------------------------------------------- */
.role-lab {
  overflow: hidden;
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px rgba(23, 35, 45, .09), var(--e3);
}
.role-switcher { padding: 14px; background: linear-gradient(180deg, #e2e9ed, var(--docket)); border-right: 1px solid rgba(23, 35, 45, .09); }
.role-switcher button { border-radius: var(--r-sm); border-bottom: 1px solid rgba(23, 35, 45, .09); transition: color .28s ease, background .28s ease, transform .34s var(--ease-out), box-shadow .34s var(--ease-out); }
.role-switcher button:hover { background: rgba(255, 255, 255, .6); }
.role-switcher button.active {
  background: linear-gradient(180deg, #fff, var(--porcelain));
  border-bottom-color: transparent;
  box-shadow: var(--e2);
}
.role-switcher button > i { transition: color .28s ease, background .28s ease, box-shadow .28s ease; }
.role-switcher button.active > i { background: linear-gradient(180deg, #6bb0ff, #4088f4); box-shadow: 0 6px 16px -6px rgba(64, 136, 244, .95); }
.role-stage { background: radial-gradient(circle at 50% 48%, rgba(64, 136, 244, .15), transparent 30%), linear-gradient(180deg, #fdfefe, #f3f6f7); }
.flow-node { background: linear-gradient(180deg, #fff, #fbfcfd); border-color: rgba(23, 35, 45, .1); border-radius: var(--r-md); box-shadow: var(--e2); }
.flow-employee { background: radial-gradient(120% 120% at 30% 18%, #2c3e4b, #16222c 68%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 26px 55px -22px rgba(0, 0, 0, .5); }
.flow-approval { border-color: rgba(158, 70, 59, .38); border-radius: var(--r-md); box-shadow: var(--e1); }

/* --- Onboarding sequence -------------------------------------------------- */
.onboarding-section { background: linear-gradient(180deg, #dfe7eb, var(--docket) 40%, #e2e9ed); border-block: 1px solid rgba(23, 35, 45, .09); }
.onboarding-track::before { height: 2px; background: linear-gradient(90deg, rgba(154, 173, 182, .25), #9aadb6 18%, #9aadb6 82%, rgba(154, 173, 182, .25)); }
.onboarding-track::after { box-shadow: 0 0 0 4px rgba(158, 70, 59, .16), 0 0 14px rgba(158, 70, 59, .8); }
.onboarding-track > li { border-right-color: rgba(23, 35, 45, .1); }
.step-sheet {
  border: 1px solid rgba(23, 35, 45, .1);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #fff, var(--porcelain));
  box-shadow: var(--e2);
  transition: transform .38s var(--ease-out), box-shadow .38s var(--ease-out);
}
.onboarding-track > li:hover .step-sheet { transform: translateY(-5px); box-shadow: var(--e3); }
.task-stack span, .mini-role-file, .test-scene > span { border-color: rgba(23, 35, 45, .11); border-radius: var(--r-xs); }
.task-stack span { box-shadow: var(--e1); }
.mini-role-file { overflow: hidden; border-radius: var(--r-sm); box-shadow: var(--e1); }
.scene-lens { background: rgba(64, 136, 244, .9); box-shadow: 0 0 0 2px var(--folder), 0 12px 26px -10px rgba(64, 136, 244, .9); }
.test-scene > b { background: radial-gradient(120% 120% at 30% 20%, #2c3e4b, #16222c 70%); }
.launch-scene { border-radius: var(--r-md); }
.launch-scene header { background: linear-gradient(180deg, var(--carbon-mid), var(--carbon)); }

/* --- Security boundary ---------------------------------------------------- */
.zdr-note > strong { background: linear-gradient(180deg, #6bb0ff, #4088f4); box-shadow: 0 10px 24px -10px rgba(64, 136, 244, .95); }
.security-visual { overflow: hidden; border: 0; border-radius: var(--r-lg); box-shadow: var(--e-dark); }
.boundary-title { background: linear-gradient(180deg, #e4ebef, var(--docket)); }
.boundary-field { background: radial-gradient(circle at 50% 45%, rgba(62, 109, 92, .14), transparent 32%); }
.boundary-core { background: radial-gradient(120% 120% at 30% 18%, #2b3d4a, #16222c 68%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 13px rgba(62, 109, 92, .13), 0 22px 45px -18px rgba(0, 0, 0, .5); }
.system-node, .care-node {
  background: linear-gradient(180deg, #fff, #fbfcfd);
  border-color: rgba(23, 35, 45, .1);
  border-radius: var(--r-sm);
  box-shadow: var(--e2);
  transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out);
}
.system-node:hover, .care-node:hover { transform: translateY(-3px); box-shadow: var(--e3); }
.human-node, .blocked-node { border-radius: var(--r-sm); }
.human-node { border-color: rgba(158, 70, 59, .38); box-shadow: var(--e1); }
.security-key { background: linear-gradient(180deg, var(--docket), #d3dee4); }

/* --- Managed service ------------------------------------------------------ */
.care-system { background: radial-gradient(circle, rgba(23, 35, 45, .12) 0 1px, transparent 1.5px) 0 0 / 24px 24px; }
.care-core { background: radial-gradient(120% 120% at 30% 18%, #2c3e4b, #16222c 68%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 14px rgba(62, 109, 92, .12), 0 26px 55px -22px rgba(0, 0, 0, .5); }
.service-promises > p { border-bottom-color: rgba(23, 35, 45, .11); transition: background .28s ease; }
.service-promises > p:hover { background: linear-gradient(90deg, rgba(64, 136, 244, .05), transparent 70%); }
.live-care, .monthly-offer { border-radius: var(--r-md); }
.live-care { background: linear-gradient(120deg, var(--carbon-mid), var(--carbon)); box-shadow: var(--e2); }
.monthly-offer {
  background:
    radial-gradient(80% 200% at 88% 50%, rgba(64, 136, 244, .22), transparent 62%),
    linear-gradient(120deg, var(--carbon-mid), var(--carbon));
  box-shadow: var(--e3);
}
.monthly-offer > span { color: var(--folder-lift); }
.monthly-offer a { color: var(--folder-lift); border-bottom-color: rgba(143, 192, 255, .45); transition: color .25s ease, border-color .25s ease, gap .3s var(--ease-out); }
.monthly-offer a:hover { color: var(--white); border-bottom-color: var(--white); gap: 24px; }

/* --- Signup ---------------------------------------------------------------- */
.security-copy h2 span, .signup-copy h2 span, .setup-intro h1 span { color: var(--folder-lift); }
.signup-preview {
  overflow: hidden;
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--e-dark), 0 0 100px -34px rgba(64, 136, 244, .9);
}
.signup-preview > header { background: linear-gradient(180deg, #e4ebef, var(--docket)); }
.preview-options span { border-color: rgba(23, 35, 45, .1); border-radius: var(--r-sm); box-shadow: var(--e1); }
.signup-preview > footer { background: linear-gradient(180deg, var(--docket), #d3dee4); }

/* --- Footer ----------------------------------------------------------------- */
.site-footer { background: linear-gradient(180deg, #0e1820, #0b141b); }
.footer-main { border-bottom-color: rgba(255, 255, 255, .08); }
.footer-bottom a { position: relative; transition: color .22s ease; }
.footer-bottom a:hover { color: var(--white); }

/* --- Motion ------------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(.99);
  filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out);
}
[data-reveal].is-visible { filter: none; }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise-in .95s var(--ease-out) both; }
.hero-copy > *:nth-child(1) { animation-delay: .04s; }
.hero-copy > *:nth-child(2) { animation-delay: .11s; }
.hero-copy > *:nth-child(3) { animation-delay: .19s; }
.hero-copy > *:nth-child(4) { animation-delay: .27s; }
.hero-copy > *:nth-child(5) { animation-delay: .35s; }
.employee-file { animation: rise-in 1.1s .22s var(--ease-out) both; }

@media (max-width: 1120px) {
  .integration-more { grid-column: span 3; }
}

@media (max-width: 880px) {
  .integration-more { grid-column: span 2; }
  .platform-strip { background: linear-gradient(180deg, var(--docket), #e3eaee); }
}

@media (max-width: 560px) {
  h1 { max-width: none; letter-spacing: -.036em; line-height: 1.06; }
  h2 { letter-spacing: -.034em; line-height: 1.07; }
  .split-heading h2 { max-width: none; }
  .integration-more { grid-column: span 2; min-height: 74px; font-size: 17px; }
  .employee-file::before { left: 16px; right: -5px; top: 54px; }
  .work-map { height: 520px; }
  .employee-core { top: 48%; width: 132px; height: 132px; }
  .map-output { top: 322px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *, .employee-file { animation-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* --- Pass 5b: atmosphere balance and hero reliability ---------------------- */
.hero {
  background:
    radial-gradient(100% 78% at 74% 20%, rgba(64, 136, 244, .30), transparent 62%),
    radial-gradient(70% 62% at 0% 100%, rgba(62, 109, 92, .20), transparent 66%),
    linear-gradient(162deg, #1c2b37 0%, #16222c 52%, #111b23 100%);
}
.hero::before, .security-section::before, .signup-section::before, .site-footer::before, .start-page::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px),
    var(--grain);
  opacity: .4;
  -webkit-mask-image: radial-gradient(145% 115% at 50% 0%, #000 0%, rgba(0, 0, 0, .4) 52%, transparent 92%);
  mask-image: radial-gradient(145% 115% at 50% 0%, #000 0%, rgba(0, 0, 0, .4) 52%, transparent 92%);
}
.site-footer::before { opacity: .22; }

.site-header { box-shadow: 0 20px 44px -34px rgba(0, 0, 0, .95); }
.file-paper {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .14),
    0 4px 12px rgba(0, 0, 0, .2),
    0 48px 84px -36px rgba(0, 0, 0, .8),
    0 0 130px -26px rgba(64, 136, 244, .5);
}
.file-tabs span { background: linear-gradient(180deg, #aebdc6, #98a9b3); }
.file-tabs .active { box-shadow: 0 -8px 26px -8px rgba(64, 136, 244, .95); }

/* The hero diagram is above the fold: show it with the hero, never on scroll. */
.hero [data-reveal] { opacity: 1; transform: none; filter: none; }

/* --- Pass 5c: small-screen corrections ------------------------------------ */
@media (max-width: 560px) {
  h2, .security-copy h2, .platform-copy h2 { font-size: clamp(29px, 8.2vw, 36px); overflow-wrap: break-word; }

  /* The percentage widths from the accuracy pass were overriding the phone
     layout, squeezing the work-map cards into unreadable columns. */
  .work-map { height: 545px; }
  .map-inputs { left: 13px; right: 13px; width: auto; }
  .employee-core { top: 45%; }
  .map-output { right: 12px; top: 344px; width: 152px; }
  .file-status { max-width: none; border-radius: var(--r-sm); }

  .care-system { margin-inline: 0; }
  .care-orbit { width: min(360px, 100%); height: 520px; }
  .care-node { width: 132px; }
  .care-monitor, .care-improve { left: 0; }
  .care-maintain, .care-secure { right: 0; }
  .orbit-line { inset: 100px 34px; }
}

@media (max-width: 560px) {
  .flow-employee { width: 186px; height: 186px; padding: 20px; }
  .flow-employee b { width: 44px; height: 44px; margin-bottom: 4px; font-size: 20px; }
  .flow-employee strong { margin-top: 3px; font-size: 16px; }
  .flow-employee p { margin-top: 6px; font-size: 11px; }
}

/* Without scripting the reveal observer never runs; show the diagrams anyway. */
@media (scripting: none) {
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}

/* --- Pass 5d: hero file finish -------------------------------------------- */
.employee-file::before {
  background: linear-gradient(160deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .11);
  box-shadow: 0 26px 55px -34px rgba(0, 0, 0, .9);
}
.file-tabs span {
  color: rgba(255, 255, 255, .84);
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .1));
  border: 1px solid rgba(255, 255, 255, .14);
  border-bottom: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.file-tabs span:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .15)); }
.file-tabs .active, .file-tabs .active:hover {
  color: var(--carbon);
  background: linear-gradient(180deg, #6bb0ff, #4088f4);
  border-color: transparent;
}

/* --- Pass 5e: navigation --------------------------------------------------- */
/* Anchor targets were landing underneath the sticky header. */
:where(#main, #roles, #onboarding, #security, #service, #pricing, #start) { scroll-margin-top: 96px; }

.main-nav { gap: 2px; }
.main-nav a {
  padding: 9px 14px;
  color: #aebcc3;
  border-radius: var(--r-sm);
  transition: color .22s ease, background .22s ease;
}
.main-nav a::after {
  left: 14px;
  right: calc(100% - 14px);
  bottom: 5px;
  height: 2px;
  background: var(--folder);
  transition: right .34s var(--ease-out), box-shadow .3s ease;
}
.main-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { right: 14px; }
.main-nav a[aria-current] { color: var(--white); }
.main-nav a[aria-current]::after { box-shadow: 0 0 12px rgba(64, 136, 244, .85); }
.main-nav a:active { background: rgba(255, 255, 255, .11); }

@media (max-width: 1120px) {
  .main-nav { gap: 0; }
  .main-nav a { padding: 9px 11px; }
  .main-nav a::after { left: 11px; right: calc(100% - 11px); }
  .main-nav a:hover::after, .main-nav a[aria-current]::after { right: 11px; }
}

@media (max-width: 880px) {
  .main-nav { gap: 4px; padding: 14px 18px 22px; background: linear-gradient(180deg, var(--white), var(--porcelain)); border-bottom: 1px solid rgba(23, 35, 45, .1); box-shadow: var(--e3); }
  .main-nav a { padding: 15px 14px; color: var(--ink); background: transparent; border-bottom: 1px solid rgba(23, 35, 45, .09); border-radius: var(--r-sm); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--folder); opacity: 0; transition: opacity .22s ease; }
  .main-nav a[aria-current]::before { opacity: 1; }
  .main-nav a:hover, .main-nav a[aria-current] { color: var(--carbon); background: var(--folder-wash); }
}

@media (max-width: 880px) {
  .main-nav { gap: 2px; }
  .main-nav a { border-bottom: 0; }
}

/* While the menu is open, `body` becomes an overflow container, which re-anchors
   the sticky header (and the fixed menu inside its backdrop-filter containing
   block) to the document top — both scrolled off-screen. Pin the header to the
   viewport instead, and reserve the 73px it vacates so nothing shifts. */
@media (max-width: 880px) {
  body.menu-open { padding-top: 73px; }
  body.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
}

/* --- Managed team pricing ------------------------------------------------- */
.hero-intro strong { color: var(--folder-lift); font-weight: 700; white-space: nowrap; }

.pricing-section { padding-block: 122px; background: linear-gradient(180deg, #e3eaee, var(--docket) 48%, #e2e9ed); border-block: 1px solid rgba(23, 35, 45, .09); }
.pricing-intro { display: grid; grid-template-columns: 1.2fr .65fr; align-items: end; gap: 95px; margin-bottom: 54px; }
.pricing-intro .section-label { grid-column: 1 / -1; margin-bottom: -7px; }
.pricing-intro > p:last-child { margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.pricing-section .managed-plan { margin-top: 0; }

.managed-plan {
  overflow: hidden;
  margin-top: 24px;
  color: var(--white);
  background:
    radial-gradient(90% 190% at 86% 10%, rgba(64, 136, 244, .3), transparent 58%),
    linear-gradient(135deg, var(--carbon-mid), var(--carbon) 62%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  box-shadow: var(--e3), 0 0 90px -44px rgba(64, 136, 244, .9);
}
.managed-plan-main { display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; padding: 38px 40px 35px; }
.managed-plan-price, .managed-plan-capacity { min-width: 0; }
.managed-plan-price > span, .managed-plan-capacity > span, .managed-plan-details p > span, .volume-plan > span {
  color: var(--folder-lift);
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
}
.managed-plan-price > p { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 3px; }
.managed-plan-price > p strong { font-family: var(--display); font-size: clamp(58px, 6vw, 82px); font-weight: 650; letter-spacing: -.065em; line-height: .95; }
.managed-plan-price > p small { color: #b8c5cb; font-size: 14px; font-weight: 600; }
.managed-plan-price > b { color: #d8e2e7; font-size: 14px; }
.managed-plan-capacity h3 { max-width: 640px; margin: 8px 0 7px; font-family: var(--display); font-size: clamp(27px, 2.6vw, 38px); font-weight: 620; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.managed-plan-capacity > p { margin: 0; color: #b8c5cb; font-size: 13px; }

.activation-path { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 25px 0 0; padding: 0; list-style: none; }
.activation-path::before { content: ""; position: absolute; left: 16.666%; right: 16.666%; top: 21px; height: 1px; background: linear-gradient(90deg, var(--folder), rgba(143, 192, 255, .35)); }
.activation-path li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 8px; text-align: center; }
.activation-path li > i { width: 43px; height: 43px; display: grid; place-items: center; color: #a8bac3; background: #243642; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; font-family: var(--utility); font-size: 10px; font-style: normal; box-shadow: 0 0 0 6px rgba(23, 35, 45, .7); }
.activation-path li.is-start > i { color: var(--carbon); background: linear-gradient(180deg, #6bb0ff, var(--folder)); border-color: transparent; box-shadow: 0 0 0 6px rgba(64, 136, 244, .12), 0 10px 24px -9px rgba(64, 136, 244, .95); }
.activation-path li > span { display: grid; }
.activation-path li strong { font-size: 11px; }
.activation-path li small { margin-top: 2px; color: #91a4ad; font-family: var(--utility); font-size: 8px; line-height: 1.35; text-transform: uppercase; }

.managed-plan-details { display: grid; grid-template-columns: 1.35fr 1fr auto; align-items: center; gap: 34px; padding: 22px 40px; background: rgba(8, 18, 25, .35); border-top: 1px solid rgba(255, 255, 255, .09); border-bottom: 1px solid rgba(255, 255, 255, .09); }
.managed-plan-details p { display: grid; gap: 5px; margin: 0; }
.managed-plan-details p > strong { color: #c6d2d8; font-size: 12px; font-weight: 550; line-height: 1.55; }
.managed-plan-launch s { color: #82959e; font-weight: 550; text-decoration-color: var(--approval); text-decoration-thickness: 1px; }
.managed-plan-launch em { color: #acd0ff; font-style: normal; font-weight: 700; }
.managed-plan-details > a, .volume-plan > a { display: flex; align-items: center; gap: 17px; padding-bottom: 3px; color: var(--folder-lift); border-bottom: 1px solid rgba(143, 192, 255, .45); font-size: 13px; font-weight: 700; white-space: nowrap; transition: color .25s ease, border-color .25s ease, gap .3s var(--ease-out); }
.managed-plan-details > a:hover, .volume-plan > a:hover { color: var(--white); border-bottom-color: var(--white); gap: 22px; }
.managed-plan-details > a:focus-visible, .volume-plan > a:focus-visible { outline: 2px solid var(--folder-lift); outline-offset: 5px; }
.managed-plan-costs { margin: 0; padding: 13px 40px 15px; color: #879aa3; font-family: var(--utility); font-size: 9px; letter-spacing: .02em; }

.volume-plan { display: grid; grid-template-columns: .55fr 1fr 1.2fr auto; align-items: center; gap: 25px; margin-top: 12px; padding: 19px 24px; background: linear-gradient(180deg, #fff, #f4f7f8); border: 1px solid rgba(23, 35, 45, .1); border-radius: var(--r-md); box-shadow: var(--e1); }
.volume-plan > span { color: var(--approval); }
.volume-plan > strong { font-family: var(--display); font-size: 20px; letter-spacing: -.025em; }
.volume-plan > p { margin: 0; color: var(--muted); font-size: 12px; }
.volume-plan > a { color: var(--folder); border-bottom-color: rgba(64, 136, 244, .35); }
.volume-plan > a:hover { color: var(--carbon); border-bottom-color: var(--carbon); }

@media (max-width: 880px) {
  .pricing-intro { grid-template-columns: 1fr; gap: 24px; }
  .pricing-intro .section-label { grid-column: auto; margin-bottom: -10px; }
  .pricing-intro > p:last-child { max-width: 620px; }
  .managed-plan-main { grid-template-columns: 1fr; gap: 32px; }
  .managed-plan-details { grid-template-columns: 1fr 1fr; }
  .managed-plan-details > a { width: fit-content; }
  .managed-plan-includes { grid-column: 1 / -1; }
  .volume-plan { grid-template-columns: 1fr 1fr; }
  .volume-plan > p { grid-column: 1; }
  .volume-plan > a { grid-column: 2; grid-row: 2; justify-self: end; }
}

@media (max-width: 560px) {
  .pricing-section { padding-block: 84px; }
  .pricing-intro { margin-bottom: 38px; }
  .managed-plan-main { gap: 29px; padding: 27px 20px 25px; }
  .managed-plan-price > p strong { font-size: 57px; }
  .managed-plan-price > p small { font-size: 12px; }
  .managed-plan-capacity h3 { font-size: 28px; }
  .activation-path { gap: 4px; margin-top: 23px; }
  .activation-path li > i { width: 39px; height: 39px; }
  .activation-path::before { top: 19px; }
  .activation-path li strong { font-size: 10px; }
  .activation-path li small { font-size: 7px; }
  .managed-plan-details { grid-template-columns: 1fr; gap: 20px; padding: 22px 20px; }
  .managed-plan-includes { grid-column: auto; }
  .managed-plan-costs { padding: 12px 20px 15px; line-height: 1.5; }
  .volume-plan { grid-template-columns: 1fr; gap: 8px; padding: 19px 20px; }
  .volume-plan > p, .volume-plan > a { grid-column: auto; grid-row: auto; }
  .volume-plan > a { width: fit-content; justify-self: start; margin-top: 6px; }
}

/* ==========================================================================
   Proof: the employees we run ourselves
   ========================================================================== */
.proof-section { padding-block: 104px; background: linear-gradient(180deg, var(--docket) 0%, #e7edf0 100%); border-bottom: 1px solid rgba(23, 35, 45, .09); }
.proof-layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 78px; }
.proof-copy h2 { max-width: 14ch; font-size: clamp(36px, 3.6vw, 52px); }
.proof-copy > p:not(.section-label) { max-width: 54ch; margin: 22px 0 0; color: #4d5f68; font-size: 17px; line-height: 1.68; }
.proof-cap { margin-top: 24px !important; padding-top: 20px; border-top: 1px solid rgba(23, 35, 45, .12); color: var(--approval) !important; font-size: 15px !important; font-weight: 600; }

.proof-record { overflow: hidden; background: linear-gradient(180deg, #fff, var(--porcelain)); border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgba(23, 35, 45, .09), var(--e3); }
.proof-record-head { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 22px; background: linear-gradient(180deg, #e4ebef, var(--docket)); border-bottom: 1px solid var(--line); font-family: var(--utility); }
.proof-record-head span { font-size: 12px; font-weight: 600; letter-spacing: .05em; }
.proof-record-head small { color: #596c75; font-size: 11px; }

.proof-roster { list-style: none; display: grid; margin: 0; padding: 8px 12px; }
.proof-roster li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 15px; padding: 15px 10px; border-bottom: 1px solid rgba(23, 35, 45, .08); }
.proof-roster li:last-child { border-bottom: 0; }
.proof-roster i { width: 40px; height: 40px; display: grid; place-items: center; color: var(--carbon); background: linear-gradient(180deg, #dceaff, #c9dfff); border-radius: 50%; font-family: var(--utility); font-size: 17px; font-style: normal; }
.proof-roster span { display: grid; min-width: 0; }
.proof-roster strong { font-size: 15px; letter-spacing: -.012em; }
.proof-roster small { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.proof-roster b { color: var(--confirmed); background: var(--confirmed-pale); padding: 5px 9px; border-radius: var(--r-pill); font-family: var(--utility); font-size: 10px; font-weight: 600; white-space: nowrap; }

.proof-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.proof-figures p { display: grid; gap: 3px; margin: 0; padding: 18px 16px; background: linear-gradient(180deg, var(--docket), #d4dfe5); text-align: center; }
.proof-figures strong { font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.proof-figures small { color: #566971; font-family: var(--utility); font-size: 10px; line-height: 1.3; }

@media (max-width: 1120px) {
  .proof-layout { grid-template-columns: 1fr 1fr; gap: 44px; }
}

@media (max-width: 880px) {
  .proof-section { padding-block: 82px; }
  .proof-layout { grid-template-columns: 1fr; gap: 40px; }
  .proof-copy { max-width: 680px; }
  .proof-copy h2 { max-width: 18ch; }
  .proof-record { width: min(680px, 100%); }
}

@media (max-width: 560px) {
  .proof-section { padding-block: 66px; }
  .proof-copy h2 { max-width: none; font-size: clamp(29px, 8.2vw, 36px); }
  .proof-copy > p:not(.section-label) { font-size: 16px; }
  .proof-roster li { grid-template-columns: 38px 1fr; gap: 12px; padding: 13px 6px; }
  .proof-roster i { width: 34px; height: 34px; font-size: 15px; }
  .proof-roster b { grid-column: 2; justify-self: start; margin-top: 6px; }
  .proof-figures strong { font-size: 23px; }
  .proof-figures p { padding: 14px 8px; }
}

/* --- Pricing: all-in fee, terms, reframed waiver --------------------------- */
.managed-plan-details { grid-template-columns: 1.3fr 1.15fr auto; row-gap: 20px; }
.managed-plan-includes { grid-column: 1; grid-row: 1; }
.managed-plan-launch { grid-column: 2; grid-row: 1; }
.managed-plan-terms { grid-column: 1 / 3; grid-row: 2; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .09); }
.managed-plan-details > a { grid-column: 3; grid-row: 1 / 3; }

.managed-plan-launch strong { display: grid; gap: 6px; }
.managed-plan-launch s { color: #8fa2ab; text-decoration-color: rgba(158, 70, 59, .8); text-decoration-thickness: 1px; }
.managed-plan-launch em { color: #9fb0b8; font-size: 11px; font-style: normal; font-weight: 400; line-height: 1.5; }
.managed-plan-launch > span { color: var(--folder-lift); }

.managed-plan-terms > span { color: var(--confirmed-pale); }
.managed-plan-terms strong { color: #dbe6eb; font-size: 13px; font-weight: 650; letter-spacing: -.005em; }

.managed-plan-costs { line-height: 1.6; }
.managed-plan-costs a { color: var(--folder-lift); border-bottom: 1px solid rgba(143, 192, 255, .4); transition: color .22s ease, border-color .22s ease; }
.managed-plan-costs a:hover { color: var(--white); border-bottom-color: var(--white); }

.volume-plan > strong span { font-variant-numeric: tabular-nums; }

@media (max-width: 880px) {
  .managed-plan-details { grid-template-columns: 1fr; }
  .managed-plan-includes, .managed-plan-launch, .managed-plan-terms, .managed-plan-details > a { grid-column: auto; grid-row: auto; }
  .managed-plan-terms { padding-top: 16px; }
}

/* --- Pricing FAQ ----------------------------------------------------------- */
.pricing-faq { margin-top: 58px; padding-top: 44px; border-top: 1px solid rgba(23, 35, 45, .12); }
.pricing-faq .section-label { margin-bottom: 30px; }
.pricing-faq dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0; }
.pricing-faq dl > div { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid rgba(23, 35, 45, .09); }
.pricing-faq dl > div:nth-last-child(-n+2) { border-bottom: 0; }
.pricing-faq dt { font-size: 16px; font-weight: 700; letter-spacing: -.012em; }
.pricing-faq dd { margin: 0; max-width: 52ch; color: #55666e; font-size: 14px; line-height: 1.65; }
.pricing-faq dd span { font-variant-numeric: tabular-nums; }

@media (max-width: 880px) {
  .pricing-faq dl { grid-template-columns: 1fr; gap: 0; }
  .pricing-faq dl > div:nth-last-child(-n+2) { border-bottom: 1px solid rgba(23, 35, 45, .09); }
  .pricing-faq dl > div:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .pricing-faq { margin-top: 44px; padding-top: 34px; }
  .pricing-faq dt { font-size: 15px; }
  .pricing-faq dd { font-size: 13px; }
}
.pricing-faq dl > div { align-content: start; }

/* ==========================================================================
   Sticky call to action
   Conviction can happen anywhere on a 7,000px page. Without this, only
   conviction that happens near a button converts.
   ========================================================================== */
.sticky-cta {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 20px;
  width: min(680px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 14px 14px 24px;
  color: var(--white);
  background: linear-gradient(120deg, rgba(29, 43, 54, .97), rgba(19, 30, 39, .97));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 60px -24px rgba(0, 0, 0, .85);
  opacity: 0;
  transform: translate(-50%, 130%);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta.is-visible { opacity: 1; transform: translate(-50%, 0); }
.sticky-cta p { display: grid; gap: 3px; margin: 0; }
.sticky-cta strong { font-size: 15px; letter-spacing: -.012em; }
.sticky-cta small { color: #a9bac2; font-family: var(--utility); font-size: 11px; }
.sticky-cta .button { min-height: 48px; padding: 0 20px; font-size: 14px; white-space: nowrap; }

@media (max-width: 560px) {
  /* Clear of the bottom-right voice widget, whose button lives in a shadow root
     and cannot be measured from here. */
  .sticky-cta { bottom: 88px; grid-template-columns: 1fr; gap: 12px; padding: 16px; text-align: center; }
  .sticky-cta .button { width: 100%; }
  .sticky-cta strong { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; transform: translate(-50%, 0); }
}

/* Credibility above the fold. Cold traffic decides in seconds and mostly never
   reaches the proof section, so one line of it travels up to the hero. */
.hero-proof {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  margin: 26px 0 0;
  padding: 11px 18px 11px 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-pill);
}
.hero-proof > i {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  color: var(--carbon);
  background: linear-gradient(180deg, #6bb0ff, var(--folder));
  border-radius: 50%;
  font-family: var(--display); font-size: 15px; font-weight: 700; font-style: normal;
  box-shadow: 0 6px 16px -6px rgba(64, 136, 244, .95);
}
.hero-proof span { display: grid; gap: 2px; }
.hero-proof strong { font-size: 14px; letter-spacing: -.01em; }
.hero-proof span { color: #a9bac2; font-size: 12px; }
.hero-proof strong { color: var(--white); }
.hero-copy > *:nth-child(6) { animation-delay: .43s; }

@media (max-width: 560px) {
  .hero-proof { display: grid; margin-top: 22px; padding: 12px 16px 12px 12px; border-radius: var(--r-md); }
  .hero-proof strong { font-size: 13px; }
}

/* --- Referred traffic ------------------------------------------------------
   Someone arriving on a link we sent has one job to do here. The navigation is
   five ways to leave, and they already know who we are, so both step back. */
.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: none;
}
.ghost-button:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .34); }
.ghost-button[hidden] { display: none; }
.hero-actions { flex-wrap: wrap; }
.hero-actions .button { white-space: nowrap; }
/* The note describes the questionnaire, which is no longer the primary path. */
body.is-referred .hero-actions > p { display: none; }

body.is-referred .main-nav { display: none; }
body.is-referred .header-shell { grid-template-columns: 1fr auto; }

@media (max-width: 880px) {
  body.is-referred .menu-button { display: none; }
  body.is-referred .header-shell { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-actions .ghost-button { width: 100%; }
}

/* --- Call to action in the header ------------------------------------------
   The header is on screen for the whole page, so the one action worth taking
   should be too. Sits where the phone number used to. */
.nav-cta {
  justify-self: end;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  color: var(--carbon);
  background: linear-gradient(180deg, #56a1ff, #3b82f0);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 22px -12px rgba(59, 130, 240, .95);
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), background .22s ease;
}
.nav-cta span { font-size: 15px; transition: transform .28s var(--ease-out); }
.nav-cta:hover { background: linear-gradient(180deg, #64aaff, #4a8df3); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 28px -12px rgba(59, 130, 240, 1); }
.nav-cta:hover span { transform: translateX(3px); }
.nav-cta:active { transform: translateY(0); }

@media (max-width: 880px) {
  /* The menu button needs the corner, so the action sits beside it. */
  .header-shell { grid-template-columns: 1fr auto 38px; }
  .nav-cta { min-height: 36px; padding: 0 14px; gap: 10px; font-size: 12px; }
  body.is-referred .header-shell { grid-template-columns: 1fr auto; }
}

@media (max-width: 560px) {
  .header-shell { grid-template-columns: auto 1fr 38px; gap: 10px; }
  .nav-cta { padding: 0 12px; gap: 8px; font-size: 11px; }
  .nav-cta span { display: none; }
}

/* What the booking asks for, replacing the preview of the retired chat flow. */
.booking-preview { display: grid; gap: 2px; padding: 10px 12px; }
.booking-preview p { display: grid; grid-template-columns: 32px 1fr; align-items: start; gap: 14px; margin: 0; padding: 15px 12px; border-bottom: 1px solid rgba(23, 35, 45, .08); }
.booking-preview p:last-child { border-bottom: 0; }
.booking-preview i { width: 32px; height: 32px; display: grid; place-items: center; color: var(--carbon); background: linear-gradient(180deg, #6bb0ff, var(--folder)); border-radius: 50%; font-family: var(--utility); font-size: 12px; font-style: normal; font-weight: 600; box-shadow: 0 6px 16px -7px rgba(64, 136, 244, .9); }
.booking-preview span { display: grid; gap: 3px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.booking-preview strong { color: var(--ink); font-size: 15px; letter-spacing: -.012em; }



@media (max-width: 560px) {
  .work-window .thread-head { padding: 13px 16px; }
  .thread-foot { padding: 11px 16px; gap: 10px; }
  .thread-foot b { font-size: 10px; }
}

/* ==========================================================================
   Hero: a shift being handled
   A Teams thread that plays once and rests resolved. A loop would mean
   whatever a visitor happens to look at is arbitrary, and most give it
   seconds. The brief is a card rather than a paragraph because that is what
   an assistant actually posts, and because it can be scanned.
   ========================================================================== */
.work-window { position: relative; width: 100%; min-width: 0; }
.work-thread {
  display: grid;
  grid-template-rows: auto auto auto auto;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfefe, #f3f6f7);
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .14),
    0 4px 12px rgba(0, 0, 0, .2),
    0 48px 84px -36px rgba(0, 0, 0, .8),
    0 0 130px -26px rgba(64, 136, 244, .5);
}

.thread-head { display: flex; align-items: center; gap: 12px; padding: 15px 22px; background: linear-gradient(180deg, var(--carbon-mid), var(--carbon)); color: var(--white); }
.thread-head svg { width: 24px; height: 24px; flex: 0 0 auto; }
.thread-head span { display: grid; }
.thread-head strong { font-size: 14px; letter-spacing: -.01em; }
.thread-head small { color: #93a6af; font-family: var(--utility); font-size: 10px; }
.thread-head i { margin-left: auto; display: flex; align-items: center; gap: 6px; color: #9fc5b5; font-family: var(--utility); font-size: 10px; font-style: normal; }
.thread-head i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #71aa93; box-shadow: 0 0 0 3px rgba(113, 170, 147, .18); }

.thread-body { position: relative; padding: 18px 22px 14px; }
.thread-message { display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin: 0 0 16px; }
.thread-message > b { position: relative; width: 34px; height: 34px; display: grid; place-items: center; align-self: start; border-radius: 50%; font-family: var(--utility); font-size: 11px; font-weight: 600; }
.thread-message.is-person > b { color: #4a5c66; background: var(--docket); }
.thread-message.is-employee > b { color: var(--carbon); background: linear-gradient(180deg, #6bb0ff, var(--folder)); box-shadow: 0 6px 16px -7px rgba(64, 136, 244, .95); }
/* Presence, the way a real client shows it. */
.thread-message > b::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border: 2px solid var(--porcelain); border-radius: 50%; background: var(--confirmed); }
.thread-message > span { display: grid; gap: 6px; min-width: 0; color: #46585f; font-size: 13.5px; line-height: 1.55; }
.thread-message em { display: flex; align-items: baseline; gap: 9px; font-style: normal; }
.thread-message em strong { color: var(--ink); font-size: 13px; letter-spacing: -.01em; }
.thread-message em small { padding: 2px 6px; color: var(--folder-deep); background: var(--folder-wash); border-radius: 3px; font-family: var(--utility); font-size: 8px; font-weight: 600; letter-spacing: .06em; }
.thread-message em time { margin-left: auto; color: #8b9ba3; font-family: var(--utility); font-size: 10px; }
.thread-message.is-person > span { padding: 11px 14px; background: var(--white); border: 1px solid rgba(23, 35, 45, .1); border-radius: 3px 12px 12px 12px; box-shadow: var(--e1); }

.brief-card { display: grid; overflow: hidden; background: linear-gradient(180deg, #fff, #f8fbff); border: 1px solid rgba(64, 136, 244, .3); border-radius: 3px 12px 12px 12px; box-shadow: var(--e2); }
.brief-head { display: grid; gap: 2px; padding: 13px 16px; background: linear-gradient(180deg, #eef4ff, #e3edff); border-bottom: 1px solid rgba(64, 136, 244, .22); }
.brief-head small { color: var(--folder-deep); font-family: var(--utility); font-size: 9px; font-weight: 600; letter-spacing: .09em; }
.brief-head strong { color: var(--ink); font-size: 16px; letter-spacing: -.02em; }
.brief-head time { color: #5d7180; font-family: var(--utility); font-size: 10px; }
.brief-rows { display: grid; }
.brief-rows > span { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgba(23, 35, 45, .07); font-size: 12.5px; line-height: 1.45; }
.brief-rows > span small { color: #7d8f98; font-family: var(--utility); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; }
.brief-rows > span.is-flagged { color: var(--approval); background: rgba(158, 70, 59, .05); font-weight: 600; }
.brief-rows > span.is-flagged small { color: var(--approval); }
.brief-foot { display: flex; align-items: center; gap: 8px; padding: 10px 16px; color: var(--confirmed); font-family: var(--utility); font-size: 10px; }
.brief-foot i { width: 15px; height: 15px; display: grid; place-items: center; color: var(--white); background: var(--confirmed); border-radius: 50%; font-size: 8px; font-style: normal; }

.thread-reply { position: relative; }
.thread-typing { position: absolute; inset: 0 auto auto 0; display: grid; grid-template-columns: 34px auto; gap: 12px; margin: 0; }
.thread-typing b { width: 34px; height: 34px; display: grid; place-items: center; color: var(--carbon); background: linear-gradient(180deg, #6bb0ff, var(--folder)); border-radius: 50%; font-family: var(--utility); font-size: 11px; font-weight: 600; }
.thread-typing span { display: flex; align-items: center; gap: 5px; padding: 0 16px; background: var(--white); border: 1px solid rgba(23, 35, 45, .1); border-radius: 3px 12px 12px 12px; }
.thread-typing i { width: 6px; height: 6px; border-radius: 50%; background: #93a6af; animation: thread-dot 1s ease-in-out infinite; }
.thread-typing i:nth-child(2) { animation-delay: .15s; }
.thread-typing i:nth-child(3) { animation-delay: .3s; }

.thread-decision { position: relative; min-height: 62px; margin-left: 46px; }
.thread-approval, .thread-approved { position: absolute; inset: 0; display: flex; align-items: center; gap: 13px; padding: 11px 14px; border-radius: var(--r-sm); box-shadow: var(--e1); }
.thread-approval { color: var(--approval); background: var(--approval-pale); border: 1px solid rgba(158, 70, 59, .34); }
.thread-approved { color: var(--confirmed); background: var(--confirmed-pale); border: 1px solid rgba(62, 109, 92, .34); }
.thread-approval > b, .thread-approved > b { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-family: var(--utility); font-size: 12px; }
.thread-approval > b { color: var(--carbon); background: linear-gradient(180deg, #6bb0ff, var(--folder)); }
.thread-approved > b { color: var(--white); background: var(--confirmed); }
.thread-approval span, .thread-approved span { display: grid; gap: 1px; font-size: 11.5px; }
.thread-approval strong, .thread-approved strong { font-size: 13px; }
.thread-approval i { margin-left: auto; padding: 8px 17px; color: var(--white); background: var(--approval); border-radius: var(--r-xs); font-size: 12px; font-style: normal; font-weight: 700; }

.thread-compose { display: flex; align-items: center; gap: 12px; margin: 0 22px 16px; padding: 11px 14px; background: var(--white); border: 1px solid rgba(23, 35, 45, .12); border-radius: var(--r-sm); color: #93a3ab; font-size: 12.5px; }
.thread-compose i { margin-left: auto; width: 26px; height: 26px; display: grid; place-items: center; color: #93a3ab; background: var(--docket); border-radius: var(--r-xs); font-size: 12px; font-style: normal; }

.thread-foot { display: flex; align-items: center; gap: 16px; padding: 12px 22px; background: linear-gradient(180deg, var(--docket), #d3dee4); border-top: 1px solid var(--line); color: #52656e; font-family: var(--utility); font-size: 11px; }
.thread-foot > span { display: flex; align-items: center; gap: 7px; }
.thread-foot > span i { width: 6px; height: 6px; border-radius: 50%; background: var(--confirmed); box-shadow: 0 0 0 3px rgba(62, 109, 92, .18); animation: status-pulse 2.4s ease-in-out infinite; }
.thread-foot b { margin-left: auto; color: var(--carbon); font-size: 11px; }

@keyframes thread-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes thread-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes thread-dot { 50% { opacity: .3; transform: translateY(-2px); } }

.work-thread .thread-message.is-person { animation: thread-in .5s .5s var(--ease-out) both; }
.work-thread .thread-typing { animation: thread-in .4s 1.5s var(--ease-out) both, thread-out .3s 3s ease forwards; }
.work-thread .thread-message.is-employee { animation: thread-in .55s 3.1s var(--ease-out) both; }
.work-thread .thread-approval { animation: thread-in .5s 4.5s var(--ease-out) both, thread-out .35s 6.1s ease forwards; }
.work-thread .thread-approved { animation: thread-in .5s 6.3s var(--ease-out) both; }

@media (max-width: 560px) {
  .thread-head { padding: 13px 16px; }
  .thread-body { padding: 14px 16px 10px; }
  .thread-message { grid-template-columns: 30px 1fr; gap: 10px; margin-bottom: 13px; }
  .thread-message > b, .thread-typing b { width: 30px; height: 30px; }
  .thread-typing { grid-template-columns: 30px auto; gap: 10px; }
  .thread-message > span { font-size: 12.5px; }
  .brief-head strong { font-size: 15px; }
  .brief-rows > span { grid-template-columns: 1fr; gap: 2px; padding: 9px 13px; }
  .thread-decision { margin-left: 0; min-height: 66px; }
  .thread-approval i { padding: 7px 12px; }
  .thread-compose { margin: 0 16px 12px; }
  .thread-foot { padding: 11px 16px; gap: 10px; }
  .thread-foot b { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  /* The resolved state is the useful one, so show it at once. */
  .work-thread .thread-message, .work-thread .thread-approved { animation-delay: 0s !important; opacity: 1; }
  .work-thread .thread-typing, .work-thread .thread-approval { display: none; }
}
