:root {
  color-scheme: light;
  --ink: #172036;
  --muted: #5c6984;
  --line: #dce5f5;
  --blue: #2563eb;
  --blue-dark: #164ab7;
  --blue-pale: #edf4ff;
  --green: #0f8a63;
  --warm: #fff7e8;
  --surface: #ffffff;
  --canvas: #f7f9fd;
  --radius-lg: 28px;
  --radius-md: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.5; }
a { color: inherit; }
button, .button { font: inherit; }
.page { overflow: hidden; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(247 249 253 / 92%); border-bottom: 1px solid rgb(220 229 245 / 82%); backdrop-filter: blur(16px); }
.header-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -0.025em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: white; background: linear-gradient(140deg, #4986f6, #1f57c9); box-shadow: 0 7px 16px rgb(37 99 235 / 24%); }
.brand-mark svg { width: 19px; height: 19px; }
.nav { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .9rem; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--blue); }
.hero { padding: 72px 0 46px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 36px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--blue-dark); font-size: .85rem; font-weight: 760; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #4d8cff; box-shadow: 0 0 0 5px #e5efff; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 20px; font-size: clamp(2.2rem, 6vw, 4.55rem); line-height: .99; letter-spacing: -.055em; }
h2 { margin-bottom: 12px; font-size: clamp(1.65rem, 3.1vw, 2.55rem); letter-spacing: -.04em; line-height: 1.08; }
h3 { margin-bottom: 8px; font-size: 1.04rem; letter-spacing: -.02em; }
.lead { max-width: 590px; color: var(--muted); font-size: 1.08rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: 13px; background: white; color: var(--ink); font-weight: 700; text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--blue); color: white; box-shadow: 0 12px 24px rgb(37 99 235 / 24%); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { border-color: #cfdcf5; }
.button.secondary:hover { border-color: #9cb9ef; background: #f9fbff; }
.hero-auth { display: grid; width: min(100%, 520px); min-width: 0; max-width: 520px; gap: 12px; margin-top: 28px; padding: 15px; border: 1px solid #cedcf4; border-radius: 18px; background: rgb(255 255 255 / 86%); box-shadow: 0 14px 30px rgb(31 74 171 / 8%); }
.hero-auth-label { display: grid; min-width: 0; gap: 6px; color: var(--ink); font-size: .84rem; font-weight: 760; }
.hero-auth-label input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 49px; padding: 0 13px; border: 1px solid #bdcce7; border-radius: 12px; background: white; color: var(--ink); font: inherit; font-size: 1rem; }
.hero-auth-label input:focus { outline: 3px solid rgb(37 99 235 / 18%); border-color: var(--blue); }
.hero-auth-trial { display: grid; gap: 3px; margin: 0; padding: 10px 12px; border: 1px solid #cbe7d7; border-radius: 12px; background: #f2fbf5; color: #315b45; font-size: .85rem; line-height: 1.42; }
.hero-auth-trial strong { color: #176a43; }
.hero-auth-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-auth-actions .button { cursor: pointer; }
.hero-auth-login { min-height: 44px; padding: 0 2px; border: 0; background: transparent; color: var(--blue-dark); cursor: pointer; font: inherit; font-size: .92rem; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.hero-auth-login:hover { color: var(--blue); }
.hero-auth-error { margin: 0; color: #b42318; font-size: .88rem; font-weight: 650; }
.hero-auth-note { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.42; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: var(--muted); font-size: .88rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row span::before { content: "✓"; color: var(--green); font-weight: 800; }
.product-card { position: relative; min-height: 420px; padding: 22px; overflow: hidden; border: 1px solid #d9e5fb; border-radius: var(--radius-lg); background: linear-gradient(145deg, #2c66dc, #1746a7); color: white; box-shadow: 0 26px 52px rgb(27 69 157 / 22%); }
.product-card::after { content: ""; position: absolute; width: 300px; height: 300px; right: -96px; top: -125px; border-radius: 50%; background: rgb(142 185 255 / 24%); }
.product-card small { position: relative; display: block; color: #dceaff; font-size: .81rem; font-weight: 700; }
.screen { position: absolute; inset: 72px 22px 22px; padding: 19px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 22px; background: #f9fbff; box-shadow: 0 20px 36px rgb(2 22 78 / 30%); color: var(--ink); transform: rotate(2deg); }
.screen-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; font-size: .78rem; color: var(--muted); }
.screen-title { font-size: 1.15rem; font-weight: 800; }
.screen-subtitle { margin: 4px 0 15px; color: var(--muted); font-size: .8rem; }
.date-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 14px; }
.date { padding: 7px 2px; border-radius: 10px; background: #eef3fc; color: #4f6282; font-size: .72rem; font-weight: 700; text-align: center; }
.date.current { background: var(--blue); color: white; }
.slot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 11px; margin-top: 8px; border: 1px solid #e0e8f6; border-radius: 13px; background: white; }
.slot strong { display: block; font-size: .85rem; }
.slot span { color: var(--muted); font-size: .72rem; }
.pill { padding: 5px 8px; border-radius: 999px; background: #e8f8f2; color: #087353; font-size: .69rem; font-weight: 760; }
.pill.wait { background: #fff4dc; color: #9a5c00; }
.section { padding: 78px 0; }
.section.alt { background: white; }
.section-heading { max-width: 680px; margin-bottom: 32px; }
.section-heading p { color: var(--muted); font-size: 1.03rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 23px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.card-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--blue-pale); color: var(--blue); font-weight: 850; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.topic-card, .guide-card { display: flex; min-height: 220px; flex-direction: column; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; color: var(--ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.topic-card:hover, .guide-card:hover { border-color: #97b7f3; box-shadow: 0 14px 32px rgb(31 74 171 / 10%); transform: translateY(-2px); }
.topic-card > span, .guide-card > span { margin-bottom: 14px; color: var(--blue-dark); font-size: .78rem; font-weight: 780; text-transform: uppercase; letter-spacing: .06em; }
.topic-card strong, .guide-card strong { max-width: 540px; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.025em; }
.topic-card p, .guide-card p { margin: 12px 0 18px; color: var(--muted); }
.topic-card b { margin-top: auto; color: var(--blue); font-size: .93rem; }
.solutions-heading { max-width: 760px; }
.solutions-heading .eyebrow { margin-bottom: 13px; }
.solution-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.solution-card { position: relative; display: flex; min-width: 0; min-height: 590px; flex-direction: column; padding: 27px; overflow: hidden; border: 1px solid #d8e3f5; border-radius: 28px; background: #f5f8ff; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.solution-card::after { content: ""; position: absolute; right: -90px; top: -100px; width: 240px; height: 240px; border-radius: 50%; background: rgb(91 141 238 / 10%); pointer-events: none; }
.solution-card:hover { border-color: #a8c2f2; box-shadow: 0 22px 48px rgb(31 74 171 / 13%); transform: translateY(-3px); }
.solution-card:focus-visible, .solution-compact:focus-visible { outline: 3px solid rgb(37 99 235 / 28%); outline-offset: 3px; }
.solution-card-team { background: linear-gradient(145deg, #f3f0ff, #fbfaff 62%); }
.solution-card-team::after { background: rgb(127 86 217 / 10%); }
.solution-card-payroll { background: linear-gradient(145deg, #eefaf5, #fbfefd 62%); }
.solution-card-payroll::after { background: rgb(15 138 99 / 9%); }
.solution-card-choice { background: linear-gradient(145deg, #fff7e8, #fffdf8 62%); }
.solution-card-choice::after { background: rgb(223 153 26 / 10%); }
.solution-copy { position: relative; z-index: 1; }
.solution-copy > span { display: inline-flex; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgb(255 255 255 / 72%); color: var(--blue-dark); font-size: .72rem; font-weight: 820; letter-spacing: .06em; text-transform: uppercase; }
.solution-card-team .solution-copy > span { color: #6840af; }
.solution-card-payroll .solution-copy > span { color: #087353; }
.solution-card-choice .solution-copy > span { color: #935b00; }
.solution-copy strong { display: block; max-width: 430px; font-size: clamp(1.35rem, 2.5vw, 1.72rem); line-height: 1.08; letter-spacing: -.035em; }
.solution-copy p { max-width: 470px; margin: 12px 0 0; color: var(--muted); font-size: .94rem; }
.mini-product { position: relative; z-index: 1; margin: 23px 0 18px; padding: 17px; border: 1px solid rgb(255 255 255 / 95%); border-radius: 20px; background: rgb(255 255 255 / 88%); box-shadow: 0 14px 30px rgb(31 74 171 / 9%); backdrop-filter: blur(12px); }
.mini-product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.mini-product-top b { overflow: hidden; font-size: .83rem; text-overflow: ellipsis; white-space: nowrap; }
.mini-product-top em { flex: 0 0 auto; color: var(--muted); font-size: .69rem; font-style: normal; font-weight: 680; }
.mini-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mini-day { display: grid; min-width: 0; gap: 4px; padding: 8px 5px; border: 1px solid #e0e8f6; border-radius: 11px; background: #f8faff; text-align: center; }
.mini-day small { color: var(--muted); font-size: .59rem; font-weight: 760; }
.mini-day b { font-size: .84rem; }
.mini-day i { display: block; height: 5px; border-radius: 999px; background: #bfd0ec; }
.mini-day.ready { border-color: #bfe8d9; background: #effaf5; }
.mini-day.ready i { background: #38ae82; }
.mini-day.mixed i:first-of-type { background: #38ae82; }
.mini-day.mixed i:last-of-type { background: #ffb54a; }
.mini-day.empty { border-color: #f3d4cf; background: #fff7f5; }
.mini-day.empty i { border: 1px solid #e88879; background: transparent; }
.mini-day.pending { border-color: #f5deb1; background: #fffaf0; }
.mini-day.pending i { background: #ffb54a; }
.mini-shift-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 11px; padding: 9px 10px; border-radius: 12px; background: #eef4ff; }
.mini-shift-row b { overflow: hidden; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.mini-shift-row em { color: #087353; font-size: .62rem; font-style: normal; font-weight: 760; }
.mini-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: white; font-size: .61rem; font-weight: 820; }
.mini-avatar.blue { background: #3975e5; }
.mini-avatar.violet { background: #8058c8; }
.mini-avatar.green { background: #2e9c77; }
.mini-avatar.amber { background: #d98b20; }
.mini-team { display: grid; gap: 8px; }
.mini-team .mini-product-top { margin-bottom: 3px; }
.mini-person { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px; border: 1px solid #ece8f8; border-radius: 13px; background: #fcfbff; }
.mini-person div { min-width: 0; }
.mini-person b, .mini-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-person b { font-size: .71rem; }
.mini-person small { margin-top: 2px; color: var(--muted); font-size: .59rem; }
.mini-person > i { width: 9px; height: 9px; border-radius: 50%; }
.status-on { background: #2ca678; box-shadow: 0 0 0 4px #e4f7ef; }
.status-wait { background: #e49a2f; box-shadow: 0 0 0 4px #fff3dd; }
.payroll-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 13px; }
.payroll-calendar span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 9px; background: #f0f5f3; color: var(--muted); font-size: .64rem; font-weight: 720; }
.payroll-calendar .worked { background: #dff5ec; color: #087353; box-shadow: inset 0 0 0 1px #b8e5d5; }
.money-line, .money-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; color: var(--muted); font-size: .72rem; }
.money-line b { color: var(--ink); }
.money-line.plus b { color: #087353; }
.money-line.minus b { color: #bd3e32; }
.money-total { margin-top: 4px; padding: 12px 0 0; border-top: 1px solid #dce9e3; color: var(--ink); font-weight: 760; }
.money-total b { font-size: 1.05rem; }
.mini-choice { padding-top: 13px; }
.choice-head, .choice-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eee6d4; font-size: .7rem; }
.choice-head { color: var(--muted); font-size: .62rem; font-weight: 740; text-transform: uppercase; letter-spacing: .045em; }
.choice-head b { color: #935b00; }
.choice-row b { display: grid; min-width: 24px; min-height: 24px; place-items: center; border-radius: 8px; background: #e9f8f1; color: #087353; font-size: .69rem; }
.choice-row.muted { color: var(--muted); }
.choice-row.muted b { padding: 0 8px; background: #f5f1e7; color: #7c6a44; }
.choice-price { display: flex; align-items: baseline; gap: 7px; padding-top: 13px; }
.choice-price strong { color: #935b00; font-size: 1.2rem; }
.choice-price span { color: var(--muted); font-size: .64rem; }
.solution-result { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; margin-top: auto; padding: 12px 13px; border-radius: 14px; background: rgb(255 255 255 / 66%); }
.solution-result b { color: var(--blue-dark); font-size: .67rem; text-transform: uppercase; letter-spacing: .045em; }
.solution-result span { color: #3e4c68; font-size: .75rem; }
.solution-card-team .solution-result b { color: #6840af; }
.solution-card-payroll .solution-result b { color: #087353; }
.solution-card-choice .solution-result b { color: #935b00; }
.solution-link { position: relative; z-index: 1; margin-top: 18px; color: var(--blue-dark); font-size: .86rem; font-weight: 790; }
.solution-card-team .solution-link { color: #6840af; }
.solution-card-payroll .solution-link { color: #087353; }
.solution-card-choice .solution-link { color: #935b00; }
.solutions-more-heading { margin: 42px 0 18px; }
.solutions-more-heading h3 { margin-bottom: 5px; font-size: 1.25rem; }
.solutions-more-heading p { margin: 0; color: var(--muted); }
.solution-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.solution-compact { display: flex; min-width: 0; min-height: 230px; flex-direction: column; padding: 21px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.solution-compact:hover { border-color: #aac2ed; box-shadow: 0 14px 30px rgb(31 74 171 / 9%); transform: translateY(-2px); }
.solution-compact > span { color: var(--blue-dark); font-size: .69rem; font-weight: 810; letter-spacing: .055em; text-transform: uppercase; }
.solution-compact > strong { margin-top: 8px; font-size: 1rem; line-height: 1.23; }
.solution-compact > div { display: flex; min-height: 58px; align-items: center; gap: 6px; margin: 19px 0; padding: 10px; border-radius: 13px; background: #f3f7ff; }
.solution-compact > b { margin-top: auto; color: var(--blue); font-size: .78rem; }
.solution-compact.ozon > div i { display: block; flex: 1; height: 34px; border-radius: 8px; background: #cadbfa; }
.solution-compact.ozon > div i:nth-child(2), .solution-compact.ozon > div i:nth-child(4) { background: #5b8fe8; }
.solution-compact.wb > div { justify-content: space-between; background: #faf2ff; }
.solution-compact.wb > div i { display: grid; min-height: 34px; place-items: center; padding: 0 7px; border-radius: 9px; background: white; color: #7c3e9e; font-size: .62rem; font-style: normal; font-weight: 780; }
.solution-compact.timesheet > div { align-items: stretch; background: #eff9f5; }
.solution-compact.timesheet > div i { display: grid; flex: 1; place-items: center; padding: 5px; border-radius: 9px; background: white; color: #087353; font-size: .58rem; font-style: normal; font-weight: 760; text-align: center; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { min-height: 205px; }
.guide-card.accent { border-color: transparent; background: linear-gradient(145deg, #245ed6, #173d98); color: white; box-shadow: 0 20px 40px rgb(31 74 171 / 18%); }
.guide-card.accent > span, .guide-card.accent p { color: #d8e6ff; }
.section-link { margin: 24px 0 0; font-weight: 720; }
.section-link a { color: var(--blue-dark); }
.mila-site-guide { position: relative; display: grid; min-height: 230px; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 4px; margin: 6px 0 26px; padding: 24px 30px 24px 0; overflow: hidden; border: 1px solid #cfdcf5; border-radius: var(--radius-lg); background: linear-gradient(135deg, #edf4ff, #fbf8ff); box-shadow: 0 18px 38px rgb(31 74 171 / 9%); }
.mila-site-guide::after { content: ""; position: absolute; right: -46px; top: -72px; width: 220px; height: 220px; border-radius: 50%; background: rgb(128 90 213 / 8%); }
.mila-site-guide img { position: relative; align-self: end; width: 215px; max-height: 260px; object-fit: contain; object-position: center bottom; z-index: 1; filter: drop-shadow(0 14px 18px rgb(31 74 171 / 16%)); }
.mila-site-copy { position: relative; max-width: 670px; padding: 24px 26px; border: 1px solid rgb(255 255 255 / 88%); border-radius: 20px; background: rgb(255 255 255 / 82%); z-index: 2; }
.mila-site-copy::before { content: ""; position: absolute; left: -11px; top: 58px; width: 20px; height: 20px; border-left: 1px solid rgb(255 255 255 / 88%); border-bottom: 1px solid rgb(255 255 255 / 88%); background: rgb(255 255 255 / 92%); transform: rotate(45deg); }
.mila-site-copy span { display: block; margin-bottom: 8px; color: #6d46b4; font-size: .75rem; font-weight: 820; letter-spacing: .055em; }
.mila-site-copy h3 { max-width: 620px; margin-bottom: 9px; font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.mila-site-copy p { margin: 0; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: steps; }
.step { position: relative; padding: 70px 22px 22px; border-radius: var(--radius-md); background: #eff5ff; }
.step::before { counter-increment: steps; content: counter(steps); position: absolute; top: 20px; left: 22px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: white; font-weight: 800; }
.step p { margin: 0; color: var(--muted); }
.price-layout { display: grid; grid-template-columns: 1.22fr .78fr; gap: 16px; }
.price-card { padding: 28px; border: 1px solid #ccdafa; border-radius: var(--radius-lg); background: white; }
.price-card.highlight { border-color: transparent; background: linear-gradient(145deg, #245ed6, #173d98); color: white; box-shadow: 0 20px 40px rgb(31 74 171 / 20%); }
.price-card .kicker { margin-bottom: 12px; color: var(--muted); font-size: .85rem; font-weight: 720; }
.price-card.highlight .kicker, .price-card.highlight .price-note { color: #d8e6ff; }
.price { margin-bottom: 10px; font-size: clamp(2.4rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -.06em; font-weight: 850; }
.price span { font-size: 1.05rem; letter-spacing: normal; font-weight: 650; }
.trial-offer .price { font-size: clamp(4.4rem, 8vw, 6.6rem); }
.trial-offer .price span { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.renewal-card { background: #f7faff; }
.renewal-card .price { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.renewal-card .price span { font-size: .98rem; }
.price-note { color: var(--muted); }
.price-list { display: grid; gap: 10px; margin: 23px 0 0; padding: 0; list-style: none; }
.price-list li { display: flex; gap: 10px; }
.price-list li::before { content: "✓"; color: #78e2be; font-weight: 850; }
.renewal-card .price-list li::before { color: #2da87b; }
.notice { display: flex; gap: 12px; padding: 17px 18px; margin-top: 20px; border: 1px solid #f2daa2; border-radius: 14px; background: var(--warm); color: #71531b; font-size: .92rem; }
.notice strong { color: #5c4213; }
.tariff-disclosure strong { white-space: nowrap; }
.notice[data-requires-operator] { margin-bottom: 24px; }
.documents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.document-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: white; text-decoration: none; }
.document-link:hover { border-color: #9db9ed; }
.document-link strong { display: block; }
.document-link span { color: var(--muted); font-size: .88rem; }
.document-link b { color: var(--blue); font-size: 1.2rem; }
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq-item { padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.faq-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.support-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; border-radius: var(--radius-lg); background: #e8f1ff; }
.support-panel p { margin: 0; color: var(--muted); }
.site-footer { padding: 34px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .95fr .9fr .8fr; gap: 24px; }
.footer-grid h3 { margin-bottom: 9px; color: var(--ink); font-size: .93rem; }
.footer-links { display: grid; gap: 7px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue); }
.legal-page { padding: 54px 0 82px; }
.legal-shell { max-width: 820px; margin: 0 auto; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; }
.legal-meta { margin-bottom: 28px; color: var(--muted); font-size: .88rem; }
.legal-shell h1 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3.2rem); }
.legal-shell h2 { margin-top: 36px; font-size: 1.42rem; }
.legal-shell h3 { margin-top: 23px; }
.legal-shell p, .legal-shell li { color: #36435d; }
.legal-shell ul, .legal-shell ol { padding-left: 22px; }
.legal-shell li + li { margin-top: 8px; }
.legal-shell .notice { margin: 0 0 26px; }
.details { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; padding: 18px; border-radius: 14px; background: #f6f9ff; }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 650; }
.breadcrumbs { margin: 0 0 18px; color: var(--muted); font-size: .87rem; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); text-decoration: underline; }
.content-hero { padding: 68px 0 42px; background: linear-gradient(180deg, #f0f5ff 0%, var(--canvas) 100%); }
.content-hero .lead { max-width: 760px; }
.content-hero .actions { margin-top: 22px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 278px; gap: 38px; align-items: start; }
.prose { font-size: 1.02rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 46px; }
.prose h3 { margin-top: 26px; font-size: 1.17rem; }
.prose p, .prose li { color: #36435d; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--blue-dark); }
.solution-prose > h2 { position: relative; padding-left: 17px; }
.solution-prose > h2::before { content: ""; position: absolute; left: 0; top: .18em; width: 5px; height: 1.05em; border-radius: 999px; background: linear-gradient(180deg, #4b86f1, #2459bd); }
.solution-prose > ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; counter-reset: solution-steps; list-style: none; }
.solution-prose > ol li { position: relative; min-height: 132px; margin: 0; padding: 20px 18px 18px 58px; border: 1px solid #dce6f5; border-radius: 16px; background: #fbfdff; }
.solution-prose > ol li::before { counter-increment: solution-steps; content: counter(solution-steps); position: absolute; left: 17px; top: 18px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: #e8f1ff; color: var(--blue-dark); font-size: .76rem; font-weight: 820; }
.solution-prose > ul:not(.check-list) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; }
.solution-prose > ul:not(.check-list) li { min-height: 120px; margin: 0; padding: 17px; border: 1px solid #dfe8f7; border-radius: 15px; background: #fbfdff; }
.solution-prose > ul:not(.check-list) li strong { display: block; margin-bottom: 6px; color: var(--ink); }
.solution-visual { position: relative; margin: 0 0 42px; padding: 27px; overflow: hidden; border: 1px solid #d3e0f5; border-radius: 28px; background: linear-gradient(145deg, #edf4ff, #fbfdff 64%); box-shadow: 0 18px 42px rgb(31 74 171 / 10%); }
.solution-visual::after { content: ""; position: absolute; right: -90px; top: -110px; width: 260px; height: 260px; border-radius: 50%; background: rgb(72 126 230 / 10%); pointer-events: none; }
.team-visual { background: linear-gradient(145deg, #f3efff, #fdfcff 64%); }
.team-visual::after, .wb-visual::after { background: rgb(128 80 205 / 10%); }
.payroll-visual, .timesheet-visual { background: linear-gradient(145deg, #ecf9f4, #fbfefd 64%); }
.payroll-visual::after, .timesheet-visual::after { background: rgb(15 138 99 / 9%); }
.choice-visual { background: linear-gradient(145deg, #fff6e5, #fffdf8 64%); }
.choice-visual::after { background: rgb(213 141 17 / 10%); }
.visual-intro { position: relative; z-index: 1; max-width: 650px; }
.visual-intro > span { display: inline-block; color: var(--blue-dark); font-size: .71rem; font-weight: 820; letter-spacing: .065em; text-transform: uppercase; }
.team-visual .visual-intro > span, .wb-visual .visual-intro > span { color: #6941aa; }
.payroll-visual .visual-intro > span, .timesheet-visual .visual-intro > span { color: #087353; }
.choice-visual .visual-intro > span { color: #945b00; }
.visual-intro h2 { margin: 9px 0 10px; padding: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.visual-intro h2::before { display: none; }
.visual-intro p { max-width: 620px; margin-bottom: 0; color: var(--muted); }
.visual-product { max-width: 620px; margin: 24px 0 18px; padding: 20px; }
.visual-shifts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.visual-shifts > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 8px; padding: 10px; border-radius: 12px; background: #f6f9ff; }
.visual-shifts b, .visual-shifts small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visual-shifts b { font-size: .72rem; }
.visual-shifts small { grid-column: 2; color: var(--muted); font-size: .61rem; }
.visual-status { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; }
.visual-status.success { background: #2da77a; box-shadow: 0 0 0 4px #ddf4eb; }
.visual-status.wait { background: #e39a2f; box-shadow: 0 0 0 4px #fff1d9; }
.visual-takeaways { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.visual-takeaways span { padding: 11px; border: 1px solid rgb(255 255 255 / 84%); border-radius: 12px; background: rgb(255 255 255 / 66%); color: var(--muted); font-size: .69rem; }
.visual-takeaways b { display: block; margin-bottom: 2px; color: var(--ink); font-size: .73rem; }
.access-map { position: relative; z-index: 1; max-width: 630px; margin: 23px 0 18px; padding: 19px; border: 1px solid rgb(255 255 255 / 88%); border-radius: 20px; background: rgb(255 255 255 / 78%); }
.access-person { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid #e9e4f5; border-radius: 14px; background: white; }
.access-person div { min-width: 0; }
.access-person b, .access-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.access-person b { font-size: .75rem; }
.access-person small { margin-top: 2px; color: var(--muted); font-size: .61rem; }
.access-person em { padding: 5px 8px; border-radius: 999px; background: #f0ebfa; color: #6840af; font-size: .6rem; font-style: normal; font-weight: 760; }
.access-person.owner { max-width: 360px; margin: 0 auto; }
.access-line { width: 2px; height: 20px; margin: 0 auto; background: #cdbdea; }
.access-branches { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.access-branches::before { content: ""; position: absolute; left: 25%; right: 25%; top: -10px; height: 2px; background: #cdbdea; }
.approval-path { position: relative; z-index: 1; display: flex; max-width: 620px; align-items: center; gap: 8px; }
.approval-path span { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #d8e4df; border-radius: 999px; background: rgb(255 255 255 / 70%); color: var(--muted); font-size: .65rem; font-weight: 730; }
.approval-path span.done { border-color: #b9e3d3; color: #087353; }
.approval-path span.active { border-color: #a8c4f1; background: #eaf2ff; color: var(--blue-dark); }
.approval-path i { flex: 1; height: 2px; background: #cddbd5; }
.comparison-board { position: relative; z-index: 1; max-width: 640px; margin: 23px 0 17px; padding: 8px 18px; border: 1px solid rgb(255 255 255 / 90%); border-radius: 19px; background: rgb(255 255 255 / 78%); }
.comparison-board > div { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee5d3; font-size: .72rem; }
.comparison-board > div:last-child { border-bottom: 0; }
.comparison-board b { color: var(--ink); }
.comparison-head { color: var(--muted); font-size: .61rem !important; font-weight: 780; letter-spacing: .045em; text-transform: uppercase; }
.comparison-head b { color: #945b00; }
.comparison-muted { color: var(--muted); }
.comparison-muted b { color: #76684c; }
.visual-price { position: relative; z-index: 1; display: flex; max-width: 640px; align-items: baseline; gap: 9px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / 68%); }
.visual-price strong { color: #945b00; font-size: 1.35rem; }
.visual-price span { color: var(--muted); font-size: .71rem; }
.market-week { position: relative; z-index: 1; display: grid; max-width: 640px; gap: 7px; margin: 22px 0 17px; padding: 17px; border: 1px solid rgb(255 255 255 / 88%); border-radius: 20px; background: rgb(255 255 255 / 80%); }
.market-week > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; }
.market-week b { color: var(--muted); font-size: .68rem; }
.market-week span { padding: 8px 10px; border-radius: 10px; font-size: .68rem; font-weight: 720; }
.market-week .covered { background: #e4f6ef; color: #087353; }
.market-week .waiting { background: #fff1d8; color: #935b00; }
.market-week .vacant { border: 1px dashed #df8073; background: #fff8f6; color: #ad4035; }
.replacement-flow { position: relative; z-index: 1; display: grid; max-width: 660px; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 7px; margin: 23px 0 18px; }
.replacement-flow > div { display: grid; min-width: 0; min-height: 142px; justify-items: center; align-content: center; gap: 5px; padding: 13px 8px; border: 1px solid rgb(255 255 255 / 92%); border-radius: 16px; background: rgb(255 255 255 / 78%); text-align: center; }
.replacement-flow > i { color: #8761bd; font-style: normal; font-weight: 850; }
.replacement-flow small { color: var(--muted); font-size: .59rem; font-weight: 750; text-transform: uppercase; }
.replacement-flow b { max-width: 100%; overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.replacement-flow em { color: var(--muted); font-size: .59rem; font-style: normal; }
.replacement-flow .replacement-request span { padding: 6px 8px; border-radius: 9px; background: #fff0d5; color: #935b00; font-size: .62rem; font-weight: 780; }
.replacement-flow .replacement-ready em { color: #087353; font-weight: 730; }
.timesheet-board { position: relative; z-index: 1; max-width: 680px; margin: 23px 0 18px; overflow: hidden; border: 1px solid rgb(255 255 255 / 90%); border-radius: 18px; background: rgb(255 255 255 / 82%); }
.timesheet-board > div { display: grid; grid-template-columns: .6fr 1fr 1fr 1.25fr; align-items: center; gap: 9px; padding: 11px 13px; border-bottom: 1px solid #dfeae5; }
.timesheet-board > div:last-child { border-bottom: 0; }
.timesheet-board span, .timesheet-board b, .timesheet-board small, .timesheet-board em { min-width: 0; overflow: hidden; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.timesheet-head { background: #eef8f4; color: var(--muted); font-weight: 780; }
.timesheet-board em { justify-self: start; padding: 5px 7px; border-radius: 999px; font-style: normal; font-weight: 740; }
.timesheet-board em.ok { background: #e3f6ee; color: #087353; }
.timesheet-board em.change { background: #e9f1ff; color: var(--blue-dark); }
.timesheet-board em.wait { background: #fff0d5; color: #935b00; }
.timesheet-board small { color: var(--muted); }
.toc { position: sticky; top: 92px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.toc strong { display: block; margin-bottom: 12px; }
.toc a { display: block; padding: 7px 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
.toc a:hover { color: var(--blue); }
.callout { padding: 21px; margin: 28px 0; border-left: 4px solid var(--blue); border-radius: 0 15px 15px 0; background: #edf4ff; }
.callout p:last-child { margin-bottom: 0; }
.check-list { display: grid; gap: 10px; margin: 20px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid #dfe8f7; border-radius: 12px; background: #fbfdff; }
.check-list li::before { content: "✓"; flex: 0 0 auto; color: var(--green); font-weight: 850; }
.related-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.related-links a { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); font-weight: 720; text-decoration: none; }
.related-links a:hover { border-color: #9db9ed; color: var(--blue-dark); }
.article-meta { margin-bottom: 28px; color: var(--muted); font-size: .9rem; }
.tool-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: 0 14px 34px rgb(31 74 171 / 8%); }
.tool-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 20px 0; }
.tool-field { display: grid; gap: 7px; color: var(--ink); font-size: .9rem; font-weight: 700; }
.tool-field input, .tool-field select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #cbd9f0; border-radius: 11px; background: white; color: var(--ink); font: inherit; }
.tool-field input:focus, .tool-field select:focus { outline: 3px solid rgb(37 99 235 / 18%); border-color: var(--blue); }
.tool-result { padding: 20px; border-radius: 16px; background: #edf4ff; }
.tool-result strong { display: block; margin-bottom: 6px; font-size: 1.1rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.calendar-weekday { padding: 7px 0; color: var(--muted); font-size: .76rem; font-weight: 750; text-align: center; }
.calendar-day { min-height: 69px; padding: 9px; border: 1px solid #dde6f5; border-radius: 11px; background: white; font-size: .85rem; }
.calendar-day b { display: block; margin-bottom: 6px; }
.calendar-day.work { border-color: #a8c5ff; background: #edf4ff; }
.calendar-day.rest { background: #f7f9fd; color: var(--muted); }
.calendar-day.empty { border-color: transparent; background: transparent; }
.calendar-day span { display: block; color: var(--blue-dark); font-size: .72rem; font-weight: 700; }
.calendar-day.rest span { color: var(--muted); }
.marketplace-disclosure { margin: 22px 0; padding: 16px 18px; border: 1px solid #d9e5fb; border-radius: 14px; background: #f8fbff; color: var(--muted); font-size: .92rem; }
.marketplace-disclosure strong { color: var(--ink); }
.tool-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.tool-stat { padding: 15px; border: 1px solid #d9e5fb; border-radius: 14px; background: white; }
.tool-stat span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.tool-stat strong { display: block; font-size: 1.15rem; line-height: 1.12; }
.inline-note { margin-top: 14px; color: var(--muted); font-size: .88rem; }
@media (max-width: 780px) {
  .nav { display: none; }
  .hero { padding-top: 48px; }
  .hero-grid, .price-layout, .footer-grid, .content-layout { grid-template-columns: 1fr; }
  .solution-showcase, .solution-more { grid-template-columns: 1fr; }
  .solution-card { min-height: 0; }
  .solution-prose > ol, .solution-prose > ul:not(.check-list) { grid-template-columns: 1fr; }
  .product-card { min-height: 370px; }
  .mila-site-guide { min-height: 210px; grid-template-columns: 170px minmax(0, 1fr); padding-right: 18px; }
  .mila-site-guide img { width: 178px; max-height: 225px; }
  .mila-site-copy { padding: 20px; }
  .cards, .steps, .topic-grid, .guide-grid, .related-links { grid-template-columns: 1fr; }
  .documents, .faq { grid-template-columns: 1fr; }
  .support-panel { align-items: flex-start; flex-direction: column; }
  .legal-shell { padding: 24px 18px; }
  .details { grid-template-columns: 1fr; gap: 3px; }
  .details dt { margin-top: 10px; }
  .toc { position: static; }
  .tool-form { grid-template-columns: 1fr; }
  .tool-stats { grid-template-columns: 1fr; }
  .notice { align-items: flex-start; flex-direction: column; }
  .tariff-disclosure strong { white-space: normal; }
}
@media (max-width: 430px) {
  .container { width: min(100% - 24px, 1120px); }
  .header-row { min-height: 62px; }
  .hero { padding-top: 36px; }
  .hero-auth { padding: 13px; }
  .hero-auth-actions { align-items: stretch; flex-direction: column; }
  .hero-auth-actions .button, .hero-auth-login { width: 100%; }
  h1 { font-size: 2.45rem; }
  .section { padding: 56px 0; }
  .solution-card, .solution-visual { padding: 19px; border-radius: 22px; }
  .solution-copy strong { font-size: 1.35rem; }
  .mini-product, .visual-product { padding: 13px; }
  .mini-product-top { align-items: flex-start; flex-direction: column; gap: 3px; }
  .mini-shift-row { grid-template-columns: auto minmax(0, 1fr); }
  .mini-shift-row em { grid-column: 2; }
  .solution-result { grid-template-columns: 1fr; gap: 3px; }
  .solution-more { gap: 10px; }
  .solution-compact { min-height: 210px; }
  .visual-takeaways { grid-template-columns: 1fr; }
  .visual-shifts { grid-template-columns: 1fr; }
  .access-branches { grid-template-columns: 1fr; }
  .access-branches::before { display: none; }
  .access-person.owner { max-width: none; }
  .approval-path { flex-wrap: wrap; }
  .approval-path i { min-width: 18px; }
  .comparison-board { padding: 7px 12px; }
  .comparison-board > div { grid-template-columns: 1fr; gap: 3px; }
  .visual-price { align-items: flex-start; flex-direction: column; gap: 1px; }
  .replacement-flow { grid-template-columns: 1fr; }
  .replacement-flow > div { min-height: 108px; }
  .replacement-flow > i { transform: rotate(90deg); text-align: center; }
  .timesheet-board > div { grid-template-columns: 1fr 1fr; gap: 6px 10px; }
  .timesheet-board .timesheet-head { display: none; }
  .timesheet-board span, .timesheet-board b, .timesheet-board small, .timesheet-board em { overflow: visible; white-space: normal; }
  .product-card { min-height: 340px; }
  .mila-site-guide { display: block; min-height: 430px; padding: 0 12px 16px; overflow: visible; margin-top: 70px; }
  .mila-site-guide img { position: absolute; left: 50%; top: -82px; width: 176px; height: 232px; transform: translateX(-50%); }
  .mila-site-copy { top: 142px; padding: 20px 18px; text-align: center; }
  .mila-site-copy::before { left: calc(50% - 10px); top: -11px; border-left: 1px solid rgb(255 255 255 / 88%); border-bottom: 1px solid rgb(255 255 255 / 88%); }
  .screen { inset: 64px 14px 14px; padding: 15px; }
  .price-card, .support-panel { padding: 23px; }
  .calendar-day { min-height: 56px; padding: 7px; font-size: .78rem; }
  .calendar-day span { font-size: .65rem; }
  .tool-card { padding: 18px 14px; }
  .calendar-grid { gap: 4px; }
  .breadcrumbs { overflow-wrap: anywhere; }
}
