/* ePIM PXM website. Layout follows the PropertyAdd 2027 site; greens taken from the ePIM PXM logo. */
:root {
  --ink: #10241a;
  --ink-2: #48574e;
  --ink-3: #6b776f;
  --line: #e1e8e2;
  --paper: #ffffff;
  --mist: #f3f8ef;
  --brand: #1f7a3f;
  --brand-d: #0b6b3a;
  --brand-l: #e8f4dc;
  --lime: #8dc63f;
  --night: #0f2e1d;
  --amber: #f29d1f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16,36,26,.06), 0 12px 32px -12px rgba(16,36,26,.2);
  --display: "Outfit", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 40em; }
.eyebrow { font: 600 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.eyebrow-light { color: #b5dc84; }
.tbc { color: #b45309; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; font: 600 1rem/1 var(--display); text-decoration: none; border: 2px solid transparent; transition: background .15s, transform .15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-d); }
.btn-line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand-d); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: .4em; font: 600 .72rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; padding: .45em .7em; border-radius: 999px; background: var(--brand-l); color: var(--brand-d); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.soon { background: #fff3e0; color: #b45309; }

/* Top bar + header */
.topbar { background: var(--night); color: #cfe0d3; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: .5em; box-shadow: 0 0 0 4px rgba(141,198,63,.2); }
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font: 500 1rem/1 var(--display); padding: .6em .75em; border-radius: 8px; }
.nav a:not(.btn):hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current="page"]:not(.btn) { color: var(--brand); }
.nav .btn { margin-left: .6rem; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown menus */
.site-head .wrap { position: relative; }
.dd { position: static; }
.dd-btn { display: inline-flex; align-items: center; gap: .35em; background: none; border: 0; cursor: pointer; color: var(--ink-2); font: 500 1rem/1 var(--display); padding: .6em .75em; border-radius: 8px; }
.dd-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--ink); background: var(--mist); }
.dd.open .dd-btn::after { transform: translateY(1px) rotate(225deg); }
.dd-btn[data-current] { color: var(--brand); }
.dd-panel { display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; z-index: 30; }
.dd.open .dd-panel { display: block; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd-cols { display: grid; gap: 22px 28px; }
.dd-cols-4 { grid-template-columns: repeat(4, 200px); }
.dd-cols-3 { grid-template-columns: repeat(3, 190px); }
.dd-cols-2 { grid-template-columns: repeat(2, 230px); }
.dd-cols-1 { grid-template-columns: 280px; }
.dd-col h4 { display: flex; align-items: center; gap: 8px; font: 600 .78rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 8px; }
.dd-col h4 a { color: inherit; text-decoration: none; }
.dd-col h4 svg { flex: 0 0 16px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dd-col a.dd-link { display: block; padding: .38em .5em; margin: 0 -.5em; border-radius: 6px; color: var(--ink-2); text-decoration: none; font: 500 .95rem/1.25 var(--display); }
.dd-col a.dd-link:hover { background: var(--mist); color: var(--brand-d); }
.dd-col a.dd-link small { display: block; font: 400 .82rem/1.35 var(--body); color: var(--ink-3); margin-top: 2px; }
.dd-col + .dd-col.dd-sub { margin-top: 0; }
.dd-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-3); }
.dd-foot a { font: 600 .95rem/1 var(--display); text-decoration: none; }

/* Breadcrumbs */
.crumbs { font-size: .9rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { margin: 0 .4em; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 46em; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }

/* Home hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); background: linear-gradient(180deg, #f4faee 0%, #fff 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 span { color: var(--brand); }
.hero .lede { margin-bottom: 2rem; }
.hero-proof { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.hero-proof > div { flex: 1 1 0; min-width: 110px; }
.hero-proof b { display: block; font: 600 1.5rem/1.1 var(--display); color: var(--ink); }
.hero-art { position: relative; }
.float { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; font-size: .9rem; z-index: 2; }
.float-a { left: -28px; bottom: -22px; width: 250px; }
.float-b { right: -18px; top: -26px; width: 230px; }
.ping { display: flex; gap: 10px; align-items: flex-start; }
.ping i { flex: 0 0 34px; height: 34px; border-radius: 10px; background: var(--brand-l); display: grid; place-items: center; }
.ping i svg { width: 18px; height: 18px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ping small { display: block; color: var(--ink-3); }

/* Page hero (inner pages) */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, #f4faee 0%, #fff 100%); }
.page-hero .lede { margin-bottom: 1.8rem; }
.page-hero .split { align-items: center; }

/* Grids + cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #c4d5c7; box-shadow: var(--shadow); }
.card p { color: var(--ink-2); margin-bottom: 1rem; }
.card .chip { align-self: flex-start; margin-top: auto; }
.card a.more { margin-top: auto; font: 600 .95rem/1 var(--display); text-decoration: none; }
.ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--brand-l); flex: 0 0 auto; }
.ic svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.t2 { background: #fff4e5; } .ic.t2 svg { stroke: #c2630a; }
.ic.t3 { background: #e8f6fb; } .ic.t3 svg { stroke: #0e86a8; }
.ic.t4 { background: #f1edff; } .ic.t4 svg { stroke: #6d4fe0; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 112px); }
.split.flip > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.ticks li { position: relative; padding-left: 30px; margin: .55rem 0; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231f7a3f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks b { color: var(--ink); font-weight: 600; }

/* Pain list */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pain h3 { font-size: 1.1rem; }
.pain p { color: var(--ink-2); margin: 0; }
.pain .ic { background: #fdecea; } .pain .ic svg { stroke: #c2321f; }

/* App mockups (CSS illustrations, invented sample data) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; font-size: .88rem; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dccf; }
.mock-bar span { margin-left: 10px; color: var(--ink-3); font-size: .8rem; }
.mock-app { display: grid; grid-template-columns: 46px 1fr; min-height: 300px; }
.mock-rail { background: linear-gradient(180deg, #123f26, #0b2417); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; }
.mock-rail i { width: 18px; height: 18px; border-radius: 5px; background: rgba(255,255,255,.18); }
.mock-rail i.on { background: var(--lime); }
.mock-body { padding: 16px 18px; }
.mock-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mock-h b { font: 600 1rem/1.2 var(--display); }
.mock-h small { color: var(--ink-3); }
.ready { display: grid; gap: 8px; }
.ready > div { display: grid; grid-template-columns: 1fr 120px 42px; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.ready b { font: 600 .86rem/1.2 var(--display); }
.ready small { display: block; color: var(--ink-3); font-size: .76rem; }
.bar { height: 7px; border-radius: 4px; background: #e6ece6; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; background: var(--brand); }
.bar i.warn { background: var(--amber); }
.ready em { font: 600 .82rem/1 var(--display); font-style: normal; text-align: right; }
.ai-card { margin-top: 12px; border: 1px solid #cfe6b4; background: linear-gradient(180deg, #f5fbef, #fff); border-radius: 12px; padding: 12px 14px; }
.ai-card small { display: flex; align-items: center; gap: 6px; font: 600 .7rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.ai-card small svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ai-card p { margin: 0 0 10px; color: var(--ink-2); }
.ai-card .actions { gap: 6px; }
.ai-card .btn-sm { padding: .45em .9em; font-size: .82rem; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kv div { background: var(--mist); border-radius: 10px; padding: 9px 11px; }
.kv small { display: block; color: var(--ink-3); font-size: .74rem; }
.kv b { font: 600 .92rem/1.3 var(--display); }
.src { display: inline-block; font: 600 .66rem/1 var(--display); padding: 4px 6px; border-radius: 4px; background: var(--brand-l); color: var(--brand-d); margin-left: 4px; vertical-align: middle; }
.src.ai { background: #f1edff; color: #6d4fe0; }

/* Steps / journey */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: j; }
.journey li { counter-increment: j; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; }
.journey li::before { content: counter(j); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font: 600 .95rem/1 var(--display); margin-bottom: 12px; }
.journey b { display: block; font: 600 1.15rem/1.2 var(--display); margin-bottom: 6px; }
.journey span { color: var(--ink-2); font-size: .95rem; }

/* Markets */
.markets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.market { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.market:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.market .ic { width: 38px; height: 38px; margin: 0 0 4px; border-radius: 10px; }
.market .ic svg { width: 20px; height: 20px; }
.market b { font: 600 1rem/1.2 var(--display); }
.market small { color: var(--brand-d); font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.stat { background: var(--night); color: #cfe0d3; border-radius: var(--radius); padding: 20px 22px; }
.stat b { display: block; font: 600 2rem/1.1 var(--display); color: var(--lime); }

/* Layers */
.layers { display: grid; gap: 12px; }
.layer { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.layer:nth-child(2) { margin-left: 24px; background: var(--mist); }
.layer:nth-child(3) { margin-left: 48px; }
.layer > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font: 600 1.05rem/1 var(--display); font-style: normal; }
.layer h3 { margin-bottom: .25em; font-size: 1.1rem; }
.layer p { margin: 0; color: var(--ink-2); }
.layer em { display: block; margin-top: 6px; color: var(--brand-d); font-size: .92rem; }

/* Field tables (industry pages) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 .8rem/1.2 var(--display); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); background: var(--mist); }
tr:last-child td { border-bottom: 0; }
td small { color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4em .85em; font: 500 .9rem/1.2 var(--display); color: var(--ink-2); }

/* Feature index (features page) */
.fgroup { scroll-margin-top: 90px; }
.fgroup + .fgroup { margin-top: clamp(56px, 7vw, 88px); }
.fgroup-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.fgroup-head .ic { margin: 0; }
.fgroup-head h2 { margin: 0; }
.feat h3 { font-size: 1.15rem; }
.feat ul { margin: 0 0 1rem; padding-left: 1.1em; color: var(--ink-2); }
.feat li { margin: .25rem 0; }
.feat .why { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font-size: .95rem; }
.feat .why b { color: var(--brand-d); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { text-decoration: none; padding: .5em .9em; border: 1px solid var(--line); border-radius: 999px; font: 500 .92rem/1 var(--display); color: var(--ink-2); background: #fff; }
.jump a:hover { border-color: var(--brand); color: var(--brand); }

/* Dark band */
.band { background: var(--night); color: #cfe0d3; }
.band h2, .band h3 { color: #fff; }
.band .lede { color: #cfe0d3; }
.band .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.band .card p { color: #a9c1b0; }
.band .card:hover { border-color: rgba(255,255,255,.25); box-shadow: none; }

/* ROI calculator */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.roi-in { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.roi-in h2 { font-size: 1.5rem; }
.slider { margin: 18px 0; }
.slider label { display: flex; justify-content: space-between; font: 500 .95rem/1.2 var(--display); margin-bottom: 8px; }
.slider output { font-weight: 600; color: var(--brand-d); }
.slider input { width: 100%; accent-color: var(--brand); }
.roi-out { background: var(--night); color: #cfe0d3; border-radius: 20px; padding: clamp(22px, 3vw, 32px); position: sticky; top: 96px; }
.roi-out h2 { color: #fff; font-size: 1.5rem; }
.roi-big { font: 600 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); color: var(--lime); margin: 8px 0 4px; }
.roi-rows { margin: 20px 0; }
.roi-rows > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.roi-rows b, .roi-out p b { color: #fff; font-family: var(--display); }
.roi-note { font-size: .85rem; color: #93ab9a; margin: 0; }

/* Book a demo */
.demo-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.form h2 { font-size: 1.6rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font: 500 .92rem/1.2 var(--display); color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .7em .85em; border: 1px solid #cddbcf; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31,122,63,.2); border-color: var(--brand); }
.field textarea { min-height: 96px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; }
.pills span { display: inline-block; padding: .5em .9em; border: 1px solid #cddbcf; border-radius: 999px; font: 500 .9rem/1 var(--display); color: var(--ink-2); cursor: pointer; }
.pills input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid rgba(31,122,63,.3); }
.form .btn { width: 100%; justify-content: center; margin-top: 18px; padding: 1em; }
.form-note { font-size: .85rem; color: var(--ink-3); margin: 12px 0 0; }
.form-done { display: none; text-align: center; padding: 30px 10px; }
.form.sent .form-done { display: block; }
.form.sent form { display: none; }
.err { color: #c2321f; font-size: .85rem; display: none; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select { border-color: #c2321f; }
.side-list { list-style: none; padding: 0; margin: 2rem 0; }
.side-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.side-list li .ic { flex: 0 0 42px; height: 42px; margin: 0; }
.side-list p { margin: 0; color: var(--ink-2); }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font: 600 1.1rem/1.3 var(--display); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); margin: .8rem 0 0; max-width: 46em; }

/* Prose (what-is-pim guide) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin: .35rem 0; }
.toc { background: var(--mist); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 2rem; }
.toc b { font-family: var(--display); }
.toc ol { margin: .6rem 0 0; padding-left: 1.2em; }
.callout { background: var(--brand-l); border-radius: var(--radius); padding: 20px 22px; margin: 1.6rem 0; color: var(--ink); }

/* Footer */
.site-foot { background: var(--night); color: #a9c1b0; padding: 72px 0 32px; }
.foot-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-cta h2 { color: #fff; margin: 0; max-width: 18em; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; padding: 44px 0; }
.foot-grid h3 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.foot-grid nav a { display: block; color: #a9c1b0; text-decoration: none; padding: .25rem 0; }
.foot-grid nav a:hover { color: #fff; }
.foot-grid p { margin: 0 0 .4rem; }
.foot-grid .tbc { color: #f2b766; }
.foot-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; }
.foot-logo img { height: 34px; width: auto; }
.foot-by { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .9rem; }
.foot-by img { height: 34px; width: auto; background: #fff; border-radius: 8px; padding: 4px 6px; }
.smallprint { font-size: .82rem; color: #7f9887; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; margin: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; gap: 2px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .9em .6em; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .dd-btn { width: 100%; justify-content: space-between; padding: .9em .6em; }
  .dd-panel { position: static; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 4px 8px 14px; }
  .dd-panel::before { display: none; }
  .dd-cols-4, .dd-cols-3, .dd-cols-2, .dd-cols-1 { grid-template-columns: 1fr 1fr; }
  .dd-foot { flex-direction: column; align-items: flex-start; }
  .nav .dd-col h4 a { padding: 0; }
  .nav .dd-col a.dd-link { padding: .45em .5em; }
}
@media (max-width: 640px) {
  .dd-cols-4, .dd-cols-3, .dd-cols-2, .dd-cols-1 { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .hero .wrap, .split, .demo-wrap, .roi { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .grid-4, .pains, .stat-row { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .markets { grid-template-columns: repeat(3, 1fr); }
  .journey { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .float-a { left: 12px; } .float-b { right: 12px; }
  .roi-out { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .pains, .stat-row, .fields, .journey { grid-template-columns: 1fr; }
  .markets { grid-template-columns: 1fr 1fr; }
  .float-a, .float-b { position: static; width: auto; margin-top: 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .layer:nth-child(2), .layer:nth-child(3) { margin-left: 0; }
  .ready > div { grid-template-columns: 1fr 70px 38px; }
  .brand img { height: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ePIM family links (topbar, home strip) */
.fam-links { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fam-label { color: #cfe0d3; }
.topbar a.fam-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--lime); color: var(--night); font-weight: 700; }
.topbar a.fam-pill:hover { background: #fff; }
.family { background: var(--night); color: #cfe0d3; padding: 34px 0 38px; }
.family-head { font: 600 .8rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin: 0 0 16px; }
.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fam-card { display: flex; flex-direction: column; padding: 20px 22px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #cfe0d3; text-decoration: none; transition: border-color .15s, background .15s; }
.fam-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: .35em; }
.fam-card p { margin: 0 0 12px; font-size: .97rem; }
a.fam-card:hover { border-color: var(--lime); background: rgba(141,198,63,.1); }
.fam-go { margin-top: auto; color: var(--lime); font: 600 .95rem/1 var(--display); }
.fam-here { border-color: var(--lime); }
.fam-tag { align-self: flex-start; font: 600 .72rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--night); background: var(--lime); border-radius: 999px; padding: 4px 9px; margin-bottom: 10px; }
@media (max-width: 860px) { .family-grid { grid-template-columns: 1fr; } }

/* features: hub cards + one page per menu group (2026-10-31) */
.hub-card { text-decoration: none; color: inherit; }
.hub-card h3 { font-size: 1.3rem; }
.hub-items { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: 6px; }
.hub-items li { font: 500 .82rem/1 var(--display); color: var(--ink-2); background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: .45em .75em; }
.hub-card .more { margin-top: auto; font: 600 .95rem/1 var(--display); color: var(--brand); }
.fitem { scroll-margin-top: 90px; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.fitem + .fitem { margin-top: 0; }
.fitem:last-of-type { border-bottom: 0; }
.fitem h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.fitem .eyebrow { margin-bottom: .6rem; }
.fitem .ticks { margin-bottom: 0; }
.shot { margin: 0; }
.shot-frame { display: flex; gap: 6px; padding: 10px 12px; background: #eef2ee; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; }
.shot-frame i { width: 9px; height: 9px; border-radius: 50%; background: #cdd7cf; }
.shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: var(--shadow); background: #fff; }
.shot figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-3); }
.why-box { background: var(--mist); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--radius); padding: 22px 24px; }
.why-box h3 { font-size: 1.05rem; color: var(--brand-d); }
.why-box ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.why-box li { margin: .4rem 0; }
.sec-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; margin-top: clamp(32px, 5vw, 56px); }
.sec-pager a { text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; font: 600 1.05rem/1.2 var(--display); color: var(--ink); }
.sec-pager a:hover { border-color: var(--brand); color: var(--brand); }
.sec-pager small { display: block; font: 500 .8rem/1 var(--body); color: var(--ink-3); margin-bottom: 6px; }
.sec-pager .nx { text-align: right; }
.sec-pager .all { text-align: center; }
@media (max-width: 860px) { .sec-pager { grid-template-columns: 1fr; } .sec-pager .nx, .sec-pager .all { text-align: left; } .fitem.flip > :first-child { order: 0; } }

/* industry photos (2026-10-31) */
.ind-banner { margin: clamp(28px, 4vw, 44px) 0 0; }
.ind-banner img { width: 100%; height: clamp(220px, 32vw, 420px); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.ind-photo { margin: 0; }
.ind-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.ind-banner figcaption, .ind-photo figcaption { margin-top: 8px; font-size: .78rem; color: var(--ink-3); }
.ind-banner figcaption a, .ind-photo figcaption a { color: inherit; }
.ind-split { margin-bottom: clamp(24px, 3vw, 36px); align-items: center; }
.market.has-pic { padding: 0 0 16px; overflow: hidden; }
.market.has-pic > :not(.market-pic) { margin-left: 16px; margin-right: 16px; }
.market-pic { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 6px; }
.market.has-pic .ic { margin-top: -26px; position: relative; background: #fff; box-shadow: 0 2px 8px rgba(16,36,26,.15); }
