/* Special Alloy Fasteners — site styles.
   Layout and type follow nab-sab-fasteners.co.uk (Barlow Condensed headings, Inter body, 17px root).
   Colour tokens below are checked for contrast by scripts/verify_site.py (check: contrast).
   Bronze (--bronze) is used ONLY on the "Naval copper alloys" cards (.naval-card). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0E2233;          /* header, hero, footer, quote section (design spec) */
  --navy-2: #163049;        /* cards and fields on navy */
  --navy-deep: #081622;     /* company strip and cookie banner only */
  --teal: #3FB5AC;          /* accent: buttons (navy text), rules, markers */
  --teal-light: #6FCFC6;    /* accent text on dark */
  --link: #1B7D75;          /* links on light. Spec #1E8C84 is 3.76:1 on #F3F6F7, so darkened to pass 4.5:1 */
  --surface: #F3F6F7;       /* light body sections */
  --white: #FFFFFF;
  --ink: #0E2233;           /* body text on light */
  --ink-2: #4A5B66;         /* secondary text on light */
  --line: #D3DDE1;          /* rules on light */
  --on-dark: #E8EEF1;       /* body text on navy */
  --on-dark-2: #B7C6CF;     /* secondary text on navy */
  --line-dark: rgba(111, 207, 198, 0.22);
  --bronze: #C8823F;        /* naval copper alloy cards only */
  --error: #B42318;
  /* heat-tint stripe */
  --ht1: #D9B25C; --ht2: #B07A4E; --ht3: #7A5AA6; --ht4: #3E6FB5; --ht5: #5BA8C9;
}

html { scroll-behavior: smooth; font-size: 17px; background: var(--navy-deep); }
body { font-family: 'Inter', system-ui, sans-serif; line-height: 1.6; background: var(--white); color: var(--ink); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--link); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0.5rem; z-index: 300; background: var(--teal); color: var(--navy); padding: 0.5rem 1rem; font-weight: 700; }
.skip-link:focus { left: 0.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Heat-tint stripe: five equal bands, once per page, under the header ── */
.heat-stripe { height: 5px; background: linear-gradient(90deg,
  var(--ht1) 0 20%, var(--ht2) 20% 40%, var(--ht3) 40% 60%, var(--ht4) 60% 80%, var(--ht5) 80% 100%); }

/* ── Type ── */
h1, h2, h3, h4 { font-family: 'Barlow Condensed', 'Inter', sans-serif; line-height: 1.05; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 900; color: var(--white); margin-bottom: 1rem; }
h1 em { font-style: normal; color: var(--teal-light); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--link); margin-bottom: 0.6rem; }
.section-intro { color: var(--ink-2); font-size: 1rem; max-width: 640px; margin-bottom: 2.25rem; }

/* ── Buttons ── */
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--teal); color: var(--navy); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.85rem 1.6rem; text-decoration: none; border-radius: 2px; border: 0; transition: background 0.2s; cursor: pointer; }
.btn-primary:hover { background: var(--teal-light); }
.btn-ghost { display: inline-flex; align-items: center; border: 1px solid rgba(183,198,207,0.5); color: var(--on-dark); font-size: 0.88rem; padding: 0.85rem 1.6rem; text-decoration: none; border-radius: 2px; transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: var(--teal-light); color: var(--white); }

