:root {
  --ink: #0b1f35;
  --ink-soft: #17324d;
  --slate: #526477;
  --steel: #66798a;
  --mist: #edf3f6;
  --stone: #dce6eb;
  --paper: #f7fafb;
  --white: #ffffff;
  --accent: #167d88;
  --accent-dark: #0f5d73;
  --success: #35735d;
  --error: #9a343f;
  --line: #cfdae0;
  --radius-control: 10px;
  --radius-button: 11px;
  --radius-card: 20px;
  --radius-panel: 26px;
  --radius: var(--radius-card);
  --shell: 1220px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.modal-open, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--accent-dark); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 96px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 16px; background: var(--ink); color: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 680; line-height: 1.12; letter-spacing: -.03em; }
h1 { max-width: 14ch; font-size: clamp(2.75rem, 5.2vw, 4.35rem); }
h1 span { display: block; color: var(--accent-dark); }
h2 { max-width: 20ch; font-size: clamp(2.15rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0; }
.eyebrow { margin-bottom: 18px; color: var(--accent-dark); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow.light { color: #dbe5e8; }
.section-intro { max-width: 720px; margin-bottom: 48px; }
.section-intro > p:last-child { max-width: 65ch; margin-top: 22px; color: var(--slate); }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(247, 250, 251, .9); border-bottom: 1px solid rgba(207, 218, 224, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 750; line-height: 1.15; }
.brand img { width: 42px; height: 42px; }
.brand small { display: block; margin-top: 4px; color: var(--slate); font-size: .66rem; font-weight: 550; letter-spacing: .015em; }
#site-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
#site-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-soft); text-decoration: none; font-size: .81rem; font-weight: 650; }
#site-nav a::after { content: ""; position: absolute; right: 0; bottom: 7px; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
#site-nav a:hover, #site-nav a:focus-visible, #site-nav a[aria-current="location"] { color: var(--accent-dark); }
#site-nav a:hover::after, #site-nav a:focus-visible::after, #site-nav a[aria-current="location"]::after { transform: scaleX(1); }
.nav-mobile-cta { display: none !important; }
.menu-button { display: none; width: 46px; height: 46px; margin-left: auto; padding: 11px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--white); cursor: pointer; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: opacity .18s ease, transform .18s ease; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; border: 1px solid var(--accent-dark); border-radius: var(--radius-button); background: var(--accent-dark); color: var(--white); font-size: .9rem; font-weight: 720; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.button:hover { border-color: var(--ink); background: var(--ink); color: var(--white); transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: .65; }
.button-small { min-height: 42px; padding: 10px 16px; font-size: .8rem; }
.secondary-button { background: transparent; color: var(--accent-dark); }
.light-button { border-color: var(--white); background: var(--white); color: var(--accent-dark); }
.light-button:hover { border-color: var(--white); background: transparent; color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration-thickness: 1px; }
.light-link { color: var(--white); }
.light-link:hover { color: #dbe5e8; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }

.hero { padding: 96px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; }
.hero-copy { grid-column: span 7; padding-right: 24px; }
.hero-copy .hero-lead { max-width: 58ch; margin-top: 28px; color: var(--ink-soft); font-size: 1.16rem; }
.hero-copy > p:not(.eyebrow):not(.hero-lead):not(.trust-line) { max-width: 64ch; margin-top: 17px; color: var(--slate); }
.trust-principles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: 620px; margin: 32px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.trust-principles li { position: relative; padding-left: 21px; color: var(--slate); font-size: .8rem; font-weight: 650; }
.trust-principles li::before { content: ""; position: absolute; top: .48em; left: 1px; width: 7px; height: 4px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); transform: rotate(-45deg); }
.systems-visual { position: relative; grid-column: span 5; width: 100%; max-width: 490px; justify-self: end; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--white); box-shadow: 0 18px 48px rgba(11, 31, 53, .09); }
.systems-visual__header { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.systems-visual__header span { color: var(--ink); font-size: .78rem; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; }
.systems-visual__header small { color: var(--slate); font-size: .68rem; }
.systems-map { position: relative; min-height: 390px; background: var(--paper); }
.systems-map__paths { position: absolute; inset: 15px; width: calc(100% - 30px); height: calc(100% - 30px); overflow: visible; }
.systems-map__paths path { fill: none; stroke: #7ba8b3; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 5 8; animation: system-flow 16s linear infinite; }
@keyframes system-flow { to { stroke-dashoffset: -52; } }
.system-node, .systems-core { position: absolute; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); background: var(--white); }
.system-node { width: 142px; min-height: 78px; padding: 12px 14px; border-radius: 14px; box-shadow: 0 8px 20px rgba(11, 31, 53, .05); }
.system-node > span { color: var(--accent); font-size: .62rem; font-weight: 800; letter-spacing: .08em; }
.system-node strong { margin-top: 3px; color: var(--ink); font-size: .8rem; }
.system-node small { margin-top: 2px; color: var(--slate); font-size: .66rem; }
.system-node--inputs { top: 24px; left: 20px; }
.system-node--orchestration { top: 24px; right: 20px; }
.system-node--systems { bottom: 24px; left: 20px; }
.system-node--control { right: 20px; bottom: 24px; }
.systems-core { top: 50%; left: 50%; width: 148px; min-height: 116px; align-items: center; padding: 16px; border-color: #98b9c2; border-radius: 22px; text-align: center; transform: translate(-50%, -50%); box-shadow: 0 12px 30px rgba(15, 93, 115, .12); }
.systems-core img { width: 46px; height: 46px; }
.systems-core strong { margin-top: 7px; color: var(--ink); font-size: .76rem; }
.systems-core span { color: var(--slate); font-size: .62rem; }
.systems-visual__note { padding: 13px 20px; border-top: 1px solid var(--line); color: var(--slate); font-size: .67rem; font-weight: 650; letter-spacing: .02em; text-align: center; }

.problem-strip { padding: 64px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.problem-strip h2 { max-width: 780px; font-size: clamp(1.8rem, 3vw, 2.35rem); }
.problem-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 42px; border-block: 1px solid var(--line); }
.problem-columns article { min-height: 176px; padding: 32px; transition: background-color .18s ease; }
.problem-columns article:first-child { padding-left: 0; }
.problem-columns article + article { border-left: 1px solid var(--line); }
.problem-columns article:hover { background: var(--paper); }
.problem-columns h3 { font-size: 1.1rem; }
.problem-columns p { max-width: 38ch; margin-top: 12px; color: var(--slate); font-size: .94rem; }
.strip-conclusion { margin-top: 25px; color: var(--accent-dark); font-weight: 700; }

.journey-section { background: var(--paper); }
.journey-band { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--line); }
.journey-band li { position: relative; min-width: 0; padding: 32px 20px; }
.journey-band li + li { border-left: 1px solid var(--line); }
.journey-band li:not(:last-child)::after { content: "→"; position: absolute; z-index: 1; top: 30px; right: -10px; width: 20px; background: var(--paper); color: var(--steel); text-align: center; }
.journey-band h3 { font-size: 1.12rem; }
.journey-band p { margin-top: 13px; color: var(--ink-soft); font-size: .88rem; line-height: 1.5; }
.journey-band small { display: block; margin-top: 18px; color: var(--slate); font-size: .73rem; line-height: 1.5; }

.packages-section { background: var(--white); border-block: 1px solid var(--line); }
.package-list { counter-reset: packages; border-top: 1px solid var(--ink-soft); }
.package-row { position: relative; display: grid; grid-template-columns: 1.45fr 1.05fr .9fr; gap: 40px; align-items: start; margin-inline: -24px; padding: 40px 24px 40px 76px; border-bottom: 1px solid var(--line); counter-increment: packages; transition: background-color .18s ease; }
.package-row:hover { background: var(--paper); }
.package-row::before { content: "0" counter(packages); position: absolute; top: 44px; left: 24px; color: var(--accent); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.package-row h3 { max-width: 25ch; min-height: 2.3em; }
.package-row p { margin-top: 14px; color: var(--slate); font-size: .92rem; }
.package-row strong { color: var(--ink-soft); }
.package-row ul { margin: 2px 0 0; padding: 0; list-style: none; }
.package-row li { position: relative; padding: 8px 0 8px 20px; color: var(--ink-soft); font-size: .88rem; }
.package-row li::before { content: ""; position: absolute; top: 18px; left: 0; width: 7px; height: 1px; background: var(--accent); }
.package-result { padding-left: 28px; border-left: 1px solid var(--line); }
.package-result p { margin: 0 0 22px; }
.package-note { max-width: 1000px; margin-top: 30px; color: var(--slate); font-size: .78rem; line-height: 1.6; }

.audit-proposition { padding: 96px 0; background: var(--ink); color: #edf4f7; }
.audit-proposition h2, .commitment-panel h2 { color: var(--white); }
.editorial-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 92px; align-items: start; }
.audit-proposition .editorial-split > div:last-child > p { max-width: 60ch; font-size: 1.05rem; }
.audit-outputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 30px 0; padding: 1px; background: rgba(255,255,255,.22); list-style: none; }
.audit-outputs li { min-height: 108px; padding: 22px; background: var(--ink); font-size: .88rem; font-weight: 650; }

.process-section { background: var(--paper); }
.process-detail { min-width: 0; }
.delivery-timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink-soft); }
.delivery-timeline li { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.delivery-timeline li:not(:last-child)::after { content: ""; position: absolute; top: 47px; bottom: -2px; left: 15px; width: 1px; background: var(--stone); }
.stage-number { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #9cb7c0; border-radius: 50%; background: var(--paper); color: var(--accent-dark); font-size: .62rem; font-weight: 800; }
.delivery-timeline h3 { font-size: 1.08rem; }
.delivery-timeline p { max-width: 48ch; margin-top: 6px; color: var(--slate); font-size: .88rem; }
.stage-time { padding-top: 3px; color: var(--accent-dark); font-size: .71rem; font-weight: 720; white-space: nowrap; }
.commercial-track { margin-top: 48px; }
.commercial-track > h3 { font-size: 1rem; }
.commercial-track ol { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 18px 0 0; padding: 1px; background: var(--line); list-style: none; }
.commercial-track li { min-height: 108px; padding: 20px; background: var(--white); }
.commercial-track strong, .commercial-track span { display: block; }
.commercial-track strong { color: var(--ink); font-size: .82rem; }
.commercial-track span { margin-top: 6px; color: var(--slate); font-size: .74rem; line-height: 1.45; }

.commitment-section { padding-top: 0; background: var(--paper); }
.commitment-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: 64px; border-radius: var(--radius-panel); background: var(--ink); color: #edf4f7; box-shadow: 0 22px 50px rgba(11, 31, 53, .12); }
.commitment-panel p { max-width: 62ch; }
.commitment-panel div:last-child p + p { margin-top: 18px; }
.commitment-panel .text-link { margin-top: 18px; }

.controls-section { background: var(--white); border-block: 1px solid var(--line); }
.controls-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.controls-layout > div > p:not(.eyebrow):not(.policy-links) { max-width: 62ch; margin-top: 22px; color: var(--slate); }
.policy-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; font-size: .85rem; font-weight: 650; }
.control-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink-soft); }
.control-list li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; min-height: 70px; padding: 16px 8px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; font-weight: 650; }
.control-list li span { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }

