/*
Theme Name: CoverPilot
Theme URI: https://coverpilot.co.uk/
Author: CoverPilot Limited
Author URI: https://coverpilot.co.uk/
Description: A lightweight, responsive WordPress theme for CoverPilot, a specialist motor and fleet insurance brand. Includes pre-authorisation safeguards, enquiry forms, accessibility features and automatic starter-page creation.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coverpilot
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, responsive-layout, insurance, business
*/

:root {
  --cp-navy: #092b52;
  --cp-navy-2: #0f3f73;
  --cp-blue: #1b67b2;
  --cp-sky: #eaf4ff;
  --cp-orange: #f57c19;
  --cp-orange-dark: #d95f00;
  --cp-ink: #16243a;
  --cp-muted: #5d6a7e;
  --cp-line: #dce5ef;
  --cp-soft: #f5f8fb;
  --cp-white: #ffffff;
  --cp-success: #177245;
  --cp-danger: #9c2f2f;
  --cp-shadow: 0 18px 55px rgba(9, 43, 82, .12);
  --cp-radius: 20px;
  --cp-radius-sm: 12px;
  --cp-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cp-ink);
  background: var(--cp-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
img, svg { max-width: 100%; height: auto; }
a { color: var(--cp-blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--cp-orange-dark); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto; height: auto;
  top: 12px; left: 12px;
  padding: 10px 14px;
  z-index: 100000;
  background: #fff;
  color: var(--cp-navy);
  border-radius: 8px;
  box-shadow: var(--cp-shadow);
}
:focus-visible { outline: 3px solid rgba(245,124,25,.55); outline-offset: 3px; }

.cp-container { width: min(calc(100% - 40px), var(--cp-max)); margin-inline: auto; }
.cp-narrow { width: min(calc(100% - 40px), 840px); margin-inline: auto; }
.cp-section { padding: 88px 0; }
.cp-section--soft { background: var(--cp-soft); }
.cp-section--navy { background: var(--cp-navy); color: #fff; }
.cp-section--tight { padding: 56px 0; }
.cp-grid { display: grid; gap: 28px; }
.cp-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.cp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cp-orange-dark);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 14px;
}
.cp-kicker::before { content: ""; width: 28px; height: 3px; background: var(--cp-orange); border-radius: 999px; }
.cp-section-title { margin: 0 0 16px; color: var(--cp-navy); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -.035em; }
.cp-section--navy .cp-section-title { color: #fff; }
.cp-lead { font-size: 1.15rem; color: var(--cp-muted); max-width: 760px; }
.cp-section--navy .cp-lead { color: #d6e6f5; }
.cp-centre { text-align: center; }
.cp-centre .cp-lead { margin-inline: auto; }

.cp-status-bar {
  background: #fff5e8;
  color: #6b3a0d;
  border-bottom: 1px solid #f6d2ac;
  font-size: .91rem;
  font-weight: 650;
}
.cp-status-bar .cp-container { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 0; text-align: center; }
.cp-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cp-orange); flex: 0 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,229,239,.9);
}
.site-header__inner { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; flex: 0 0 auto; }
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 52px; width: auto; }
.cp-logo { display: inline-flex; align-items: center; gap: 11px; color: var(--cp-navy); text-decoration: none; }
.cp-logo__mark { width: 47px; height: 47px; }
.cp-logo__word { font-size: 1.72rem; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.cp-logo__word span { color: var(--cp-orange); }
.cp-logo__tagline { display: block; margin-top: 5px; font-size: .66rem; color: var(--cp-muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.main-navigation { display: flex; align-items: center; gap: 26px; }
.main-navigation ul { list-style: none; display: flex; align-items: center; gap: 26px; padding: 0; margin: 0; }
.main-navigation a { color: var(--cp-ink); text-decoration: none; font-weight: 720; font-size: .94rem; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--cp-orange-dark); }
.cp-header-cta { margin-left: 6px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--cp-navy); padding: 10px; border-radius: 8px; }
.menu-toggle svg { width: 28px; height: 28px; display: block; }

.cp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--cp-orange);
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
  box-shadow: 0 10px 25px rgba(245,124,25,.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cp-button:hover { background: var(--cp-orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(245,124,25,.29); }
.cp-button--secondary { background: transparent; border-color: rgba(255,255,255,.5); box-shadow: none; color: #fff; }
.cp-button--secondary:hover { background: #fff; color: var(--cp-navy); border-color: #fff; }
.cp-button--outline { background: #fff; color: var(--cp-navy); border-color: var(--cp-line); box-shadow: none; }
.cp-button--outline:hover { color: var(--cp-navy); background: var(--cp-sky); border-color: #bdd9f6; }
.cp-button--small { min-height: 42px; padding: 9px 17px; font-size: .9rem; }
.cp-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 30px; }

.cp-hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 20%, rgba(42,128,209,.33), transparent 28%),
    linear-gradient(128deg, #061f3d 0%, #0a3768 58%, #125598 100%);
  color: #fff;
}
.cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, #000, transparent 85%);
}
.cp-hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 44px; padding: 96px 0; }
.cp-hero h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .98; letter-spacing: -.055em; max-width: 760px; }
.cp-hero h1 span { color: var(--cp-orange); }
.cp-hero__copy { margin: 24px 0 0; max-width: 650px; font-size: 1.24rem; color: #d8e8f8; }
.cp-hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 18px; padding: 0; margin: 28px 0 0; }
.cp-hero__points li { display: flex; align-items: center; gap: 9px; font-weight: 720; font-size: .96rem; }
.cp-check { width: 23px; height: 23px; border-radius: 50%; background: rgba(245,124,25,.18); color: #ffad66; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.cp-check svg { width: 14px; height: 14px; }
.cp-hero-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px;
  padding: 26px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(15px);
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
}
.cp-hero-card__screen { background: #fff; border-radius: 22px; padding: 25px; color: var(--cp-ink); }
.cp-hero-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--cp-line); }
.cp-mini-logo { display: flex; align-items: center; gap: 9px; font-weight: 900; color: var(--cp-navy); }
.cp-mini-logo svg { width: 34px; }
.cp-badge { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: #fff5e8; color: #8a480d; padding: 7px 11px; font-size: .73rem; font-weight: 800; }
.cp-route { position: relative; padding: 28px 0 14px 34px; }
.cp-route::before { content: ""; position: absolute; left: 11px; top: 35px; bottom: 24px; width: 3px; background: linear-gradient(var(--cp-blue), var(--cp-orange)); border-radius: 999px; }
.cp-route__item { position: relative; margin-bottom: 24px; }
.cp-route__item::before { content: ""; position: absolute; left: -31px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: #fff; border: 5px solid var(--cp-blue); box-shadow: 0 0 0 4px #e9f3fc; }
.cp-route__item:last-child::before { border-color: var(--cp-orange); }
.cp-route__item strong { display: block; color: var(--cp-navy); }
.cp-route__item span { color: var(--cp-muted); font-size: .88rem; }
.cp-hero-card__footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; padding: 16px 18px; border-radius: 14px; background: var(--cp-soft); }
.cp-hero-card__footer strong { color: var(--cp-navy); font-size: .9rem; }
.cp-hero-card__footer span { color: var(--cp-muted); font-size: .78rem; }
.cp-orbit { position: absolute; width: 175px; height: 175px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; right: -55px; top: -50px; }
.cp-orbit::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--cp-orange); left: 15px; bottom: 27px; box-shadow: 0 0 0 8px rgba(245,124,25,.14); }

