/* Tejo Growth OS — shared design system
   One stylesheet for expandx.in (incl. /tejocrm) and tejoerp.com.
   Each site sets <html data-site="..."> to pick its theme tokens. */

/* Self-hosted fonts (SIL Open Font License) — no Google Fonts dependency, work offline */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Lexend"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/lexend-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Lexend"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/lexend-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Courgette"; font-style: normal; font-display: swap; font-weight: 400; src: url("fonts/courgette-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Brand navy from the Tejo / Expandx logos */
  --navy: #1e1951;
  --ink: #1b1840;
  --ink-2: #44425f;
  --muted: #6b6984;
  --line: #e6e5ef;
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --bg-deep: #1e1951;
  --on-deep: #f1f0fa;
  --on-deep-muted: #b9b6d6;

  --brand: #1e1951;          /* buttons, links, headings */
  --brand-ink: #ffffff;
  --accent: #0bbee9;         /* product swoosh colour */
  --accent-ink: #0284a8;     /* swoosh colour, dark enough for text */
  --brand-soft: #e3f7fd;     /* swoosh tint */
  --ok: #12805c;
  --warn: #b54708;
  --shadow: 0 1px 2px rgba(30,25,81,.06), 0 8px 24px rgba(30,25,81,.07);
  --shadow-lg: 0 24px 60px rgba(30,25,81,.16);
  /* Tejo family colours (from the product tiles) */
  --c-erp: #0bbee9; --c-crm: #22ad82; --c-lead: #00b1a9; --c-biz: #ddb326; --c-serv: #f37a7b; --c-scan: #9bc45a; --c-dms: #b28fc6; --c-doc: #e98f55;
}
html[data-site="expandx"] { --accent: #00b1a9; --accent-ink: #00857f; --brand-soft: #e0f6f5; }
html[data-site="tejoerp"] { --accent: #0bbee9; --accent-ink: #0284a8; --brand-soft: #e3f7fd; }
html[data-site="tejocrm"] { --accent: #22ad82; --accent-ink: #14825f; --brand-soft: #e2f6ef; }
html[data-site="tejoiq"] { --accent: #c668a9; --accent-ink: #9a3f7e; --brand-soft: #f8e9f3; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: inherit; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.soft { background: var(--bg-soft); }
.section.deep { background: var(--bg-deep); color: var(--on-deep); }
.section.deep p, .section.deep li { color: var(--on-deep-muted); }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.deep .eyebrow { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.deep .lead { color: var(--on-deep-muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.head { max-width: 760px; margin-bottom: 44px; }
.center.head, .head.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--font-body); padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none !important; white-space: nowrap; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 45%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.deep .btn-ghost, .hero.deep .btn-ghost { color: var(--on-deep); border-color: rgba(255,255,255,.25); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .actions { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.2rem/1 var(--font-head); color: var(--ink); text-decoration: none !important; letter-spacing: -.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.logo small { font: 500 .72rem/1 var(--font-body); color: var(--muted); letter-spacing: 0; display: block; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav-cta { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; font-size: 1.2rem; color: var(--ink); }
.family-bar { background: var(--bg-deep); color: var(--on-deep-muted); font-size: .8rem; }
.family-bar .wrap { display: flex; gap: 18px; height: 34px; align-items: center; overflow-x: auto; white-space: nowrap; }
.family-bar a { color: var(--on-deep-muted); }
.family-bar a.on { color: #fff; font-weight: 600; }
.family-bar span { margin-right: auto; }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open { flex-wrap: wrap; height: auto; padding: 13px 0; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3; margin: 8px 0 0; }
  .nav.open .nav-cta { display: flex; width: 100%; order: 4; padding-bottom: 8px; }
  .nav.open .nav-cta .btn { flex: 1; }
  .family-bar span { display: none; }
}

/* Hero */
.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.hero.deep { background: var(--bg-deep); color: var(--on-deep); }
.hero.deep .lead { color: var(--on-deep-muted); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero.deep h1 em { color: var(--accent); }
.hero .glow { position: absolute; inset: auto -20% -60% auto; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 40%, transparent), transparent); pointer-events: none; opacity: .55; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: .9rem; color: var(--muted); list-style: none; padding: 0; }
.hero.deep .trust { color: var(--on-deep-muted); }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 7px; }
.hero.deep .trust li::before { color: var(--accent); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: .95rem; }
a.card { color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.deep .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.deep .card p { color: var(--on-deep-muted); }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; font-size: 1.3rem; }
.deep .icon { background: rgba(255,255,255,.08); color: var(--accent); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); margin: 0 6px 6px 0; }
.list-check { list-style: none; padding: 0; margin: 0 0 1em; }
.list-check li { padding-left: 28px; position: relative; margin-bottom: 9px; color: var(--ink-2); }
.list-check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft); box-shadow: inset 0 0 0 5px var(--brand); }
.deep .list-check li { color: var(--on-deep-muted); }

/* Flow (Revenue → Operations → Finance, Lead → Invoice) */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; counter-reset: step; }
.flow-step { position: relative; padding: 22px 18px 22px 0; }
.flow-step .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; position: relative; z-index: 1; margin-bottom: 14px; font-size: 1.1rem; }
.flow-step::after { content: ""; position: absolute; top: 45px; left: 46px; right: 0; height: 2px; background: linear-gradient(90deg, var(--brand), color-mix(in srgb, var(--brand) 20%, transparent)); }
.flow-step:last-child::after { display: none; }
.flow-step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.flow-step p { font-size: .9rem; color: var(--muted); margin: 0; }
.deep .flow-step p { color: var(--on-deep-muted); }
@media (max-width: 820px) {
  .flow { grid-auto-flow: row; }
  .flow-step { padding: 0 0 22px 64px; }
  .flow-step .dot { position: absolute; left: 0; top: 0; }
  .flow-step::after { top: 46px; left: 22px; width: 2px; height: calc(100% - 46px); right: auto; background: color-mix(in srgb, var(--brand) 35%, transparent); }
}

/* Split / feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 72px; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.panel { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.deep .panel { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }

/* Stats strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.strip > div { background: var(--bg); padding: 22px; }
.strip b { display: block; font: 700 1.5rem/1.2 var(--font-head); color: var(--ink); }
.strip span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* Quote */
.quote { margin: 0; }
.quote p { font-size: 1.02rem; color: var(--ink-2); }
.quote footer { margin-top: auto; font-weight: 600; font-size: .92rem; }
.quote footer span { display: block; font-weight: 400; color: var(--muted); }

/* Pricing */
.price-card { position: relative; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-card .badge { position: absolute; top: -12px; left: 26px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price { font: 700 2.4rem/1 var(--font-head); margin: 10px 0 4px; letter-spacing: -.03em; }
.price small { font: 500 .95rem/1 var(--font-body); color: var(--muted); letter-spacing: 0; }
.price-card .list-check { margin: 18px 0 24px; }
.price-card .btn { margin-top: auto; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.consent { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 4px; }
.form-status { font-size: .95rem; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.ok { display: block; background: #e7f6ef; color: var(--ok); }
.form-status.err { display: block; background: #fff3e8; color: var(--warn); }
.hp { position: absolute; left: -9999px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; font-size: .95rem; font-weight: 500; transition: all .15s; background: #fff; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Assessment / wizard */
.wizard { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); }
.wizard-bar { height: 5px; background: var(--bg-soft); }
.wizard-bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .3s; }
.wizard-body { padding: clamp(22px, 4vw, 40px); }
.wizard-step { display: none; }
.wizard-step.on { display: block; animation: fade .25s ease; }
.wizard-step h3 { font-size: 1.35rem; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.score-ring { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) calc(var(--p) * 1%), var(--bg-soft) 0); margin: 0 auto 18px; }
.score-ring b { width: 112px; height: 112px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 700 2rem/1 var(--font-head); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Interactive demo (Lead → Invoice) */
.demo { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); }
.demo-tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; background: var(--bg-soft); }
.demo-tabs button { flex: 1; min-width: 110px; background: none; border: 0; padding: 14px 10px; font: 600 .88rem/1.2 var(--font-body); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.demo-tabs button.on { color: var(--brand); border-bottom-color: var(--brand); background: #fff; }
.demo-tabs button.done { color: var(--ink-2); }
.demo-tabs button.done::before { content: "✓ "; color: var(--ok); }
.demo-pane { display: none; padding: 26px; min-height: 300px; }
.demo-pane.on { display: block; animation: fade .25s ease; }
.doc { border: 1px solid var(--line); border-radius: 12px; padding: 18px; font-size: .92rem; }
.doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.doc-head b { font-family: var(--font-head); font-size: 1.05rem; }
.doc table { width: 100%; border-collapse: collapse; }
.doc th, .doc td { text-align: left; padding: 7px 4px; border-bottom: 1px solid var(--line); }
.doc th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.doc td.r, .doc th.r { text-align: right; }
.doc tfoot td { font-weight: 700; border-bottom: 0; }
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.pill.grey { background: var(--bg-soft); color: var(--muted); }
.demo-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.timeline { list-style: none; padding: 0; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.timeline li { padding: 4px 0 4px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font: 600 1.06rem/1.4 var(--font-head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--bg-deep); color: var(--on-deep); border-radius: 24px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band p { color: var(--on-deep-muted); }
.cta-band .actions { margin-top: 0; justify-content: flex-end; }
.cta-band .btn-ghost { color: var(--on-deep); border-color: rgba(255,255,255,.25); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* Router cards — "which Tejo is right for you" */
.router .card { border-top: 4px solid var(--c, var(--brand)); }
.router .card.here { background: var(--brand-soft); }

/* Footer */
.site-footer { background: var(--bg-deep); color: var(--on-deep-muted); padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: var(--on-deep-muted); }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { color: #fff; font: 600 .85rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 9px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* AI guide widget */
.guide-launch { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--bg-deep); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px 12px 12px; font: 600 .95rem/1 var(--font-body); cursor: pointer; box-shadow: var(--shadow-lg); }
.guide-launch i { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-style: normal; }
.guide { position: fixed; right: 20px; bottom: 84px; z-index: 61; width: min(390px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 110px)); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: none; flex-direction: column; overflow: hidden; color: var(--ink); }
.guide.open { display: flex; animation: fade .2s ease; }
.guide-head { background: var(--bg-deep); color: #fff; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; }
.guide-head b { font-family: var(--font-head); display: block; }
.guide-head span { font-size: .8rem; color: var(--on-deep-muted); }
.guide-head button { background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; }
.guide-log { padding: 16px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; font-size: .93rem; line-height: 1.5; }
.msg.bot { background: var(--bg-soft); border-bottom-left-radius: 4px; }
.msg.me { background: var(--brand); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.msg a { font-weight: 600; }
.msg.me a { color: #fff; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick button { background: #fff; border: 1.5px solid var(--brand); color: var(--brand); border-radius: 999px; padding: 7px 12px; font: 600 .85rem/1.2 var(--font-body); cursor: pointer; text-align: left; }
.quick button:hover { background: var(--brand-soft); }
.guide-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.guide-input input { flex: 1; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; min-width: 0; }
.guide-input input:focus { outline: none; border-color: var(--brand); }
.guide-input button { background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 0 14px; font-weight: 600; cursor: pointer; }
@media (max-width: 520px) { .guide-launch span { display: none; } .guide-launch { padding: 12px; } }

/* Utilities */
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt2 { margin-top: 24px; } .mt3 { margin-top: 40px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.hero.deep .breadcrumb, .hero.deep .breadcrumb a { color: var(--on-deep-muted); }
.answer { border-left: 4px solid var(--brand); background: var(--bg-soft); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 28px; }
.answer p:last-child { margin: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
/* Architecture diagram used in Expandx hero */
.arch { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 22px; }
.arch-title { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep-muted); margin-bottom: 14px; display: flex; justify-content: space-between; }
.arch-title i { font-style: normal; color: var(--accent); }
.arch-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 12px; align-items: stretch; }
.arch-col { display: grid; gap: 10px; align-content: center; }
.node { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 12px; font-size: .84rem; color: var(--on-deep); }
.node small { display: block; color: var(--on-deep-muted); font-size: .72rem; }
.core { background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 55%, transparent), rgba(255,255,255,.04)); border: 1px solid color-mix(in srgb, var(--brand) 70%, transparent); border-radius: 16px; padding: 16px; display: grid; gap: 8px; align-content: center; text-align: center; }
.core b { font-family: var(--font-head); font-size: 1.05rem; color: #fff; }
.core span { font-size: .78rem; color: var(--on-deep); background: rgba(0,0,0,.2); border-radius: 8px; padding: 6px; }
.arch-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.arch-foot span { font-size: .74rem; color: var(--on-deep-muted); border: 1px dashed rgba(255,255,255,.2); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 520px) { .arch-grid { grid-template-columns: 1fr; } }
.card > .tag { align-self: flex-start; }
.flow.vertical { grid-auto-flow: row; }
.flow.vertical .flow-step { padding: 0 0 18px 64px; }
.flow.vertical .flow-step:last-child { padding-bottom: 0; }
.flow.vertical .flow-step .dot { position: absolute; left: 0; top: 0; }
.flow.vertical .flow-step::after { display: block; top: 46px; left: 22px; width: 2px; height: calc(100% - 46px); right: auto; background: color-mix(in srgb, var(--brand) 35%, transparent); }
.flow.vertical .flow-step:last-child::after { display: none; }
.wizard .btn-ghost, .demo .btn-ghost, .card .btn-ghost { color: var(--ink); border-color: var(--line); }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; } }

/* =====================================================================
   Brand refresh (Oct 2026) — built from the Tejo / Expandx logo kit:
   navy ink, product-colour swoosh, light airy heroes, Lexend headings.
   ===================================================================== */
a { color: var(--accent-ink); }
h1, h2, h3 { color: var(--ink); font-weight: 600; letter-spacing: -.025em; }
h1 { font-weight: 600; }
.deep h1, .deep h2, .deep h3, .cta-band h2, .site-footer h4 { color: #fff; }
.eyebrow { color: var(--accent-ink); font-family: var(--font-head); font-weight: 500; letter-spacing: .14em; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 6px; border-radius: 6px; background: var(--accent); margin-right: 10px; vertical-align: middle; transform: translateY(-1px); }
.deep .eyebrow { color: var(--accent); }

/* Family colour stripe (the six product tiles) */
.stripe { height: 5px; background: linear-gradient(90deg, var(--c-erp) 0 16.6%, var(--c-biz) 0 33.3%, var(--c-lead) 0 50%, var(--c-serv) 0 66.6%, var(--c-crm) 0 83.3%, var(--c-scan) 0); }

/* Header with real logos */
.family-bar { background: var(--navy); }
.family-bar a.on { color: #fff; }
.site-header { background: rgba(255,255,255,.94); }
.nav { height: 76px; }
.logo img { height: 40px; width: auto; }
.logo .wordmark-x { display: flex; flex-direction: column; line-height: 1; }
.logo .wordmark-x b { font: 400 2rem/1 "Courgette", cursive; color: var(--navy); letter-spacing: 0; padding-bottom: 3px; border-bottom: 1px solid #b9b8c8; }
.logo .wordmark-x small { font: 300 .74rem/1 var(--font-body); color: #808285; letter-spacing: .06em; margin-top: 4px; }
.site-footer .logo .wordmark-x b { color: #fff; border-color: rgba(255,255,255,.3); }
.site-footer .logo .wordmark-x small { color: var(--on-deep-muted); }
.nav-links a { font-family: var(--font-head); font-weight: 400; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--brand-soft); color: var(--navy); }

/* Buttons: navy pill (as on the careers page), swoosh-colour hover glow */
.btn { font-family: var(--font-head); font-weight: 500; letter-spacing: .01em; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(30,25,81,.22); }
.btn-primary:hover { background: #2a2470; box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 45%, transparent); }
.btn-ghost { border-color: #cfcde0; color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: var(--brand-soft); }
.deep .btn-primary, .cta-band .btn-primary { background: var(--accent); color: var(--navy); box-shadow: none; }
.deep .btn-primary:hover, .cta-band .btn-primary:hover { background: #fff; }

/* Light brand hero with the swoosh mark as a watermark */
.hero.deep { background: radial-gradient(1200px 520px at 85% 10%, var(--brand-soft), transparent 60%), linear-gradient(180deg, #fbfbfe, #f3f3fa); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero.deep::after { content: ""; position: absolute; right: -90px; top: -40px; width: 560px; height: 560px; background: var(--mark) no-repeat center / contain; opacity: .07; pointer-events: none; }
html[data-site="expandx"] { --mark: url("brand/mark-expandx.svg"); }
html[data-site="tejoerp"] { --mark: url("brand/mark-erp.svg"); }
html[data-site="tejocrm"] { --mark: url("brand/mark-crm.svg"); }
html[data-site="tejoiq"] { --mark: url("brand/mark-iq.svg"); }
.hero .glow { display: none; }
.hero-grid, .hero .wrap { position: relative; z-index: 1; }
.hero.deep .lead, .hero.deep .breadcrumb, .hero.deep .breadcrumb a { color: var(--ink-2); }
.hero.deep .trust { color: var(--ink-2); }
.hero.deep .trust li::before, .trust li::before { color: var(--accent-ink); }
.hero.deep .btn-ghost { color: var(--navy); border-color: #cfcde0; }
.hero h1 em, .hero.deep h1 em { color: var(--navy); font-style: normal; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 45%, transparent) 62% 92%, transparent 92%); padding: 0 .06em; }
.hero.deep .panel { background: #fff; border-color: var(--line); box-shadow: var(--shadow-lg); }
.hero.deep .flow-step h3 { color: var(--ink); }
.hero.deep .flow-step p { color: var(--muted); }
.hero.deep .eyebrow { color: var(--accent-ink); }

/* Architecture diagram on a light hero */
.hero .arch { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.hero .arch-title { color: var(--muted); }
.hero .arch-title i { color: var(--accent-ink); }
.hero .node { background: var(--bg-soft); border-color: var(--line); color: var(--ink); }
.hero .node small { color: var(--muted); }
.hero .core { background: linear-gradient(160deg, var(--navy), #2d2775); border: 0; }
.hero .core span { background: rgba(255,255,255,.1); color: #fff; }
.hero .arch-foot span { color: var(--muted); border-color: #d6d4e6; }

/* Components in brand colours */
.icon { background: var(--brand-soft); color: var(--accent-ink); }
.flow-step .dot { background: var(--navy); box-shadow: 0 0 0 5px var(--brand-soft); }
.flow-step::after { background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 15%, transparent)); }
.deep .flow-step .dot { box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.list-check li::before { background: var(--brand-soft); box-shadow: inset 0 0 0 5px var(--accent); }
.tag { background: var(--brand-soft); color: var(--accent-ink); }
.card { border-radius: var(--radius); }
a.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.card .more { color: var(--accent-ink); }
.price-card.featured { border-color: var(--accent); }
.price-card .badge { background: var(--navy); }
.answer { border-left-color: var(--accent); }
.faq summary::after { color: var(--accent-ink); }
.score-ring { background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--bg-soft) 0); }
.wizard-bar i, .demo-tabs button.on { border-bottom-color: var(--accent); }
.wizard-bar i { background: var(--accent); }
.demo-tabs button.on { color: var(--navy); }
.pill { background: var(--brand-soft); color: var(--accent-ink); }
.choice input:checked + span { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--brand-soft); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px var(--brand-soft); }
.router .card.here { background: var(--brand-soft); }
.section.deep, .cta-band, .site-footer { background: var(--navy); }
.cta-band { background: var(--navy) radial-gradient(600px 300px at 100% 100%, color-mix(in srgb, var(--accent) 35%, transparent), transparent); }
.site-footer { padding-top: 0; }
.site-footer .stripe { margin-bottom: 60px; }
.site-footer .logo img { height: 38px; }
.guide-launch { background: var(--navy); }
.guide-launch i { background: var(--accent); color: var(--navy); }
.guide-head { background: var(--navy); }
.msg.me { background: var(--navy); }
.quick button { border-color: var(--navy); color: var(--navy); }

/* Product family strip (app tiles) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 10px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile img { width: 64px; height: 64px; border-radius: 16px; }
.tile b { font-family: var(--font-head); font-weight: 500; font-size: .98rem; }
.tile span { font-size: .8rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Feature image (marketing creatives) */
.shot { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #000; }
.shot img { width: 100%; height: auto; }
.product-logo { height: 46px; width: auto; margin-bottom: 18px; }
.hero.deep h1, .hero.deep h2, .hero.deep h3 { color: var(--ink); }
.hero.deep .panel h3 { color: var(--ink); }

/* Dropdown (mega) navigation */
.has-dd { position: relative; }
.has-dd > a i { font-style: normal; font-size: .7em; opacity: .6; margin-left: 2px; }
.dd { position: absolute; top: calc(100% + 10px); left: -12px; min-width: 320px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s; z-index: 70; }
.dd::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dd:hover .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.dd-link { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink) !important; text-decoration: none !important; }
.dd-link:hover { background: var(--brand-soft); }
.dd-link b { display: block; font: 500 .95rem/1.3 var(--font-head); }
.dd-link span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 920px) {
  .nav.open .has-dd > a i { display: none; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; display: none; }
  .nav.open .has-dd .dd { display: grid; }
  .dd-link { padding: 6px 10px; }
  .dd-link span { display: none; }
  .nav.open { max-height: calc(100vh - 40px); overflow-y: auto; }
}

/* Status pills, product explorer tabs, visuals */
.status { display: inline-block; font: 600 .68rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: #e3f6ec; color: #12805c; margin-top: auto; align-self: flex-start; }
.status.new { background: var(--brand-soft); color: var(--accent-ink); }
.ptabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.ptabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 18px; font: 500 1rem var(--font-head); color: var(--muted); cursor: pointer; white-space: nowrap; }
.ptabs button.on { color: var(--navy); border-bottom-color: var(--accent); }
.ppanel { display: none; }
.ppanel.on { display: block; animation: fade .25s ease; }
.ppanel > p { color: var(--ink-2); max-width: 70ch; }
.pcard { position: relative; }
.pcard h3 { font-size: 1.08rem; margin-bottom: 4px; }
.pcard .icon { margin-bottom: 12px; }
.dash { background: var(--navy); color: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); }
.dash-title { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep-muted); margin-bottom: 14px; display: flex; justify-content: space-between; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-grid div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px; }
.dash-grid small { display: block; font-size: .74rem; color: var(--on-deep-muted); }
.dash-grid b { font: 600 1.5rem/1.2 var(--font-head); color: #fff; }
.dash-grid b.good { color: var(--accent); }
.dash-note { font-size: .74rem; color: var(--on-deep-muted); margin: 12px 0 0; }
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pipe > div { background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px; min-height: 130px; }
.pipe h4 { font: 600 .7rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-deep-muted); margin: 0 0 8px; }
.pipe span { display: block; font-size: .78rem; background: rgba(255,255,255,.08); border-left: 3px solid var(--accent); border-radius: 6px; padding: 6px 8px; margin-bottom: 6px; color: #fff; }
@media (max-width: 560px) { .pipe { grid-template-columns: 1fr 1fr; } }
.cmp { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .95rem; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--bg-soft); font: 600 .8rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cmp td.us { background: var(--brand-soft); font-weight: 500; color: var(--navy); }
.cmp-wrap { overflow-x: auto; border-radius: 16px; }
.addons { display: flex; flex-wrap: wrap; gap: 8px; }
.addons span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .88rem; }

/* Claims review mode: add ?review=1 to any URL */
html.review .claim { background: #fff3a6; box-shadow: 0 0 0 2px #fff3a6; border-radius: 3px; cursor: help; color: #1b1840 !important; }
html.review .claim::after { content: " [" attr(data-claim) "]"; font: 600 .7rem/1 var(--font-body); color: #a15c00; }
.review-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #a15c00; color: #fff; font-size: .85rem; padding: 8px 16px; text-align: center; }
.hero.deep .list-check li, .hero.deep .panel p, .hero.deep .card p { color: var(--ink-2); }
.hero.deep .card { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.hero.deep .icon { background: var(--brand-soft); color: var(--accent-ink); }
.price-card .product-logo { height: 34px; margin-bottom: 12px; }

/* Expandx positioning pillars */
.pillars { list-style:none; padding:0; margin:0 0 18px; display:flex; flex-wrap:wrap; gap:8px; }
.pillars a { display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:999px; background:#fff; border:1px solid var(--line, #e3e6ef); color:var(--ink); font:500 .82rem/1.2 var(--font-head); text-decoration:none; box-shadow:0 1px 2px rgba(30,25,81,.06); transition:border-color .15s, transform .15s; }
.pillars a:hover { border-color:var(--accent); transform:translateY(-1px); }
.pillars i { width:9px; height:9px; border-radius:50%; flex:none; }
.pd-x { background:#00b1a9 } .pd-iq { background:#c668a9 } .pd-erp { background:#0bbee9 }
@media (max-width:560px){ .pillars a { font-size:.78rem; padding:6px 12px } }
/* Never distort logos: keep natural aspect ratio inside flex/grid cards */
.product-logo, .logo img, .tile img, .launch img { align-self: flex-start; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.center .product-logo, .head.center .product-logo { align-self: center; object-position: center; }

/* ===== TejoERP revised v05 components ===== */
.dd.wide { grid-template-columns: 1fr 1fr; min-width: 600px; }
@media (max-width: 980px) { .dd.wide { grid-template-columns: 1fr; min-width: 0; } }
.stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 26px; }
.stats div { display: flex; flex-direction: column; }
.stats b { font: 600 1.9rem/1.1 var(--font-head); color: var(--navy); letter-spacing: -.02em; }
.stats span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.chipgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chipcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.chipcard b { display: block; font: 600 1rem/1.3 var(--font-head); color: var(--navy); margin-bottom: 6px; }
.chipcard p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.video-mini { display: flex; align-items: center; gap: 14px; margin-top: 14px; background: var(--navy); color: #fff !important; border-radius: 16px; padding: 14px 18px; text-decoration: none !important; }
.video-mini small { display: block; color: rgba(255,255,255,.65); font-size: .78rem; }
.play { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--navy); display: grid; place-items: center; flex: none; font-size: .9rem; }
.video-frame { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; max-width: 900px; aspect-ratio: 16/9; margin: 0 auto; border-radius: 20px; background: linear-gradient(135deg, var(--navy), #2c2675); color: #fff !important; text-decoration: none !important; box-shadow: var(--shadow-lg); padding: 24px; }
.video-frame .play { width: 72px; height: 72px; font-size: 1.4rem; }
.video-frame small { color: rgba(255,255,255,.65); }
.pilltags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pilltags span { background: var(--brand-soft); color: var(--navy); border-radius: 999px; padding: 4px 11px; font-size: .78rem; font-weight: 500; }
.center-tags { justify-content: center; margin-top: 18px; }
.kpi-card .tag { margin-bottom: 12px; }
.kpi-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.kpi-pair b, .kpis b { display: block; font: 600 1.9rem/1.1 var(--font-head); color: var(--accent-ink); letter-spacing: -.02em; }
.kpi-pair span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpis div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-align: center; }
.kpis span { font-size: .9rem; color: var(--muted); }
@media (max-width: 760px) { .kpis { grid-template-columns: 1fr 1fr; } .chipgrid { grid-template-columns: 1fr; } }
.ticker { overflow: hidden; background: var(--navy); color: #fff; padding: 14px 0; }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: tick 60s linear infinite; }
.ticker-track span { white-space: nowrap; font: 500 .92rem/1 var(--font-head); opacity: .85; }
.ticker-track span::after { content: "◆"; margin-left: 40px; color: var(--accent); font-size: .6rem; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 16px; gap: 10px 24px; } }
.numlist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 16px; }
.numlist li { display: flex; gap: 16px; align-items: flex-start; }
.numlist li > b { font: 600 1.1rem/1 var(--font-head); color: var(--accent-ink); background: var(--brand-soft); border-radius: 12px; padding: 12px 10px; flex: none; }
.numlist h3 { font-size: 1.05rem; margin: 0 0 4px; }
.numlist p { margin: 0; color: var(--muted); }
.pull { font: 500 1.25rem/1.4 var(--font-head); color: var(--navy); margin: 0 0 18px; }
.usteps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.usteps span { background: var(--navy); color: #fff; border-radius: 999px; padding: 7px 16px; font-weight: 600; font-size: .9rem; }
.usteps i { font-style: normal; color: var(--accent-ink); }
.vs { display: grid; gap: 8px; }
.vs div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.vs span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.vs b { color: var(--navy); font-weight: 600; }
.prodlist { display: grid; gap: 14px; }
.prod { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.prod.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--brand-soft); }
.prod > img { flex: none; width: 56px; height: 56px; }
.prod h3 { margin: 0 0 6px; font-size: 1.12rem; }
.prod h3 .pill { vertical-align: middle; margin-left: 6px; font-size: .7rem; }
.prod p { margin: 0; color: var(--muted); }
.prod .more { display: inline-block; margin-top: 10px; font-weight: 600; }
@media (max-width: 560px) { .prod { flex-direction: column; } }
.callout { background: var(--brand-soft); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; color: var(--ink); }
.step .stepno { display: block; font: 600 1.6rem/1 var(--font-head); color: var(--accent-ink); margin-bottom: 10px; }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 8px; }
.jobs { display: grid; gap: 10px; }
.jobs a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; text-decoration: none !important; color: var(--ink) !important; }
.jobs a:hover { border-color: var(--accent); }
.jobs b { font: 600 1rem/1.3 var(--font-head); }
.jobs span { grid-column: 1; font-size: .85rem; color: var(--muted); }
.jobs i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--accent-ink); }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list a { font: 600 1.05rem/1.4 var(--font-head); }
.hero.deep .stats b { color: var(--navy); }
/* ===== Expandx v5 components ===== */
.edition { border-top: 4px solid var(--accent); }
.edition h2 { margin-top: 10px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 34px); align-items: center; }
.feature-card.iq { border-color: #e8d3e3; background: linear-gradient(135deg, #fff, #fbf3f9); }
.kpis3 { grid-template-columns: 1fr; }
.kpis3 b { font-size: 1.4rem; }
.feature-dark { background: var(--navy) !important; color: #fff; border-color: var(--navy) !important; }
.feature-dark h3 { color: #fff; }
.feature-dark p { color: rgba(255,255,255,.75); }
.feature-dark .tag { background: rgba(255,255,255,.12); color: #fff; }
.vs.dark div { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.vs.dark span { color: rgba(255,255,255,.75); text-decoration: none; }
.vs.dark b { color: var(--accent); }
a.card .list-check { color: var(--ink); }
@media (min-width: 981px) { .nav-links > li:nth-last-child(-n+2) > .dd { left: auto; right: -12px; } }
