/* getcyberfits.co.uk: the look of cyberfits.co.uk (palette and Montserrat from the Cyber Fits
   Brand Style Guide, June 2025), taken from that site's stylesheet. Light only, as on cyberfits.co.uk. */
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
    --navy: #00091F;
    --navy-2: #06173A;
    --navy-3: #0B2150;
    --blue: #0086EE;
    --blue-deep: #004AAD;
    --blue-ink: #0062C4;
    --sky: #E3F0FF;
    --sky-2: #EEF5FF;
    --cyan: #3AC6FF;
    --ice: #F6FAFF;
    --ink: #0B1220;
    --slate: #4F5B6E;
    --muted: #8A97AB;
    --line: #E3E9F2;
    --soft: #A9BBD6;
    --danger: #C62828;
    --radius: 18px;
    --gut: max(16px, calc((100vw - 1240px) / 2));
    --read: 740px;
    --grad: linear-gradient(135deg, #0086EE 0%, #004AAD 100%);
    --shadow-sm: 0 1px 2px rgba(0, 9, 31, .06), 0 2px 8px rgba(0, 9, 31, .05);
    --shadow-lg: 0 30px 60px rgba(0, 9, 31, .16);
    color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Montserrat, Arial, Helvetica, sans-serif; color: var(--ink); background: var(--ice); line-height: 1.6; -webkit-font-smoothing: antialiased; font-size: 16px; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.4px; }
h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; margin: 0 0 20px; letter-spacing: -1px; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin: 0 0 14px; letter-spacing: -0.6px; }
.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.topbar :focus-visible, .header :focus-visible, .page-head :focus-visible, .footer :focus-visible { outline-color: var(--cyan); }
.muted { color: var(--muted); }

/* Eyebrow with its short gradient line */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.page-head .eyebrow { color: var(--cyan); }
.page-head .eyebrow::before { background: linear-gradient(90deg, var(--cyan), #0086EE); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; line-height: 1.2; background: linear-gradient(135deg, #3AC6FF 0%, #0086EE 45%, #004AAD 100%); color: #fff; box-shadow: 0 8px 24px rgba(0, 134, 238, .45); }
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0, 134, 238, .45); }
.button.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px currentColor; }
.page-head .button.ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.page-head .button.ghost:hover { background: rgba(255, 255, 255, .14); }
.button.sm { padding: 10px 18px; font-size: 14px; }
.button.navy { background: var(--navy); color: #fff; box-shadow: none; }

/* Top bar and header */
.topbar { background: #000614; color: var(--soft); font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #7CC6FF; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
@media (max-width: 560px) { .topbar .hide-sm { display: none; } }

.header { position: relative; z-index: 50; background: rgba(0, 9, 31, .94); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 46px; width: auto; display: block; }
.mainnav { display: none; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.mainnav a { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; color: #DCE7F7; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.mainnav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.header-cta { display: none; align-items: center; gap: 10px; }
.header-phone { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; }
.header-phone svg { color: var(--cyan); }
.tablet-cta { display: none; }
@media (min-width: 560px) and (max-width: 1099px) { .tablet-cta { display: inline-flex; margin-left: auto; } }

/* Phone menu: a details element in place of the brand site's script menu */
.burger { position: static; }
.burger summary { list-style: none; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); cursor: pointer; color: #fff; }
.burger summary::-webkit-details-marker { display: none; }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px 16px 24px; box-shadow: var(--shadow-lg); }
.mobile-nav a { display: block; padding: 16px 4px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); }
.mobile-nav .button { display: flex; margin-top: 16px; border: 0; font-size: 15px; padding: 14px 24px; }
@media (min-width: 1100px) { .mainnav, .header-cta { display: flex; } .burger { display: none; } }

/* Page hero (inner pages): navy with the CF pattern and the light strands */
.page-head { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 15%, #0B2150 0%, #06173A 35%, var(--navy) 72%); color: #fff; padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 84px); }
.page-head::before { content: ""; position: absolute; inset: 0; background: url(/assets/cyber-fits/cf-pattern.png) 0 0 / 56px 56px repeat; opacity: .04; pointer-events: none; mask-image: linear-gradient(115deg, #000 0%, transparent 65%); -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 65%); }
.page-head::after { content: ""; position: absolute; right: -140px; top: 0; width: 820px; height: 100%; background: url(/assets/cyber-fits/strands.svg) right center / cover no-repeat; opacity: .5; pointer-events: none; }
.page-head > * { position: relative; z-index: 1; }
.page-head .ph-copy { max-width: 900px; }
.page-head h1 { color: #fff; font-size: clamp(32px, 4.8vw, 54px); }
.page-head p { color: var(--soft); max-width: 760px; }
.page-head .lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.page-head .lead strong { color: #fff; }
.page-head a:not(.button) { color: #7CC6FF; font-weight: 700; }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0 0; }

/* Sections and cards */
.sec { padding-top: clamp(44px, 5vw, 70px); padding-bottom: clamp(44px, 5vw, 70px); }
.grid { display: grid; gap: 20px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.card::after { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--cyan), #0086EE, #4F7BFF); }
.card h2 { font-size: 24px; }
.card p, .card dd { color: var(--slate); font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
.card a:not(.button) { color: var(--blue-ink); font-weight: 700; }
.card.narrow { max-width: 760px; }
.card.feature { background: var(--navy); border-color: var(--navy); color: #fff; }
.card.feature::after { display: none; }
.card.feature h2 { color: #fff; }
.card.feature dd { color: #fff; }
.card.feature a:not(.button) { color: #7CC6FF; }
.details { display: grid; gap: 2px; margin: 0; }
.details dt { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue-ink); margin-top: 14px; }
.details dt:first-child { margin-top: 0; }
.card.feature .details dt { color: var(--cyan); }
.details dd { margin: 0; font-weight: 600; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }

/* Long text */
.prose { max-width: var(--read); font-size: 17px; line-height: 1.75; color: #1D2738; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 44px 0 14px; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 18px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue-ink); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .row { grid-template-columns: repeat(3, 1fr); } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.form label { display: block; font-weight: 600; font-size: 14px; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--slate); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
input[type=text], select, textarea { display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 16px; font-weight: 400; padding: 13px 14px; border: 1.5px solid #CCD6E4; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input.short { max-width: 220px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 134, 238, .15); }
textarea { min-height: 130px; resize: vertical; }
.consent { font-size: 14px; color: var(--slate); background: var(--sky-2); border-radius: 14px; padding: 16px 18px; margin: 0; }
.errors { padding: 16px 18px; border-radius: 14px; font-size: 15px; margin-bottom: 18px; background: #FDECEC; color: #8E1C1C; border: 1px solid #F5C6C6; }
.errors p { margin-bottom: 6px; }
.errors ul { margin: 0; padding-left: 20px; }

/* Footer */
.footer { background: var(--navy); color: var(--soft); font-size: 14.5px; padding-top: 72px; }
.footer a { color: #E4ECF8; text-decoration: none; }
.footer a:hover { color: #7CC6FF; }
.footer-top { display: grid; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .footer-top { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); } }
.footer h2 { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .logo img { height: 52px; margin-bottom: 18px; }
.footer-contact { display: grid; gap: 10px; margin-top: 18px; }
.footer-contact a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
.footer-bottom { padding: 24px 0 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; }
.footer-bottom p { margin: 0; max-width: 760px; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* Sticky call bar on phones, as on cyberfits.co.uk */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
.mobile-bar .button { padding: 12px 10px; font-size: 14px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 72px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