.cp-trust-strip { border-bottom: 1px solid var(--cp-line); background: #fff; }
.cp-trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.cp-trust-item { display: flex; align-items: center; gap: 13px; padding: 23px 25px; border-right: 1px solid var(--cp-line); }
.cp-trust-item:first-child { border-left: 1px solid var(--cp-line); }
.cp-trust-item svg { width: 29px; height: 29px; color: var(--cp-orange); flex: 0 0 auto; }
.cp-trust-item strong { display: block; color: var(--cp-navy); font-size: .92rem; }
.cp-trust-item span { display: block; color: var(--cp-muted); font-size: .77rem; }

.cp-card {
  background: #fff;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  padding: 28px;
  box-shadow: 0 8px 35px rgba(9,43,82,.055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cp-card:hover { transform: translateY(-5px); border-color: #bcd5ec; box-shadow: var(--cp-shadow); }
.cp-card__icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--cp-sky); color: var(--cp-blue); margin-bottom: 20px; }
.cp-card__icon svg { width: 30px; height: 30px; }
.cp-card h3 { margin: 0 0 10px; color: var(--cp-navy); font-size: 1.35rem; line-height: 1.25; }
.cp-card p { margin: 0 0 19px; color: var(--cp-muted); }
.cp-card__link { font-weight: 820; text-decoration: none; color: var(--cp-navy); }
.cp-card__link span { color: var(--cp-orange); margin-left: 5px; }

.cp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cp-feature-panel { position: relative; min-height: 470px; border-radius: 30px; overflow: hidden; background: linear-gradient(145deg, var(--cp-navy), var(--cp-blue)); box-shadow: var(--cp-shadow); }
.cp-feature-panel::before { content: ""; position: absolute; width: 300px; height: 300px; border: 70px solid rgba(255,255,255,.06); border-radius: 50%; right: -110px; top: -100px; }
.cp-feature-panel__road { position: absolute; left: 50%; bottom: -90px; width: 290px; height: 580px; transform: translateX(-50%) perspective(600px) rotateX(40deg); background: #17314a; clip-path: polygon(37% 0,63% 0,100% 100%,0 100%); }
.cp-feature-panel__road::before { content: ""; position: absolute; left: 50%; top: 4%; bottom: 0; width: 8px; transform: translateX(-50%); background: repeating-linear-gradient(to bottom, #fff 0 30px, transparent 30px 68px); }
.cp-feature-panel__road::after { content: ""; position: absolute; inset: 0; border-left: 7px solid var(--cp-orange); border-right: 7px solid var(--cp-orange); }
.cp-feature-panel__shield { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-62%); width: 145px; height: 170px; background: #fff; clip-path: polygon(50% 0,94% 17%,86% 72%,50% 100%,14% 72%,6% 17%); display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 22px 25px rgba(0,0,0,.25)); }
.cp-feature-panel__shield svg { width: 74px; height: 74px; color: var(--cp-orange); }
.cp-feature-panel__caption { position: absolute; left: 24px; right: 24px; bottom: 24px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.94); color: var(--cp-navy); display: flex; align-items: center; gap: 13px; font-weight: 800; }
.cp-feature-panel__caption svg { width: 28px; color: var(--cp-orange); }
.cp-tick-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.cp-tick-list li { display: flex; align-items: flex-start; gap: 12px; }
.cp-tick-list .cp-check { margin-top: 2px; background: #e8f6ef; color: var(--cp-success); }
.cp-tick-list strong { color: var(--cp-navy); }

.cp-steps { counter-reset: cpstep; }
.cp-step { position: relative; padding: 28px 24px 26px 84px; border-left: 1px solid var(--cp-line); }
.cp-step:last-child { border-left-color: transparent; }
.cp-step::before { counter-increment: cpstep; content: counter(cpstep); position: absolute; left: -27px; top: 20px; width: 54px; height: 54px; border-radius: 50%; background: var(--cp-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; border: 7px solid var(--cp-soft); }
.cp-step h3 { margin: 0 0 7px; color: var(--cp-navy); }
.cp-step p { margin: 0; color: var(--cp-muted); }

.cp-cta {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 58px;
  background: linear-gradient(130deg, var(--cp-navy), var(--cp-blue));
  color: #fff;
  box-shadow: var(--cp-shadow);
}
.cp-cta::after { content: ""; position: absolute; width: 320px; height: 320px; border: 65px solid rgba(255,255,255,.06); border-radius: 50%; right: -120px; top: -150px; }
.cp-cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cp-cta h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.08; letter-spacing: -.035em; }
.cp-cta p { margin: 0; color: #d7e8f8; max-width: 690px; }
.cp-cta .cp-actions { margin-top: 0; flex: 0 0 auto; }

.cp-page-hero { padding: 88px 0 72px; background: linear-gradient(135deg, #061f3d, #0f4a86); color: #fff; }
.cp-page-hero .cp-kicker { color: #ffb271; }
.cp-page-hero h1 { margin: 0 0 18px; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -.05em; max-width: 850px; }
.cp-page-hero p { max-width: 760px; margin: 0; color: #d6e6f5; font-size: 1.18rem; }
.cp-breadcrumbs { font-size: .85rem; color: #bed1e5; margin-bottom: 25px; }
.cp-breadcrumbs a { color: #fff; text-decoration: none; }

.cp-content { padding: 76px 0; }
.entry-content > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--cp-max); }
.entry-content h2 { color: var(--cp-navy); font-size: 2rem; line-height: 1.2; margin-top: 2.2em; }
.entry-content h3 { color: var(--cp-navy); margin-top: 1.8em; }
.entry-content p, .entry-content li { color: #344156; }
.entry-content blockquote { border-left: 5px solid var(--cp-orange); margin: 30px auto; padding: 15px 24px; background: var(--cp-soft); border-radius: 0 12px 12px 0; }

.cp-form-card { background: #fff; border: 1px solid var(--cp-line); border-radius: 24px; padding: 32px; box-shadow: var(--cp-shadow); }
.cp-form-card h2, .cp-form-card h3 { color: var(--cp-navy); margin-top: 0; }
.cp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.cp-field { display: flex; flex-direction: column; gap: 7px; }
.cp-field--full { grid-column: 1 / -1; }
.cp-field label { color: var(--cp-navy); font-weight: 780; font-size: .9rem; }
.cp-field input, .cp-field select, .cp-field textarea { width: 100%; border: 1px solid #cbd8e5; border-radius: 11px; padding: 12px 14px; color: var(--cp-ink); background: #fff; }
.cp-field input:focus, .cp-field select:focus, .cp-field textarea:focus { outline: 0; border-color: var(--cp-blue); box-shadow: 0 0 0 4px rgba(27,103,178,.12); }
.cp-field textarea { min-height: 125px; resize: vertical; }
.cp-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--cp-muted); font-size: .85rem; }
.cp-consent input { margin-top: 5px; }
.cp-form-note { color: var(--cp-muted); font-size: .82rem; margin-top: 15px; }
.cp-hp { position: absolute !important; left: -9999px !important; }
.cp-alert { border-radius: 12px; padding: 13px 15px; margin-bottom: 20px; font-weight: 700; }
.cp-alert--success { background: #eaf7f0; color: var(--cp-success); border: 1px solid #bde2ce; }
.cp-alert--error { background: #fff0f0; color: var(--cp-danger); border: 1px solid #f2c1c1; }
.cp-contact-panel { background: var(--cp-navy); color: #fff; border-radius: 24px; padding: 34px; height: 100%; }
.cp-contact-panel h2 { margin-top: 0; color: #fff; }
.cp-contact-panel p { color: #d4e4f4; }
.cp-contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.cp-contact-list li { display: flex; gap: 13px; align-items: flex-start; }
.cp-contact-list svg { width: 24px; color: var(--cp-orange); flex: 0 0 auto; margin-top: 2px; }
.cp-contact-list strong { display: block; }
.cp-contact-list a, .cp-contact-list span { color: #d4e4f4; }

.cp-faq { border-top: 1px solid var(--cp-line); }
.cp-faq details { border-bottom: 1px solid var(--cp-line); }
.cp-faq summary { list-style: none; cursor: pointer; padding: 21px 42px 21px 0; position: relative; color: var(--cp-navy); font-weight: 820; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: "+"; position: absolute; right: 0; top: 17px; width: 30px; height: 30px; border-radius: 50%; background: var(--cp-sky); display: flex; align-items: center; justify-content: center; color: var(--cp-blue); font-size: 1.2rem; }
.cp-faq details[open] summary::after { content: "–"; }
.cp-faq p { margin-top: 0; color: var(--cp-muted); }

.site-footer { background: #051a31; color: #c8d8e8; }
.site-footer__top { padding: 68px 0 45px; display: grid; grid-template-columns: 1.35fr .7fr .7fr .9fr; gap: 45px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 17px; }
.site-footer p { color: #adc1d5; font-size: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #c8d8e8; text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.site-footer .cp-logo { color: #fff; margin-bottom: 14px; }
.site-footer .cp-logo__tagline { color: #9db3c9; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; gap: 25px; align-items: flex-start; }
.site-footer__legal { max-width: 900px; font-size: .78rem; color: #8fa7bd; }
.site-footer__copyright { flex: 0 0 auto; font-size: .78rem; color: #8fa7bd; }

.cp-empty { text-align: center; padding: 110px 20px; }
.cp-empty h1 { color: var(--cp-navy); font-size: 3rem; }

@media (max-width: 1050px) {
  .main-navigation { gap: 16px; }
  .main-navigation ul { gap: 16px; }
  .cp-header-cta { display: none; }
  .cp-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cp-trust-strip__inner { grid-template-columns: repeat(2,1fr); }
  .cp-trust-item:nth-child(3) { border-left: 1px solid var(--cp-line); border-top: 1px solid var(--cp-line); }
  .cp-trust-item:nth-child(4) { border-top: 1px solid var(--cp-line); }
  .site-footer__top { grid-template-columns: 1.25fr 1fr 1fr; }
  .site-footer__top > :first-child { grid-column: 1 / -1; max-width: 650px; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .cp-section { padding: 68px 0; }
  .cp-grid--2, .cp-grid--3 { grid-template-columns: 1fr; }
  .cp-hero { min-height: auto; }
  .cp-hero__inner { grid-template-columns: 1fr; padding: 80px 0; }
  .cp-hero-card { max-width: 590px; }
  .cp-split { grid-template-columns: 1fr; gap: 42px; }
  .cp-feature-panel { min-height: 420px; }
  .cp-cta { padding: 42px 32px; }
  .cp-cta__inner { display: block; }
  .cp-cta .cp-actions { margin-top: 25px; }
  .menu-toggle { display: inline-flex; }
  .main-navigation {
    display: none;
    position: absolute;
    left: 20px; right: 20px; top: calc(100% + 10px);
    background: #fff;
    border: 1px solid var(--cp-line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--cp-shadow);
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { display: grid; gap: 0; }
  .main-navigation li { border-bottom: 1px solid var(--cp-line); }
  .main-navigation li:last-child { border-bottom: 0; }
  .main-navigation a { display: block; padding: 12px 4px; }
  .cp-form-grid { grid-template-columns: 1fr; }
  .cp-field--full { grid-column: auto; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__top > :first-child { grid-column: 1 / -1; }
  .site-footer__bottom-inner { display: block; }
  .site-footer__copyright { margin-top: 10px; }
}

@media (max-width: 560px) {
  .cp-container, .cp-narrow { width: min(calc(100% - 28px), var(--cp-max)); }
  .site-header__inner { height: 72px; }
  .cp-logo__mark { width: 40px; height: 40px; }
  .cp-logo__word { font-size: 1.45rem; }
  .cp-logo__tagline { display: none; }
  .cp-hero__inner { padding: 65px 0; }
  .cp-hero h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .cp-hero__copy { font-size: 1.08rem; }
  .cp-hero-card { padding: 14px; border-radius: 22px; }
  .cp-hero-card__screen { padding: 18px; }
  .cp-trust-strip__inner { grid-template-columns: 1fr; }
  .cp-trust-item, .cp-trust-item:first-child, .cp-trust-item:nth-child(3) { border-left: 1px solid var(--cp-line); border-top: 1px solid var(--cp-line); }
  .cp-trust-item:first-child { border-top: 0; }
  .cp-grid--4 { grid-template-columns: 1fr; }
  .cp-card { padding: 24px; }
  .cp-feature-panel { min-height: 360px; }
  .cp-feature-panel__shield { width: 120px; height: 142px; }
  .cp-cta { padding: 34px 24px; border-radius: 22px; }
  .cp-actions { align-items: stretch; }
  .cp-actions .cp-button { width: 100%; }
  .cp-page-hero { padding: 65px 0 55px; }
  .cp-form-card, .cp-contact-panel { padding: 25px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 34px; }
  .site-footer__top > :first-child { grid-column: auto; }
}
