:root {
  --navy: #1F284D;
  --navy-2: #2A3566;
  --mint: #68D9CF;
  --mint-soft: #E6F8F6;
  --coral: #FF4D5B;
  --ink: #1B2033;
  --muted: #5B6276;
  --line: #E3E6EE;
  --bg: #FFFFFF;
  --bg-2: #F5F7FB;
  --radius: 14px;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; margin-bottom: 1.2em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Top bar */
.topbar { background: var(--navy); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { height: 34px; width: auto; }

/* Hero */
.hero { background: var(--navy) url("assets/dots-memphis-mint-new.png") no-repeat right 4% top 30px; color: #fff; padding: 48px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: start; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.lede { font-size: 1.1rem; color: #D5DAEA; max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 10px; color: #EEF0F7; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 6px; height: 11px; border: solid var(--coral); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Checker card */
.card { background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(10, 15, 40, .35); }
.checker { padding: 28px; min-height: 420px; scroll-margin-top: 16px; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 22px; }
.progress-bar { height: 100%; width: 0; background: var(--coral); transition: width .3s ease; }
.q-count { font-size: .8rem; color: var(--muted); margin: 0 0 6px; }
.q-title { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); margin: 0 0 6px; }
.q-help { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.options { display: grid; gap: 10px; }
.options.two { grid-template-columns: 1fr 1fr; }
.opt { text-align: left; font: inherit; font-weight: 500; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; color: var(--ink); }
.opt:hover, .opt:focus-visible { border-color: var(--mint); background: var(--mint-soft); outline: none; }
.opt small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; margin-top: 2px; }
.back { margin-top: 16px; background: none; border: 0; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; padding: 4px 0; }
.back:hover { color: var(--navy); }
.reassure { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px; font-size: .78rem; color: var(--muted); }
.reassure span + span::before { content: "·"; margin-right: 14px; }

/* Result + form */
.result-badge { display: inline-block; background: #FFE8EA; color: #C42737; font-weight: 600; font-size: .8rem; padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }
.result-list { list-style: none; padding: 0; margin: 12px 0 18px; }
.result-list li { padding: 8px 0 8px 24px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.result-list li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 5px; height: 10px; border: solid var(--coral); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.result-note { background: var(--bg-2); border-radius: 10px; padding: 12px 14px; font-size: .9rem; margin-bottom: 18px; }
.form { display: grid; gap: 10px; }
.form label { font-size: .82rem; font-weight: 600; color: var(--navy); display: grid; gap: 4px; }
.form input, .form select { font: inherit; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 8px; width: 100%; }
.form input:focus, .form select:focus { border-color: var(--mint); outline: none; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent { display: flex !important; grid-template-columns: none; gap: 8px; align-items: flex-start; font-weight: 400 !important; color: var(--muted) !important; }
.consent input { width: auto; margin-top: 3px; }
.err { color: var(--coral); font-size: .82rem; min-height: 1em; }
.btn { display: inline-block; font: inherit; font-weight: 700; border: 0; border-radius: 6px; padding: 14px 22px; cursor: pointer; text-decoration: none; text-align: center; }
.btn-coral { background: var(--coral); color: #fff; width: 100%; }
.btn-inline { width: auto; padding: 15px 30px; }
.btn-sm { width: auto; padding: 9px 16px; font-size: .9rem; }
.btn-coral:hover { filter: brightness(.95); }
.btn-mint { background: var(--mint); color: var(--navy); }
.thanks { text-align: center; padding-top: 10px; }
.thanks img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }

/* Stats */
.stats { background: var(--bg-2); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 16px; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--navy); }
.stats span { color: var(--muted); font-size: .9rem; }

/* Why */
.why, .routes, .testimonials, .faq { padding: 72px 0; }
.why-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.why h2 { text-align: left; }
.why p { color: var(--muted); font-size: 1.02rem; }
.why-label { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.banks { width: 100%; max-width: 520px; opacity: .85; }

/* Routes */
.routes { background: var(--bg-2); }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.route { background: #fff; border-radius: var(--radius); padding: 26px; text-decoration: none; border: 1.5px solid var(--line); transition: border-color .15s, transform .15s; }
.route:hover { border-color: var(--navy); }
.route { display: flex; flex-direction: column; }
.route-link { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.route p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Jaz */
.jaz { padding: 72px 0; }
.jaz-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.jaz-photo { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 8px #FFE8EA; }
.jaz blockquote { font-family: var(--serif); font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: var(--navy); margin: 0 0 14px; font-style: italic; }
.jaz-name { color: var(--muted); }

/* Testimonials */
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 560px)); justify-content: center; gap: 20px; }
.t-card { margin: 0; background: var(--bg-2); border-radius: var(--radius); padding: 26px; }
.t-card blockquote { margin: 0 0 12px; font-size: 1.05rem; }
.t-card figcaption { color: var(--muted); font-size: .88rem; font-weight: 600; }
.t-card.placeholder { border: 2px dashed var(--coral); background: #FFF6F7; }
.t-card.placeholder blockquote { color: var(--coral); font-style: italic; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq summary::marker { color: var(--coral); }
.faq details[open] summary { color: var(--coral); }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.cta-bottom { background: var(--navy); text-align: center; padding: 60px 0; }
.cta-bottom h2 { color: #fff; }

.footer { background: #151B36; color: #AEB4C8; padding: 36px 0; font-size: .9rem; }
.footer .logo { margin-bottom: 12px; }
.footer a { color: #fff; }
.footer .small { font-size: .78rem; color: #7E859C; }

/* The three priority areas: three shades of the WERGS navy, mint accents */
.opt-route { padding: 18px 18px; border: 2px solid transparent; font-weight: 600; font-size: 1.04rem; color: #fff; transition: background .15s, border-color .15s; }
.opt-route small { font-weight: 500; color: var(--mint); }
.opt-development { background: #1F284D; }
.opt-business { background: #313D72; }
.opt-property { background: #485594; }
.opt-route:hover, .opt-route:focus-visible { border-color: var(--mint); color: #fff; }
.opt-development:hover, .opt-development:focus-visible { background: #18203F; }
.opt-business:hover, .opt-business:focus-visible { background: #283363; }
.opt-property:hover, .opt-property:focus-visible { background: #3D4985; }

.route-development, .route-business, .route-property { border-color: transparent; }
.route-development { background: #1F284D; }
.route-business { background: #313D72; }
.route-property { background: #485594; }
.route-development h3, .route-business h3, .route-property h3 { color: #fff; }
.route-development p, .route-business p, .route-property p { color: #D5DAEA; }
.route-development .route-link, .route-business .route-link, .route-property .route-link { color: #fff; text-decoration-color: var(--mint); }
.route-development:hover, .route-business:hover, .route-property:hover { border-color: var(--mint); }

/* Palette options for comparison (?palette=2 or ?palette=3); default is option 1, navy */
/* Option 2: teal shades from the WERGS mint */
.pal-2 .opt-development, .pal-2 .route-development { background: #0F5C56; }
.pal-2 .opt-business, .pal-2 .route-business { background: #17807A; }
.pal-2 .opt-property, .pal-2 .route-property { background: #2BA59B; }
.pal-2 .opt-development:hover { background: #0B4D48; }
.pal-2 .opt-business:hover { background: #136F6A; }
.pal-2 .opt-property:hover { background: #249489; }
.pal-2 .opt-route small { color: #CFF5F1; }
.pal-2 .opt-route:hover, .pal-2 .opt-route:focus-visible { border-color: var(--navy); }
.pal-2 .route-development p, .pal-2 .route-business p, .pal-2 .route-property p { color: #E3F7F5; }
.pal-2 .route-link { text-decoration-color: #fff !important; }
/* Option 3: navy into mint, both WERGS colours */
.pal-3 .opt-development, .pal-3 .route-development { background: #1F284D; }
.pal-3 .opt-business, .pal-3 .route-business { background: #24566A; }
.pal-3 .opt-property, .pal-3 .route-property { background: #68D9CF; }
.pal-3 .opt-development:hover { background: #18203F; }
.pal-3 .opt-business:hover { background: #1D4757; }
.pal-3 .opt-property:hover { background: #55CABF; }
.pal-3 .opt-property, .pal-3 .opt-property:hover, .pal-3 .opt-property:focus-visible { color: var(--navy); }
.pal-3 .opt-property small { color: #1F4F55; }
.pal-3 .opt-property:hover, .pal-3 .opt-property:focus-visible { border-color: var(--navy); }
.pal-3 .route-property h3 { color: var(--navy); }
.pal-3 .route-property p { color: #1F3F48; }
.pal-3 .route-property .route-link { color: var(--navy); text-decoration-color: var(--navy); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { background-image: none; padding: 32px 0 48px; }
  .route-grid, .why-grid, .t-grid { grid-template-columns: 1fr; }
  .why-grid { gap: 28px; }
  .jaz-grid { grid-template-columns: 1fr; text-align: center; }
  .jaz-photo { max-width: 220px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .checker { padding: 20px; }
  .options.two, .form .row { grid-template-columns: 1fr; }
  .stats-grid { gap: 8px; }
  .logo { height: 28px; }
}

/* Small red capitals above headings, as on wergsconsultancy.co.uk */
.label, .why .label { color: var(--coral); text-transform: uppercase; letter-spacing: 2px; font-size: .82rem; font-weight: 700; margin: 0 0 10px; text-align: center; }
.label.left, .hero .label, .jaz .label { text-align: left; }
@media (max-width: 900px) { .jaz .label { text-align: center; } }