.faq-section { background: var(--paper); }
.faq-list { border-top: 1px solid var(--ink-soft); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 4px; color: var(--ink); font-weight: 680; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 1.25rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 62ch; padding: 0 4px 22px; color: var(--slate); font-size: .92rem; }

.conversion-section { background: var(--mist); }
.conversion-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 84px; align-items: start; }
.conversion-copy { position: sticky; top: 112px; }
.conversion-copy > p:not(.eyebrow) { max-width: 48ch; margin-top: 22px; color: var(--slate); }
.conversion-copy dl { margin-top: 36px; }
.conversion-copy dl div { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.conversion-copy dt { color: var(--slate); font-size: .8rem; font-weight: 700; }
.conversion-copy dd { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.enquiry-form { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); box-shadow: 0 14px 38px rgba(11, 31, 53, .06); }
.form-heading { margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-heading h3 { font-size: 1.3rem; }
.form-heading p { margin-top: 5px; color: var(--slate); font-size: .8rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: .82rem; font-weight: 700; }
.optional { color: var(--slate); font-weight: 500; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #aebfc8; border-radius: var(--radius-control); background: var(--white); color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease; }
.field textarea { min-height: 98px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-dark); outline: 0; box-shadow: 0 0 0 3px #d8e9ed; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 1.2em; margin-top: 5px; color: var(--error); font-size: .76rem; }
.consent-field { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-top: 4px; }
.consent-field input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--accent-dark); }
.consent-field label { margin: 0; font-weight: 500; line-height: 1.5; }
.consent-field .field-error { grid-column: 2; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.error-summary { margin-bottom: 22px; padding: 16px 18px; border-left: 4px solid var(--error); background: #f7ecec; }
.error-summary h3, .error-summary h4 { font-size: 1rem; }
.error-summary ul { margin: 8px 0 0; padding-left: 20px; font-size: .82rem; }
.submit-button { min-width: 210px; }
.form-status { min-height: 1.5em; margin-top: 13px; color: var(--success); font-size: .84rem; font-weight: 650; }
.form-status.error { color: var(--error); }

footer { padding: 54px 0 24px; background: var(--ink); color: #dce1e3; }
.footer-top { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 40px; align-items: center; padding-bottom: 40px; }
.brand.inverse { color: var(--white); }
.brand.inverse small { color: #abb6ba; }
.footer-top p { max-width: 50ch; color: #bdc7ca; font-size: .87rem; }
.footer-top > a:last-child { color: var(--white); font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 23px; border-top: 1px solid #505a60; color: #aeb8bc; font-size: .76rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: #dce1e3; }

.quote-modal { position: fixed; z-index: 900; inset: 0; display: grid; justify-items: end; }
.quote-modal[hidden] { display: none; }
.quote-modal__backdrop { position: absolute; inset: 0; background: rgba(34, 40, 45, .68); }
.quote-dialog { position: relative; z-index: 1; width: min(680px, calc(100% - 24px)); height: 100%; overflow-y: auto; padding: 34px; background: var(--paper); box-shadow: -12px 0 36px rgba(34, 40, 45, .18); }
.quote-dialog__header { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.quote-dialog__header h2 { font-size: 2rem; }
.quote-dialog__header p:last-child { margin-top: 8px; color: var(--accent-dark); font-weight: 700; }
.icon-button { flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font-size: 1.6rem; cursor: pointer; }
.quote-form { padding: 26px; }

.chat-toggle { position: fixed; z-index: 700; right: 24px; bottom: 24px; width: 58px; height: 58px; display: grid; place-items: center; padding: 0; border: 1px solid #294b68; border-radius: 18px; background: var(--ink); color: var(--white); cursor: pointer; box-shadow: 0 12px 28px rgba(11,31,53,.22); transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.chat-toggle:hover { background: #102c49; transform: translateY(-2px); box-shadow: 0 15px 34px rgba(11,31,53,.26); }
.chat-toggle__icon { position: absolute; width: 30px; height: 30px; display: grid; place-items: center; transition: opacity .18s ease, transform .18s ease; }
.chat-toggle__icon svg, .chat-identity__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.chat-toggle__icon--close { width: 25px; height: 25px; opacity: 0; transform: scale(.75) rotate(-12deg); }
.chat-toggle[aria-expanded="true"] .chat-toggle__icon--network { opacity: 0; transform: scale(.75) rotate(12deg); }
.chat-toggle[aria-expanded="true"] .chat-toggle__icon--close { opacity: 1; transform: scale(1) rotate(0); }
.chat-toggle__tooltip { position: absolute; right: 70px; width: max-content; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font-size: .7rem; font-weight: 700; box-shadow: 0 8px 22px rgba(11,31,53,.1); opacity: 0; pointer-events: none; transform: translateX(5px); transition: opacity .18s ease, transform .18s ease; }
.chat-toggle:hover .chat-toggle__tooltip, .chat-toggle:focus-visible .chat-toggle__tooltip { opacity: 1; transform: translateX(0); }
.chat-toggle.is-attention::after { content: ""; position: absolute; inset: -2px; border: 2px solid rgba(22,125,136,.7); border-radius: 20px; animation: assistant-attention 1.3s ease-out 1; pointer-events: none; }
.chat-toggle.is-attention .chat-toggle__icon--network { animation: assistant-lift 1.3s ease-in-out 1; }
@keyframes assistant-attention { 0%, 15% { opacity: 0; transform: scale(.92); } 40% { opacity: .75; } 100% { opacity: 0; transform: scale(1.32); } }
@keyframes assistant-lift { 0%, 100% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-3px) rotate(-5deg); } 68% { transform: translateY(-1px) rotate(4deg); } }
.chat-panel { position: fixed; z-index: 710; right: 24px; bottom: 94px; width: min(410px, calc(100vw - 32px)); max-height: min(660px, calc(100vh - 124px)); max-height: min(660px, calc(100dvh - 124px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #bdccd4; border-radius: 22px; background: var(--white); box-shadow: 0 24px 64px rgba(11,31,53,.22); animation: chat-panel-in .2s ease-out 1; }
@keyframes chat-panel-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.chat-panel[hidden] { display: none; }
.chat-panel__header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px; border-bottom: 1px solid #29445f; background: var(--ink); color: var(--white); }
.chat-identity { display: flex; align-items: center; gap: 12px; }
.chat-identity__icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; padding: 8px; border: 1px solid #527187; border-radius: 12px; background: #102f4a; color: var(--white); }
.chat-panel__header h2 { color: var(--white); font-size: 1rem; letter-spacing: -.015em; }
.chat-panel__header p { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: #c9d6dd; font-size: .7rem; }
.chat-presence { width: 7px; height: 7px; border-radius: 50%; background: #54b89a; box-shadow: 0 0 0 3px rgba(84,184,154,.14); }
.chat-panel__close { flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #537086; border-radius: 10px; background: transparent; color: var(--white); font-size: 1.35rem; cursor: pointer; transition: background-color .18s ease; }
.chat-panel__close:hover { background: rgba(255,255,255,.08); }
.chat-messages { flex: 1; min-height: 190px; margin: 0; padding: 20px; overflow-y: auto; overscroll-behavior: contain; list-style: none; background: #f8fafb; }
.chat-message { display: flex; margin-bottom: 12px; }
.chat-message--user { justify-content: flex-end; }
.chat-message__bubble { max-width: 88%; padding: 11px 13px; border: 1px solid #d7e2e7; border-radius: 8px 15px 15px 15px; background: var(--white); color: var(--ink-soft); font-size: .82rem; line-height: 1.5; white-space: pre-wrap; box-shadow: 0 3px 12px rgba(11,31,53,.035); }
.chat-message--user .chat-message__bubble { border-color: var(--ink); border-radius: 15px 8px 15px 15px; background: var(--ink); color: var(--white); box-shadow: none; }
.chat-message--error .chat-message__bubble { border-color: #e6c3c7; background: #faeff0; color: var(--error); }
.chat-quick-replies { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--white); }
.chat-quick-replies[hidden] { display: none; }
.chat-quick-replies button, .chat-quick-replies a { min-height: 36px; display: inline-flex; align-items: center; padding: 7px 10px; border: 1px solid #b8cbd3; border-radius: 9px; background: var(--white); color: var(--ink-soft); font-size: .69rem; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.chat-quick-replies button:hover, .chat-quick-replies a:hover { border-color: var(--accent-dark); background: var(--mist); color: var(--accent-dark); }
.chat-form { display: grid; grid-template-columns: 1fr 44px; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--white); }
.chat-form input { min-width: 0; min-height: 46px; padding: 10px 12px; border: 1px solid #aebfc8; border-radius: var(--radius-control); color: var(--ink); }
.chat-form input:focus { border-color: var(--accent-dark); outline: 0; box-shadow: 0 0 0 3px #d8e9ed; }
.chat-form button { width: 44px; height: 46px; display: grid; place-items: center; padding: 0; border: 1px solid var(--accent-dark); border-radius: var(--radius-control); background: var(--accent-dark); color: var(--white); cursor: pointer; }
.chat-form button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chat-form button:disabled, .chat-form input:disabled { cursor: wait; opacity: .58; }
.chat-status { min-height: 1.15em; padding: 0 20px; color: var(--slate); font-size: .68rem; }
.chat-status[data-state="pending"]::before { content: ""; width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--accent); animation: status-pulse 1.1s ease-in-out infinite; }
@keyframes status-pulse { 50% { opacity: .35; } }
.chat-panel__footer { padding: 10px 20px 18px; background: var(--white); }
.chat-audit-button { min-height: 40px; padding: 8px 12px; border: 1px solid var(--accent-dark); border-radius: 9px; background: var(--white); color: var(--accent-dark); font-size: .72rem; font-weight: 720; cursor: pointer; }
.chat-audit-button:hover { background: var(--mist); }
.chat-panel__footer p { margin-top: 10px; color: var(--slate); font-size: .63rem; line-height: 1.45; }

.subpage { background: var(--paper); }
.subpage .site-header { position: static; }
.sub-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); background: var(--mist); }
.sub-hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
.back-link { display: inline-block; margin-top: 23px; font-size: .86rem; font-weight: 650; }
.legal-copy { max-width: 820px; padding-top: 56px; padding-bottom: 90px; }
.legal-copy h2 { margin: 38px 0 13px; font-size: 1.55rem; }
.legal-copy p, .legal-copy li { color: var(--ink-soft); }
.legal-copy ul { padding-left: 22px; }
.policy-note { padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--mist); font-size: .84rem; }
.thank-you .legal-copy { min-height: 42vh; }
.error-code { color: var(--accent-dark); font-size: 1rem; font-weight: 750; }
.thank-you-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 1120px) {
  .header-cta { display: none; }
  .menu-button { display: block; }
  #site-nav { position: fixed; z-index: 90; top: 77px; right: 0; left: 0; display: grid; margin: 0; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 30px rgba(11,31,53,.08); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-10px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  #site-nav.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  #site-nav a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  #site-nav a::after { display: none; }
  #site-nav .nav-mobile-cta { min-height: 46px; display: inline-flex !important; justify-content: center; margin-top: 12px; padding: 10px 16px; border: 1px solid var(--accent-dark); border-radius: var(--radius-button); background: var(--accent-dark); color: var(--white); }
  .hero-copy { grid-column: span 7; }
  .systems-visual { grid-column: span 5; }
  .journey-band { grid-template-columns: repeat(3, 1fr); }
  .journey-band li:nth-child(4) { border-left: 0; border-top: 1px solid var(--line); }
  .journey-band li:nth-child(5), .journey-band li:nth-child(6) { border-top: 1px solid var(--line); }
  .journey-band li:nth-child(3)::after { display: none; }
  .package-row { grid-template-columns: 1.25fr 1fr; }
  .package-result { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 20px 0 0; border-top: 1px solid var(--mist); border-left: 0; }
  .package-result p { max-width: 55ch; margin: 0; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding: 78px 0; }
  .hero { padding: 76px 0; }
  .hero-layout, .editorial-split, .controls-layout, .conversion-layout, .commitment-panel { grid-template-columns: 1fr; }
  .hero-copy, .systems-visual { grid-column: auto; }
  .hero-copy { padding-right: 0; }
  .systems-visual { width: 100%; max-width: none; margin-top: 18px; justify-self: stretch; }
  .problem-columns { grid-template-columns: 1fr; }
  .problem-columns article, .problem-columns article + article { min-height: 0; padding: 24px 0; border-left: 0; }
  .problem-columns article + article { border-top: 1px solid var(--line); }
  .problem-columns p { max-width: 62ch; }
  .editorial-split, .controls-layout, .conversion-layout { gap: 48px; }
  .audit-outputs { grid-template-columns: 1fr; }
  .audit-outputs li { min-height: 0; }
  .commitment-panel { gap: 32px; padding: 42px 30px; }
  .conversion-copy { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 620px) {
  body.chat-open { overflow: hidden; }
  h1 { font-size: clamp(2.35rem, 12vw, 3rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.35rem); }
  .nav-wrap { min-height: 70px; }
  .brand small { display: none; }
  #site-nav { top: 71px; }
  .hero { padding: 62px 0; }
  .button-row { align-items: stretch; }
  .button-row .button { width: 100%; }
  .trust-principles { grid-template-columns: 1fr; gap: 9px; }
  .systems-map { min-height: 370px; }
  .system-node { width: 116px; min-height: 72px; padding: 10px 11px; }
  .system-node--inputs, .system-node--systems { left: 12px; }
  .system-node--orchestration, .system-node--control { right: 12px; }
  .systems-core { width: 128px; min-height: 106px; padding: 12px; }
  .systems-visual__header { display: block; }
  .systems-visual__header small { display: block; margin-top: 3px; }
  .problem-strip { padding: 58px 0; }
  .journey-band { position: relative; display: block; padding-left: 22px; border-block: 0; }
  .journey-band::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 5px; width: 1px; background: var(--stone); }
  .journey-band li, .journey-band li:nth-child(4), .journey-band li:nth-child(5), .journey-band li:nth-child(6) { padding: 0 0 30px 20px; border: 0; }
  .journey-band li::before { content: ""; position: absolute; top: 5px; left: -21px; width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 50%; background: var(--paper); }
  .journey-band li::after { display: none; }
  .journey-band small { margin-top: 8px; }
  .package-row { grid-template-columns: 1fr; gap: 22px; margin-inline: -12px; padding: 32px 12px 32px 48px; }
  .package-row::before { top: 36px; left: 12px; }
  .package-row h3 { min-height: 0; }
  .package-result { grid-column: auto; display: block; padding-top: 20px; }
  .package-result p { margin-bottom: 18px; }
  .package-result .button { width: 100%; }
  .delivery-timeline li { grid-template-columns: 36px 1fr; gap: 12px; }
  .delivery-timeline li:not(:last-child)::after { left: 14px; }
  .stage-time { grid-column: 2; padding-top: 0; }
  .commercial-track ol { grid-template-columns: 1fr; }
  .commercial-track li { min-height: 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .enquiry-form { padding: 24px 18px; }
  .footer-bottom { display: block; }
  .footer-bottom nav { margin-top: 16px; }
  .quote-dialog { width: 100%; padding: 22px 14px; }
  .quote-dialog__header { padding-inline: 4px; }
  .quote-form { padding: 22px 16px; }
  .chat-toggle { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 17px; }
  .chat-toggle__tooltip { display: none; }
  .chat-panel { right: max(8px, env(safe-area-inset-right)); bottom: calc(76px + env(safe-area-inset-bottom)); width: calc(100vw - 16px); max-height: calc(100vh - 96px - env(safe-area-inset-bottom)); max-height: calc(100dvh - 96px - env(safe-area-inset-bottom)); border-radius: 20px; }
  .chat-panel__header { padding: 16px; }
  .chat-messages { min-height: 150px; padding: 16px; }
  .chat-quick-replies { padding: 12px 16px; }
  .chat-form { padding: 10px 16px; }
  .chat-status { padding-inline: 16px; }
  .chat-panel__footer { padding: 8px 16px calc(14px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
