/* Trackscales website v3 */

:root {
  --ink: #0b1324;
  --body: #3b4558;
  --muted: #687386;
  --line: #e4e9f0;
  --soft: #f5f7fb;
  --soft-2: #eef3fb;
  --brand: #2563eb;
  --brand-2: #4f46e5;
  --brand-dark: #1d4ed8;
  --brand-soft: #e9f0ff;
  --cyan: #06b6d4;
  --green: #059669;
  --green-soft: #e6f6ef;
  --red: #dc2626;
  --amber-soft: #fff6e5;
  --navy: #0a1430;
  --navy-2: #111e45;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 36, .06);
  --shadow: 0 6px 20px rgba(11, 19, 36, .07);
  --shadow-lg: 0 18px 48px rgba(11, 19, 36, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 14px; letter-spacing: -.015em; }
h1 { font-size: 2.6rem; font-weight: 800; }
h2 { font-size: 1.95rem; font-weight: 750; }
h3 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0 0 16px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------------- header ---------------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding: 8px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, .35);
  transition: transform .2s ease;
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--body); font-size: .93rem; font-weight: 500; padding: 8px 11px; border-radius: 8px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--soft); color: var(--ink); text-decoration: none; }
.nav a.current { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.nav a.nav-cta { background: var(--ink); color: #fff; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--brand); color: #fff; }

/* ---------------- buttons ---------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 11px; font-weight: 650; font-size: .97rem; border: 1px solid transparent; transition: transform .16s, box-shadow .16s, background .16s, border-color .16s, color .16s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .3); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(37, 99, 235, .42); color: #fff; }
.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c8d3e3; box-shadow: var(--shadow); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- hero (dark) ---------------- */
.hero-dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(79, 70, 229, .45), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(6, 182, 212, .25), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--navy-2));
  color: #c9d4ee;
  padding: 72px 0 80px;
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-dark h1 { color: #fff; font-size: 3rem; }
.hero-dark h1 .grad { background: linear-gradient(90deg, #8fb4ff, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-dark .lead { font-size: 1.15rem; color: #c9d4ee; max-width: 56ch; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 650; letter-spacing: .04em;
  padding: 6px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #dbe5ff;
  margin-bottom: 20px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .25); }
.hero-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.hero-points li { position: relative; padding-left: 24px; font-size: .95rem; color: #dbe5ff; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: #67e8f9; font-weight: 800; }
.operated { margin-top: 22px; font-size: .9rem; color: #9fb0d6; }
.operated strong { color: #fff; }

/* ---------------- product mockup (illustration) ---------------- */
.mock {
  position: relative;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform .4s ease;
  color: var(--body); font-size: 12.5px; line-height: 1.4;
}
.mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f3f5f9; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 10px; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 2px 10px; border-radius: 6px; }
.mock-body { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.mock-side { background: var(--navy); padding: 14px 10px; }
.mock-side b { display: block; color: #fff; font-size: 12px; margin-bottom: 12px; }
.mock-side span { display: block; color: #9fb0d6; padding: 6px 8px; border-radius: 6px; margin-bottom: 3px; font-size: 11.5px; }
.mock-side span.on { background: rgba(255,255,255,.1); color: #fff; }
.mock-main { padding: 14px; background: #fafbfd; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.kpi small { display: block; color: var(--muted); font-size: 10.5px; }
.kpi strong { font-size: 15px; color: var(--ink); }
.kpi em { font-style: normal; font-size: 10px; color: var(--green); font-weight: 700; }
.chart { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 10px; height: 104px; display: flex; align-items: flex-end; gap: 6px; margin-bottom: 12px; }
.chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #6d8dff, #2563eb); opacity: .9; }
.chart i:nth-child(even) { background: linear-gradient(180deg, #67e8f9, #06b6d4); }
.mtable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; font-size: 11px; }
.mtable th, .mtable td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.mtable th { background: #f3f5f9; color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 10.5px; }
.mtable tr:last-child td { border-bottom: none; }
.tag { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.tag.ok { background: var(--green-soft); color: var(--green); }
.tag.no { background: #f1f3f7; color: var(--muted); }
.illus-note { position: absolute; right: 10px; bottom: 8px; font-size: 10px; color: var(--muted); background: rgba(255,255,255,.9); padding: 1px 6px; border-radius: 5px; }

/* ---------------- standards strip ---------------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line); transition: background .2s; }
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: var(--soft); }
.strip-item strong { display: block; font-size: 1.6rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.strip-item span { font-size: .88rem; color: var(--muted); }

/* ---------------- sections ---------------- */
section { padding: 78px 0; }
.bg-soft { background: var(--soft); }
.bg-grad { background: linear-gradient(180deg, #f7f9ff, #fff); }
.kicker { display: inline-block; font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.sec-head { max-width: 680px; margin-bottom: 42px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfdcf3; }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-soft), #eef2ff); color: var(--brand);
  transition: transform .2s, background .2s, color .2s;
}
.icon svg { width: 22px; height: 22px; }
.card:hover .icon { transform: scale(1.08); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.card .more { font-size: .9rem; font-weight: 600; }

/* feature rows (alternating) */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 34px 0; }
.frow + .frow { border-top: 1px dashed var(--line); }
.frow.rev .ftext { order: 2; }
.ftext h3 { font-size: 1.5rem; }
.ftext .lbl { font-size: .8rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.problem { font-size: .95rem; padding: 12px 16px; border-radius: 10px; background: var(--amber-soft); border-left: 3px solid #f59e0b; margin-bottom: 14px; }
.problem strong { color: var(--ink); }
.fvisual { background: linear-gradient(135deg, #f3f6ff, #eefbfd); border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: relative; transition: box-shadow .25s, transform .25s; }
.fvisual:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.tick, .cross { list-style: none; padding: 0; margin: 0 0 18px; }
.tick li, .cross li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px dashed var(--line); }
.tick li:last-child, .cross li:last-child { border-bottom: none; }
.tick li::before { content: "✓"; position: absolute; left: 2px; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.cross li::before { content: "✕"; position: absolute; left: 2px; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: #fdecec; color: var(--red); font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tick.sm li, .cross.sm li { font-size: .93rem; padding-top: 5px; padding-bottom: 5px; }
.tick.sm li::before, .cross.sm li::before { top: 6px; }

/* flow diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 10px; }
.flow-node { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.flow-node:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #bcd0f7; }
.flow-node .n { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: .88rem; margin-bottom: 10px; }
.flow-node h4 { font-size: 1rem; margin-bottom: 6px; }
.flow-node p { font-size: .88rem; color: var(--muted); margin: 0; }
.flow-node code { font-size: .78rem; }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 1.6rem; font-weight: 800; }
.flow-back { margin-top: 14px; text-align: center; font-size: .9rem; color: var(--muted); border: 1px dashed #c9d6ee; border-radius: 12px; padding: 12px; background: #fbfcff; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { position: relative; padding: 20px 22px 20px 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s, box-shadow .18s, border-color .18s; }
.step:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: #cfdcf3; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 20px; top: 19px; font-weight: 800; font-size: 1.05rem; color: var(--brand); background: var(--brand-soft); width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.step h3 { margin-bottom: 4px; font-size: 1.05rem; }
.step p { margin: 0; font-size: .96rem; }

/* code */
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em; background: var(--soft-2); border: 1px solid #dfe7f5; color: #1e3a8a; padding: 1px 6px; border-radius: 6px; word-break: break-word; }
pre { background: var(--navy); color: #dbe6ff; border-radius: 14px; padding: 18px 20px; overflow-x: auto; margin: 0 0 20px; font-size: .88rem; line-height: 1.65; box-shadow: var(--shadow); }
pre code { background: none; border: none; color: inherit; padding: 0; font-size: inherit; }
pre .c { color: #7f93bd; }
pre .k { color: #67e8f9; }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; background: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
th { background: var(--soft); color: var(--ink); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #f8faff; }
tbody tr:last-child td { border-bottom: none; }
.code-200 { color: var(--green); font-weight: 700; }
.code-400 { color: #b45309; font-weight: 700; }

/* definition list */
.dl { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; background: #fff; }
.dl-row { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); transition: background .15s; }
.dl-row:last-child { border-bottom: none; }
.dl-row:hover { background: #f8faff; }
.dl-row dt { padding: 14px 18px; font-weight: 650; color: var(--ink); background: var(--soft); font-size: .93rem; }
.dl-row dd { margin: 0; padding: 14px 18px; font-size: .95rem; }

/* callouts */
.note { border: 1px solid #d6e2fb; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 12px; padding: 16px 20px; margin-bottom: 22px; transition: box-shadow .2s; }
.note:hover { box-shadow: var(--shadow); }
.note.good { border-color: #c9eadb; border-left-color: var(--green); background: var(--green-soft); }
.note p:last-child { margin: 0; }
.note strong { color: var(--ink); }

/* chips (integrations) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 11px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: .93rem; transition: transform .16s, box-shadow .16s, border-color .16s; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c4d4f2; }
.chip small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.chip .b { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.chip .b.api { background: var(--green); }

/* use-case cards */
.uc { overflow: hidden; }
.uc .top { height: 6px; position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(90deg, var(--brand), var(--cyan)); }
.uc:nth-child(2) .top { background: linear-gradient(90deg, var(--brand-2), #a855f7); }
.uc:nth-child(3) .top { background: linear-gradient(90deg, var(--green), var(--cyan)); }

/* role table */
.roles td:first-child { font-weight: 650; color: var(--ink); white-space: nowrap; }
.yes { color: var(--green); font-weight: 800; }
.no { color: #a0a9b8; font-weight: 800; }

/* screenshots */
figure.shot { margin: 0 0 24px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
figure.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
figure.shot img { display: block; width: 100%; height: auto; }
figure.shot figcaption { padding: 12px 18px; background: #fff; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

/* FAQ */
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; transition: box-shadow .2s, border-color .2s; }
details.faq:hover { box-shadow: var(--shadow); border-color: #cfdcf3; }
details.faq[open] { border-color: #bcd0f7; }
details.faq summary { list-style: none; cursor: pointer; padding: 17px 54px 17px 20px; font-weight: 650; color: var(--ink); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 18px; top: 14px; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-weight: 800; }
details.faq[open] summary::after { content: "\2013"; background: var(--brand); color: #fff; }
details.faq p { padding: 0 20px 18px; margin: 0; }
.faq-group h2 { font-size: 1.3rem; margin: 34px 0 14px; }
.faq-group h2:first-child { margin-top: 0; }

/* page header (inner) */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(700px 300px at 90% -20%, rgba(79,70,229,.4), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-2)); color: #c9d4ee; padding: 60px 0 56px; }
.page-hero h1 { color: #fff; font-size: 2.5rem; max-width: 22ch; }
.page-hero p { max-width: 64ch; font-size: 1.08rem; margin: 0; }
.page-hero .pill { margin-bottom: 16px; }
.crumbs { font-size: .85rem; color: #9fb0d6; margin-bottom: 14px; }
.crumbs a { color: #c9d4ee; }
.updated { margin-top: 14px !important; font-size: .9rem; color: #9fb0d6; }

/* docs layout */
.docs { display: grid; grid-template-columns: 230px 1fr; gap: 44px; align-items: start; }
.toc { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fff; }
.toc b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; color: var(--body); font-size: .92rem; padding: 6px 10px; border-radius: 8px; transition: background .15s, color .15s; }
.toc a:hover { background: var(--soft); color: var(--brand); text-decoration: none; }
.doc h2 { font-size: 1.5rem; padding-top: 10px; margin-top: 30px; scroll-margin-top: 90px; }
.doc h2:first-child { margin-top: 0; }

/* legal */
.legal h2 { font-size: 1.25rem; margin-top: 34px; scroll-margin-top: 90px; }
.legal h2:first-of-type { margin-top: 0; }
.legal ul:not(.tick):not(.cross), .legal ol { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 6px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.legal-toc a { font-size: .86rem; padding: 6px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--body); transition: background .15s, color .15s, border-color .15s; }
.legal-toc a:hover { background: var(--brand-soft); color: var(--brand); border-color: #c6d6f6; text-decoration: none; }

/* company card */
.company { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; align-items: center; }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: 20px; padding: 46px; background: radial-gradient(600px 260px at 90% 0%, rgba(103,232,249,.25), transparent 60%), linear-gradient(135deg, #1e3a8a, #4338ca); color: #dbe5ff; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; margin-bottom: 8px; font-size: 1.7rem; }
.cta p { margin: 0; color: #c7d5fb; }
.cta .btn-primary { background: #fff; color: var(--brand-dark); box-shadow: none; }
.cta .btn-primary:hover { color: var(--brand-dark); background: #eef3ff; }

/* footer */
.site-foot { background: var(--navy); color: #9fb0d6; padding: 56px 0 28px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.site-foot h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: #c9d4ee; }
.site-foot a:hover { color: #fff; }
.foot-brand .logo { color: #fff; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: .86rem; }
.foot-bottom p { margin: 0 0 6px; }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .hero-grid, .company { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frow { grid-template-columns: 1fr; gap: 26px; }
  .frow.rev .ftext { order: 0; }
  .docs { grid-template-columns: 1fr; }
  .toc { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  h1, .hero-dark h1 { font-size: 2.05rem; }
  .page-hero h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  section { padding: 56px 0; }
  .hero-dark { padding: 48px 0 56px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero-points { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: none; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dl-row { grid-template-columns: 1fr; }
  .dl-row dt { border-bottom: 1px solid var(--line); }
  .cta { padding: 30px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .nav a { padding: 7px 9px; font-size: .9rem; }
}

/* overflow guards */
.frow > *, .docs > *, .grid > *, .company > *, .hero-grid > * { min-width: 0; }
.fvisual { overflow-x: auto; }
