/* Second draft: quieter surfaces, richer evidence, deliberate motion. */
:root { --communication-ink: #17623e; --premium-line: #b8d4c2; }
strong.communication-emphasis { display: inline !important; font-size: inherit; line-height: inherit; letter-spacing: inherit; margin: 0; font-weight: 800; color: var(--communication-ink); }
.system-section, .button-dark { --communication-ink: #d8f9b7; }
.hero h1 .communication-emphasis { color: #087545; text-shadow: 0 3px 22px #6bd9a824; }
.hero-float { border-color: #ffffffed; box-shadow: 0 22px 80px #134b3825, inset 0 1px 0 #fff; }
.eyebrow { color: #547963; }
.section-pill { background: linear-gradient(120deg, #f9fff9, #e9f8e9); }
.desktop-nav { gap: 24px; font-size: 13px; }
.button-dark { background: linear-gradient(135deg, #1f583c, #113b29); box-shadow: 0 8px 22px #16422a20, inset 0 1px 0 #ffffff15; }
.button { border-radius: 9px; }
.report-section { background: linear-gradient(140deg, #f5faf7 20%, #edf8f1 65%, #f8fcf5); }
.section-heading h2, .report-heading h2, .system-top h2 { font-weight: 680; }
.communication-grid { grid-template-columns: .86fr 1.14fr; gap: 75px; }
.communication-copy h3 { font-weight: 740; }
.notification-stage { min-height: 618px; padding: 30px; background: radial-gradient(ellipse at 75% 15%, #ecffcf, transparent 65%), linear-gradient(140deg, #e5f8ed, #f5fcf8); border: 1px solid #d9e9dd; box-shadow: inset 0 1px 0 #fff; }
.notification-intro { display: flex; gap: 20px; align-items: center; margin: 33px 0 27px; }
.notification-intro p { font-size: 17px; line-height: 1.75; color: #64816e; }
.notification-intro strong { color: var(--ink); font-size: 21px; font-weight: 650; }
.notification-beacon { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 21px; background: #fcfffc; border: 1px solid #fff; box-shadow: 0 7px 30px #32654116; }
.notification-beacon::after { content: ''; position: absolute; inset: -6px; border: 1px solid #98c0a775; border-radius: 25px; animation: quietPulse 4s ease-out infinite; }
.notification-beacon svg { fill: none; stroke: #205c3b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; width: 25px; height: 25px; }
.notification-slot { display: grid; min-height: 325px; perspective: 900px; }
.notification-message { grid-area: 1/1; border: 1px solid #fff; border-radius: 18px; background: #ffffffed; box-shadow: 0 18px 50px #184b3320, 0 2px 8px #37674709; padding: 23px 24px; animation: notificationArrive .75s cubic-bezier(.18,.8,.2,1) both; }
.notification-message[hidden] { display: none; }
.notification-topline { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf2ec; padding-bottom: 16px; }
.notification-topline>span { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 650; color: #6f8576; }
.notification-topline small { color: #90a696; font-size: 10px; }
.notification-recipient { display: flex; align-items: center; gap: 11px; margin: 18px 0 15px; }
.recipient-avatar { width: 39px; height: 39px; border-radius: 13px; background: #e4f1e7; color: #2b6341; font-size: 15px; font-weight: 650; display: grid; place-items: center; flex-shrink: 0; }
.recipient-avatar.supervisor { color: #fff; background: #205c3b; }
.notification-recipient small { display: block; color: #7f9385; font-size: 10px; }
.notification-recipient h4 { margin: 2px 0 0; font-size: 17px; font-weight: 650; letter-spacing: -.03em; line-height: 1.4; }
.elapsed-badge { font-size: 10px; font-weight: 600; color: #647e37; background: #f2f7de; padding: 4px 8px; border-radius: 5px; margin-left: auto; white-space: nowrap; }
.notification-text { font-size: 16px; line-height: 1.75; color: #466451; }
.notification-text strong { font-weight: 650; color: #274b36; }
.notification-subtext { font-size: 14px; color: #7c8f81; line-height: 1.8; margin-top: 9px; }
.notification-action { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: #215d3c; margin-top: 17px; }
.notification-action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.notification-controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; }
.notification-switch { display: flex; gap: 8px; align-items: center; }
.notification-switch>span { height: 1px; width: 18px; background: #b3cebb; }
.notification-switch button { border: 0; background: transparent; padding: 5px 0; color: #7b9884; font-size: 11px; }
.notification-switch button.active { color: #205c3b; font-weight: 750; }
.motion-toggle { border: 0; border-bottom: 1px solid #b4c9b9; background: transparent; padding: 3px 0; color: #6c8a76; font-size: 10px; }
.notification-stage .visual-caption { font-size: 10px; margin-top: 19px; color: #8aa18f; text-align: left; }
.notification-stage.is-paused .notification-beacon::after { animation-play-state: paused; }
@keyframes notificationArrive { from { opacity: 0; transform: translateY(22px) rotateX(-4deg) scale(.97); } to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); } }
@keyframes quietPulse { 0% { transform: scale(.94); opacity: .75; } 65%,100% { transform: scale(1.25); opacity: 0; } }

.browser-shell { border-color: #bdd4c5; box-shadow: 0 32px 90px #143c2717, 0 3px 7px #234f3210; }
.browser-shell .report-viewport { height: auto; aspect-ratio: 1.95; max-height: none; position: relative; overflow: hidden; }
.browser-shell .report-viewport img { width: 100%; max-width: none; transform-origin: 0 0; will-change: transform; transition: none; }
.report-focus-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
.report-focus-bar>p { display: flex; gap: 9px; align-items: center; font-size: 12px; color: #61816d; }
.focus-dot { display: block; flex: 0 0 5px; height: 5px; border-radius: 50%; background: #74aa79; box-shadow: 0 0 0 4px #d5e8d8; }
.report-focus-bar>div { display: flex; gap: 18px; }
.report-focus-bar button { padding: 3px 0; font-size: 11px; background: none; border: 0; border-bottom: 1px solid #bfd3c4; color: #6e8b79; }
.report-explainer { border-top: 1px solid #d7e8dc; padding-top: 28px; }
.intelligence-section .section-heading h2 { font-size: clamp(30px,3.1vw,47px); }
.scenario-layout { grid-template-columns: 310px 1fr; gap: 36px; max-width: 1240px; }
.scenario-tabs button { padding: 23px 20px; gap: 14px; }
.scenario-tabs strong { font-size: 16px; }
.scenario-panel { padding: 32px; box-shadow: 0 18px 45px #275b3110; background: linear-gradient(145deg,#f9fdf9,#edf8f0); }
.evidence-chart { margin: 22px 0 25px; background: #fff9; border: 1px solid #dce9dd; padding: 15px 16px 10px; border-radius: 13px; }
.chart-evidence-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 17px; }
.chart-evidence-label>span:first-child { font-size: 11px; color: #3c6a49; font-weight: 650; }
.chart-evidence-label>span:last-child { font-size: 9px; color: #8b9d8b; }
.evidence-chart .screenshot-button { background: transparent; border-radius: 3px; overflow: hidden; }
.evidence-chart img { mix-blend-mode: multiply; width: 100%; height: auto; }
.evidence-chart figcaption { font-size: 9px; color: #8a9c8d; margin-top: 9px; }
.evidence-chart.is-changing { animation: evidenceEnter .6s ease both; }
@keyframes evidenceEnter { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.system-top { align-items: center; gap: 70px; }
.system-top>div:first-child { flex: 1 1 52%; }
.system-story { flex: 1 1 42%; max-width: 460px; }
.system-kicker { font-size: 12px; color: #d3e7b5; border-bottom: 1px solid #73957655; display: block; padding-bottom: 15px; margin-bottom: 18px; }
.system-story>p { font-size: 17px; line-height: 1.9; color: #bdd1c1; }
.system-story>p strong { color: #eefbe3; font-weight: 650; }
.system-story .system-purpose { font-size: 18px; margin-top: 22px; color: #c0d2c4; }
.system-privacy-note { font-size: 11px; margin-top: 19px; color: #94b89e; text-align: left; }

.payroll-section { background: linear-gradient(140deg,#f7fcf9 10%,#eaf8f1 80%,#f5fce8); overflow: hidden; }
.payroll-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 55px; margin-bottom: 45px; }
.payroll-heading h2 { font-size: clamp(32px,3.15vw,48px); font-weight: 680; line-height: 1.3; }
.payroll-heading>p { max-width: 395px; color: #61796a; font-size: 17px; line-height: 1.9; padding-bottom: 5px; }
.payroll-showcase { position: relative; padding-right: 166px; margin: 0 0 43px; }
.payroll-browser { border: 1px solid #bfd9c8; border-radius: 16px; box-shadow: 0 25px 65px #275b3920; overflow: hidden; background: white; }
.payroll-browser .browser-bar { height: 48px; }
/* Show only the work area: source 1920x1040, exclude left 200px and top 60px.
   Keep the same viewport in the overview and the zoom dialog. */
.payroll-screen, .image-dialog-viewport.is-payroll {
  position: relative; overflow: hidden; aspect-ratio: 1720 / 980;
}
.payroll-screen img, .image-dialog-viewport.is-payroll>img {
  position: absolute; left: -11.6279069767%; top: -6.1224489796%;
  width: 111.6279069767%; max-width: none; height: auto;
}
.payroll-phone { position: absolute; right: 0; width: 228px; top: 108px; border: 7px solid #24523b; border-radius: 30px; overflow: hidden; box-shadow: 0 25px 70px #26422c30, inset 0 0 0 1px #748e77; background: white; transform: rotate(3deg); }
.phone-caption { background: #24523b; color: #e1f7e8; font-size: 10px; text-align: center; padding: 4px 7px 10px; letter-spacing: .06em; }
.payroll-phone .screenshot-button { max-height: 370px; overflow: hidden; }
.payroll-phone img { width: 100%; height: auto; }
.payroll-tabs { display: flex; gap: 7px; flex-wrap: wrap; }
.payroll-tabs button { background: #ffffff83; color: #6b8573; border: 1px solid #d5e5d9; font-size: 13px; border-radius: 8px; padding: 11px 18px; }
.payroll-tabs button.active { background: #205c3b; border-color: #205c3b; color: white; }
.payroll-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 21px; }
.payroll-toolbar>.sample-badge { font-size: 11px; }
.payroll-benefits { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #bcd8c5; gap: 30px; padding-top: 31px; }
.payroll-benefits article>span { font-size: 10px; color: #799578; letter-spacing: .1em; }
.payroll-benefits h3 { font-size: 19px; font-weight: 650; margin: 15px 0 13px; }
.payroll-benefits p { font-size: 14px; color: #698172; line-height: 1.85; }
.payroll-note { font-size: 11px; color: #8a9d8e; margin-top: 29px; }
.people-card { background: linear-gradient(135deg,#fff,#f8fcf7); border: 1px solid #d7e5d8; box-shadow: 0 8px 30px #21472f08; transition: transform .3s,box-shadow .3s; }
.people-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px #21472f10; }
.profile-link { width: fit-content; margin-top: auto; color: var(--green); background: transparent; border: 0; border-bottom: 1px solid #a6bda5; padding: 0 0 5px; font-size: 13px; font-weight: 650; }
.profile-link:hover { color: #327c4e; }
.profile-dialog { width: min(1150px,calc(100% - 36px)); border-radius: 20px; background: #f5faf6; max-height: 91svh; }
.profile-dialog-header { position: sticky; top: 0; z-index: 2; padding: 25px 34px; border-bottom: 1px solid #dbe7dc; background: #fbfefbef; backdrop-filter: blur(16px); }
.profile-dialog-header .eyebrow { font-size: 9px; margin-bottom: 7px; }
.profile-dialog-header h2 { font-size: 25px; font-weight: 650; line-height: 1.4; padding-right: 30px; }
.profile-dialog-header .dialog-close { top: 30px; right: 23px; }
.profile-content { padding: 26px; display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; }
.profile-content.profile-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
.profile-content figure { margin: 0; min-width: 0; border-radius: 12px; border: 1px solid #d9e5da; overflow: hidden; background: white; }
.profile-image-window { overflow: auto; }
.profile-content img { display: block; width: 100%; height: auto; }
.profile-content img.is-expanded { width: 1440px; min-width: 1440px; max-width: none; }
.profile-content.profile-cards img.is-expanded { width: 800px; min-width: 800px; }
.profile-content figcaption { padding: 12px 18px; font-size: 12px; color: #688173; border-top: 1px solid #e2eae3; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.profile-image-zoom { border: 0; border-bottom: 1px solid #aac4b0; padding: 3px 0; background: transparent; font-size: 11px; color: #205c3b; white-space: nowrap; flex-shrink: 0; }
.profile-source { text-align: center; font-size: 11px; padding: 0 26px 26px; color: #7b9282; }
.profile-mobile-hint { display: none; }
.image-dialog-toolbar { position: sticky; left: 0; min-width: 0; }
.image-dialog-viewport { width: 100%; }
.image-dialog-viewport>img { display: block; width: 100%; height: auto; }
.image-dialog-viewport.is-payroll>img { width: 111.6279069767%; }
.closing-section { background: #edf8e9; }
@media (max-width:1180px) {
  .desktop-nav { gap: 15px; font-size: 12px; }
  .communication-grid { gap: 36px; grid-template-columns: .9fr 1.1fr; }
  .notification-stage { padding: 23px; }
  .notification-message { padding: 20px; }
  .notification-intro strong { font-size: 18px; }
  .notification-slot { min-height: 353px; }
  .scenario-layout { grid-template-columns: 285px 1fr; gap: 25px; }
  .system-top { gap: 35px; }
  .system-story>p { font-size: 15px; }
}
@media (max-width:900px) {
  .communication-grid { grid-template-columns: 1fr; gap: 40px; }
  .communication-copy>p { max-width: 610px; }
  .communication-points { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
  .communication-points>div { gap: 10px; }
  .notification-stage { min-height: 0; padding: 30px; }
  .notification-slot { min-height: 309px; }
  .notification-intro { margin-top: 28px; }
  .notification-intro strong { font-size: 21px; }
  .scenario-layout { grid-template-columns: 1fr; }
  .system-story { margin-top: 30px; max-width: 650px; }
  .system-story>p { font-size: 17px; }
  .system-purpose br { display: none; }
  .payroll-heading { display: block; }
  .payroll-heading>p { margin-top: 22px; max-width: 550px; }
  .payroll-showcase { padding-right: 100px; margin-bottom: 38px; }
  .payroll-phone { width: 176px; top: 65px; border-width: 5px; border-radius: 23px; }
  .payroll-phone .screenshot-button { max-height: 278px; }
  .payroll-benefits { grid-template-columns: 1fr 1fr; gap: 27px 30px; }
  .payroll-toolbar { display: block; }
  .payroll-toolbar>.sample-badge { display: block; margin-top: 12px; }
}
@media (max-width:640px) {
  .image-dialog-viewport { min-width: 900px; }
  .payroll-section .payroll-showcase { padding-bottom: 190px; }
  .hero-note { font-size: 11px; max-width: 310px; }
  .notification-stage { padding: 20px 17px; border-radius: 20px; }
  .notification-intro { gap: 14px; margin: 28px 0 24px; }
  .notification-intro p { font-size: 14px; }
  .notification-intro strong { font-size: 17px; }
  .notification-beacon { width: 48px; height: 48px; border-radius: 15px; }
  .notification-beacon::after { border-radius: 20px; }
  .notification-message { padding: 18px 17px; border-radius: 14px; }
  .notification-slot { min-height: 345px; }
  .notification-recipient { gap: 9px; }
  .notification-recipient h4 { font-size: 15px; }
  .notification-recipient small { font-size: 9px; }
  .recipient-avatar { width: 33px; height: 35px; font-size: 13px; }
  .elapsed-badge { font-size: 9px; padding: 4px 6px; }
  .notification-text { font-size: 15px; }
  .notification-subtext { font-size: 13px; }
  .notification-controls { gap: 7px; margin-top: 18px; }
  .notification-switch { gap: 7px; }
  .notification-switch>span { width: 12px; }
  .notification-switch button { font-size: 10px; }
  .motion-toggle { font-size: 9px; }
  .communication-points { display: flex; }
  .communication-copy>p { font-size: 16px; }
  .report-focus-bar { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; }
  .report-focus-bar>p { font-size: 11px; line-height: 1.7; }
  .report-focus-bar>div { padding-left: 14px; }
  .report-focus-bar button { font-size: 10px; }
  .browser-shell .report-viewport { aspect-ratio: 1.6; }
  .intelligence-section .section-heading h2 { font-size: 27px; }
  .scenario-tabs button { padding: 15px 12px; gap: 8px; }
  .scenario-tabs strong { font-size: 12px; }
  .scenario-panel { padding: 25px 18px; }
  .evidence-chart { padding: 13px 9px 9px; margin: 21px -4px; }
  .chart-evidence-label { gap: 6px; margin-bottom: 11px; }
  .chart-evidence-label>span:first-child { font-size: 9px; }
  .chart-evidence-label>span:last-child { font-size: 8px; }
  .evidence-chart figcaption { font-size: 8px; }
  .system-story { margin-top: 25px; }
  .system-kicker { font-size: 11px; }
  .system-story>p { font-size: 16px; }
  .system-story .system-purpose { font-size: 17px; margin-top: 19px; }
  .system-privacy-note { font-size: 10px; line-height: 1.8; margin-top: 19px; }
  .payroll-heading h2 { font-size: 29px; line-height: 1.45; }
  .payroll-heading { margin-bottom: 27px; }
  .payroll-heading>p { font-size: 16px; line-height: 1.85; }
  .payroll-tabs { gap: 6px; }
  .payroll-tabs button { padding: 10px 12px; font-size: 11px; flex: 1; }
  .payroll-toolbar>.sample-badge { font-size: 10px; }
  .payroll-showcase { padding: 0 0 95px; margin-bottom: 25px; }
  .payroll-browser { border-radius: 10px; }
  .payroll-browser .browser-bar { height: 38px; }
  .payroll-phone { width: 116px; top: auto; bottom: 0; right: 8px; border-width: 4px; border-radius: 17px; }
  .payroll-phone .screenshot-button { max-height: 158px; }
  .phone-caption { font-size: 7px; padding: 3px 4px 6px; }
  .payroll-benefits { gap: 25px 21px; padding-top: 26px; }
  .payroll-benefits h3 { font-size: 17px; margin-top: 11px; }
  .payroll-benefits p { font-size: 13px; }
  .payroll-note { font-size: 10px; }
  .profile-dialog { width: calc(100% - 18px); border-radius: 14px; }
  .profile-dialog-header { padding: 20px; }
  .profile-dialog-header h2 { font-size: 21px; }
  .profile-dialog-header .dialog-close { top: 26px; right: 13px; }
  .profile-content { padding: 14px; gap: 15px; }
  .profile-content.profile-cards { grid-template-columns: minmax(0,1fr); }
  .profile-content.profile-cards img { min-width: 0; }
  .profile-content.profile-cards img.is-expanded { min-width: 800px; }
  .profile-mobile-hint { display: block; font-size: 11px; color: #718b7b; padding: 16px 20px 0; }
  .profile-content img { min-width: 660px; }
  .profile-content figcaption { position: sticky; left: 0; padding: 10px 14px; font-size: 11px; }
  .profile-source { font-size: 10px; padding: 0 20px 21px; }
}
@media (prefers-reduced-motion:reduce) {
  .notification-beacon::after { display: none; }
  .browser-shell .report-viewport img { will-change: auto; }
}
