/* T3646 ComponentCRM marketing site (staging). Mobile-first; system fonts (nothing downloaded, no layout shift). */
:root {
  --navy: #10233f; --navy-2: #17334e; --blue: #0b6fc0; --blue-l: #1085d8; --ink: #13202f; --muted: #4a5868;
  --line: #d8e0ea; --bg: #f4f7fb; --white: #fff; --focus: #ffb703; --r: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.small { font-size: .9rem; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--ink); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.sr-head { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* buttons: one style, one action (Book a demo) */
.btn { display: inline-block; background: var(--blue); color: var(--white); font: 600 1.05rem/1 var(--font); padding: 15px 26px;
  border-radius: 8px; border: 0; text-decoration: none; cursor: pointer; min-height: 48px; }
.btn:hover { background: #095a9c; }
.btn-sm { padding: 11px 16px; font-size: .95rem; min-height: 42px; }
.textlink { color: var(--white); font-weight: 600; text-underline-offset: 4px; }

/* header */
.top { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.top-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo img { width: 160px; height: auto; }
.top nav { display: none; margin-left: auto; }
.top nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.top nav a { color: #dbe6f3; text-decoration: none; font-size: .95rem; }
.top nav a:hover { color: var(--white); text-decoration: underline; }
.top .btn-sm { margin-left: auto; }
@media (min-width: 900px) { .top nav { display: block; } .top .btn-sm { margin-left: 8px; } .logo img { width: 190px; } }

/* hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 40px 0 56px; }
.hero-in { display: grid; gap: 32px; }
.eyebrow { color: #9fc9f2; font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.lede { font-size: 1.12rem; color: #dbe6f3; max-width: 38em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 8px; }
.hero .shot figcaption { color: #b9cbe0; }
@media (min-width: 1000px) { .hero { padding: 64px 0 80px; } .hero-in { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 48px; } }

/* screenshots */
.shot { margin: 0; }
.shot img { border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(16, 35, 63, .18); background: #eef2f7; }
.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.hero .shot img { border-color: #2b4a6e; }

/* outcomes */
.outcomes { background: var(--bg); padding: 56px 0; }
.grid3 { display: grid; gap: 20px; }
@media (min-width: 820px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; border-top: 4px solid var(--blue); }
.card p { color: var(--muted); }
.more { font-weight: 600; }

/* features */
.features { padding: 64px 0; }
.section-lede { color: var(--muted); max-width: 46em; font-size: 1.08rem; }
.feature { display: grid; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
.step { color: var(--blue); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .4em; }
.feature ul { padding-left: 1.1em; margin: 0; }
.feature li { margin-bottom: .55em; color: #2a3949; }
@media (min-width: 1000px) {
  .feature { grid-template-columns: 1fr 1.25fr; align-items: center; gap: 48px; }
  .feature.flip .f-copy { order: 2; }
  .feature-text { grid-template-columns: 1fr; }
  .feature-text .f-copy { max-width: 760px; }
}
.shot-pair { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: end; }
.shot.phone { max-width: 220px; margin: 0 auto; }
.shot.phone img { border: 8px solid #1b1f24; border-radius: 26px; }
@media (min-width: 600px) { .shot-pair { grid-template-columns: 1fr 180px; } .shot.phone { margin: 0; } }
.also-head { margin-top: 40px; font-size: 1.4rem; }
.mini figcaption { font-size: .95rem; color: var(--muted); }
.mini figcaption strong { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px 24px; }
@media (min-width: 720px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.checks li { padding-left: 28px; position: relative; color: #2a3949; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }

/* how a demo works */
.how { background: var(--bg); padding: 64px 0; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); margin: 0; }

/* faq */
.faq { padding: 64px 0; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 600; padding: 14px 32px 14px 0; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font-size: 1.4rem; color: var(--blue); }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); }

/* demo form */
.demo { background: var(--navy); color: var(--white); padding: 64px 0; }
.demo-in { display: grid; gap: 32px; }
.demo-copy p { color: #dbe6f3; font-size: 1.08rem; }
.demo-copy a { color: #9fd0ff; }
@media (min-width: 900px) { .demo-in { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.form { background: var(--white); color: var(--ink); border-radius: var(--r); padding: 24px; display: grid; gap: 16px; }
@media (min-width: 600px) { .form { grid-template-columns: 1fr 1fr; } .form .field:nth-child(6), .form .btn, .form .status { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.req, .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.field input, .field select { width: 100%; font: 16px/1.3 var(--font); padding: 12px; border: 1px solid #8a99ab; border-radius: 6px; background: var(--white); color: var(--ink); min-height: 48px; }
.field input[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.status { margin: 0; min-height: 1.6em; font-weight: 600; }
.status.err { color: #b3261e; }
.status.ok { color: #1b6e2f; }

/* footer: compact (v2, Mike: "shrink the footer text") */
.foot { background: #0b1a2f; color: #b9cbe0; padding: 18px 0; font-size: 13.5px; line-height: 1.5; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.foot img { width: 130px; height: auto; }
.foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.foot-list li { min-height: 24px; line-height: 24px; }
.foot a { color: #dbe6f3; display: inline-block; min-height: 24px; line-height: 24px; }


/* v3 hero: product composition (desktop screenshot + phone screenshot), no photos */
.hero-shot { position: relative; }
.hero-phone { display: none; }
@media (min-width: 700px) {
  .hero-shot { padding-right: 70px; }
  .hero-phone { display: block; position: absolute; right: 0; top: 18%; width: 150px; height: auto;
    border: 7px solid #0b1219 !important; border-radius: 22px !important; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
}

/* T3679: ComponentCRM family (InventoryCapture + BOMWise). One quiet section: two cards, no photos. */
.family { padding: 64px 0; border-top: 1px solid var(--line); }
.fam-grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 820px) { .fam-grid { grid-template-columns: 1.35fr 1fr; } }
.fam-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 20px; }
.fam-card h3 { font-size: 1.4rem; }
.fam-card p { color: #2a3949; }
.fam-card .muted { color: var(--muted); }
.fam-ic { grid-template-columns: 1fr; }
@media (min-width: 520px) { .fam-ic { grid-template-columns: 1fr 150px; align-items: center; } }
.shot.phone.fam-phone { max-width: 150px; margin: 0 auto; }
.fam-phone img { border-width: 6px; border-radius: 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 14px; }
.badges a { display: inline-block; }
.badges img { height: 46px; width: auto; }
.soon { display: inline-block; background: #e3eefa; color: var(--blue); border-radius: 999px; padding: 2px 10px; }
.btn-ghost { background: transparent; color: var(--blue); border: 2px solid var(--blue); padding: 13px 22px; }
.btn-ghost:hover { background: var(--blue); color: var(--white); }
.interest-note { margin: 0; padding: 10px 12px; background: #e3eefa; border-radius: 6px; font-size: .95rem; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; font: inherit; cursor: pointer; }
@media (min-width: 600px) { .form .interest-note { grid-column: 1 / -1; } }
@media (max-width: 400px) { .badges img { height: 40px; } }
.top nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1180px) { .top nav ul { gap: 14px; } .top nav a { font-size: .88rem; } .logo img { width: 160px; } }
