/* Epos Infinity — one stylesheet, no framework, no web fonts.
   The brand colours come from the Epos Infinity logo (brand/): its steel-navy loop and silver
   strokes. Change the --brand*, --navy* and --silver tokens, not the components.
   Light and dark: components only use the tokens below. Dark follows the device unless the visitor
   picks one with the header button, which sets <html data-theme> (assets/theme.js). */

:root {
  --ink: #101828;
  --ink-soft: #475467;
  --muted: #667085;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --brand: #2f5a82;
  --brand-dark: #233f5d;
  --brand-tint: #eaf1f7;
  --accent: #ff6a3d;
  --accent-tint: #fff1ec;
  --navy: #142638;
  --navy-soft: #c3cfdb;
  --silver: #8a8f96;
  --surface: #ffffff;
  --header-bg: rgba(255,255,255,.95);
  --field-line: #cfd4dc;
  --hair: rgba(16,24,40,.07);
  --btn: #2f5a82;
  --btn-hover: #233f5d;
  --wordmark: #233f5d;
  --ok: #12b76a;
  --ok-tint: #e8f8f0;
  --done-bg: #ecfdf3;
  --done-line: #abefc6;
  --done-ink: #067647;
  --done-head: #054f31;
  --err: #b42318;
  --err-line: #d92d20;
  --soon-ink: #c2410c;
  --art-shadow: rgba(16,24,40,.16);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px -8px rgba(16,24,40,.12);
  --shadow-lg: 0 24px 48px -16px rgba(16,24,40,.22);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
/* The same dark tokens twice: once for "follow the device", once for the visitor's own choice. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #e8edf3;
    --ink-soft: #b4bfcc;
    --muted: #8d99a8;
    --line: #263446;
    --bg: #0d1724;
    --bg-soft: #122031;
    --brand: #8fb6dc;
    --brand-dark: #b5d0ea;
    --brand-tint: #17304a;
    --accent: #ff7a50;
    --accent-tint: #3a2119;
    --navy: #08111b;
    --navy-soft: #a9b7c6;
    --silver: #a3acb6;
    --surface: #13202f;
    --header-bg: rgba(13,23,36,.92);
    --field-line: #34465b;
    --hair: rgba(255,255,255,.08);
    --btn: #3c6b98;
    --btn-hover: #4b7cab;
    --wordmark: #e8edf3;
    --ok: #3ccb8a;
    --ok-tint: #10301f;
    --done-bg: #0f2a1d;
    --done-line: #1d5b3c;
    --done-ink: #7ee2ac;
    --done-head: #a8f0c8;
    --err: #ff8a80;
    --err-line: #ff6b5e;
    --soon-ink: #ffab8a;
    --art-shadow: rgba(0,0,0,.45);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
    --shadow-lg: 0 24px 48px -16px rgba(0,0,0,.6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8edf3;
  --ink-soft: #b4bfcc;
  --muted: #8d99a8;
  --line: #263446;
  --bg: #0d1724;
  --bg-soft: #122031;
  --brand: #8fb6dc;
  --brand-dark: #b5d0ea;
  --brand-tint: #17304a;
  --accent: #ff7a50;
  --accent-tint: #3a2119;
  --navy: #08111b;
  --navy-soft: #a9b7c6;
  --silver: #a3acb6;
  --surface: #13202f;
  --header-bg: rgba(13,23,36,.92);
  --field-line: #34465b;
  --hair: rgba(255,255,255,.08);
  --btn: #3c6b98;
  --btn-hover: #4b7cab;
  --wordmark: #e8edf3;
  --ok: #3ccb8a;
  --ok-tint: #10301f;
  --done-bg: #0f2a1d;
  --done-line: #1d5b3c;
  --done-ink: #7ee2ac;
  --done-head: #a8f0c8;
  --err: #ff8a80;
  --err-line: #ff6b5e;
  --soon-ink: #ffab8a;
  --art-shadow: rgba(0,0,0,.45);
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -8px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 48px -16px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; justify-content: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 20; }
.ico { width: 24px; height: 24px; flex: none; }
.ico-sm { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 65px; height: 40px; }
.brand-name { font-size: 1.32rem; letter-spacing: -.01em; color: var(--wordmark); white-space: nowrap; }
.brand-name b { font-weight: 800; }
.brand-name span { font-weight: 300; color: var(--silver); }
.nav { display: flex; gap: 26px; align-items: center; flex: 1; }
.nav > a, .menu-btn { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav > a:hover, .menu-btn:hover { color: var(--brand); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.nav .btn { color: #fff; }
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-soft); cursor: pointer; padding: 0; }
.theme-btn:hover { color: var(--brand); border-color: var(--brand); }
.theme-btn .ico { width: 20px; height: 20px; }
/* Shows the theme you would switch to. */
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}

