:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #f5f8ff;
  --ink: #122140;
  --muted: #536483;
  --teal: #1855d9;
  --blue: #366cf1;
  --line: #dee7f8;
  --radius: 16px;
}
html { scroll-padding-top: 100px; }
header { background: #fffffff2; border-color: #eaf0fa; }
.nav { min-height: 76px; }
.brand { letter-spacing: -.035em; }
.brand small { font-size: .62rem; letter-spacing: .09em; color: var(--teal); }
.brand > span:first-child { background: linear-gradient(145deg,#397bff,#1644c5); color: white; border-radius: 9px; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 30; background: white; padding: 8px 14px; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.hero { padding: clamp(74px,8vw,126px) 0 clamp(64px,7vw,98px); background: #f5f9ff; }
.hero::before { background: radial-gradient(ellipse at 86% 42%,#d9e7ff 0%,transparent 57%),linear-gradient(125deg,#fff 3%,#eff5ff 82%); }
.hero::after { background-image: linear-gradient(#8eabec22 1px,transparent 1px),linear-gradient(90deg,#8eabec22 1px,transparent 1px); background-size: 38px 38px; }
.hero h1 { font-size: clamp(2.65rem,5.1vw,4.85rem); letter-spacing: -.055em; }
.hero h1 em { background: linear-gradient(92deg,#1747d3,#286dec 66%,#5347d2); background-clip: text; color: transparent; }
.hero-copy > p:not(.eyebrow) { max-width: 32em; }
.btn { background: white; color: #17345f; border-color: #cfdef6; }
.btn:hover { background: #f2f7ff; }
.btn.primary, .primary { color: #fff; background: #225be6; box-shadow: 0 9px 20px #2859cd32; }
.btn.primary:hover { color: #fff; background: #1745bc; }
.preview { border: 1px solid #b8cdf4; background: white; border-radius: 19px; overflow: hidden; box-shadow: 0 26px 66px #315cb42e,0 1px 4px #365e9b22; }
.window { background: #f4f8ff; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); box-shadow: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 17px; color: #546a92; font-size: .75rem; }
.window > span:first-child { color: #6c8bc3; letter-spacing: .22em; font-size: .65rem; }
.screen, .shot { background: #fff; }
.screen { padding: clamp(18px,2.7vw,34px); }
.screen:has(> img) { padding: 0; }
.screen h2 { font-size: clamp(1.2rem,2.1vw,1.8rem); }
.screen .eyebrow { margin-bottom: 9px; }
.metrics { background: #e6eeff; border-color: #e6eeff; }
.metrics > * { background: #f6f9ff; }
.trace { padding: 0; margin: 19px 0 0; list-style: none; }
.trace li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: .85rem; color: var(--muted); }
.trace li::before { content: ''; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #2a63ea; box-shadow: 0 0 0 4px #eaf1ff; }
.hero-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--line); gap: 16px; margin-top: 42px; padding-top: 20px; }
.hero-strip > * { margin: 0; color: var(--muted); }
.hero-strip strong { display: block; color: var(--ink); }
.section { padding-block: clamp(64px,7vw,100px); }
.section h2 { letter-spacing: -.045em; }
.roles,.solutions,.workflow,#demo { background: #f6f9ff; }
.role-grid,.suite-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.role-grid > *, .suite-grid > *, .card, .status-grid > * { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px,2.6vw,30px); box-shadow: 0 7px 22px #3262b00c; min-width: 0; }
.role-grid > *, .suite-grid > * { position: relative; overflow: hidden; }
.role-grid > *::after { content: ''; position: absolute; width: 100px; height: 100px; border-radius: 50%; background: #e8f0ff; opacity: .7; top: -58px; right: -38px; pointer-events: none; }
.card > span,.role-grid > * > span,.suite-grid > * > span { color: var(--teal); font-size: .76rem; letter-spacing: .09em; font-weight: 750; display: inline-block; margin-bottom: 12px; }
.step { border-color: #94b6fb; }
.tab { background: white; color: var(--muted); }
.tab[aria-selected=true],.tab.active { background: #eaf1ff; border-color: #9cbaf7; color: #154ecb; font-weight: 700; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(17px,3vw,30px); align-items: center; }
.shot { border-color: #d8e5fc; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; border-color: #cee0fc; background: radial-gradient(ellipse at 90% 0%,#dceaff,transparent 70%),#f4f8ff; }
.cta .btn { flex: none; }
.footer { background: #f5f8ff; }
.footer p { margin: 0; }
.mega { position: relative; }
.mega summary { color: var(--muted); cursor: pointer; font-size: .9rem; list-style: none; white-space: nowrap; }
.mega summary::-webkit-details-marker { display: none; }
.mega summary::after { content: '⌄'; margin-left: 6px; }
.mega[open] summary { color: var(--teal); }
.mega-panel { position: absolute; top: calc(100% + 24px); left: 50%; transform: translateX(-50%); width: min(660px,calc(100vw - 32px)); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 58px #234c9530; }
.mega-panel a { display: block; border-radius: 8px; padding: 9px 12px; }
.mega-panel a:hover { background: #f3f7ff; }
.mega-panel strong, .mega-panel small { display: block; }
@media (max-width: 900px) {
  .role-grid,.suite-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mega-panel { left: 0; transform: translateX(-25%); max-width: calc(100vw - 48px); }
}
@media (max-width: 600px) {
  .nav { min-height: 60px; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .nav .btn { font-size: .78rem; }
  .hero { padding-top: 54px; }
  .hero-strip { gap: 8px; font-size: .78rem; }
  .role-grid,.suite-grid { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; flex-direction: column; }
  .mega { position: static; }
  .mega-panel { top: 100%; left: 16px; transform: none; max-width: calc(100vw - 32px); }
}

/* CRM brand illustrations and contact */
.mascot-preview { position: relative; overflow: visible; }
.hero-mascot { position: absolute; width: clamp(76px, 12vw, 160px); right: -12px; bottom: -28px; z-index: 2; pointer-events: none; filter: drop-shadow(0 12px 13px #203c7140); }
.contact-section { scroll-margin-top: 100px; background: linear-gradient(145deg,#f4f8ff,#eef5ff); }
.contact-grid { display:grid; grid-template-columns: 1.5fr 1fr; gap:24px; }
.contact-card { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.contact-card .btn { margin-top:18px; }
.contact-mascot { width:clamp(80px,19vw,210px); height:auto; flex-shrink:0; }
.contact-qr { margin:0; text-align:center; }
.contact-qr img { display:block; width:min(100%, 244px); height:auto; margin:0 auto 10px; }
@media(max-width:650px) {
  .contact-grid { grid-template-columns: 1fr; }
  .hero-mascot { right: 0; bottom: -20px; }
}
