:root {
  --brand: #037f67;
  --brand-2: #0b947b;
  --brand-3: #14aa8e;
  --ink: #0b2024;
  --ink-2: #16363a;
  --muted: #607477;
  --line: #dce7e5;
  --line-strong: #c8d9d5;
  --surface: #ffffff;
  --surface-2: #f5faf9;
  --surface-3: #eaf6f3;
  --surface-dark: #073f39;
  --page: #ffffff;
  --shadow-sm: 0 8px 24px rgba(9, 51, 47, .08);
  --shadow-md: 0 22px 60px rgba(9, 51, 47, .12);
  --shadow-lg: 0 34px 85px rgba(8, 56, 51, .17);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1240px;
  --header: 82px;
}

html[data-theme="dark"] {
  --ink: #ecf8f6;
  --ink-2: #d3e8e4;
  --muted: #99b6b1;
  --line: #1c4541;
  --line-strong: #28534e;
  --surface: #102825;
  --surface-2: #0b201e;
  --surface-3: #12332f;
  --page: #081817;
  --shadow-sm: 0 8px 24px rgba(0,0,0,.18);
  --shadow-md: 0 22px 60px rgba(0,0,0,.24);
  --shadow-lg: 0 34px 85px rgba(0,0,0,.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 999;
}
.skip-link:focus { top: 12px; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-pad { padding: 104px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}
.nav-wrap { min-height: var(--header); display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; width: 176px; min-height: 52px; overflow: visible; }
.brand img { width: 176px; height: auto; transform: none; }
html[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
.main-nav { display: flex; justify-content: center; align-items: center; gap: 28px; }
.main-nav a { font-size: .91rem; color: var(--ink-2); font-weight: 650; transition: .2s ease; }
.main-nav a:hover { color: var(--brand-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; margin: 5px 0; display: block; border-radius: 9px; background: var(--ink); }
.theme-toggle {
  width: 42px;
  height: 42px;
  position: relative;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.theme-toggle:hover {
  border-color: var(--brand);
  transform: translateY(-1px) rotate(4deg);
  box-shadow: 0 8px 20px rgba(3,127,103,.12);
}
.theme-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 28%, transparent);
  outline-offset: 3px;
}
.theme-icon {
  position: absolute;
  width: 19px;
  height: 19px;
  color: var(--ink);
  fill: currentColor;
  transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.theme-icon-moon { opacity: 1; transform: scale(1) rotate(0deg); }
.theme-icon-sun { opacity: 0; transform: scale(.55) rotate(-90deg); }
html[data-theme="dark"] .theme-icon-moon { opacity: 0; transform: scale(.55) rotate(90deg); }
html[data-theme="dark"] .theme-icon-sun { opacity: 1; transform: scale(1) rotate(0deg); }

@media (prefers-reduced-motion: reduce) {
  .theme-toggle, .theme-icon { transition: none; }
  .theme-toggle:hover { transform: none; }
}

.btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 750;
  font-size: .92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px rgba(3,127,103,.18); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(3,127,103,.25); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-outline { border-color: var(--line-strong); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.btn-outline:hover { border-color: var(--brand); }
.btn-light { background: #fff; color: #064b40; }
.btn-lg { min-height: 52px; padding: 0 23px; border-radius: 12px; font-size: .98rem; }

.hero { position: relative; overflow: hidden; padding-top: 84px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 2% 44%, rgba(71,172,206,.13), transparent 26%),
    radial-gradient(circle at 18% 10%, rgba(3,127,103,.08), transparent 28%);
  pointer-events: none;
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(1px); opacity: .45; pointer-events: none; }
.hero-glow-one { width: 420px; height: 420px; left: -210px; top: 170px; background: radial-gradient(circle, rgba(68,183,206,.22), rgba(68,183,206,0)); }
.hero-glow-two { width: 560px; height: 560px; right: -320px; top: 70px; background: radial-gradient(circle, rgba(19,163,136,.2), rgba(19,163,136,0)); }
.hero-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 62px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; font-weight: 750; font-size: .84rem; color: var(--ink-2); }
.flag-pill { font-size: 1rem; }
.hero h1 { margin: 25px 0 20px; font-size: clamp(3rem, 5.35vw, 5.6rem); line-height: .98; letter-spacing: -.055em; max-width: 750px; }
.hero h1 span, .section-heading h2 span { color: var(--brand-2); }
.hero-lead { margin: 0; max-width: 680px; color: var(--muted); font-size: clamp(1.08rem, 1.55vw, 1.32rem); line-height: 1.65; }
.hero-actions { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 13px; }
.play-dot { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--brand); color: var(--brand); border-radius: 999px; font-size: .65rem; }
.hero-points { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 22px; color: var(--ink-2); font-size: .86rem; font-weight: 700; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand-3); box-shadow: 0 0 0 4px rgba(20,170,142,.11); }

.product-visual { position: relative; z-index: 2; }
.visual-badge { position: absolute; right: 16px; top: -16px; z-index: 4; color: var(--brand); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 6px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.app-shell { display: grid; grid-template-columns: 150px 1fr; min-height: 475px; border: 1px solid var(--line); background: var(--surface); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); transform: perspective(1400px) rotateY(-1.3deg) rotateX(.7deg); }
.app-sidebar { color: #fff; background: linear-gradient(180deg, #075f55, #063e39 84%); padding: 19px 12px 14px; display: flex; flex-direction: column; }
.mini-brand { display: flex; align-items: center; gap: 7px; font-size: 1.08rem; padding: 0 7px 17px; }
.mini-mark { width: 25px; height: 20px; display: flex; align-items: end; gap: 2px; }
.mini-mark b { width: 3px; background: #2fd3b1; display: block; border-radius: 2px 2px 0 0; }
.mini-mark b:nth-child(1){height:8px}.mini-mark b:nth-child(2){height:14px}.mini-mark b:nth-child(3){height:20px}.mini-mark b:nth-child(4){height:13px}.mini-mark b:nth-child(5){height:8px}
.app-menu { display: grid; gap: 4px; }
.app-menu button { border: 0; text-align: left; display: flex; align-items: center; gap: 8px; min-height: 35px; padding: 0 9px; border-radius: 8px; background: transparent; color: rgba(255,255,255,.76); font-size: .71rem; cursor: default; }
.app-menu button span { width: 17px; text-align: center; }
.app-menu button.active { background: rgba(27,211,179,.19); color: #fff; }
.sidebar-bottom { margin-top: auto; padding: 12px 8px 2px; font-size: .69rem; color: rgba(255,255,255,.7); }
.app-content { padding: 21px; background: color-mix(in srgb, var(--surface-2) 70%, var(--surface)); }
.app-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
.app-topbar small, .panel small, .metric-card small { display: block; color: var(--muted); font-size: .64rem; }
.app-topbar strong { display: block; font-size: .94rem; }
.topbar-tools { display: flex; align-items: center; gap: 10px; font-size: .67rem; color: var(--muted); }
.avatar { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; }
.metric-card { min-width: 0; background: var(--surface); padding: 11px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 5px 12px rgba(0,0,0,.025); }
.metric-card strong { display: block; margin: 5px 0 4px; font-size: .92rem; letter-spacing: -.02em; white-space: nowrap; }
.metric-card em { font-style: normal; color: var(--muted); font-size: .56rem; }
.metric-card .up { color: #169c72; }
.metric-card .down { color: #d35454; }
.dashboard-grid { margin-top: 9px; display: grid; grid-template-columns: 1.45fr .72fr; gap: 9px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 12px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.panel-head strong, .payroll-panel strong { display: block; font-size: .75rem; }
.panel-head > span { color: var(--muted); font-size: .55rem; }
.chart-panel { grid-row: span 2; }
.line-chart { width: 100%; margin-top: 8px; }
.chart-gridlines line { stroke: color-mix(in srgb, var(--line) 75%, transparent); stroke-width: 1; }
.chart-area { fill: url(#areaFill); }
.chart-line { fill: none; stroke-linecap: round; stroke-width: 4; }
.chart-line.primary { stroke: #0b947b; }
.chart-line.secondary { stroke: #89a29e; stroke-width: 2.5; }
.chart-legend { display: flex; gap: 15px; justify-content: flex-end; font-size: .53rem; color: var(--muted); }
.chart-legend span::before { content: ""; width: 7px; height: 7px; display: inline-block; border-radius: 999px; margin-right: 5px; }
.legend-primary::before { background: #0b947b; }.legend-secondary::before { background: #89a29e; }
.payroll-panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.panel-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-3); color: var(--brand); font-weight: 900; margin-bottom: 8px; }
.payroll-panel p, .compliance-panel p { margin: 3px 0 8px; color: var(--muted); font-size: .58rem; }
.mini-cta { border: 0; background: var(--brand); color: #fff; padding: 7px 9px; border-radius: 7px; font-size: .55rem; font-weight: 800; }
.fake-map { position: relative; height: 74px; overflow: hidden; margin-top: 8px; border-radius: 8px; background: linear-gradient(135deg,#e7f4f0,#f2f7f6); }
html[data-theme="dark"] .fake-map { background: linear-gradient(135deg,#183e39,#142e2a); }
.road { position: absolute; height: 2px; background: rgba(84,124,119,.25); transform-origin: left center; }
.r1 { width: 120%; left: -12px; top: 35px; transform: rotate(-12deg); }.r2 { width: 120%; left: 12px; top: 15px; transform: rotate(23deg); }.r3 { width: 90%; left: 36px; top: 57px; transform: rotate(8deg); }
.pin { width: 10px; height: 10px; border-radius: 50% 50% 50% 0; background: var(--brand); position: absolute; transform: rotate(-45deg); box-shadow: 0 0 0 3px rgba(3,127,103,.12); }
.p1{left:26%;top:44%}.p2{left:61%;top:23%}.p3{left:78%;top:57%}
.map-stats { margin-top: 8px; display: flex; justify-content: space-between; gap: 9px; font-size: .54rem; color: var(--muted); }.map-stats b{color:var(--ink)}
.live-dot { color: var(--brand) !important; font-weight: 800; }
.compliance-panel { grid-column: 2; display: flex; align-items: center; gap: 10px; }
.shield { width: 34px; height: 38px; flex: 0 0 auto; color: var(--brand); display: grid; place-items: center; font-weight: 900; background: var(--surface-3); clip-path: polygon(50% 0,90% 15%,84% 68%,50% 100%,16% 68%,10% 15%); }
.compliance-panel strong { display: block; font-size: .68rem; }

.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid { min-height: 72px; display: grid; grid-template-columns: repeat(6,1fr); align-items: center; gap: 16px; }
.trust-grid span { text-align: center; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .03em; }

.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading.center { text-align: center; margin-inline: auto; }
.section-kicker { display: inline-block; color: var(--brand); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 900; }
.section-kicker.light { color: #9ceadb; }
.section-heading h2, .plans-copy h2, .cta h2 { margin: 11px 0 15px; font-size: clamp(2.25rem, 4vw, 4.25rem); line-height: 1.06; letter-spacing: -.045em; }
.section-heading p, .plans-copy p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.platform { background: var(--surface-2); }
.feature-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; padding: 54px 0; }
.feature-row.reverse { grid-template-columns: 1.05fr .95fr; }
.feature-row.reverse .feature-copy { order: 2; }.feature-row.reverse .feature-visual{order:1}
.feature-label { color: var(--brand); font-weight: 850; font-size: .8rem; }
.feature-copy h3 { margin: 12px 0 15px; font-size: clamp(2rem,3.15vw,3.4rem); letter-spacing: -.04em; line-height: 1.08; }
.feature-copy > p { color: var(--muted); font-size: 1.03rem; margin: 0 0 20px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { color: var(--ink-2); font-weight: 650; }
.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 9px; border-radius: 999px; background: var(--surface-3); color: var(--brand); font-size: .72rem; font-weight: 900; }
.feature-visual { position: relative; min-height: 380px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface-3) 55%,var(--surface))); box-shadow: var(--shadow-md); overflow: hidden; }
.tenant-visual { display: grid; place-items: center; }
.tenant-hub { position: relative; z-index: 2; width: 122px; height: 122px; display: grid; place-items: center; border-radius: 999px; color: #fff; background: linear-gradient(135deg,var(--brand),#07564c); font-weight: 950; letter-spacing: .08em; box-shadow: 0 18px 40px rgba(3,127,103,.24); }
.tenant-line { position: absolute; inset: 50% auto auto 50%; width: 48%; height: 1px; background: var(--line-strong); transform: translate(-50%,-50%) rotate(90deg); }
.tenant-card { position: absolute; width: 180px; padding: 17px 18px; border: 1px solid var(--line); background: var(--surface); border-radius: 15px; box-shadow: var(--shadow-sm); }
.tenant-card span { display: block; font-weight: 850; }.tenant-card small{color:var(--muted)}
.tc1{left:7%;top:13%}.tc2{right:7%;top:18%}.tc3{right:14%;bottom:11%}
.timeline-visual { display: grid; place-items: center; background: radial-gradient(circle at center,rgba(20,170,142,.09),transparent 46%), var(--surface); }
.mobile-card { width: 245px; min-height: 345px; padding: 18px; border: 1px solid var(--line); border-radius: 31px; background: var(--surface); box-shadow: 0 26px 60px rgba(6,66,57,.18); transform: rotate(-2deg); }
.mobile-top { display:flex;justify-content:space-between;font-size:.58rem;color:var(--muted); }
.mobile-profile { margin-top: 24px; display:flex;gap:10px;align-items:center}.mobile-profile i{width:36px;height:36px;display:grid;place-items:center;border-radius:999px;background:var(--surface-3);color:var(--brand);font-style:normal;font-size:.72rem;font-weight:900}.mobile-profile strong,.mobile-profile small{display:block}.mobile-profile strong{font-size:.76rem}.mobile-profile small{font-size:.55rem;color:var(--muted)}
.clock-state { text-align:center; padding:30px 8px 20px}.clock-state .pulse{width:10px;height:10px;border-radius:999px;background:var(--brand-3);display:inline-block;box-shadow:0 0 0 6px rgba(20,170,142,.11)}.clock-state small,.clock-state strong,.clock-state p{display:block}.clock-state small{margin:8px 0 3px;color:var(--brand);font-weight:800;font-size:.62rem}.clock-state strong{font-size:2rem;letter-spacing:-.04em}.clock-state p{font-size:.58rem;color:var(--muted);margin:3px 0}.mobile-card button{width:100%;height:43px;border:0;border-radius:11px;background:var(--brand);color:#fff;font-size:.7rem;font-weight:900}.floating-info{position:absolute;display:flex;gap:9px;align-items:center;padding:11px 13px;border:1px solid var(--line);background:var(--surface);border-radius:13px;box-shadow:var(--shadow-sm)}.floating-info b{color:var(--brand)}.floating-info span{font-size:.65rem;font-weight:700}.fi1{left:7%;top:18%}.fi2{right:6%;bottom:16%}
.process-flow { display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:24px}.process-flow span{padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:.72rem;font-weight:800}.process-flow i{font-style:normal;color:var(--brand)}

.module-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.module-card { min-height: 255px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: .25s ease; }
.module-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb,var(--brand) 45%,var(--line)); box-shadow: var(--shadow-sm); }
.module-card.featured { background: linear-gradient(145deg,#075f55,#073e39); color:#fff; border-color:transparent; }
.module-card.featured p,.module-card.featured .module-link{color:rgba(255,255,255,.75)}
.module-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-3); color: var(--brand); font-weight: 950; font-size: 1.1rem; }
.featured .module-icon { background: rgba(255,255,255,.12); color:#7fe5d0; }
.module-card h3 { margin: 18px 0 8px; font-size: 1.15rem; }.module-card p{margin:0;color:var(--muted);font-size:.9rem}.module-link{display:inline-block;margin-top:23px;color:var(--brand);font-size:.75rem;font-weight:850}.coming-card{background:var(--surface-2)}

.solutions { background: var(--surface-2); }
.audience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.audience-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.audience-card.active { border-color: var(--brand); box-shadow: 0 18px 55px rgba(3,127,103,.12); transform: translateY(-8px); }
.audience-number { font-size: .7rem; color: var(--brand); font-weight: 900; letter-spacing: .12em; }.audience-card h3{font-size:1.45rem;margin:13px 0 9px}.audience-card p{color:var(--muted);margin:0}.audience-card ul{list-style:none;padding:17px 0 0;margin:18px 0 0;border-top:1px solid var(--line);display:grid;gap:7px}.audience-card li{font-size:.85rem;font-weight:700}.audience-card li::before{content:"✓";color:var(--brand);margin-right:8px}

.plans-wrap { display: grid; grid-template-columns: .86fr 1.14fr; gap: 76px; align-items: center; }
.plans-copy p { margin-bottom: 28px; }.entitlement-card{border:1px solid var(--line);border-radius:24px;padding:28px;background:var(--surface);box-shadow:var(--shadow-md)}.entitlement-top{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--line)}.entitlement-top small,.entitlement-top strong{display:block}.entitlement-top small{color:var(--muted);font-size:.75rem}.entitlement-top strong{font-size:1.35rem}.status-chip{padding:6px 10px;border-radius:999px;background:var(--surface-3);color:var(--brand);font-size:.7rem;font-weight:900}.entitlement-list{display:grid}.entitlement-list>div{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.entitlement-list span{font-weight:750}.entitlement-list i{font-style:normal;width:24px;height:24px;display:inline-grid;place-items:center;border-radius:7px;background:var(--surface-3);color:var(--brand);margin-right:8px}.entitlement-list b{font-size:.75rem;color:var(--muted)}.entitlement-note{margin-top:17px;color:var(--muted);font-size:.72rem}

.principles { background: linear-gradient(180deg,var(--surface-2),var(--page)); }
.principle-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.principle-grid article{padding:24px;border-top:2px solid var(--line);transition:.2s}.principle-grid article:hover{border-color:var(--brand)}.principle-grid span{color:var(--brand);font-size:.68rem;font-weight:900}.principle-grid h3{font-size:1.05rem;margin:16px 0 7px}.principle-grid p{color:var(--muted);font-size:.85rem;margin:0}

.faq-grid { display:grid;grid-template-columns:.78fr 1.22fr;gap:76px;align-items:start}.accordion{display:grid;gap:10px}.accordion details{border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:0 20px}.accordion summary{list-style:none;cursor:pointer;padding:18px 32px 18px 0;font-weight:800;position:relative}.accordion summary::-webkit-details-marker{display:none}.accordion summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);color:var(--brand);font-size:1.35rem}.accordion details[open] summary::after{content:"–"}.accordion p{margin:0 0 19px;color:var(--muted);font-size:.91rem}

.cta { position:relative;overflow:hidden;background:linear-gradient(135deg,#075b52,#03806a 62%,#07957d);color:#fff;padding:78px 0}.cta::before{content:"";position:absolute;width:650px;height:650px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-270px;top:-290px;box-shadow:0 0 0 90px rgba(255,255,255,.025),0 0 0 180px rgba(255,255,255,.02)}.cta-wrap{position:relative;display:grid;grid-template-columns:1fr .9fr;gap:70px;align-items:center}.cta h2{font-size:clamp(2.3rem,4vw,4.2rem);margin-top:10px}.cta p{color:rgba(255,255,255,.75);font-size:1.05rem;margin:0}.demo-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:22px;border:1px solid rgba(255,255,255,.18);border-radius:21px;background:rgba(1,45,39,.28);backdrop-filter:blur(10px)}.demo-form label span{display:block;font-size:.67rem;font-weight:800;margin-bottom:5px;color:rgba(255,255,255,.8)}.demo-form input{width:100%;height:46px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.09);color:#fff;padding:0 13px;outline:none}.demo-form input::placeholder{color:rgba(255,255,255,.48)}.demo-form input:focus{border-color:#9ceadb;box-shadow:0 0 0 3px rgba(156,234,219,.13)}.demo-form .full{grid-column:1/-1}.demo-form button.full{grid-column:1/-1}.form-note{grid-column:1/-1;color:rgba(255,255,255,.58);font-size:.66rem;text-align:center}

.site-footer { background: #061817; color: #d9ebe8; padding: 58px 0 23px; }
.footer-grid { display:grid;grid-template-columns:1.45fr repeat(3,1fr);gap:48px}.footer-brand img{width:110px;filter:brightness(0) invert(1);opacity:.92}.footer-brand p{max-width:280px;color:#87a8a2;font-size:.85rem}.footer-grid>div:not(.footer-brand){display:grid;align-content:start;gap:9px}.footer-grid strong{color:#fff;font-size:.83rem;margin-bottom:4px}.footer-grid a{color:#87a8a2;font-size:.8rem}.footer-grid a:hover{color:#fff}.footer-bottom{margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;gap:20px;color:#668983;font-size:.72rem}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }


/* ---------------------------------------------
   Pointer interactions
   Progressive enhancement for mouse / trackpad.
   Touch devices keep the same stable layout.
---------------------------------------------- */
.main-nav a {
  position: relative;
  padding-block: 9px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-2);
  transition: left .22s ease, right .22s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  left: 0;
  right: 0;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 90px;
  height: 180%;
  left: -125px;
  top: -40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: rotate(18deg);
  transition: left .5s ease;
  pointer-events: none;
}
.btn-primary:hover::before,
.btn-light:hover::before { left: calc(100% + 45px); }
.btn-primary > span:last-child { transition: transform .2s ease; }
.btn-primary:hover > span:last-child { transform: translateX(4px); }

.hero {
  --hero-x: 50%;
  --hero-y: 35%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 360px at var(--hero-x) var(--hero-y), rgba(16,156,130,.10), transparent 68%);
  opacity: 0;
  transition: opacity .28s ease;
}

.app-shell,
.metric-card,
.panel,
.module-card,
.audience-card,
.feature-visual,
.entitlement-card,
.trust-grid span,
.tenant-card,
.mobile-card,
.floating-info {
  backface-visibility: hidden;
}

.metric-card,
.panel,
.trust-grid span,
.tenant-card,
.floating-info {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease, background .22s ease;
}

.is-pointer-interactive {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --pointer-x: 50%;
  --pointer-y: 50%;
  --base-lift: 0px;
  --hover-lift: 0px;
  transform-style: preserve-3d;
  will-change: transform;
}

.app-shell.is-pointer-interactive {
  --tilt-x: .7deg;
  --tilt-y: -1.3deg;
  transform: perspective(1400px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--hover-lift));
  transition: transform .16s ease-out, box-shadow .25s ease;
}

.module-card.is-pointer-interactive,
.audience-card.is-pointer-interactive,
.feature-visual.is-pointer-interactive,
.entitlement-card.is-pointer-interactive {
  position: relative;
  transform: perspective(1050px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(calc(var(--base-lift) + var(--hover-lift)));
  transition: transform .16s ease-out, border-color .22s ease, box-shadow .22s ease;
}
.audience-card.active.is-pointer-interactive { --base-lift: -8px; }

.module-card.is-pointer-interactive::before,
.audience-card.is-pointer-interactive::before,
.entitlement-card.is-pointer-interactive::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle 210px at var(--pointer-x) var(--pointer-y), rgba(20,170,142,.12), transparent 72%);
  opacity: 0;
  transition: opacity .2s ease;
}
.module-card.featured.is-pointer-interactive::before {
  background: radial-gradient(circle 230px at var(--pointer-x) var(--pointer-y), rgba(127,229,208,.18), transparent 70%);
}
.module-card.is-pointer-interactive > *,
.audience-card.is-pointer-interactive > *,
.entitlement-card.is-pointer-interactive > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .hero:hover::after { opacity: 1; }

  .app-shell.is-pointer-interactive.is-hovering {
    --hover-lift: -4px;
    box-shadow: 0 40px 95px rgba(8,56,51,.22);
  }

  .app-shell:hover .metric-card:hover,
  .app-shell:hover .panel:hover {
    transform: translateY(-3px) scale(1.012);
    border-color: color-mix(in srgb,var(--brand) 32%,var(--line));
    box-shadow: 0 12px 30px rgba(9,51,47,.09);
  }

  .module-card.is-pointer-interactive.is-hovering { --hover-lift: -8px; }
  .audience-card.is-pointer-interactive.is-hovering { --hover-lift: -5px; }
  .feature-visual.is-pointer-interactive.is-hovering { --hover-lift: -4px; }
  .entitlement-card.is-pointer-interactive.is-hovering { --hover-lift: -5px; }

  .module-card.is-pointer-interactive.is-hovering::before,
  .audience-card.is-pointer-interactive.is-hovering::before,
  .entitlement-card.is-pointer-interactive.is-hovering::before { opacity: 1; }

  .module-card.is-pointer-interactive.is-hovering {
    border-color: color-mix(in srgb,var(--brand) 48%,var(--line));
    box-shadow: 0 20px 46px rgba(9,51,47,.11);
  }
  .module-card.featured.is-pointer-interactive.is-hovering {
    border-color: transparent;
    box-shadow: 0 26px 56px rgba(5,83,72,.26);
  }

  .feature-visual.is-pointer-interactive.is-hovering {
    border-color: color-mix(in srgb,var(--brand) 36%,var(--line));
    box-shadow: 0 30px 72px rgba(9,51,47,.15);
  }

  .tenant-card:hover,
  .floating-info:hover {
    transform: translateY(-5px) scale(1.025);
    border-color: color-mix(in srgb,var(--brand) 42%,var(--line));
    box-shadow: 0 16px 34px rgba(9,51,47,.13);
  }

  .mobile-card:hover { transform: rotate(-1deg) translateY(-5px); }

  .trust-grid span:hover {
    color: var(--brand);
    transform: translateY(-2px);
  }

  .module-link { transition: letter-spacing .2s ease, transform .2s ease; }
  .module-card:hover .module-link {
    letter-spacing: .025em;
    transform: translateX(3px);
  }

  .principle-grid article:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .btn,
  .btn::before,
  .main-nav a::after,
  .app-shell,
  .metric-card,
  .panel,
  .module-card,
  .audience-card,
  .feature-visual,
  .entitlement-card,
  .tenant-card,
  .floating-info,
  .mobile-card,
  .trust-grid span,
  .principle-grid article {
    transition: none !important;
  }
  .is-pointer-interactive {
    transform: none !important;
  }
}

@media (max-width: 1120px) {
  .nav-wrap { grid-template-columns: 176px 1fr auto; gap: 16px; }.brand{width:150px}.brand img{width:150px}.main-nav{gap:18px}.nav-login{display:none}
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }.hero-copy{text-align:center}.hero-lead{margin-inline:auto}.hero-actions,.hero-points{justify-content:center}.product-visual{max-width:850px;margin-inline:auto;width:100%}
  .module-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 860px) {
  :root { --header: 70px; }
  .section-pad{padding:78px 0}.container{width:min(calc(100% - 28px),var(--container))}
  .nav-wrap { grid-template-columns: 1fr auto; }.brand{width:132px;min-height:44px}.brand img{width:132px}.nav-toggle{display:block;order:3}.nav-actions{margin-left:auto}.nav-actions .btn-primary{display:none}.theme-toggle{width:38px;height:38px}.main-nav{position:fixed;left:14px;right:14px;top:calc(var(--header) + 8px);display:grid;justify-content:stretch;gap:0;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-md);opacity:0;visibility:hidden;transform:translateY(-8px);transition:.2s}.main-nav.open{opacity:1;visibility:visible;transform:none}.main-nav a{padding:12px;border-radius:9px}.main-nav a:hover{background:var(--surface-2)}
  .hero{padding-top:62px}.hero h1{font-size:clamp(2.8rem,10vw,5rem)}
  .app-shell{grid-template-columns:115px 1fr;min-height:430px}.app-content{padding:15px}.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.chart-panel{grid-row:auto}.compliance-panel{grid-column:auto}.app-sidebar{padding-inline:8px}.app-menu button{font-size:.62rem;padding-inline:6px}.mini-brand{font-size:.9rem}
  .trust-grid{grid-template-columns:repeat(3,1fr);padding-block:15px}.trust-grid span{padding:8px}
  .feature-row,.feature-row.reverse,.plans-wrap,.faq-grid,.cta-wrap{grid-template-columns:1fr;gap:42px}.feature-row.reverse .feature-copy,.feature-row.reverse .feature-visual{order:initial}.feature-visual{min-height:340px}.feature-row{padding:34px 0}.plans-wrap{gap:46px}
  .audience-grid{grid-template-columns:1fr}.audience-card.active{transform:none}
  .principle-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1.2fr 1fr 1fr}.footer-grid>div:last-child{display:none}
}

@media (max-width: 590px) {
  .section-pad{padding:62px 0}.hero{padding-top:50px}.hero h1{letter-spacing:-.045em}.hero-actions{display:grid}.hero-actions .btn{width:100%}.hero-points{gap:11px 16px;font-size:.75rem}
  .product-visual{margin-top:4px}.app-shell{grid-template-columns:1fr;transform:none;border-radius:17px}.app-sidebar{display:none}.app-content{padding:12px}.app-topbar{padding:2px 2px 0}.dashboard-grid{gap:7px}.panel{padding:10px}.metric-grid{gap:7px}.metric-card{padding:9px}.metric-card strong{font-size:.8rem}.line-chart{min-height:125px}.visual-badge{top:-13px;right:8px}
  .trust-grid{grid-template-columns:repeat(2,1fr)}
  .section-heading h2,.plans-copy h2,.cta h2{font-size:clamp(2rem,10vw,3.2rem)}
  .feature-visual{min-height:320px}.tenant-hub{width:95px;height:95px;font-size:.75rem}.tenant-card{width:145px;padding:12px;font-size:.74rem}.tc1{left:4%;top:9%}.tc2{right:4%;top:19%}.tc3{right:8%;bottom:9%}.mobile-card{width:215px;min-height:320px}.fi1{left:2%;top:10%}.fi2{right:2%;bottom:9%}.floating-info{padding:8px 9px}.floating-info span{font-size:.56rem}
  .module-grid{grid-template-columns:1fr}.module-card{min-height:0}.principle-grid{grid-template-columns:1fr}.principle-grid article{padding-inline:0}
  .demo-form{grid-template-columns:1fr}.demo-form .full{grid-column:auto}.demo-form button.full,.form-note{grid-column:auto}
  .footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column}.footer-grid>div:last-child{display:grid}
}

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

/* ---------------------------------------------
   Loading screen, back-to-top and CubyWeb credit
---------------------------------------------- */
body.is-loading { overflow: hidden; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 34%),
    color-mix(in srgb, var(--page) 96%, var(--surface-2));
  transition: opacity .42s ease, visibility .42s ease;
}

body:not(.is-loading) .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card {
  width: min(330px, 82vw);
  display: grid;
  justify-items: center;
  gap: 17px;
  padding: 30px 30px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.loader-card img {
  width: min(210px, 72%);
  height: auto;
}

.loader-label {
  color: #607477;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.loader-track {
  position: relative;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #eaf6f3;
}

.loader-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
  animation: contaxLoadBar 1.05s ease-in-out infinite;
}

@keyframes contaxLoadBar {
  from { transform: translateX(-110%); }
  to { transform: translateX(300%); }
}

.go-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 25%, var(--line));
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 15px 34px rgba(3,127,103,.24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.96);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, box-shadow .2s ease;
}

.go-top svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.go-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.footer-credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.cubyweb-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
}

.cubyweb-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.cubyweb-link strong {
  color: #ff7b00;
  font-size: .76rem;
  letter-spacing: .035em;
  transition: filter .18s ease, transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .go-top:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 42px rgba(3,127,103,.30);
  }

  .cubyweb-link:hover strong {
    filter: brightness(1.08);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .cubyweb-link:hover img { transform: rotate(-4deg) scale(1.06); }
  .cubyweb-link img { transition: transform .18s ease; }
}

@media (max-width: 590px) {
  .go-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .footer-credit { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .loader-track span { animation: none; width: 100%; }
  .page-loader, .go-top { transition: none; }
}
