:root {
  --ink: #102234;
  --muted: #526273;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --line: #dbe4ea;
  --blue: #0878b8;
  --blue-dark: #07547d;
  --orange: #f47c35;
  --green: #18845b;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(16, 34, 52, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, Montserrat, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 50; background: var(--ink); color: white; padding: 10px 14px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand img { width: 38px; height: 38px; }
.brand span { color: var(--blue-dark); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 650; font-size: .92rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-links .button,
.nav-links .button:hover,
.nav-links .button[aria-current="page"] { color: white; }
.language-link { padding-left: 18px; border-left: 1px solid var(--line); color: var(--blue-dark); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-button svg { width: 25px; height: 25px; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 10px 18px; border: 1px solid var(--blue); border-radius: 6px; background: var(--blue); color: white; text-decoration: none; font-weight: 750; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.button.secondary { color: var(--blue-dark); background: white; border-color: var(--line); }
.button.secondary:hover { border-color: var(--blue); }

.hero { min-height: 610px; display: grid; align-items: center; overflow: hidden; background: linear-gradient(115deg, #eef8fc 0 58%, #e9f0f4 58%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; padding-block: 72px; }
.eyebrow { margin: 0 0 12px; color: var(--blue-dark); font-size: .78rem; font-weight: 850; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; }
h1, h2, h3 { font-family: "Avenir Next", Montserrat, "Segoe UI", sans-serif; letter-spacing: -.025em; }
h1 { max-width: 720px; margin-bottom: 22px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { font-size: 1.2rem; }
.lead { max-width: 660px; color: var(--muted); font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; color: var(--muted); font-size: .9rem; font-weight: 650; }
.trust-line span::before { content: "\2713"; margin-right: 7px; color: var(--green); }

.product-visual { position: relative; min-height: 430px; }
.app-window { position: absolute; inset: 10px 0 0 22px; overflow: hidden; border: 1px solid #cbd8df; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.window-bar { height: 42px; border-bottom: 1px solid var(--line); background: #f8fafb; }
.window-bar::before { content: ""; display: block; width: 48px; height: 10px; margin: 16px; background: radial-gradient(circle, #f47c35 0 4px, transparent 5px) 0 0/16px 10px repeat-x; }
.app-body { display: grid; grid-template-columns: 90px 1fr; min-height: 388px; }
.app-sidebar { background: var(--ink); }
.app-content { padding: 26px; }
.app-title { width: 45%; height: 16px; margin-bottom: 28px; background: #bed8e7; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric { height: 72px; border: 1px solid var(--line); border-top: 4px solid var(--orange); }
.chart { height: 145px; margin-top: 20px; background: linear-gradient(to top, #e7f3f9 0 45%, transparent 45%), repeating-linear-gradient(to right, transparent 0 38px, #edf2f5 39px 40px); border-bottom: 2px solid var(--blue); }
.logo-stamp { position: absolute; right: -16px; bottom: -5px; width: 105px; height: 105px; padding: 20px; border: 1px solid var(--line); border-radius: 50%; background: white; box-shadow: var(--shadow); }

.section { padding-block: 86px; }
.section.soft { background: var(--soft); }
.section-heading { max-width: 700px; margin-bottom: 38px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.solution:hover { border-color: #9bc3d9; box-shadow: 0 10px 30px rgba(16,34,52,.08); }
.solution .icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 6px; background: #e7f5fb; color: var(--blue-dark); font-weight: 850; }
.solution p { color: var(--muted); }
.solution a { color: var(--blue-dark); font-weight: 750; text-decoration: none; }
.solution a::after { content: " \2192"; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { padding-left: 18px; border-left: 3px solid var(--orange); }
.feature p { margin-bottom: 0; color: var(--muted); }
.cta { padding: 42px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: var(--radius); background: var(--ink); color: white; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; color: #c6d2dc; }

.page-hero { padding-block: 82px 68px; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.35rem, 5vw, 4.2rem); }
.breadcrumbs { margin-bottom: 22px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--blue-dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; }
.contact-list { display: grid; gap: 16px; }
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item strong { display: block; }
.contact-item a { color: var(--blue-dark); }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 13px; border: 1px solid #b8c7d1; border-radius: 6px; background: white; color: var(--ink); font: inherit; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(8,120,184,.18); border-color: var(--blue); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 28px; margin: 0; padding: 10px 12px; border-radius: 6px; }
.form-status:empty { padding: 0; }
.form-status.success { color: #075b3d; background: #e6f6ef; }
.form-status.error { color: #8b2525; background: #fdecec; }
.draft-note { margin: 24px 0; padding: 16px 18px; border-left: 4px solid var(--orange); background: #fff5ed; color: #713c1d; }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.reference-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.reference-card h3 { margin-bottom: 18px; }
.sector-label { margin: 0 0 8px; color: var(--blue-dark); font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.client-list { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; color: var(--muted); }
.client-list li { margin-bottom: 7px; break-inside: avoid; }
.reference-placeholder { min-height: 150px; display: grid; align-content: center; padding: 24px; border: 1px dashed #9aadb9; border-radius: var(--radius); background: white; }
.reference-placeholder p { margin: 0; color: var(--muted); }
.error-page { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.error-code { margin: 0; color: var(--blue); font-size: 5rem; font-weight: 850; line-height: 1; }

.site-footer { padding-block: 48px 24px; background: #0b1c2a; color: #d4dde3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer a { color: #d4dde3; }
.footer-links { display: grid; gap: 8px; }
.legal { margin-top: 38px; padding-top: 20px; border-top: 1px solid #294052; color: #98aab8; font-size: .86rem; }

@media (max-width: 820px) {
  .container { width: min(100% - 28px, 680px); }
  .menu-button { display: grid; place-items: center; }
  .nav-links { position: absolute; display: none; top: 72px; left: 0; right: 0; padding: 20px; background: white; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: grid; }
  .hero { min-height: auto; background: #eef8fc; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-grid { padding-block: 54px; }
  .product-visual { min-height: 360px; }
  .app-window { inset: 0; }
  .logo-stamp { right: 8px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .client-list { columns: 1; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.55rem; }
  .grid-3, .feature-list, .footer-grid, .reference-grid { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .product-visual { min-height: 305px; }
  .app-body { grid-template-columns: 58px 1fr; min-height: 275px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric:nth-child(n+2) { display: none; }
  .chart { height: 105px; }
  .cta { align-items: flex-start; flex-direction: column; padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Turbosoft Cloud-aligned visual system */
:root {
  --ink: #eef6ff;
  --muted: #9db0c8;
  --paper: #071525;
  --soft: #0b1b2d;
  --line: #213b56;
  --blue: #20c7f4;
  --blue-dark: #65d9fa;
  --radius: 14px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
body { background: radial-gradient(circle at 75% 0, #112b47 0, var(--paper) 42%); }
.site-header { background: rgba(7,21,37,.92); backdrop-filter: blur(18px); }
.brand span { color: white; }
.button { border-radius: 9px; background: linear-gradient(135deg, #0878b8, #12aeda); box-shadow: 0 8px 25px rgba(8,120,184,.22); }
.button.secondary { color: var(--ink); background: rgba(255,255,255,.04); border-color: var(--line); box-shadow: none; }
.button.secondary:hover { background: rgba(32,199,244,.08); }
.hero { min-height: 650px; background: radial-gradient(circle at 80% 30%, rgba(8,120,184,.28), transparent 34%), linear-gradient(135deg, #071525, #0b1c30); }
.app-window { border-color: #2b4965; background: #0d2035; }
.window-bar { background: #10283f; }
.app-sidebar { background: #06101e; }
.metric { background: #10283f; }
.section.soft { background: rgba(11,27,45,.88); }
.solution { background: linear-gradient(145deg, rgba(18,42,67,.9), rgba(9,25,42,.9)); }
.page-hero { background: radial-gradient(circle at 80% 20%, rgba(8,120,184,.2), transparent 34%), var(--soft); }
.field input, .field textarea, .field select { border-color: var(--line); background: #0e2238; color: var(--ink); }
.reference-card { background: #0d2035; }
.portal-link { color: var(--blue-dark); white-space: nowrap; }
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:36px; }
.price-card { padding:28px; border:1px solid var(--line); border-radius:var(--radius); background:#0d2035; }
.price-card.featured { border-color:var(--blue); box-shadow:0 0 0 1px var(--blue), var(--shadow); }
.price-card ul { padding-left:20px; color:var(--muted); }
.price-label { color:var(--blue-dark); font-weight:800; }
.consent { display:flex; align-items:flex-start; gap:10px; color:var(--muted); font-size:.88rem; }
.consent input { width:auto; margin-top:5px; }
@media (max-width:820px) { .nav-links { background:#081827; } .hero { background:#071525; } .pricing-grid { grid-template-columns:1fr; } }

/* Light marketing theme: Cloud remains the darker operational product. */
:root {
  --ink: #10243a;
  --muted: #5d7085;
  --paper: #ffffff;
  --soft: #f3f8fc;
  --line: #d8e5ee;
  --blue: #0789ca;
  --blue-dark: #075f91;
  --shadow: 0 22px 60px rgba(27, 65, 94, .13);
}
body { background: #fff; }
.site-header { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 rgba(16,36,58,.06); }
.brand span { color: #0b527d; }
.hero { background: radial-gradient(circle at 85% 20%, rgba(32,199,244,.14), transparent 31%), linear-gradient(135deg, #f5fbff, #eaf4fa); }
.app-window { border-color: #cbdce7; background: #fff; }
.window-bar { background: #f7fafc; }
.app-sidebar { background: linear-gradient(180deg, #06355d, #0878b8); }
.metric { background: #fff; }
.section.soft { background: #f3f8fc; }
.solution { background: linear-gradient(145deg, #fff, #f8fbfd); }
.page-hero { background: radial-gradient(circle at 85% 20%, rgba(32,199,244,.12), transparent 35%), #f3f8fc; }
.field input, .field textarea, .field select { border-color: #bcd0dc; background: #fff; color: var(--ink); }
.reference-card, .price-card { background: #fff; }
.cta { background: linear-gradient(135deg, #0b2741, #074c75); }
.site-footer { background: #0b2741; }
@media (max-width:820px) {
  .nav-links { background:#fff; }
  .hero { background:#f3f9fd; }
}

.brand-wordmark { width: 181px !important; height: 50px !important; object-fit: contain; }
.trust-strip { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.trust-grid > div { min-height:126px; display:flex; flex-direction:column; justify-content:center; padding:24px; border-right:1px solid var(--line); }
.trust-grid > div:first-child { border-left:1px solid var(--line); }
.trust-grid strong { color:#0b527d; font-size:1.03rem; }
.trust-grid span { margin-top:5px; color:var(--muted); font-size:.84rem; line-height:1.45; }
.cloud-products { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.cloud-product { display:grid; grid-template-columns:76px 1fr; gap:22px; padding:30px; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 16px 46px rgba(27,65,94,.09); }
.product-mark { width:68px; height:68px; display:grid; place-items:center; border-radius:17px; color:white; font-weight:850; letter-spacing:.04em; background:linear-gradient(145deg,#0878b8,#20c7f4); }
.payroll-mark { background:linear-gradient(145deg,#ef7435,#f5a15a); }
.availability { display:inline-flex; margin-bottom:10px; padding:5px 9px; border-radius:999px; color:#075f91; background:#e5f6fd; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.cloud-product p { color:var(--muted); }
.hero-actions .button:first-child, .nav-links > .button { background:linear-gradient(135deg,#e84a24,#f28a47); border-color:#e84a24; box-shadow:0 9px 24px rgba(232,74,36,.2); }
.hero-actions .button:first-child:hover, .nav-links > .button:hover { background:#d74320; border-color:#d74320; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline:3px solid rgba(7,137,202,.28); outline-offset:3px; }
.solution a:hover, .footer-links a:hover, .portal-link:hover { text-decoration:underline; text-underline-offset:3px; }
.other-heading { margin-top:72px; }
.legacy-grid { grid-template-columns:repeat(3,1fr); }
@media (max-width:820px) {
  .brand-wordmark { width:154px !important; height:43px !important; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .cloud-products { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .trust-grid { grid-template-columns:1fr; }
  .trust-grid > div { min-height:auto; border-left:1px solid var(--line); border-bottom:1px solid var(--line); }
.cloud-product { grid-template-columns:1fr; padding:24px; }
}

/* Structured marketing footer */
.site-footer { padding:64px 0 24px; background:#071528; color:#91a5bf; }
.footer-grid-expanded { grid-template-columns:1.35fr .8fr 1.15fr .8fr; gap:56px; }
.footer-brand { max-width:340px; }
.footer-logo { display:inline-block; margin-bottom:22px; }
.footer-logo img { width:205px; height:auto; }
.footer-brand p { max-width:330px; margin:0; color:#91a5bf; line-height:1.75; }
.site-footer h3 { margin:5px 0 22px; color:#fff; font-size:1rem; letter-spacing:0; }
.site-footer .footer-links { gap:11px; }
.site-footer .footer-links a, .site-footer .footer-links span { color:#91a5bf; font-size:.9rem; line-height:1.55; text-decoration:none; }
.site-footer .footer-links a:hover { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:56px; padding-top:24px; border-top:1px solid #1c3049; color:#7f94ae; font-size:.84rem; }
@media (max-width:900px) {
  .footer-grid-expanded { grid-template-columns:1fr 1fr; gap:42px; }
}
@media (max-width:560px) {
  .site-footer { padding-top:48px; }
  .footer-grid-expanded { grid-template-columns:1fr; gap:34px; }
  .footer-bottom { align-items:flex-start; flex-direction:column; margin-top:42px; }
}