/* ── Header ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(14,34,51,0.97); backdrop-filter: blur(8px); }
nav.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.7rem 2.5rem; }
/* Wordmark: static/logo.svg (outlined, scripts/gen_logo.py). NAB-SAB sizes its logo at 1.074rem tall. */
.brand { display: flex; align-items: center; min-height: 2.4rem; min-width: 0; text-decoration: none; }
.brand img { display: block; height: 1.15rem; width: auto; max-width: 100%; }
nav.site-nav > ul { list-style: none; display: flex; gap: 1.75rem; align-items: center; align-self: stretch; }
nav.site-nav > ul > li { display: flex; align-items: center; }
nav.site-nav ul a, .dropdown-toggle { text-decoration: none; color: var(--on-dark); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
nav.site-nav ul a:hover { color: var(--teal-light); }
.nav-cta { background: var(--teal) !important; color: var(--navy) !important; padding: 0.55rem 1.25rem; border-radius: 2px; font-weight: 700 !important; }
.nav-cta:hover { background: var(--teal-light) !important; }

.has-dropdown { position: relative; align-self: stretch; }
.dropdown-toggle { display: flex; align-items: center; gap: 0.35rem; background: none; border: 0; padding: 0 0.15rem; cursor: pointer; font-family: inherit; }
.dropdown-toggle .caret { font-size: 0.7em; transition: transform 0.15s; }
.has-dropdown:hover > .dropdown-toggle, .has-dropdown.open > .dropdown-toggle { color: var(--teal-light); }
.has-dropdown.open .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 0.9rem); left: 50%; transform: translateX(-50%); width: min(760px, 92vw); padding: 1.25rem 1.5rem; background: var(--navy); border: 1px solid var(--line-dark); border-top: 3px solid var(--teal); border-radius: 2px; z-index: 200; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1.75rem; visibility: hidden; opacity: 0; transition: opacity 0.15s ease, visibility 0s linear 0.15s; }
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; bottom: 100%; height: 1.1rem; }
@media (hover: hover) { .has-dropdown:hover > .dropdown { visibility: visible; opacity: 1; transition-delay: 0s; } }
.has-dropdown.open > .dropdown { visibility: visible; opacity: 1; transition-delay: 0s; }
.dd-col { display: flex; flex-direction: column; gap: 1rem; }
.dd-group-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 0.25rem; padding-left: 0.75rem; }
.dd-group ul { list-style: none; }
nav.site-nav .dropdown a { display: flex; align-items: center; min-height: 40px; padding: 0.35rem 0.75rem; color: var(--on-dark); font-size: 0.84rem; letter-spacing: 0.02em; text-transform: none; border-left: 2px solid transparent; }
nav.site-nav .dropdown a:hover, nav.site-nav .dropdown a:focus-visible { color: var(--white); background: rgba(63,181,172,0.12); border-left-color: var(--teal); outline: none; }

.nav-burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid rgba(183,198,207,0.4); border-radius: 2px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--on-dark); transition: transform 0.2s, opacity 0.2s; }
nav.site-nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.site-nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
nav.site-nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

[id] { scroll-margin-top: 6rem; }

/* ── Hero ── */
.hero { background: var(--navy); color: var(--on-dark); padding: 9.5rem 2.5rem 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 80% at 80% 45%, rgba(63,181,172,0.10) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; max-width: 780px; }
.hero-sub { font-size: 1.15rem; color: var(--teal-light); font-weight: 500; margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.05rem; color: var(--on-dark); max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.74rem; color: var(--on-dark-2); margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.08em; }
.breadcrumb a { color: var(--on-dark-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-light); }
/* Home hero eyebrow, as NAB-SAB's: thin accent bar, no box, letter-spaced capitals */
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light); border-left: 2px solid var(--teal-light); padding-left: 0.75rem; margin-bottom: 1.5rem; }
.badge { display: inline-block; border: 1px solid rgba(111,207,198,0.4); color: var(--teal-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 2px; margin-bottom: 1rem; }

/* ── USP strip ── */
.trust-bar { background: var(--navy-2); border-top: 1px solid var(--line-dark); padding: 0.95rem 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark); }
.trust-item svg { color: var(--teal); flex-shrink: 0; }

/* ── Light sections ── */
section.band { padding: 4.25rem 2.5rem; background: var(--white); }
section.band.alt { background: var(--surface); }
.prose { max-width: 800px; }
.prose p { color: var(--ink-2); font-size: 1rem; margin-bottom: 1rem; }
.prose p strong, .prose li strong { color: var(--ink); }
.prose.lead p { font-size: 1.08rem; color: var(--ink); }
.copy-list { list-style: none; display: grid; gap: 0.75rem; margin: 0.25rem 0 1.25rem; }
.copy-list li { position: relative; padding-left: 1.4rem; color: var(--ink-2); }
.copy-list li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 0.5rem; height: 0.5rem; background: var(--teal); border-radius: 1px; }

