/*
 * Quotenamic visual system
 * --------------------------------------------------------------------------
 * The stylesheet is intentionally organized in layers: shared foundations,
 * component structures, responsive rules, final commercial presentation,
 * and pricing/dialog additions. Later layers refine earlier component bases.
 */

/* 1. Design tokens */
:root {
	--blue: #102a56;
	--blue-dark: #081a38;
	--blue-soft: #eef2f7;
	--orange: #ff6b2c;
	--orange-dark: #c7430b;
	--orange-soft: #fff3ed;
	--ink: #101828;
	--ink-2: #344054;
	--muted: #667085;
	--line: #e4e7ec;
	--line-strong: #d0d5dd;
	--surface: #f8f9fb;
	--white: #fff;
	--shell: 1160px;
	--shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
	font-family: Inter, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
	color: var(--ink);
	background: var(--white);
	font-synthesis: none;
}

/* 2. Reset, document defaults, shared layout, and accessibility helpers */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
p { line-height: 1.65; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 120px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; padding: 10px 14px; border-radius: 6px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* 3. Shared buttons and focus treatment */
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 21px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1; text-decoration: none; transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 7px 16px rgba(16,42,86,.18); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 9px 20px rgba(16,42,86,.24); }
.button-secondary { color: var(--ink); border-color: var(--line-strong); background: white; }
.button-secondary:hover { border-color: #98a2b3; background: #fcfcfd; }
.button-small { min-height: 40px; padding: 0 15px; font-size: 12px; }
.button-full { width: 100%; }
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(16,42,86,.22); outline-offset: 2px; }

