/* UKDatabases.com — "lime signal" design system */
:root {
  --bg: #F4F5EF;
  --bg-2: #ECEEE4;
  --card: #FFFFFF;
  --ink: #0D1009;
  --ink-2: #2A2E27;
  --muted: #676D61;
  --line: #E2E5D9;
  --line-2: #D3D7C9;
  --lime: #C9F51D;
  --lime-2: #B8E60C;
  --lime-3: #9BCB12;
  --lime-ink: #38411B;
  --lime-soft: #F0FBD0;
  --danger: #B42318;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(13,15,12,.05), 0 18px 50px -20px rgba(13,15,12,.18);
  --shadow-lg: 0 2px 6px rgba(13,15,12,.05), 0 40px 90px -30px rgba(13,15,12,.28);
  --display: 'Poppins', 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
html { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--font); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; letter-spacing: -.035em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lime-3); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--lime); color: var(--ink); border: 1px solid rgba(13,15,12,.12); border-radius: 999px; padding: 12px 22px; font-weight: 650; font-size: 15px; letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 6px 18px -8px rgba(110,160,0,.55); white-space: nowrap; }
.btn:hover { background: var(--lime-2); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 12px 26px -10px rgba(110,160,0,.7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-ghost { background: rgba(255,255,255,.7); box-shadow: none; border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.btn-dark:hover { background: #22261F; }
.btn-danger { background: #fff; color: var(--danger); border-color: #F3C9C4; box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header, .app-header { position: sticky; top: 0; z-index: 50; background: rgba(244,245,239,.72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled, .app-header { border-bottom-color: var(--line); background: rgba(244,245,239,.86); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-img { display: block; height: 32px; width: auto; transition: transform .4s var(--ease); }
.logo:hover .logo-img { transform: translateY(-1px); }
.auth-wrap > .logo .logo-img { height: 38px; }
.footer-brand .logo-img { height: 34px; margin-bottom: 6px; }
.main-nav, .app-nav { display: flex; gap: 4px; margin-left: 12px; }
.main-nav a, .app-nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .2s; }
.main-nav a:hover, .app-nav a:hover { background: rgba(13,15,12,.05); }
.app-nav a.on { background: var(--ink); color: #fff; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-login { font-size: 14.5px; font-weight: 550; text-decoration: none; padding: 8px 10px; }
.header-login:hover { text-decoration: underline; text-underline-offset: 3px; }
.app-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: rgba(255,255,255,.6); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s; }
.app-pill:hover { background: #fff; transform: translateY(-1px); }
.app-user { font-size: 13.5px; color: var(--muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); background: #fff; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
body.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--lime-ink); margin: 0 0 14px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-3); box-shadow: 0 0 0 0 rgba(158,214,31,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(158,214,31,.6); } 70% { box-shadow: 0 0 0 10px rgba(158,214,31,0); } 100% { box-shadow: 0 0 0 0 rgba(158,214,31,0); } }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.06; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.hl { background: linear-gradient(180deg, transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 .06em; }
.muted-h { color: #9AA092; }
.section { padding: 120px 0; }
.section-head { max-width: 900px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.lead { color: var(--muted); font-size: 18px; }
.glass { background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow-lg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero-blobs { position: absolute; inset: 0; pointer-events: none; }
.hero-blobs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.hero-blobs .b1 { width: 560px; height: 560px; right: -120px; top: -160px; background: radial-gradient(circle, #DBFF6E 0%, rgba(201,245,29,0) 70%); animation: drift 18s ease-in-out infinite; }
.hero-blobs .b2 { width: 420px; height: 420px; left: -160px; bottom: -120px; background: radial-gradient(circle, #E4FF92 0%, rgba(201,245,29,0) 70%); animation: drift 22s ease-in-out infinite reverse; }
.hero-blobs .b3 { width: 300px; height: 300px; left: 42%; top: 30%; background: radial-gradient(circle, rgba(201,245,29,.45) 0%, rgba(201,245,29,0) 70%); animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.08); } }
.floaters { position: absolute; inset: 0; pointer-events: none; }
.fl { position: absolute; display: block; will-change: transform; animation: float 9s ease-in-out infinite; }
.fl-x { width: 70px; height: 70px; left: 55%; top: 76%; background: var(--lime); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 6c9 0 13 8 14 16 8-4 18-3 22 6s-1 17-9 22c8 4 13 13 9 22s-14 10-22 6c-1 8-5 16-14 16s-13-8-14-16c-8 4-18 3-22-6s1-18 9-22c-8-5-13-13-9-22s14-10 22-6c1-8 5-16 14-16z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 6c9 0 13 8 14 16 8-4 18-3 22 6s-1 17-9 22c8 4 13 13 9 22s-14 10-22 6c-1 8-5 16-14 16s-13-8-14-16c-8 4-18 3-22-6s1-18 9-22c-8-5-13-13-9-22s14-10 22-6c1-8 5-16 14-16z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat; transform: rotate(18deg); opacity: .9; animation-duration: 11s; }
.fl-coin { width: 46px; height: 46px; right: 4%; top: 78%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #EFFFB0, var(--lime) 55%, var(--lime-3)); box-shadow: 0 10px 24px -8px rgba(110,160,0,.6); animation-delay: -2s; }
.fl-check { width: 44px; height: 44px; left: 47%; top: 10%; border-radius: 14px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; animation-delay: -4s; }
.fl-check svg { width: 24px; height: 24px; }
.fl-sq { width: 22px; height: 22px; right: 40%; bottom: 14%; border-radius: 7px; background: var(--lime); transform: rotate(14deg); opacity: .75; animation-delay: -6s; }
.fl-dot { width: 14px; height: 14px; left: 12%; bottom: 22%; border-radius: 50%; background: var(--ink); opacity: .85; animation-delay: -1s; }
.fl-card { right: 1.5%; top: 56%; width: 92px; height: 58px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); padding: 10px; animation-delay: -3s; animation-duration: 12s; }
.fl-card b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--lime); font-size: 12px; }
.fl-card i { display: block; height: 5px; border-radius: 4px; background: var(--bg-2); margin-top: 6px; }
.fl-card i:last-child { width: 60%; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -18px; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; min-height: 560px; }
.kinetic { font-size: clamp(40px, 5.1vw, 74px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0 0 26px; }
.kinetic .line { display: block; }
.kinetic .w { display: inline-block; opacity: 0; filter: blur(14px); transform: translateY(14px); transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease); }
.kinetic.in .w { opacity: 1; filter: blur(0); transform: none; }
.kinetic .hl { padding: 0 .08em; }
.swoosh { position: relative; color: var(--lime-ink); }
.swoosh::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -.1em; height: .22em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14C50 4 120 2 197 10' fill='none' stroke='%23C9F51D' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; transform: scaleX(0); transform-origin: left; transition: transform 1s .9s var(--ease); }
.kinetic.in .swoosh::after { transform: scaleX(1); }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero-trust b { color: var(--ink); font-weight: 650; }
.hero-trust li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-3); margin-right: 8px; vertical-align: 2px; }
.hero-visual { position: relative; height: 520px; }
.hero-card { position: absolute; right: 0; top: 0; width: 290px; border-radius: 24px; padding: 20px 20px 16px; transform: rotate(2.5deg); animation: float 10s ease-in-out infinite; }
.hc-top { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hc-dot { width: 22px; height: 22px; border-radius: 7px; background: var(--lime); }
.hc-live { margin-left: auto; font-size: 10.5px; letter-spacing: .1em; background: var(--ink); color: var(--lime); padding: 3px 7px; border-radius: 6px; }
.hc-num { font-family: var(--display); font-size: 50px; font-weight: 700; margin-top: 14px; line-height: 1; }
.hc-sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.hc-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin: 16px 0 14px; }
.hc-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--lime), var(--lime-3)); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.hc-bars i:nth-child(2) { animation-delay: .1s; } .hc-bars i:nth-child(3) { animation-delay: .2s; } .hc-bars i:nth-child(4) { animation-delay: .3s; } .hc-bars i:nth-child(5) { animation-delay: .4s; } .hc-bars i:nth-child(6) { animation-delay: .5s; } .hc-bars i:nth-child(7) { animation-delay: .6s; } .hc-bars i:nth-child(8) { animation-delay: .7s; }
@keyframes grow { from { transform: scaleY(0); } }
.hc-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 8px 0; border-top: 1px solid var(--line); }
.hc-row span { color: var(--muted); }

/* ---------- Pip the mascot ---------- */
.pip-wrap { position: absolute; left: -30px; bottom: 0; width: 250px; }
.pip { display: block; width: 230px; height: 230px; padding: 0; border: 0; background: none; cursor: pointer; animation: pipFloat 5s ease-in-out infinite; -webkit-tap-highlight-color: transparent; }
.pip-svg { width: 100%; height: 100%; overflow: visible; }
.pip-body { transform-origin: 100px 120px; transition: transform .3s var(--ease); }
.pip:hover .pip-body { transform: rotate(-6deg) scale(1.03); }
.pip.squish .pip-body { animation: squish .6s var(--ease); }
.pip.wiggle .pip-body { animation: wiggle .8s var(--ease); }
.pip-eye { transform-box: fill-box; transform-origin: center; }
.pip.blink .pip-eye { animation: blink .22s ease-in-out; }
.pupil, .glint { transition: transform .12s linear; }
.pip-mouth { transition: d .3s; }
.pip-shadow { display: block; width: 130px; height: 16px; margin: -6px auto 0; border-radius: 50%; background: radial-gradient(rgba(13,15,12,.18), transparent 70%); animation: pipShadow 5s ease-in-out infinite; }
@keyframes pipFloat { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes pipShadow { 0%,100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.78); opacity: .6; } }
@keyframes squish { 0% { transform: scale(1,1); } 30% { transform: scale(1.18,.82); } 55% { transform: scale(.9,1.12); } 75% { transform: scale(1.05,.96); } 100% { transform: scale(1,1); } }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
@keyframes blink { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.08); } }
.pip-bubble { position: absolute; left: 175px; top: 40px; width: 200px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.35; padding: 12px 14px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow); transform-origin: bottom left; transition: opacity .3s, transform .35s var(--ease); z-index: 2; }
.pip-bubble.hide { opacity: 0; transform: scale(.85) translateY(6px); }
.pip-bubble b { color: var(--lime); font-weight: 650; }

