/* ==========================================================================
   UKPQ website - one stylesheet for every page. No frameworks.
   Colours come from the UKPQ logo and the 2021 design.
   ========================================================================== */

@font-face { font-family: "Julius Sans One"; src: url("../wpfonts/JuliusSansOne-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Lato"; font-weight: 300; src: url("../wpfonts/Lato-Light.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Lato"; font-weight: 400; src: url("../wpfonts/Lato-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Lato"; font-weight: 700; src: url("../wpfonts/Lato-Bold.woff2") format("woff2"); font-display: swap; }

:root {
    color-scheme: light;
    --pink: #DBC2BD;        /* logo background */
    --pink-soft: #F3E9E6;
    --orange: #C5763B;      /* "UK" in the logo */
    --orange-dark: #9E5A26; /* orange for buttons and text (readable) */
    --teal: #58A8AF;        /* "PQ" in the logo */
    --teal-dark: #2A6F78;   /* teal for buttons and text (readable) */
    --green: #789F60;       /* ASDTi green */
    --green-dark: #4F693F;
    --ink: #2B2B2B;
    --ink-soft: #555;
    --paper: #FFFFFF;
    --mist: #F7F5F4;
    --radius: 14px;
    --wrap: 1180px;
    --head: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 10px); }
html.larger { font-size: 115%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 "Lato", "Segoe UI", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { font-family: "Julius Sans One", Georgia, serif; font-weight: 400; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.lead { font-size: 1.2rem; font-weight: 300; color: var(--ink-soft); }
.center { text-align: center; }
.tm { font-size: .55em; vertical-align: super; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.5em; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 "Lato", sans-serif; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.btn-orange { background: var(--orange-dark); color: #fff; }
.btn-orange:hover { background: #874B1D; color: #fff; }
.btn-teal { background: var(--teal-dark); color: #fff; }
.btn-teal:hover { background: #1F5960; color: #fff; }
.btn-green { background: var(--green-dark); color: #fff; }
.btn-green:hover { background: #3E5432; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btns, .btns.center { justify-content: center; }

/* ---------- Header bar (full width) ---------- */
#top { position: sticky; top: 0; z-index: 50; background: var(--pink); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
#top .bar { display: flex; align-items: center; gap: 18px; height: var(--head); width: min(100% - 32px, 1280px); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 62px; height: auto; border-radius: 6px; }
.brand span { font: 400 1.6rem/1 "Julius Sans One", serif; letter-spacing: .04em; }
.brand:hover { color: var(--ink); }
#menu { margin-left: auto; display: flex; align-items: center; gap: 6px; }
#menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
#menu ul a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; }
#menu ul a:hover { background: rgba(255,255,255,.55); }
#menu ul a[aria-current="page"] { background: #fff; color: var(--teal-dark); }
#menu .btn { margin-left: 10px; min-height: 44px; padding: .55em 1.25em; }
#menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: rgba(255,255,255,.5); cursor: pointer; position: relative; }
#menu-toggle span { position: absolute; left: 13px; width: 22px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s, top .25s; }
#menu-toggle span:nth-child(1) { top: 16px; }
#menu-toggle span:nth-child(2) { top: 23px; }
#menu-toggle span:nth-child(3) { top: 30px; }
#menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
#menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

@media (max-width: 1023px) {
    #menu-toggle { display: block; }
    #menu { position: absolute; left: 0; right: 0; top: var(--head); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--pink); box-shadow: 0 12px 20px rgba(0,0,0,.15); display: none; }
    #menu.open { display: flex; }
    #menu ul { flex-direction: column; }
    #menu ul a { padding: 14px 16px; border-radius: 10px; font-size: 1.08rem; }
    #menu .btn { margin: 12px 0 0; }
}

/* ---------- Moving wave between sections ---------- */
.wave { position: absolute; left: 0; right: 0; top: -55px; height: 56px; overflow: hidden; line-height: 0; pointer-events: none; }
.wave svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.wave .w1 { animation: wave-drift 22s linear infinite; }
.wave .w2 { opacity: .45; animation: wave-drift 34s linear infinite reverse; }
@keyframes wave-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wave .w1, .wave .w2 { animation: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 72px 0 88px; }
.section.pink { background: var(--pink); }
.section.pink-soft { background: var(--pink-soft); }
.section.mist { background: var(--mist); }
.section.teal { background: var(--teal-dark); color: #fff; }
.section.ink { background: var(--ink); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker { display: inline-block; margin-bottom: 10px; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); }
.teal .section-head .kicker, .ink .section-head .kicker { color: #F6D2B5; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; place-items: center; text-align: center; color: #fff; background: #3a3a3a url("../wpimages/ukpq-hero.jpg") center 40% / cover no-repeat; padding: 80px 0 120px; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,30,30,.55), rgba(30,30,30,.35) 45%, rgba(30,30,30,.6)); }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(3.6rem, 11vw, 7rem); margin: 0 0 .1em; letter-spacing: .08em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .strap { font: 400 clamp(1.05rem, 2.4vw, 1.5rem)/1.3 "Julius Sans One", serif; letter-spacing: .2em; margin: 0 0 1.4em; }
.hero .lines { max-width: 680px; margin: 0 auto 2em; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 300; }
.hero .lines span { display: block; }
.hero .btns { justify-content: center; }

/* ---------- Welcome and figures ---------- */
.welcome { max-width: 820px; margin: 0 auto; text-align: center; }
.welcome .rule { width: 90px; height: 3px; margin: 0 auto 28px; border: 0; background: var(--teal); border-radius: 2px; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.figure { background: var(--pink-soft); border-radius: var(--radius); padding: 24px 16px; text-align: center; }
.figure b { display: block; font: 400 2rem/1.1 "Julius Sans One", serif; color: var(--teal-dark); margin-bottom: 8px; }
.figure span { font-size: .98rem; color: var(--ink-soft); }
.figure:nth-child(even) b { color: var(--orange-dark); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 22px rgba(80,50,40,.12); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(80,50,40,.18); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card .body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.card h3 { color: var(--teal-dark); }
.card p { color: var(--ink-soft); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--orange-dark); }
.card .more::after { content: " \2192"; }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sector { border-top: 5px solid var(--teal); background: var(--mist); border-radius: 0 0 var(--radius) var(--radius); padding: 26px 24px; }
.sector:nth-child(2) { border-color: var(--orange); }
.sector:nth-child(3) { border-color: var(--green); }
.sector h3 { margin-bottom: .4em; }
.sector ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.sector li { margin-bottom: .3em; }

/* ---------- Split panel (photo + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.split h2 { margin-bottom: .4em; }
.split .note { font-size: .95rem; opacity: .9; }
.teal .split .lead { color: #E8F3F4; }
.three60 { font-family: "Julius Sans One", serif; }
.three60 .d1 { color: var(--orange); } .three60 .d2 { color: var(--green); } .three60 .d3 { color: var(--teal); }
.teal .three60 .d1 { color: #F6C49C; } .teal .three60 .d2 { color: #C8E3B6; } .teal .three60 .d3 { color: #BFE6EA; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 24px 24px; box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 50%; background: var(--teal-dark); color: #fff; font: 400 1.3rem/1 "Julius Sans One", serif; }
.step:nth-child(2)::before { background: var(--orange-dark); }
.step:nth-child(3)::before { background: var(--green-dark); }
.step p { color: var(--ink-soft); margin: 0; }
.price-line { margin-top: 36px; text-align: center; font-size: 1.15rem; }
.price-line b { font: 400 1.6rem "Julius Sans One", serif; color: var(--orange-dark); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.quote { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px 30px 26px; position: relative; box-shadow: 0 4px 16px rgba(80,50,40,.08); }
.quote::before { content: "\201C"; position: absolute; top: -8px; left: 20px; font: 400 5rem/1 Georgia, serif; color: var(--pink); }
.quote p { position: relative; font-size: 1.12rem; font-weight: 300; font-style: italic; }
.quote footer { font-weight: 700; color: var(--teal-dark); }
.quote footer small { display: block; margin-top: 4px; font-weight: 400; font-size: .85rem; color: var(--ink-soft); }

/* ---------- Also from ASDTi ---------- */
.also { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.also a.tile { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--mist); text-decoration: none; color: var(--ink); border: 2px solid transparent; transition: border-color .2s; }
.also a.tile:hover { border-color: var(--green); color: var(--ink); }
.also img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.also h3 { margin-bottom: .3em; color: var(--green-dark); font-size: 1.25rem; }
.also p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Closing band ---------- */
.closing { text-align: center; }
.closing h2 { color: #fff; }
.closing p { max-width: 620px; margin: 0 auto 1.6em; color: #E6E6E6; font-size: 1.15rem; }
.closing .phone { display: block; margin-top: 22px; color: #fff; font-size: 1.1rem; }
.closing .phone a { color: #fff; font-weight: 700; }

/* ---------- Footer ---------- */
#site-footer { background: #1E1E1E; color: #CFCFCF; padding: 44px 0 90px; font-size: .95rem; }
#site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
#site-footer h4 { margin: 0 0 10px; color: #fff; font: 400 1rem "Julius Sans One", serif; letter-spacing: .08em; }
#site-footer ul { list-style: none; margin: 0; padding: 0; }
#site-footer li { margin-bottom: 6px; }
#site-footer a { color: #E9E9E9; text-decoration: none; }
#site-footer a:hover { color: var(--pink); text-decoration: underline; }
#site-footer .brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
#site-footer .brandline img { width: 52px; border-radius: 6px; }
#site-footer .legal { margin-top: 30px; padding-top: 18px; border-top: 1px solid #3A3A3A; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; color: #AFAFAF; }

/* ---------- Larger text button ---------- */
#larger { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid #fff; background: var(--ink); color: #fff; font: 700 .95rem "Lato", sans-serif; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
#larger b { font: 400 1.1rem Georgia, serif; }
#larger[aria-pressed="true"] { background: var(--teal-dark); }

/* ---------- Tablets and phones ---------- */
@media (max-width: 1023px) {
    .figures { grid-template-columns: repeat(2, 1fr); }
    .cards, .sectors, .steps { grid-template-columns: 1fr 1fr; }
    .cards .card:last-child, .sectors .sector:last-child, .steps .step:last-child { grid-column: 1 / -1; }
    .split { grid-template-columns: 1fr; gap: 30px; }
    .also, .quotes { grid-template-columns: 1fr; }
    #site-footer .cols { grid-template-columns: 1fr 1fr; }
    #site-footer .cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    body { font-size: 1.0625rem; }
    .section { padding: 56px 0 72px; }
    .cards, .sectors, .steps { grid-template-columns: 1fr; }
    .figures { gap: 12px; }
    .figure b { font-size: 1.6rem; }
    .also a.tile { grid-template-columns: 1fr; }
    .brand span { font-size: 1.35rem; }
    .brand img { width: 52px; }
    .wave { height: 36px; top: -35px; }
    .hero .btns .btn { width: 100%; max-width: 320px; }
    #site-footer .cols { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page hero: pink band, words left, photo right ---------- */
.page-hero { background: var(--pink); padding: 56px 0 100px; }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: .35em; }
.page-hero .kicker { display: inline-block; margin-bottom: 12px; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); }
.page-hero .lead { color: #3d3533; margin-bottom: 1.4em; }
.page-hero img { border-radius: var(--radius); box-shadow: 0 14px 34px rgba(80,50,40,.28); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: #5a4c49; }
.crumbs a { color: #5a4c49; }

/* ---------- Text beside a picture, plain ---------- */
.prose { max-width: 720px; }
.prose p { color: #3a3a3a; }
.split.plain img { box-shadow: 0 8px 24px rgba(80,50,40,.16); }
.tick-list { list-style: none; margin: 0 0 1em; padding: 0; }
.tick-list li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 9px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* ---------- What UKPQ measures: pairs of opposite poles ---------- */
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 34px; }
.dim { display: grid; grid-template-columns: 1fr 76px 1fr; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 16px; font-size: .96rem; }
.dim span:first-child { text-align: right; }
.dim i { position: relative; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--orange), var(--teal)); }
.dim i::before, .dim i::after { content: ""; position: absolute; top: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.dim i::before { left: -2px; }
.dim i::after { right: -2px; background: var(--teal); }
.checks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.check { background: rgba(255,255,255,.55); border: 2px dashed rgba(42,111,120,.45); border-radius: 12px; padding: 16px; font-size: .95rem; }
.check b { display: block; color: var(--teal-dark); margin-bottom: 4px; }
.sub-head { text-align: center; margin: 46px 0 6px; font-size: 1.35rem; }
.sub-note { text-align: center; color: #4a403e; max-width: 680px; margin: 0 auto; }

/* ---------- Reports ---------- */
.reports { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.report { background: var(--mist); border-radius: 12px; padding: 20px 18px; border-top: 4px solid var(--teal); }
.report:nth-child(even) { border-color: var(--orange); }
.report h3 { font-size: 1.08rem; margin-bottom: .45em; }
.report p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- Downloads ---------- */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid #E5DAD7; text-decoration: none; color: var(--ink); }
.doc:hover { border-color: var(--teal); color: var(--ink); }
.doc b { flex: none; display: grid; place-items: center; width: 44px; height: 52px; border-radius: 6px; background: var(--orange-dark); color: #fff; font-size: .75rem; letter-spacing: .05em; }
.doc span { font-weight: 700; }
.doc small { display: block; font-weight: 400; color: var(--ink-soft); }

/* ---------- Reliability dot chart: every scale, both measures ---------- */
.plot { background: #fff; border-radius: var(--radius); padding: 24px 26px 18px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.plot-key { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; font-size: .95rem; }
.plot-key span { display: inline-flex; align-items: center; gap: 8px; }
.plot-key i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.k-a { background: var(--teal-dark); }
.k-s { width: 18px !important; height: 18px !important; border: 3px solid var(--orange); background: transparent; }
.rows { position: relative; }
.prow { display: grid; grid-template-columns: 13em minmax(0, 1fr); align-items: center; gap: 14px; min-height: 34px; border-bottom: 1px solid #F1EBE9; }
.prow:last-of-type { border-bottom: 0; }
.prow .nm { font-size: .95rem; text-align: right; }
.prow .nm small { color: var(--orange-dark); font-weight: 700; }
.lane { position: relative; height: 34px; }
.lane::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: repeating-linear-gradient(135deg, #F3EEEC 0 6px, #FBF8F7 6px 12px); }
.lane .std { position: absolute; top: 0; bottom: 0; left: 40%; width: 2px; background: var(--ink); }
.lane .link { position: absolute; top: 50%; height: 2px; margin-top: -1px; background: #CFC6C3; }
.lane .a, .lane .s { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
.lane .a { background: var(--teal-dark); z-index: 2; width: 12px; height: 12px; margin: -6px 0 0 -6px; }
.lane .s { width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 3px solid var(--orange); background: #fff; z-index: 1; }
.axis { display: grid; grid-template-columns: 13em minmax(0, 1fr); gap: 14px; margin-top: 6px; }
.axis div { position: relative; height: 22px; font-size: .8rem; color: var(--ink-soft); }
.axis span { position: absolute; transform: translateX(-50%); }
.axis span.std { font-weight: 700; color: var(--ink); }
.plot-note { margin: 12px 0 0; font-size: .9rem; color: var(--ink-soft); }
.big-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.big-facts div { background: var(--pink-soft); border-radius: var(--radius); padding: 18px 16px; text-align: center; }
.big-facts b { display: block; font: 400 2.1rem/1.1 "Julius Sans One", serif; color: var(--teal-dark); }
.big-facts div:nth-child(even) b { color: var(--orange-dark); }
.big-facts span { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 1023px) { .big-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
    .plot { padding: 18px 14px 14px; }
    .prow, .axis { grid-template-columns: 8.2em minmax(0, 1fr); gap: 8px; }
    .prow .nm { font-size: .84rem; line-height: 1.2; }
}

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #EEE6E4; vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 700; }
.compare tr.us td { background: #E6F1F2; font-weight: 700; color: var(--teal-dark); }
.compare td:first-child { font-weight: 700; white-space: nowrap; }
.small-print { font-size: .88rem; color: var(--ink-soft); margin-top: 12px; }

/* ---------- Funnel (how the questions were chosen) ---------- */
.funnel { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.funnel div { display: flex; align-items: center; gap: 18px; min-height: 62px; padding: 10px 22px; border-radius: 12px; color: #fff; }
.funnel b { font: 400 2rem/1 "Julius Sans One", serif; min-width: 3ch; }
.funnel div:nth-child(1) { width: 100%; background: var(--orange-dark); }
.funnel div:nth-child(2) { width: 82%; background: var(--teal-dark); }
.funnel div:nth-child(3) { width: 60%; background: var(--green-dark); }

/* ---------- Correlation rows ---------- */
.studies { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.study { background: #fff; border-radius: var(--radius); padding: 26px 26px 22px; box-shadow: 0 4px 16px rgba(80,50,40,.08); }
.study h3 { margin-bottom: .25em; }
.study > p { color: var(--ink-soft); font-size: .98rem; }
.corr { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.corr li { display: grid; grid-template-columns: minmax(0, 1fr) 3.2em; gap: 4px 12px; align-items: center; }
.corr .what { grid-column: 1 / -1; font-size: .93rem; }
.corr .what em { font-style: normal; color: var(--ink-soft); }
.corr .bar { height: 12px; border-radius: 6px; background: #EFE8E6; overflow: hidden; }
.corr .bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--teal), var(--teal-dark)); }
.corr b { text-align: right; font-variant-numeric: tabular-nums; color: var(--teal-dark); }
.teal .corr .what em { color: #CFE5E8; }

/* ---------- Construct validity figures ---------- */
.matches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.match { border-radius: var(--radius); padding: 20px 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); }
.match b { display: block; font: 400 2.2rem/1 "Julius Sans One", serif; margin-bottom: 8px; }
.match span { font-size: .95rem; color: #E3F0F1; }

@media (max-width: 1023px) {
    .page-hero .wrap { grid-template-columns: 1fr; gap: 30px; }
    .page-hero img { max-width: 620px; }
    .dims { grid-template-columns: 1fr; }
    .checks, .matches { grid-template-columns: 1fr 1fr; }
    .reports { grid-template-columns: 1fr 1fr; }
    .studies { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .page-hero { padding: 36px 0 80px; }
    .dim { grid-template-columns: 1fr 40px 1fr; font-size: .9rem; padding: 10px 12px; gap: 8px; }
    .reports { grid-template-columns: 1fr; }
    .funnel div { width: 100% !important; }
    .compare th, .compare td { padding: 10px 12px; font-size: .92rem; }
    .compare td:first-child { white-space: normal; }
    .checks { grid-template-columns: 1fr; }
}

/* ---------- Two ways to receive a report ---------- */
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 18px auto 0; }
.option { position: relative; background: var(--mist); border-radius: var(--radius); padding: 30px 26px 22px; border: 2px solid transparent; }
.option.best { background: #fff; border-color: var(--teal); box-shadow: 0 8px 24px rgba(42,111,120,.15); }
.option .tag { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--ink-soft); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.option.best .tag { background: var(--teal-dark); }
.option h3 { font-size: 1.2rem; margin-bottom: .4em; }
.option p { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .choose { grid-template-columns: 1fr; gap: 28px; } }

/* ==========================================================================
   UKPQ 360, Buy, Complete, Contact, Privacy and return pages
   ========================================================================== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-hero.solo .wrap { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.page-hero.solo { padding-bottom: 90px; }
.tick-list.light li::before { border-color: #C8E3B6; }
.kicker-inline { display: inline-block; margin-bottom: 10px; font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dark); }

/* Feature box: text with downloads beside it */
.feature-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center; background: #fff; border-radius: var(--radius); padding: 34px 36px; box-shadow: 0 8px 26px rgba(80,50,40,.14); }
.feature-box .docs { grid-template-columns: 1fr; }

/* ---------- Products ---------- */
.products { display: grid; gap: 24px; align-items: stretch; }
.products.three { grid-template-columns: repeat(3, 1fr); }
.products.two { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.product { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 32px 26px 26px; text-align: center; border: 2px solid #EDE3E0; }
.product.best { border-color: var(--teal); box-shadow: 0 10px 28px rgba(42,111,120,.16); }
.product .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; background: var(--orange-dark); color: #fff; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.product.best .tag { background: var(--teal-dark); }
.product h3 { font-size: 1.4rem; margin-bottom: .3em; }
.product .what { color: var(--ink-soft); min-height: 3.2em; }
.product .amount { font: 400 2.8rem/1 "Julius Sans One", serif; color: var(--teal-dark); margin: 6px 0 6px; }
.product .amount small { font: 700 1rem "Lato", sans-serif; color: var(--ink-soft); }
.product .total { font-size: .95rem; color: var(--ink-soft); }
.product form { margin-top: auto; }
.product .buy { width: 100%; }
.product .buy svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tips ---------- */
.tips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tip { background: var(--mist); border-radius: var(--radius); padding: 22px 18px; }
.tip b { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: var(--teal-dark); color: #fff; font: 400 1.15rem "Julius Sans One", serif; }
.tip:nth-child(even) b { background: var(--orange-dark); }
.tip h3 { font-size: 1.08rem; margin-bottom: .4em; }
.tip p { margin: 0; font-size: .96rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.form-card { background: #fff; border-radius: var(--radius); padding: 30px 32px; box-shadow: 0 6px 24px rgba(80,50,40,.12); border-top: 5px solid var(--orange); }
.form-card h2 { margin-bottom: .2em; }
.form-note { color: var(--ink-soft); font-size: .95rem; }
.contact-form label, .contact-form .form-label { display: block; margin: 14px 0 6px; font-weight: 700; font-size: .98rem; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #CDBFBB; border-radius: 10px; background: #FFFCFB; font: 400 16px/1.4 "Lato", sans-serif; color: var(--ink); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(42,111,120,.35); border-color: var(--teal-dark); }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.contact-form button[type=submit] { margin-top: 22px; min-width: 200px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.recaptcha-slot { min-height: 78px; }
.recaptcha-ask { max-width: 420px; padding: 12px 14px; border-radius: 10px; background: var(--green); color: #262626; }
.recaptcha-ask p { margin: 0 0 8px; font-size: .95rem; line-height: 1.45; }
.recaptcha-ask button { font: 700 .95rem "Lato", sans-serif; color: #fff; background: #1A1A1A; border: 0; border-radius: 999px; min-height: 40px; padding: 8px 18px; cursor: pointer; }
.recaptcha-ask button:hover { background: #000; }
.recaptcha-ask button { background: #262626; }
.contact-side { display: grid; gap: 18px; }
.side-card { background: var(--mist); border-radius: var(--radius); padding: 22px 24px; }
.side-card h3 { margin-bottom: .4em; }
.side-card p:last-child { margin-bottom: 0; }
.teal-card { background: var(--teal-dark); color: #fff; }
.big-phone { font: 400 1.9rem/1.1 "Julius Sans One", serif; margin-bottom: .3em; }
.big-phone a { color: #fff; text-decoration: none; }
.quick { list-style: none; margin: 0; padding: 0; }
.quick li { border-bottom: 1px solid #E8E0DE; }
.quick li:last-child { border-bottom: 0; }
.quick a { display: block; padding: 9px 0; font-weight: 700; text-decoration: none; }
.quick a::after { content: " \2192"; }

/* ---------- Privacy policy ---------- */
.policy { max-width: 860px; }
.policy .updated { font-weight: 700; color: var(--orange-dark); }
.policy .lead { font-size: 1.2rem; }
.policy h2 { margin-top: 1.6em; font-size: 1.7rem; }
.policy ul { padding-left: 1.2em; }
.policy li { margin-bottom: .8em; }
.cookie-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 24px; }
.cookie { position: relative; background: var(--mist); border-radius: 12px; padding: 18px 20px 14px; border-left: 6px solid var(--panel, var(--teal)); }
.cookie h3 { font-size: 1.12rem; margin-bottom: .3em; padding-right: 90px; }
.cookie .tag { position: absolute; top: 16px; right: 16px; padding: 3px 10px; border-radius: 999px; background: var(--teal-dark); color: #fff; font-size: .78rem; font-weight: 700; }
.cookie:last-child .tag { background: var(--orange-dark); }
.cookie p { font-size: .96rem; }
.cookie dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: .9rem; }
.cookie dt { font-weight: 700; }
.cookie dd { margin: 0; overflow-wrap: anywhere; }
.cookie code { font-size: .88rem; background: #fff; padding: 1px 5px; border-radius: 4px; }

/* ---------- Order (PayPal return pages) ---------- */
.order-box { max-width: 720px; margin: 0 auto 40px; background: #fff; border-radius: var(--radius); padding: 26px 30px; box-shadow: 0 6px 22px rgba(80,50,40,.12); border-top: 5px solid var(--teal); }
.order-table { width: 100%; border-collapse: collapse; }
.order-table td { padding: 10px 0; border-bottom: 1px solid #EEE6E4; }
.order-table .price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.order-table .qty { color: var(--ink-soft); }
.order-table tr.total td { font-weight: 700; border-bottom: 0; }
#order-back:empty { display: none; }

@media (max-width: 1023px) {
    .products.three { grid-template-columns: 1fr 1fr; }
    .products.three .product:last-child { grid-column: 1 / -1; max-width: 420px; justify-self: center; width: 100%; }
    .tips { grid-template-columns: 1fr 1fr; }
    .tips .tip:last-child { grid-column: 1 / -1; }
    .contact-grid, .feature-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .products.three, .products.two { grid-template-columns: 1fr; }
    .product .what { min-height: 0; }
    .tips { grid-template-columns: 1fr; }
    .contact-form .row2 { grid-template-columns: 1fr; }
    .form-card, .feature-box { padding: 24px 20px; }
    .cookie-list { grid-template-columns: 1fr; }
}
