@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

/* Layout: light, left-aligned hero with a tilted laptop showing the live product UI on the right.
   Palette (Coolors): #fafafa ground, #000000 ink & hardware, #018bcd bright blue accent,
   #0f3d91 navy primary & feature surfaces, #86a873 sage for positive/status states. */
:root {
  --bg: #fafafa;
  --black: #000000;
  --blue: #018bcd;
  --navy: #0f3d91;
  --sage: #86a873;
  --ink: #000000;
  --ink-soft: #4a5260;
  --surface: #ffffff;
  --surface-2: #f0f4f9;
  --alt: #f2f4f7;
  --line: #e2e6ec;
  --display: "Comfortaa", sans-serif;
  --text: "Comfortaa", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--text) !important; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display) !important; line-height: 1.12 !important; margin: 0; text-wrap: balance; letter-spacing: -0.015em !important; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem) !important; font-weight: 700 !important; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.55rem) !important; font-weight: 700 !important; max-width: 22ch; }
h3 { font-size: 1.35rem !important; font-weight: 700 !important; }
p { margin: 0; font-family: var(--text) !important; }
.lede { font-family: var(--text) !important; font-size: 1.08rem !important; color: var(--ink-soft); max-width: 48ch; line-height: 1.65 !important; }
.btn { display: inline-flex !important; align-items: center; gap: 8px; font: 600 .95rem/1 var(--text) !important; padding: 14px 24px !important; border-radius: 999px !important; text-decoration: none !important; cursor: pointer; border: 1.5px solid var(--navy) !important; background: var(--navy) !important; color: var(--bg) !important; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--blue) !important; border-color: var(--blue) !important; color: #ffffff !important; transform: translateY(-1px); }
.btn.sec { background: #ffffff !important; color: var(--black) !important; border-color: #d0d7e2 !important; }
.btn.sec:hover { border-color: var(--black) !important; background: #ffffff !important; color: var(--black) !important; }
.btn.sm { padding: 10px 18px !important; font-size: .9rem !important; }
.btn.dark { background: var(--black) !important; border-color: var(--black) !important; color: var(--bg) !important; }
.btn.dark:hover { background: var(--navy) !important; border-color: var(--navy) !important; color: #ffffff !important; }
.pill { display: inline-flex !important; align-items: center; gap: 8px; font: 600 .95rem/1 var(--text) !important; padding: 14px 24px !important; border-radius: 999px !important; text-decoration: none !important; cursor: pointer; border: 1.5px solid var(--navy) !important; background: var(--navy) !important; color: var(--bg) !important; transition: background .15s, color .15s, border-color .15s; }
.pill:hover { background: var(--blue) !important; border-color: var(--blue) !important; color: #ffffff !important; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(250, 250, 250, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 700 1.35rem/1 var(--display) !important; letter-spacing: -0.02em !important; color: var(--black); text-decoration: none; }
.mark img { width: 30px; height: 30px; object-fit: contain; display: block; flex: none; }
.mark span { font-weight: 400 !important; color: var(--blue); }
.top nav { display: flex; gap: 4px; margin-right: auto; }
.top nav a { color: #262b33; text-decoration: none; font-weight: 500 !important; font-size: .92rem !important; padding: 8px 12px; border-radius: 0; transition: background .15s, color .15s; }
.top nav a:hover { background: var(--alt); color: var(--black); }
.top .actions { display: flex; align-items: center; gap: 14px; }
.top .login { color: var(--ink-soft); font-weight: 500 !important; font-size: .92rem !important; text-decoration: none; padding: 8px 4px; }
.top .login:hover { color: var(--black); }
.top .sep { width: 1px; height: 20px; background: var(--line); }
.menu { display: none; }
@media (max-width: 900px) {
  .top nav, .top .login, .top .sep { display: none; }
  .top .mark { margin-right: auto; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font-weight: 600 !important; padding: 10px 4px; color: var(--black); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { display: flex; flex-direction: column; gap: 0; position: absolute; right: 0; top: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 0; min-width: 220px; padding: 6px; margin: 0; box-shadow: 0 12px 30px rgba(0,0,0,.1); }
  .menu nav a { padding: 12px 14px; }
}

/* PrimeAgile CMS Navigation (#primeagile__10956) — matches homepage header */
#primeagile__10956 {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
  box-sizing: border-box;
  padding-inline: max(20px, calc((100% - 1200px) / 2 + 20px));
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line, #e2e6ec);
  font-family: var(--text, "Comfortaa", sans-serif) !important;
}
#primeagile__10956 > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
#primeagile__10956 img.logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
#primeagile__10956 > div {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
#primeagile__10956 > div > div {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4px;
}
#primeagile__10956 a:not(.login-btn):not(.request-demo-btn) {
  color: #262b33 !important;
  text-decoration: none !important;
  font-family: var(--text, "Comfortaa", sans-serif) !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  line-height: 1.2 !important;
  padding: 8px 12px;
  border-radius: 0;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
#primeagile__10956 a:not(.login-btn):not(.request-demo-btn):hover {
  background: var(--alt, #f2f4f7);
  color: var(--black, #000000) !important;
}
#primeagile__10956 a.login-btn {
  margin-left: auto !important;
  color: var(--ink-soft, #4a5260) !important;
  text-decoration: none !important;
  font-family: var(--text, "Comfortaa", sans-serif) !important;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  line-height: 1.2 !important;
  padding: 8px 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: color 0.15s;
}
#primeagile__10956 a.login-btn:hover {
  color: var(--black, #000000) !important;
}
#primeagile__10956 a.login-btn::after {
  content: "";
  width: 1px;
  height: 20px;
  background: var(--line, #e2e6ec);
  display: inline-block;
}
#primeagile__10956 a.request-demo-btn {
  margin-left: 14px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--text, "Comfortaa", sans-serif) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  line-height: 1 !important;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--black, #000000);
  background: var(--black, #000000);
  color: var(--bg, #fafafa) !important;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
#primeagile__10956 a.request-demo-btn:hover {
  background: var(--navy, #0f3d91);
  border-color: var(--navy, #0f3d91);
  color: #ffffff !important;
  transform: translateY(-1px);
}
#primeagile__10956 > button[aria-label="mobile-menu-toggle"] {
  display: none;
  background: transparent;
  border: 0;
  color: var(--black, #000000);
  padding: 8px;
  border-radius: 999px;
  cursor: pointer;
  margin-left: auto;
}
@media (max-width: 900px) {
  #primeagile__10956 {
    flex-wrap: wrap;
    gap: 12px;
  }
  #primeagile__10956 > button[aria-label="mobile-menu-toggle"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #primeagile__10956 > div {
    flex: 1 0 100%;
  }
  #primeagile__10956 > div > div {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface, #ffffff);
    border: 1px solid var(--line, #e2e6ec);
    border-radius: 0;
    padding: 10px;
    margin-bottom: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }
  #primeagile__10956 a:not(.login-btn):not(.request-demo-btn),
  #primeagile__10956 a.login-btn {
    margin-left: 0 !important;
    padding: 12px 14px;
  }
  #primeagile__10956 a.login-btn::after {
    display: none;
  }
  #primeagile__10956 a.request-demo-btn {
    margin: 6px 0 0 !important;
    align-self: flex-start;
  }
}
@media (max-width: 640px) {
  #primeagile__10956 {
    min-height: 64px;
    padding-inline: 16px;
  }
  #primeagile__10956 img.logo {
    height: 28px;
  }
}