/* marquee */
.marquee-wrap { margin-top: 30px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.mq-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: 14px; font-weight: 500; white-space: nowrap; }
.mq-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Builder ---------- */
.build-band { position: relative; padding: 110px 0 120px; background:
  radial-gradient(900px 500px at 15% 10%, rgba(219,255,110,.9), transparent 60%),
  radial-gradient(800px 600px at 90% 80%, rgba(201,245,29,.85), transparent 60%),
  linear-gradient(180deg, #E8FBA9 0%, #D4F567 100%); }
.build-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(13,15,12,.07) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); mask: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent); pointer-events: none; }
.build-band .wrap { position: relative; }
.build-band .section-head p { color: #3C4A1B; }
.build-band .eyebrow { color: var(--ink); }
.console { border-radius: 30px; padding: 22px; background: rgba(255,255,255,.88); }
.console-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 6px 18px; }
.steps { display: flex; gap: 6px; flex-wrap: wrap; }
.steps span { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--muted); transition: background .3s, color .3s; }
.steps span.on { background: var(--ink); color: var(--lime); }
.console-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr) 360px; grid-template-areas: "who where sum" "prev prev sum"; gap: 16px; align-items: start; }
.console-grid > * { min-width: 0; }
.panel-who { grid-area: who; align-self: stretch; } .panel-where { grid-area: where; align-self: stretch; } .panel-sum { grid-area: sum; } .console-grid > .preview { grid-area: prev; margin-top: 0; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.panel-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel-h.small { margin: 22px 0 8px; }
.panel-h h3 { font-size: 17px; }
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--lime); font-size: 12.5px; font-weight: 700; flex-shrink: 0; }
.panel-note { margin-left: auto; font-size: 12.5px; color: var(--muted); font-weight: 500; background: var(--bg); padding: 4px 10px; border-radius: 999px; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search { position: relative; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line-2); border-radius: 16px; padding: 0 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201,245,29,.55); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 0; font-size: 15.5px; background: transparent; }
.search-sm input { padding: 11px 0; font-size: 14.5px; }
.suggest { position: absolute; z-index: 20; left: -1.5px; right: -1.5px; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 6px; max-height: 320px; overflow-y: auto; }
.sg { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 14.5px; }
.sg:hover, .sg.active { background: var(--lime-soft); }
.sg small { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.sg mark { background: none; font-weight: 700; color: var(--ink); }
.sg-empty { padding: 12px; color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-sm { padding: 5px 11px; font-size: 13px; }
.chips-selected { margin: 12px 0 2px; }
.chips-selected:empty { display: none; }
.sel { display: inline-flex; align-items: center; gap: 6px; background: var(--lime); border: 1px solid rgba(13,15,12,.1); border-radius: 999px; padding: 6px 6px 6px 13px; font-size: 13.5px; font-weight: 600; animation: pop .35s var(--ease); }
.sel button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(13,15,12,.1); cursor: pointer; font-size: 14px; line-height: 1; display: grid; place-items: center; }
.sel button:hover { background: var(--ink); color: #fff; }
@keyframes pop { from { transform: scale(.7); opacity: 0; } }
.mini-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }
.hint { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.hint.tight { margin: -2px 0 10px; }
.more { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 17px; transition: transform .3s; }
.more[open] summary::after { transform: rotate(45deg); }
.more summary em { font-style: normal; font-size: 12px; background: var(--lime); padding: 2px 8px; border-radius: 999px; }
.more summary em:empty { display: none; }
.more-body .mini-label:first-child { margin-top: 10px; }

/* map */
.map-wrap { position: relative; display: flex; justify-content: center; margin: -4px 0 12px; }
.ukmap { width: 100%; max-width: 300px; height: auto; aspect-ratio: 64 / 114; display: block; overflow: visible; }
.ukmap .reg { cursor: pointer; }
.ukmap .reg circle { fill: #D9DDCF; transition: fill .35s, r .35s; }
.ukmap .reg.l1 circle { fill: #CBDDA0; }
.ukmap .reg.l2 circle { fill: #BCE070; }
.ukmap .reg.l3 circle { fill: #ADDB43; }
.ukmap .reg.l4 circle { fill: var(--lime-3); }
.ukmap .reg.sel circle { fill: var(--ink); }
.ukmap .reg:hover circle { fill: var(--lime-2); }
.ukmap .reg.sel:hover circle { fill: #3A4033; }
.map-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; padding: 7px 10px; border-radius: 10px; font-size: 12.5px; white-space: nowrap; transform: translate(-50%, -120%); box-shadow: var(--shadow); }
.map-tip b { color: var(--lime); font-family: var(--mono); }

/* summary */
.panel-sum { position: sticky; top: 88px; background: #fff; }
.sum-count { background: var(--ink); color: #fff; border-radius: 18px; padding: 18px 18px 16px; position: relative; overflow: hidden; }
.sum-count::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(201,245,29,.45), transparent 70%); }
.count-num { font-family: var(--display); font-size: 48px; letter-spacing: -.03em; font-weight: 600; line-height: 1; color: var(--lime); min-height: 46px; }
.count-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #C9CDBF; margin-top: 6px; }
.count-new { font-size: 12.5px; color: var(--lime); margin-top: 6px; }
.spin { width: 13px; height: 13px; border: 2px solid rgba(201,245,29,.3); border-top-color: var(--lime); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toggles { display: grid; gap: 6px; }
.tog { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; position: relative; }
.tog:hover { border-color: var(--line-2); background: #FBFCF8; }
.tog input { position: absolute; opacity: 0; pointer-events: none; }
.tog-ui { width: 38px; height: 22px; border-radius: 999px; background: #DADDD2; position: relative; transition: background .25s; }
.tog-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.tog input:checked ~ .tog-ui { background: var(--ink); }
.tog input:checked ~ .tog-ui::after { transform: translateX(16px); background: var(--lime); }
.tog input:focus-visible ~ .tog-ui { outline: 3px solid var(--lime-3); outline-offset: 2px; }
.tog input:checked ~ .tog-text b { color: var(--ink); }
.tog-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.tog-text b { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tog-text small { font-size: 12px; color: var(--muted); }
.tog-price { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--lime-ink); background: var(--lime-soft); padding: 3px 8px; border-radius: 8px; }
.premium { margin-top: 12px; background: var(--ink); color: #fff; border-radius: 18px; padding: 14px 12px 12px; }
.premium-h { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.premium-h b { font-size: 14.5px; }
.premium-badge { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 3px 8px; border-radius: 999px; }
.premium-note { font-size: 12.5px; color: #C9CDBF; margin: 6px 4px 10px; line-height: 1.45; }
.premium .tog { background: #fff; color: var(--ink); border-color: transparent; }
.premium .tog:hover { background: #fff; }
.tog.tog-off { cursor: not-allowed; opacity: .7; }
.tog.tog-off .tog-price { background: var(--bg-2); color: var(--muted); }
.premium-soon { font-size: 12px; color: var(--lime); margin: 8px 4px 0; }
.premium-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 12px; margin-top: 10px; }
.premium-row { grid-template-columns: 1fr; }
.premium-stats { display: block; margin-top: 6px; font-size: 12.5px; color: var(--lime-ink); }
.premium-stats b { color: var(--ink); }
.premium-chat { display: block; width: 100%; margin-top: 10px; background: none; border: 1px solid rgba(201,245,29,.5); color: var(--lime); border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.premium-chat:hover { background: rgba(201,245,29,.1); }
.vol input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), #E1E4D8 var(--p, 50%)); outline: none; margin: 4px 0 12px; }
.vol input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); border: 3px solid var(--ink); cursor: grab; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.vol input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 3px solid var(--ink); cursor: grab; }
.vol-row { display: flex; gap: 8px; align-items: center; }
.vol-input { flex: 1; display: flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 12px; }
.vol-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201,245,29,.55); }
.vol-input input { width: 100%; border: 0; outline: 0; padding: 10px 0; font-family: var(--font); font-variant-numeric: tabular-nums; font-size: 17px; font-weight: 600; background: none; }
.vol-input span { color: var(--muted); font-size: 13px; }
.vol-hint { font-size: 12.5px; color: var(--lime-ink); margin: 8px 0 0; min-height: 18px; font-weight: 500; }
.price-box { margin: 16px 0 14px; padding: 14px 0 0; border-top: 1px dashed var(--line-2); }
.price-line, .price-extras div { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); padding: 2px 0; }
.price-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.price-total span { font-weight: 600; }
.price-total b { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -.03em; }
.price-note { font-size: 12px; color: var(--muted); margin: 2px 0 0; text-align: right; }
.btn-go { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 14px 30px -10px rgba(110,160,0,.8); }
.go-note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }

/* preview */
.preview { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.preview-h { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.preview-h .hint { margin: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 760px; }
.ptable th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ptable td { padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.ptable tr:last-child td { border-bottom: 0; }
.ptable tbody tr { animation: rowIn .5s var(--ease) both; }
.ptable tbody tr:nth-child(2) { animation-delay: .05s; } .ptable tbody tr:nth-child(3) { animation-delay: .1s; } .ptable tbody tr:nth-child(4) { animation-delay: .15s; } .ptable tbody tr:nth-child(5) { animation-delay: .2s; } .ptable tbody tr:nth-child(6) { animation-delay: .25s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }
.ptable td.m { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.ptable td b { font-weight: 600; }
.ptable .off { display: none; }
.ptable tr.sk i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, #EEF0E8, #F7F8F3, #EEF0E8); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; width: 80%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.ptable .empty-row td { text-align: center; color: var(--muted); padding: 26px; white-space: normal; }

/* mobile sticky bar */
.mbar { display: none; }

/* ---------- Compare / steps ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; }
.cmp { border-radius: var(--radius); padding: 30px; }
.cmp h3 { font-size: 22px; margin-bottom: 18px; }
.cmp ol { list-style: none; padding: 0; margin: 0 0 6px; counter-reset: c; }
.cmp li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(13,15,12,.08); font-size: 15.5px; counter-increment: c; }
.cmp li::before { content: counter(c); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; flex-shrink: 0; }
.cmp li em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.cmp.old { background: var(--bg-2); color: #6E7468; }
.cmp.old li::before { background: #DADDD2; color: #7C8276; }
.cmp.old li span { text-decoration: line-through; text-decoration-color: rgba(13,15,12,.25); }
.cmp.new { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cmp.new::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(201,245,29,.35), transparent 70%); }
.cmp.new h3 { color: var(--lime); }
.cmp.new li { border-top-color: rgba(255,255,255,.1); }
.cmp.new li::before { background: var(--lime); color: var(--ink); }
.cmp.new li em { color: var(--lime); }
.cmp.new .btn { margin-top: 18px; position: relative; z-index: 1; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.s3 { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.s3:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.s3-n { display: inline-block; font-size: 13px; font-weight: 600; background: var(--lime); padding: 4px 9px; border-radius: 8px; margin-bottom: 18px; }
.s3 h3 { font-size: 22px; margin-bottom: 8px; }
.s3 p { color: var(--muted); margin: 0; }

/* ---------- Pricing ---------- */
.pricing { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; max-width: 960px; margin: 0 auto; }
.band { text-align: center; }
.band-bar { height: 190px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 12px; }
.band-bar i { display: block; width: 100%; max-width: 110px; height: var(--h); border-radius: 16px 16px 8px 8px; background: linear-gradient(180deg, var(--lime) 0%, var(--lime-3) 100%); transform-origin: bottom; transition: transform 1s var(--ease); }
.pricing:not(.in) .band-bar i { transform: scaleY(.05); }
.band:nth-child(2) .band-bar i { transition-delay: .08s; } .band:nth-child(3) .band-bar i { transition-delay: .16s; } .band:nth-child(4) .band-bar i { transition-delay: .24s; } .band:nth-child(5) .band-bar i { transition-delay: .32s; } .band:nth-child(6) .band-bar i { transition-delay: .4s; }
.band b { display: block; font-family: var(--display); font-size: 30px; font-weight: 700; }
.band span { font-size: 13px; color: var(--muted); }
.extras-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 44px auto 0; }
.extra { display: flex; gap: 12px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 14.5px; }
.extra b { font-family: var(--mono); color: var(--lime-ink); }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.example { border-radius: var(--radius); padding: 24px; background: var(--bg); border: 1px solid var(--line); }
.example p { margin: 0 0 14px; font-weight: 600; }
.example b { display: block; font-family: var(--display); font-size: 38px; font-weight: 700; letter-spacing: -.03em; }
.example span { color: var(--muted); font-size: 14px; }
.example:nth-child(2) { background: var(--lime); border-color: var(--lime-2); }
.example:nth-child(2) span { color: #3C4A1B; }

/* ---------- Inside ---------- */
.inside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.inside h2 { margin-bottom: 18px; }
.field-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.field-cloud span { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.field-cloud span:nth-child(3n) { background: var(--lime-soft); border-color: #DDF29A; }
.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile b { display: block; font-family: var(--display); font-size: 32px; font-weight: 700; line-height: 1.1; }
.tile span { color: var(--muted); font-size: 14px; }
.tile.big { grid-column: 1 / -1; background: var(--ink); color: #fff; border-color: var(--ink); }
.tile.big b { font-size: clamp(40px, 5vw, 64px); color: var(--lime); }
.tile.big span { color: #C9CDBF; }
.tile.lime { background: var(--lime); border-color: var(--lime-2); }
.tile.lime span { color: #3C4A1B; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 70px; }
.promise div { border-top: 2px solid var(--ink); padding-top: 18px; }
.promise h3 { font-size: 20px; margin-bottom: 8px; }
.promise p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); flex-shrink: 0; position: relative; transition: background .2s, transform .3s; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-list summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq-list details[open] summary i { background: var(--lime); border-color: var(--lime-2); }
.faq-list details[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-list details p { margin: -4px 0 20px; color: var(--muted); max-width: 640px; }

/* ---------- Final CTA + footer ---------- */
.final { padding: 0 0 110px; }
.final-inner { background: var(--lime); border-radius: 32px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.final-inner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(13,15,12,.09) 1px, transparent 1px); background-size: 18px 18px; }
.final-inner > * { position: relative; }
.final h2 { font-size: clamp(30px, 3.8vw, 48px); max-width: 720px; }
.final p { margin: 12px 0 0; color: #3C4A1B; font-size: 17px; }
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 30px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 340px; }
.footer-grid h4 { margin: 4px 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.footer-grid div > a:not(.logo) { display: block; text-decoration: none; padding: 4px 0; font-size: 15px; }
.footer-grid div > a:not(.logo):hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-mail a { text-decoration: none; font-weight: 550; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; background: rgba(13,15,12,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; justify-content: flex-end; opacity: 0; transition: opacity .3s; }
.drawer.open { opacity: 1; }
.drawer-card { width: 100%; max-width: 480px; height: 100%; overflow-y: auto; background: var(--bg); padding: 34px 30px 40px; position: relative; transform: translateX(40px); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.open .drawer-card { transform: none; }
.drawer-card h2 { font-size: 34px; margin-bottom: 18px; }
.drawer-close { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-size: 22px; cursor: pointer; }
.drawer-sum { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin-bottom: 20px; }
.ds-row { display: flex; gap: 12px; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ds-row:last-child { border-bottom: 0; }
.ds-row span { color: var(--muted); flex-shrink: 0; }
.ds-row b { font-weight: 600; text-align: right; }
.ds-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; }
.ds-total b { font-family: var(--mono); font-size: 30px; letter-spacing: -.04em; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 15.5px; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201,245,29,.55); }
.field input.bad { border-color: var(--danger); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 2px; flex-shrink: 0; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

/* ---------- Alerts ---------- */
.alert { border-radius: 14px; padding: 12px 16px; font-size: 14.5px; margin: 0 0 16px; border: 1px solid; }
.alert-error { background: #FEF1EF; border-color: #F6CFC9; color: #8A1F14; }
.alert-success { background: var(--lime-soft); border-color: #D6F08A; color: #2F4500; }
.alert-info { background: #fff; border-color: var(--line); color: var(--ink-2); }

/* ---------- Install sheet ---------- */
.install-sheet { position: fixed; inset: 0; z-index: 120; background: rgba(13,15,12,.45); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.install-sheet.is-open { display: flex; }
.install-card { position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: 28px; padding: 30px 26px 26px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .35s var(--ease); }
.install-close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 20px; cursor: pointer; }
.install-icon { border-radius: 18px; box-shadow: var(--shadow); }
.install-card h2 { font-size: 30px; margin: 14px 0 8px; }
.install-card h2 span { background: linear-gradient(180deg, transparent 58%, var(--lime) 58%); }
.install-lead { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.install-steps { text-align: left; margin: 0; padding-left: 22px; font-size: 15px; }
.install-steps li { margin: 8px 0; }
.install-steps svg { vertical-align: -3px; }
.install-qr { border-radius: 14px; border: 1px solid var(--line); padding: 8px; background: #fff; }
.install-small { font-size: 13.5px; color: var(--muted); }

/* ---------- Auth / app pages ---------- */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 18px; background: radial-gradient(700px 400px at 80% 0%, rgba(219,255,110,.7), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(201,245,29,.45), transparent 60%), var(--bg); }
.auth-wrap { width: 100%; max-width: 460px; }
.auth-wrap > .logo { margin: 0 auto 22px; display: flex; justify-content: center; }
.auth-card { background: rgba(255,255,255,.9); backdrop-filter: blur(18px); border: 1px solid #fff; border-radius: 28px; padding: 32px 28px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 30px; margin-bottom: 8px; }
.auth-card .muted { color: var(--muted); }
.auth-links { display: flex; justify-content: space-between; font-size: 14px; margin-top: 16px; }
.app-main { padding: 34px 0 80px; min-height: 70vh; }
.app-title { margin-bottom: 24px; }
.app-title h1 { font-size: clamp(28px, 3.4vw, 40px); }
.app-title p { color: var(--muted); margin: 8px 0 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card-head h2 { font-size: 20px; }
.card-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.kpi b { display: block; font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpi.dark b { color: var(--lime); }
.kpi.dark span { color: #C9CDBF; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data .num { text-align: right; font-family: var(--font); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data a { font-weight: 600; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--ink-2); white-space: nowrap; }
.pill-ok { background: var(--lime); color: var(--ink); }
.pill-warn { background: #FFF1D6; color: #7A4B00; }
.pill-bad { background: #FEE4E2; color: #912018; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.order-card { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.order-card:last-child { border-bottom: 0; }
.order-card h3 { font-size: 17px; margin-bottom: 4px; }
.order-card p { margin: 0; color: var(--muted); font-size: 13.5px; }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.spec { display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; font-size: 14px; margin: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 500; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.progress { height: 10px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime-3), var(--lime)); border-radius: 999px; transition: width .4s; }

/* thanks page */
.build-anim { display: flex; justify-content: center; margin: 6px 0 16px; }
.build-anim .ring { width: 92px; height: 92px; border-radius: 50%; border: 6px solid var(--bg-2); border-top-color: var(--lime-3); animation: spin 1s linear infinite; }
.done-tick { width: 92px; height: 92px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; animation: pop .5s var(--ease); }
.done-tick svg { width: 46px; height: 46px; }
.done-tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* legal */
.legal { max-width: 820px; }
.legal h2 { font-size: 24px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .console-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: "who where" "sum sum" "prev prev"; }
  .panel-sum { grid-column: 1 / -1; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
  .panel-sum > .sum-count { grid-column: 1 / -1; margin-bottom: 4px; }
  .panel-sum .price-box, .panel-sum .btn-go, .panel-sum .go-note { grid-column: 2; }
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .main-nav { display: flex; flex-direction: column; position: absolute; left: 12px; right: 12px; top: 74px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: var(--shadow-lg); margin: 0; }
  body.nav-open .main-nav a { padding: 14px 16px; font-size: 16px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { height: 340px; }
  .hero-card { right: 2%; top: 10px; width: 260px; }
  .pip-wrap { left: 0; bottom: 0; }
  .pip { width: 180px; height: 180px; }
  .pip-bubble { left: 120px; top: -14px; width: 180px; }
  .compare-grid, .inside-grid, .faq-grid { grid-template-columns: 1fr; }
  .steps3, .examples, .promise { grid-template-columns: 1fr; }
  .bands { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .band-bar { height: 120px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .header-inner { height: 62px; gap: 10px; }
  .logo-img { height: 26px; }
  .app-pill span { display: none; }
  .app-pill { padding: 8px; }
  .header-actions .btn-sm { display: none; }
  .app-header .header-actions .app-user { display: none; }
  .app-nav { margin-left: 0; overflow-x: auto; }
  .app-header .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; }
  .app-header .app-nav { order: 3; width: 100%; }
  .hero { padding: 40px 0 20px; }
  .kinetic { font-size: clamp(40px, 12vw, 58px); }
  .hero-sub { font-size: 17px; }
  .hero-visual { height: 270px; margin-top: 10px; }
  .hero-card { width: 200px; padding: 14px; top: 0; right: 0; }
  .hc-num { font-size: 36px; margin-top: 10px; }
  .hc-bars { height: 36px; margin: 10px 0 8px; }
  .hc-row { font-size: 12.5px; padding: 6px 0; }
  .pip-wrap { left: -10px; bottom: 0; width: 170px; }
  .pip { width: 150px; height: 150px; }
  .pip-bubble { left: 96px; top: auto; bottom: 150px; width: 170px; font-size: 13px; z-index: 3; }
  .fl-card, .fl-check { display: none; }
  .build-band { padding: 70px 0 90px; }
  .console { padding: 10px; border-radius: 24px; }
  .console-top { padding: 6px 6px 12px; }
  .steps { display: none; }
  .console-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "who" "where" "sum" "prev"; gap: 10px; }
  .panel { padding: 16px; border-radius: 18px; }
  .panel-sum { display: block; }
  .ukmap { max-width: 230px; }
  .f2 { grid-template-columns: 1fr; gap: 0; }
  .mbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: 20px; padding: 10px 10px 10px 18px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .4s var(--ease); }
  .mbar.show { transform: none; }
  .mbar > div { display: flex; flex-direction: column; line-height: 1.1; }
  .mbar b { font-size: 18px; color: var(--lime); }
  .mbar small { font-size: 11.5px; color: #B9BDB0; }
  .mbar .btn { margin-left: auto; }
  .cmp { padding: 22px; }
  .cmp li { font-size: 14.5px; }
  .final-inner { flex-direction: column; align-items: flex-start; padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .drawer-card { max-width: none; padding: 28px 18px 40px; }
  .spec { grid-template-columns: 1fr; }
  .spec dt { margin-top: 8px; }
  .order-card { grid-template-columns: 1fr; }
  .order-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .kinetic .w { opacity: 1; filter: none; transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Thanks page: screening progress */
.screen-steps { text-align: left; margin: 22px 0 4px; display: grid; gap: 0; }
.screen-steps .ss { display: grid; grid-template-columns: 26px 1fr; gap: 12px; position: relative; padding-bottom: 16px; }
.screen-steps .ss:not(:last-child)::before { content: ""; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.screen-steps .ss.done:not(:last-child)::before { background: var(--lime-3); }
.screen-steps .ss-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: #fff; margin-top: 1px; }
.screen-steps .ss.done .ss-dot { background: var(--lime); border-color: var(--lime-3); }
.screen-steps .ss.now .ss-dot { border-color: var(--lime-3); box-shadow: 0 0 0 0 rgba(155,203,18,.5); animation: ssPulse 1.6s infinite; }
.screen-steps .ss > div > strong { display: block; font-size: 15.5px; }
.screen-steps small strong { color: var(--ink); font-weight: 600; }
.screen-steps small { display: block; color: var(--muted, #6B7068); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
@keyframes ssPulse { 0% { box-shadow: 0 0 0 0 rgba(155,203,18,.55); } 70% { box-shadow: 0 0 0 10px rgba(155,203,18,0); } 100% { box-shadow: 0 0 0 0 rgba(155,203,18,0); } }

/* Builder: delivery promise (instant vs TPS/CTPS screened) */
.deliv { background: #F1FBD0; display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; padding: 11px 13px; border-radius: 14px; background: color-mix(in srgb, var(--lime) 22%, #fff); border: 1px solid var(--lime-2); font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.deliv b { font-weight: 700; }
.deliv i { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--ink) no-repeat center / 13px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z' fill='%23C9F51D'/%3E%3C/svg%3E"); }
.deliv.is-screen { background: #fff; border-color: var(--line); }
.deliv.is-screen i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5z' fill='%23C9F51D'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5' fill='none' stroke='%230D1009' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Google landing pages (data.php) - Oct 2026 ---------- */
.lp-hero { padding: 54px 0 30px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lp-h1 { font-size: clamp(36px, 4.6vw, 62px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin: 0 0 20px; }
.lp-hero .lead { max-width: 640px; margin: 0 0 26px; }
.lp-crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.lp-crumbs a { color: var(--ink-2); text-decoration: none; }
.lp-crumbs a:hover { text-decoration: underline; }
.lp-crumbs span { color: var(--muted); }
.lp-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-section { padding: 70px 0; }
.lp-alt { background: var(--bg-2); }
.lp-section .section-head { margin-bottom: 34px; }
.lp-section h2 { font-size: clamp(28px, 3.4vw, 44px); }
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.lp-card h3 { font-size: 20px; margin-bottom: 8px; }
.lp-card p { margin: 0; color: var(--muted); }
.lp-examples { margin-top: 0; }
.lp-note { color: var(--muted); font-size: 14.5px; margin: 18px 0 0; }
.lp-table-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.lp-ptable tbody tr { animation: none; }
.lp-grid-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; text-decoration: none; transition: border-color .2s, transform .2s; }
.lp-row:hover { border-color: var(--ink); transform: translateY(-1px); }
.lp-row.on { background: var(--lime); border-color: var(--lime-2); }
.lp-row span { font-weight: 550; }
.lp-row b { font-size: 16px; }
.lp-promise { display: grid; gap: 14px; }
.lp-promise > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.lp-promise h3 { font-size: 19px; margin-bottom: 6px; }
.lp-promise p { margin: 0; color: var(--muted); }
.lp-faq { padding: 80px 0; }
.lp-links h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--font); margin: 26px 0 12px; }
.lp-links h3:first-child { margin-top: 0; }
.lp-chips .chip { text-decoration: none; }
.lp-home-links { padding: 90px 0 40px; }
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-cards, .lp-grid-list, .lp-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .lp-cards, .lp-grid-list, .lp-grid-4 { grid-template-columns: 1fr; }
  .lp-section { padding: 50px 0; }
}
@media (min-width: 981px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }

/* Live database size bar (Oct 2026, like DataZip's) */
.live-bar { background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 12px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.live-bar .live-num { color: var(--lime); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; min-width: 9ch; text-align: center; }
.live-bar .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; animation: pulse 2s infinite; }
@media (max-width: 640px) { .live-bar { font-size: 9.5px; gap: 6px; padding: 5px 8px; letter-spacing: .04em; } .live-bar .live-num { min-width: 8ch; } }

/* Free sample download (Gary, 15 Oct) */
.sample-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14.5px; font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(13,15,12,.25); text-underline-offset: 4px; }
.sample-link span { font-weight: 450; color: var(--muted); }
.sample-link:hover { text-decoration-color: var(--ink); }
.sample-btn { margin-top: 22px; }
.sample-note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.ap-sheet .sample-btn { width: 100%; margin-top: 14px; }
@media (max-width: 560px) { .sample-link span { display: none; } }

/* Postal address unticked - say there's no street address (Gary, 25 Oct 2026) */
.tog-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #FDF1DC; border: 1px solid #F5D9A8; color: #6B4A00; font-size: 13px; line-height: 1.45; }
.tog-warn[hidden] { display: none; }
.tog-warn b { color: #8A5A00; }

/* Thank-you page: "Create your login to download your data" panel; login page "first time?" box */
.login-cta { text-align: left; margin: 22px 0 4px; padding: 20px 20px 18px; border-radius: 18px; background: #F7FBE6; border: 1.5px solid var(--lime-3, #9BCB12); }
.login-cta h2 { font-size: 21px; margin: 0 0 6px; }
.login-cta > p { margin: 0 0 14px; color: #4A4F47; font-size: 14.5px; }
.login-cta input[readonly] { background: #F1F3EC; color: #4A4F47; }
.login-cta .field small.muted { display: block; margin-top: 4px; font-size: 12px; }
.auth-help { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #F4F5F1; border: 1px solid var(--line); font-size: 14px; }
.auth-help strong { display: block; margin-bottom: 2px; }
.auth-help p { margin: 0 0 6px; color: #4A4F47; }
.auth-help a { font-weight: 700; }

/* ---------------- Enrich my list (enrich.php, 28 Oct 2026) ---------------- */
.enrich .kpis { grid-template-columns: repeat(3, 1fr); }
.en-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.en-grid .card { margin-bottom: 0; }
.en-grid h2, .en-map h2 { font-size: 20px; }
.en-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; border: 2px dashed var(--line-2); border-radius: 18px; padding: 34px 18px; margin-bottom: 16px; cursor: pointer; background: #FBFCF8; transition: border-color .2s, background .2s; position: relative; }
.en-drop:hover, .en-drop.over { border-color: var(--ink); background: var(--lime-soft); }
.en-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.en-drop b { font-size: 17px; word-break: break-all; }
.en-drop small { color: var(--muted); font-size: 13.5px; max-width: 420px; }
.en-drop-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.en-ticks, .en-plain { list-style: none; padding: 0; margin: 10px 0 0; }
.en-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.en-ticks li { position: relative; padding-left: 22px; font-size: 14.5px; }
.en-ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2.5px solid var(--lime-ink); border-bottom: 2.5px solid var(--lime-ink); transform: rotate(-45deg); }
.en-ticks small { color: var(--muted); }
.en-plain li { font-size: 14.5px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); }
.en-plain li:last-child { border-bottom: 0; }
.en-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.en-steps div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.en-steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.en-steps b { display: block; }
.en-steps p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.en-map { max-width: 760px; }
.en-map-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.en-map-row:last-of-type { border-bottom: 0; margin-bottom: 14px; }
.en-map-row small { display: block; color: var(--muted); font-size: 12.5px; }
.en-map-row select { width: 100%; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: 14.5px; background: #fff; }
.en-progress { max-width: 760px; }
.en-bar { height: 14px; border-radius: 999px; background: #ECEEE6; overflow: hidden; margin-bottom: 12px; }
.en-bar i { display: block; height: 100%; background: var(--lime); border-radius: 999px; transition: width .6s var(--ease); }
.en-fields { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.en-fields td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.en-fields td small { color: var(--muted); font-size: 12px; }
.en-fields .num { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.en-sub { font-size: 15px; margin: 20px 0 8px; }
.en-sample { list-style: none; padding: 0; margin: 0; }
.en-sample li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.en-sample li b { display: block; }
.en-tag { display: inline-block; font-style: normal; font-size: 12px; background: var(--lime-soft); border: 1px solid #DDF29A; border-radius: 999px; padding: 2px 8px; margin: 4px 4px 0 0; }
.en-buy .tog { margin-bottom: 14px; }
.en-price { background: var(--ink); color: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; }
.en-price div { font-size: 14px; color: #C9CDBF; line-height: 1.6; }
.en-price b { display: block; font-family: var(--display); font-size: 34px; color: var(--lime); letter-spacing: -.03em; margin: 2px 0; }
.en-price small { display: block; font-size: 12.5px; color: #C9CDBF; }
.en-price small.muted { color: #9AA092; }
@media (max-width: 980px) {
  .en-grid, .en-steps { grid-template-columns: 1fr; }
  .enrich .kpis { grid-template-columns: 1fr 1fr; }
  .enrich .kpis .kpi.dark { grid-column: span 2; }
  .en-buy { order: -1; }
  .en-map-row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) { .en-ticks { grid-template-columns: 1fr; } }
.enrich-band { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; background: var(--ink); color: #E6E9DD; border-radius: 22px; padding: 20px 24px; text-decoration: none; font-size: 15px; line-height: 1.5; transition: transform .25s var(--ease); }
.enrich-band:hover { transform: translateY(-2px); }
.enrich-band b { color: var(--lime); display: block; font-size: 17px; margin-bottom: 2px; }
@media (max-width: 760px) { .enrich-band { flex-direction: column; align-items: flex-start; } }

/* ---------------- Membership (membership.php, portal/membership.php, 28 Oct 2026) ---------------- */
.member-band { background: var(--lime); color: var(--ink); }
.member-band b { color: var(--ink); }
.member-band .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.mem-hero { padding: 54px 0 26px; }
.mem-hero h1 { font-size: clamp(32px, 4.4vw, 56px); max-width: 900px; }
.mem-hero .lead { font-size: 19px; color: var(--ink-2); max-width: 760px; margin: 16px 0 0; }
.mem-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mem-points li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 32px; font-size: 14px; position: relative; }
.mem-points li::before { content: ""; position: absolute; left: 13px; top: 13px; width: 9px; height: 5px; border-left: 2.5px solid var(--lime-ink); border-bottom: 2.5px solid var(--lime-ink); transform: rotate(-45deg); }
.mem-you { margin-top: 6px; }
.mem-plans { padding: 18px 0 30px; }
.mem-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.mem-grid .mem-card { padding: 22px 16px 16px; }
.mem-grid .mem-price b { font-size: 30px; }
.mem-grid .mem-ent { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 20px 24px; }
.mem-ent-text h2 { font-size: 22px; }
.mem-ent-text h2 span { color: #E6E9DD; font-size: 16px; font-weight: 600; }
.mem-ent-text p { margin: 4px 0 0; color: #C9CDBF; font-size: 14.5px; }
.mem-ent .btn { flex: none; }
.mem-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px 18px; display: flex; flex-direction: column; position: relative; }
.mem-card.popular { border: 2px solid var(--ink); box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
.mem-badge { position: absolute; top: -12px; left: 18px; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 10px; }
.mem-card h2 { font-size: 20px; }
.mem-price { margin: 10px 0 2px; }
.mem-price b { font-family: var(--display); font-size: 34px; letter-spacing: -.03em; }
.mem-price span { color: var(--muted); font-size: 14px; }
.mem-recs { font-weight: 650; font-size: 15px; }
.mem-pp { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.mem-cmp { border-top: 1px dashed var(--line); padding: 12px 0; margin-top: auto; font-size: 13.5px; }
.mem-cmp div { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.mem-cmp span { color: var(--muted); }
.mem-cmp s { color: var(--muted); }
.mem-cmp .save b { font-family: var(--display); font-size: 22px; color: var(--lime-ink); }
.mem-table-wrap { margin-top: 26px; overflow-x: auto; }
.mem-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 14.5px; }
.mem-table th, .mem-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mem-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.mem-table th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
.mem-table td small { color: var(--muted); }
.mem-table tr.popular td { background: var(--lime-soft); }
.mem-table td.save { font-weight: 700; color: var(--lime-ink); }
.mem-how { padding: 24px 0; }
.mem-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mem-how .s3 { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; opacity: 1; transform: none; }
.mem-how .s3 span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.mem-how .s3 b { display: block; }
.mem-how .s3 p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.mem-note { background: #FFF8E6; border: 1px solid #F2DFA8; border-radius: 18px; padding: 18px 20px; }
.mem-note h3 { font-size: 16px; margin-bottom: 4px; }
.mem-note p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.mem-join { padding: 30px 0 90px; }
.mem-join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.mem-faq h2 { font-size: 24px; margin-bottom: 10px; }
.mem-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; }
.mem-faq summary { font-weight: 650; cursor: pointer; }
.mem-faq details p { margin: 8px 0 0; color: var(--ink-2); font-size: 14.5px; }
.mem-form h2 { font-size: 22px; margin-bottom: 12px; }
.mem-form select { width: 100%; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 15px; background: #fff; }
.mem-dash .card { margin-bottom: 18px; }
.mem-left b { font-family: var(--display); font-size: 44px; letter-spacing: -.03em; display: block; line-height: 1; }
.mem-left span { color: var(--muted); font-size: 14px; }
.mem-bar { height: 12px; border-radius: 999px; background: #ECEEE6; overflow: hidden; margin: 14px 0 8px; }
.mem-bar i { display: block; height: 100%; background: var(--ink); border-radius: 999px; }
.mem-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.mem-topups { display: flex; gap: 10px; flex-wrap: wrap; }
.mem-topup { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 16px; cursor: pointer; min-width: 120px; font: inherit; }
.mem-topup:hover { border-color: var(--ink); background: var(--lime-soft); }
.mem-topup b { font-size: 17px; }
.mem-topup span { color: var(--muted); font-size: 13.5px; }
.mem-planpick { display: grid; gap: 8px; }
.mem-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; }
.mem-opt.cur { background: var(--lime-soft); border-color: #DDF29A; }
.mem-opt input { margin-top: 4px; accent-color: var(--ink); }
.mem-opt i { font-style: normal; font-size: 12px; background: var(--ink); color: var(--lime); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.mem-opt small { display: block; color: var(--muted); }
.mem-planpick .btn { justify-self: start; margin-top: 6px; }
.mem-recent { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mem-recent td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.mem-recent td.num { text-align: right; }
.member-done { text-align: center; padding: 10px 0; }
.member-done .build-anim { margin: 0 auto 10px; }
@media (max-width: 1180px) { .mem-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .mem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mem-how-grid, .mem-join-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .mem-grid { grid-template-columns: 1fr; } .mem-hero { padding-top: 34px; } }
/* Header: 6 links since Enrich + Membership (28 Oct) - keep it on one line on smaller laptops. */
.main-nav a, .header-login, .app-pill span { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1280px) { .main-nav a[href$="#inside"], .main-nav a[href$="#how"] { display: none; } }
@media (min-width: 981px) and (max-width: 1100px) { .app-pill span { display: none; } }

.mem-ent { background: var(--ink); color: #E6E9DD; border-color: var(--ink); }
.mem-ent h2 { color: var(--lime); }
.mem-ent .mem-pp, .mem-ent .mem-cmp span { color: #C9CDBF; }
.mem-ent .mem-cmp { border-top-color: rgba(255,255,255,.15); }
.mem-ent .btn-dark { background: var(--lime); color: var(--ink); border-color: var(--lime-2); }
.mem-ent .btn-dark:hover { background: var(--lime-2); color: var(--ink); }
.mem-ent-text { flex: 1; min-width: 260px; }

/* ---------------- Homepage pop-ups + membership section (28 Oct 2026) ---------------- */
/* Anchors land below the sticky header (header + live bar), not under it. */
html { scroll-padding-top: 112px; }
html.pop-locked, html.pop-locked body { overflow: hidden; }
.hero-mem small { font-weight: 500; opacity: .75; margin-left: 4px; }
/* builder teaser */
.bstep-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bstep { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px; cursor: pointer; font: inherit; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; }
.bstep:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ink); }
.bstep span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--lime); font-weight: 700; margin-bottom: 12px; }
.bstep b { display: block; font-size: 19px; font-family: var(--display); letter-spacing: -.02em; }
.bstep small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.4; }
.bstep-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.bstep-cta .hint { margin: 0; }
/* membership section */
.hm { background: var(--ink); color: #E6E9DD; }
.hm .eyebrow { color: var(--lime); }
.hm h2 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); }
.hm .lead { color: #C9CDBF; font-size: 18px; margin: 16px 0 0; }
.hm-top { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.hm-ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.hm-ticks li { position: relative; padding-left: 26px; font-size: 15px; }
.hm-ticks li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 11px; height: 6px; border-left: 2.5px solid var(--lime); border-bottom: 2.5px solid var(--lime); transform: rotate(-45deg); }
.hm-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.hm-ctas .link-btn { color: #E6E9DD; }
.hm-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hm-plan { position: relative; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 2px solid transparent; border-radius: 20px; padding: 18px 16px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; transition: transform .25s var(--ease), border-color .2s; }
.hm-plan:hover { transform: translateY(-3px); border-color: var(--lime); }
.hm-plan.popular { background: var(--lime); }
.hm-badge { position: absolute; top: -10px; right: 12px; font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--ink); color: var(--lime); padding: 3px 9px; border-radius: 999px; }
.hm-name { font-weight: 700; font-size: 17px; }
.hm-recs { font-size: 13.5px; color: var(--ink-2); }
.hm-price { margin-top: 8px; font-size: 13px; color: var(--muted); }
.hm-plan.popular .hm-price, .hm-plan.popular .hm-pp { color: var(--ink-2); }
.hm-price b { font-family: var(--display); font-size: 28px; color: var(--ink); letter-spacing: -.03em; }
.hm-pp { font-size: 13px; color: var(--muted); }
.hm-pp s { margin-left: 4px; opacity: .7; }
.hm-save { margin-top: 8px; align-self: flex-start; font-size: 13px; font-weight: 700; background: var(--ink); color: var(--lime); border-radius: 999px; padding: 3px 10px; }
.hm-ent { grid-column: span 1; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.25); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #C9CDBF; }
.hm-ent b { color: var(--lime); font-size: 16px; }
.hm-ent .btn-dark { background: var(--lime); color: var(--ink); border-color: var(--lime-2); align-self: flex-start; }
/* shared pop-up bits */
.oc, .bx, .mx { position: fixed; inset: 0; z-index: 90; background: rgba(13,15,12,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .22s; }
.oc.open, .bx.open, .mx.open { opacity: 1; }
.oc[hidden], .bx[hidden], .mx[hidden] { display: none; }
.pop-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.oc-card, .mx-card { position: relative; background: var(--bg); border-radius: 26px; box-shadow: var(--shadow-lg); width: 100%; transform: translateY(14px) scale(.98); transition: transform .3s var(--ease); }
.oc.open .oc-card, .mx.open .mx-card, .bx.open .bx-card { transform: none; }
/* how to buy */
.oc-card { max-width: 720px; padding: 34px 30px 30px; }
.oc-card h2 { text-align: center; font-size: 28px; margin: 0 40px 22px; }
.oc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.oc-opt { position: relative; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 22px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .25s var(--ease); }
.oc-opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.oc-opt b { font-size: 21px; font-family: var(--display); letter-spacing: -.02em; }
.oc-opt span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.oc-opt em { font-style: normal; font-weight: 700; color: var(--lime-ink); font-size: 14.5px; margin-top: auto; }
.oc-mem { border-color: var(--lime-2); background: var(--lime-soft); }
.oc-badge { position: absolute; top: -11px; left: 18px; font-style: normal; font-size: 12px; font-weight: 700; background: var(--ink); color: var(--lime); padding: 3px 10px; border-radius: 999px; }
/* builder pop-up */
.bx { padding: 24px; }
.bx-card { position: relative; width: 100%; max-width: 1060px; height: min(860px, calc(100vh - 48px)); background: var(--bg); border-radius: 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; transform: translateY(14px) scale(.98); transition: transform .3s var(--ease); }
.bx-head { display: flex; align-items: center; gap: 16px; padding: 16px 70px 14px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.bx-head .pop-close { top: 12px; }
.bx-title { font-size: 19px; white-space: nowrap; }
.bx-steps { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.bx-step { display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px 6px 6px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.bx-step i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 12px; }
.bx-step.on { border-color: var(--ink); color: var(--ink); }
.bx-step.on i { background: var(--lime); }
.bx-step.done i { background: var(--ink); color: var(--lime); }
.bx-body { flex: 1; overflow-y: auto; padding: 24px 28px 30px; -webkit-overflow-scrolling: touch; }
.bx-pane { max-width: 900px; margin: 0 auto; animation: bxIn .3s var(--ease); }
@keyframes bxIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.bx-h { margin-bottom: 18px; }
.bx-h .eyebrow { margin-bottom: 6px; }
.bx-h h3 { font-size: clamp(24px, 2.6vw, 32px); font-family: var(--display); letter-spacing: -.02em; }
.bx-h p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.bx-h p b { color: var(--ink); background: var(--lime-soft); border-radius: 999px; padding: 2px 10px; font-size: 13.5px; }
.bx-where { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
.bx-where .map-wrap { margin: 0; }
.bx-final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.bx-final .vol { margin-top: 16px; }
.bx-recap { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.bx-recap-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.bx-recap-h h3 { font-size: 17px; }
.bx-recap-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.bx-recap-row span { color: var(--muted); }
.bx-recap-row button { border: 0; background: none; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; color: var(--ink-2); }
.bx-mem-nudge { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; }
.bx-mem-nudge .link-btn { font-weight: 700; color: var(--lime-ink); }
.bx .preview { margin-top: 18px; }
.bx-bar { display: flex; align-items: center; gap: 16px; padding: 12px 20px 12px 24px; background: var(--ink); color: #fff; flex-wrap: wrap; }
.bx-bar-sum { display: flex; gap: 26px; margin-right: auto; }
.bx-bar-sum b { display: block; font-size: 22px; color: var(--lime); line-height: 1.1; }
.bx-bar-sum small { color: #C9CDBF; font-size: 12px; }
.bx-bar-btns { display: flex; gap: 8px; }
.bx-bar .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.bx-bar .go-note { width: 100%; text-align: right; margin: 0; color: #C9CDBF; font-size: 12px; }
/* membership pop-up */
.mx-card { max-width: 620px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 32px 28px 26px; }
.mx-card h2 { font-size: 26px; margin-right: 44px; }
.mx-sub { margin: 6px 0 16px; font-size: 14px; }
.mx-list { display: grid; gap: 8px; }
.mx-opt { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; cursor: pointer; transition: border-color .2s; }
.mx-opt:hover { border-color: var(--line-2); }
.mx-opt input { accent-color: var(--ink); width: 18px; height: 18px; flex: none; }
.mx-opt:has(input:checked) { border-color: var(--ink); background: var(--lime-soft); }
.mx-l { flex: 1; min-width: 0; }
.mx-l b { font-size: 16px; }
.mx-l i { font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--ink); color: var(--lime); border-radius: 999px; padding: 2px 8px; margin-left: 4px; }
.mx-l small, .mx-r small { display: block; color: var(--muted); font-size: 12.5px; }
.mx-r { text-align: right; }
.mx-r b { font-family: var(--display); font-size: 20px; }
.mx-r small { display: inline; }
.mx-r em { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--lime-ink); }
.mx-r s { font-weight: 400; color: var(--muted); margin-left: 3px; }
.mx-ent { font-size: 14px; margin: 14px 0; }
.mx-foot { margin: 12px 0 0; text-align: center; }
.mx-chosen { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--lime-soft); border: 1px solid #DDF29A; border-radius: 14px; padding: 10px 14px; margin: 12px 0 16px; font-size: 14px; }
@media (max-width: 980px) {
  .hm-top { grid-template-columns: 1fr; }
  .bstep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-where, .bx-final { grid-template-columns: 1fr; }
  .bx-where .map-wrap { max-width: 260px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .oc, .mx { padding: 12px; align-items: flex-end; }
  .oc-grid { grid-template-columns: 1fr; }
  .oc-card h2 { font-size: 23px; margin: 0 40px 16px 0; text-align: left; }
  .oc-card { padding: 26px 18px 18px; }
  .mx-card { padding: 26px 18px 20px; max-height: calc(100vh - 24px); }
  .bx { padding: 0; }
  .bx-card { height: 100%; max-width: none; border-radius: 0; }
  .bx-head { flex-wrap: wrap; padding: 12px 60px 10px 16px; gap: 8px; }
  .bx-steps { margin-left: 0; width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .bx-step { flex: none; padding: 5px 10px 5px 5px; font-size: 12.5px; }
  .bx-body { padding: 18px 16px 24px; }
  .bx-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
  .bx-bar-sum { gap: 16px; }
  .bx-bar-sum b { font-size: 18px; }
  .bx-bar .go-note { display: none; }
  .hm-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bstep-grid { grid-template-columns: 1fr; }
}
.hm-ent .btn { white-space: normal; text-align: center; line-height: 1.2; padding: 9px 14px; }
html.pop-locked #ukb-chat-launcher, html.pop-locked #ukb-chat-panel, html.pop-locked .pip-wrap { display: none !important; }
.build-band { padding-top: 80px; padding-bottom: 90px; }
/* "How your records work" example (Gary, 28 Oct: make clear it's unlimited downloads within the allowance) */
.mem-use { font-size: 12.5px; font-weight: 600; color: var(--lime-ink); margin: 2px 0 2px; }
.mem-example { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px; margin-top: 22px; }
.mem-example > b { display: block; font-size: 17px; margin-bottom: 4px; }
.mem-example p { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-2); }
.mem-example ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mem-example li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 7px 12px; border-radius: 10px; background: var(--bg); }
.mem-example li em { font-style: normal; font-weight: 700; color: var(--lime-ink); white-space: nowrap; }
.mem-example li:last-child { background: transparent; color: var(--muted); }
.hm-example { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); margin-top: 20px; }
.hm-example > b { color: #fff; }
.hm-example p { color: #C9CDBF; }
.hm-example p b, .hm-example p u { color: #fff; }
.hm-example li { background: rgba(255,255,255,.07); color: #E6E9DD; }
.hm-example li em { color: var(--lime); }
.hm-example li:last-child { color: #9AA092; }
/* Map (Gary, 28 Oct: "sketchy" hover + you couldn't see the whole UK without scrolling).
   Each dot gets an invisible ring so the gaps between dots still count as the region - no flicker. */
.ukmap .reg circle { stroke: transparent; stroke-width: 1.1; pointer-events: all; transition: fill .2s; }
.ukmap .reg:hover circle { fill: var(--lime-3); }
.ukmap .reg.sel circle, .ukmap .reg.sel:hover circle { fill: var(--ink); }
/* Pop-up "Where": the whole UK fits on screen - sized by the height available. */
.bx-where { grid-template-columns: auto minmax(0, 1fr); }
.bx-where .map-wrap { justify-content: flex-start; }
.bx-where .ukmap { width: auto; max-width: 100%; height: clamp(260px, calc(100vh - 390px), 540px); }
@media (max-width: 980px) {
  .bx-where { grid-template-columns: 1fr; gap: 14px; }
  .bx-where > div:not(.map-wrap) { order: -1; }
  .bx-where .map-wrap { max-width: none; justify-content: center; }
  .bx-where .ukmap { height: clamp(240px, calc(100vh - 420px), 480px); }
}
@media (max-width: 720px) {
  .bx-where .ukmap { height: clamp(220px, calc(100vh - 480px), 440px); }
}
.bx-where { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "map search" "map regions"; grid-template-rows: auto 1fr; column-gap: 28px; row-gap: 6px; }
.bx-where .map-wrap { grid-area: map; }
.bx-where-search { grid-area: search; }
.bx-where-regions { grid-area: regions; }
.bx-where-regions .mini-label:first-child { margin-top: 8px; }
@media (max-width: 980px) {
  .bx-where { grid-template-columns: 1fr; grid-template-areas: "search" "map" "regions"; grid-template-rows: auto; }
  .bx-where > div:not(.map-wrap) { order: 0; }
}
@media (max-width: 720px) {
  .bx-where .ukmap { height: clamp(200px, calc(100vh - 560px), 320px); }
}
/* iPhone fix (Gary, 28 Oct): pop-ups taller than the screen couldn't scroll and were cut off at the top.
   The overlay itself now scrolls; the card sits centred when it fits and starts at the top when it doesn't.
   Heights use the visible screen (dvh) where the browser supports it, because 100vh on iPhone is taller than what you see. */
.oc, .mx { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; align-items: flex-start; }
.oc-card, .mx-card { margin: auto; max-height: none; overflow: visible; flex: none; }
.bx-card { height: min(860px, calc(100dvh - 48px)); }
.bx-where .ukmap { height: clamp(260px, calc(100dvh - 390px), 540px); }
@media (max-width: 980px) { .bx-where .ukmap { height: clamp(240px, calc(100dvh - 420px), 480px); } }
@media (max-width: 720px) {
  .oc, .mx { align-items: flex-start; padding: 12px 10px calc(12px + env(safe-area-inset-bottom)); }
  .oc-card, .mx-card { margin: auto 0 0; width: 100%; }
  .mx-card { max-height: none; }
  .bx { height: 100%; height: 100dvh; }
  .bx-where .ukmap { height: clamp(200px, calc(100dvh - 560px), 320px); }
}

/* Live order stages (automatic TPS/CTPS cleaning, 29 Oct 2026) */
.order-stages { max-width: 520px; margin-top: 10px; }
.order-stages .screen-steps { margin: 8px 0 0; }
.order-stages .screen-steps .ss { padding-bottom: 12px; }
.order-stages .screen-steps .ss > div > strong { font-size: 14.5px; }
.order-stages .screen-steps small { font-size: 13px; }
.screen-steps .ss:not(.done):not(.now) > div > strong { color: var(--muted, #6B7068); font-weight: 600; }
.screen-steps small em { font-style: normal; color: #9a6a00; }
.ss-bar { display: block; height: 6px; border-radius: 6px; background: var(--line); margin-top: 7px; overflow: hidden; max-width: 340px; }
.ss-bar i { display: block; height: 100%; background: var(--lime-3, #9BCB12); border-radius: 6px; transition: width .6s ease; }
.member-done .screen-steps { margin: 4px 0 0; }

/* Portal: "WhatsApp Us" pill (1 Nov 2026) + Invoices page */
.wa-us-pill { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s, transform .2s; }
.wa-us-pill:hover { background: #1EBE5A; color: #fff; transform: translateY(-1px); }
.wa-us-pill svg { flex: 0 0 auto; }
.inv-card { max-width: 980px; }
.inv-btns { text-align: right; white-space: nowrap; }
.inv-btns .btn + .btn { margin-left: 6px; }
.inv-what { display: block; }
.inv-what .small { display: block; margin-top: 2px; }
.nowrap { white-space: nowrap; }
@media (max-width: 640px) {
  .inv-table thead { display: none; }
  .inv-table, .inv-table tbody, .inv-table tr, .inv-table td { display: block; width: 100%; }
  .inv-table tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .inv-table td { border: 0 !important; padding: 3px 0 !important; text-align: left !important; }
  .inv-table td[data-l]::before { content: attr(data-l); display: inline-block; min-width: 82px; color: var(--muted); font-size: 12.5px; }
  .inv-table td[data-l="What for"] { display: flex; }
  .inv-table td[data-l="What for"]::before { flex: 0 0 82px; }
  .inv-btns { padding-top: 8px !important; }
}
.app-header .app-nav a { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1240px) { .app-header .app-nav { margin-left: 4px; gap: 0; } .app-header .app-nav a { padding: 8px 9px; font-size: 13.5px; } .app-header .header-actions { gap: 7px; } .app-header .header-actions .app-user { display: none; } .app-header .app-pill span { display: none; } }
/* Send to dialler / CRM (portal/integrations.php, 3 Nov 2026) */
.ok-text { color: #2F6B00; font-weight: 700; }
.bad-text { color: #912018; font-weight: 700; }
.pill-wait { background: var(--bg); color: var(--ink-2); }
.dest-list { display: grid; gap: 10px; }
.dest { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.dest-main { min-width: 0; flex: 1 1 320px; }
.dest-main .small { overflow-wrap: anywhere; margin-top: 3px; }
.dest-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.dest-actions form { margin: 0; }
.dest-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px; background: #fff; transition: border-color .12s, box-shadow .12s, background .12s; }
.opt:hover .opt-box { border-color: var(--line-2); }
.opt input:checked + .opt-box { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201,245,29,.55); background: var(--lime-soft); }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt-box .o-name { display: block; font-weight: 700; font-size: 15.5px; margin: 0 0 4px; }
.opt-box .o-vol { display: block; font-size: 13.5px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .span2 { grid-column: 1 / -1; }
.form-grid label, #connect > form > .form-grid label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
#dest-form input[type=text], #dest-form input[type=password], #dest-form select, #dest-form textarea { width: 100%; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 11px 13px; font-size: 15px; background: #fff; outline: 0; font-family: inherit; }
#dest-form input:focus, #dest-form select:focus, #dest-form textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201,245,29,.55); }
#dest-form code, #connect code { overflow-wrap: anywhere; }
.send-form { display: flex; gap: 6px; margin: 0; flex-wrap: wrap; }
.send-form select { width: auto; min-width: 150px; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 6px 10px; font-size: 14px; background: #fff; }
.push-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; margin-bottom: 4px; }
.push-bar span { display: block; height: 100%; background: var(--lime-3); transition: width .4s; }
.presets { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.ph-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ph-chip { font: 600 12.5px/1 var(--mono, ui-monospace, Menlo, monospace); background: var(--lime-soft); color: var(--ink); border: 1px solid transparent; border-radius: 7px; padding: 6px 8px; cursor: pointer; }
.ph-chip:hover { border-color: var(--ink); }
.admin-order-box { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 620px) { .dest-types, .form-grid { grid-template-columns: 1fr; } }