/* 4. Header, brand lockup, and desktop/mobile navigation structure */
.site-header { position: sticky; z-index: 100; top: 0; height: 72px; border-bottom: 1px solid rgba(228,231,236,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand > img, .brand > .brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.brand-lockup { width: max-content; display: flex; flex-direction: column; align-items: flex-start; transform: translateY(-1px); }
.brand-lockup > strong { display: block; font-size: 20px; font-weight: 780; line-height: 1; letter-spacing: -.035em; }
.brand-lockup > span { width: max-content; display: block; margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--orange); color: var(--muted); font-size: 6.5px; font-weight: 750; line-height: 1; letter-spacing: .115em; text-transform: uppercase; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) { color: #475467; font-size: 13px; font-weight: 600; text-decoration: none; }
.site-nav > a:not(.button):hover { color: var(--blue); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle > span:not(.sr-only) { width: 21px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 160ms ease, opacity 160ms ease; }

/* 5. Hero component base; the photographic treatment is refined later. */
.hero { position: relative; overflow: hidden; padding: 118px 0 0; background: white; }
.hero::before { content: ""; position: absolute; top: 0; right: max(0px, calc((100vw - var(--shell)) / 2 - 100px)); width: 420px; height: 440px; border-right: 1px solid #f2f4f7; border-bottom: 1px solid #f2f4f7; background-image: linear-gradient(#f2f4f7 1px, transparent 1px), linear-gradient(90deg, #f2f4f7 1px, transparent 1px); background-size: 40px 40px; opacity: .75; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 690px) 1fr; gap: 100px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 720px; margin-bottom: 25px; color: var(--ink); font-size: clamp(52px, 6vw, 76px); font-weight: 720; line-height: 1.01; letter-spacing: -.057em; }
.hero-copy > p:not(.hero-note) { max-width: 660px; margin-bottom: 30px; color: var(--ink-2); font-size: 19px; line-height: 1.62; }
.hero-actions { display: flex; gap: 11px; }
.hero-note { margin: 17px 0 0; color: var(--muted); font-size: 12px; }
.hero-quote { position: relative; z-index: 2; width: 300px; justify-self: end; padding: 28px; border: 1px solid var(--line-strong); border-radius: 12px; background: white; box-shadow: 0 28px 70px rgba(16,24,40,.12); transform: rotate(2deg); }
.hero-quote::before { content: ""; position: absolute; z-index: -1; inset: 13px -13px -13px 13px; border-radius: 12px; background: var(--orange); opacity: .9; }
.hero-quote-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 2px solid var(--ink); color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: .1em; }
.hero-quote-meta { display: flex; justify-content: space-between; margin: 18px 0 24px; color: var(--muted); font-size: 9px; }
.hero-quote-line { height: 7px; margin-bottom: 8px; border-radius: 4px; background: #e4e7ec; }.hero-quote-line.wide { width: 70%; }.hero-quote-line.medium { width: 48%; }
.hero-quote-items { display: grid; grid-template-columns: 1fr 48px; gap: 12px; margin: 28px 0; }.hero-quote-items span { height: 9px; border-radius: 5px; background: #f2f4f7; }.hero-quote-items b { height: 9px; border-radius: 5px; background: #d0d5dd; }
.hero-quote-total { display: flex; align-items: end; justify-content: space-between; padding-top: 16px; border-top: 2px solid var(--ink); }.hero-quote-total span { color: var(--muted); font-size: 9px; }.hero-quote-total strong { color: var(--ink); font-size: 20px; letter-spacing: -.03em; }

/* 6. Animated workflow window and its four data-scene states */
.product-window { position: relative; z-index: 4; margin-top: 94px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px 12px 0 0; background: white; box-shadow: 0 30px 90px rgba(16,24,40,.14); }
.window-bar { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px 0 20px; border-bottom: 1px solid var(--line); background: #fcfcfd; }
.window-brand { display: flex; align-items: center; gap: 8px; }.window-brand strong { font-size: 12px; }.window-brand span { margin-left: 5px; padding-left: 13px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.animation-controls { display: flex; gap: 6px; }.control-button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: white; }.control-button.is-active { color: var(--blue); border-color: #afc0d8; background: var(--blue-soft); }.control-button svg { width: 15px; fill: currentColor; }
.workspace { height: 438px; display: grid; grid-template-columns: 250px 1fr; }
.workspace-sidebar { padding: 20px 12px; border-right: 1px solid var(--line); background: #f9fafb; }.sidebar-title { display: flex; justify-content: space-between; padding: 0 10px 15px; }.sidebar-title strong { font-size: 11px; }.sidebar-title span { color: var(--muted); font-size: 9px; }
.enquiry-row { position: relative; width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; padding: 12px 10px; border: 0; border-radius: 7px; color: var(--ink); text-align: left; background: transparent; }.enquiry-row.is-selected { border: 1px solid #afc0d8; background: white; box-shadow: 0 4px 12px rgba(16,24,40,.05); }.enquiry-row.is-selected::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 2px 2px 0; background: var(--orange); }.enquiry-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-dark); background: #dce5f0; font-size: 9px; font-weight: 800; }.enquiry-row strong, .enquiry-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.enquiry-row strong { margin-bottom: 3px; font-size: 10px; }.enquiry-row small, .enquiry-row time { color: var(--muted); font-size: 8px; }
.workspace-main { padding: 24px 28px; min-width: 0; }.job-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 19px; border-bottom: 1px solid var(--line); }.job-header span { color: var(--muted); font-size: 9px; }.job-header h2 { margin: 4px 0 0; font-size: 18px; letter-spacing: -.025em; }.job-header button { padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink-2); background: white; font-size: 9px; font-weight: 700; }
.job-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; padding-top: 22px; }.enquiry-copy { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: white; }.message-head { display: flex; gap: 9px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }.message-head strong, .message-head small { display: block; }.message-head strong { font-size: 10px; }.message-head small { margin-top: 3px; color: var(--muted); font-size: 8px; }.enquiry-copy > p { margin: 16px 0 0; color: #475467; font-size: 10px; line-height: 1.75; }.enquiry-copy mark { padding: 1px 2px; border-radius: 2px; color: inherit; background: transparent; transition: color 250ms ease, background 250ms ease; }
.analysis-panel { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fcfcfd; }.analysis-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }.analysis-head strong { font-size: 10px; }.analysis-state { padding: 5px 7px; border-radius: 5px; color: var(--blue-dark); background: var(--blue-soft); font-size: 8px; font-weight: 700; }.analysis-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; opacity: .32; transition: opacity 350ms ease; }.analysis-fields label { padding: 9px; border: 1px solid var(--line); border-radius: 5px; background: white; }.analysis-fields span, .analysis-fields b { display: block; }.analysis-fields span { margin-bottom: 4px; color: var(--muted); font-size: 7px; }.analysis-fields b { font-size: 9px; }
.analysis-pricing { visibility: hidden; margin-top: 10px; opacity: 0; transition: opacity 350ms ease; }.analysis-pricing div { display: flex; justify-content: space-between; padding: 6px 1px; color: var(--muted); font-size: 8px; }.analysis-pricing b { color: var(--ink-2); }.analysis-pricing .analysis-total { margin-top: 3px; padding-top: 9px; border-top: 1px solid var(--line-strong); color: var(--ink); font-size: 10px; }.analysis-pricing .analysis-total b { color: var(--blue); font-size: 13px; }
.analysis-ready { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 9px; border: 1px solid #afc0d8; border-radius: 6px; color: var(--blue); background: var(--blue-soft); opacity: 0; transform: translateY(5px); transition: opacity 250ms ease, transform 250ms ease; }.analysis-ready svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; }.analysis-ready strong, .analysis-ready small { display: block; }.analysis-ready strong { font-size: 9px; }.analysis-ready small { margin-top: 2px; color: #475467; font-size: 7px; }
.product-window[data-scene="0"] .enquiry-row.is-selected { box-shadow: 0 0 0 3px rgba(255,107,44,.11); }.product-window[data-scene="1"] .enquiry-copy mark { color: #9e370b; background: #ffdfcf; }.product-window[data-scene="1"] .analysis-fields, .product-window[data-scene="2"] .analysis-fields, .product-window[data-scene="3"] .analysis-fields { opacity: 1; }.product-window[data-scene="2"] .analysis-pricing, .product-window[data-scene="3"] .analysis-pricing { visibility: visible; opacity: 1; }.product-window[data-scene="3"] .analysis-ready { opacity: 1; transform: none; }.product-window[data-scene="1"] .analysis-state { color: var(--orange-dark); background: var(--orange-soft); font-size: 0; }.product-window[data-scene="2"] .analysis-state { color: var(--blue-dark); font-size: 0; }.product-window[data-scene="3"] .analysis-state { color: white; background: var(--blue); font-size: 0; }.product-window[data-scene="1"] .analysis-state::after { content: "Scope extracted"; font-size: 8px; }.product-window[data-scene="2"] .analysis-state::after { content: "Pricing applied"; font-size: 8px; }.product-window[data-scene="3"] .analysis-state::after { content: "Ready"; font-size: 8px; }
.workflow-tabs { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }.workflow-tabs button { position: relative; min-height: 62px; display: flex; align-items: center; gap: 9px; padding: 0 18px; border: 0; border-right: 1px solid var(--line); color: var(--muted); background: white; }.workflow-tabs button:last-child { border-right: 0; }.workflow-tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--orange); transform: scaleX(0); transition: transform 200ms ease; }.workflow-tabs button.is-active::before { transform: scaleX(1); }.workflow-tabs button span { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 8px; font-weight: 800; }.workflow-tabs button b { font-size: 10px; }.workflow-tabs button.is-active { color: var(--ink); }.workflow-tabs button.is-active span { color: white; border-color: var(--orange); background: var(--orange); }

/* 7. Shared marketing-section primitives retained for reusable content blocks */
.trade-line { border-block: 1px solid var(--line); background: #fcfcfd; }.trade-line .shell { min-height: 70px; display: flex; align-items: center; justify-content: center; gap: 25px; color: var(--muted); font-size: 12px; font-weight: 600; }.trade-line i { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }
.section-intro { display: grid; grid-template-columns: .9fr 1fr; gap: 110px; align-items: end; margin-bottom: 70px; }.section-intro h2, .rules-copy h2, .carousel-heading h2, .contact-copy h2 { margin: 0; color: var(--ink); font-size: clamp(38px,4.2vw,56px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }.section-intro p, .carousel-heading p { max-width: 540px; margin: 0; color: var(--muted); font-size: 16px; }
.process-list { border-top: 1px solid var(--line-strong); }.process-row { display: grid; grid-template-columns: 70px 1fr 1.15fr; gap: 48px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--line); }.process-number { align-self: start; color: var(--orange-dark); font-size: 12px; font-weight: 800; }.process-copy h3 { margin-bottom: 13px; font-size: 25px; letter-spacing: -.03em; }.process-copy p { margin: 0; color: var(--muted); font-size: 14px; }.process-ui { border: 1px solid var(--line-strong); border-radius: 10px; background: white; box-shadow: 0 14px 35px rgba(16,24,40,.07); }.inbox-ui { padding: 23px; }.ui-header { display: flex; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--line); }.ui-header span { font-size: 11px; font-weight: 700; }.ui-header b { color: var(--blue); font-size: 9px; }.inbox-ui > p { margin: 19px 0; color: #475467; font-size: 12px; }.inbox-ui > div:last-child { display: flex; gap: 7px; }.inbox-ui > div:last-child span { padding: 6px 8px; border-radius: 5px; color: var(--blue-dark); background: var(--blue-soft); font-size: 8px; font-weight: 700; }.rules-ui { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }.rules-ui div { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.rules-ui div:nth-child(2n) { border-right: 0; }.rules-ui div:nth-last-child(-n+2) { border-bottom: 0; }.rules-ui span, .rules-ui strong { display: block; }.rules-ui span { margin-bottom: 7px; color: var(--muted); font-size: 9px; }.rules-ui strong { font-size: 12px; }.document-ui { width: 300px; justify-self: center; padding: 25px; }.document-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; color: var(--blue); letter-spacing: .08em; }.document-ui > span { display: block; width: 65%; height: 6px; margin-bottom: 8px; border-radius: 4px; background: #e4e7ec; }.document-ui > span:nth-of-type(2) { width: 44%; }.document-row { display: flex; justify-content: space-between; margin-top: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }.document-row i { width: 45%; height: 6px; border-radius: 4px; background: #f2f4f7; }.document-row b { font-size: 9px; }.document-ui > strong { display: block; margin-top: 20px; padding-top: 12px; color: var(--blue); font-size: 12px; text-align: right; border-top: 2px solid var(--ink); }

/* 8. Interactive quote builder */
.demo-section { background: var(--surface); }.demo-intro { margin-bottom: 50px; }.demo-frame { padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: white; box-shadow: var(--shadow); }.demo-frame-bar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--line); background: #fcfcfd; }.demo-frame-bar > div { display: flex; align-items: center; gap: 9px; }.demo-frame-bar strong { font-size: 12px; }.demo-frame-bar > span { color: var(--muted); font-size: 9px; }.quote-builder { padding: 0; }.demo-selector { display: flex; gap: 3px; padding: 13px 18px 0; border-bottom: 1px solid var(--line); }.demo-selector button { position: relative; min-height: 43px; padding: 0 17px; border: 0; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }.demo-selector button::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); }.demo-selector button.is-active { color: var(--blue); }.demo-selector button.is-active::after { transform: scaleX(1); }.builder-layout { display: grid; grid-template-columns: 1.4fr .6fr; min-height: 430px; }.builder-fields { padding: 30px 34px 38px; border-right: 1px solid var(--line); }.form-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }.form-heading h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }.form-heading > span { color: var(--muted); font-size: 9px; }.demo-panel[hidden] { display: none; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.field-wide { grid-column: 1 / -1; }.field { display: block; }.field > span { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--ink-2); font-size: 11px; font-weight: 650; }.field > span small { color: var(--muted); font-weight: 500; }.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink); background: white; outline: 0; transition: border-color 150ms ease, box-shadow 150ms ease; }.field input, .field select { height: 45px; padding: 0 12px; }.field textarea { min-height: 110px; padding: 12px; resize: vertical; }.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(16,42,86,.1); }.field input[aria-invalid="true"] { border-color: #d92d20; box-shadow: 0 0 0 3px rgba(217,45,32,.08); }
.builder-summary { padding: 30px; background: #fcfcfd; }.builder-summary h3 { margin-bottom: 21px; font-size: 14px; }.calculation-preview div { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); }.calculation-preview span { color: var(--muted); font-size: 9px; }.calculation-preview strong { font-size: 11px; }.calculation-preview .estimate-total { margin-top: 7px; padding: 20px 0; border-bottom: 0; }.estimate-total strong { color: var(--blue); font-size: 22px; letter-spacing: -.03em; }.form-error { min-height: 33px; margin: 0; padding: 5px 0; color: #b42318; font-size: 9px; }.builder-summary > small { display: block; margin-top: 11px; color: var(--muted); font-size: 8px; line-height: 1.5; text-align: center; }

/* 9. Pricing-rule explanation and settings example */
.rules-section { background: white; }.rules-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; align-items: center; }.rules-copy h2 { margin-bottom: 24px; }.rules-copy > p { margin-bottom: 28px; color: var(--muted); font-size: 16px; }.rules-copy ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }.rules-copy li { position: relative; padding-left: 21px; color: #475467; font-size: 13px; }.rules-copy li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.settings-window { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 11px; box-shadow: var(--shadow); }.settings-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); background: #fcfcfd; }.settings-head strong, .settings-head span { display: block; }.settings-head strong { font-size: 13px; }.settings-head span { margin-top: 4px; color: var(--muted); font-size: 9px; }.settings-head button { padding: 8px 11px; border: 0; border-radius: 6px; color: white; background: var(--blue); font-size: 9px; font-weight: 700; }.setting-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); }.setting-row:last-child { border-bottom: 0; }.setting-row b, .setting-row small { display: block; }.setting-row b { font-size: 11px; }.setting-row small { margin-top: 5px; color: var(--muted); font-size: 9px; }.setting-row > strong { min-width: 110px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 6px; font-size: 10px; text-align: right; }.switch { position: relative; width: 38px; height: 22px; border-radius: 20px; background: var(--blue); }.switch::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; }

.trades-section { padding-bottom: 88px; background: var(--surface); }.carousel-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 48px; }.carousel-heading > div:first-child { max-width: 700px; }.carousel-heading h2 { margin-bottom: 15px; }.carousel-controls { display: flex; gap: 8px; }.carousel-controls button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--ink-2); background: white; }.carousel-controls button:hover { color: white; border-color: var(--blue); background: var(--blue); }.carousel-controls svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 42px) / 2.35); gap: 18px; overflow-x: auto; padding-bottom: 25px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }.card-carousel::-webkit-scrollbar, .detail-carousel::-webkit-scrollbar { display: none; }.card-carousel article { min-height: 330px; display: flex; flex-direction: column; padding: 29px; border: 1px solid var(--line-strong); border-radius: 9px; background: white; scroll-snap-align: start; }.card-carousel article > span { color: var(--orange-dark); font-size: 10px; font-weight: 800; }.card-carousel h3 { max-width: 360px; margin: auto 0 15px; font-size: 24px; line-height: 1.2; letter-spacing: -.035em; }.card-carousel p { margin: 0 0 25px; color: var(--muted); font-size: 12px; }.card-carousel article > div { display: flex; flex-wrap: wrap; gap: 6px; }.card-carousel b { padding: 6px 8px; border-radius: 5px; color: var(--blue-dark); background: var(--blue-soft); font-size: 8px; }
.detail-section { padding-top: 88px; }.detail-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }.detail-carousel article { min-height: 260px; display: flex; flex-direction: column; padding: 24px; border-top: 3px solid var(--blue); background: var(--surface); scroll-snap-align: start; }.detail-carousel article > span { color: var(--orange-dark); font-size: 9px; font-weight: 800; }.detail-carousel h3 { margin: auto 0 12px; font-size: 22px; }.detail-carousel p { margin: 0; color: var(--muted); font-size: 12px; }

