/* =========================================================
   KRITA SERVICES AND SOLUTIONS — site styles
   Palette taken from the Krita logo: blue arcs, orange ring.
   ========================================================= */
:root {
  --navy: #0A1F44;
  --navy-2: #12305F;
  --navy-3: #1B3D73;
  --blue: #0357A4;
  --blue-2: #2F7FD0;
  --sky: #DCEBFA;
  --orange: #E05E11;
  --orange-btn: #C24E0B;      /* AA contrast with white text */
  --orange-btn-hover: #A84309;
  --orange-soft: #FDEBDD;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --ink: #13213A;
  --muted: #4A5872;
  --line: #D9E2EE;
  --ok: #1E7F4F;

  --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --step-4: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  --step-5: clamp(2.2rem, 1.3rem + 3.2vw, 3.9rem);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --wrap: 1200px;
  --header-h: 72px;
  --shadow-screen: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -20px rgba(10,31,68,.45), 0 12px 24px -12px rgba(10,31,68,.3);
}

*, *::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; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--step-4); font-stretch: 88%; font-weight: 750; letter-spacing: -0.02em; }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-s); }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; font-family: var(--font-display); font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; line-height: 1.2; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange-btn); color: #fff; }
.btn-primary:hover { background: var(--orange-btn-hover); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(10,31,68,.5); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: .06em; font-stretch: 110%; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.brand-light { color: #fff; }
.brand-light .brand-text span { color: rgba(255,255,255,.7); }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; display: flex; gap: .25rem; }
.primary-nav a { display: block; padding: .5rem .7rem; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: var(--radius-s); }
.primary-nav a:hover { color: var(--blue); background: var(--paper); }
.primary-nav a.active { color: var(--blue); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-s); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-contact { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .nav-contact { display: block; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(10,31,68,.35); max-height: calc(100vh - var(--header-h)); overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
  .primary-nav.open { transform: none; opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; padding: .75rem 1.25rem 1.25rem; }
  .primary-nav a { padding: .85rem .5rem; font-size: 1.05rem; border-bottom: 1px solid var(--paper); border-radius: 0; }
  .primary-nav a.active { box-shadow: none; }
}
@media (max-width: 520px) {
  .header-actions .btn { display: none; }
  .brand-text span { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: clamp(3rem, 6vw, 6rem) 0 clamp(3.5rem, 7vw, 7rem); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 85% 45%, rgba(47,127,208,.35), transparent 70%), linear-gradient(180deg, var(--navy) 0%, #0C2550 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-kicker { font-size: var(--step--1); color: #FFB98C; font-weight: 500; margin-bottom: 1.25rem; padding-left: .9rem; border-left: 3px solid var(--orange); }
.hero h1 { color: #fff; font-size: var(--step-5); font-weight: 800; font-stretch: 85%; letter-spacing: -0.025em; line-height: 1.04; margin-bottom: 1.5rem; max-width: 17ch; }
.hero .lead { font-size: var(--step-1); color: #fff; max-width: 52ch; }
.hero p { color: rgba(255,255,255,.8); max-width: 56ch; }
.hero .btn-row { margin: 2rem 0 1.25rem; }
.hero-note { font-size: var(--step--1); color: rgba(255,255,255,.65) !important; }

.hero-visual { position: relative; aspect-ratio: 1 / .92; min-height: 340px; }
.orbit { position: absolute; inset: -6% -10% -6% -4%; width: 114%; height: 112%; pointer-events: none; }
.orbit .arc { fill: none; stroke: var(--blue-2); stroke-width: 34; stroke-linecap: butt; opacity: .55; }
.orbit .ring-orange { fill: none; stroke: var(--orange); stroke-width: 22; stroke-dasharray: 150 50; opacity: .9; transform-origin: 300px 300px; }
.hero.ready .orbit .ring-orange { animation: ring-in 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero.ready .orbit .arc { animation: arc-in 1.2s .1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ring-in { from { transform: rotate(-120deg); opacity: 0; } to { transform: rotate(0); opacity: .9; } }
@keyframes arc-in { from { opacity: 0; } to { opacity: .55; } }

.stack { position: absolute; inset: 0; perspective: 1600px; transform-style: preserve-3d; }
.stack .screen-hero { position: absolute; width: 74%; transition: transform .5s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.stack .s1 { left: 2%; top: 30%; z-index: 3; transform: rotateY(-14deg) rotateX(6deg) translateZ(60px); }
.stack .s2 { left: 14%; top: 14%; z-index: 2; transform: rotateY(-14deg) rotateX(6deg) translateZ(0); }
.stack .s3 { left: 26%; top: -1%; z-index: 1; transform: rotateY(-14deg) rotateX(6deg) translateZ(-60px); }
.hero.ready .stack .screen-hero { animation: deal .9s cubic-bezier(.2,.7,.2,1) both; }
.hero.ready .stack .s2 { animation-delay: .12s; }
.hero.ready .stack .s1 { animation-delay: .24s; }
@keyframes deal { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.stack .screen-hero:hover { z-index: 4; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
}

/* ---------- Screens (real screenshots, with illustrative fallback) ---------- */
.screen { margin: 0; background: #fff; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-screen); border: 1px solid rgba(10,31,68,.12); }
.screen-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEF2F8; border-bottom: 1px solid var(--line); font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C9D3E1; flex: none; }
.screen-bar span { margin-left: 8px; overflow: hidden; text-overflow: ellipsis; }
.screen-body { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; background: var(--paper); overflow: hidden; }
.screen-body img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.stack .s2 .screen-badge, .stack .s3 .screen-badge { display: none; }
.screen-badge { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-size: .7rem; font-weight: 600; background: rgba(10,31,68,.85); color: #fff; padding: 3px 9px; border-radius: 999px; }

.pill { display: inline-block; padding: .2em .7em; border-radius: 999px; font-weight: 600; font-size: .88em; white-space: nowrap; }
.pill-ok { background: #DDF3E7; color: var(--ok); }
.pill-warn { background: var(--orange-soft); color: #9A3D07; }
.pill-info { background: var(--sky); color: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.section-dark .section-head p { color: rgba(255,255,255,.75); }
.center-cta { display: flex; justify-content: center; margin-top: 3rem; }

/* ---------- Products ---------- */
.product-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.ps { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-m); text-decoration: none; color: var(--muted); font-size: .92rem; border-top: 4px solid var(--accent); background: #fff; transition: border-color .15s, background-color .15s; }
.ps:hover { background: var(--paper); color: var(--muted); }
.ps strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; }
.ps .ic { color: var(--accent); margin-top: 2px; }
.ps-geo, .product-geo { --accent: var(--orange); --accent-soft: var(--orange-soft); --accent-ink: #9A3D07; }
.ps-asset, .product-asset { --accent: var(--blue); --accent-soft: var(--sky); --accent-ink: var(--blue); }
.ps-soft, .product-soft { --accent: var(--navy-3); --accent-soft: #E3E9F3; --accent-ink: var(--navy-3); }

.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; padding-top: 0; }
.product.reverse .product-copy { order: 2; }
.product-tag { display: inline-block; font-weight: 600; font-size: var(--step--1); color: var(--accent-ink); background: var(--accent-soft); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.product h3 { font-size: var(--step-4); font-stretch: 88%; font-weight: 800; letter-spacing: -0.02em; margin-bottom: .75rem; }
.product-lede { font-size: var(--step-1); color: var(--ink); font-weight: 500; }
.product-copy > p { color: var(--muted); max-width: 60ch; }
.product h4 { font-size: 1rem; margin: 1.75rem 0 .75rem; color: var(--navy); }
.caps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.5rem; }
.caps li { position: relative; padding-left: 1.4rem; font-size: .95rem; }
.caps li::before { content: ""; position: absolute; left: 0; top: .52em; width: .55rem; height: .55rem; border-radius: 50%; border: 2px solid var(--accent); }
.value { margin: 1.75rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.value strong { display: block; font-family: var(--font-display); color: var(--navy); margin-bottom: .25rem; }
.value p { margin: 0; color: var(--ink); }
.product-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.product-media::before { content: ""; position: absolute; inset: 8% -4% -6% 10%; background: var(--accent-soft); border-radius: var(--radius-l); z-index: -1; }
.product-media { isolation: isolate; }
.screen-lg { transform: perspective(1400px) rotateY(-5deg) rotateX(2deg); transition: transform .4s; }
.product.reverse .screen-lg { transform: perspective(1400px) rotateY(5deg) rotateX(2deg); }
.product-media:hover .screen-lg { transform: none; }

@media (max-width: 900px) {
  .product-switch { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product.reverse .product-copy { order: 0; }
  .product-media { position: relative; top: 0; order: -1; }
  .product-media::before { inset: 10% 0 -5% 8%; }
  .screen-lg, .product.reverse .screen-lg { transform: none; }
}
@media (max-width: 520px) { .caps { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sticky-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.why-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.why-list li { display: flex; gap: 1rem; padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.why-list li:nth-child(odd) { padding-right: 2rem; border-right: 1px solid var(--line); }
.why-list li:nth-child(even) { padding-left: 2rem; }
.why-list .ic { color: var(--blue); width: 28px; height: 28px; }
.why-list h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.why-list p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .sticky-head { position: static; }
}
@media (max-width: 620px) {
  .why-list { grid-template-columns: 1fr; }
  .why-list li, .why-list li:nth-child(odd), .why-list li:nth-child(even) { padding: 1.4rem 0; border-right: 0; }
}

/* ---------- Who ---------- */
.who-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.who-grid li { background: #fff; padding: 1.5rem; }
.who-grid li:first-child { grid-column: span 2; background: var(--navy); }
.who-grid li:first-child h3 { color: #fff; }
.who-grid li:first-child p { color: rgba(255,255,255,.78); }
.who-grid li:first-child .ic { color: #FFB98C; }
.who-grid .ic { color: var(--orange); margin-bottom: .9rem; width: 28px; height: 28px; }
.who-grid h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.who-grid p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 1000px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .who-grid { grid-template-columns: 1fr; } .who-grid li:first-child { grid-column: auto; } }

/* ---------- Product tour ---------- */
.section-dark#product-tour { background: linear-gradient(180deg, var(--navy) 0%, #0D2752 100%); }
.tour-products { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; background: rgba(255,255,255,.08); border-radius: 999px; margin-bottom: 2rem; }
.tour-products button { font: 600 .95rem var(--font-display); color: rgba(255,255,255,.8); background: transparent; border: 0; padding: .65rem 1.2rem; border-radius: 999px; cursor: pointer; min-height: 44px; }
.tour-products button:hover { color: #fff; }
.tour-products button[aria-selected="true"] { background: #fff; color: var(--navy); }
.tour-panel { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-width: 0; gap: 2rem; align-items: start; }
.tour-panel[hidden] { display: none; }
.tour-steps { list-style: none; counter-reset: s; min-width: 0; display: flex; flex-direction: column; gap: .25rem; }
.tour-steps li { counter-increment: s; }
.tour-steps button { display: flex; gap: .8rem; align-items: center; width: 100%; text-align: left; font: 500 1rem var(--font-body); color: rgba(255,255,255,.75); background: transparent; border: 0; border-left: 3px solid rgba(255,255,255,.15); padding: .8rem 1rem; cursor: pointer; min-height: 44px; }
.tour-steps button::before { content: counter(s); font: 700 .8rem var(--font-display); width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; flex: none; }
.tour-steps button:hover { color: #fff; background: rgba(255,255,255,.05); }
.tour-steps button[aria-pressed="true"] { color: #fff; border-left-color: var(--orange); background: rgba(255,255,255,.08); }
.tour-steps button[aria-pressed="true"]::before { background: var(--orange); border-color: var(--orange); color: #fff; }
.tour-stage .screen { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); border-color: rgba(255,255,255,.15); }
.tour-stage .screen-body.swap { animation: swap .35s ease both; }
@keyframes swap { from { opacity: .2; } to { opacity: 1; } }
.tour-caption { margin-top: 1rem; font-size: var(--step--1); color: rgba(255,255,255,.65); }
.tour-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.15); }
.tour-cta p { margin: 0; color: #fff; font-family: var(--font-display); font-size: var(--step-2); font-weight: 650; }
@media (max-width: 900px) {
  .tour-panel { grid-template-columns: minmax(0, 1fr); }
  .tour-steps { flex-direction: row; overflow-x: auto; gap: .5rem; padding-bottom: .5rem; scrollbar-width: thin; }
  .tour-steps button { white-space: nowrap; border-left: 0; border-bottom: 3px solid rgba(255,255,255,.15); }
  .tour-steps button[aria-pressed="true"] { border-bottom-color: var(--orange); }
  .tour-products { border-radius: var(--radius-m); }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.service { grid-column: span 2; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; }
.service-wide { grid-column: span 3; background: var(--paper); border-color: transparent; }
.service .ic { width: 32px; height: 32px; color: var(--blue); margin-bottom: 1rem; }
.service h3 { font-size: 1.25rem; }
.service > p { color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.service:not(.service-wide) .tags li { background: var(--paper); border-color: transparent; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } .service, .service-wide { grid-column: span 1; } .service-wide { grid-column: span 2; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service, .service-wide { grid-column: auto; } }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-2) 0 10px, transparent 10px 18px); }
.steps li { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); color: var(--navy); font: 800 1.15rem var(--font-display); margin-bottom: 1.1rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 10px; bottom: 10px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-2) 0 10px, transparent 10px 18px); }
  .steps li { padding: 0 0 1.75rem 4.25rem; }
  .step-n { position: absolute; left: 0; top: 0; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-mark { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, var(--paper) 0 58%, transparent 59%), conic-gradient(from 200deg, var(--blue) 0 25%, transparent 0 50%, var(--blue) 0 75%, transparent 0); max-width: 380px; width: 100%; }
.about-mark img { width: 46%; }
.lead-dark { font-size: var(--step-1); font-weight: 500; }
.about-copy > p { color: var(--muted); max-width: 64ch; }
.about-copy .lead-dark { color: var(--ink); }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid var(--line); }
.about-cols h3 { font-size: 1.05rem; }
.about-cols p { margin: 0; color: var(--muted); }
.plain { list-style: none; display: grid; gap: .3rem; }
.focus { color: var(--ink) !important; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .about-mark { max-width: 220px; } .about-cols { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font: 650 1.08rem var(--font-display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { content: "−"; background: var(--blue); color: #fff; }
.faq details p { color: var(--muted); padding: 0 2.5rem 1.25rem 0; margin: 0; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Enquiry ---------- */
.enquiry { background: radial-gradient(50% 60% at 0% 100%, rgba(224,94,17,.18), transparent 70%), var(--navy); }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.enquiry-intro p { color: rgba(255,255,255,.8); font-size: var(--step-1); }
.intent-switch { display: flex; flex-direction: column; gap: .5rem; margin: 2rem 0; }
.intent-switch label { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; border: 1.5px solid rgba(255,255,255,.25); border-radius: var(--radius-m); cursor: pointer; color: #fff; font: 600 1rem var(--font-display); transition: border-color .15s, background-color .15s; }
.intent-switch label:hover { border-color: rgba(255,255,255,.6); }
.intent-switch input { accent-color: var(--orange); width: 18px; height: 18px; margin: 0; }
.intent-switch label:has(input:checked) { border-color: var(--orange); background: rgba(224,94,17,.14); }
.intent-switch label:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.contact-card { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); }
.contact-card h3 { font-size: 1.1rem; }
.contact-card address { font-style: normal; color: rgba(255,255,255,.75); margin-bottom: 1rem; }
.contact-list { list-style: none; display: grid; gap: .6rem; }
.contact-list li { display: flex; align-items: center; gap: .7rem; }
.contact-list .ic { color: #FFB98C; width: 20px; height: 20px; }
.contact-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-list a:hover { border-color: #fff; color: #fff; }

.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.form-required-note { font-size: var(--step--1); color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1.1rem; margin-bottom: 1.25rem; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; color: var(--navy); }
.req { color: var(--orange-btn); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #B9C6D8; border-radius: var(--radius-s); padding: .7rem .8rem; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3,87,164,.18); }
.field [aria-invalid="true"] { border-color: #B42318 !important; }
.err { min-height: 1.25rem; margin: .25rem 0 .4rem; font-size: .85rem; color: #B42318; }
.check { display: flex !important; gap: .65rem; align-items: flex-start; font-weight: 400 !important; color: var(--ink) !important; font-size: .92rem !important; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 1rem 0 0; font-size: .95rem; }
.form-status.is-error { color: #B42318; }
.form-status a { font-weight: 600; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-success { text-align: center; padding: 2rem 1rem; }
.form-success .ic { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: #DDF3E7; color: var(--ok); stroke-width: 2.4; margin: 0 auto 1rem; }
.form-success p { color: var(--muted); max-width: 44ch; margin-inline: auto; margin-bottom: 1.5rem; }
.form-success .btn-outline-light { border-color: var(--blue); color: var(--blue); }
.form-success .btn-outline-light:hover { background: var(--blue); color: #fff; }
@media (max-width: 900px) { .enquiry-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #071733; color: rgba(255,255,255,.72); padding: 4rem 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.footer-brand p { margin-top: 1rem; }
.footer-contact a, .site-footer nav a, .site-footer .linklike { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-contact a:hover, .site-footer nav a:hover, .site-footer .linklike:hover { color: #fff; text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1rem; font-stretch: 100%; letter-spacing: 0; margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 0 6rem; font-size: .85rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float & consent ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.1rem; border-radius: 999px; background: #1E7F4F; color: #fff; text-decoration: none; font: 600 .95rem var(--font-display); box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.wa-float:hover { background: #17673F; color: #fff; }
.wa-float .ic { width: 22px; height: 22px; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: .85rem; } }
.consent { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 60; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem 1.4rem; box-shadow: 0 30px 60px -20px rgba(10,31,68,.45); }
.consent h2 { font-size: 1.1rem; font-stretch: 100%; letter-spacing: 0; }
.consent p { font-size: .92rem; color: var(--muted); }
@media (max-width: 520px) { .consent { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; } }

/* ---------- Legal pages ---------- */
.legal { padding: 4rem 0 5rem; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: var(--step-4); font-stretch: 88%; }
.legal h2 { font-size: var(--step-2); font-stretch: 100%; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal .updated { color: var(--muted); }

/* =========================================================
   Illustrative product screens (sample data, labelled on screen)
   All sizes in em so the whole screen scales with its frame.
   ========================================================= */
.mk { position: absolute; inset: 0; display: grid; grid-template-columns: 15.5em 1fr; font-family: var(--font-body); font-size: clamp(3.5px, 1.2cqi, 15px); line-height: 1.3; color: var(--ink); background: #F3F6FA; text-align: left; }
.mk b { font-weight: 600; }
.mk small { display: block; color: var(--muted); font-size: .86em; line-height: 1.3; }
.mk-av { display: inline-grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; color: #fff; font-size: .82em; font-weight: 700 !important; flex: none; letter-spacing: .02em; }

/* sidebar */
.mk-side { background: var(--navy); padding: 1.3em .9em; display: flex; flex-direction: column; gap: .2em; min-width: 0; }
.mk-logo { display: flex; align-items: center; gap: .6em; color: #fff; font: 700 1.12em var(--font-display); margin: 0 .3em 1.2em; white-space: nowrap; }
.mk-logo i { width: 1.4em; height: 1.4em; border-radius: 50%; border: .3em solid var(--orange); box-shadow: 0 0 0 .18em var(--navy), 0 0 0 .38em var(--blue-2); flex: none; }
.mk-side > span { display: flex; align-items: center; gap: .7em; color: rgba(255,255,255,.62); padding: .62em .7em; border-radius: .45em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-side > span i { width: .9em; height: .9em; border-radius: .2em; border: .14em solid currentColor; opacity: .7; flex: none; }
.mk-side > span.on { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset .22em 0 0 var(--orange); }
.mk-side-foot { margin-top: auto; display: flex; align-items: center; gap: .6em; color: rgba(255,255,255,.75); padding: .8em .4em 0; border-top: 1px solid rgba(255,255,255,.12); white-space: nowrap; overflow: hidden; font-size: .92em; }

/* top bar + page head */
.mk-main { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.mk-top { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .8em 1.6em; background: #fff; border-bottom: 1px solid var(--line); }
.mk-search { flex: 0 1 26em; color: #8592A8; background: var(--paper); border: 1px solid var(--line); border-radius: .5em; padding: .5em .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-top-r { display: flex; align-items: center; gap: 1em; }
.mk-bell { width: 1.1em; height: 1.2em; border: .15em solid #8592A8; border-radius: .6em .6em .2em .2em; position: relative; }
.mk-bell::after { content: ""; position: absolute; top: -.35em; right: -.45em; width: .6em; height: .6em; border-radius: 50%; background: var(--orange); }
.mk-content { padding: 1.3em 1.6em; display: flex; flex-direction: column; gap: 1.1em; min-height: 0; flex: 1; }
.mk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1em; }
.mk-head b { display: block; font: 700 1.55em var(--font-display); color: var(--navy); letter-spacing: -.01em; }
.mk-btn { flex: none; background: var(--blue); color: #fff; font-weight: 600; padding: .55em 1.1em; border-radius: .5em; }
.mk-geopulse .mk-btn { background: var(--orange-btn); }

/* layout grid */
.mk-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1em; align-content: start; flex: 1; min-height: 0; }
.mk-grid > * { grid-column: span 6; min-width: 0; }
.mk-grid > .span-2 { grid-column: span 2; }
.mk-grid > .span-3 { grid-column: span 3; }
.mk-grid > .span-4 { grid-column: span 4; }
.mk-card { background: #fff; border: 1px solid var(--line); border-radius: .7em; min-width: 0; }
.mk-w { padding: 1em 1.1em; display: flex; flex-direction: column; gap: .8em; overflow: hidden; }
.mk-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; }
.mk-card-head b { color: var(--navy); font-size: 1.05em; }
.mk-card-head small { white-space: nowrap; }

/* KPIs */
.mk-kpis { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 1em; }
.mk-kpi { padding: .9em 1em; position: relative; overflow: hidden; }
.mk-kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .25em; background: var(--blue-2); }
.mk-kpi:nth-child(2)::before { background: var(--orange); }
.mk-kpi:nth-child(3)::before { background: var(--ok); }
.mk-kpi:nth-child(4)::before { background: var(--navy-3); }
.mk-kpi strong { display: block; font: 700 1.75em var(--font-display); color: var(--navy); margin: .1em 0; white-space: nowrap; }
.mk-kpi em { font-style: normal; font-size: .84em; font-weight: 600; color: var(--ok); }
.mk-kpi em.down { color: #B5470A; }

/* bars */
.mk-bars { display: flex; align-items: stretch; gap: .8em; height: 10.5em; padding-top: .3em; }
.mk-bar { flex: 1; display: flex; flex-direction: column; gap: .4em; min-width: 0; }
.mk-bar-col { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: .2em; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 24.5%, #EEF2F7 24.5% 25%); }
.mk-bar-col i { width: 42%; max-width: 2.4em; background: var(--blue); border-radius: .25em .25em 0 0; }
.mk-bar-col i.b2 { background: #C9D9EE; }
.mk-geopulse .mk-bar-col i:not(.b2) { background: var(--orange); }
.mk-bar span { text-align: center; font-size: .82em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-legend { display: flex; gap: 1.2em; font-size: .84em; color: var(--muted); }
.mk-legend span { display: inline-flex; align-items: center; gap: .4em; }
.mk-legend i { width: .8em; height: .8em; border-radius: .2em; background: var(--blue); }
.mk-geopulse .mk-legend i.lg0 { background: var(--orange); }
.mk-legend i.lg1 { background: #C9D9EE; }

/* line */
.mk-line { width: 100%; height: 9em; display: block; }
.mk-line .area { fill: rgba(47,127,208,.14); }
.mk-line .stroke { fill: none; stroke: var(--blue); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.mk-geopulse .mk-line .area { fill: rgba(224,94,17,.12); }
.mk-geopulse .mk-line .stroke { stroke: var(--orange); }
.mk-xlabels { display: flex; justify-content: space-between; font-size: .82em; color: var(--muted); }

/* donut */
.mk-donut-wrap { display: flex; align-items: center; gap: 1.2em; }
.mk-donut { width: 8.5em; height: 8.5em; border-radius: 50%; display: grid; place-items: center; flex: none; }
.mk-donut span { width: 62%; height: 62%; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.mk-donut span b { font: 700 1.2em var(--font-display); color: var(--navy); }
.mk-dlegend { list-style: none; display: grid; gap: .45em; flex: 1; min-width: 0; font-size: .92em; }
.mk-dlegend li { display: flex; align-items: center; gap: .5em; white-space: nowrap; }
.mk-dlegend li i { width: .75em; height: .75em; border-radius: .2em; flex: none; }
.mk-dlegend li b { margin-left: auto; padding-left: .5em; }

/* map */
.mk-map-wrap { position: relative; border-radius: .5em; overflow: hidden; flex: 1; min-height: 10.5em; }
.mk-map { width: 100%; height: 100%; min-height: 10.5em; display: block; position: absolute; inset: 0; }
.mk-map .land { fill: #E9EFE6; }
.mk-map .water { fill: #BFD8EE; }
.mk-map .road { stroke: #fff; stroke-width: 5; fill: none; }
.mk-map .road-major { stroke: #F6E3B4; stroke-width: 8; }
.mk-map .fence { fill: rgba(3,87,164,.12); stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 4 3; }
.mk-map .fence-label, .mk-map .pin-label { font: 600 9px var(--font-body); fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.mk-map .route { fill: none; stroke: var(--orange); stroke-width: 3; stroke-dasharray: 6 4; }
.mk-map .pin path { fill: var(--ok); }
.mk-map .pin-info path { fill: var(--blue); }
.mk-map .pin-warn path { fill: var(--orange); }
.mk-map .pin-mute path { fill: #8592A8; }
.mk-map-overlay { position: absolute; right: .8em; bottom: .8em; background: #fff; border-radius: .5em; padding: .5em .8em; box-shadow: 0 .3em 1em rgba(10,31,68,.15); }

/* table */
.mk-chips { display: flex; gap: .5em; flex-wrap: nowrap; overflow: hidden; }
.mk-chips span { padding: .35em .9em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.mk-chips span.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.mk-table { border: 1px solid var(--line); border-radius: .5em; overflow: hidden; }
.mk-tr { display: grid; gap: 1em; align-items: center; padding: .62em 1em; border-top: 1px solid #EDF1F6; }
.mk-tr > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-th { border-top: 0; background: var(--paper); color: var(--muted); font-weight: 600; font-size: .86em; padding-block: .55em; }
.mk-strong { font-weight: 600; color: var(--ink); }
.mk-strong small { font-weight: 400; }
.mk-person { display: flex !important; align-items: center; gap: .6em; }
.mk-person > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mk-person b { display: block; overflow: hidden; text-overflow: ellipsis; }
.mk-photo { position: relative; display: inline-flex !important; overflow: visible !important; }
.mk-photo .mk-av { border-radius: .4em; width: 2.4em; height: 2.4em; }
.mk-photo i { position: absolute; right: -.4em; bottom: -.3em; width: 1.2em; height: 1.2em; border-radius: 50%; background: var(--ok); color: #fff; font-style: normal; font-size: .7em; display: grid; place-items: center; border: .15em solid #fff; }
.mk-mini { display: flex !important; align-items: center; gap: .6em; }
.mk-mini i { display: block; position: relative; height: .5em; flex: 0 0 4.5em; border-radius: 1em; background: #E3EAF3; overflow: hidden; }
.mk-mini i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue-2); border-radius: 1em; }
.mk-mini i.high::after { background: var(--blue); }
.mk-mini i.over::after { background: #C0392B; }
.mk .pill { font-size: .85em; padding: .25em .75em; }
.pill-bad { background: #FDE2E0; color: #A3241A; }
.pill-mute { background: #EAEFF5; color: #4A5872; }

/* meters */
.mk-meters { list-style: none; display: grid; gap: .85em; }
.mk-meters li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 3em; gap: .9em; align-items: center; }
.mk-meters li > div { min-width: 0; }
.mk-meters li b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-meter { height: .6em; border-radius: 1em; background: #E3EAF3; overflow: hidden; }
.mk-meter i { display: block; height: 100%; background: var(--blue-2); border-radius: 1em; }
.mk-meter i.high { background: var(--blue); }
.mk-meter i.over { background: #C0392B; }
.mk-meters em { font-style: normal; font-weight: 700; text-align: right; color: var(--navy); }
.mk-meters em.over { color: #A3241A; }

/* pipeline */
.mk-pipe { display: flex; align-items: stretch; gap: .5em; }
.mk-stage { flex: 1; padding: .7em .9em; border-radius: .5em; background: var(--paper); border: 1px solid var(--line); }
.mk-stage strong { display: block; font: 700 1.5em var(--font-display); color: var(--navy); }
.mk-stage.cur { background: var(--orange-soft); border-color: #F6C9A8; }
.mk-stage.done { background: #DDF3E7; border-color: #B7E2C9; }
.mk-arrow { align-self: center; width: .9em; height: .9em; border-top: .18em solid #9AAFC9; border-right: .18em solid #9AAFC9; transform: rotate(45deg); flex: none; }

/* timeline */
.mk-timeline { list-style: none; display: grid; gap: .1em; }
.mk-timeline li { position: relative; padding: 0 0 .75em 1.6em; }
.mk-timeline li::before { content: ""; position: absolute; left: .2em; top: .25em; width: .75em; height: .75em; border-radius: 50%; background: #fff; border: .18em solid #B9C6D8; }
.mk-timeline li::after { content: ""; position: absolute; left: .53em; top: 1.15em; bottom: 0; width: .12em; background: #E3EAF3; }
.mk-timeline li:last-child::after { display: none; }
.mk-timeline li.ok::before { background: var(--ok); border-color: var(--ok); }
.mk-timeline li.info::before { background: var(--blue-2); border-color: var(--blue-2); }
.mk-timeline li.cur::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 .25em rgba(224,94,17,.2); }
.mk-timeline b { display: block; }

/* profile */
.mk-profile { display: flex; align-items: center; gap: .9em; }
.mk-profile .mk-av { width: 3.6em; height: 3.6em; font-size: 1em; }
.mk-profile b { font-size: 1.1em; }
.mk-dl { display: grid; gap: .5em; margin: 0; }
.mk-dl div { display: flex; justify-content: space-between; gap: 1em; padding-bottom: .5em; border-bottom: 1px solid #EDF1F6; }
.mk-dl dt { color: var(--muted); }
.mk-dl dd { margin: 0; font-weight: 600; text-align: right; }

/* transfer */
.mk-transfer { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: 1em; }
.mk-party { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3em; padding: .8em; border-radius: .6em; background: var(--paper); }
.mk-party .mk-av { width: 3em; height: 3em; font-size: .95em; }
.mk-asset-chip { position: relative; text-align: center; padding: .8em 1em; border: 1.5px dashed var(--blue-2); border-radius: .6em; background: #F1F7FE; }
.mk-steps { display: flex; gap: .4em; }
.mk-steps span { flex: 1; text-align: center; padding: .5em .3em; border-radius: .4em; background: var(--paper); color: var(--muted); font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-top: .25em solid #D3DCE8; }
.mk-steps span.done { color: var(--ok); border-top-color: var(--ok); background: #EEF9F3; font-weight: 600; }
.mk-steps span.cur { color: #9A3D07; border-top-color: var(--orange); background: var(--orange-soft); font-weight: 600; }

/* checklist */
.mk-check { list-style: none; display: grid; gap: .55em; }
.mk-check li { display: grid; grid-template-columns: 1.3em 1fr; column-gap: .6em; align-items: start; }
.mk-check li i { grid-row: span 2; width: 1.15em; height: 1.15em; border-radius: .3em; border: .15em solid #B9C6D8; margin-top: .05em; }
.mk-check li.done i { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 .2em #fff; }
.mk-check li.cur i { border-color: var(--orange); background: var(--orange-soft); }

/* calendar */
.mk-cal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.mk-cal-group { border-radius: .6em; padding: .8em; background: var(--paper); display: flex; flex-direction: column; gap: .6em; border-top: .3em solid #9AAFC9; }
.mk-cal-group.urgent { border-top-color: var(--orange); background: #FFF6EF; }
.mk-cal-group.soon { border-top-color: var(--blue-2); }
.mk-cal-group > small { font-weight: 700; color: var(--navy); font-size: .92em; }
.mk-cal-item { background: #fff; border: 1px solid var(--line); border-radius: .5em; padding: .65em .8em; display: grid; gap: .15em; }
.mk-cal-item span { color: var(--muted); font-size: .86em; }
.mk-cal-item em { font-style: normal; font-weight: 700; color: var(--navy); }

/* score */
.mk-score { display: flex; align-items: center; gap: 1.2em; }
.mk-ring { --p: 90; width: 7em; height: 7em; border-radius: 50%; flex: none; display: grid; place-items: center; background: radial-gradient(circle, #fff 0 58%, transparent 59%), conic-gradient(var(--ok) calc(var(--p) * 1%), #E3EAF3 0); }
.mk-ring b { font: 700 1.6em var(--font-display); color: var(--navy); }
.mk-score ul { list-style: none; display: grid; gap: .6em; flex: 1; min-width: 0; }
.mk-score li { display: flex; align-items: center; gap: .5em; white-space: nowrap; font-size: .92em; }
.mk-score li b { white-space: nowrap; }
.mk-score li i { width: .75em; height: .75em; border-radius: 50%; }
.mk-score li i.ok { background: var(--ok); } .mk-score li i.bad { background: #C0392B; } .mk-score li i.warn { background: var(--orange); }
.mk-score li b { margin-left: auto; }

/* ---------- Companion visuals beside product screens ---------- */
.product-media { --extra-scale: 1; }
.extra { position: absolute; z-index: 3; font-size: clamp(7px, .78vw, 11px); }
.extra-geopulse { right: -3%; bottom: -14%; width: 15em; }
.extra-asset { left: -4%; bottom: -12%; width: 24em; }
.extra-software { right: -3%; bottom: -12%; width: 24em; }
.extra .mk-av { display: inline-grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; color: #fff; font-weight: 700; font-size: .85em; flex: none; }
.extra small { display: block; color: var(--muted); font-size: .88em; line-height: 1.35; }
.extra b { font-weight: 600; }
.mk-phone { background: #0D1B33; border-radius: 2.2em; padding: .7em; box-shadow: 0 2.5em 4em -1.5em rgba(10,31,68,.55), 0 0 0 .15em #2A3A57 inset; position: relative; }
.mk-phone-notch { position: absolute; top: 1em; left: 50%; translate: -50% 0; width: 4.5em; height: 1.1em; border-radius: 1em; background: #0D1B33; z-index: 2; }
.mk-phone-screen { background: #F4F7FB; border-radius: 1.6em; padding: 2.6em 1em 1.1em; display: grid; gap: .8em; }
.mk-ph-top b { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.15em; }
.mk-ph-selfie { position: relative; height: 8.5em; border-radius: 1em; background: linear-gradient(160deg, #3D5A80, #0A1F44); display: grid; place-items: center; overflow: hidden; }
.mk-ph-selfie .mk-av { width: 4.4em; height: 4.4em; font-size: 1.1em; box-shadow: 0 0 0 .35em rgba(255,255,255,.35); }
.mk-ph-selfie span { position: absolute; bottom: .6em; left: .6em; background: rgba(30,127,79,.95); color: #fff; font-size: .82em; font-weight: 600; padding: .25em .7em; border-radius: 1em; }
.mk-ph-loc { display: flex; align-items: center; gap: .6em; background: #fff; border: 1px solid var(--line); border-radius: .8em; padding: .6em .7em; }
.mk-ph-loc i { width: 1.6em; height: 1.6em; border-radius: 50%; background: rgba(3,87,164,.15); box-shadow: inset 0 0 0 .45em #fff, inset 0 0 0 1em var(--blue); flex: none; }
.mk-ph-btn { background: var(--orange-btn); color: #fff; text-align: center; font-weight: 700; padding: .8em; border-radius: .8em; font-family: var(--font-display); }
.mk-ph-row { display: flex; justify-content: space-between; color: var(--muted); font-size: .92em; padding: 0 .2em; }
.mk-ph-row b { color: var(--navy); }
.mk-float { background: #fff; border: 1px solid var(--line); border-radius: 1.1em; padding: 1.1em 1.2em; box-shadow: 0 2.5em 4em -1.5em rgba(10,31,68,.45); display: grid; gap: .9em; }
.mk-float-head { display: flex; align-items: center; gap: .75em; }
.mk-float-head b { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.12em; }
.mk-float-asset { display: flex; gap: .9em; align-items: center; padding: .8em; border-radius: .8em; background: var(--paper); }
.mk-qr { width: 4.4em; height: 4.4em; flex: none; border-radius: .3em; background:
  conic-gradient(var(--navy) 25%, transparent 0 50%, var(--navy) 0 75%, transparent 0) 0 0 / 1.1em 1.1em, #fff; box-shadow: 0 0 0 .35em #fff, 0 0 0 .45em var(--line); }
.mk-float-foot { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.mk-float .pill { font-size: .88em; }
.mk-bell-ic { width: 2.6em; height: 2.6em; border-radius: .7em; background: var(--orange-soft); position: relative; flex: none; }
.mk-bell-ic::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1.1em; height: 1.2em; translate: -50% -55%; border: .18em solid var(--orange-btn); border-radius: .6em .6em .15em .15em; }
.mk-float-rows { display: grid; gap: .45em; }
.mk-float-rows div { display: flex; justify-content: space-between; padding-bottom: .45em; border-bottom: 1px solid #EDF1F6; color: var(--muted); }
.mk-float-rows b { color: var(--navy); }
.product-media { padding-bottom: 4%; }
@media (max-width: 900px) {
  .product-media { padding-bottom: 0; margin-bottom: 3rem; }
  .extra { font-size: clamp(6.5px, 1.6vw, 11px); }
  .extra-geopulse { right: 1%; bottom: -10%; }
  .extra-asset { left: auto; right: 1%; bottom: -10%; }
  .extra-software { right: 1%; }
}
@media (max-width: 520px) {
  .extra-asset, .extra-software { width: 21em; }
  .extra-geopulse { width: 11em; bottom: -16%; }
  .extra { font-size: 6px; }
}

.product-geo .product-media .screen-badge, .product-soft .product-media .screen-badge { right: auto; left: 10px; background: #fff; color: var(--navy); }

/* =========================================================
   Commercials, workforce models, partners
   ========================================================= */
.callout { margin: 1.25rem 0; padding: .9rem 1.1rem; border-radius: var(--radius-s); background: var(--orange-soft); color: #6E2D05 !important; font-weight: 500; }
.text-link { align-self: center; font-weight: 600; padding: .5rem .25rem; }

/* Staffing vs client */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.model { border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.model h3 { display: flex; align-items: center; gap: .75rem; margin: 0; padding: 1.15rem 1.5rem; color: #fff; font-size: 1.3rem; }
.model-agency h3 { background: var(--blue); }
.model-client h3 { background: var(--orange-btn); }
.model ul { list-style: none; padding: 1.25rem 1.5rem 1.5rem; display: grid; gap: 1rem; }
.model li { position: relative; padding-left: 2rem; color: var(--muted); }
.model li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.model-client li::before { background-color: var(--orange-btn); }
.model li strong { color: var(--navy); }
@media (max-width: 860px) { .models { grid-template-columns: 1fr; } }

/* Pricing */
.price-tabs { display: inline-flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 2rem; }
.price-tabs button { font: 650 1rem var(--font-display); color: var(--muted); background: transparent; border: 0; padding: .7rem 1.3rem; border-radius: 999px; cursor: pointer; min-height: 44px; }
.price-tabs button:hover { color: var(--navy); }
.price-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.price-panel[hidden] { display: none; }
.price-intro { color: var(--muted); margin-top: -1rem; }
.price-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.ticks { list-style: none; display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1rem; height: 1rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7F4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.impl { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius-m); padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.impl h3 { font-size: 1.1rem; margin: 0; }
.impl-cost { margin-top: auto; padding: 1rem; border-radius: var(--radius-s); background: var(--orange-soft); text-align: center; }
.impl-cost small { display: block; font-weight: 600; color: #9A3D07; }
.impl-cost strong { font: 800 2rem var(--font-display); color: var(--navy); }
.price-ams .impl { border-top-color: var(--blue); }
.price-ams .impl-cost { background: var(--sky); }
.price-ams .impl-cost small { color: var(--blue); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.35rem; margin-bottom: .1rem; }
.plan-for { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.plan-size { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.plan-size .ic { color: var(--blue); width: 20px; height: 20px; }
.plan-price { margin: .25rem 0 .75rem; }
.plan-price strong { display: block; font: 800 2.4rem/1.1 var(--font-display); color: var(--navy); letter-spacing: -.02em; }
.plan-price strong.custom { font-size: 1.75rem; color: var(--orange-btn); padding: .3rem 0; }
.plan-price span { color: var(--muted); font-size: .92rem; }
.plan-min { display: inline-block; font-size: .85rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--orange-soft); color: #9A3D07; margin-bottom: .75rem; align-self: flex-start; }
.plan-plus { font-weight: 600; color: var(--blue); font-size: .92rem; margin-bottom: .5rem; }
.plan .ticks { margin-bottom: 1.5rem; }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.85); box-shadow: 0 30px 50px -25px rgba(10,31,68,.6); transform: translateY(-.5rem); }
.plan-featured h3, .plan-featured .plan-size, .plan-featured .plan-price strong { color: #fff; }
.plan-featured .plan-for, .plan-featured .plan-price span { color: rgba(255,255,255,.7); }
.plan-featured .plan-size .ic { color: #FFB98C; }
.plan-featured .plan-plus { color: #9CC8F2; }
.plan-featured .ticks li::before { filter: brightness(1.6); }
.plan-flag { position: absolute; top: -.8rem; left: 1.5rem; background: var(--orange-btn); color: #fff; font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; }
@media (max-width: 1080px) { .price-layout { grid-template-columns: 1fr; } .impl { display: grid; grid-template-columns: 1fr 1fr; align-items: start; } .impl h3 { grid-column: 1 / -1; } .impl-cost { margin-top: 0; } }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 520px; } .plan-featured { transform: none; margin-top: .5rem; } .impl { grid-template-columns: 1fr; } }

/* Estimator */
.estimator { margin-top: 1.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; }
.estimator h3 { font-size: 1.15rem; }
.est-inputs > label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.est-range { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.est-range input[type="range"] { flex: 1; accent-color: var(--orange-btn); min-height: 44px; }
.est-range input[type="number"] { width: 6.5rem; font: inherit; font-weight: 600; padding: .55rem .7rem; border: 1.5px solid #B9C6D8; border-radius: var(--radius-s); min-height: 44px; }
.est-billing { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.est-billing legend { font-weight: 600; color: var(--navy); margin-bottom: .4rem; padding: 0; }
.est-billing label { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; min-height: 32px; }
.est-billing input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; }
.est-output { background: var(--paper); border-radius: var(--radius-s); padding: 1.25rem; display: grid; gap: .9rem; align-content: start; }
.est-plan { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.est-plan b { font: 700 1.15rem var(--font-display); color: var(--navy); }
.est-rows { display: grid; gap: .45rem; }
.est-rows div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.est-rows div span { color: var(--muted); }
.est-rows div.total { border-bottom: 0; font-size: 1.05rem; }
.est-rows div.total b { font: 800 1.35rem var(--font-display); color: var(--navy); }
.est-note { font-size: .85rem; color: var(--muted); margin: 0; }
.est-output .btn { justify-self: start; }
@media (max-width: 760px) { .estimator { grid-template-columns: 1fr; } }

.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.price-notes > div { display: flex; gap: .9rem; align-items: flex-start; }
.price-notes .ic { color: var(--orange-btn); width: 28px; height: 28px; margin-top: 2px; }
.price-notes p { margin: 0; color: var(--muted); font-size: .95rem; }
.price-notes strong { color: var(--navy); }
.price-fine { margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .price-notes { grid-template-columns: 1fr; } }

/* Partners band */
.partners { background: var(--orange-btn); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.partners-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) auto; gap: 2rem; align-items: center; }
.partners h2 { color: #fff; font-size: var(--step-3); margin-bottom: .5rem; }
.partners p { margin: 0; color: rgba(255,255,255,.9); }
.partner-types { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.partner-types li { padding: .4rem .85rem; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); font-size: .92rem; font-weight: 500; }
.partners .btn-primary { background: #fff; color: var(--orange-btn); }
.partners .btn-primary:hover { background: var(--navy); color: #fff; }
@media (max-width: 980px) { .partners-inner { grid-template-columns: 1fr; } .partners .btn { justify-self: start; } }
@media (max-width: 560px) {
  .price-tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-m); width: 100%; }
  .price-tabs button { border-radius: var(--radius-s); padding: .6rem .5rem; font-size: .9rem; line-height: 1.2; }
}

/* =========================================================
   Redesign v3: product layout, use cases, trust, dialog, reveal
   ========================================================= */
.product { display: block; }
.product-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.product.reverse .product-top .product-copy { order: 2; }
.product-media { position: relative; top: auto; }
.product-problem { color: var(--muted); padding-left: 1rem; border-left: 3px solid var(--line); }
.product-problem strong { color: var(--navy); }
.product-copy .btn-row { margin-top: 1.5rem; }
.product-copy .text-link { display: inline-block; margin-top: .75rem; }
.product-details { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.product-details > div { background: var(--paper); border-radius: var(--radius-m); padding: 1.5rem; border-top: 3px solid var(--accent); }
.product-details h4 { margin: 0 0 1rem; font-size: 1.05rem; }
.product-details .caps { grid-template-columns: 1fr 1fr; gap: .45rem 1rem; }
.product-details .caps li { font-size: .92rem; }
.how { list-style: none; counter-reset: h; display: grid; gap: .9rem; }
.how li { counter-increment: h; position: relative; padding-left: 2.4rem; font-size: .93rem; color: var(--muted); }
.how li::before { content: counter(h); position: absolute; left: 0; top: 0; width: 1.7rem; height: 1.7rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 .85rem var(--font-display); }
.how b { color: var(--ink); display: block; }
.reports { list-style: none; display: grid; gap: .55rem; }
.reports li { position: relative; padding-left: 1.6rem; font-size: .93rem; }
.reports li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: .8rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); background: linear-gradient(to top, var(--accent) 0 40%, transparent 40%) .2rem 100% / .18rem 100% no-repeat, linear-gradient(to top, var(--accent) 0 75%, transparent 75%) .5rem 100% / .18rem 100% no-repeat; }
@media (max-width: 1080px) { .product-details { grid-template-columns: 1fr 1fr; } .pd-caps { grid-column: 1 / -1; } .product-details .caps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .product-top { grid-template-columns: 1fr; }
  .product.reverse .product-top .product-copy { order: 0; }
  .product-top .product-media { order: -1; }
}
@media (max-width: 700px) { .product-details { grid-template-columns: 1fr; } .product-details .caps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .product-details .caps { grid-template-columns: 1fr; } }

.hero-products { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.hero-products a { display: inline-block; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.85); text-decoration: none; font-size: .88rem; }
.hero-products a:hover { border-color: #fff; color: #fff; }
.tour-disclaimer { font-size: .9rem !important; color: rgba(255,255,255,.6) !important; }

/* Use cases */
.usecase-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.usecase-filter button { font: 600 .92rem var(--font-body); padding: .5rem 1rem; min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.usecase-filter button:hover { border-color: var(--blue); color: var(--blue); }
.usecase-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.usecases { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.uc { display: flex; flex-direction: column; gap: .9rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; border-top: 4px solid var(--accent); transition: transform .2s, box-shadow .2s; }
.uc:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(10,31,68,.45); }
.uc[hidden] { display: none; }
.uc-geo { --accent: var(--orange); --accent-ink: #9A3D07; }
.uc-asset { --accent: var(--blue); --accent-ink: var(--blue); }
.uc-soft { --accent: var(--navy-3); --accent-ink: var(--navy-3); }
.uc-head { display: flex; gap: .7rem; align-items: flex-start; }
.uc-head .ic { color: var(--accent); flex: none; margin-top: 2px; }
.uc h3 { font-size: 1.08rem; margin: 0; }
.uc p { margin: 0; font-size: .92rem; color: var(--muted); }
.uc p span { display: block; font-size: .78rem; font-weight: 700; color: var(--navy); margin-bottom: .15rem; }
.uc-answer span { color: var(--accent-ink) !important; }
.uc-product { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--accent-ink); }
@media (max-width: 1080px) { .usecases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .usecases { grid-template-columns: 1fr; } }

/* Trust */
.trust-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.25rem; }
.trust-card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.6rem; background: #fff; }
.trust-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin-bottom: 1rem; }
.trust-card h3 .ic { color: var(--blue); }
.trust-card > p { color: var(--muted); font-size: .95rem; }
.trust-card .ticks li { font-size: .93rem; color: var(--muted); }
.trust-card .ticks b { color: var(--ink); }
.trust-note { margin: 1.25rem 0 0; padding: .8rem 1rem; border-radius: var(--radius-s); background: var(--paper); font-size: .9rem; }
.support-hours { margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.support-hours div { display: grid; gap: .1rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.support-hours dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.support-hours dd { margin: 0; font-weight: 600; color: var(--navy); }
@media (max-width: 980px) { .trust-grid { grid-template-columns: 1fr 1fr; } .trust-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .trust-grid { grid-template-columns: 1fr; } }

/* Forms */
.opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Demo dialog */
.demo-dialog { width: min(640px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); border: 0; border-radius: var(--radius-l); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); color: var(--ink); }
.demo-dialog::backdrop { background: rgba(7,23,51,.6); backdrop-filter: blur(3px); }
.demo-dialog[open] { animation: dlg .22s ease-out; }
@keyframes dlg { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.dialog-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.dialog-head h2 { font-size: var(--step-2); font-stretch: 100%; letter-spacing: -.01em; margin-bottom: .25rem; }
.dialog-sub { color: var(--muted); margin: 0; font-size: .95rem; }
.dialog-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.dialog-close:hover { background: var(--paper); }
.demo-dialog .form-success .btn-outline { margin-top: .5rem; }

/* Restrained reveal for product screens (only when motion is allowed) */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }
/* accessibility and small-screen fixes */
.mk-search { color: #5E6B82; }
.pill-ok { color: #17683F; }
.partners p { color: #fff; }
.partners { background: #B54708; }
.partner-types li { background: rgba(0,0,0,.14); border-color: rgba(255,255,255,.4); }
.partners .btn-primary { color: #B54708; }
.site-footer .linklike { padding: .35rem 0; min-height: 40px; }
@media (max-width: 480px) { .hero-visual { min-height: 0; } }
.product-top > * { min-width: 0; }
.product-copy { overflow-wrap: anywhere; }
@media (max-width: 400px) { .product h3 { font-size: 1.85rem; } .btn { padding-inline: 1rem; } }
.mk-grid > .span-2 .mk-cal { grid-template-columns: 1fr; }
.demo-dialog .err { min-height: .9rem; margin-bottom: .2rem; }

/* =========================================================
   Pricing page
   ========================================================= */
.preview-banner { background: #FFF4D6; color: #6B4E00; border-bottom: 1px solid #F1D48A; padding: .7rem 1.25rem; font-size: .92rem; text-align: center; }
.ph { display: inline-block; background: #FFF4D6; color: #6B4E00; border: 1px dashed #D9A400; border-radius: 4px; padding: .1rem .45rem; font-size: .85rem; font-weight: 600; }
.ph-public { display: block; margin-top: .35rem; font-size: .88rem; color: var(--muted); }

.pricing-hero { background: var(--navy); color: rgba(255,255,255,.85); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; isolation: isolate; }
.pricing-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 90% 30%, rgba(47,127,208,.3), transparent 70%); }
.pricing-hero h1 { color: #fff; font-size: var(--step-5); font-weight: 800; font-stretch: 85%; letter-spacing: -.025em; line-height: 1.04; max-width: 20ch; margin-bottom: 1.25rem; }
.pricing-hero .lead { font-size: var(--step-1); max-width: 60ch; color: rgba(255,255,255,.85); }
.pricing-hero .btn-row { margin: 2rem 0 1.75rem; }
.breadcrumb ol { list-style: none; display: flex; gap: .5rem; font-size: .88rem; margin-bottom: 1.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: rgba(255,255,255,.45); }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb [aria-current] { color: #fff; }
.pricing-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .9rem; color: rgba(255,255,255,.75); }
.pricing-facts li { position: relative; padding-left: 1.2rem; }
.pricing-facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--orange); }

.pp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pp-card { display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-m); transition: transform .2s, box-shadow .2s; }
.pp-card:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -24px rgba(10,31,68,.45); }
.pp-geo, .tag-geo, .quote-geo { --accent: var(--orange); --accent-soft: var(--orange-soft); --accent-ink: #9A3D07; }
.pp-asset, .tag-asset, .quote-asset { --accent: var(--blue); --accent-soft: var(--sky); --accent-ink: var(--blue); }
.pp-soft, .tag-soft, .quote-soft { --accent: var(--navy-3); --accent-soft: #E3E9F3; --accent-ink: var(--navy-3); }
.pp-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.pp-icon .ic { width: 28px; height: 28px; }
.pp-card h3 { margin: 0; font-size: 1.35rem; }
.pp-cat { margin: -.6rem 0 0; color: var(--accent-ink); font-weight: 600; font-size: .92rem; }
.pp-card > p { color: var(--muted); margin: 0; font-size: .95rem; }
.pp-approach { background: var(--paper); border-radius: var(--radius-s); padding: .8rem 1rem; }
.pp-approach b { display: block; font-size: .85rem; color: var(--navy); }
.pp-approach p { margin: .15rem 0 0; font-size: .92rem; color: var(--ink); }
.pp-card .ticks { margin-bottom: .5rem; }
.pp-card .btn { margin-top: auto; }
@media (max-width: 960px) { .pp-cards { grid-template-columns: 1fr; max-width: 560px; } }

.product-tag.tag-geo, .product-tag.tag-asset, .product-tag.tag-soft { background: var(--accent-soft); color: var(--accent-ink); }
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pk { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.75rem 1.5rem 1.5rem; transition: border-color .2s, box-shadow .2s; }
.pk:hover { border-color: #B9C6D8; box-shadow: 0 18px 32px -24px rgba(10,31,68,.45); }
.pk h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.pk-sum { color: var(--muted); font-size: .95rem; min-height: 4.6em; }
.pk-size { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy); margin: .25rem 0 1rem; }
.pk-size .ic { width: 20px; height: 20px; color: var(--orange-btn); }
.pk-price { margin: 0 0 .75rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.pk-price strong { display: block; font: 800 1.6rem/1.15 var(--font-display); color: var(--navy); }
.pk-price span:not(.ph) { color: var(--muted); font-size: .9rem; }
.pk-price .ph { margin-top: .35rem; }
.pk-basis { font-size: .92rem; color: var(--muted); margin-bottom: 1.25rem; }
.pk-basis b { color: var(--ink); }
.pk .btn { margin-top: auto; }
.pk-link { margin-top: .75rem; text-align: center; font-size: .9rem; font-weight: 600; }
.pk-rec { border: 2px solid var(--orange-btn); }
.pk-flag { position: absolute; top: -.8rem; left: 1.5rem; background: var(--orange-btn); color: #fff; font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; max-width: 560px; } .pk-sum { min-height: 0; } }

.compare-title { margin: clamp(2.5rem, 5vw, 3.5rem) 0 1rem; font-size: var(--step-3); }
.compare-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 680px; }
.compare th, .compare td { padding: .8rem 1rem; border-bottom: 1px solid #EDF1F6; text-align: left; vertical-align: middle; }
.compare thead th { position: sticky; top: 0; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 1rem; }
.compare thead th:first-child { border-top-left-radius: var(--radius-m); }
.compare thead th:last-child { border-top-right-radius: var(--radius-m); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.compare tbody tr:not(.grp):hover { background: #F8FAFD; }
.compare tr.grp th { background: var(--paper); color: var(--navy); font: 700 .85rem var(--font-display); padding-block: .6rem; }
.compare td { width: 22%; }
.ic-yes { color: var(--ok); width: 22px; height: 22px; stroke-width: 2.6; }
.no { color: #A3AFC2; font-weight: 600; }
.val { font-weight: 500; color: var(--navy); }
.tbc { color: var(--muted); font-size: .88rem; font-style: italic; }
.compare-note { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.compare-mobile { display: none; }
@media (max-width: 720px) {
  .compare-wrap { display: none; }
  .compare-mobile { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
  .cm-switch { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); padding: .3rem; gap: .25rem; }
  .cm-switch button { font: 600 .92rem var(--font-display); color: rgba(255,255,255,.8); background: transparent; border: 0; padding: .7rem .25rem; border-radius: var(--radius-s); min-height: 44px; cursor: pointer; }
  .cm-switch button[aria-selected="true"] { background: #fff; color: var(--navy); }
  .cm-panel ul { list-style: none; }
  .cm-panel li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid #EDF1F6; font-size: .93rem; }
  .cm-panel li.grp { background: var(--paper); font: 700 .85rem var(--font-display); color: var(--navy); }
  .cm-val { text-align: right; flex: none; max-width: 50%; }
}

.quote-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.qp-copy h2 { margin-top: .25rem; }
.qp-intro { color: var(--muted); font-size: var(--step-1); }
.qp-price { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.qp-price strong { display: block; font: 800 1.4rem var(--font-display); color: var(--navy); }
.qp-price span { color: var(--accent-ink); font-weight: 600; font-size: .9rem; }
.qp-vars { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.6rem; }
.section-tint .qp-vars { background: #fff; }
.qp-vars h3 { font-size: 1.05rem; margin-bottom: .9rem; }
.qp-vars h3 + .chips { margin-bottom: 0; }
.var-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.25rem; margin-bottom: 1.5rem; }
.var-list li { position: relative; padding-left: 1.4rem; font-size: .93rem; }
.var-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: .6rem; height: .6rem; border-radius: 2px; background: var(--accent); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { padding: .3rem .75rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .86rem; }
@media (max-width: 900px) { .quote-panel { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .var-list { grid-template-columns: 1fr; } }

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.svc { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-m); background: #fff; transition: border-color .2s; }
.svc:hover { border-color: var(--blue-2); }
.svc .ic { color: var(--blue); width: 30px; height: 30px; margin-bottom: .4rem; }
.svc h3 { font-size: 1.15rem; margin: 0; }
.svc p { color: var(--muted); font-size: .93rem; margin: 0 0 .75rem; }
.svc-cta { margin-top: auto; font-weight: 600; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.terms-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; margin: 0; }
.term { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.term dt { font: 700 1.05rem var(--font-display); color: var(--navy); margin-bottom: .35rem; }
.term dd { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .terms-list { grid-template-columns: 1fr; } }

.pe-steps { margin: 1.5rem 0 2rem; padding-left: 1.25rem; display: grid; gap: .5rem; color: rgba(255,255,255,.85); }
.hours { margin: 1rem 0 0; font-size: .9rem; color: rgba(255,255,255,.7) !important; }
.modules { border: 0; padding: 0; margin: 0 0 1rem; }
.modules legend { font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .5rem; padding: 0; }
.module-list { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.module-list .check { font-size: .92rem !important; }
@media (max-width: 520px) { .module-list { grid-template-columns: 1fr; } }
.field[hidden], fieldset[hidden] { display: none; }

/* Homepage pricing teaser */
.pricing-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.pt-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-m); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.pt-card h3 { margin: 0; font-size: 1.2rem; }
.pt-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.pt-card .pt-model { color: var(--accent-ink); font-weight: 600; font-size: .9rem; }
.pt-card a { margin-top: auto; padding-top: .75rem; font-weight: 600; }
@media (max-width: 900px) { .pricing-teaser { grid-template-columns: 1fr; } }

/* GeoPulse plan builder */
.builder { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.builder-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; display: grid; gap: 1.5rem; }
.b-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.b-group > legend, .b-label { font: 700 .82rem var(--font-display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; padding: 0; display: block; }
.b-modules { display: grid; gap: .5rem; }
.b-mod { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); cursor: pointer; transition: border-color .15s, background-color .15s; }
.b-mod:hover { border-color: #B9C6D8; }
.b-mod:has(input:checked) { border-color: var(--orange-btn); background: #FFF8F2; }
.b-mod:has(input:focus-visible) { outline: 3px solid var(--orange); outline-offset: 2px; }
.b-mod input { width: 20px; height: 20px; margin: 0; accent-color: var(--orange-btn); }
.b-mod span b { display: block; color: var(--navy); font-weight: 600; }
.b-mod span small { display: block; color: var(--muted); font-size: .86rem; }
.b-mod-base { cursor: default; background: var(--paper) !important; border-color: var(--line) !important; }
.b-mod-plain:has(input:checked) { border-color: var(--blue); background: #F3F8FE; }
.b-mod-plain input { accent-color: var(--blue); }
.b-price { font-style: normal; font-weight: 700; color: var(--navy); font-size: .9rem; white-space: nowrap; }
.b-incl { font-style: normal; font-weight: 600; color: var(--ok); font-size: .88rem; }
.b-radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.b-radios label, .b-billing label { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; min-height: 44px; }
.b-radios label:has(input:checked), .b-billing label:has(input:checked) { border-color: var(--navy); background: var(--navy); color: #fff; }
.b-radios input, .b-billing input { accent-color: var(--orange); margin: 0; }
.b-hint { margin: .6rem 0 0; font-size: .86rem; color: var(--muted); }
.b-inline { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; }
.b-inline input[type="number"] { width: 9rem; font: inherit; font-weight: 600; padding: .6rem .8rem; border: 1.5px solid #B9C6D8; border-radius: var(--radius-s); min-height: 44px; }
.b-inline input[type="number"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3,87,164,.18); }
.b-billing { border: 0; padding: 0; margin: 0; display: flex; gap: .5rem; flex-wrap: wrap; }
.b-billing legend { margin-bottom: .75rem; }

.b-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--navy); color: rgba(255,255,255,.85); border-radius: var(--radius-m); padding: 1.6rem; box-shadow: 0 30px 50px -30px rgba(10,31,68,.6); }
.b-summary h3 { color: #fff; font-size: 1.2rem; margin-bottom: 1rem; }
.b-lines { list-style: none; display: grid; gap: .1rem; margin-bottom: 1rem; }
.b-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; }
.b-lines li span:last-child { text-align: right; color: #fff; font-weight: 600; }
.b-lines small { color: rgba(255,255,255,.65); font-weight: 400; }
.b-summary .b-incl { color: #7FD6A6; }
.b-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin: 0 0 1.25rem; }
.b-facts dt { font-size: .78rem; color: rgba(255,255,255,.6); }
.b-facts dd { margin: 0; color: #fff; font-weight: 600; }
.b-total { background: rgba(255,255,255,.08); border-radius: var(--radius-s); padding: 1rem; margin-bottom: 1rem; }
.b-total span { display: block; font-size: .85rem; color: rgba(255,255,255,.7); }
.b-total strong { display: block; font: 800 1.7rem/1.2 var(--font-display); color: #fff; margin: .2rem 0; }
.b-total small { display: block; font-size: .85rem; color: rgba(255,255,255,.75); }
.b-note { margin: .75rem 0 0; font-size: .82rem; color: rgba(255,255,255,.6); }
.b-summary .ph { color: #6B4E00; }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } .b-summary { position: static; } }
@media (max-width: 480px) { .b-mod { grid-template-columns: auto 1fr; } .b-mod .b-price, .b-mod .ph, .b-mod .b-incl { grid-column: 2; } }

.module-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.mcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem 1.35rem; }
.mcard h4 { margin: 0 0 .25rem; font-size: 1.05rem; }
.mcard-tag { margin: 0 0 .6rem; font-size: .8rem; font-weight: 600; color: #9A3D07; }
.mcard-base { border-top: 4px solid var(--ok); }
.mcard-base .mcard-tag { color: var(--ok); }
.mcard p:last-child { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 900px) { .module-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .module-cards { grid-template-columns: 1fr; } }
.b-summary .b-lines li span.ph { color: #6B4E00; }

/* ISO 9001 certification */
.cert-badge { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .55rem .95rem; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); color: #fff; text-decoration: none; font-size: .92rem; }
.cert-badge:hover { background: rgba(255,255,255,.14); color: #fff; }
.cert-badge .ic { color: #7FD6A6; width: 22px; height: 22px; }
.cert-badge strong { font-weight: 600; }
.cert-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1rem 2rem; padding: 1.6rem; margin-bottom: 1.25rem; border-radius: var(--radius-m); border: 1px solid var(--line); border-left: 5px solid var(--ok); background: #fff; scroll-margin-top: calc(var(--header-h) + 16px); }
.cert-head { display: flex; gap: 1rem; align-items: flex-start; }
.cert-icon { width: 52px; height: 52px; flex: none; border-radius: 14px; background: #DDF3E7; color: var(--ok); display: grid; place-items: center; }
.cert-icon .ic { width: 28px; height: 28px; }
.cert-head h3 { margin: 0 0 .3rem; font-size: 1.3rem; }
.cert-head p { margin: 0; color: var(--muted); }
.cert-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; margin: 0; }
.cert-facts dt { font-size: .82rem; color: var(--muted); font-weight: 600; }
.cert-facts dd { margin: 0; font-weight: 600; color: var(--navy); }
.cert-scope { grid-column: 1 / -1; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .93rem; }
.cert-scope b { color: var(--ink); }
.cert-links { grid-column: 1 / -1; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; }
.footer-cert { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.footer-cert .ic { color: #7FD6A6; width: 20px; height: 20px; }
@media (max-width: 760px) { .cert-panel { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cert-facts { grid-template-columns: 1fr; } }
.footer-cert a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; } .footer-cert a:hover { color: #FFB98C; }

/* Certification marks beside the logo */
.header-certs { display: flex; align-items: center; gap: .35rem; padding-left: .9rem; margin-left: .2rem; border-left: 1px solid var(--line); text-decoration: none; color: var(--navy); flex: none; }
.header-certs img { width: 38px; height: 38px; display: block; }
.hc-text { display: flex; flex-direction: column; line-height: 1.1; margin-left: .25rem; }
.hc-text strong { font-family: var(--font-display); font-size: .85rem; font-weight: 700; }
.hc-text span { font-size: .72rem; color: var(--muted); }
.header-certs:hover .hc-text strong { color: var(--blue); }
@media (max-width: 1360px) { .hc-text { display: none; } }
@media (max-width: 1180px) and (min-width: 1081px) { .header-certs { display: none; } }
@media (max-width: 420px) { .header-certs { padding-left: .6rem; } .header-certs img { width: 32px; height: 32px; } }

/* View-only certificate */
.cert-dialog { width: min(720px, calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); border: 0; border-radius: var(--radius-l); padding: clamp(1rem, 3vw, 1.75rem); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); color: var(--ink); }
.cert-dialog::backdrop { background: rgba(7,23,51,.7); }
.cert-dialog[open] { animation: dlg .22s ease-out; }
.cert-view { position: relative; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.cert-view img { width: 100%; height: auto; display: block; pointer-events: none; }
.cert-shield { position: absolute; inset: 0; }
.cert-note { margin: .9rem 0 0; font-size: .88rem; color: var(--muted); }
@media print { .cert-dialog, .cert-view { display: none !important; } }
.primary-nav a { white-space: nowrap; }
.brand-text span { white-space: nowrap; }
.header-actions .btn { white-space: nowrap; }
@media (min-width: 1081px) { .primary-nav a { padding-inline: .5rem; } .header-inner { gap: 1rem; } }
@media (max-width: 1499px) { .hc-text { display: none; } }
@media (max-width: 1260px) and (min-width: 1081px) { .header-certs { display: none; } }
@media (max-width: 1260px) { .extra-geopulse, .extra-software { right: 0; } .extra-asset { left: 0; } }
html { overflow-x: clip; }

/* Full company name in capitals */
.brand-full { gap: 1px; }
.brand-full strong { font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .06em; font-stretch: 100%; line-height: 1.08; white-space: nowrap; color: var(--navy); }
.brand-light .brand-full strong { color: #fff; }
@media (max-width: 400px) { .brand-full strong { font-size: .86rem; letter-spacing: .04em; } .brand img { width: 38px; } .header-certs img + img { display: none; } }
.hc-text { display: none !important; }
@media (max-width: 360px) { .brand-full strong { font-size: .8rem; letter-spacing: .03em; } .brand { gap: .45rem; } .header-certs { padding-left: .45rem; margin-left: 0; } .header-certs img { width: 28px; height: 28px; } }
.cert-seal { width: 64px; height: 64px; flex: none; }
@media (max-width: 400px) { .header-certs img { display: none; } .header-certs img.seal-iso { display: block; } }

/* Logo only in the header */
.brand img.brand-logo { width: 58px; height: auto; }
@media (max-width: 400px) { .brand img.brand-logo { width: 50px; } .header-certs img { display: block; width: 34px; height: 34px; } }
@media (max-width: 340px) { .header-certs img { display: none; } .header-certs img.seal-iso { display: block; } }
.header-certs img.seal-iso { width: 48px; height: 48px; }
@media (max-width: 400px) { .header-certs img.seal-iso { width: 42px; height: 42px; } }
.cert-seal { width: 76px; height: 76px; }
