:root {
  --ink: #0b1220;
  --ink-soft: #45506b;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --brand: #1a56ff;
  --brand-dark: #0b1a66;
  --accent: #19c48a;
  --border: #e3e7f0;
  --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }

/* nav */
.nav { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); z-index: 10; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
/* The "stack shift" mark - the same SVG used in the pmx-migrator app itself, so the brand reads as one product. */
.logo { width: 26px; height: 26px; display: inline-flex; flex: none; color: var(--brand-dark); }
.logo svg { width: 100%; height: 100%; display: block; }
.navlinks { display: flex; gap: 22px; margin-left: 8px; flex: 1; }
.navlinks a { color: var(--ink-soft); font-weight: 500; }
.navlinks a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
       font-weight: 600; border: 1px solid var(--border); cursor: pointer; background: #fff; color: var(--ink); }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 15% -10%, #16255e 0%, var(--brand-dark) 55%, #061034 100%); color: #fff; padding: 88px 0 100px; }
.hero h1 { font-size: 3rem; max-width: 760px; }
.hero p.lead { color: #c7d2f0; font-size: 1.2rem; max-width: 620px; }
.hero .ctas { display: flex; gap: 14px; margin-top: 28px; }

/* Same brand gradient as .hero, compact - the banner every inner page uses so the blue carries across the site. */
.page-head { background: radial-gradient(1200px 500px at 15% -10%, #16255e 0%, var(--brand-dark) 55%, #061034 100%); color: #fff; padding: 44px 0 50px; }
.page-head h1 { font-size: 2rem; margin: 0 0 8px; }
.page-head p { color: #c7d2f0; margin: 0; max-width: 620px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 28px; }
.stat-row .num { font-size: 1.8rem; font-weight: 700; }
.stat-row .label { color: #a9b6de; font-size: .9rem; }

/* sections */
section.pad { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: 2.1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .grid-3, .grid-2, .stat-row { grid-template-columns: 1fr; } .hero h1 { font-size: 2.2rem; } }

.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: #fff; }
.card .icon { width: 42px; height: 42px; border-radius: 10px; background: #eaf0ff; color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; }

/* mockup frames - original UI illustrations, not real screenshots */
.mock { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); overflow: hidden; box-shadow: 0 20px 50px -24px rgba(11,18,32,.35); }
.mock .mock-bar { display: flex; gap: 6px; padding: 10px 12px; background: #e9ecf4; }
.mock .dot { width: 10px; height: 10px; border-radius: 50%; background: #c7cde0; }
.mock .mock-body { padding: 18px; }
.mock .mock-body.is-screenshot { padding: 0; line-height: 0; }
.mock .mock-img { display: block; width: 100%; height: auto; }
.mock-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.mock-bars i { flex: 1; background: linear-gradient(180deg, var(--brand), #6c8fff); border-radius: 4px 4px 0 0; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .85rem; }
.mock-badge { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: #e7f8ef; color: #0c8a56; font-weight: 600; }
.mock-gauge { display: flex; gap: 18px; }
.mock-gauge .g { flex: 1; text-align: center; }
.mock-gauge .ring { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 8px; background: conic-gradient(var(--accent) var(--pct,65%), #e7ebf3 0); display:flex; align-items:center; justify-content:center; }
.mock-gauge .ring span { background: #fff; width: 52px; height: 52px; border-radius: 50%; display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:700; }
.mock-flow { display: flex; align-items: center; gap: 10px; font-size: .82rem; flex-wrap: wrap; }
.mock-flow .node { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; background: #fff; min-width: 86px; text-align: center; }
.mock-flow .arrow { color: #9aa6c6; }

/* pricing */
.price-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.price-card.featured { border-color: var(--brand); box-shadow: 0 0 0 3px #e9f0ff; }
.price-card .amount { font-size: 2.4rem; font-weight: 800; }
.price-card .amount small { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.price-card ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink); }
.price-card li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* reusable check-mark list - same visual language as .price-card ul, usable in any card (features, docs) */
.check-list { padding: 0; margin: 10px 0 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
/* block + absolutely placed tick (not flex): with display:flex every inline piece of the text - <b>, <a>, <code> - became its own
   column and a sentence was torn apart. Now the text flows normally next to the tick. */
.check-list li { display: block; position: relative; padding-left: 26px; font-size: .9rem; line-height: 1.55; color: var(--ink); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M4 12l6 6L20 6'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M4 12l6 6L20 6'/%3E%3C/svg%3E") center/70% no-repeat; }
code { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 4px; padding: 1px 6px; font-size: .88em; }
.hero .check-list li { color: #e3e9ff; }

/* docs FAQ */
.faq { border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 10px 0 0; }

/* competitor comparison table */
.cmp-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; font-size: .92rem; }
.cmp-table thead th { background: var(--bg-soft); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.cmp-table tbody th { font-weight: 600; white-space: nowrap; }
.cmp-table .us { background: #eaf0ff; }
.cmp-table tr:last-child td, .cmp-table tr:last-child th { border-bottom: none; }
.cmp-table .yes { color: var(--accent); font-weight: 700; }
.cmp-note { margin-top: 14px; }
.badge-beta { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fff4d6; color: #7a5200; font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; vertical-align: middle; }

/* forms */
.form-card { max-width: 560px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: .95rem; font-family: inherit; }
.alert { border-radius: 8px; padding: 12px 14px; font-size: .9rem; margin-bottom: 16px; }
.alert.err { background: #fdecec; color: #9b1c1c; border: 1px solid #f6c6c6; }
.alert.ok { background: #e9f8f0; color: #0c6b3d; border: 1px solid #bfe9d3; }
.alert.info { background: #eef3ff; color: #1a3a99; border: 1px solid #c9d8ff; }

pre.lic { background: #0b1220; color: #d7e0ff; padding: 16px; border-radius: 8px; font-size: .72rem; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 48px 0 20px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.copyright { margin-top: 28px; }

/* contact-form honeypot: off-screen for people, still present for bots (a class, because inline styles may be blocked by the page's CSP) */
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---- mobile / small screens (menu is CSS-only: no script, so it works under the strict CSP and without JavaScript) ---- */
img, svg, video { max-width: 100%; }
pre, code { overflow-wrap: anywhere; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 8px; }
.tablewrap .cmp-table { min-width: 680px; }
.nav-toggle, .nav-burger, .nav-cta-m { display: none; }
.brand { white-space: nowrap; }
.field input, .field select, .field textarea { font-size: 16px; }          /* 16px keeps iOS Safari from zooming into a focused field */
@media (max-width: 860px) {
  .wrap { padding: 0 18px; }
  .nav-inner { gap: 12px; height: 58px; position: relative; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; cursor: pointer; align-items: center; border-radius: 10px; }
  .nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--brand); }
  .navlinks { display: none; position: absolute; top: 58px; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--border);
              box-shadow: 0 18px 30px -18px rgba(11,18,32,.35); padding: 6px 18px 16px; }
  .navlinks a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .navlinks a.nav-cta-m { display: flex; margin-top: 14px; border-bottom: 1px solid var(--brand); color: #fff; }
  .nav-toggle:checked ~ .navlinks { display: flex; }
  .nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 1.9rem; }
  .hero p.lead { font-size: 1.05rem; }
  .hero .ctas, .ctas { flex-direction: column; align-items: stretch; }
  .ctas .btn { width: 100%; }
  .page-head { padding: 32px 0 36px; }
  .page-head h1 { font-size: 1.6rem; }
  .stat-row { margin-top: 36px; gap: 18px; }
  section.pad { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 1.6rem; }
  .section-head .check-list { display: block !important; }
  .card, .price-card { padding: 22px; }
  .form-card { padding: 22px; }
  .grid-3, .grid-2 { gap: 18px; }
  .btn { min-height: 44px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .mock .mock-body { padding: 12px; }
  .cmp-table th, .cmp-table td { padding: 10px 12px; }
}
@media (max-width: 380px) { .hero h1 { font-size: 1.65rem; } .brand { font-size: .95rem; } }

/* the sizing table becomes one card per tier on phones instead of scrolling sideways */
@media (max-width: 700px) {
  .sizing-wrap .cmp-table { min-width: 0; }
  .sizing-table, .sizing-table tbody, .sizing-table tr, .sizing-table th, .sizing-table td { display: block; width: 100%; }
  .sizing-table thead { display: none; }
  .sizing-table { border: 0; background: transparent; }
  .sizing-table tr { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 14px; padding: 6px 0; overflow: hidden; }
  .sizing-table tbody th { white-space: normal; font-size: 1.1rem; padding: 12px 16px 8px; border: 0; }
  .sizing-table td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 16px; border: 0; border-top: 1px solid var(--border); text-align: right; }
  .sizing-table td::before { content: attr(data-label); color: var(--ink-soft); font-weight: 600; text-align: left; }
}

/* ---- support portal ---- */
.subnav { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.subnav .wrap { display: flex; align-items: center; gap: 20px; height: 46px; }
.subnav a { color: var(--ink-soft); font-weight: 600; font-size: .92rem; }
.subnav a:hover { color: var(--ink); }
.subnav .grow { flex: 1; }
.subnav .who { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subnav form { margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }
.wrap.narrow { max-width: 760px; }
.pill { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #eef1f8; color: var(--ink-soft); white-space: nowrap; }
.st-open { background: #e3edff; color: #1a3a99; } .st-in_progress { background: #fff4d6; color: #7a5200; } .st-waiting_customer { background: #ffe5d0; color: #8a3a00; }
.st-resolved { background: #e1f6ec; color: #0c6b3d; } .st-closed, .st-cancelled { background: #ececf1; color: #555b70; }
.pr-urgent { background: #fde0e0; color: #9b1c1c; } .pr-high { background: #ffe9d6; color: #8a3a00; } .pr-low { background: #eef1f8; color: #666; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.tile { display: block; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); background: #fff; }
.tile b { display: block; font-size: 1.8rem; line-height: 1.1; } .tile span { color: var(--ink-soft); font-size: .85rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; color: var(--ink-soft); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters input, .filters select, .cmp-table td input[type=text], .cmp-table td input:not([type]) { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font: inherit; }
.pager { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 14px 0; }
.grid-case { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
@media (max-width: 900px) { .grid-case { grid-template-columns: 1fr; } }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.meta { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.timeline { list-style: none; padding: 0; margin: 0 0 18px; }
.timeline li { border-left: 3px solid var(--border); padding: 4px 0 10px 14px; margin-left: 4px; }
.timeline li.internal { border-left-color: #f0a35c; background: #fff8ef; }
.files { padding-left: 18px; } .up-row { display: flex; gap: 12px; align-items: center; margin: 6px 0; flex-wrap: wrap; }
.up-row progress { width: 160px; }
code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; }

/* hero artwork + illustration cards */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.65); }
.hero-grid .hero-copy h1 { font-size: 2.6rem; }
.art-pair { display: block; }
.art-card { margin: 0 0 44px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; }
.art-card:last-child { margin-bottom: 0; }
.art-card:nth-child(even) { grid-template-columns: 1fr 1.5fr; }
.art-card:nth-child(even) img { order: 2; }
.art-card img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 20px 50px -26px rgba(11,18,32,.5); }
.art-card figcaption { color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 860px) { .art-card, .art-card:nth-child(even) { grid-template-columns: 1fr; gap: 14px; } .art-card:nth-child(even) img { order: 0; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 28px; } .hero-grid .hero-copy h1 { font-size: 2.2rem; } }
@media (max-width: 600px) { .hero-grid .hero-copy h1 { font-size: 1.9rem; } .hero-art img { border-radius: 16px; } }

/* split layouts: form beside artwork (activate, contact) and the features picture rows */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.split .form-card { max-width: none; margin: 0; box-shadow: 0 20px 50px -30px rgba(11,18,32,.35); }
.split .art { width: 100%; height: auto; display: block; border-radius: 24px; box-shadow: 0 24px 60px -30px rgba(11,18,32,.5); }
.side-note { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-soft); font-size: .92rem; }
.side-note h4 { margin: 0 0 6px; font-size: 1rem; }
.side-note ul { margin: 6px 0 0; padding-left: 18px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.trust-row li { font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: #eaf0ff; color: var(--brand-dark); }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.contact-cards .card .icon { margin-bottom: 12px; }
.fig-row { display: grid; grid-template-columns: 1fr; gap: 28px; margin: 0 0 48px; }
.fig-img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 24px 60px -30px rgba(11,18,32,.5); }
@media (max-width: 860px) { .split, .contact-cards { grid-template-columns: 1fr; } .split .art { order: -1; max-width: 520px; } }