/* Products menu */
.menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; padding: 8px 0; font-family: inherit; cursor: pointer; }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mega { display: none; position: absolute; top: calc(100% + 14px); left: -40px; width: min(1020px, calc(100vw - 40px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 24px; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 20px; }
.menu.open .mega { display: grid; }
.mega-intro { background: var(--brand-tint); border-radius: var(--radius-sm); padding: 20px; }
.mega-intro p { color: var(--ink-soft); font-size: .92rem; }
.mega-intro a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .92rem; text-decoration: none; }
.mega-title { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.mega-intro .mega-title { color: var(--brand); }
.mega-link { display: flex; gap: 12px; padding: 10px; margin: 0 -10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.mega-link:hover { background: var(--bg-soft); color: var(--ink); }
.mega-link .ico { color: var(--brand); margin-top: 2px; }
.mega-link strong { display: block; font-size: .95rem; }
.mega-link small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.soon { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: var(--accent-tint); color: var(--soon-ink); padding: 2px 7px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; }

@media (max-width: 1080px) {
  .nav-phone { display: none; }
}
/* Phones: the header keeps the logo, theme and call buttons; the nav moves to an app-style tab bar
   at the bottom, and Products opens a sheet from it. */
.tabbar, .head-call { display: none; }
.sheet[hidden] { display: none; }
@media (max-width: 920px) {
  .nav { display: none; }
  .theme-btn { margin-left: auto; }
  .theme-btn, .head-call { width: 44px; height: 44px; border-radius: 12px; }
  .head-call { display: inline-flex; align-items: center; justify-content: center; flex: none;
    border-radius: 12px; background: var(--btn); color: #fff; }
  .head-call:hover { background: var(--btn-hover); color: #fff; }
  .head-call .ico { width: 21px; height: 21px; }
  .site-header > .wrap { gap: 10px; }

  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
    background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; padding: 2px;
    background: none; border: 0; font: inherit; font-size: .7rem; font-weight: 600; line-height: 1.15; text-align: center;
    color: var(--muted); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .tab .ico { width: 23px; height: 23px; }
  .tab:hover { color: var(--ink); }
  .tab[aria-current="page"], .tab.active, .tab[aria-expanded="true"] { color: var(--brand); }
  .tab[aria-current="page"] .ico, .tab.active .ico, .tab[aria-expanded="true"] .ico { stroke-width: 2.2; }

  .sheet { position: fixed; inset: 0; z-index: 25; }
  .sheet-backdrop { position: absolute; inset: 0; background: rgba(8,17,27,.45); animation: sheet-fade .2s ease-out; }
  .sheet-panel { position: absolute; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); max-height: calc(100% - 140px);
    overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border-radius: 20px 20px 0 0;
    border: 1px solid var(--line); border-bottom: 0; box-shadow: var(--shadow-lg); padding: 6px 20px 20px; animation: sheet-up .24s ease-out; }
  .sheet-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: -6px; z-index: 1;
    background: var(--bg); padding: 12px 0 8px; margin-bottom: 4px; }
  .sheet-title { margin: 0; font-weight: 800; font-size: 1.1rem; }
  .sheet-close { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
  .sheet-close .ico { width: 20px; height: 20px; }
  .sheet .mega-title { margin: 14px 0 2px; }
  .sheet-cta { width: 100%; margin-top: 18px; }
  body.sheet-open { overflow: hidden; }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-fade { from { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px;
  background: var(--btn); color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem; font-family: inherit;
  border: 2px solid var(--btn); cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 28px; font-size: 1.04rem; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; border-color: #fff; color: #142638; }
.btn-light:hover { background: #e3ebf3; border-color: #e3ebf3; color: #142638; }
.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.ghost-light:hover { border-color: #fff; background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 72px; background:
  radial-gradient(900px 420px at 85% 10%, var(--brand-tint), transparent 70%),
  radial-gradient(600px 300px at 5% 100%, var(--accent-tint), transparent 70%), var(--bg); }
.hero > .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy:only-child { grid-column: 1 / -1; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.badge { background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }
.hl { color: var(--brand); }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 38em; margin-bottom: 28px; }
.hero-note { color: var(--muted); font-size: .94rem; margin: 18px 0 0; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 40px var(--art-shadow)); }
@media (max-width: 900px) {
  .hero { padding: 44px 0 48px; }
  .hero > .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 520px; }
}

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--bg); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 34px; justify-content: center;
  color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .ico-sm { color: var(--ok); stroke-width: 2.6; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding-top: 24px; }
section.alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.12rem; margin: 0; }
@media (max-width: 760px) { section { padding: 60px 0; } .section-head { margin-bottom: 32px; } }

/* Alternating picture + copy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.flip .split-art { order: -1; }
.split-copy .lead { margin-bottom: 20px; }
.split-art img { width: 100%; border-radius: var(--radius); }
.ticks { list-style: none; margin: 0 0 20px; padding: 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; color: var(--ink-soft); }
.ticks .ico-sm { color: var(--ok); margin-top: 4px; stroke-width: 2.6; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .split-art { order: 0; }
}

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.features.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature h3 { margin-top: 16px; }
.feature p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.feature-ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features, .features.cols-2 { grid-template-columns: 1fr; } }

/* Outcome columns (home) */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome { border-radius: var(--radius); padding: 30px; background: var(--bg-soft); border: 1px solid var(--line); }
.outcome:nth-child(1) { background: linear-gradient(180deg, var(--brand-tint), var(--surface)); }
.outcome:nth-child(2) { background: linear-gradient(180deg, var(--accent-tint), var(--surface)); }
.outcome:nth-child(3) { background: linear-gradient(180deg, var(--ok-tint), var(--surface)); }
.outcome p { color: var(--ink-soft); }
.outcome ul { list-style: none; margin: 0; padding: 0; }
.outcome li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--hair); font-weight: 600; font-size: .97rem; }
.outcome li .ico-sm { color: var(--brand); }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr; } }