/* Range list as tiles */
#range .copy-list { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 1rem; max-width: 1100px; }
#range .copy-list li { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 1rem 1.1rem; color: var(--ink); font-weight: 500; }
#range .copy-list li::before { display: none; }
section.band:not(.alt)#range .copy-list li { background: var(--surface); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0.5rem 0 1.5rem; border: 1px solid var(--line); border-radius: 2px; background: var(--white); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table thead th { background: var(--navy); color: var(--white); text-align: left; font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.02em; padding: 0.75rem 1rem; border-bottom: 3px solid var(--teal); }
.data-table tbody th { text-align: left; font-weight: 600; color: var(--ink); padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; width: 38%; }
.data-table td { color: var(--ink); padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tbody tr:nth-child(even) > * { background: var(--surface); }
.data-table tbody tr:last-child > * { border-bottom: none; }

/* FAQ */
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--link); font-family: 'Inter', sans-serif; font-size: 1.3rem; transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 2rem 1.25rem 0; color: var(--ink-2); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.1rem; }
.mat-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 1.35rem 1.35rem 1.2rem; text-decoration: none; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.band:not(.alt) .mat-card { background: var(--surface); }
.mat-card:hover { border-color: var(--link); box-shadow: 0 6px 18px rgba(14,34,51,0.08); transform: translateY(-2px); }
.mat-card .mc-group { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.35rem; }
.mat-card h3 { font-size: 1.45rem; margin-bottom: 0.15rem; }
.mat-card .mc-uns { font-size: 0.85rem; font-weight: 600; color: var(--link); margin-bottom: 0.55rem; letter-spacing: 0.02em; }
.mat-card p { font-size: 0.9rem; color: var(--ink-2); flex: 1; }
.mat-card .mc-more { margin-top: 0.9rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }

/* Naval copper alloys: the only place bronze is used */
.naval-card { display: block; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--bronze); padding: 1.25rem 1.35rem; text-decoration: none; color: var(--ink); transition: box-shadow 0.2s, transform 0.2s; }
.band:not(.alt) .naval-card { background: var(--surface); }
.naval-card:hover { box-shadow: 0 6px 18px rgba(14,34,51,0.08); transform: translateY(-2px); }
.naval-card h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.naval-card p { font-size: 0.88rem; color: var(--ink-2); }
.naval-card .ext { margin-top: 0.7rem; display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }

/* Related links on material pages */
.related-groups { display: grid; gap: 2rem; }
.related-group h3 { font-size: 0.74rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.75rem; }
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.85rem; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 0.9rem 1.1rem; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color 0.2s; }
.band:not(.alt) .link-card { background: var(--surface); }
.link-card:hover { border-color: var(--link); color: var(--link); }
.link-card.naval-card { border-top: 1px solid var(--line); border-left: 4px solid var(--bronze); }
.link-card span[aria-hidden] { color: var(--link); }

