/* ==========================================================================
   Qity marketing site — built on top of colors_and_type.css (Qity DS tokens)
   Bold, modern, green-forward enterprise. Atlassian Sans throughout.
   ========================================================================== */

:root {
  /* Marketing palette (derived from Qity brand + Atlassian neutrals) */
  --brand:        #2FB874;   /* Qity green, dark — accents, glow */
  --brand-bright: #46DD8F;   /* logo green — highlights */
  --brand-deep:   #0C7A48;   /* AA-safe green for fills behind white text */
  --brand-tint:   #E6FAF0;   /* mint surface */
  --brand-tint-2: #F2FCF7;   /* faint mint */

  --navy:    #091E42;        /* deepest ink */
  --navy-2:  #0B1B3A;        /* dark section bg */
  --navy-3:  #122454;        /* dark section bg, raised */
  --ink:     #172B4D;        /* primary text */
  --ink-2:   #42526E;        /* secondary heading */
  --muted:   #5E6C84;        /* body muted */
  --muted-2: #6B778C;
  --line:    #DFE1E6;        /* hairline */
  --line-2:  #EBECF0;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --r-card: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-window: 0 2px 4px rgba(9,30,66,.08), 0 24px 56px -16px rgba(9,30,66,.30), 0 8px 24px -12px rgba(9,30,66,.18);
  --shadow-card: 0 0 1px rgba(9,30,66,.18), 0 2px 4px rgba(9,30,66,.06), 0 12px 28px -16px rgba(9,30,66,.22);
  --shadow-soft: 0 1px 2px rgba(9,30,66,.06), 0 8px 24px -18px rgba(9,30,66,.30);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: #fff; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: 1340px; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--navy);
  margin: 0;
}
.h-hero { font-size: clamp(40px, 6.2vw, 72px); }
.h-sec  { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--navy); margin: 0; }
.h-sub  { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.01em; color: var(--navy); margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-deep);
  margin: 0;
}
.eyebrow::before {
  content: none;
}
.eyebrow.center { justify-content: center; }

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55; color: var(--muted); margin: 0;
  max-width: 56ch;
}
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* gradient/highlight word */
.hl { color: var(--brand-deep); position: relative; white-space: nowrap; }
.hl-underline {
  color: var(--navy);
  background-image: linear-gradient(transparent 20%, var(--brand-bright) 20%, var(--brand-bright) 92%, transparent 92%);
  background-size: 100% 100%;
  border-radius: 5px;
  padding: 0 .1em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 600; line-height: 1;
  padding: 13px 20px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .15s, border-color .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 17px; height: 17px; }

.btn-primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 1px 2px rgba(9,30,66,.25), 0 10px 22px -12px rgba(9,30,66,.6);
}
.btn-primary:hover { background: #0c2a5e; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-brand {
  background: var(--brand-bright); color: var(--navy); font-weight: 700;
  box-shadow: 0 1px 2px rgba(9,30,66,.18), 0 8px 22px -8px rgba(70,221,143,.65);
}
.btn-brand:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 2px 5px rgba(9,30,66,.2), 0 16px 34px -8px rgba(70,221,143,.85); }
.btn-brand:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { background: var(--brand-tint-2); border-color: #C9D1DC; }

.btn-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-light:hover { background: rgba(255,255,255,.18); }

.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--brand-deep);
  text-decoration: none; cursor: pointer;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Pills / lozenges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  padding: 6px 12px 6px 10px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