/* Hero: sticky scroll-reveal — banner starts centered, then lifts up while the laptop rises into that space */
.hero { position: relative; z-index: 6; }
.hero::after { content: ""; display: block; height: 720px; }
.hero-sticky { position: sticky; top: 74px; overflow-x: clip; overflow-y: visible; padding-block: 22px 32px; }
.hero .wrap { max-width: min(1600px, calc(100vw - 32px)); display: grid; gap: 36px; position: relative; }
.hero-top { position: relative; z-index: 3; width: 100%; max-width: 1160px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 4vw, 56px); align-items: end; will-change: transform; transform: translate3d(0, calc((1 - var(--hp, 1)) * 27vh), 0); }
.hero h1 { font-size: clamp(2.05rem, 3.8vw, 3.1rem) !important; font-weight: 700 !important; color: var(--black); line-height: 1.12 !important; animation: hero-enter .7s cubic-bezier(.22,1,.36,1) .06s both; }
.hero h1 .accent { color: var(--blue); }
.hero-aside { display: grid; gap: 16px; align-content: end; padding-bottom: 2px; }
.hero-aside .lede { animation: hero-enter .65s cubic-bezier(.22,1,.36,1) .18s both; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; animation: hero-enter .6s cubic-bezier(.22,1,.36,1) .3s both; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.call-note { font-family: var(--text) !important; font-size: .9rem !important; color: var(--ink-soft); }
.call-note a { font-family: var(--text) !important; color: var(--black); font-weight: 600 !important; text-decoration: none; border-bottom: 1px solid #c5cdd9; padding-bottom: 1px; }
.call-note a:hover { color: var(--blue); border-color: var(--blue); }
.scroll-cue { position: absolute; left: 50%; top: calc(100svh - 142px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .84rem !important; font-weight: 500 !important; text-decoration: none; padding: 8px 14px; border-radius: 99px; opacity: clamp(0, calc(1 - var(--hp, 1) * 4.5), 1); transition: color .15s; z-index: 4; }
.scroll-cue:hover { color: var(--black); }
.scroll-cue span { animation: hero-enter .55s ease .75s both; }
.scroll-cue svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; animation: hero-enter .55s ease .75s both, cue-bob 2.2s ease-in-out 1.3s infinite; }
.scroll-cue.gone { pointer-events: none; }
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Laptop stage: wide full-canvas framing with generous wings for floating cards */
.stage-shell { width: 100%; background: var(--alt); border: 1px solid var(--line); border-radius: 0; padding: clamp(24px, 3vw, 38px) clamp(18px, 3vw, 40px) clamp(16px, 2.2vw, 24px); background-image: radial-gradient(rgba(15, 61, 145, 0.1) 1px, transparent 1px); background-size: 22px 22px; will-change: transform, opacity; opacity: var(--hp, 1); transform: translate3d(0, calc((1 - var(--hp, 1)) * 200px), 0) scale(calc(.92 + .08 * var(--hp, 1))); }
.stage-shell.locked { pointer-events: none; }
.stage-canvas { position: relative; display: flex; align-items: center; justify-content: center; }
.stage { width: 100%; max-width: 780px; margin-inline: auto; container-type: inline-size; position: relative; perspective: 2000px; text-align: left; z-index: 2; }
.stage::before { content: ""; position: absolute; inset: 4% 2% -2%; background: radial-gradient(closest-side, rgba(1,139,205,.14), rgba(15,61,145,.05) 55%, transparent); z-index: 0; pointer-events: none; }

/* Floating PrimeAgile module tiles — blue/navy icon squares in banner orbit, transparent black icon+label when landed beside the laptop */
.ftile { position: absolute; top: 0; left: 0; z-index: 4; width: 96px !important; min-height: 76px !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 10px 8px !important; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px !important; text-align: center; cursor: pointer; font-family: var(--text) !important; color: var(--black) !important; box-shadow: none !important; transition: background .28s ease, color .28s ease, width .3s ease, min-height .3s ease, padding .3s ease, gap .3s ease; will-change: transform, opacity, filter; }
.ftile:hover { color: var(--blue) !important; z-index: 8 !important; }
.ftile svg { width: 32px; height: 32px; flex: none; display: block; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: width .3s ease, height .3s ease, color .28s ease; }
.ftile b, .ftile strong, .ftile span { display: block; font-size: .72rem !important; font-weight: 600 !important; color: currentColor !important; line-height: 1.2 !important; white-space: normal; overflow-wrap: break-word; opacity: 1; transition: opacity .28s ease, color .28s ease; }
.ftile.banner-mode { width: 92px !important; height: auto !important; min-height: 84px !important; padding: 12px 10px !important; gap: 6px !important; background: var(--blue) !important; color: #ffffff !important; }
.ftile.banner-mode:hover { background: var(--navy) !important; color: #ffffff !important; }
.ftile.navy.banner-mode { background: var(--navy) !important; }
.ftile.navy.banner-mode:hover { background: var(--blue) !important; }
.ftile.banner-mode svg { width: 30px; height: 30px; }
.ftile.ben-flight { width: 42px !important; height: 42px !important; min-height: 42px !important; padding: 0 !important; gap: 0 !important; background: transparent !important; color: var(--navy) !important; }
.ftile.ben-flight svg { width: 40px; height: 40px; }
.ftile.ben-flight b, .ftile.ben-flight strong, .ftile.ben-flight span { display: none !important; opacity: 0 !important; max-height: 0 !important; pointer-events: none !important; }
@media (max-width: 1080px), (max-height: 680px) {
  .ftile { display: none; }
  .stage { max-width: 820px; }
}
.mod-strip { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; font-size: .86rem !important; color: var(--ink-soft); }
.mod-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-jump button { background: #ffffff; border: 1px solid var(--line); color: var(--black); font: 500 .8rem var(--text) !important; padding: 6px 13px; border-radius: 999px; cursor: pointer; transition: border-color .15s, color .15s; }
.mod-jump button:hover { border-color: var(--blue); color: var(--navy); }
.laptop { position: relative; z-index: 1; font-size: calc(100cqw / 68) !important; width: 60em; margin-inline: auto; opacity: 1; transform: rotateX(calc(2deg + (1 - var(--hp, 1)) * 8deg)); transform-origin: 50% 65%; transition: transform .35s ease, opacity .25s ease; font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important; line-height: 1.3 !important; }
.stage:hover .laptop, .stage:focus-within .laptop { transform: rotateX(0deg); }
@media (max-width: 880px), (max-height: 680px) {
  .hero::after { display: none; }
  .hero-sticky { position: static; padding-block: 32px 48px; }
  .hero-top { grid-template-columns: 1fr; align-items: start; transform: none !important; }
  .stage-shell { opacity: 1 !important; transform: none !important; pointer-events: auto !important; }
  .scroll-cue { display: none; }
}
.lid { background: linear-gradient(160deg, rgba(26,29,36,.9), rgba(8,9,12,.92) 45%, rgba(0,0,0,.92)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid #2e323c; border-radius: 1.2em 1.2em .3em .3em; padding: .85em .85em 1.05em; box-shadow: 0 2.6em 5em rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.18), inset 0 0 0 1px rgba(20,20,20,.8); position: relative; }
.lid::before { content: ""; position: absolute; top: .38em; left: 50%; width: .32em; height: .32em; margin-left: -.16em; background: radial-gradient(circle at 35% 35%, #4b5568, #1a1f29); border-radius: 50%; }
.screen { position: relative; background: rgba(13, 21, 38, .76); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #e8eef9; border-radius: .45em; overflow: hidden; display: grid; grid-template-columns: 10.8em minmax(0, 1fr); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5; background: linear-gradient(122deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.05) 22%, rgba(255,255,255,.015) 38%, rgba(255,255,255,0) 45%, rgba(255,255,255,0) 70%, rgba(255,255,255,.04) 84%, rgba(255,255,255,0) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), inset 0 -1px 0 rgba(0,0,0,.35); transition: opacity .5s ease; }
.stage:hover .screen::after, .stage:focus-within .screen::after { opacity: .68; }
.base { height: 1.05em; width: 108%; margin-left: -4%; background: linear-gradient(#2c2c2c, var(--black)); border-radius: 0 0 1.5em 1.5em; position: relative; box-shadow: 0 1.2em 2.2em rgba(0,0,0,.24); }
.base::before { content: ""; position: absolute; top: 0; left: 50%; width: 9em; height: .4em; margin-left: -4.5em; background: #141414; border-radius: 0 0 .6em .6em; }

/* Dashboard Sidebar */
.side { background: rgba(10, 17, 31, .64); border-right: 1px solid rgba(255,255,255,.08); padding: .85em .75em; display: flex; flex-direction: column; gap: .1em; font-size: .88em !important; opacity: .94; }
.side .brand { display: flex; gap: .55em; align-items: center; padding: 0 .2em .8em; }
.side .brand img { width: 1.9em; height: 1.9em; object-fit: contain; flex: none; }
.side .brand b { display: block; font-size: .95em !important; line-height: 1.1 !important; color: #ffffff; font-family: var(--display) !important; }
.side .brand small { display: block; font-size: .72em !important; color: #8c9bb8; }
.side .g { font-size: .64em !important; letter-spacing: .08em !important; color: #6b7c9c; padding: .85em .4em .3em; text-transform: uppercase !important; font-weight: 600 !important; }
.side .i { display: flex; align-items: center; gap: .6em; padding: .48em .45em; border-radius: .4em; color: #cfd9ec; font-size: .88em !important; }
.side .i svg { width: 1.05em; height: 1.05em; stroke: #8c9bb8; fill: none; stroke-width: 1.7; flex: none; }
.side .i:hover { background: rgba(255,255,255,.05); color: #ffffff; }
.side .out { margin-top: auto; color: #9fb0cc; }

/* Dashboard Main Area */
.dmain { min-width: 0; display: flex; flex-direction: column; background: transparent; opacity: .94; }
.dtop { display: flex; align-items: center; gap: .8em; padding: .55em 1.1em; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(14, 23, 42, .58); font-size: .78em !important; }
.dtop .crumb { font-weight: 600 !important; color: #e8eef9; }
.dtop .search { margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1em; width: 18em; background: #141f36; border: 1px solid #223252; border-radius: .45em; padding: .35em .65em; color: #7c8fae; }
.dtop .search kbd { font: 500 .85em var(--mono) !important; background: #0d1526; border: 1px solid #26385c; padding: .05em .35em; border-radius: .25em; color: #8fa3c4; }
.dtop .dacts { display: flex; align-items: center; gap: .5em; }
.dtop .dbtn { background: #12213d; border: 1px solid #1e3b6e; color: #56b4e9; padding: .32em .65em; border-radius: .4em; font-weight: 500 !important; white-space: nowrap; }
.dtop .today { color: #9fb0cc; white-space: nowrap; margin-left: .25em; }
.dtop .today b { color: #b7d9a4; font-weight: 600 !important; }
.dtop .user { display: flex; align-items: center; gap: .45em; margin-left: .3em; color: #e8eef9; font-weight: 500 !important; white-space: nowrap; }
.dtop .av { width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--blue); color: #ffffff; display: grid; place-items: center; font-weight: 700 !important; font-size: .9em !important; }

.dbody { padding: .85em 1.1em; display: flex; flex-direction: column; gap: .75em; flex: 1; min-height: 0; }
.dwelcome { background: linear-gradient(135deg, rgba(22,35,61,.7), rgba(17,27,48,.65)); border: 1px solid rgba(255,255,255,.09); border-radius: .65em; padding: .85em 1.1em; display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.dwelcome h4 { margin: 0; font: 700 1.45em/1.15 var(--display) !important; color: #ffffff; }
.dwelcome h4 span { display: block; color: var(--blue); }
.dwelcome p { margin: .25em 0 0; font-size: .78em !important; color: #8fa3c4; }
.ddate { background: #1a2740; border: 1px solid #2a3c5e; color: #dbe6f8; font-size: .74em !important; font-weight: 500 !important; padding: .45em .85em; border-radius: .45em; white-space: nowrap; }

.dmid { display: grid; grid-template-columns: 14.5em minmax(0, 1fr); gap: .75em; }
.dcard { background: rgba(17, 27, 48, .62); border: 1px solid rgba(255,255,255,.08); border-radius: .65em; padding: .8em .9em; min-width: 0; }
.dcard-h { display: flex; align-items: center; gap: .55em; margin-bottom: .65em; }
.dico { width: 1.75em; height: 1.75em; border-radius: .45em; display: grid; place-items: center; flex: none; font-size: .85em !important; font-weight: 700 !important; color: #fff; }
.dico.purple { background: #6d5ce7; }
.dico.blue { background: var(--blue); }
.dico.amber { background: #e69d12; }
.dcard-h b { display: block; font-size: .86em !important; color: #ffffff; line-height: 1.1 !important; }
.dcard-h small { display: block; font-size: .68em !important; color: #7c8fae; }

.tbox { background: rgba(20, 32, 56, .62); border: 1px solid rgba(255,255,255,.08); border-radius: .45em; padding: .5em .7em; margin-bottom: .45em; }
.tbox:last-child { margin-bottom: 0; }
.tbox span { display: block; font-size: .62em !important; letter-spacing: .06em !important; color: #8fa3c4; text-transform: uppercase !important; }
.tbox b { display: block; font-size: .95em !important; color: #ffffff; margin-top: .1em; }

.dbar { display: flex; align-items: center; justify-content: space-between; gap: .6em; margin-bottom: .5em; font-size: .72em !important; }
.dbar .cnt { color: #8fa3c4; }
.dbar .cnt b { background: #16294a; color: #56b4e9; padding: .15em .45em; border-radius: .3em; margin-right: .3em; }
.dbar .dseg { display: flex; align-items: center; gap: .25em; }
.dbar .dseg button { background: #142038; border: 1px solid #243658; color: #9fb0cc; font-family: inherit !important; font-size: 1em !important; font-weight: 500 !important; line-height: 1.2 !important; padding: .24em .62em; border-radius: .35em; cursor: pointer; }
.dbar .dseg button.on { background: var(--blue); border-color: var(--blue); color: #ffffff; }
.dbar .dseg.amber button.on { background: #e69d12; border-color: #e69d12; color: #0b1220; font-weight: 600 !important; }
.dbar .newbtn { background: #e69d12; color: #0b1220; font-family: inherit !important; font-size: 1em !important; font-weight: 700 !important; line-height: 1.2 !important; border: 0; border-radius: .35em; padding: .26em .68em; margin-left: .25em; white-space: nowrap; }

.dtbl { width: 100%; border-collapse: collapse; font-size: .7em !important; }
.dtbl th { text-align: left; font-weight: 600 !important; color: #6e81a3; font-size: .85em !important; letter-spacing: .05em !important; padding: .3em .45em .4em; border-bottom: 1px solid #1e2d4a; }
.dtbl td { padding: .42em .45em; border-bottom: 1px solid #18253d; color: #cfd9ec; vertical-align: middle; }
.dtbl tr:last-child td { border-bottom: 0; }
.dtbl .pname { color: #4db8f0; border-left: 2px solid var(--blue); padding-left: .55em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 22em; }
.dtbl .due { display: inline-block; background: #182742; color: #b7c8e6; font-weight: 600 !important; font-size: .86em !important; padding: .14em .58em; border-radius: 99px; white-space: nowrap; }
.dtbl .due.ok { background: rgba(134,168,115,.22); color: #c4e2b4; }
.dtbl .st { display: inline-block; background: #16294a; color: #6ec4f5; font-weight: 600 !important; font-size: .86em !important; padding: .16em .58em; border-radius: .3em; white-space: nowrap; }
.dtbl .st.pay { background: rgba(230,157,18,.2); color: #f6c96b; }
.dtbl .st.done { background: rgba(134,168,115,.22); color: #c4e2b4; }
.dtbl .wfbtn { background: #14223d; border: 1px solid #2b4573; color: #6ec4f5; font-family: inherit !important; font-size: .92em !important; font-weight: 600 !important; line-height: 1.2 !important; padding: .24em .65em; border-radius: .35em; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.dtbl .wfbtn:hover { border-color: var(--blue); background: #193057; }
.dtbl .wfbtn.pay { background: rgba(230,157,18,.2); border-color: rgba(230,157,18,.5); color: #f6c96b; }
.dtbl .wfbtn.done { background: rgba(134,168,115,.22); border-color: var(--sage); color: #c4e2b4; }

/* Sections */
section { padding-block: clamp(60px, 8vw, 108px); border-top: 1px solid var(--line); }
section.alt { background: var(--alt); }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; }

/* Benefits: Apple-style 3x2 square hairline grid, zero eyebrows */
#benefits { position: relative; z-index: 2; }
.ben-grid { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 0; }
.ben-elephant { position: absolute; inset: 0; width: 100%; height: 100%; padding: 16px 28px; pointer-events: none; z-index: 2; opacity: 0; transform: scale(.98); transition: opacity .55s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1); }
.ben-grid:hover .ben-elephant { opacity: .09; transform: scale(1); }
.ben-card { background: var(--surface); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; transition: background .2s ease; }
.ben-card > * { position: relative; z-index: 3; }
.ben-card:hover { background: var(--bg); }
.ben-card.blue { background: var(--blue); color: #ffffff; }
.ben-card.blue:hover { background: #017db8; }
.ben-card.navy { background: var(--navy); color: #ffffff; }
.ben-card.navy:hover { background: #0b3175; }
.ben-card.lb { background: #e5f4fb; }
.ben-card.lb:hover { background: #d6eef9; }
.ben-card.lb p { color: #2b3e50; }
.ben-card.blue h3 { color: #ffffff; }
.ben-card.blue p { color: rgba(255, 255, 255, 0.9); }
.ben-card.blue .ben-ico [stroke]:not([stroke="none"]) { stroke: #ffffff; }
.ben-card.blue .ben-ico [fill^="rgba"] { fill: rgba(255, 255, 255, 0.18); }
.ben-card.blue .ben-ico [stroke="none"][fill]:not([fill^="rgba"]) { fill: #ffffff; }
.ben-ico { width: 42px; height: 42px; display: block; flex: none; }
.ben-card h3 { font-size: 1.18rem !important; font-weight: 700 !important; color: var(--black); line-height: 1.25 !important; }
.ben-card p { font-size: .95rem !important; color: var(--ink-soft); line-height: 1.6 !important; }
@media (max-width: 960px) { .ben-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ben-grid { grid-template-columns: 1fr; } .ben-card { padding: 22px 18px; } }

/* Modules: sticky scroll-through tabs on desktop */
#modules { padding-block: 0; position: relative; }
#modules::after { content: ""; display: block; height: 2000px; }
.mod-sticky { position: sticky; top: 74px; min-height: calc(100svh - 74px); padding-block: clamp(32px, 4.5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.mod-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.mod-head-row .sec-head { margin-bottom: 0; }
.modules { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); }
.tabs { display: grid; gap: 3px; align-content: start; }
.tabs .grp { font-weight: 600 !important; font-size: .85rem !important; color: var(--ink-soft); margin: 16px 0 4px; padding-left: 14px; }
.tabs .grp:first-child { margin-top: 0; }
.tabs button { text-align: left; font: 500 .98rem var(--text) !important; color: #363e4a; background: none; border: 0; border-left: 3px solid transparent; padding: 8px 14px; cursor: pointer; border-radius: 0; transition: background .15s, color .15s, border-color .15s; }
.tabs button:hover { background: var(--surface); color: var(--black); }
.tabs button[aria-selected="true"] { border-left-color: var(--blue); background: var(--surface); color: var(--navy); font-weight: 600 !important; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.panel { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 0; padding: clamp(22px, 4vw, 42px); min-width: 0; box-shadow: 0 4px 20px rgba(0,0,0,.03); }
.panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform-origin: left; transform: scaleX(var(--mp, .1)); transition: transform .12s linear; }
.panel-inner { animation: mod-swap .28s cubic-bezier(.22,1,.36,1) both; }
@keyframes mod-swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel h3 { font-size: 1.9rem !important; margin-bottom: 10px; color: var(--black); }
.panel .intro { color: var(--ink-soft); max-width: 56ch; margin-bottom: 24px; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.panel li { padding-left: 24px; position: relative; max-width: 60ch; color: #1c222b; }
.panel li::before { content: ""; position: absolute; left: 0; top: .7em; width: 11px; height: 2.5px; background: var(--sage); border-radius: 0; }
.panel .links { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem !important; color: var(--ink-soft); }
.panel .links button { font: 500 .95rem var(--text) !important; color: var(--blue); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; margin-right: 14px; }
.panel .links button:hover { color: var(--navy); }
@media (max-width: 800px), (max-height: 680px) {
  #modules::after { display: none; }
  .mod-sticky { position: static; min-height: 0; padding-block: clamp(60px, 8vw, 108px); }
}
@media (max-width: 800px) {
  .modules { grid-template-columns: 1fr; gap: 20px; }
  .tabs { display: flex; flex-wrap: wrap; gap: 8px; overflow-x: visible; padding-bottom: 0; }
  .tabs .grp { display: none; }
  .tabs button { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 8px 15px; font-size: .88rem !important; }
  .tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--bg); box-shadow: none; }
}

/* Record + feed */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.split .copy { display: grid; gap: 18px; }
.feed { background: var(--surface); border: 1px solid var(--line); border-radius: 0; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.03); }
.feed-head { padding: 16px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; background: var(--bg); }
.feed-head b { font-family: var(--display) !important; font-size: 1.2rem !important; font-weight: 600 !important; color: var(--black); }
.feed-head span { font-size: .85rem !important; color: var(--ink-soft); }
.feed ol { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 82px 132px minmax(0, 1fr); gap: 14px; padding: 15px 22px; border-bottom: 1px solid var(--line); align-items: baseline; }
.feed li:last-child { border-bottom: 0; }
.feed time { font: 400 .82rem var(--mono) !important; color: var(--ink-soft); }
.feed .tag { display: inline-block; justify-self: start; font-weight: 600 !important; font-size: .82rem !important; color: #2a421f; background: rgba(134, 168, 115, 0.24); padding: 2px 10px; border-radius: 0; }
.feed .ev { line-height: 1.45 !important; color: #1c222b; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .feed li { grid-template-columns: 1fr; gap: 4px; } }

/* Builder tree */
.tree-box { background: var(--navy); color: var(--bg); border-radius: 0; padding: 28px 28px 24px; overflow-x: auto; box-shadow: 0 12px 32px rgba(15,61,145,.18); }
.tree-box .cap { font-size: .88rem !important; color: rgba(250,250,250,.78); margin-bottom: 14px; }
.tree, .tree ul { list-style: none; margin: 0; padding: 0; }
.tree ul { margin-left: 11px; padding-left: 20px; border-left: 1px solid rgba(1,139,205,.65); }
.tree li { padding-block: 5px; white-space: nowrap; }
.tree code { font: 500 .93rem var(--mono) !important; color: var(--bg); background: rgba(0,0,0,.32); padding: 2px 9px; border-radius: 0; }
.tree .n { color: rgba(250,250,250,.8); font-size: .9rem !important; margin-left: 8px; }
@media (max-width: 700px) {
  .tree-box { padding: 20px 16px; overflow-x: visible; }
  .tree ul { margin-left: 6px; padding-left: 12px; }
  .tree li { white-space: normal; line-height: 1.5 !important; }
  .tree code { font-size: .8rem !important; padding: 2px 7px; word-break: break-word; }
  .tree .n { font-size: .82rem !important; margin-left: 6px; display: inline-block; }
}
.points { display: grid; gap: 16px; }
.points p { max-width: 54ch; color: var(--ink-soft); }
.points b { font-weight: 600 !important; color: var(--black); }

/* IntersectionObserver reveal & editorial SVG animations */
.scroll-art { display: block; width: 100%; height: auto; overflow: visible; margin-top: 12px; }
.builder-visual { display: grid; gap: 22px; min-width: 0; }

.io-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0ms); }
.io-ready [data-reveal].in-view { opacity: 1; transform: none; }

.io-ready .feed li { opacity: 0; transform: translateX(16px); transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
.io-ready .feed.in-view li { opacity: 1; transform: none; }
.io-ready .feed.in-view li:nth-child(1) { transition-delay: 80ms; }
.io-ready .feed.in-view li:nth-child(2) { transition-delay: 150ms; }
.io-ready .feed.in-view li:nth-child(3) { transition-delay: 220ms; }
.io-ready .feed.in-view li:nth-child(4) { transition-delay: 290ms; }
.io-ready .feed.in-view li:nth-child(5) { transition-delay: 360ms; }
.io-ready .feed.in-view li:nth-child(6) { transition-delay: 430ms; }

.io-ready .names span { opacity: 0; transform: translateY(14px); transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
.io-ready .names.in-view span { opacity: 1; transform: none; }
.io-ready .names.in-view span:nth-child(1) { transition-delay: 40ms; }
.io-ready .names.in-view span:nth-child(2) { transition-delay: 110ms; }
.io-ready .names.in-view span:nth-child(3) { transition-delay: 180ms; }
.io-ready .names.in-view span:nth-child(4) { transition-delay: 250ms; }
.io-ready .names.in-view span:nth-child(5) { transition-delay: 320ms; }

.io-ready .ben-card { opacity: 0; transform: translateY(16px); transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1), background .2s ease; }
.io-ready .ben-grid.in-view .ben-card { opacity: 1; transform: none; }
.io-ready .ben-grid.in-view .ben-card:nth-of-type(1) { transition-delay: 40ms; }
.io-ready .ben-grid.in-view .ben-card:nth-of-type(2) { transition-delay: 95ms; }
.io-ready .ben-grid.in-view .ben-card:nth-of-type(3) { transition-delay: 150ms; }
.io-ready .ben-grid.in-view .ben-card:nth-of-type(4) { transition-delay: 205ms; }
.io-ready .ben-grid.in-view .ben-card:nth-of-type(5) { transition-delay: 260ms; }
.io-ready .ben-grid.in-view .ben-card:nth-of-type(6) { transition-delay: 315ms; }

/* SVG elements animated when .scroll-art enters viewport */
.io-ready .scroll-art [data-parallax] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1); transition-delay: var(--sd, 0ms); }
.io-ready .scroll-art.in-view [data-parallax] { opacity: 1; transform: translateY(0); }
.io-ready .scroll-art [data-draw] { transition: stroke-dashoffset .9s cubic-bezier(.22,1,.36,1); transition-delay: var(--dd, 0ms); }
.io-ready .scroll-art.in-view [data-draw] { stroke-dashoffset: 0 !important; }
.io-ready .scroll-art [data-pop] { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .45s ease, transform .6s cubic-bezier(.34,1.56,.64,1); transition-delay: var(--pd, 480ms); }
.io-ready .scroll-art.in-view [data-pop] { opacity: 1; transform: scale(1); }
.scroll-art.in-view [data-px] { animation: svg-drift 6.5s ease-in-out infinite alternate; animation-delay: 850ms; }
@keyframes svg-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(8px, -4px, 0); } }

/* Customers */
.names { display: flex; flex-wrap: wrap; gap: 14px 48px; font-family: var(--display) !important; font-weight: 700 !important; font-size: clamp(1.25rem, 2.6vw, 1.85rem) !important; color: var(--black); }
.names span { white-space: nowrap; }
.tenant-note { margin-top: 30px; max-width: 62ch; }

/* Demo */
.demo { background: var(--navy); color: var(--bg); border-top: 0; }
.demo .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); }
.demo .copy { display: grid; gap: 18px; align-content: start; }
.demo .lede { color: rgba(250,250,250,.86); }
.demo .contact { margin-top: 10px; display: grid; gap: 4px; color: rgba(250,250,250,.86); font-size: .98rem !important; }
.demo .contact b { color: var(--bg); font-weight: 600 !important; margin-right: 6px; }
form { background: var(--bg); color: var(--black); border-radius: 0; padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; min-width: 0; box-shadow: 0 18px 40px rgba(0,0,0,.22); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, legend { font-weight: 600 !important; font-size: .95rem !important; display: block; margin-bottom: 6px; padding: 0; color: var(--black); }
input[type=text], input[type=email], textarea { width: 100%; font: 400 1rem var(--text) !important; padding: 12px 14px; border: 1.5px solid #c5cdd9; border-radius: 0; background: #ffffff; color: var(--black); }
input[type=text]:focus, input[type=email]:focus, textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
textarea { min-height: 96px; resize: vertical; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { margin: 0; font-weight: 500 !important; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { display: inline-block; padding: 8px 15px; border: 1.5px solid #c5cdd9; background: #ffffff; color: var(--black); border-radius: 999px; cursor: pointer; font-size: .93rem !important; }
.checks input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--bg); }
.checks input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
form .pill { background: var(--navy); border-color: var(--navy); color: var(--bg); justify-self: start; }
form .pill:hover { background: var(--blue); border-color: var(--blue); color: #ffffff; }
.fine { font-size: .88rem !important; color: var(--ink-soft); }
@media (max-width: 800px) { .demo .grid { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

/* PrimeAgile CMS Demo Section (#primeagile__15440 / DEMO-FORM) */
#primeagile__15440 {
  padding-block: clamp(60px, 8vw, 108px) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
#primeagile__15441 > div > div {
  display: grid;
  gap: 18px;
  align-content: start;
}
#primeagile__15440 #demo-title,
#primeagile__15441 h2 {
  color: var(--bg, #fafafa) !important;
}
#primeagile__15441 .lede {
  color: rgba(250, 250, 250, 0.86) !important;
}
#primeagile__15441 .contact {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  color: rgba(250, 250, 250, 0.86) !important;
  font-size: .98rem !important;
}
#primeagile__15441 .contact b,
#primeagile__15441 .contact strong {
  color: var(--bg, #fafafa) !important;
  font-weight: 600 !important;
  margin-right: 6px;
}
form#primeagile__15442 {
  background: var(--bg, #fafafa) !important;
  color: var(--black, #000000) !important;
  border-radius: 0 !important;
  padding: clamp(20px, 4vw, 36px) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  min-width: 0;
}
[data-primeagile-object="DEMO-FORM"] {
  display: grid !important;
  gap: 18px !important;
}
[data-primeagile-object="FEATURES-FIELDSET"] {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
[data-primeagile-object="FEATURES-FIELDSET"] > div > div {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  padding: 8px 16px !important;
  border: 1.5px solid #c5cdd9 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: var(--black, #000000) !important;
  font-size: 0 !important;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
[data-primeagile-object="FEATURES-FIELDSET"] > div > div:hover {
  border-color: var(--navy, #0f3d91) !important;
}
[data-primeagile-object="FEATURES-FIELDSET"] > div > div:has(input[type="checkbox"]:checked) {
  background: var(--navy, #0f3d91) !important;
  border-color: var(--navy, #0f3d91) !important;
  color: var(--bg, #fafafa) !important;
}
[data-primeagile-object="FEATURES-FIELDSET"] > div > div:has(input[type="checkbox"]:focus-visible) {
  outline: 3px solid var(--blue, #018bcd);
  outline-offset: 2px;
}
[data-primeagile-object="FEATURES-FIELDSET"] input[type="checkbox"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2;
}
[data-primeagile-object="FEATURES-FIELDSET"] label {
  display: inline !important;
  margin: 0 !important;
  font-weight: 500 !important;
  font-size: .93rem !important;
  line-height: 1.2 !important;
  color: inherit !important;
  pointer-events: none;
  user-select: none;
}
[data-primeagile-object="FEATURES-FIELDSET"] input[type="checkbox"]:checked + label {
  color: var(--bg, #fafafa) !important;
}
[data-primeagile-object="DEMO-FORM"] button[type="submit"],
#primeagile__15452 {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  justify-self: start;
  font: 600 .95rem/1 var(--text) !important;
  padding: 14px 26px !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--navy, #0f3d91) !important;
  background: var(--navy, #0f3d91) !important;
  color: var(--bg, #fafafa) !important;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
[data-primeagile-object="DEMO-FORM"] button[type="submit"]:hover,
#primeagile__15452:hover {
  background: var(--blue, #018bcd) !important;
  border-color: var(--blue, #018bcd) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
@media (max-width: 800px) {
  #primeagile__15440 { grid-template-columns: 1fr !important; }
  #primeagile__15443 { grid-template-columns: 1fr !important; }
}

/* Footer (standalone <footer> + PrimeAgile CMS #primeagile__11965) */
footer,
#primeagile__11965 {
  padding-block: 48px 40px !important;
  background: var(--black, #000000) !important;
  color: var(--bg, #fafafa) !important;
  border-top: 1px solid #1a1a1a !important;
  font-family: var(--text, "Comfortaa", sans-serif) !important;
}
#primeagile__11965 .cols,
#primeagile__11965 .base-row {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}
footer .mark,
#primeagile__11965 .mark { color: #ffffff !important; text-decoration: none !important; }
footer .mark .elephant-svg,
#primeagile__11965 .mark .elephant-svg { width: 32px; height: 32px; display: block; flex: none; }
footer .mark span,
#primeagile__11965 .mark span { color: #ffffff !important; font-weight: 400 !important; }
footer .mark .tm,
#primeagile__11965 .mark .tm { font-size: .5em !important; font-weight: 500 !important; vertical-align: super; margin-left: 1px; line-height: 0 !important; color: #ffffff !important; }
footer .cols,
#primeagile__11965 .cols { display: grid !important; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
footer h4,
#primeagile__11965 h4 { margin: 0 0 10px !important; font: 600 .95rem var(--text) !important; color: var(--bg, #fafafa) !important; }
footer ul,
#primeagile__11965 ul { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; gap: 8px; }
footer li,
#primeagile__11965 li { list-style: none !important; margin: 0; padding: 0; }
footer a,
#primeagile__11965 a { color: #c9d1dc !important; text-decoration: none !important; }
footer a:hover,
#primeagile__11965 a:hover { color: var(--blue, #018bcd) !important; text-decoration: underline !important; }
footer .mark:hover,
#primeagile__11965 .mark:hover { color: #ffffff !important; text-decoration: none !important; }
footer .base-row,
#primeagile__11965 .base-row {
  margin-top: 34px !important;
  padding-top: 18px !important;
  border-top: 1px solid #222222 !important;
  font-size: .9rem !important;
  color: #9aa3b2 !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
#primeagile__11970,
#primeagile__11970 > div { width: 100%; }
#primeagile__11970 > div > div {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  width: 100%;
}
@media (max-width: 700px) {
  footer .cols,
  #primeagile__11965 .cols { grid-template-columns: 1fr !important; }
}

/* Mobile polish: eliminate sideways scroll across all sections */
@media (max-width: 640px) {
  .top .wrap { gap: 10px; min-height: 64px; }
  .mark { font-size: 1.15rem !important; gap: 7px; }
  .mark img { width: 24px; height: 24px; }
  .top .btn.sm { padding: 8px 14px; font-size: .8rem !important; }
  .hero .wrap { max-width: 100%; padding-inline: 16px; gap: 24px; }
  .stage-shell { padding: 14px 12px 16px; border-radius: 0; }
  .laptop { font-size: calc(100cqw / 36) !important; width: 34em; transform: none !important; }
  .base { width: 104%; margin-left: -2%; }
  .screen { grid-template-columns: 1fr; }
  .side { display: none; }
  .dtop { padding: .55em .8em; gap: .5em; }
  .dtop .search, .dtop .dbtn { display: none; }
  .dtop .today { margin-left: auto; }
  .dbody { padding: .75em .8em; }
  .dmid { grid-template-columns: 1fr; }
  .dcard { padding: .75em .8em; }
  .dbar { flex-wrap: wrap; gap: .4em; }
  .dtbl .pname { max-width: 14em; }
  .dtbl th:nth-child(3), .dtbl td:nth-child(3),
  .dtbl th:nth-child(4), .dtbl td:nth-child(4) { display: none; }
  .mod-strip { flex-direction: column; align-items: flex-start; gap: 10px; }
  .names { gap: 12px 24px; }
  .names span { white-space: normal; }
  .scroll-art { overflow: hidden; }
  section { overflow-x: clip; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ftile, .hero h1, .hero-aside .lede, .hero .cta, .scroll-cue span, .scroll-cue svg,
  .io-ready [data-reveal], .io-ready .ben-card, .io-ready .feed li, .io-ready .names span,
  .io-ready .scroll-art [data-parallax], .io-ready .scroll-art [data-draw],
  .io-ready .scroll-art [data-pop], .scroll-art.in-view [data-px] {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    scale: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
}