/* Process / steps (made to drawing) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border: 1px solid var(--line); background: var(--white); }
.step { padding: 1.75rem; border-right: 1px solid var(--line); }
.step:last-child { border-right: none; }
.step-num { font-family: 'Barlow Condensed', sans-serif; font-size: 2.8rem; font-weight: 900; line-height: 1; color: var(--link); margin-bottom: 0.6rem; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: 0.92rem; color: var(--ink-2); }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.1rem; }
.cap-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 1.5rem; }
.band:not(.alt) .cap-card { background: var(--surface); }
.cap-card p { font-size: 0.93rem; color: var(--ink-2); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.doc-card { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal); padding: 1.25rem 1.4rem; font-size: 0.93rem; color: var(--ink-2); }
.band:not(.alt) .doc-card { background: var(--surface); }
.doc-card strong { display: block; color: var(--ink); margin-bottom: 0.25rem; }

/* Upload banner */
.upload-banner { background: var(--navy); padding: 2.75rem 2.5rem; }
.upload-banner-inner { max-width: 1100px; margin: 0 auto; border: 1px solid var(--line-dark); border-left: 4px solid var(--teal); background: var(--navy-2); padding: 1.75rem 2.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.upload-banner h2 { color: var(--white); font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 0.3rem; }
.upload-banner p { color: var(--on-dark); }

/* Trademark line: bottom of main content, small type */
.tm-line { background: var(--surface); border-top: 1px solid var(--line); padding: 1.25rem 2.5rem; }
.tm-line p { max-width: 1100px; margin: 0 auto; font-size: 0.8rem; line-height: 1.6; color: var(--ink-2); }

/* ── Quote / enquiry section (dark) ── */
.quote-section { background: var(--navy); color: var(--on-dark); padding: 4.5rem 2.5rem; border-top: 3px solid var(--teal); }
.quote-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 3.5rem; max-width: 1100px; margin: 0 auto; }
.quote-intro .section-label { color: var(--teal-light); }
.quote-intro h2 { color: var(--white); }
.quote-intro p { color: var(--on-dark); margin-bottom: 1.5rem; }
.contact-block { margin-bottom: 1rem; }
.clabel { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 0.15rem; }
.contact-block a, .contact-block span, .contact-block address { font-size: 0.95rem; color: var(--on-dark); text-decoration: none; font-style: normal; }
.contact-block a:hover { color: var(--teal-light); }

