/* PacsWorks — "Enterprise clinical". Light, calm pages; the product UI is the imagery. */
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-var-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1b28;
  --text: #22313d;
  --muted: #5a6a76;
  --line: #e2e8ec;
  --line-strong: #cfd9df;
  --surface: #f4f7f9;
  --blue: #1463d8;        /* action colour, AA on white */
  --blue-hover: #0f52b8;
  --brand-blue: #1677ff;  /* brand accent */
  --cyan: #18c5d9;
  --midnight: #071622;
  --max: 1200px;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.06; letter-spacing: -.028em; }
h2 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.15; letter-spacing: -.02em; }
h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 720px; }

.container { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.section { padding: 112px 0; }
.section.tight { padding: 80px 0; }
.section.surface { background: var(--surface); }
.section-intro { max-width: 760px; margin-bottom: 56px; }
.section-intro h2 + p { margin-top: 18px; }
.section-intro p:last-child { margin-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 6px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-hover); }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { border-color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); }
.btn.ghost-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn.ghost-light:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.text-link { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(20,99,216,.3); }
.text-link:hover { border-bottom-color: var(--blue); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { height: 72px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 19px; letter-spacing: -.01em; }
.brand-mark { width: 22px; height: 22px; border: 2px solid currentColor; display: grid; place-items: center; flex: none; }
.brand-mark::after { content: ""; width: 10px; height: 10px; border: 2px solid var(--cyan); }
.logo-word { font-weight: 400; } .logo-word b { font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 15px; }
.main-nav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
.main-nav .btn { color: #fff; padding: 0 18px; min-height: 40px; box-shadow: none; }
.mobile-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 6px; width: 44px; height: 40px; color: var(--ink); font-size: 18px; }
.mobile-menu { display: none; }

/* Home hero */
.hero { padding: 96px 0 0; background: linear-gradient(#fff 0 58%, var(--surface) 58%); }
.hero h1 { max-width: 900px; }
.hero .lede { margin-top: 24px; }
.hero-shot { margin-top: 64px; padding-bottom: 96px; }

/* Product screenshots */
.shot { margin: 0; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: var(--midnight); box-shadow: 0 1px 2px rgba(11,27,40,.06), 0 28px 56px -28px rgba(11,27,40,.38); }
.shot img { width: 100%; height: auto; }
.shot-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* Standards strip */
.standards { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.standards div { padding: 22px 24px 0 0; }
.standards b { display: block; color: var(--ink); font-size: 17px; }
.standards span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 4px; }

/* Product rows on the home page */
.feature-row { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; padding: 72px 0; border-top: 1px solid var(--line); }
.section-intro + .feature-row { border-top: 0; padding-top: 0; }
.feature-row.reverse { grid-template-columns: 7fr 5fr; }
.feature-row.reverse > :first-child { order: 2; }
.feature-row h3 { font-size: 26px; letter-spacing: -.015em; line-height: 1.25; }
.feature-row .product-name { font-size: 15px; font-weight: 600; color: var(--blue); margin-bottom: 10px; }
.feature-row p { margin-top: 16px; }
.plain-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.plain-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }

.also { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 24px; }
.also a { display: block; text-decoration: none; padding-top: 22px; border-top: 2px solid var(--ink); }
.also h3 { font-size: 19px; }
.also p { color: var(--muted); font-size: 16px; margin: 8px 0 12px; }
.also span { color: var(--blue); font-weight: 600; font-size: 15px; }

/* Dark AI band */
.band-dark { background: var(--midnight); color: #c9d6de; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lede { color: #a9bac5; }
.ai-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tiles figure { margin: 0; }
.tiles img { border-radius: 6px; width: 100%; height: auto; }
.tiles figcaption { font-size: 14px; color: #a9bac5; margin-top: 10px; }
.tiles figcaption b { display: block; color: #fff; font-weight: 600; }
.fine { font-size: 14px; color: #8fa3af; margin-top: 24px; }

/* Columns with a rule on top */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cols.two { grid-template-columns: repeat(2, 1fr); gap: 32px 56px; }
.cols > div { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.cols h3 { margin-bottom: 10px; }
.cols p { color: var(--muted); font-size: 16px; margin: 0; }

/* Steps: used only where the content is a real sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: step; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps li::before { content: "Step " counter(step); display: block; font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; margin: 0; }

/* Closing call to action */
.closing { padding: 96px 0; background: var(--surface); border-top: 1px solid var(--line); }
.closing-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.closing h2 { max-width: 640px; }
.closing p { color: var(--muted); margin: 14px 0 0; max-width: 600px; }
.closing .actions { margin-top: 0; }

/* Inner page hero */
.page-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 8px; color: var(--line-strong); }
.page-hero h1 { max-width: 880px; }
.page-hero .lede { margin-top: 20px; }

.wide-shot { padding: 64px 0 0; }
.wide-shot + .section { padding-top: 96px; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 16px 0; border-top: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 1px solid var(--line); }
.spec-table th { width: 220px; color: var(--muted); font-weight: 500; padding-right: 24px; }
.split { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; }

/* Lists of pages (products / solutions overview) */
.index-list { border-top: 1px solid var(--line); }
.index-list a { display: grid; grid-template-columns: 4fr 7fr auto; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.index-list a:hover h3 { color: var(--blue); }
.index-list p { margin: 0; color: var(--muted); }
.index-list span { color: var(--blue); font-weight: 600; font-size: 15px; white-space: nowrap; }

/* Archive tiers + deployment matrix (products without a UI screen) */
.diagram { background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 40px; }
.tier { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 16px; margin-bottom: 14px; }
.tier b { color: var(--ink); }
.tier div { height: 56px; border-radius: 4px; display: flex; align-items: center; padding: 0 18px; color: #fff; font-size: 15px; }
.tier:nth-child(1) div { background: var(--midnight); }
.tier:nth-child(2) div { background: #24506b; width: 82%; }
.tier:nth-child(3) div { background: #6f8c9c; width: 64%; }
.diagram .note { margin: 24px 0 0; padding-top: 18px; border-top: 1px dashed var(--line-strong); font-size: 15px; color: var(--muted); }
.matrix { width: 100%; border-collapse: collapse; font-size: 16px; }
.matrix th { text-align: center; padding: 12px; border-bottom: 2px solid var(--ink); color: var(--ink); }
.matrix th:first-child, .matrix td:first-child { text-align: left; }
.matrix td { text-align: center; padding: 16px 12px; border-bottom: 1px solid var(--line); }
.matrix .site { color: var(--ink); font-weight: 600; }
.matrix .cloud { color: var(--blue); font-weight: 600; }

/* Region facts */
.facts { border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts b { color: var(--ink); font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.contact-aside p { color: var(--muted); }
.contact-aside .direct { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-aside .direct b { display: block; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 32px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; padding: 12px 14px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field textarea { min-height: 140px; resize: vertical; }
.alert { display: none; margin-top: 14px; font-size: 15px; color: var(--ink); }
.alert.show { display: block; }
/* Honeypot: off-screen for people, still in the DOM for bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--midnight); color: #a9bac5; padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.footer-addr { font-style: normal; margin-top: 14px; max-width: 320px; font-size: 14px; line-height: 1.55; }
.footer-addr a { color: #a9bac5; }
.footer-addr a:hover { color: #fff; }
.footer-col strong { display: block; color: #fff; font-weight: 600; margin-bottom: 14px; }
.footer-col a { display: block; text-decoration: none; padding: 4px 0; color: #a9bac5; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #1a3347; font-size: 14px; color: #7f93a1; }

/* ---------- Long-form pages: prose, infographics, FAQ, pricing, legal ---------- */
.prose p { color: var(--text); }
.prose p + p { margin-top: 0; }
.container > .feature-row:first-child { border-top: 0; padding-top: 0; }
.cols.four { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Architecture flow: columns joined by arrows */
.flow { margin: 0; }
.flow-cols { display: flex; align-items: stretch; }
.flow-col { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.flow-col.pw { background: #eef4fd; border-color: rgba(20,99,216,.45); }
.flow-h { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: none; margin-bottom: 2px; }
.flow-col.pw .flow-h { color: var(--blue); }
.flow-node { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.flow-col:not(.pw) .flow-node { background: var(--surface); }
.flow-node .ico { color: var(--blue); margin-top: 1px; }
.flow-node b { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.flow-node small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.flow-arrow { flex: 0 0 44px; display: flex; align-items: center; justify-content: center; color: var(--line-strong); }
.flow-arrow svg { width: 32px; height: 14px; fill: none; stroke: #7f93a1; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow figcaption { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* Journey: a real sequence on a track */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 28px; position: relative; }
.journey::before { content: ""; position: absolute; top: 7px; left: 8px; right: 8px; height: 2px; background: var(--line-strong); }
.journey li { position: relative; padding-top: 34px; }
.journey li::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-sizing: border-box; }
.journey li:last-child::before { background: var(--blue); }
.j-who { display: block; font-size: 13px; font-weight: 600; color: var(--blue); margin-bottom: 6px; }
.journey h3 { font-size: 19px; margin-bottom: 8px; }
.journey code { display: inline-block; font: 500 12.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); background: #e8eff6; border-radius: 4px; padding: 3px 7px; margin-bottom: 8px; }
.journey p { font-size: 15.5px; color: var(--muted); margin: 0; }
.section.surface .journey li::before { background: var(--surface); }
.section.surface .journey li:last-child::before { background: var(--blue); }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; color: var(--ink); font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: -4px 0 22px; max-width: 720px; }

/* Tablet + phone pair */
.devices { margin: 0; position: relative; padding: 0 0 28px; }
.devices img { height: auto; box-shadow: 0 28px 56px -28px rgba(11,27,40,.45); }
.devices img:first-child { width: 86%; border: 10px solid #0b1620; border-radius: 22px; }
.devices img:last-child { position: absolute; right: 0; bottom: 0; width: 25%; border: 6px solid #0b1620; border-radius: 24px; }

/* Deployment models as zones */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.model { background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.model h3 { margin-bottom: 4px; }
.zone { border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; flex-wrap: wrap; gap: 8px; background: var(--surface); }
.zone.cloud { background: #eef4fd; border-color: rgba(20,99,216,.4); }
.zone.empty { background: #fff; border-style: dashed; }
.zone-h { flex-basis: 100%; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.zone.cloud .zone-h { color: var(--blue); }
.zone-h .ico { width: 18px; height: 18px; }
.chip-c { font-size: 14px; padding: 6px 10px; border-radius: 5px; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); line-height: 1.3; }
.chip-c.fixed { color: var(--muted); }
.zone.cloud .chip-c { border-color: rgba(20,99,216,.35); }
.chip-c.either { border-style: dashed; }
.chip-c em { font-style: normal; color: var(--muted); font-size: 12.5px; }
.zone .none { font-size: 14px; color: var(--muted); }

/* Per-model detail */
.detail { display: grid; grid-template-columns: 5fr 4fr 4fr; gap: 48px; padding: 48px 0; border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail h2 { font-size: 28px; margin-bottom: 14px; }
.detail h3 { font-size: 15px; color: var(--muted); font-weight: 600; }
.detail p { color: var(--muted); }
.detail .plain-list { margin: 10px 0 0; }

/* Responsibility matrix and product fit */
.matrix.resp td, .matrix.fit td { padding: 12px; }
.who { display: inline-block; font-size: 13.5px; font-weight: 600; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.who.you { background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); }
.who.pw { background: var(--blue); color: #fff; }
.who.shared { background: #e3edfb; color: var(--blue-hover); }
.matrix a { color: inherit; text-decoration: none; }
.matrix a:hover { color: var(--blue); }
.fit-dot { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 4px; }
.fit-dot.core { background: var(--blue); color: #fff; }
.fit-dot.opt { color: var(--muted); border: 1px dashed var(--line-strong); }

/* Standards badges and system tiles */
.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.badge { border: 1px solid var(--line-strong); border-radius: 10px; padding: 24px 20px; background: #fff; display: flex; flex-direction: column; gap: 6px; }
.badge svg { width: 48px; height: 48px; fill: none; stroke: var(--midnight); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 12px; }
.badge svg .fill { fill: var(--cyan); stroke: var(--midnight); }
.badge b { font-size: 22px; color: var(--ink); letter-spacing: -.01em; }
.badge span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.tm-note { margin-top: 20px; font-size: 13px; color: var(--muted); max-width: 900px; }
.systems { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.systems > div { background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 22px; }
.systems .ico { width: 30px; height: 30px; color: var(--blue); margin-bottom: 14px; }
.systems h3 { font-size: 18px; margin-bottom: 6px; }
.systems p { font-size: 15px; color: var(--muted); margin: 0; }

/* Three-column spec table and standards groups */
.spec-table thead th { font-size: 13px; color: var(--muted); font-weight: 600; padding-top: 0; border-top: 0; }
.spec-table.three th { width: 200px; color: var(--ink); font-weight: 600; }
.spec-table.three thead th { color: var(--muted); }
.spec-table.three td { padding-right: 24px; }
.spec-table td.body { width: 210px; color: var(--muted); font-size: 15px; }
.std-groups { display: grid; gap: 48px; }
.std-group h3 { margin-bottom: 14px; }
.std-group .spec-table { background: #fff; }
.std-group .spec-table th, .std-group .spec-table td { padding-left: 16px; }
.disclaimer-note { margin-top: 32px; padding: 18px 20px; border-left: 3px solid var(--blue); background: #fff; font-size: 15px; color: var(--text); max-width: 900px; }
.section:not(.surface) .disclaimer-note { background: var(--surface); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { border: 1px solid var(--line-strong); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; background: #fff; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: 0 28px 56px -32px rgba(20,99,216,.45); }
.price-card .for { color: var(--muted); font-size: 15px; margin: 6px 0 20px; }
.price b { font-size: 44px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.price span { color: var(--muted); margin-left: 6px; }
.price-card .aed { color: var(--muted); font-size: 15px; margin: 2px 0 0; }
.price-card .min { font-size: 15px; font-weight: 600; color: var(--ink); margin: 14px 0 0; }
.price-card .plain-list { flex: 1; }
.price-card .btn { align-self: flex-start; }

/* Legal */
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--text); max-width: 720px; }
.updated { font-size: 15px; color: var(--muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a { color: #a9bac5; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 960px) {
  .flow-cols { flex-direction: column; }
  .flow-arrow { flex-basis: 40px; }
  .flow-arrow svg { transform: rotate(90deg); }
  .journey { grid-template-columns: 1fr; gap: 26px; }
  .journey::before { top: 8px; bottom: 8px; left: 7px; right: auto; width: 2px; height: auto; }
  .journey li { padding: 0 0 0 36px; }
  .models, .pricing { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; gap: 24px; }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .systems, .cols.four { grid-template-columns: 1fr 1fr; }
  .matrix.resp, .matrix.fit { font-size: 14px; }
}
@media (max-width: 640px) {
  .badges { grid-template-columns: 1fr 1fr; }
  .systems, .cols.four { grid-template-columns: 1fr; }
  .diagram { overflow-x: auto; }
  .matrix.resp th, .matrix.resp td, .matrix.fit th, .matrix.fit td { padding: 10px 6px; }
  .who, .fit-dot { padding: 3px 6px; font-size: 12px; white-space: normal; }
  .spec-table.three thead { display: none; }
  .spec-table.three tr { display: grid; grid-template-columns: 1fr; padding: 14px 0; border-top: 1px solid var(--line); }
  .spec-table.three th, .spec-table.three td { border: 0; padding: 2px 0; width: auto; }
  .std-group .spec-table th, .std-group .spec-table td { padding-left: 14px; padding-right: 14px; }
  .faq summary { font-size: 17px; }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu.open { display: grid; padding: 8px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
  .mobile-menu a { padding: 12px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .hero { padding-top: 64px; }
  .hero-shot { margin-top: 40px; padding-bottom: 64px; }
  .feature-row, .ai-grid, .split, .contact-grid, .closing-inner { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse > :first-child { order: 0; }
  .feature-row { padding: 56px 0; }
  .standards { grid-template-columns: repeat(2, 1fr); }
  .cols, .also, .steps, .steps.three { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cols, .cols.two, .also, .steps, .steps.three, .standards { grid-template-columns: 1fr; }
  .index-list a { grid-template-columns: 1fr; gap: 8px; }
  .form-grid { grid-template-columns: 1fr; padding: 22px; }
  .tier { grid-template-columns: 90px 1fr; }
  .diagram { padding: 22px; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .spec-table th { width: 120px; }
  .footer-bottom { flex-direction: column; }
}
.feature-row + .shot-note { margin-top: -40px; }
.office { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.office-photo { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 28px 56px -28px rgba(11,27,40,.38); }
.office-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 55%; }
@media (max-width: 960px) { .office { grid-template-columns: 1fr; gap: 36px; } }
