/* =====================================================================
   MonolaTech — brand v2
   Dark navy + mint, bold geometric type, floating product UI.
   ===================================================================== */
:root {
  --navy-950: #060A1C;
  --navy-900: #0A1130;
  --navy-800: #0F1840;
  --navy-700: #17225A;
  --navy-line: rgba(160, 180, 255, .14);
  --on-navy: #EEF2FF;
  --on-navy-muted: #A3AECB;

  --mint: #5FE3C0;
  --mint-hover: #7FEBCE;
  --mint-600: #14A381;
  --mint-700: #0E7C63;
  --mint-soft: #DDF8EF;
  --blue: #5B7CFF;
  --blue-soft: #E5EBFF;
  --violet: #8E7CFF;
  --violet-soft: #EEEAFF;
  --amber: #E0A23B;
  --amber-soft: #FBEFD8;
  --amber-ink: #6E4A0E;

  --bg: #F5F7FC;
  --tint: #EDF1F8;
  --surface: #FFFFFF;
  --ink: #0D1430;
  --ink-2: #222B4A;
  --muted: #5A6480;
  --line: #E1E6F0;

  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-card: 0 1px 2px rgba(13, 20, 48, .04), 0 12px 32px -18px rgba(13, 20, 48, .22);
  --shadow-float: 0 30px 60px -20px rgba(2, 6, 25, .65), 0 0 0 1px rgba(160, 180, 255, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.62; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }
h3 { font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--mint); color: var(--navy-900); padding: 10px 14px; border-radius: 8px; z-index: 100; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }
.small { font-size: 14px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mint-700); margin-bottom: 14px; }
.eyebrow span { margin: 0 6px; opacity: .6; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .cta-band .eyebrow { color: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 12px;
  background: var(--mint); color: var(--navy-900); border: 1.5px solid var(--mint);
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 26px -12px rgba(95, 227, 192, .65);
}
.btn:hover { background: var(--mint-hover); border-color: var(--mint-hover); transform: translateY(-1px); }
.btn-arrow::after { content: ""; width: 14px; height: 10px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5 12 5l-3.5 3.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5 12 5l-3.5 3.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }
.btn-outline, .btn-ghost-light { background: transparent; color: var(--on-navy); border-color: rgba(160, 180, 255, .55); box-shadow: none; }
.btn-outline:hover, .btn-ghost-light:hover { background: rgba(160, 180, 255, .12); border-color: var(--on-navy); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: var(--on-navy); border-color: var(--on-navy); color: var(--navy-900); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.text-link { color: var(--mint-700); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; }
.link-arrow::after { content: ""; width: 13px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5 12 5l-3.5 3.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5 12 5l-3.5 3.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 17, 48, .97); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color .2s ease; }
.site-header.scrolled { border-bottom-color: var(--navy-line); background: rgba(8, 13, 38, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--on-navy); }
.wordmark b { color: var(--mint); font-weight: 800; }
.wordmark-glyph { width: 26px; height: 26px; color: var(--mint); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn), .nav-group-btn { color: #C8D0E8; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover, .nav-group-btn:hover { color: #fff; }
.nav a[aria-current="page"]:not(.btn), .nav-group.is-active .nav-group-btn { color: var(--mint); }
.nav-group { position: relative; }
.nav-group-btn { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.caret { display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.7px 1.7px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav-group.open .caret { transform: translateY(1px) rotate(-135deg); }
.nav-sub { list-style: none; position: absolute; top: calc(100% + 22px); left: -22px; width: 340px; background: var(--navy-800); border: 1px solid var(--navy-line); border-radius: var(--r-md); padding: 8px; box-shadow: var(--shadow-float); display: none; }
.nav-group.open .nav-sub { display: block; }
.nav-sub a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.nav-sub a:hover, .nav-sub a[aria-current="page"] { background: rgba(160, 180, 255, .1); }
.nav-sub strong { font-weight: 700; color: #fff; font-size: 15px; }
.nav-sub span { font-size: 13.5px; color: var(--on-navy-muted); }
.menu-toggle { display: none; }

@media (max-width: 1000px) and (min-width: 881px) { .nav { gap: 18px; } .nav a:not(.btn), .nav-group-btn { font-size: 14.5px; } }
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--navy-line); border-radius: 10px; background: rgba(160, 180, 255, .06); cursor: pointer; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: var(--on-navy); position: relative; transition: transform .2s ease, background-color .2s ease; border-radius: 2px; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-900); border-bottom: 1px solid var(--navy-line); padding: 8px var(--gutter) 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--navy-line); font-size: 17px; }
  .nav-group { border-bottom: 1px solid var(--navy-line); }
  .nav-group-btn { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 17px; }
  .nav-sub { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 10px; background: transparent; }
  .nav .nav-sub a { padding: 10px 12px; border-bottom: 0; }
  .nav .btn { margin-top: 16px; min-height: 50px; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, #1A2A78 0%, rgba(26, 42, 120, 0) 55%), linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%); color: var(--on-navy); padding: clamp(48px, 7vw, 96px) 0 0; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-glow::before { content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -180px; border-radius: 50%; border: 1.5px solid rgba(110, 140, 255, .35); box-shadow: 0 0 80px rgba(91, 124, 255, .35), inset 0 0 120px rgba(91, 124, 255, .18); }
.hero-glow::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(95, 227, 192, .16), transparent 65%); }
.glow-soft::before { opacity: .45; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 56px); align-items: center; z-index: 1; }
.hero h1 { font-size: clamp(2.4rem, 4.3vw, 3.75rem); line-height: 1.02; letter-spacing: -0.045em; color: #fff; }
.hero h1 .hl { color: var(--mint); display: block; }
.hero .lede { color: #C3CCE6; font-size: clamp(17px, 1.4vw, 19px); margin-top: 22px; max-width: 34em; }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); margin-top: 18px; max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-features { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--navy-line); position: relative; z-index: 1; }
.hero-features li { display: flex; align-items: center; gap: 14px; padding: 22px 20px 26px 0; }
.hero-features li + li { padding-left: 24px; border-left: 1px solid var(--navy-line); }
.hf-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(95, 227, 192, .1); color: var(--mint); border: 1px solid rgba(95, 227, 192, .25); }
.hf-ico svg { width: 21px; height: 21px; }
.hero-features strong { display: block; color: #fff; font-size: 15px; font-weight: 700; }
.hero-features small { display: block; color: var(--on-navy-muted); font-size: 13.5px; }

/* floating product UI */
.hero-visual { position: relative; min-height: 520px; }
.app-window { position: absolute; left: 4%; right: 6%; top: 84px; background: linear-gradient(180deg, #121C4C, #0D1640); border-radius: 16px; box-shadow: var(--shadow-float); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--navy-line); background: rgba(255, 255, 255, .02); }
.app-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A4675; }
.app-bar i:first-child { background: #FF6B6B; } .app-bar i:nth-child(2) { background: #FFC24B; } .app-bar i:nth-child(3) { background: #3DDC97; }
.app-bar p { margin-left: 10px; font-size: 12.5px; color: var(--on-navy-muted); font-weight: 600; }
.app-demo { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--mint); border: 1px solid rgba(95, 227, 192, .4); border-radius: 6px; padding: 2px 7px; }
.app-body { display: grid; grid-template-columns: 52px 1fr; min-height: 330px; }
.app-side { display: grid; align-content: start; gap: 12px; padding: 16px 12px; border-right: 1px solid var(--navy-line); }
.app-side b { width: 26px; height: 26px; border-radius: 8px; background: rgba(160, 180, 255, .1); }
.app-side b.on { background: var(--mint); }
.app-main { padding: 18px 20px 22px; }
.app-head { display: flex; justify-content: space-between; align-items: center; }
.app-head p { color: #fff; font-weight: 700; font-size: 16px; }
.app-head span { font-size: 12px; color: var(--on-navy-muted); border: 1px solid var(--navy-line); border-radius: 7px; padding: 3px 8px; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 16px; }
.app-kpis div { background: rgba(160, 180, 255, .07); border: 1px solid var(--navy-line); border-radius: 10px; padding: 10px 12px; }
.app-kpis strong { display: block; color: #fff; font-size: 20px; font-weight: 800; line-height: 1.1; }
.app-kpis span { font-size: 12px; color: var(--on-navy-muted); }
.app-rows { list-style: none; display: grid; gap: 8px; }
.app-rows li { display: grid; grid-template-columns: 10px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(160, 180, 255, .08); }
.app-rows i, .fc-foot i, .fc-today i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.app-rows strong { display: block; color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.app-rows small { display: block; color: var(--on-navy-muted); font-size: 12px; }
.app-rows em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.d-mint { background: var(--mint); } .d-amber { background: var(--amber); } .d-blue { background: var(--blue); } .d-violet { background: var(--violet); } .d-muted { background: #55608A; }
.st-ok { background: rgba(95, 227, 192, .15); color: var(--mint); }
.st-warn { background: rgba(224, 162, 59, .16); color: #F4C46F; }
.st-blue { background: rgba(91, 124, 255, .2); color: #A9BAFF; }
.st-muted { background: rgba(160, 180, 255, .1); color: var(--on-navy-muted); }
.float-card { position: absolute; background: rgba(20, 30, 78, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(160, 180, 255, .2); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-float); color: var(--on-navy); }
.fc-inquiry { top: 0; right: -2%; width: 250px; }
.fc-approve { left: -4%; bottom: 10px; width: 220px; }
.fc-today { right: -2%; bottom: -14px; width: 220px; }
.fc-head { display: flex; gap: 10px; align-items: center; }
.fc-ico { width: 32px; height: 32px; border-radius: 9px; background: var(--mint); color: var(--navy-900); display: grid; place-items: center; flex: none; }
.fc-ico svg { width: 17px; height: 17px; }
.fc-head strong { display: block; font-size: 13.5px; color: #fff; }
.fc-head small { font-size: 11.5px; color: var(--on-navy-muted); }
.fc-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.fc-chips span { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: rgba(95, 227, 192, .12); color: var(--mint); }
.fc-foot { margin-top: 10px; font-size: 12px; color: var(--on-navy-muted); display: flex; align-items: center; gap: 7px; }
.fc-kicker { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-muted); margin-bottom: 6px; }
.fc-approve strong { font-size: 14px; color: #fff; }
.fc-btns { display: flex; gap: 6px; margin-top: 10px; }
.fc-btn { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--navy-line); color: var(--on-navy); }
.fc-primary { background: var(--mint); color: var(--navy-900); border-color: var(--mint); }
.fc-today ul { list-style: none; display: grid; gap: 7px; }
.fc-today li { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 9px; font-size: 12.5px; color: #DCE2F5; }
.fc-today small { color: var(--on-navy-muted); font-size: 11.5px; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-visual .app-window, .js .hero-visual .float-card { opacity: 0; transform: translateY(14px); }
  .js .hero-visual.is-in .app-window, .js .hero-visual.is-in .float-card { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js .hero-visual.is-in .fc-inquiry { transition-delay: .25s; }
  .js .hero-visual.is-in .fc-approve { transition-delay: .4s; }
  .js .hero-visual.is-in .fc-today { transition-delay: .55s; }
  .hero-visual.is-in .fc-inquiry { animation: bob 7s ease-in-out 1.2s infinite; }
  .hero-visual.is-in .fc-today { animation: bob 8s ease-in-out 1.6s infinite reverse; }
}
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 90% 0%, #1A2A78 0%, rgba(26, 42, 120, 0) 55%), var(--navy-900); color: var(--on-navy); padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -380px; border-radius: 50%; border: 1.5px solid rgba(110, 140, 255, .3); box-shadow: 0 0 70px rgba(91, 124, 255, .28); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.04em; color: #fff; max-width: 15em; line-height: 1.04; }
.page-hero .lede { color: #C3CCE6; }
.page-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.page-kicker a { color: var(--mint); text-decoration: none; }
.page-kicker a:hover { text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: clamp(68px, 9vw, 116px) 0; position: relative; }
.section-tight { padding-top: clamp(48px, 6vw, 76px); }
.section-tint { background: var(--tint); }
.section-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: var(--on-navy); overflow: hidden; }
.section-dark .section-title, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lede, .section-dark .section-sub { color: var(--on-navy-muted); }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); max-width: 18em; letter-spacing: -0.035em; }
.section-sub { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 40em; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-bottom: 44px; }
.section-head .section-title { max-width: 16em; }
.section-head-side { display: grid; gap: 12px; justify-items: start; color: var(--muted); font-size: 16.5px; padding-bottom: 6px; }
.section-more { margin-top: 32px; }
.section-more a { color: var(--mint-700); font-weight: 700; text-decoration: none; }
.section-dark .section-more a { color: var(--mint); }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); }
.split-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -0.035em; }
.h-small { font-size: 22px !important; }
.list-intro { font-weight: 700; margin-bottom: 14px; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-decoration: none; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-card:hover { transform: translateY(-3px); border-color: #C9D3E6; box-shadow: 0 2px 4px rgba(13, 20, 48, .05), 0 24px 44px -22px rgba(13, 20, 48, .3); }
.svc-top { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.svc-desc { color: var(--muted); font-size: 15.5px; margin-top: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.svc-icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; }
.svc-icon svg { width: 26px; height: 26px; }
.svc-mint { background: var(--mint-soft); color: var(--mint-700); }
.svc-blue { background: var(--blue-soft); color: #3C5BE0; }
.svc-violet { background: var(--violet-soft); color: #6B57E8; }
.svc-top h3 { font-size: 19px; line-height: 1.25; }
.svc-top p { color: var(--muted); font-size: 15px; margin-top: 6px; line-height: 1.55; }
.svc-go { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background-color .2s ease, border-color .2s ease; }
.svc-go::after { content: ""; position: absolute; inset: 0; margin: auto; width: 13px; height: 10px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5 12 5l-3.5 3.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M1 5h11M8.5 1.5 12 5l-3.5 3.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.svc-card:hover .svc-go { background: var(--mint); border-color: var(--mint); }
.svc-list { list-style: none; display: grid; gap: 10px; padding-top: 18px; }
.svc-list li, .check-list li, .standards li, .offer ul li { position: relative; padding-left: 28px; }
.svc-list li { font-size: 15px; color: var(--ink-2); }
.svc-list li::before, .check-list li::before, .standards li::before, .offer ul li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint-soft);
}
.svc-list li::after, .check-list li::after, .standards li::after, .offer ul li::after {
  content: ""; position: absolute; left: 6.5px; top: 7px; width: 4.5px; height: 8px; border: solid var(--mint-700); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* older card style (system pages "other systems") */
.sys-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.sys-cards-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sys-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--r-lg); text-decoration: none; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .2s ease, border-color .2s ease; }
.sys-card:hover { transform: translateY(-3px); border-color: #C9D3E6; }
.sys-card h3 { font-size: 20px; }
.sys-card p { color: var(--muted); }
.sys-link { margin-top: auto; padding-top: 10px; color: var(--mint-700); font-weight: 700; font-size: 15px; }

/* ---------- Problem list ---------- */
.pain-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pain-list li { position: relative; padding: 14px 16px 14px 46px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 500; font-size: 15.5px; line-height: 1.45; }
.pain-list li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 20px; height: 20px; border-radius: 6px; background: var(--amber-soft); }
.pain-list li::after { content: ""; position: absolute; left: 22px; top: 21px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--amber); }
.pain-list-single { grid-template-columns: 1fr; }
.principle { margin-top: 26px; padding: 20px 24px; border-radius: 14px; background: var(--navy-900); color: #fff; font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }

/* ---------- Outcomes ---------- */
.outcomes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; }
.outcomes > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; }
.outcomes > div::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--mint), var(--blue)); }
.outcomes dt { font-weight: 800; font-size: 18px; line-height: 1.25; letter-spacing: -0.015em; }
.outcomes dd { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Process ---------- */
.process { list-style: none; counter-reset: p; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 48px; position: relative; z-index: 1; }
.process li { counter-increment: p; position: relative; padding: 26px 24px; border-radius: var(--r-md); background: rgba(160, 180, 255, .06); border: 1px solid var(--navy-line); }
.process li::before { content: "0" counter(p); display: block; font-size: 14px; font-weight: 800; color: var(--mint); margin-bottom: 18px; letter-spacing: .05em; }
.process h3 { font-size: 21px; color: #fff; }
.process p { margin-top: 10px; color: var(--on-navy-muted); font-size: 15.5px; }

/* ---------- Standards ---------- */
.standards { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.standards li { display: grid; gap: 2px; padding: 15px 0 15px 32px; border-top: 1px solid var(--line); }
.standards li::before { top: 17px; }
.standards li::after { top: 21px; }
.standards strong { font-weight: 700; }
.standards span { color: var(--muted); font-size: 15px; }

/* ---------- Offers / pricing ---------- */
.offers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.offer { grid-column: span 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-card); }
.offer h3 { font-size: 19px; }
.offer .price { font-size: 32px; font-weight: 800; margin: 10px 0 12px; letter-spacing: -0.03em; }
.offer .price span { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.offer > p:not(.price) { color: var(--muted); font-size: 15.5px; }
.offer ul { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.offer ul li { font-size: 15px; }
.offer .note { margin-top: 16px; font-size: 14.5px; color: var(--mint-700) !important; font-weight: 700; }
.offer-free { background: transparent; border-style: dashed; box-shadow: none; }
.offer-lead { grid-column: span 4; background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border: 0; color: var(--on-navy); display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; align-content: start; position: relative; overflow: hidden; }
.offer-lead::before { content: "Start here"; position: absolute; top: 18px; right: 18px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-900); background: var(--mint); padding: 4px 9px; border-radius: 6px; }
.offer-lead h3, .offer-lead .price { color: #fff; }
.offer-lead > p:not(.price) { color: var(--on-navy-muted); }
.offer-lead .price span { color: var(--on-navy-muted); }
.offer-lead h3, .offer-lead .price, .offer-lead > p:not(.price):not(.note), .offer-lead .note { grid-column: 1; }
.offer-lead ul { grid-column: 2; grid-row: 1 / span 4; margin-top: 34px; }
.offer-lead ul li { color: #DCE2F5; }
.offer-lead ul li::before { background: rgba(95, 227, 192, .16); }
.offer-lead ul li::after { border-color: var(--mint); }
.offer-lead .note { color: var(--mint) !important; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-card); margin-top: 32px; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15.5px; }
.compare th, .compare td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 800; font-size: 16px; background: var(--navy-900); color: #fff; }
.compare tbody th { font-weight: 700; width: 32%; }
.compare tbody tr:nth-child(even) { background: #FAFBFE; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.table-note { margin-top: 14px; }

.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-card); }
.estimator label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 700; }
.estimator input[type=number] { font: inherit; font-size: 17px; font-weight: 600; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; color: var(--ink); background: var(--bg); }
.estimator input[type=number]:focus { border-color: var(--mint-600); outline: none; box-shadow: 0 0 0 4px var(--mint-soft); background: #fff; }
.est-range { grid-column: 1 / -1; }
.est-range output { color: var(--mint-700); }
.est-range input { width: 100%; accent-color: var(--mint-600); }
.est-results { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.est-results > div { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: var(--on-navy-muted); border-radius: 12px; padding: 18px; font-size: 14px; line-height: 1.35; }
.est-num { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--mint); margin-bottom: 4px; letter-spacing: -0.03em; }

/* ---------- Insights ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.section-tight .insight-grid { margin-top: 0; }
.insight-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0; display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease; }
.insight-card::before { content: ""; height: 120px; background: radial-gradient(80% 120% at 85% 0%, #2A3E9C 0%, transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.insight-card:nth-child(3n+2)::before { background: radial-gradient(80% 120% at 15% 0%, rgba(95, 227, 192, .5) 0%, transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.insight-card:nth-child(3n)::before { background: radial-gradient(80% 120% at 50% 100%, rgba(142, 124, 255, .55) 0%, transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.insight-card:hover { transform: translateY(-3px); }
.insight-card > * { margin-left: 24px; margin-right: 24px; }
.insight-meta { margin-top: 20px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-700); }
.insight-card h3 { font-size: 20px; line-height: 1.25; margin-top: 8px; }
.insight-card h3 a { text-decoration: none; }
.insight-card h3 a::after { content: ""; position: absolute; inset: 0; }
.insight-card p:last-child { color: var(--muted); font-size: 15px; margin-top: 10px; margin-bottom: 24px; }

/* ---------- CTA band + footer ---------- */
.cta-band { position: relative; overflow: hidden; background: radial-gradient(70% 140% at 100% 0%, #1F3290 0%, rgba(31, 50, 144, 0) 60%), var(--navy-900); color: var(--on-navy); padding: clamp(56px, 7vw, 88px) 0; }
.cta-band::before { content: ""; position: absolute; width: 600px; height: 600px; left: -240px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(95, 227, 192, .22), transparent 65%); }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; }
.cta-band-inner > div:first-child { flex: 1 1 420px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: #fff; max-width: 17em; letter-spacing: -0.035em; }
.cta-band p { color: var(--on-navy-muted); margin-top: 12px; max-width: 34em; }
.cta-band .actions { margin-top: 0; flex: none; }
.site-footer { background: var(--navy-950); color: var(--on-navy-muted); padding: 60px 0 100px; border-top: 1px solid var(--navy-line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 24em; font-size: 15px; }
.footer-brand .small { color: var(--on-navy-muted); }
.footer-brand a:not(.wordmark) { color: #fff; }
.site-footer h3 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer ul a { color: var(--on-navy-muted); text-decoration: none; font-size: 15px; }
.site-footer ul a:hover { color: var(--mint); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--navy-line); font-size: 14px; }

/* ---------- Demo ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 4px rgba(13, 20, 48, .05), 0 40px 70px -40px rgba(13, 20, 48, .45); }
.demo-input { padding: 26px; background: radial-gradient(90% 70% at 100% 0%, #1A2A78 0%, transparent 60%), var(--navy-900); color: var(--on-navy); display: flex; flex-direction: column; gap: 14px; }
.demo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.demo-label { font-weight: 700; font-size: 15px; color: #fff; }
.demo-samples { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-samples button { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(160, 180, 255, .35); background: transparent; color: var(--on-navy); cursor: pointer; }
.demo-samples button:hover { border-color: var(--on-navy); }
.demo-samples button[aria-pressed="true"] { background: var(--mint); color: var(--navy-900); border-color: var(--mint); }
.demo-text { width: 100%; flex: 1; min-height: 250px; resize: vertical; font: inherit; font-size: 15px; line-height: 1.6; color: #E6EBFA; background: rgba(160, 180, 255, .07); border: 1px solid var(--navy-line); border-radius: 12px; padding: 14px 16px; }
.demo-text:focus { outline: none; border-color: var(--mint); box-shadow: 0 0 0 4px rgba(95, 227, 192, .16); }
.demo-actions { display: grid; gap: 12px; }
.demo-actions .btn { justify-self: start; }
.demo-actions .small { color: var(--on-navy-muted); font-size: 13px; }
.demo-output { padding: 26px; max-height: 760px; overflow-y: auto; }
.demo-empty { display: grid; gap: 8px; color: var(--muted); max-width: 30em; padding: 20px 0; }
.demo-empty strong { color: var(--ink); }
.dx-steps { list-style: none; display: grid; }
.dx-step { position: relative; padding: 0 0 22px 34px; }
.dx-step::before { content: ""; position: absolute; left: 3px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--mint-600); background: var(--surface); }
.dx-step.is-done::before { background: var(--mint-600); box-shadow: 0 0 0 4px var(--mint-soft); }
.dx-step.is-approve::before { background: var(--navy-900); border-color: var(--navy-900); border-radius: 3px; transform: rotate(45deg); box-shadow: none; }
.dx-step::after { content: ""; position: absolute; left: 9.5px; top: 24px; bottom: 2px; width: 1.5px; background: var(--line); }
.dx-step:last-child { padding-bottom: 0; }
.dx-step:last-child::after { display: none; }
.dx-step h3 { font-size: 15.5px; margin-bottom: 7px; }
.dx-step p { font-size: 14.5px; color: var(--muted); }
.dx-table { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 4px 0 0; }
.dx-row { display: grid; gap: 1px; padding: 8px 11px; border-radius: 9px; background: var(--mint-soft); }
.dx-row dt { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-700); }
.dx-row dd { margin: 0; font-size: 14.5px; line-height: 1.35; color: #073D31; font-weight: 600; overflow-wrap: anywhere; }
.dx-row.dx-warn { background: var(--amber-soft); }
.dx-row.dx-warn dt, .dx-row.dx-warn dd { color: var(--amber-ink); }
.dx-row.dx-miss { background: transparent; border: 1.5px dashed #E2B66A; }
.dx-row.dx-miss dt { color: var(--amber-ink); }
.dx-row.dx-miss dd { color: #9A6A1C; font-style: italic; font-weight: 500; }
.dx-badge { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.dx-badge.dx-good { background: var(--mint-600); color: #fff; }
.dx-badge.dx-warn { background: var(--amber-soft); color: var(--amber-ink); }
.dx-badge.dx-low { background: var(--tint); color: var(--ink); }
.dx-muted { font-size: 13.5px; color: var(--muted); margin-left: 6px; }
.dx-brief { list-style: none; display: grid; gap: 4px; font-size: 14.5px; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.dx-reply { white-space: pre-wrap; font: inherit; font-size: 14.5px; line-height: 1.55; margin: 4px 0 0; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); max-height: 260px; overflow-y: auto; }
.dx-approve { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.dx-approved { font-size: 14px; color: var(--mint-700) !important; font-weight: 700; }
.dx-animate .dx-step { animation: dxIn .4s ease both; }
.dx-animate .dx-step:nth-child(2) { animation-delay: .12s; } .dx-animate .dx-step:nth-child(3) { animation-delay: .24s; }
.dx-animate .dx-step:nth-child(4) { animation-delay: .36s; } .dx-animate .dx-step:nth-child(5) { animation-delay: .48s; }
.dx-animate .dx-step:nth-child(6) { animation-delay: .6s; }
@keyframes dxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dx-animate .dx-step { animation: none; } }

/* ---------- System pages ---------- */
.steps { list-style: none; counter-reset: s; display: grid; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 46px; font-size: 16.5px; line-height: 1.5; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--mint-600); color: var(--mint-700); font-size: 13px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.steps li::after { content: ""; position: absolute; left: 14.5px; top: 30px; bottom: 0; width: 1.5px; background: var(--line); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps li.approve { font-weight: 700; }
.steps li.approve::before { content: ""; background: var(--navy-900); border-color: var(--navy-900); border-radius: 4px; transform: rotate(45deg) scale(.68); }
.steps-lg li { font-size: 17px; padding-bottom: 20px; }
.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.three-col > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-card); }
.col-title { font-size: 20px; margin-bottom: 16px; }
.check-list, .diamond-list { list-style: none; display: grid; gap: 0; }
.check-list li, .diamond-list li { padding-top: 10px; padding-bottom: 10px; border-top: 1px solid var(--line); font-size: 15.5px; }
.check-list li::before { top: 12px; } .check-list li::after { top: 16px; }
.diamond-list li { position: relative; padding-left: 28px; }
.diamond-list li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 9px; height: 9px; background: var(--navy-900); transform: rotate(45deg); border-radius: 2px; }
.facet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facet-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-card); }
.facet-grid h3 { font-size: 16.5px; margin-bottom: 6px; }
.facet-grid p { color: var(--muted); font-size: 15px; }
.facet-ai { grid-column: 1 / -1; display: grid; gap: 9px; background: radial-gradient(80% 120% at 100% 0%, #1F3290, transparent 60%), var(--navy-900) !important; border-color: var(--navy-900) !important; color: #fff; }
.facet-ai h3 { color: var(--mint); }
.facet-ai q { quotes: "\201C" "\201D"; font-weight: 600; font-size: 15.5px; padding: 9px 12px; border-radius: 9px; background: rgba(160, 180, 255, .08); border: 1px solid var(--navy-line); }
.note-line { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* ---------- How we work ---------- */
.journey { list-style: none; counter-reset: j; display: grid; }
.journey li { counter-increment: j; position: relative; padding: 0 0 28px 60px; }
.journey li::before { content: counter(j); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--navy-900); color: var(--mint); font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.journey li::after { content: ""; position: absolute; left: 19.5px; top: 46px; bottom: 6px; width: 1.5px; background: var(--line); }
.journey li:last-child::after { display: none; }
.journey h3 { font-size: 20px; }
.journey-meta { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-700); margin-top: 4px; }
.journey p:not(.journey-meta) { color: var(--muted); margin-top: 6px; }
.doc-sample { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 2px 4px rgba(13, 20, 48, .05), 0 40px 70px -40px rgba(13, 20, 48, .45); position: relative; }
.doc-sample::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); z-index: -1; }
.doc-sample-tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber-soft); padding: 4px 9px; border-radius: 6px; margin-bottom: 14px; }
.doc-sample h3 { font-size: 21px; padding-bottom: 14px; border-bottom: 2px solid var(--navy-900); }
.doc-sections { list-style: none; counter-reset: d; display: grid; }
.doc-sections li { counter-increment: d; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-sections li::before { content: "0" counter(d); grid-row: span 2; font-weight: 800; color: var(--mint-700); font-size: 14px; padding-top: 2px; }
.doc-sections strong { font-weight: 700; }
.doc-sections span { color: var(--muted); font-size: 14.5px; }
.principle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.principle-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-card); }
.principle-grid h3 { font-size: 18px; }
.principle-grid p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

/* ---------- Prose / articles ---------- */
.prose p, .prose li { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.prose p + p { margin-top: 18px; }
.prose-narrow { max-width: 700px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 46px 0 14px; letter-spacing: -0.025em; }
.prose ul { margin: 16px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.prose a { color: var(--mint-700); font-weight: 600; text-underline-offset: 3px; }
.article-head { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 90% 0%, #1A2A78 0%, rgba(26, 42, 120, 0) 55%), var(--navy-900); color: var(--on-navy); padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 5vw, 64px); margin-bottom: 48px; }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.04em; max-width: 17em; color: #fff; }
.article-head .lede { color: #C3CCE6; }
.article-meta { margin-top: 20px; font-size: 14px; color: var(--on-navy-muted); }
.article-body { padding-bottom: 24px; }
.article-more { margin: 40px 0 clamp(56px, 8vw, 96px); padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.article-more h2 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; color: var(--muted); }
.article-more ul { list-style: none; display: grid; gap: 10px; }
.article-more a { color: var(--ink); font-weight: 700; font-size: 17px; text-decoration: none; }
.article-more a:hover { color: var(--mint-700); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; align-content: start; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11h8M11 7v8' stroke='%230D1430' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 22px no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mint-soft); }
.faq details p { padding: 0 20px 20px; color: var(--muted); max-width: 42em; }

/* ---------- About / contact ---------- */
.person-card { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: var(--on-navy-muted); border-radius: var(--r-lg); padding: 28px; max-width: 440px; display: grid; gap: 6px; }
.person-name { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.person-role { color: var(--mint) !important; font-weight: 700; }
.person-card a { color: #fff; }
.next-steps { list-style: none; counter-reset: n; display: grid; gap: 18px; margin-top: 20px; }
.next-steps li { counter-increment: n; display: grid; gap: 2px; padding-left: 48px; position: relative; }
.next-steps li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 10px; background: var(--navy-900); color: var(--mint); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.next-steps span { color: var(--muted); font-size: 15.5px; }
.contact-alt { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.contact-alt a { color: var(--mint-700); font-weight: 700; }
.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--mint-600); outline: none; box-shadow: 0 0 0 4px var(--mint-soft); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form [aria-invalid="true"] { border-color: #D9534F; box-shadow: 0 0 0 3px rgba(217, 83, 79, .15); }
.contact-form button { justify-self: start; margin-top: 4px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: 0 2px 4px rgba(13, 20, 48, .05), 0 40px 70px -40px rgba(13, 20, 48, .35); }
.form-status { font-size: 15px; min-height: 1.5em; color: var(--mint-700); font-weight: 700; }
.form-status.error { color: #B3261E; }
.form-status a { color: var(--mint-700); }
.form-card .small a { color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 64vh; display: grid; align-items: center; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.04em; max-width: 14em; }

/* ---------- Chat widget ---------- */
.mchat { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-family: var(--font); }
.mchat-launcher { display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 22px 0 18px; border-radius: 27px; background: var(--mint); color: var(--navy-900); border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 15.5px; box-shadow: 0 14px 34px -12px rgba(20, 163, 129, .75), 0 2px 6px rgba(13, 20, 48, .2); }
.mchat-launcher:hover { background: var(--mint-hover); }
.mchat-launcher svg { width: 22px; height: 22px; }
.mchat.is-open .mchat-launcher { background: var(--navy-900); color: #fff; }
.mchat-panel { position: absolute; right: 0; bottom: 66px; width: 390px; max-width: calc(100vw - 32px); height: min(620px, calc(100vh - 110px)); height: min(620px, calc(100dvh - 110px)); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(6, 10, 28, .55); }
.mchat-panel[hidden] { display: none; }
.mchat-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 18px 16px 16px 20px; background: radial-gradient(90% 140% at 100% 0%, #1F3290, transparent 60%), var(--navy-900); color: #fff; }
.mchat-title { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.mchat-sub { font-size: 13px; color: var(--on-navy-muted); margin-top: 3px; line-height: 1.4; }
.mchat-close { flex: none; width: 36px; height: 36px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.mchat-close:hover { background: rgba(255, 255, 255, .18); }
.mchat-close svg { width: 18px; height: 18px; }
.mchat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); overscroll-behavior: contain; }
.mchat-msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.mchat-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.mchat-user { align-self: flex-end; background: var(--navy-900); color: #fff; border-bottom-right-radius: 4px; }
.mchat-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.mchat-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 18px; border: 1.5px solid var(--mint-600); background: var(--surface); color: var(--mint-700); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; text-decoration: none; text-align: left; }
.mchat-chip:hover { background: var(--mint-soft); }
.mchat-chip-strong { background: var(--mint); color: var(--navy-900); border-color: var(--mint); }
.mchat-chip-strong:hover { background: var(--mint-hover); }
.mchat-note { width: 100%; font-size: 13px; color: var(--muted); }
.mchat-form { display: grid; gap: 9px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.mchat-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
.mchat-form input, .mchat-form textarea { font: inherit; font-size: 16px; font-weight: 500; padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 9px; width: 100%; color: var(--ink); background: var(--bg); }
.mchat-form textarea { resize: vertical; min-height: 72px; }
.mchat-form input:focus, .mchat-form textarea:focus { border-color: var(--mint-600); outline: none; box-shadow: 0 0 0 3px var(--mint-soft); background: #fff; }
.mchat-send { min-height: 44px; border: 0; border-radius: 10px; background: var(--navy-900); color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.mchat-send[disabled] { opacity: .6; cursor: progress; }
.mchat-err { font-size: 13px; color: #B3261E; }
.mchat-err:empty { display: none; }
.mchat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.mchat-input input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--bg); }
.mchat-input input:focus { border-color: var(--mint-600); outline: none; box-shadow: 0 0 0 3px var(--mint-soft); background: #fff; }
.mchat-input button { flex: none; width: 46px; border: 0; border-radius: 12px; background: var(--mint); color: var(--navy-900); cursor: pointer; display: grid; place-items: center; }
.mchat-input button svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; width: 100%; justify-self: center; }
  .svc-grid, .insight-grid, .sys-cards { grid-template-columns: 1fr 1fr; }
  .outcomes, .principle-grid { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: 1fr 1fr; }
  .offer, .offer-free { grid-column: span 1; }
  .offer-lead { grid-column: span 2; }
  .demo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .process { grid-template-columns: 1fr 1fr; }
  .three-col { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .hero-visual { min-height: 400px; }
  .app-window { left: 0; right: 0; top: 54px; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-rows li:nth-child(n+4) { display: none; }
  .fc-inquiry { right: 0; top: 0; width: 230px; }
  .fc-approve { display: none; }
  .fc-today { right: 8px; bottom: -6px; width: 200px; }
  .hero-features { grid-template-columns: 1fr; }
  .hero-features li, .hero-features li + li { padding: 16px 0; border-left: 0; }
  .hero-features li + li { border-top: 1px solid var(--navy-line); }
  .actions .btn { flex: 1 1 100%; }
  .svc-grid, .insight-grid, .sys-cards, .sys-cards-two { grid-template-columns: 1fr; }
  .outcomes, .principle-grid, .process { grid-template-columns: 1fr; }
  .pain-list, .standards { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offer, .offer-free, .offer-lead { grid-column: span 1; }
  .offer-lead { grid-template-columns: 1fr; padding-top: 56px; }
  .offer-lead ul { grid-column: 1; grid-row: auto; margin-top: 16px; }
  .facet-grid, .dx-table, .field-row { grid-template-columns: 1fr; }
  .estimator { grid-template-columns: 1fr; padding: 18px; }
  .est-results { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .demo-input, .demo-output { padding: 18px; }
  .cta-band .actions { width: 100%; }
  .contact-form button { justify-self: stretch; }
  .mchat { right: 16px; bottom: 16px; }
  .mchat-launcher { height: 50px; padding: 0 18px 0 15px; }
  .mchat.is-open { left: 0; right: 0; bottom: 0; top: 0; }
  .mchat.is-open .mchat-launcher { display: none; }
  .mchat-panel { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; border-radius: 0; border: 0; }
}
.facet-grid > div:nth-last-child(2):nth-child(odd) { grid-column: 1 / -1; }


/* === MonolaTech UX / brand growth update === */
.nav-group-btn{min-height:44px;padding:10px 8px;border-radius:9px;font-weight:700;}
.nav-group-btn:focus-visible,.nav-sub a:focus-visible{outline:3px solid var(--mint);outline-offset:3px;}
.nav-group{align-self:stretch;display:flex;align-items:center;}
.nav-sub{top:calc(100% - 2px);left:-16px;width:350px;padding:12px;border-radius:16px;background:#14214b;box-shadow:0 20px 50px rgba(2,8,31,.33);z-index:10;}
.nav-sub::before{content:"";position:absolute;left:0;right:0;top:-10px;height:12px;}
.nav-sub a{min-height:61px;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:12px 14px;border-radius:10px;}
.nav-sub a:hover{background:#243866;transform:translateX(2px);}
.nav .btn{flex-shrink:0;}
.hero-proof{color:#B5C9DD;font-size:13px;margin-top:19px;font-weight:600;}
.hero .actions .btn{min-height:53px;}
.hero-copy .eyebrow{font-size:12px;letter-spacing:.1em;}
.section-service-home .section-title{max-width:22em;}
.core-svc-grid{align-items:stretch;}
.core-svc-grid .svc-card{min-height:350px;}
.svc-action{display:block;margin-top:auto;padding-top:26px;color:#0b675b;font-weight:800;font-size:14px;}
.service-nudge{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding:22px 26px;border:1px solid var(--line);border-radius:16px;background:#F4F8FA;}
.service-nudge strong,.service-nudge span{display:block;}
.service-nudge span{font-size:14px;color:var(--muted);margin-top:4px;}
.service-nudge a{white-space:nowrap;}
.feature-work-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,6vw,100px);align-items:center;}
.feature-work .lede{max-width:32em;}
.feature-work .actions{gap:12px;margin-top:24px;}
.portfolio-disclosure{margin-top:16px;}
.work-preview{border-radius:20px;overflow:hidden;background:#fbf7f1;border:1px solid #ddd6c9;box-shadow:0 25px 55px -29px rgba(21,26,46,.4);}
.work-preview-browser{height:39px;display:flex;align-items:center;gap:6px;padding:0 16px;background:#eee6dc;}
.work-preview-browser i{width:9px;height:9px;border-radius:50%;background:#d2bbb1;}
.work-preview-browser span{margin-left:14px;color:#7a6b66;font-size:11px;letter-spacing:.05em;}
.work-preview-art{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:310px;padding:40px 26px;background:radial-gradient(circle at 70% 20%,#684549 0%,transparent 42%),linear-gradient(140deg,#241b20,#4f3037);color:#f9ede3;}
.work-preview-kicker{letter-spacing:.22em;font-size:10px;font-weight:700;color:#dfc5b0;}
.work-preview-art strong{font-family:Georgia,serif;font-weight:400;font-size:clamp(2.1rem,4vw,3.6rem);line-height:1.08;margin:28px 0 14px;}
.work-preview-small{color:#decfc2;font-size:13px;}
.work-preview-button{border:1px solid #d5ac90;margin-top:23px;padding:10px 17px;color:#fff;font-size:12px;letter-spacing:.05em;}
.work-preview>p{padding:12px 18px;color:#746963;background:#fffaf5;font-size:11px;line-height:1.5;}
.value-tiles,.quick-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px;}
.value-tiles>div,.quick-offers>div{padding:26px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-card);}
.value-tiles strong,.value-tiles h3,.quick-offers h3{display:block;color:var(--ink);font-weight:800;font-size:19px;margin-bottom:10px;}
.value-tiles p,.quick-offers p{color:var(--muted);font-size:15px;line-height:1.6;}
.quick-offers .price{font-size:26px;font-weight:800;color:var(--navy-900);margin:6px 0;}
.quick-offers a{display:inline-block;margin-top:16px;}
.pricing-intro{margin-bottom:60px;}
.pricing-subheading{margin-bottom:24px;}
.pricing-subheading h2,.pricing-intro h2{margin:6px 0 10px;}
.pricing-intro>.small{margin-top:18px;}
.compact-page-hero{padding:clamp(46px,7vw,80px) 0;}
.compact-page-hero h1 .accent{color:var(--mint);}
.compact-page-hero .actions{margin-top:26px;position:relative;z-index:1;}
.check-points{list-style:none;display:grid;gap:14px;padding:0;}
.check-points li{padding:0 0 0 30px;position:relative;}
.check-points li::before{content:"✓";position:absolute;left:0;top:0;color:#108675;font-weight:900;}
.small-cta{padding:30px;border:1px solid var(--line);border-radius:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--tint);}
.small-cta h2{margin-bottom:10px;}.small-cta p{color:var(--muted);}
.project-case{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(30px,6vw,90px);align-items:center;}
.project-case .check-points{margin:18px 0 24px;}
.work-preview-large .work-preview-art{min-height:410px;}
.required-mark{color:#a43c33;}
.back-top{position:fixed;right:24px;bottom:92px;width:46px;height:46px;border-radius:50%;background:#fff;color:var(--navy-900);border:1px solid #ccd6e5;box-shadow:0 8px 24px rgba(12,20,40,.15);font-size:24px;cursor:pointer;z-index:45;display:grid;place-items:center;opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .18s,transform .18s;}
.back-top.visible{opacity:1;pointer-events:auto;transform:translateY(0);}
.back-top:hover{background:var(--mint);border-color:var(--mint);}
.back-top:focus-visible{outline:3px solid var(--blue);outline-offset:3px;}
@media(min-width:881px){.nav{gap:clamp(12px,1.8vw,27px)}.nav>a:not(.btn){display:inline-flex;align-items:center;min-height:44px;padding:5px 0;}}
@media(max-width:1100px){.feature-work-grid,.project-case{grid-template-columns:1fr;}.work-preview{max-width:700px;}}
@media(max-width:880px){.nav-group{display:block;}.nav-group-btn{padding:14px 0;border-radius:0;}.nav-sub{position:static;width:100%;padding:0 0 12px;background:transparent;box-shadow:none;border:none;}.nav-sub a{min-height:54px;padding:12px 14px;}.nav-sub::before{display:none}.nav{max-height:calc(100dvh - var(--header-h));}}
@media(max-width:680px){.service-nudge,.small-cta{flex-direction:column;align-items:flex-start;}.value-tiles,.quick-offers{grid-template-columns:1fr;}.feature-work .actions .btn{width:100%;}.work-preview-art{min-height:265px;}.back-top{right:18px;bottom:76px;width:42px;height:42px}.core-svc-grid .svc-card{min-height:0;}.hero-copy .eyebrow{font-size:10px;}}
@media(prefers-reduced-motion:reduce){.svc-card,.back-top,.btn,.nav-sub a{transition:none !important;transform:none !important;animation:none !important;}}

/* Reliability fix: keep the key hero preview visible even if intersection observation or
   deferred JavaScript fails. Small, readable motion remains optional. */
.js .hero-visual .app-window, .js .hero-visual .float-card {
  opacity: 1; transform: none;
}