.chat-box { background: var(--navy); border: 1px solid var(--line-dark); border-radius: 4px; display: flex; flex-direction: column; overflow: hidden; }
.chat-contact { background: var(--navy-2); border-bottom: 1px solid var(--line-dark); padding: 0.95rem; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.85rem; }
.cfield { min-width: 0; }
.cfield select { width: 100%; text-overflow: ellipsis; }
.cfield { display: flex; flex-direction: column; gap: 0.35rem; }
.cfield label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.req { color: var(--teal-light); }
.cfield input, .cfield select { background: var(--white); color: var(--ink); border: 1px solid transparent; border-radius: 3px; font-family: 'Inter', sans-serif; font-size: 0.92rem; padding: 11px 13px; }
.cfield input::placeholder { color: #6B7A84; }
.cfield input:focus, .cfield select:focus { border-color: var(--teal); }
.chat-messages { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.9rem; min-height: 110px; max-height: 320px; overflow-y: auto; }
.cmsg { display: flex; gap: 0.65rem; align-items: flex-start; animation: fadeUp 0.2s ease; }
.cmsg.user { flex-direction: row-reverse; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.cav { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 0.66rem; font-weight: 700; }
.cav.bot { background: var(--teal); color: var(--navy); font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; }
.cav.you { background: var(--navy-2); color: var(--on-dark); border: 1px solid var(--line-dark); }
.cbubble { max-width: 82%; padding: 0.65rem 0.9rem; border-radius: 4px; font-size: 0.9rem; line-height: 1.6; }
.cmsg.bot .cbubble { background: var(--navy-2); color: var(--on-dark); border: 1px solid var(--line-dark); }
.cmsg.user .cbubble { background: var(--teal); color: var(--navy); font-weight: 500; }
.file-chip { background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: 4px; padding: 0.5rem 0.8rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--on-dark); max-width: 82%; }
.typing-dots { display: flex; gap: 3px; align-items: center; padding: 0.5rem 0.2rem; }
.typing-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--on-dark-2); animation: bounce 1.2s infinite; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce { 0%,60%,100% { transform: none; opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-input-area { border-top: 1px solid var(--line-dark); padding: 0.95rem; display: flex; flex-direction: column; gap: 0.6rem; background: var(--navy-2); }
.drop-zone { border: 1.5px dashed rgba(111,207,198,0.4); border-radius: 3px; padding: 0.65rem 0.9rem; display: flex; align-items: center; gap: 0.65rem; cursor: pointer; position: relative; transition: border-color 0.2s, background 0.2s; }
.drop-zone:hover, .drop-zone.drag-over { border-color: var(--teal-light); background: rgba(63,181,172,0.06); }
.drop-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop-zone svg { width: 22px; height: 22px; color: var(--teal-light); flex-shrink: 0; }
.drop-label { font-size: 0.84rem; color: var(--on-dark); }
.drop-label strong { color: var(--white); }
.drop-formats { font-size: 0.74rem; color: var(--on-dark-2); }
.form-secure { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.84rem; line-height: 1.5; color: var(--on-dark); }
.form-secure svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 0.1rem; color: var(--teal-light); }
.form-secure strong { color: var(--white); }
.form-secure a, .form-privacy a { color: var(--teal-light); white-space: nowrap; }
.file-attached { display: none; align-items: center; gap: 0.5rem; background: rgba(63,181,172,0.08); border: 1px solid var(--line-dark); border-radius: 3px; padding: 0.4rem 0.7rem; font-size: 0.84rem; color: var(--on-dark); }
.file-attached.on { display: flex; }
.file-attached svg, .file-chip svg { width: 17px; height: 17px; flex-shrink: 0; }
.file-attached button { margin-left: auto; background: none; border: none; color: var(--on-dark-2); cursor: pointer; font-size: 0.95rem; padding: 0 0.2rem; }
.send-row { display: flex; gap: 0.6rem; align-items: flex-end; }
#chat-input { flex: 1; background: var(--white); border: 1.5px solid transparent; border-radius: 3px; color: var(--ink); font-family: 'Inter', sans-serif; font-size: 0.92rem; padding: 0.65rem 0.85rem; resize: none; min-height: 120px; max-height: 240px; line-height: 1.5; }
#chat-input::placeholder { color: #6B7A84; }
#chat-input:focus { border-color: var(--teal); }
.send-btn { background: var(--teal); color: var(--navy); border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; padding: 0 1.1rem; height: 44px; border-radius: 3px; display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; transition: background 0.2s; }
.send-btn:hover { background: var(--teal-light); }
.send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.form-privacy { font-size: 0.8rem; color: var(--on-dark-2); }

/* ── Company strip + footer ── */
.company-strip { background: var(--navy-deep); border-top: 1px solid var(--line-dark); padding: 0.9rem 2.5rem; }
.company-strip p { max-width: 1100px; margin: 0 auto; text-align: center; font-size: 0.88rem; line-height: 1.6; color: var(--on-dark); }
.company-strip strong { color: var(--white); font-weight: 600; }
.company-strip .cs-item { white-space: nowrap; }
.company-strip .cs-sep { color: var(--on-dark-2); }
.company-strip a { color: var(--teal-light); text-decoration: none; border-bottom: 1px solid rgba(111,207,198,0.45); }
.company-strip a:hover { color: var(--white); }
.company-strip .cs-short { display: none; }

footer.site-footer { background: var(--navy); border-top: 1px solid rgba(232,238,241,0.08); padding: 2.25rem 2.5rem; color: var(--on-dark-2); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand img { height: 1.05rem; }
.footer-credit a { color: var(--teal-light); }
.footer-brand p, .footer-col p { font-size: 0.84rem; margin-top: 0.75rem; color: var(--on-dark-2); }
.footer-col h2 { font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 0.75rem; }
.footer-links { list-style: none; display: grid; gap: 0.4rem; }
.footer-links a, .footer-col a { font-size: 0.86rem; color: var(--on-dark); text-decoration: none; }
.footer-links a:hover, .footer-col a:hover { color: var(--teal-light); }
.footer-meta { max-width: 1100px; margin: 1.75rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(232,238,241,0.08); display: flex; flex-direction: column; gap: 0.35rem; }
.footer-copy { font-size: 0.76rem; color: var(--on-dark-2); line-height: 1.5; }
.footer-copy a { color: var(--on-dark); }

/* ── Cookie banner (built by the consent script in partials/head-common.html) ── */
.cc-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding: 1rem 2.5rem; background: var(--navy-deep); border-top: 2px solid var(--teal); color: var(--on-dark); font-size: 0.88rem; line-height: 1.5; }
.cc-banner[hidden] { display: none; }
.cc-text { max-width: 46rem; }
.cc-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.cc-btn { min-width: 7rem; height: 42px; padding: 0 1.1rem; border: 1px solid var(--teal); border-radius: 3px; background: transparent; color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.04em; cursor: pointer; transition: background 0.2s, color 0.2s; }
.cc-btn:hover, .cc-btn:focus-visible { background: var(--teal); color: var(--navy); }
.cc-link { color: var(--teal-light); }

/* ── Policy page / 404 ── */
.policy { max-width: 780px; }
.policy h2 { font-size: 1.7rem; margin: 2.25rem 0 0.7rem; }
.policy p, .policy li { color: var(--ink-2); }
.policy p { margin-bottom: 0.9rem; }
.policy ul { margin: 0 0 0.9rem 1.25rem; }
.policy li { margin-bottom: 0.35rem; }
.policy table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.policy th { font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; text-align: left; padding: 0.7rem 1rem; background: var(--navy); color: var(--white); border-bottom: 3px solid var(--teal); }
.policy td { padding: 0.7rem 1rem; color: var(--ink); border-bottom: 1px solid var(--line); vertical-align: top; }
.updated { color: var(--on-dark-2); font-size: 0.85rem; }

/* ── Responsive ── */
@media (max-width: 1080px) {
  nav.site-nav > ul { gap: 1.1rem; }
}
@media (max-width: 900px) {
  .quote-wrap { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  html { font-size: 16px; }
  nav.site-nav { padding: 0.6rem 1rem; }
  .nav-burger { display: flex; }
  nav.site-nav > ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0 1rem; background: var(--navy); border-bottom: 1px solid var(--line-dark); max-height: calc(100vh - 70px); overflow-y: auto; }
  nav.site-nav.menu-open > ul { display: flex; }
  nav.site-nav > ul > li { display: block; }
  nav.site-nav > ul > li > a { display: flex; align-items: center; min-height: 44px; padding: 0 1.25rem; }
  nav.site-nav > ul > li > a.nav-cta { display: inline-flex; margin: 0.9rem 1.25rem 0; }
  .has-dropdown { position: static; }
  .dropdown-toggle { pointer-events: none; min-height: 36px; width: 100%; padding: 0 1.25rem; margin-top: 0.5rem; color: var(--teal-light); font-size: 0.7rem; letter-spacing: 0.14em; }
  .dropdown-toggle .caret { display: none; }
  .dropdown, .has-dropdown.open > .dropdown { position: static; transform: none; width: auto; visibility: visible; opacity: 1; display: block; padding: 0 0 0 1rem; background: transparent; border: 0; transition: none; }
  .dropdown::before { display: none; }
  .dd-col { gap: 0.5rem; }
  .dd-group-label { margin: 0.6rem 0 0.1rem; color: var(--on-dark-2); }
  .hero { padding: 7.5rem 1rem 3rem; }
  section.band, .quote-section { padding: 3rem 1rem; }
  .trust-bar, .company-strip, .tm-line, footer.site-footer, .upload-banner { padding-left: 1rem; padding-right: 1rem; }
  .upload-banner-inner { padding: 1.5rem 1.25rem; }
  .cc-banner { padding: 1rem; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  nav.site-nav { gap: 0.75rem; }
  .brand img { height: auto; width: 100%; max-width: 19rem; }   /* scale down, never wrap (360 px check) */
  .nav-burger { flex-shrink: 0; }
  .contact-row { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .company-strip .cs-full { display: none; }
  .company-strip .cs-short { display: block; }
  .cap-grid { grid-template-columns: 1fr; }
  .data-table tbody th { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
