/* PJMSoft — site styles */
:root {
  --ink: #0b1626;
  --ink-2: #13233a;
  --navy: #003a63;
  --blue: #004f83;
  --blue-bright: #2f86d1;
  --sky: #7cc0ff;
  --orange: #e7731f;
  --orange-soft: #ffb37a;
  --text: #1d2939;
  --muted: #5b6b80;
  --line: #e3e8ef;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 22, 38, .06), 0 8px 24px rgba(11, 22, 38, .08);
  --shadow-lg: 0 24px 60px rgba(0, 30, 60, .22);
  --max: 1160px;
  --font-head: "Jost", "Futura", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9em; background: var(--surface-2); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; word-break: break-all; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 38, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { width: 34px; height: 34px; }
.brand span { font-family: var(--font-head); font-size: 1.45rem; font-weight: 500; letter-spacing: .01em; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .09); }
.nav-links .has-menu { position: relative; }
.nav-links .menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 300px; padding: 10px; list-style: none; margin: 0;
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-links .has-menu:hover .menu, .nav-links .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-links .menu a { border-radius: 10px; padding: 10px 12px; }
.nav-links .menu small { display: block; color: rgba(255, 255, 255, .55); font-weight: 400; font-size: .8rem; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(231, 115, 31, .35); }
.btn-primary:hover { background: #f0822f; color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { background: transparent; color: var(--blue); border-color: #c6d3e2; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1100px 520px at 85% -10%, rgba(47, 134, 209, .45), transparent 60%),
              radial-gradient(700px 420px at 5% 110%, rgba(231, 115, 31, .28), transparent 60%),
              linear-gradient(180deg, var(--ink) 0%, #0d2140 100%);
  margin-top: -70px; padding: 170px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 75%);
}
.hero .container { position: relative; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 .accent { background: linear-gradient(90deg, var(--orange-soft), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .78); max-width: 58ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-soft);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-mark { justify-self: center; width: min(360px, 80%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); animation: float 8s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-sm { padding: 150px 0 72px; }
.hero-sm h1 { max-width: 22ch; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 14px; }
.crumbs a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.crumbs a:hover { color: #fff; }

.stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: #fff; }
.stat span { font-size: .88rem; color: rgba(255, 255, 255, .6); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { color: var(--orange); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card p { color: var(--muted); margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #c9d8ea; color: inherit; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--blue); font-size: .95rem; }
a.card:hover .more { color: var(--orange); }
.more svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(3px); }
.pill svg { width: 12px; height: 12px; }

.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0, 79, 131, .1), rgba(47, 134, 209, .16)); color: var(--blue);
}
.icon.orange { background: linear-gradient(135deg, rgba(231, 115, 31, .12), rgba(255, 179, 122, .22)); color: var(--orange); }
.icon svg { width: 24px; height: 24px; }

.product-card { position: relative; overflow: hidden; padding-top: 0; }
.product-card .art { height: 160px; margin: 0 -28px 24px; display: grid; place-items: center; background: #12141c; position: relative; overflow: hidden; }
.product-card .art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(47, 134, 209, .22) 0%, transparent 70%); }
.product-card .art.art-teal::after { background: linear-gradient(160deg, rgba(34, 211, 197, .2) 0%, transparent 70%); }
.product-card .art.art-purple::after { background: linear-gradient(160deg, rgba(124, 108, 246, .24) 0%, transparent 70%); }
.product-card .art.art-mix::after { background: linear-gradient(160deg, rgba(165, 153, 255, .2) 0%, rgba(34, 211, 197, .08) 50%, transparent 80%); }
.product-card .art .illus { position: relative; z-index: 1; width: 100%; height: 100%; display: block; padding: 6px 8px; }
.product-card .art .illus svg { width: 100%; height: 100%; display: block; }
.product-card .art svg { width: 92px; height: 92px; position: relative; z-index: 1; color: #fff; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }

/* Feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0, 79, 131, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004f83' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}
.checklist li b { color: var(--ink); }

.shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; background: #eef1f6; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6e0; }

/* UI mockups (pure CSS) */
.mock { border-radius: var(--radius); background: linear-gradient(160deg, var(--ink) 0%, #10294a 100%); padding: 22px; box-shadow: var(--shadow-lg); color: #dbe7f5; font-size: .85rem; position: relative; overflow: hidden; }
.mock::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 90% 0%, rgba(47, 134, 209, .35), transparent 70%); pointer-events: none; }
.mock > * { position: relative; z-index: 1; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 10px; }
.mock-row b { color: #fff; font-weight: 600; }
.mock-env { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.mock-env .mock-row { margin: 0; flex-direction: column; align-items: flex-start; gap: 2px; }
.mock-env .arrow { color: var(--orange); font-size: 1.4rem; }
.mock small { color: rgba(219, 231, 245, .6); font-size: .75rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: rgba(124, 192, 255, .15); color: var(--sky); white-space: nowrap; }
.pill.ok { background: rgba(52, 199, 123, .16); color: #6be3a5; }
.pill.warn { background: rgba(231, 115, 31, .18); color: var(--orange-soft); }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 8px; width: 100%; }
.bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--blue-bright), var(--sky)); }
.mock-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.mock-table th { text-align: left; color: rgba(219, 231, 245, .55); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mock-table td { padding: 7px 8px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #e8f0fa; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* CTA band */
.cta-band {
  border-radius: 24px; padding: 56px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: radial-gradient(600px 300px at 100% 0%, rgba(231, 115, 31, .35), transparent 60%), linear-gradient(135deg, var(--navy), var(--ink));
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .75); margin: 0; max-width: 52ch; }

/* Prose (legal / help) */
.prose-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .9rem; border-left: 2px solid var(--line); padding-left: 16px; }
.toc b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0; }
.toc a:hover { color: var(--blue); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2em; padding-top: .2em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; scroll-margin-top: 100px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose .caps { text-transform: none; font-size: .94rem; color: var(--muted); }
.meta { color: rgba(255, 255, 255, .65); font-size: .95rem; margin: 0; }
.callout { border-radius: var(--radius-sm); padding: 18px 20px; background: #fff7ef; border: 1px solid #fbd9bd; margin: 1.4em 0; font-size: .97rem; }
.callout.blue { background: #eef6fd; border-color: #cfe3f6; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 12px; }
details summary { cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--ink); list-style: none; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--orange); font-weight: 400; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 20px 18px; color: var(--muted); }
details > div p:last-child { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item .icon { margin: 0; flex: none; }
.contact-item b { display: block; color: var(--ink); }
.contact-item a, .contact-item span { color: var(--muted); text-decoration: none; }
.contact-item a:hover { color: var(--orange); }
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--text); padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid #cfd8e3; background: #fff; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 4px rgba(47, 134, 209, .15); }
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: 72px 0 32px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 14px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.social a:hover { background: rgba(255, 255, 255, .14); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mark { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .hero-mark { width: 220px; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prose-wrap { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; border-left: 0; padding: 18px; background: var(--surface-2); border-radius: var(--radius-sm); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 12px 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1);
    display: none; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .nav-links .menu { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; background: transparent; border: 0; box-shadow: none; padding: 0 0 0 12px; }
  .nav-links .has-menu:hover .menu, .nav-links .has-menu:focus-within .menu { transform: none; }
  .nav-links .menu small { display: none; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 130px 0 72px; }
  .hero-sm { padding: 120px 0 52px; }
  .hero-mark { display: none; }
  .grid-3, .grid-2, .steps, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .mock-env { grid-template-columns: 1fr; }
  .mock-env .arrow { transform: rotate(90deg); justify-self: center; }
  .stats { gap: 24px; }
}

/* "Works with" line under hero leads */
.works { display: inline-flex; align-items: center; gap: 8px; margin: -1rem 0 2rem; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.works::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.hero-sm .works { margin-top: -.6rem; }