.platform-art { width: 100%; margin: 0 auto; }

/* Product cards */
.product-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.product-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.product-card h3 { margin: 16px 0 6px; }
.product-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.product-card .more { color: var(--brand); font-size: .94rem; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 20px; height: 20px; color: var(--muted); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq-a { padding: 0 4px 20px; color: var(--ink-soft); }
.faq-a p { margin: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 72px 0;
  background-image: radial-gradient(700px 300px at 90% 0%, rgba(74,112,150,.55), transparent 70%); }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { color: var(--navy-soft); margin: 0; max-width: 40em; font-size: 1.08rem; }

/* Who it's for */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding-top: 28px; padding-bottom: 8px; }
.chips a { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.chips a:hover { border-color: var(--brand); color: var(--brand); }
.segment { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.seg-ico { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: var(--brand-tint); color: var(--brand); margin-bottom: 18px; }
.segment .product-cards { grid-template-columns: 1fr; gap: 12px; }
.segment .product-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 18px 20px; }
.segment .product-card h3 { margin: 0; }
.segment .product-card p { flex-basis: 100%; margin: 0; padding-left: 58px; }
.segment .product-card .more { display: none; }
@media (max-width: 900px) { .segment { grid-template-columns: 1fr; gap: 24px; } }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.package.featured { border: 2px solid var(--btn); box-shadow: var(--shadow-lg); }
.package h2 { font-size: 1.9rem; margin-bottom: 8px; }
.package > p { color: var(--ink-soft); }
.package .ticks { flex: 1; margin-bottom: 24px; }
.pkg-tag { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.package.featured .pkg-tag { color: var(--accent); }
.included { list-style: none; padding: 22px 0 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: center;
  border-top: 1px solid var(--line); color: var(--ink-soft); font-weight: 600; }
.included li { display: inline-flex; gap: 8px; align-items: center; }
.included .ico-sm { color: var(--ok); stroke-width: 2.6; }
@media (max-width: 900px) { .packages { grid-template-columns: 1fr; } }

/* Contact + form */
.contact-hero { padding: 64px 0 88px; background: radial-gradient(900px 420px at 0% 0%, var(--brand-tint), transparent 70%), var(--bg); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-list { margin: 28px 0 0; }
.contact-list dt { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 18px; color: var(--ink); }
.contact-list dt .ico-sm { color: var(--brand); }
.contact-list dd { margin: 2px 0 0 26px; color: var(--ink-soft); }
.contact-list a { font-weight: 700; overflow-wrap: anywhere; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } .form-card { padding: 22px; } }

.enquiry { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.enquiry label { display: grid; gap: 6px; font-weight: 600; font-size: .93rem; color: var(--ink); }
.enquiry input:not([type="checkbox"]), .enquiry select, .enquiry textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; padding: 11px 13px; border: 1px solid var(--field-line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink); }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.enquiry [aria-invalid="true"] { border-color: var(--err-line) !important; }
.enquiry fieldset { border: 0; margin: 0; padding: 0; }
.enquiry legend { font-weight: 600; font-size: .93rem; margin-bottom: 8px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } }
.enquiry .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-soft); }
.enquiry .check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--brand); flex: none; }
.enquiry .consent { font-size: .9rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-status { margin: 0; font-weight: 600; }
.form-status.ok { color: var(--done-ink); }
.form-status.err { color: var(--err); }
.form-fallback { font-size: .9rem; color: var(--muted); margin: 0; }
.enquiry.sent .form-grid, .enquiry.sent fieldset, .enquiry.sent > label, .enquiry.sent .form-foot .btn { display: none; }
.form-done { background: var(--done-bg); border: 1px solid var(--done-line); border-radius: var(--radius-sm); padding: 20px; color: var(--done-ink); }
.form-done h3 { color: var(--done-head); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-soft); padding: 64px 0 36px; font-size: .94rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
/* The loop's navy disappears on the footer navy, so the mark sits on a white tile. */
.foot-brand .brand img { box-sizing: content-box; background: #fff; border-radius: 10px; padding: 6px 8px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-name span { color: #b9c1ca; }
.foot-brand p { margin: 16px 0 0; max-width: 32em; }
.foot-title { color: #fff; font-weight: 700; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px; font-size: .86rem; }
.foot-legal p { margin: 0 0 6px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- Legal and 404 ---------- */
.legal { padding: 56px 0 88px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.legal h3 { font-size: 1.06rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal li { margin: 6px 0; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 6px 18px; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 16px 20px; margin: 24px 0 8px; }
.legal .toc a { font-weight: 600; font-size: .94rem; text-decoration: none; }
.not-found { padding: 120px 0; }
.not-found .lead { margin-left: auto; margin-right: auto; }
.nf-links { margin-top: 40px; color: var(--muted); font-size: .94rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