.loz {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; padding: 3px 7px; border-radius: 4px;
  line-height: 1.2;
}
.loz-green  { background: var(--G-surface); color: var(--G-text); }
.loz-yellow { background: var(--Y-surface); color: #8a6d00; }
.loz-purple { background: var(--P-surface); color: var(--P-text); }
.loz-red    { background: var(--R-surface); color: var(--R-text); }
.loz-blue   { background: var(--B50); color: #0747A6; }
.loz-teal   { background: var(--T-surface); color: var(--T-text); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav-inner {
  max-width: 1340px; margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.nav.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-logo { height: 28px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 8px 13px;
  border-radius: 8px; text-decoration: none; transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--bg-hover); text-decoration: none; }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-contact { font-size: 14.5px; padding: 8px 16px; }
.nav-burger { display: none; }

/* nav on dark hero */
.nav.on-dark .nav-link { color: rgba(255,255,255,.86); }
.nav.on-dark .nav-link:hover { background: rgba(255,255,255,.10); color:#fff; }
.nav.on-dark.scrolled .nav-link { color: var(--ink); }
.nav.on-dark.scrolled .nav-link:hover { background: var(--bg-hover); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: 132px; padding-bottom: 80px; overflow: hidden; }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.hero.hero-img { background-image: url("assets/hero-bg.png"); background-size: cover; background-position: center; }
.hero.hero-img .hero-dots { display: none; }

.hero-logo { height: clamp(56px, 6vw, 78px); width: auto; display: block; margin: 0 0 30px; }
.hero[data-hl="below"] .hero-logo { margin-inline: auto; }

.hero-claim { font-weight: 700; letter-spacing: -.01em;
  line-height: 1.25; color: var(--brand-deep); margin: 0 0 18px; max-width: 22ch;
}
.theme-navy .hero .hero-claim { color: var(--brand-bright); }
.hero[data-hl="below"] .hero-claim { max-width: none; margin-inline: auto; }

.mp-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px 7px 8px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
}
.mp-badge .mp-ico {
  width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center;
  background: #2684FF; color: #fff; font-weight: 800; font-size: 13px;
}
.mp-badge b { color: var(--brand-deep); }

.mp-badge-cta {
  cursor: pointer; font-size: 13.5px; padding: 8px 15px 8px 14px; gap: 11px;
  background: #fff; border-color: var(--line);
  box-shadow: 0 0 0 1px rgba(70,221,143,.30), var(--shadow-soft);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s;
}
.mp-badge-cta:hover { transform: translateY(-1px); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(70,221,143,.20), var(--shadow-card); }
.mp-pre { font-size: 13px; font-weight: 600; color: var(--muted-2); white-space: nowrap; }
.mp-badge-logo { height: 15px; width: auto; display: block; }
.mp-badge-cta b { color: var(--brand-deep); }
.mp-badge-cta svg { width: 15px; height: 15px; color: var(--brand-deep); transition: transform .2s var(--ease); }
.mp-badge-cta:hover svg { transform: translateX(3px); }
.mp-div { width: 1px; height: 16px; background: var(--line); flex: none; }
.mp-badge-lg { padding: 0; gap: 11px; background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; }
.mp-badge-lg .mp-pre { font-size: 15.5px; }
.mp-badge-lg .mp-badge-logo { height: 21px; }
/* large hero badge is an inline label, not a pill/button — override theme chrome */
.theme-navy .hero .mp-badge.mp-badge-lg { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; padding: 0; }
/* white badge stays legible on the dark hero */
.theme-navy .hero .mp-badge-cta { background: #fff; border-color: var(--line); }
.theme-navy .hero .mp-badge-cta b { color: var(--brand-deep); }
.theme-navy .hero .mp-badge-cta svg { color: var(--brand-deep); }
.theme-navy .hero .mp-badge-cta .mp-pre { color: var(--muted-2); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-note { font-size: 13.5px; color: var(--muted-2); margin-top: 16px; display:flex; align-items:center; gap:8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--brand); }

/* hero default: text left, product right */
.hero-layout {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.18fr);
  gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 1;
}
.hero-copy { max-width: 600px; }
.h-hero { margin-bottom: 22px; }

/* product-below layout */
.hero[data-hl="below"] .hero-layout { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero[data-hl="below"] .hero-copy { max-width: 760px; }
.hero[data-hl="below"] .lead { margin-inline: auto; }
.hero[data-hl="below"] .hero-badges,
.hero[data-hl="below"] .hero-cta { justify-content: center; }
.hero[data-hl="below"] .hero-visual { margin-top: 18px; width: 100%; max-width: 1040px; }

/* dark theme hero */
.theme-navy .hero { background:
  radial-gradient(1200px 600px at 78% -8%, rgba(70,221,143,.16), transparent 60%),
  radial-gradient(900px 500px at 8% 0%, rgba(38,132,255,.12), transparent 55%),
  linear-gradient(180deg, var(--navy-2), #0a1730 60%, #0a1730);
}
.theme-navy .hero .h-hero,
.theme-navy .hero .h-hero { color: #fff; }
.theme-navy .hero .lead { color: rgba(233,239,250,.72); }
.theme-navy .hero .hl { color: var(--brand-bright); }
.theme-navy .hero .hl-underline { background-image: linear-gradient(transparent 62%, rgba(70,221,143,.34) 62%); }
.theme-navy .hero .eyebrow { color: var(--brand-bright); }
.theme-navy .hero .mp-badge { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(8px); }
.theme-navy .hero .mp-badge b { color: var(--brand-bright); }
.theme-navy .hero .hero-note { color: rgba(233,239,250,.6); }
.theme-navy .hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.04); }
.theme-navy .hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.theme-navy .hero-dots { opacity: .5; }

/* light/editorial hero dotted bg */
.hero-dots {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(9,30,66,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 72%);
}
.theme-mint .hero { background: linear-gradient(180deg, var(--brand-tint-2), #fff 70%); }
.theme-mint .hero .hl { color: var(--brand-deep); }

/* big watermark Q */
.hero-watermark {
  position: absolute; right: -120px; top: -80px; width: 520px; z-index: 0;
  color: var(--brand-bright); opacity: .06; pointer-events: none;
}
.theme-navy .hero-watermark { opacity: .10; }

/* ==========================================================================
   FAUX JIRA PRODUCT WINDOW
   ========================================================================== */
.window {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow-window);
  border: 1px solid rgba(9,30,66,.10);
  position: relative; z-index: 1;
}
.theme-navy .window { box-shadow: 0 2px 4px rgba(0,0,0,.2), 0 40px 80px -24px rgba(0,0,0,.55), 0 10px 30px -12px rgba(0,0,0,.4); border-color: rgba(255,255,255,.08); }

.hero-visual { position: relative; }
.hero-visual .window {
  transform: perspective(1800px) rotateY(var(--win-tiltY, 0deg)) rotateX(var(--win-tiltX, 0deg)) translateY(var(--win-lift, 0px)) scale(var(--win-scale, 1));
  transform-origin: var(--win-origin, center center); will-change: transform;
}
.hero[data-hl="right"] .hero-visual .window { --win-tiltY: -7deg; transform-origin: left center; }
.hero-spot .hero-visual { padding: clamp(20px, 4vw, 52px); border-radius: 28px; background: radial-gradient(125% 130% at 50% -12%, var(--brand-tint), #fff 72%); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.hero-visual .float-card { opacity: 0; transform: translateY(20px) scale(.96); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.hero-visual .float-card.popped { opacity: 1; transform: none; animation: floaty 6s var(--ease) infinite .6s; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Atlassian top bar */
.j-topbar {
  height: 44px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
}
.j-apps { display: flex; gap: 4px; }
.j-apps i { width: 4px; height: 4px; border-radius: 50%; background: var(--N100); display:block; }
.j-apps .g { display: grid; grid-template-columns: repeat(3, 4px); gap: 3px; }
.j-logo { display:flex; align-items:center; gap:7px; font-weight:700; color: var(--navy); font-size: 13px; }
.j-logo .mark { width: 17px; height: 20px; color: var(--brand); }
.j-search {
  flex: 1; max-width: 320px; height: 28px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--N20); display: flex; align-items: center; gap: 7px; padding: 0 10px;
  color: var(--N100); font-size: 12px;
}
.j-search svg { width: 13px; height: 13px; }
.j-topbar .j-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.j-ava { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,#FF8B00,#FF5630); }
.j-icobtn { width: 26px; height: 26px; border-radius: 50%; display:grid; place-items:center; color: var(--N200); }
.j-icobtn svg { width: 15px; height: 15px; }

/* real product screenshot inside window */
.shot-wrap { max-height: 540px; overflow: hidden; background: #fff; }
.shot-wrap img { width: 100%; display: block; }
.shot-tall { max-height: none; height: clamp(360px, 40vw, 460px); overflow: hidden; position: relative; }
.shot-tall img { width: 210%; max-width: 1035px; height: auto; display: block; transform-origin: left top; transform: translateX(var(--pan, 0%)); }
.shot-tall img.pan-go { animation: none; }
@keyframes ucpan { from { transform: translate(0%, 0%); } to { transform: translate(-19%, 0%); } }
@media (prefers-reduced-motion: reduce) { .shot-tall img { animation: none; width: 100%; transform: none; } }
.win-bar { height: 34px; background: var(--N10); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 13px; }
.win-bar .wd { width: 10px; height: 10px; border-radius: 50%; background: var(--N40); }
.win-bar .win-title { margin-left: 10px; font-size: 12px; color: var(--muted-2); font-weight: 600; }
.uc-shot { box-shadow: none; background: transparent; }
.uc-shot-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:14px; min-height:380px; padding:48px 40px;
  background: repeating-linear-gradient(135deg, var(--brand-tint-2), var(--brand-tint-2) 14px, #fff 14px, #fff 28px); }
.uc-shot-empty .uce-ico { width:60px; height:60px; border-radius:16px; display:grid; place-items:center; background:#fff; color: var(--brand-deep); box-shadow: var(--shadow-soft); }
.uc-shot-empty .uce-ico svg { width:30px; height:30px; }
.uc-shot-empty .uce-title { font-size:18px; font-weight:700; color: var(--navy); }
.uc-shot-empty .uce-sub { font-size:14px; color: var(--muted); max-width:42ch; line-height:1.55; }

.j-body { display: grid; grid-template-columns: 200px 1fr; min-height: 420px; }
.j-side { background: var(--N10); border-right: 1px solid var(--line); padding: 14px 10px; }
.j-side .grp { font-size: 10.5px; font-weight: 700; letter-spacing:.06em; text-transform: uppercase; color: var(--N200); padding: 10px 10px 6px; }
.j-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px;
  font-size: 13px; color: var(--ink-2); font-weight: 500; position: relative; margin-bottom: 1px;
}
.j-nav-item svg { width: 16px; height: 16px; color: var(--N200); flex: none; }
.j-nav-item.active { background: #E9F2FE; color: #1868DB; font-weight: 600; }
.j-nav-item.active svg { color: #1868DB; }
.j-nav-item.active::before { content:""; position:absolute; left:-10px; top:6px; bottom:6px; width:3px; border-radius:0 3px 3px 0; background:#1868DB; }

.j-main { padding: 20px 22px; background: #fff; }
.j-h1 { font-size: 20px; font-weight: 600; color: var(--navy); letter-spacing:-.01em; }
.j-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.j-gadgets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.j-gadget { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background:#fff; box-shadow: 0 0 1px rgba(9,30,66,.2), 0 1px 1px rgba(9,30,66,.12); }
.j-gadget .gh { display:flex; align-items:center; gap:9px; margin-bottom: 10px; }
.j-gadget .gh .ic { width: 26px; height: 26px; border-radius: 7px; display:grid; place-items:center; flex:none; }
.j-gadget .gh .tt { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.j-gadget .gh svg { width: 15px; height: 15px; }
.j-row { display:flex; align-items:center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink); }
.j-row:first-of-type { border-top: none; }
.j-row .key { font-family: var(--font-mono); font-size: 11.5px; color: var(--brand-deep); font-weight: 500; }
.j-row .nm { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.j-row .sp { margin-left: auto; }

/* donut */
.donut { width: 64px; height: 64px; border-radius: 50%; flex: none;
  display: grid; place-items: center; position: relative; }
.donut::after { content:""; position:absolute; inset: 11px; background:#fff; border-radius:50%; }
.donut .val { position: relative; z-index: 1; font-size: 15px; font-weight: 800; color: var(--navy); }
.gadget-stat { display:flex; align-items:center; gap: 14px; }
.gadget-stat .meta { font-size: 12px; color: var(--muted); }
.gadget-stat .meta b { color: var(--ink); }

/* approval banner inside product */
.j-banner {
  display:flex; align-items:center; gap:10px; padding: 9px 12px; border:1px solid var(--line);
  border-left: 3px solid var(--Y-bold); border-radius: 6px; background:#fff; font-size: 12.5px; color: var(--ink);
  margin-top: 14px;
}
.j-banner .dot { width:9px;height:9px;border-radius:50%; background: var(--Y-bold); flex:none; }
.j-banner .b-act { margin-left:auto; color: var(--brand-deep); font-weight:600; }

/* floating accent card (AI / evidence) */
.float-card {
  position: absolute; background:#fff; border-radius: 12px; box-shadow: var(--shadow-card);
  border: 1px solid rgba(9,30,66,.08); padding: 12px 14px; z-index: 3; width: 230px;
}
.float-card .fc-h { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:700; color:var(--ink-2); margin-bottom:7px; }
.float-card .fc-h .ic { width: 22px; height:22px; border-radius:6px; display:grid; place-items:center; background: var(--P-surface); color: var(--P-text); }
.float-card .fc-h .ic svg { width:13px; height:13px; }
.float-card .fc-line { font-size: 12px; color: var(--muted); line-height: 1.45; }
.float-card .fc-line b { color: var(--ink); font-weight: 600; }
.float-bl { left: -42px; bottom: 40px; }
.float-tr { right: -34px; top: 64px; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
section { position: relative; }
.sec { padding: clamp(64px, 9vw, 116px) 0; }
/* settled section separation: alternating soft-green tint */
main > #harmonization, main > #compliance, main > #customers { background: #f5faf0; }
.sec-tint { background: linear-gradient(180deg, var(--brand-tint-2), #fff); }
.sec-mint { background: var(--brand-tint-2); }
.sec-alt { background: #EEF2F7; }

/* Integrations: optional navy background (matches footer) */
.intg-dark { background: var(--navy); }
.intg-dark .eyebrow { color: var(--brand-bright); }
.intg-dark .h-sec { color: #fff; }
.intg-dark .lead { color: rgba(233,239,250,.72); }
.intg-dark .tedge { stroke: #fff; opacity: calc(.16 * var(--p)); }
.intg-dark .tg-tlabel { color: rgba(233,239,250,.74); }
.intg-dark .tg-box { box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 24px -12px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.10); }
.sec-head-row { display:flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* trust row */
.mp-logo-row { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 44px; }
.mp-soon { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.mp-logo { height: 34px; width: auto; }
.trust-marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.trust-track { display: flex; align-items: center; width: max-content; }
.trust-track.run { animation: trustscroll var(--marq-dur, 48s) linear infinite; will-change: transform; }
.trust-track:hover { animation-play-state: running; }
@keyframes trustscroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(var(--set-w, 50%) * -1), 0, 0); } }
.trust { padding: clamp(24px,3.5vw,42px) 0 clamp(28px,4vw,52px); display:flex; flex-direction:column; align-items:center; gap: clamp(16px,2vw,24px); }
.trust .eyebrow { color: var(--muted-2); }
.trust-block { display:flex; flex-direction:column; align-items:center; gap: 26px; width:100%; }
.trust-rule { width: min(680px, 70%); height:1px; background: var(--line); }
.trust-logo { width:auto; object-fit: contain; opacity:.85; transition: opacity .2s; margin-right: clamp(52px,7vw,104px); flex: none; }
.trust-logo:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .trust-track { animation: none; } }
.std-row { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.compliance-strip-sec { background: #fff; }
.compliance-strip-sec .eyebrow { color: var(--muted-2); }
.compliance-strip { display:flex; flex-direction:column; align-items:center; gap:34px; padding: clamp(64px,9vw,104px) 0 clamp(64px,9vw,100px); }
.std-row { display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap: clamp(30px,5vw,60px); }
.std-chip { display:inline-flex; flex-direction:column; align-items:center; gap:9px; white-space:nowrap; font-size:14px; font-weight:400; color: var(--muted-2); text-align:center; }
.std-chip svg { width:40px; height:40px; color: var(--muted-2); }
.std-chip .std-logo { height:40px; width:auto; max-width:96px; object-fit:contain; display:block; filter: grayscale(1); opacity:.5; }
.std-chip .std-label { display:block; color: var(--muted-2); }
@media (prefers-reduced-motion: reduce) { .std-track { animation: none; } }

/* ---------- Pillars ---------- */
.pillars-wrap { margin-top: 52px; display: grid; gap: 20px; }
.pillars-wrap.cards { grid-template-columns: repeat(3, 1fr); }
.pillar {
  position: relative; background:#fff; border:1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 28px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: #CFE9DA; }
.pillar .p-num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--brand-deep); }
.pillar .p-ico { width: 52px; height: 52px; border-radius: 14px; display:grid; place-items:center; margin: 14px 0 18px;
  background: var(--brand-tint); color: var(--brand-deep); }
.pillar .p-ico svg { width: 26px; height: 26px; }
.pillar .p-illo { display:block; width: 66px; height: 66px; margin: 10px 0 16px; }
.pillar .p-illo svg { width: 100%; height: 100%; display:block; }
.pillars-wrap.rows .pillar .p-illo { margin: 0; width: 56px; height: 56px; }
.pillars-wrap.tiles .pillar .p-illo { margin: 0 auto 16px; }
.pillar h3 { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing:-.01em; margin-bottom: 10px; }
.pillar p { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0; white-space: pre-line; }
.pillar .p-glow { position:absolute; right:-40px; top:-40px; width:120px; height:120px; border-radius:50%;
  background: radial-gradient(circle, rgba(70,221,143,.18), transparent 70%); }

/* numbered rows variant */
.pillars-wrap.rows { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.pillars-wrap.rows .pillar {
  border: none; border-bottom: 1px solid var(--line); border-radius: 0; padding: 34px 8px;
  display: grid; grid-template-columns: 80px 1fr 1.1fr; gap: 28px; align-items: start;
}
.pillars-wrap.rows .pillar:hover { transform: none; box-shadow: none; background: var(--brand-tint-2); }
.pillars-wrap.rows .pillar .p-ico { margin: 0; }
.pillars-wrap.rows .pillar .p-num { font-size: 40px; font-weight: 800; color: var(--line); letter-spacing: -.03em; }
.pillars-wrap.rows .pillar .p-glow { display:none; }

/* icon tiles variant */
.pillars-wrap.tiles { grid-template-columns: repeat(3,1fr); }
.pillars-wrap.tiles .pillar { background: radial-gradient(120% 100% at 100% 0%, rgba(70,221,143,.16), transparent 52%), linear-gradient(165deg, var(--navy-3), var(--navy-2) 62%, #0a1730); border-color: rgba(255,255,255,.08); color:#fff; text-align:center; }
.pillars-wrap.tiles .pillar h3 { color:#fff; }
.pillars-wrap.tiles .pillar p { color: rgba(233,239,250,.88); }
.pillars-wrap.tiles .pillar .p-ico { margin: 0 auto 18px; background: rgba(70,221,143,.14); color: var(--brand-bright); }
.pillars-wrap.tiles .pillar .p-num { color: var(--brand-bright); }
.pillars-wrap.tiles .pillar:hover { border-color: rgba(70,221,143,.4); }

/* ---------- Modules ---------- */
.mod-wrap { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: repeat(3,1fr); }
.module {
  background:#fff; border:1px solid var(--line); border-radius: var(--r-card); padding: 22px;
  display: flex; flex-direction: column;
  cursor: pointer; transition: box-shadow .25s var(--ease), border-color .25s, transform .25s var(--ease);
  position: relative;
}
.module:hover { box-shadow: var(--shadow-card); border-color: #CFE9DA; transform: translateY(-3px); }
.module .m-top { display:flex; align-items:center; gap: 13px; }
.module .m-ico { width: 42px; height: 42px; border-radius: 11px; display:grid; place-items:center; flex:none; }
.module .m-ico svg { width: 22px; height: 22px; }
.module .m-ico-tile { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; }
.module .m-ico-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.module h3 { font-size: 17px; font-weight: 700; color: var(--navy); }
.module .m-blurb { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 13px; }
.module .m-more {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease), margin .32s var(--ease), opacity .25s;
  opacity: 0; margin-top: 0;
}
.module .m-more > div { overflow: hidden; }
.module.open { box-shadow: var(--shadow-card); border-color: var(--brand); }
.module.open .m-more { grid-template-rows: 1fr; opacity: 1; margin-top: 14px; }
.module .m-feats { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line-2); display:grid; gap: 9px; }
.module .m-feats li { display:flex; gap:9px; align-items:flex-start; font-size: 13.5px; color: var(--ink); }
.module .m-feats svg { width: 16px; height: 16px; color: var(--brand-deep); flex:none; margin-top: 1px; }
.module .m-toggle { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--brand-deep); display:flex; align-items:center; gap:5px; }
.module .m-toggle svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.module.open .m-toggle svg { transform: rotate(180deg); }

/* list variant */
.mod-wrap.list { grid-template-columns: 1fr; gap: 0; border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; }
.mod-wrap.list .module { border:none; border-bottom:1px solid var(--line); border-radius:0; }
.mod-wrap.list .module:last-child { border-bottom:none; }
.mod-wrap.list .module:hover { transform:none; }
.mod-wrap.list .module .m-top { gap: 16px; }

/* compact variant */
.mod-wrap.compact { grid-template-columns: repeat(3,1fr); gap: 12px; }
.mod-wrap.compact .module { padding: 18px; }
.mod-wrap.compact .module .m-blurb,
.mod-wrap.compact .module .m-toggle { display: none; }
.mod-wrap.compact .module .m-more { display:none; }
.mod-wrap.compact .module { cursor: default; }

.mod-kit { margin-top: 16px; display:flex; align-items:center; gap: 20px; background:#fff; border:1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px,2.4vw,28px) clamp(22px,2.6vw,32px); box-shadow: var(--shadow-soft); }
.mod-kit .mk-ico { width:46px; height:46px; flex:none; border-radius: 12px; display:grid; place-items:center; background: #CDEFDD; color: var(--brand); }
.mod-kit .mk-ico svg { width:24px; height:24px; }
.mod-kit .mk-illo { flex:none; width:46px; height:64px; display:block; align-self:center; }
.mod-kit .mk-illo svg { width:100%; height:100%; display:block; }
.mod-kit .mk-copy h3 { font-size: 17px; font-weight:700; color: var(--navy); margin:0 0 4px; }
.mod-kit .mk-copy p { font-size: 14px; color: var(--muted); line-height:1.5; margin:0; max-width: 78ch; }

/* ---------- Integrations ---------- */
.intg { position: relative; }
.intg-stage { margin-top: 26px; }

/* pipeline flow */
.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background:#fff;
}
.flow-col { padding: 26px 22px; border-right: 1px solid var(--line); position: relative; }
.flow-col:last-child { border-right: none; }
.flow-col .fc-stage { font-size: 11.5px; font-weight: 800; letter-spacing:.08em; text-transform: uppercase; color: var(--N200); margin-bottom: 16px; display:flex; align-items:center; gap:8px; }
.flow-col .fc-stage .n { width:20px; height:20px; border-radius:50%; background: var(--brand-tint); color: var(--brand-deep); display:grid; place-items:center; font-size:11px; }
.flow-col.dest .fc-stage .n { background: var(--brand-deep); color:#fff; }
.tool {
  display:flex; align-items:center; gap: 10px; padding: 9px 11px; border-radius: 9px;
  border: 1px solid var(--line); margin-bottom: 9px; background:#fff; font-size: 13.5px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tool:last-child { margin-bottom: 0; }
.tool .t-ico { width: 26px; height:26px; border-radius:7px; display:grid; place-items:center; flex:none; font-weight:800; font-size:13px; color:#fff; }
.tool.lit { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(70,221,143,.16); transform: translateX(2px); }
.flow-col.dest { background: linear-gradient(180deg,#fff, var(--brand-tint-2)); }
.flow-arrow { position:absolute; right:-9px; top: 30px; z-index:2; width:18px; height:18px; color: var(--N60); }

.flow-caption { margin-top: 18px; text-align:center; font-size: 14px; color: var(--muted); }
.flow-caption b { color: var(--brand-deep); }

/* (legacy orbit-variant styles removed — superseded by the 3D .tgraph.orbit) */

/* traceability graph (Rovo-style flow animation) */
.tgraph { position: relative; isolation: isolate; z-index: 0; width: 100%; max-width: 1040px; margin: 28px auto 0; aspect-ratio: 1060 / 620; --p: 1; }
.tgraph.wide { max-width: none; width: 100%; aspect-ratio: 1660 / 640; overflow: hidden; }
.tedges { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tedge { fill: none; stroke: var(--ink); opacity: calc(.08 * var(--p)); stroke-width: 1.2; stroke-dasharray: 100; stroke-dashoffset: calc(100 - 100 * var(--p)); }
.tflow {
  fill: none; stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 7 93; opacity: 0;
  filter: drop-shadow(0 0 3px);
  animation-name: tflowmove; animation-timing-function: linear; animation-iteration-count: infinite; animation-play-state: paused;
  transition: opacity .35s var(--ease);
}
.tflow.on { opacity: calc(var(--p) * .95); animation-play-state: running; }
@keyframes tflowmove { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes tgdrift { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(0, -5px); } 66% { transform: translate(0, 3px); } }
.tg-drift .tg-box, .tg-drift .tg-chip { animation: tgdrift 5.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.5s); }
@media (prefers-reduced-motion: reduce) { .tg-drift .tg-box, .tg-drift .tg-chip { animation: none; } }

.tg-tool, .tg-node { position: absolute; opacity: var(--p); }
.tg-node { transform: translate(-20px, -50%); z-index: 3; }
.tg-node.lit { z-index: 6; }
.tg-tool { transform: translate(-100%, -50%); display: flex; flex-direction: row; align-items: center; gap: 9px; z-index: 2; }

.tg-chip { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px; box-shadow: var(--shadow-soft); flex: none; }
.tg-chip-img { object-fit: cover; background: #fff; box-shadow: 0 1px 2px rgba(9,30,66,.12), 0 0 0 1px rgba(9,30,66,.08); }
.tg-tlabel { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; text-align: right; }

/* work-type node: collapsed = icon only; highlighted = expands to reveal label */
.tg-box {
  display: flex; align-items: center; background: #fff; border-radius: 12px; padding: 7px;
  box-shadow: 0 1px 2px rgba(9,30,66,.10), 0 8px 18px -12px rgba(9,30,66,.3), 0 0 0 1px rgba(9,30,66,.13);
  transition: box-shadow .42s var(--ease), padding .42s var(--ease);
}
.tg-ico { width: 26px; height: 26px; display: grid; place-items: center; flex: none; }
.tg-ico img { width: 16px; height: 16px; display: block; }
.tg-ico svg { width: 18px; height: 18px; color: var(--c); }
.tg-label {
  max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  font-size: 13px; font-weight: 700; color: var(--navy);
  transition: max-width .45s var(--ease), opacity .3s var(--ease), margin .45s var(--ease);
}
.tg-node.lit .tg-box {
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--c) 65%, transparent), 0 0 0 2px var(--c);
  padding-right: 13px;
}
.tg-node.lit .tg-label { max-width: 180px; opacity: 1; margin-left: 9px; }

.ngraph-mobile { display: none; }
@media (prefers-reduced-motion: reduce) {
  .tflow { animation: none; }
  .tg-label { max-width: 180px; opacity: 1; margin-left: 9px; }
}
@media (max-width: 820px) {
  .intg-stage { display: flex; justify-content: center; align-items: center; overflow: hidden; }
  .tgraph.orbit { min-width: 560px; margin-inline: 0; flex: none; }
  .ngraph-mobile { display: none; }
}


/* Jira orbit variant */
.tgraph.orbit { max-width: 720px; aspect-ratio: 820 / 520; margin: 10px auto 0; }
.orbit-core { position: absolute; transform: translate(-50%,-50%); opacity: calc(.16 * var(--p)); z-index: 380; pointer-events: none; }
.orbit-tools { position: absolute; left: 0; right: 0; top: 12%; transform: translateY(-50%); z-index: 5; opacity: var(--p); }
.orbit-tools-grid { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 14px; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 20%, #000 80%, transparent 100%); }
.orbit-tool-ghost { width: 34px; height: 34px; border-radius: 9px; background: var(--N30, #EBECF0); box-shadow: inset 0 0 0 1px rgba(9,30,66,.05); }
.orbit-tool-row { display: grid; place-items: center; flex: none; }
.orbit-tool-logo { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px rgba(9,30,66,.08); flex: none; }
.orbit-tool-logo.lt { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; }
.orbit-wire { fill: none; stroke: #C1C7D0; stroke-width: 3.5; stroke-linecap: round; opacity: calc(.85 * var(--p)); }
.orbit-wire-flow { fill: none; stroke: #2684FF; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 5 17; opacity: calc(.9 * var(--p)); animation: orbitwire 1.05s linear infinite; }
@keyframes orbitwire { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .orbit-wire-flow { animation: none; } }
.orbit-socket { fill: #fff; stroke: var(--line); stroke-width: 2; opacity: var(--p); }
.orbit-plug { fill: #091E42; opacity: calc(.92 * var(--p)); }
.orbit-prong { fill: #C1C7D0; opacity: var(--p); }
.orbit-zone { fill: rgba(38,132,255,.04); stroke: rgba(9,30,66,.07); stroke-width: 1; opacity: var(--p); }
.orbit-dot { fill: #2684FF; opacity: calc(var(--dotO, .3) * var(--p)); }
.tg-otool { position: absolute; transform: translate(-50%,-50%); display: flex; align-items: center; gap: 9px; opacity: var(--p); z-index: 2; }
.tg-otool.is-left { flex-direction: row-reverse; }
.tg-otool .tg-tlabel { text-align: left; }

/* 3D orbiting work-type icons */
.orbit .orb-layer { position: absolute; inset: 0; pointer-events: none; }
.orb-item { position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 8px; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(9,30,66,.16), 0 0 0 1px rgba(9,30,66,.06); transform-origin: center; will-change: transform, opacity; backface-visibility: hidden; }
.orb-item img { width: 16px; height: 16px; display: block; }
.orb-generic { display: grid; place-items: center; color: var(--N400, #5E6C84); }
.orb-generic svg { width: 16px; height: 16px; }
.orb-item.fired { box-shadow: 0 3px 10px rgba(9,30,66,.22), 0 0 0 2px #2684FF; }
.orb-label { position: absolute; left: calc(100% + 7px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 11px; font-weight: 600; color: var(--ink); background: #fff; padding: 3px 8px; border-radius: 7px; box-shadow: 0 1px 3px rgba(9,30,66,.18), 0 0 0 1px rgba(9,30,66,.06); opacity: 0; transition: opacity .18s var(--ease); pointer-events: none; }
.orb-item.lbl-left .orb-label { left: auto; right: calc(100% + 7px); }
.orb-item.fired .orb-label { opacity: 1; }
.orbit.show-labels .orb-label { opacity: 1; }
.orbit .tg-otool { z-index: 1200; }.orbit .tflow.orbit-flow { animation-play-state: running; transition: none; stroke-dasharray: 20 46; stroke-width: 3; }

/* logo grid variant */
.intg-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.intg-cat { font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--N200); margin: 0 0 12px; }
.intg-card { background:#fff; border:1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.intg-card .tool { cursor: default; }
.intg-card .tool:hover { border-color: var(--brand); }

/* ---------- Use cases ---------- */
.uc-box { margin-top: 40px; }
.uc-box .uc-tabs { margin-top: 0; }
.uc-tabs {
  position: relative;
  display: flex;
  gap: 0;
  margin-top: 40px;
  padding: 6px;
  background: var(--line-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.uc-tab-ind {
  position: absolute;
  top: 6px; bottom: 6px; left: 6px;
  width: calc((100% - 12px) / var(--count));
  background: #fff;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-card);
  transform: translateX(calc(var(--active) * 100%));
  transition: transform .42s var(--ease);
  z-index: 0;
}
.uc-tab {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 18px; border-radius: var(--r-pill);
  border: none; background: transparent; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--muted);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.uc-tab svg { width: 17px; height: 17px; }
.uc-tab.active { color: var(--navy); font-weight: 600; }
.uc-tab.active svg { color: var(--brand-deep); }
.uc-tab:not(.active):hover { color: var(--ink); }
.uc-panel {
  margin-top: 28px; display:grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items:center;
  animation: uc-slide .42s var(--ease) both;
}
@keyframes uc-slide {
  from { opacity: 0; transform: translateX(calc(var(--uc-dir, 1) * 40px)); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .uc-panel { animation: none; }
  .ps-row { animation: none; }
}
.uc-prob { font-size: 13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--R-text); margin-bottom:10px; }
.uc-panel h3 { font-size: clamp(24px,2.6vw,32px); font-weight:700; color: var(--navy); letter-spacing:-.02em; line-height:1.1; }
.uc-panel .uc-body { font-size: 16px; color: var(--muted); line-height:1.6; margin: 16px 0 22px; white-space: pre-line; }
.uc-benefits { list-style:none; margin:0; padding:0; display:grid; gap: 12px; }
.uc-benefits li { display:flex; gap:11px; align-items:flex-start; font-size: 15px; font-weight:600; color: var(--ink); }
.uc-benefits svg { width: 20px; height:20px; color: var(--brand-deep); flex:none; }
.uc-visual { }

/* before/after */
.ba { display:grid; gap: 14px; }
.ba-card { border-radius: 12px; padding: 18px; border:1px solid var(--line); }
.ba-card.before { background: var(--R-surface); border-color: #FFCCC0; }
.ba-card.after { background: var(--brand-tint); border-color: #BBEED4; }
.ba-card .ba-h { font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; margin-bottom:12px; display:flex; align-items:center; gap:7px; }
.ba-card.before .ba-h { color: var(--R-text); }
.ba-card.after .ba-h { color: var(--G-text); }
.ba-files { display:flex; flex-wrap:wrap; gap:8px; }
.ba-file { font-size:12px; font-weight:600; padding:7px 11px; border-radius:7px; background:#fff; display:flex; align-items:center; gap:7px; box-shadow: var(--shadow-soft); }
.ba-file svg { width:14px; height:14px; }
.ba-file.x { color: var(--muted-2); }
.ba-file.x svg { color: var(--R-bold); }
.ba-after-flow { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--ink); flex-wrap:wrap; }
.ba-step { background:#fff; padding:8px 12px; border-radius:8px; box-shadow: var(--shadow-soft); display:flex; align-items:center; gap:7px; }
.ba-step svg { width:15px;height:15px; color: var(--brand-deep); }
.ba-arrow { color: var(--brand); width:16px; height:16px; }

/* ---------- Social proof ---------- */
.proof { }
.proof-head { max-width: none; display:flex; align-items:center; justify-content:center; gap:24px; position:relative; }
.proof-head > div:first-child { flex:1; text-align:center; }
.proof-nav { display:flex; gap:10px; flex:none; position:absolute; right:0; top:50%; transform:translateY(-50%); }
.proof-arrow { width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:#fff; color: var(--navy); display:grid; place-items:center; cursor:pointer; transition: background .18s var(--ease), border-color .18s, color .18s, opacity .18s; }
.proof-arrow svg { width:20px; height:20px; }
.proof-arrow:hover:not(:disabled) { border-color: var(--brand); background: var(--brand-tint-2); color: var(--brand-deep); }
.proof-arrow:disabled { opacity:.4; cursor:not-allowed; }

/* peek carousel */
.tcar { margin-top: 44px; overflow: hidden; padding: 6px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.tcar-track { display:flex; align-items:center; will-change: transform; transition: transform .58s cubic-bezier(.4,.01,.2,1); }
.tcard { flex:none; box-sizing:border-box; cursor:pointer; opacity:.42; transform: scale(.93); filter: saturate(.85);
  transition: opacity .58s var(--ease), transform .58s cubic-bezier(.4,.01,.2,1), filter .58s var(--ease), box-shadow .3s var(--ease); }
.tcard.is-active { opacity:1; transform: scale(1); filter:none; cursor:default; box-shadow: var(--shadow-soft); }
.tcard:not(.is-active):hover { opacity:.62; }

.proof-dots { display:flex; gap:8px; flex:none; }
.proof-dots.center { justify-content:center; margin-top: 26px; }
.proof-dot { width:8px; height:8px; border-radius:50%; border:none; padding:0; background: rgba(9,30,66,.18); cursor:pointer; transition: background .18s, transform .18s; }
.proof-dot.on { background: var(--brand-deep); transform: scale(1.25); }

.quote-card {
  background: var(--brand-tint-2); border: 1px solid #CFE9DA; border-radius: var(--r-lg); padding: clamp(30px,3.4vw,46px); color: var(--ink); position:relative; overflow:hidden;
}
.quote-card .q-mark { position:absolute; right: 28px; top: 6px; font-size: 160px; line-height:1; font-weight:800; color: rgba(70,221,143,.22); font-family: var(--font-display); }
.quote-card blockquote { font-size: clamp(20px,2.1vw,25px); font-weight:600; line-height:1.42; letter-spacing:-.01em; margin: 0 0 26px; position:relative; color: var(--navy); text-wrap: pretty; }
.quote-card .q-author { display:flex; align-items:center; gap:13px; position:relative; }
.quote-card .q-ava { width:46px; height:46px; border-radius:50%; object-fit:cover; flex:none; }
.quote-card .q-ava-i { display:grid; place-items:center; color:#fff; font-weight:800; font-size:15px; letter-spacing:.01em; }
.quote-card .q-name { font-weight:700; font-size:15px; color: var(--navy); }
.quote-card .q-role { font-size:13px; color: var(--muted); }

.proof-stats { margin-top: 40px; display:flex; flex-direction:column; align-items:center; gap: 22px; }
.proof-stats .soon { font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--brand-deep); }
.ps-row { display:flex; justify-content:center; gap: 18px; flex-wrap:wrap; text-align:center; animation: uc-fade .42s var(--ease) both; }
.ps-row .stat { flex:1 1 0; display:flex; flex-direction:column; justify-content:space-between; background:#fff; border:1px solid var(--line); border-radius: var(--r-card); padding: 24px 30px; box-shadow: var(--shadow-soft); min-width: 200px; }
.stat .num { font-size: clamp(26px,3vw,34px); font-weight:800; letter-spacing:-.03em; color: var(--navy); line-height:1.05; }
.stat .lbl { font-size:13.5px; font-weight:700; color: var(--ink-2); margin: 0 0 8px; }

/* ---------- CTA + demo form ---------- */
.cta-sec { background: var(--navy);
  color: rgba(233,239,250,.8);
}
.cta-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,72px); align-items:center; }
.cta-copy .h-sec { color: #fff; }
.cta-copy .eyebrow { color: var(--brand-bright); }
.cta-copy .lead { color: rgba(233,239,250,.72); margin-top: 18px; }
.cta-points { list-style:none; margin: 28px 0 0; padding:0; display:grid; gap: 14px; }
.cta-points li { display:flex; gap:11px; align-items:flex-start; font-size:15px; color: rgba(233,239,250,.86); }
.cta-points svg { width:20px;height:20px; color: var(--brand-bright); flex:none; }

.form-card { background:#fff; border-radius: var(--r-lg); padding: clamp(26px,3vw,38px); box-shadow: var(--shadow-card); border: 1px solid var(--line); color: var(--ink); }
.form-card h3 { font-size: 22px; font-weight:700; color:var(--navy); letter-spacing:-.01em; }
.form-card .fc-sub { font-size:14px; color: var(--muted); margin-top:6px; }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.field { display:flex; flex-direction:column; gap:6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight:600; color: var(--ink-2); }
.field label .req { color: var(--R-bold); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 14px; color: var(--ink); padding: 10px 12px; border-radius: 8px;
  border: 1.5px solid var(--line); background: var(--N10); transition: border-color .15s, box-shadow .15s, background .15s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background:#fff; box-shadow: 0 0 0 3px rgba(70,221,143,.18);
}
.field.invalid input, .field.invalid select { border-color: var(--R-bold); box-shadow: 0 0 0 3px rgba(255,86,48,.14); }
.field .err { font-size: 11.5px; color: var(--R-text); font-weight: 600; }
.form-foot { margin-top: 20px; display:flex; flex-direction:column; gap: 12px; }
.form-trust { font-size: 12.5px; color: var(--muted-2); display:flex; align-items:center; gap:7px; }
.form-trust svg { width:14px;height:14px; color: var(--brand-deep); }

.form-success { text-align:center; padding: 30px 10px; }
.form-success .ok { width: 64px; height:64px; border-radius:50%; background: var(--brand-tint); color: var(--brand-deep); display:grid; place-items:center; margin: 0 auto 18px; }
.form-success .ok svg { width: 32px; height:32px; }
.form-success h3 { font-size: 24px; }
.form-success p { font-size: 15px; color: var(--muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.faq-sec { background: #fff; }
.faq-head { margin-bottom: 4px; }
.faq-head .eyebrow { color: var(--brand-deep); }

/* narrow wrapper for single-column modes (List / Expand all) */
.faq-narrow { max-width: 800px; margin: 36px auto 0; }
.faq-narrow .faq-list { margin-top: 0; }

.faq-list { max-width: none; margin: 36px 0 0; display:flex; flex-direction:column; gap: 0; background:#fff; border:1px solid var(--line); border-radius: 16px; overflow:hidden; }
.faq-item { background:#fff; transition: background .2s; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q { width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 15px 22px; background:none; border:0; cursor:pointer; text-align:left; font-size: 15.5px; font-weight:700; color: var(--navy); font-family: inherit; transition: background .2s; }
.faq-q:hover { background: rgba(9,30,66,.025); }
.faq-q svg { width:19px; height:19px; color: var(--brand-deep); flex:none; transition: transform .3s var(--ease); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a-wrap { display:grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ease); }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow:hidden; }
.faq-a-inner p { margin:0; padding: 0 22px 18px; font-size: 14.5px; line-height:1.6; color: var(--muted); }
.faq-a-inner p + p { padding-top: 10px; }

/* --- Two columns --- */
.faq-cols { display:grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; align-items:start; }
.faq-cols .faq-list { margin-top: 0; }
@media (max-width: 820px) { .faq-cols { grid-template-columns: 1fr; gap: 18px; } }

/* --- Expand all --- */
.faq-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom: 14px; }
.faq-count { font-size: 12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--muted-2); }
.faq-allbtn { display:inline-flex; align-items:center; gap:7px; padding: 8px 14px; border:1px solid var(--line); border-radius: 999px; background:#fff; cursor:pointer; font-family:inherit; font-size: 13.5px; font-weight:700; color: var(--brand-deep); transition: background .18s, border-color .18s; }
.faq-allbtn:hover { background: var(--brand-tint); border-color: var(--brand-bright); }
.faq-allbtn svg { width:16px; height:16px; transition: transform .3s var(--ease); }
.faq-allbtn svg.flip { transform: rotate(180deg); }

/* --- Side-by-side (master-detail) --- */
.faq-split { display:grid; grid-template-columns: minmax(280px, 0.9fr) 1.1fr; gap: 28px; margin-top: 36px; align-items:start; }
.faq-split-nav { display:flex; flex-direction:column; gap:2px; border:1px solid var(--line); border-radius:16px; padding:8px; background:#fff; max-height: 560px; overflow:auto; }
.faq-navq { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; text-align:left; padding: 13px 14px; border:0; border-radius:10px; background:none; cursor:pointer; font-family:inherit; font-size: 14.5px; font-weight:600; color: var(--navy); transition: background .16s, color .16s; }
.faq-navq:hover { background: rgba(9,30,66,.04); }
.faq-navq svg { width:17px; height:17px; flex:none; color: var(--muted-2); opacity:0; transform: translateX(-4px); transition: opacity .18s, transform .18s; }
.faq-navq.active { background: var(--brand-tint); color: var(--brand-deep); font-weight:700; }
.faq-navq.active svg { opacity:1; transform:none; color: var(--brand-deep); }
.faq-split-panel { position: sticky; top: 90px; }
.faq-panel-card { border:1px solid var(--line); border-radius:16px; padding: 30px 32px; background:#fff; box-shadow: var(--elev-card); animation: faqfade .28s var(--ease) both; }
.faq-panel-q { font-size: 21px; font-weight:700; letter-spacing:-.01em; color: var(--navy); margin: 0 0 14px; line-height:1.25; }
.faq-panel-card p { margin:0; font-size: 15px; line-height:1.66; color: var(--muted); }
.faq-panel-card p + p { margin-top: 12px; }
@keyframes faqfade { from { opacity:0; transform: translateY(6px); } to { opacity:1; transform:none; } }
@media (max-width: 860px) {
  .faq-split { grid-template-columns: 1fr; gap: 18px; }
  .faq-split-nav { max-height: none; }
  .faq-split-panel { position: static; }
}

/* ---------- Footer ---------- */
.certs-band { padding: clamp(40px,6vw,64px) 0; background: #fff; }
.certs-dark { border-bottom: 1px solid rgba(255,255,255,.12); }
.certs-label { text-align:center; font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: var(--muted-2); margin:0 0 28px; }
.certs-row { display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap: clamp(28px,5vw,56px); }
.cert { display:inline-flex; flex-direction:column; align-items:center; gap:9px; font-size:13px; font-weight:400; color: var(--muted); white-space:nowrap; text-align:center; }
.cert svg { width:34px; height:34px; color: var(--muted-2); }
.cert-logo { height:34px; width:auto; max-width:90px; object-fit:contain; filter: grayscale(1); opacity:.55; }
.cert-logo-eu { height:34px; }
/* navy variant */
.certs-dark .certs-label { color: rgba(233,239,250,.5); }
.certs-dark .cert { color: rgba(233,239,250,.7); }
.certs-dark .cert svg { color: rgba(233,239,250,.7); }
.certs-dark .cert-logo { filter: grayscale(1) brightness(0) invert(1); opacity:.72; }
/* light minty variant */
.certs-light { border-bottom: 1px solid var(--line); }
.footer { background: var(--navy); color: rgba(233,239,250,.66); padding: 64px 0 32px; }
.footer-certs-label { text-align:center; font-size:12.5px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color: rgba(233,239,250,.45); margin:0 0 26px; }
.footer-certs { display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap: clamp(28px,5vw,56px); padding-bottom: 44px; }
.fcert { display:inline-flex; flex-direction:column; align-items:center; gap:9px; font-size:13px; font-weight:400; color: rgba(233,239,250,.6); white-space:nowrap; text-align:center; }
.fcert svg { width:34px; height:34px; color: rgba(233,239,250,.6); }
.fcert-logo { height:34px; width:auto; max-width:90px; object-fit:contain; filter: grayscale(1) brightness(0) invert(1); opacity:.6; }
.footer-min { padding: 28px 0; }
.footer-min .footer-bottom { margin-top: 0; padding-top: 0; border-top: none; }
.footer-top { display:grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand .f-logo { height: 30px; }
.footer-brand p { font-size: 14px; line-height:1.6; margin: 18px 0 0; max-width: 30ch; }
.footer-col h4 { font-size: 12.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#fff; margin: 0 0 16px; }
.footer-col a { display:block; font-size: 14px; color: rgba(233,239,250,.66); text-decoration:none; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--brand-bright); text-decoration:none; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top:1px solid rgba(255,255,255,.10);
  display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; font-size:13px; }
.footer-badges { display:flex; gap:10px; flex-wrap:wrap; }
.footer-badge { font-size:11.5px; font-weight:700; color: rgba(233,239,250,.8); border:1px solid rgba(255,255,255,.16); border-radius:6px; padding:5px 9px; }
.footer-social { display:flex; gap:10px; }
.footer-social a { width:34px; height:34px; border-radius:8px; display:grid; place-items:center; background: rgba(255,255,255,.07); color:#fff; }
.footer-social a:hover { background: var(--brand-deep); }
.footer-social svg { width:17px; height:17px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
/* pillar cards: mild staggered rise-in */
.pillar.pillar-reveal { opacity: 0; transform: translateY(30px) scale(.985); transition: opacity .65s var(--ease), transform .7s var(--ease); }
.pillar.pillar-reveal[data-revealed] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .pillar.pillar-reveal { opacity: 1 !important; transform: none !important; }
  .float-card { animation: none !important; opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   SMART DOCUMENTS
   ========================================================================== */
.sdocs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px); align-items: start;
}
.sdocs-feats { margin-top: clamp(28px, 3vw, 40px); display: grid; gap: 26px; }
.sdoc-feat { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.sdoc-ico {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand-deep);
  box-shadow: inset 0 0 0 1px rgba(12,122,72,.12);
}
.sdoc-ico svg { width: 22px; height: 22px; }
.sdoc-feat-body h3 { margin: 2px 0 6px; font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.sdoc-feat-body p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* Confluence document mock */
.cdoc { align-self: start; box-shadow: var(--shadow-card); }
.cdoc-page { padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.6vw, 34px); color: var(--ink); }
.cdoc-title { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; margin-bottom: 18px; }
.cdoc-h { font-size: 16px; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.cdoc-text { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.cdoc-mention { padding: 1px 5px; border-radius: 4px; font-weight: 600; white-space: nowrap; }
.cdoc-m-g { background: var(--G-surface); color: var(--G-text); }
.cdoc-m-p { background: var(--P-surface); color: var(--P-text); }

.cdoc-macro { border: 1px solid var(--line); border-radius: 8px; background: #fff; }

/* Document Control macro header */
.cdoc-dc { padding: 12px 14px; }
.cdoc-dc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; row-gap: 8px; }
.cdoc-chev { color: var(--muted-2); display: grid; place-items: center; }
.cdoc-chev svg { width: 14px; height: 14px; }
.cdoc-dc-icon { width: 22px; height: 22px; border-radius: 5px; background: var(--P-surface); color: var(--P-text); display: grid; place-items: center; flex: none; }
.cdoc-dc-icon svg { width: 13px; height: 13px; }
.cdoc-bread { font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; min-width: 0; }
.cdoc-bread b { color: var(--ink); font-weight: 700; }
.cdoc-bread svg { width: 12px; height: 12px; color: var(--muted-2); }
.cdoc-dc-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.cdoc-tbtn { width: 24px; height: 24px; border-radius: 5px; display: grid; place-items: center; color: var(--muted); }
.cdoc-tbtn:hover { background: var(--bg-hover); }
.cdoc-tbtn svg { width: 14px; height: 14px; }
.cdoc-status { cursor: default; }
.cdoc-status svg { width: 12px; height: 12px; }
.cdoc-dc-people { display: flex; align-items: center; gap: 22px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.cdoc-pgroup { display: flex; flex-direction: column; gap: 5px; }
.cdoc-plabel { font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); }
.cdoc-ava { width: 24px; height: 24px; border-radius: 50%; display: inline-block; position: relative; overflow: visible; background: var(--N30); box-shadow: 0 0 0 2px #fff; }
.cdoc-ava img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: block; }
.cdoc-stack { display: inline-flex; }
.cdoc-stack .cdoc-ava { position: relative; }
.cdoc-stack .cdoc-ava:nth-child(1) { z-index: 4; }
.cdoc-stack .cdoc-ava:nth-child(2) { z-index: 3; }
.cdoc-stack .cdoc-ava:nth-child(3) { z-index: 2; }
.cdoc-stack .cdoc-ava + .cdoc-ava { margin-left: -7px; }
.cdoc-ava-badge { position: absolute; right: -3px; bottom: -3px; z-index: 6; width: 12px; height: 12px; border-radius: 50%; background: var(--G-bold); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1.5px #fff; }
.cdoc-ava-badge svg { width: 8px; height: 8px; stroke-width: 3.5; }
.cdoc-warn { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.cdoc-warn-dot { width: 9px; height: 9px; border-radius: 50%; background: #E8B931; flex: none; }

/* Table of References macro */
.cdoc-ref { overflow: hidden; }
.cdoc-reftable { padding: 4px 0; }
.cdoc-refrow { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 7px 14px; font-size: 12.5px; color: var(--ink-2); }
.cdoc-refrow + .cdoc-refrow { border-top: 1px solid var(--line-2); }
.cdoc-refhead { font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); padding-top: 9px; padding-bottom: 9px; }
.cdoc-refid { color: var(--fg-link, #0052CC); font-weight: 600; }
.cdoc-reffind { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: var(--bg-page, #fafbfc); }
.cdoc-input { flex: 1; padding: 6px 10px; border-radius: 5px; border: 1px solid var(--border-focus, #2684FF); background: #fff; font-size: 12.5px; color: var(--muted-2); box-shadow: 0 0 0 2px rgba(38,132,255,.18); }
.cdoc-cancel { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cdoc-linkbtn { width: 28px; height: 26px; border-radius: 5px; background: #0052CC; color: #fff; display: grid; place-items: center; flex: none; }
.cdoc-linkbtn svg { width: 14px; height: 14px; }

/* Training app macro */
.cdoc-app { padding: 14px; position: relative; background: var(--bg-page, #fafbfc); }
.cdoc-applabel { display: inline-block; font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--T-text); background: var(--T-surface); padding: 3px 7px; border-radius: 4px; margin-bottom: 10px; }
.cdoc-approw { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 12.5px; color: var(--ink-2); }
.cdoc-approw + .cdoc-approw { border-top: 1px solid var(--line-2); }
.cdoc-approw .loz { margin-left: auto; }

/* Abstract document variant */
.cdoc.adoc { max-width: 300px; margin: 0 auto; align-self: center; }
.adoc-page { padding: 20px; display: flex; flex-direction: column; gap: 13px; }
.adoc-title { display: block; height: 11px; width: 60%; border-radius: 6px; background: var(--navy); opacity: .85; }
.adoc-bar { display: block; height: 8px; border-radius: 5px; background: var(--line); flex: none; }
.adoc-bar.w100 { width: 100%; } .adoc-bar.w75 { width: 75%; } .adoc-bar.w70 { width: 70%; } .adoc-bar.w65 { width: 65%; } .adoc-bar.w60 { width: 60%; } .adoc-bar.w55 { width: 55%; } .adoc-bar.w50 { width: 50%; } .adoc-bar.w40 { width: 40%; }
.adoc-text { display: flex; flex-direction: column; gap: 8px; }
.adoc-macro { border: 1px solid var(--line); border-radius: 8px; padding: 11px; }
.adoc-dc { display: flex; align-items: center; gap: 8px; }
.adoc-ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; background: var(--P-surface); color: var(--P-text); }
.adoc-ic svg { width: 13px; height: 13px; }
.adoc-loz { font-size: 9px; padding: 2px 7px; white-space: nowrap; }
.adoc-avas { margin-left: auto; display: inline-flex; flex: none; }
.adoc-ava { position: relative; width: 17px; height: 17px; border-radius: 50%; background: var(--N40); box-shadow: 0 0 0 2px #fff; }
.adoc-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.adoc-avas .adoc-ava + .adoc-ava { margin-left: -6px; }
.andoc .adoc-avas { margin-left: 0; }
.andoc .andoc-status { margin-left: auto; }
.andoc .adoc-ava { width: 20px; height: 20px; }
.andoc .adoc-avas .adoc-ava + .adoc-ava { margin-left: 4px; }
.adoc-ava-chk { position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--G-bold, #36B37E); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1.5px #fff; }
.adoc-ava-chk svg { width: 7px; height: 7px; stroke-width: 3.5; }
.andoc-chk-1 { animation: andoc-chk-1 11s linear infinite both; }
.andoc-chk-2 { animation: andoc-chk-2 11s linear infinite both; }
.andoc-chk-3 { animation: andoc-chk-3 11s linear infinite both; }
@keyframes andoc-chk-1 { 0%,31% { opacity: 0; transform: scale(.3); } 35% { opacity: 1; transform: scale(1.35); } 39%,100% { opacity: 1; transform: scale(1); } }
@keyframes andoc-chk-2 { 0%,38% { opacity: 0; transform: scale(.3); } 42% { opacity: 1; transform: scale(1.35); } 46%,100% { opacity: 1; transform: scale(1); } }
@keyframes andoc-chk-3 { 0%,44% { opacity: 0; transform: scale(.3); } 48% { opacity: 1; transform: scale(1.35); } 52%,100% { opacity: 1; transform: scale(1); } }
.adoc-block { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.adoc-tag { position: absolute; top: -9px; left: 11px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; }
.adoc-tag svg { width: 12px; height: 12px; }
.adoc-tag-b { background: var(--B50, #E9F2FE); color: var(--B400, #1868DB); }
.adoc-tag-t { background: var(--T-surface); color: var(--T-text); }
.andoc-rowicon { width: 15px; height: 15px; flex: none; display: block; object-fit: contain; }
.adoc-row { display: flex; align-items: center; gap: 10px; }
.adoc-chip { width: 30px; height: 9px; border-radius: 4px; flex: none; }
.adoc-chip-b { background: #4C9AFF; }
.adoc-chip-g { background: #57D9A3; }

/* Animated "Test Report" variant */
.cdoc.andoc { max-width: 380px; aspect-ratio: 1 / 1.414; border-radius: 0; animation: andoc-master 11s var(--ease) infinite both; }
.andoc .adoc-page { height: 100%; padding-left: 32px; padding-right: 32px; }
@keyframes andoc-master { 0% { opacity: 0; transform: translateY(64px); } 9% { opacity: 1; transform: translateY(0); } 87% { opacity: 1; transform: translateY(0); } 97%,100% { opacity: 0; transform: translateY(64px); } }
.andoc-title { font-size: 15px; font-weight: 800; color: var(--ink-2); letter-spacing: -.01em; }
.andoc-blabel { display: block; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
.andoc-item { display: flex; flex-direction: column; gap: 7px; transform-origin: center; }
.andoc-h { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0; }
.andoc-box { display: flex; flex-direction: column; gap: 8px; position: relative; }
.andoc-lock { position: absolute; top: 9px; right: 9px; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; background: var(--N30, #EBECF0); color: var(--N400, #42526E); transform-origin: center; animation: andoc-lock 11s linear infinite both; }
.andoc-lock svg { width: 11px; height: 11px; }
@keyframes andoc-lock { 0%,28% { opacity: 0; transform: scale(.5); } 33% { opacity: 1; transform: scale(1.22); } 37%,100% { opacity: 1; transform: scale(1); } }
.andoc-status { position: relative; display: inline-grid; }
.andoc-status > .loz { grid-area: 1 / 1; transform-origin: center; }
.andoc-docid { background: #E9F2FE; color: #1868DB; font-weight: 700; }
.andoc-status .loz { white-space: nowrap; }
.loz-gry { background: #DFE1E6; color: #5E6C84; }
.loz-grn { background: var(--G-surface); color: var(--G-text); }
.andoc-st-draft { animation: andoc-st-draft 11s linear infinite both; }
.andoc-st-appr { animation: andoc-st-appr 11s linear infinite both; }
.andoc-st-rel { animation: andoc-st-rel 11s linear infinite both; }
@keyframes andoc-st-draft { 0%,23% { opacity: 1; } 27%,100% { opacity: 0; } }
@keyframes andoc-st-appr { 0%,27% { opacity: 0; transform: scale(.6); } 31% { opacity: 1; transform: scale(1.16); } 35%,47% { opacity: 1; transform: scale(1); } 50%,100% { opacity: 0; transform: scale(1); } }
@keyframes andoc-st-rel { 0%,47% { opacity: 0; transform: scale(.6); } 51% { opacity: 1; transform: scale(1.16); } 55%,100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .andoc-st-draft, .andoc-st-appr { opacity: 0; animation: none; }
  .andoc-st-rel { opacity: 1; animation: none; }
  .andoc-lock { opacity: 1; animation: none; }
  .adoc-ava-chk { opacity: 1; transform: none; animation: none; }
  .cdoc.andoc { animation: none; opacity: 1; transform: none; }
  .andoc-sl0, .andoc-sl1, .andoc-sl2, .andoc-sl3 { animation: none; opacity: 1; transform: none; }
}
.adoc-tag-p { background: var(--P-surface); color: var(--P-text); }
.adoc-tag-r { background: var(--R-surface); color: var(--R-text); }
.adoc-chip-p { background: #9F8FEF; }
.adoc-chip-r { background: #FF7452; }
.andoc-sl0 { animation: andoc-sl0 11s var(--ease) infinite both; }
.andoc-sl1 { animation: andoc-sl1 11s var(--ease) infinite both; }
.andoc-sl2 { animation: andoc-sl2 11s var(--ease) infinite both; }
.andoc-sl3 { animation: andoc-sl3 11s var(--ease) infinite both; }
@keyframes andoc-sl0 { 0%,9% { opacity: 0; transform: translateX(34px) scale(.97); } 15% { opacity: 1; transform: translateX(0) scale(1.045); } 20%,100% { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes andoc-sl1 { 0%,12% { opacity: 0; transform: translateX(34px) scale(.97); } 18% { opacity: 1; transform: translateX(0) scale(1.045); } 23%,100% { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes andoc-sl2 { 0%,15% { opacity: 0; transform: translateX(34px) scale(.97); } 21% { opacity: 1; transform: translateX(0) scale(1.045); } 26%,100% { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes andoc-sl3 { 0%,18% { opacity: 0; transform: translateX(34px) scale(.97); } 24% { opacity: 1; transform: translateX(0) scale(1.045); } 29%,100% { opacity: 1; transform: translateX(0) scale(1); } }

/* animations stay paused until the section scrolls into view */
.cdoc.andoc, .andoc [class*="andoc-"] { animation-play-state: paused; }
.cdoc.andoc.is-playing, .andoc.is-playing [class*="andoc-"] { animation-play-state: running; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .hero-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 640px; }
  .hero-visual .window { transform: none; }
  .float-bl { left: 8px; }
  .float-tr { right: 8px; }
  .pillars-wrap.cards, .pillars-wrap.tiles { grid-template-columns: 1fr; }
  .pillars-wrap.rows .pillar { grid-template-columns: 60px 1fr; }
  .pillars-wrap.rows .pillar > p { grid-column: 2; }
  .mod-wrap, .mod-wrap.compact { grid-template-columns: 1fr 1fr; }
  .uc-panel { grid-template-columns: 1fr; }
  .sdocs-grid { grid-template-columns: 1fr; gap: 36px; }
  .proof-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .intg-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-col:nth-child(2) .flow-arrow { display:none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-contact { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-visual .float-card { position: static; width: auto; margin-top: 12px; animation: none; }
  .float-card { box-shadow: var(--shadow-soft); }
  .mod-wrap, .mod-wrap.compact, .form-grid, .intg-grid, .flow { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .flow-col { border-right:none; border-bottom:1px solid var(--line); }
  .flow-arrow { display:none; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}