.contact-section { border-top: 1px solid var(--line); }.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 120px; align-items: start; }.contact-copy h2 { margin-bottom: 23px; }.contact-copy > p { max-width: 480px; margin-bottom: 34px; color: var(--muted); font-size: 16px; }.contact-copy > div { display: flex; flex-wrap: wrap; gap: 8px; }.contact-copy > div span { padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 6px; color: #475467; font-size: 10px; }.contact-form { padding: 34px; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 18px 45px rgba(16,24,40,.08); }.contact-form .button { margin-top: 21px; }.form-status { margin: 12px 0 0; color: var(--muted); font-size: 9px; text-align: center; }
/* 10. Global footer */
.site-footer { padding: 34px 0; color: #98a2b3; background: var(--ink); }.footer-inner { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 45px; }.footer-brand { color: white; }.footer-brand .brand-lockup > span { color: #b8c2d5; }.footer-inner > p { margin: 0; font-size: 11px; }.footer-links { display: flex; gap: 23px; }.footer-links a { color: #d0d5dd; font-size: 11px; text-decoration: none; }.footer-links a:hover { color: white; }.footer-inner small { font-size: 9px; }

/* 11. Printable quote dialog and generated document */
.quote-dialog { width: min(1040px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; border: 0; border-radius: 13px; color: var(--ink); background: #f2f4f7; box-shadow: 0 30px 100px rgba(0,0,0,.35); }.quote-dialog::backdrop { background: rgba(16,24,40,.72); backdrop-filter: blur(4px); }.dialog-toolbar { position: sticky; z-index: 3; top: 0; min-height: 66px; display: flex; align-items: center; justify-content: flex-end; padding: 11px 19px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }.dialog-actions { display: flex; align-items: center; gap: 8px; }.button-print { min-height: 42px; padding: 0 15px; font-size: 10px; }.dialog-close { width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 2px; color: #475467; background: white; font-size: 22px; line-height: 1; }
.quote-document { width: min(780px, calc(100% - 40px)); min-height: 980px; margin: 30px auto; padding: 58px; background: white; box-shadow: 0 12px 30px rgba(16,24,40,.1); }.quote-header { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 25px; border-bottom: 3px solid var(--ink); }.quote-logo { display: flex; align-items: center; gap: 12px; }.quote-logo strong, .quote-logo span { display: block; }.quote-logo strong { margin-bottom: 4px; font-size: 14px; letter-spacing: .02em; }.quote-logo span { color: var(--muted); font-size: 9px; }.quote-title { text-align: right; }.quote-title h2 { margin: 0 0 6px; color: var(--blue); font-size: 28px; letter-spacing: .1em; }.quote-title span { color: var(--muted); font-size: 9px; }.quote-meta { display: grid; grid-template-columns: 1fr auto; gap: 50px; padding: 29px 0; }.quote-meta > div:last-child { display: grid; grid-template-columns: auto auto; gap: 6px 20px; }.quote-meta span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }.quote-meta strong { display: block; margin: 5px 0 6px; font-size: 11px; }.quote-meta p { margin: 0; color: #475467; font-size: 9px; line-height: 1.5; }.quote-summary { padding: 17px 19px; border-left: 4px solid var(--orange); background: #f9fafb; }.quote-summary h3 { margin-bottom: 7px; font-size: 14px; }.quote-summary p { margin: 0; color: var(--muted); font-size: 9px; }.quote-table { width: 100%; margin-top: 27px; border-collapse: collapse; table-layout: fixed; }.quote-table th { padding: 10px; color: white; background: var(--ink); font-size: 8px; text-align: right; }.quote-table th:first-child { width: 46%; text-align: left; }.quote-table td { padding: 13px 10px; color: #475467; font-size: 9px; text-align: right; vertical-align: top; border-bottom: 1px solid var(--line); }.quote-table td:first-child { text-align: left; }.quote-table td strong, .quote-table td small { display: block; }.quote-table td strong { margin-bottom: 4px; color: var(--ink); font-size: 9px; }.quote-table td small { color: var(--muted); line-height: 1.4; }.quote-totals { width: 45%; margin: 22px 0 0 auto; }.quote-totals > div { display: flex; justify-content: space-between; padding: 7px 0; color: var(--muted); font-size: 9px; }.quote-totals strong { color: var(--ink); }.quote-totals .grand-total { margin-top: 5px; padding: 12px 0; border-top: 2px solid var(--ink); font-size: 12px; }.grand-total strong { color: var(--blue); font-size: 17px; }.quote-terms { margin-top: 33px; padding-top: 18px; border-top: 1px solid var(--line); }.quote-terms h4 { margin-bottom: 9px; font-size: 10px; }.quote-terms ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: 8px; line-height: 1.7; }.quote-footer { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--line); color: #98a2b3; font-size: 7px; }

/* 12. Base responsive adaptations used by all presentation layers */
@media (max-width: 1000px) {
	.hero-grid { grid-template-columns: minmax(0,1fr) 270px; gap: 50px; }.hero-quote { width: 265px; }.workspace { grid-template-columns: 210px 1fr; }.workspace-main { padding-inline: 20px; }.job-columns { gap: 15px; }.section-intro, .rules-layout, .contact-layout { gap: 60px; }.process-row { grid-template-columns: 55px 1fr 1.05fr; gap: 30px; }.builder-layout { grid-template-columns: 1.3fr .7fr; }.footer-inner { gap: 25px; }
}

@media (max-width: 800px) {
	.shell { width: min(var(--shell), calc(100% - 32px)); }.section { padding: 86px 0; }
	.menu-toggle { display: flex; }.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(7px) rotate(45deg); }.menu-toggle[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }.menu-toggle[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
	.site-nav { position: absolute; left: 0; right: 0; top: 71px; display: none; align-items: stretch; padding: 18px 20px 22px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 15px 30px rgba(16,24,40,.08); }.site-nav.is-open { display: flex; flex-direction: column; }.site-nav > a:not(.button) { padding: 8px 0; font-size: 14px; }.site-nav .button { margin-top: 5px; }
	.hero { padding-top: 80px; }.hero-grid { grid-template-columns: 1fr; }.hero h1 { max-width: 680px; }.hero-quote { display: none; }.product-window { margin-top: 65px; }.workspace { height: 480px; grid-template-columns: 180px 1fr; }.job-columns { grid-template-columns: 1fr; }.enquiry-copy { display: none; }.workflow-tabs button { padding-inline: 10px; }.workflow-tabs button b { font-size: 9px; }
	.trade-line .shell { flex-wrap: wrap; gap: 14px; padding-block: 20px; }.section-intro { grid-template-columns: 1fr; gap: 22px; align-items: start; margin-bottom: 48px; }.process-row { grid-template-columns: 45px 1fr; }.process-ui { grid-column: 2; width: 100%; }.rules-layout, .contact-layout { grid-template-columns: 1fr; }.rules-copy { max-width: 650px; }.builder-layout { grid-template-columns: 1fr; }.builder-fields { border-right: 0; border-bottom: 1px solid var(--line); }.builder-summary { display: grid; grid-template-columns: 1fr 220px; gap: 0 35px; }.builder-summary h3, .builder-summary > small { grid-column: 1 / -1; }.builder-summary .calculation-preview { grid-row: 2 / 5; }.builder-summary .button { align-self: end; }.card-carousel { grid-auto-columns: 62%; }.detail-carousel { grid-auto-columns: 43%; }.footer-inner { grid-template-columns: 1fr auto; }.footer-inner > p { display: none; }.footer-links { grid-row: 2; }.footer-inner small { grid-row: 2; text-align: right; }
}

@media (max-width: 540px) {
	.shell { width: min(var(--shell), calc(100% - 24px)); }.section { padding: 70px 0; }
	.hero { padding-top: 57px; }.hero::before { display: none; }.hero h1 { font-size: 45px; letter-spacing: -.052em; }.hero-copy > p:not(.hero-note) { font-size: 16px; }.hero-actions { flex-direction: column; }.hero-actions .button { width: 100%; }
	.product-window { width: calc(100% - 12px); margin-top: 48px; }.window-brand span { display: none; }.workspace { height: 520px; display: block; }.workspace-sidebar { height: 130px; display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 9px; overflow: hidden; border-right: 0; border-bottom: 1px solid var(--line); }.sidebar-title { display: none; }.enquiry-row { display: block; padding: 8px; }.enquiry-row .enquiry-avatar, .enquiry-row time { display: none; }.enquiry-row strong { margin-bottom: 4px; font-size: 9px; }.enquiry-row small { font-size: 7px; white-space: normal; }.workspace-main { padding: 17px; }.job-header h2 { font-size: 15px; }.job-header button { display: none; }.analysis-panel { padding: 14px; }.analysis-fields { gap: 6px; }.workflow-tabs { grid-template-columns: 1fr 1fr; }.workflow-tabs button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.workflow-tabs button:nth-child(2) { border-right: 0; }.workflow-tabs button { min-height: 50px; }.workflow-tabs button b { font-size: 8px; }
	.trade-line .shell { justify-content: flex-start; }.trade-line i { display: none; }.trade-line span { width: calc(50% - 8px); }.section-intro h2, .rules-copy h2, .carousel-heading h2, .contact-copy h2 { font-size: 37px; }.process-row { grid-template-columns: 1fr; gap: 15px; padding: 45px 0; }.process-number { font-size: 10px; }.process-ui { grid-column: 1; margin-top: 10px; }.document-ui { width: min(300px,100%); }.demo-frame { width: calc(100% - 16px); }.demo-selector { display: grid; grid-template-columns: 1fr; padding: 8px; }.demo-selector button { justify-content: flex-start; min-height: 38px; padding-inline: 11px; }.demo-selector button::after { inset: 7px auto 7px 0; width: 2px; height: auto; transform: scaleY(0); }.demo-selector button.is-active::after { transform: scaleY(1); }.builder-fields, .builder-summary { padding: 22px; }.form-heading { align-items: flex-start; gap: 12px; }.form-heading > span { text-align: right; }.field-grid { grid-template-columns: 1fr; }.field-wide { grid-column: auto; }.builder-summary { display: block; }.builder-summary .button { margin-top: 8px; }.rules-layout, .contact-layout { gap: 50px; }.settings-head, .setting-row { padding-inline: 17px; }.setting-row > strong { min-width: 88px; }.carousel-heading { align-items: flex-end; gap: 20px; }.carousel-heading h2 { font-size: 34px; }.carousel-heading p { font-size: 13px; }.card-carousel { grid-auto-columns: 88%; }.detail-carousel { grid-auto-columns: 79%; }.contact-form { padding: 22px; }.footer-inner { grid-template-columns: 1fr; gap: 23px; }.footer-links, .footer-inner small { grid-row: auto; text-align: left; }.footer-links { flex-wrap: wrap; }
	.dialog-toolbar > div:first-child p { display: none; }.button-print { width: 40px; padding: 0; font-size: 0; }.quote-document { width: calc(100% - 16px); min-height: 0; margin: 8px auto; padding: 24px 18px; }.quote-logo strong { font-size: 10px; }.quote-title h2 { font-size: 21px; }.quote-meta { grid-template-columns: 1fr; gap: 18px; }.quote-table th:nth-child(2), .quote-table td:nth-child(2) { display: none; }.quote-table th:first-child { width: 52%; }.quote-totals { width: 66%; }
}

/* 13. Capability matrix and final structural refinements */
.hero::before { display: none; }
.hero-grid { display: block; }
.hero-copy { max-width: 800px; }
.job-status { padding: 6px 9px; border-radius: 5px; color: var(--blue-dark) !important; background: var(--blue-soft); font-size: 8px !important; font-weight: 750; }
.settings-head { justify-content: flex-start; }
.setting-row > strong { min-width: 0; padding: 0; border: 0; border-radius: 0; color: var(--ink); font-size: 11px; text-align: right; }
.trades-section { padding-block: 112px; background: var(--surface); }
.trades-heading { display: block; margin-bottom: 62px; }
.trades-heading h2 { max-width: none; width: 100%; margin: 0; font-size: clamp(38px,4.2vw,56px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
.trades-heading p { max-width: 520px; margin: 0; color: var(--muted); font-size: 16px; }
.trade-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.trade-list article { display: grid; grid-template-columns: 44px 1fr; gap: 18px; min-height: 178px; padding: 35px 44px 35px 0; border-bottom: 1px solid var(--line); }
.trade-list article:nth-child(odd) { border-right: 1px solid var(--line); }
.trade-list article:nth-child(even) { padding-left: 44px; }
.trade-list article:nth-last-child(-n+2) { border-bottom: 0; }
.trade-list article > span { padding-top: 4px; color: var(--orange-dark); font-size: 10px; font-weight: 800; }
.trade-list h3 { margin: 0 0 11px; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; }
.trade-list p { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

@media (max-width: 800px) {
	.trades-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 46px; }
	.trade-list { grid-template-columns: 1fr; }
	.trade-list article, .trade-list article:nth-child(even) { min-height: 0; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
	.trade-list article:nth-last-child(2) { border-bottom: 1px solid var(--line); }
	.trade-list article:last-child { border-bottom: 0; }
}

@media (max-width: 540px) {
	.trades-section { padding-block: 70px; }
	.trades-heading h2 { font-size: 37px; }
	.trade-list article, .trade-list article:nth-child(odd), .trade-list article:nth-child(even) { grid-template-columns: 34px 1fr; gap: 12px; padding-block: 25px; border-right: 0; }
	.demo-selector { grid-template-columns: repeat(3,1fr); padding: 8px 10px 0; }
	.demo-selector button { justify-content: center; min-height: 48px; padding-inline: 4px; font-size: 9px; }
	.demo-selector button::after { inset: auto 7px -1px; width: auto; height: 2px; transform: scaleX(0); }
	.demo-selector button.is-active::after { transform: scaleX(1); }
}

/* 14. Commercial typography, colours, and section spacing */
.button { border-radius: 2px; }
.site-nav .button { color: white; background: var(--orange); box-shadow: none; }
.site-nav .button:hover { color: white; background: #e75a1e; box-shadow: none; }
.section { padding-block: 104px; }
.hero { padding: 92px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: 96px; align-items: end; }
.hero-copy { max-width: 690px; }
.hero h1 { max-width: 730px; margin-bottom: 26px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(50px,5.3vw,72px); font-weight: 500; line-height: .99; letter-spacing: -.05em; }
.hero h1 em { color: var(--orange-dark); font-weight: inherit; }
.hero-copy > p:not(.hero-note) { max-width: 630px; margin-bottom: 32px; font-size: 18px; line-height: 1.58; }
.hero-summary { margin: 0; border-top: 1px solid var(--line-strong); }
.hero-summary > div { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hero-summary dt { color: var(--orange-dark); font-size: 11px; font-weight: 750; }
.hero-summary dd { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.product-window { margin-top: 72px; border-radius: 10px; box-shadow: 0 22px 60px rgba(16,24,40,.1); }
.section-intro { grid-template-columns: .8fr 1fr; gap: 96px; margin-bottom: 54px; }
.section-intro h2, .rules-copy h2, .contact-copy h2, .trades-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px,3.8vw,52px); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.demo-frame, .settings-window, .contact-form { box-shadow: 0 14px 38px rgba(16,24,40,.06); }
.rules-section { color: white; background: #0b1638; }
.rules-copy h2 { color: white; }
.rules-copy > p { color: #c4cee2; }
.rules-copy li { color: #d9e0ee; }
.settings-window { border-color: rgba(255,255,255,.24); border-top: 3px solid var(--orange); color: var(--ink); background: white; }
.trades-section { padding-block: 104px; background: var(--white); }
.contact-section { background: #fcfcfd; }
.contact-form { background: var(--white); }

@media (max-width: 1000px) {
	.hero-grid { grid-template-columns: 1fr .8fr; gap: 56px; }
}

@media (max-width: 800px) {
	.section { padding-block: 82px; }
	.hero { padding: 72px 0 82px; }
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-summary { max-width: 650px; }
	.product-window { margin-top: 58px; }
	.section-intro { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 540px) {
	.section { padding-block: 68px; }
	.hero { padding: 52px 0 68px; }
	.hero h1 { font-size: 42px; line-height: 1.06; letter-spacing: -.045em; }
	.hero-summary > div { grid-template-columns: 78px 1fr; gap: 12px; padding-block: 15px; }
	.product-window { margin-top: 42px; }
	.section-intro h2, .rules-copy h2, .contact-copy h2, .trades-heading h2 { font-size: 34px; }
}

/* 15. Final photographic hero and interactive workflow presentation */
.hero { isolation: isolate; min-height: 760px; padding: 66px 0; background: var(--ink) url("https://images.unsplash.com/photo-1778074762022-c33cc42f79ae?auto=format&fit=crop&fm=webp&q=82&w=2400") center 46% / cover no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(16,24,40,.99) 0%, rgba(16,24,40,.94) 42%, rgba(16,24,40,.72) 100%); }
.hero-grid { position: relative; z-index: 1; min-height: 628px; grid-template-columns: minmax(380px,.78fr) minmax(560px,1.22fr); gap: 54px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero h1 { max-width: 560px; color: white; font-size: clamp(54px,5.4vw,76px); line-height: .98; }
.hero h1 em { color: var(--orange); }
.hero-copy > p:not(.hero-note) { max-width: 520px; color: #e5eaf4; font-size: 19px; }
.hero .hero-actions .button-primary { color: white; background: var(--orange); box-shadow: none; }
.hero .hero-actions .button-primary:hover { background: #ff814b; }
.hero .hero-actions .button-secondary { color: white; border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.05); }
.hero .hero-actions .button-secondary:hover { border-color: white; background: rgba(255,255,255,.12); }
.hero .product-window { width: 100%; margin: 0; border-color: rgba(255,255,255,.4); border-radius: 0; box-shadow: 0 28px 80px rgba(0,0,0,.32); }
.hero .workspace { height: 455px; grid-template-columns: 1fr; }
.hero .workspace-sidebar { display: none; }
.hero .workspace-main { padding: 24px; }
.hero .job-columns { grid-template-columns: .95fr 1.05fr; gap: 16px; }
.hero .window-bar, .hero .control-button, .hero .job-status, .hero .enquiry-copy, .hero .analysis-panel, .hero .analysis-control, .hero .analysis-state, .hero .analysis-ready, .hero .workflow-tabs button, .hero .workflow-tabs button span { border-radius: 0; }
.analysis-control select, .analysis-control input { width: 100%; height: 18px; display: block; padding: 0; border: 0; color: var(--ink); background: transparent; font-size: 9px; font-weight: 700; line-height: 18px; outline: 0; pointer-events: none; }
.analysis-control select { appearance: auto; }
.analysis-control input::placeholder { color: #98a2b3; opacity: 1; }
.analysis-control { transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.analysis-control.is-filled { border-color: #afc0d8; background: #f8fafc; box-shadow: inset 3px 0 0 var(--orange); }
.workflow-rule { height: 0; border-top: 1px solid var(--line-strong); }
.hero .workflow-tabs { border-top: 0; }
.hero .workflow-tabs button { padding-inline: 12px; }
.hero .workflow-tabs button b { font-size: 9px; }

.demo-section { background: #f2f7ff; }
.demo-selector button.is-active { color: var(--orange-dark); }
.demo-selector button::after { background: var(--orange); }
.builder-summary { color: white; background: var(--blue); }
.builder-summary h3, .builder-summary .calculation-preview strong { color: white; }
.builder-summary .calculation-preview div { border-color: rgba(255,255,255,.22); }
.builder-summary .calculation-preview span { color: rgba(255,255,255,.75); }
.builder-summary .estimate-total strong { color: white; }
.builder-summary .button-primary { color: white; background: var(--orange); box-shadow: none; }
.builder-summary .button-primary:hover { background: #ff814b; }
.builder-summary > small { color: rgba(255,255,255,.7); }
.builder-summary .form-error { color: #fff2ed; }

@media (max-width: 1000px) {
	.hero-grid { grid-template-columns: minmax(330px,.75fr) minmax(480px,1.25fr); gap: 36px; }
	.hero .enquiry-copy { display: none; }
	.hero .job-columns { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
	.hero { padding: 64px 0 72px; background-position: 62% center; }
	.hero::after { background: linear-gradient(90deg, rgba(16,24,40,.99) 0%, rgba(16,24,40,.95) 70%, rgba(16,24,40,.82) 100%); }
	.hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 54px; }
	.hero-copy { max-width: 610px; }
	.hero .product-window { max-width: 680px; }
}

@media (max-width: 540px) {
	.hero { padding: 50px 0 58px; background-position: 60% center; }
	.hero h1 { font-size: 47px; }
	.hero-copy > p:not(.hero-note) { font-size: 17px; }
	.hero .product-window { width: 100%; margin-top: 0; }
	.hero .workspace { height: 470px; }
	.hero .workspace-main { padding: 17px; }
}

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

@page { size: A4; margin: 12mm; }
@media print {
	body { background: white !important; }
	body > :not(#quoteDialog) { display: none !important; }
	#quoteDialog { position: static; display: block; width: auto; max-height: none; margin: 0; overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: white; }
	#quoteDialog::backdrop, .dialog-toolbar { display: none !important; }
	.quote-document { width: 100%; min-height: 0; margin: 0; padding: 0; box-shadow: none; }
	.quote-footer { margin-top: 35px; }
}

/* 17. Final dark navigation, pricing, and conversion dialogs */
.site-header { border-bottom-color: rgba(255,255,255,.12); background: rgba(16,24,40,.98); backdrop-filter: blur(14px); }
.site-header .brand { color: white; }
.site-header .brand-lockup > span { color: #b8c2d5; }
.site-header .site-nav > a:not(.button) { color: #d0d5dd; }
.site-header .site-nav > a:not(.button):hover { color: white; }
.site-header .menu-toggle > span:not(.sr-only) { background: white; }
.site-header button:focus-visible, .site-header a:focus-visible { outline-color: rgba(255,255,255,.65); }

.pricing-section { border-top: 1px solid var(--line); background: #f7f8fa; }
.pricing-heading { display: grid; grid-template-columns: .9fr 1fr; gap: 90px; align-items: end; margin-bottom: 54px; }
.pricing-heading h2 { max-width: 620px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px,4vw,56px); font-weight: 500; line-height: 1.03; letter-spacing: -.04em; }
.pricing-heading p { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: center; padding-block: 20px; }
.pricing-card { min-width: 0; min-height: 570px; display: flex; flex-direction: column; padding: 38px 34px 34px; border: 1px solid var(--line-strong); background: white; box-shadow: 0 14px 34px rgba(16,24,40,.07); }
.pricing-card-featured { position: relative; min-height: 610px; padding: 54px 36px 42px; border-color: var(--ink); color: white; background: var(--ink); box-shadow: 0 28px 60px rgba(16,24,40,.22); }
.pricing-card-featured::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); }
.pricing-card-head { min-height: 112px; }
.pricing-card h3 { margin: 0 0 12px; font-size: 25px; line-height: 1; letter-spacing: -.03em; }
.pricing-card-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pricing-card-featured .pricing-card-head p { color: #c7d0e0; }
.price { min-height: 82px; display: flex; align-items: baseline; gap: 10px; padding: 14px 0 20px; }
.price strong { font-size: 45px; line-height: 1; letter-spacing: -.055em; }
.price span { color: var(--muted); font-size: 10px; }
.price-custom { display: block; }
.price-custom strong, .price-custom span { display: block; }
.price-custom strong { padding-top: 5px; font-size: 34px; }
.price-custom span { margin-top: 8px; }
.pricing-card-featured .price span { color: #c7d0e0; }
.quote-allowance { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-allowance strong { font-size: 14px; }
.quote-allowance span { color: var(--muted); font-size: 9px; }
.pricing-card-featured .quote-allowance { border-color: rgba(255,255,255,.2); }
.pricing-card-featured .quote-allowance span { color: #c7d0e0; }
.pricing-card ul { display: grid; gap: 13px; margin: 25px 0 32px; padding: 0; list-style: none; }
.pricing-card li { position: relative; padding-left: 23px; color: #475467; font-size: 11px; line-height: 1.45; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--orange-dark); font-size: 13px; font-weight: 800; }
.pricing-card-featured li { color: #e5eaf3; }
.pricing-card-featured li::before { color: var(--orange); }
.pricing-card .button { margin-top: auto; }
.pricing-card-featured .button-primary { color: white; background: var(--orange); box-shadow: none; }
.pricing-card-featured .button-primary:hover { background: #e75a1e; }
.conversion-dialog { width: min(820px,calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; border: 0; border-radius: 0; color: var(--ink); background: white; box-shadow: 0 35px 100px rgba(0,0,0,.36); }
.conversion-dialog::backdrop { background: rgba(5,16,46,.76); backdrop-filter: blur(4px); }
.conversion-dialog-head { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.conversion-dialog-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -.025em; }
.conversion-dialog .dialog-close { flex: 0 0 42px; }
.checkout-layout { display: grid; grid-template-columns: .82fr 1.18fr; }
.checkout-summary, .checkout-payment { padding: 34px; }
.checkout-summary { color: white; background: var(--blue); }
.checkout-summary > span { color: #bcc8dc; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.checkout-summary h3 { margin: 10px 0 38px; font-size: 32px; letter-spacing: -.04em; }
.checkout-summary > div { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.18); font-size: 10px; }
.checkout-summary > div strong { font-size: 11px; }
.checkout-summary small { display: block; margin-top: 22px; color: #bcc8dc; font-size: 9px; line-height: 1.6; }
.checkout-payment h3 { margin-bottom: 8px; font-size: 18px; }
.checkout-payment > p { margin-bottom: 23px; color: var(--muted); font-size: 11px; }
.payment-placeholder { margin-bottom: 18px; padding: 16px; border: 1px dashed #98a2b3; background: #f8f9fb; }
.payment-placeholder span, .payment-placeholder strong { display: block; }
.payment-placeholder span { margin-bottom: 6px; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.payment-placeholder strong { font-size: 11px; }
.checkout-payment .button:disabled { color: white; background: #98a2b3; box-shadow: none; cursor: not-allowed; transform: none; }
.enterprise-dialog { width: min(720px,calc(100% - 32px)); }
.enterprise-form { padding: 28px; }
.enterprise-form .button { margin-top: 22px; }

/* 18. One-time below-the-fold entrance animations */
.reveal-enabled .scroll-reveal { opacity: 0; transform: translateY(26px); transition: opacity 620ms ease, transform 620ms cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay,0ms); will-change: opacity, transform; }
.reveal-enabled .scroll-reveal.is-visible { opacity: 1; transform: translateY(0); will-change: auto; }

@media (max-width: 900px) {
	.pricing-heading { grid-template-columns: 1fr; gap: 18px; }
	.pricing-grid { grid-template-columns: 1fr; gap: 18px; padding-block: 0; }
	.pricing-card, .pricing-card-featured { min-height: 0; padding: 34px 30px; }
	.pricing-card-head { min-height: 0; }
}

@media (max-width: 800px) {
	.site-header .site-nav { border-bottom-color: rgba(255,255,255,.12); background: var(--ink); box-shadow: 0 18px 32px rgba(0,0,0,.25); }
	.site-header .site-nav > a:not(.button) { color: #d0d5dd; }
}

@media (max-width: 620px) {
	.pricing-heading h2 { font-size: 36px; }
	.pricing-card { padding: 30px 24px; }
	.checkout-layout { grid-template-columns: 1fr; }
	.checkout-summary, .checkout-payment { padding: 26px 22px; }
	.checkout-summary h3 { margin-bottom: 24px; }
	.conversion-dialog-head { padding-inline: 20px; }
	.conversion-dialog-head h2 { font-size: 23px; }
	.enterprise-form { padding: 22px 20px; }
}
