/* Public pages: the vehicle owner's approval page (garage-branded through --brand) and the Servenk landing page. */

/* ===== Approval page ===== */
.ap { --brand: #1d4e63; --on-brand: #fff; min-height: 100vh; background: #f3f5f6; padding-bottom: 96px; }
.ap-head { background: var(--surface); border-top: 5px solid var(--brand-main, var(--brand)); border-bottom: 1px solid var(--line); }
/* Plus branding: a header in the garage's main colour, a larger logo. */
.ap-head.brand { background: var(--brand-main); border-top: 0; border-bottom: 0; }
.ap-head.brand .name { color: var(--on-main); }
.ap-head.brand .contact a { color: var(--on-main); border-color: currentColor; }
.ap-head .logo.large { max-height: 72px; max-width: 240px; }
.ap-head .in { max-width: 680px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ap-head .logo { max-height: 42px; max-width: 170px; }
.ap-head .name { font: 700 1.05rem var(--font-display); }
.ap-head .contact { display: flex; gap: 6px; }
.ap-head .contact a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); color: var(--ink); }
.ap-head .contact svg { width: 19px; height: 19px; }
.ap-main { max-width: 680px; margin: 0 auto; padding: 18px 16px; display: grid; gap: 14px; }
.ap-intro h1 { font-size: 1.45rem; margin: 2px 0 8px; }
.ap-intro .veh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--muted); font-size: .9rem; }
.ap-lang { margin-top: 10px; font-size: .875rem; }
.ap-lang summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--ink-soft); list-style: none; padding: 4px 0; }
.ap-lang summary::-webkit-details-marker { display: none; }
.ap-lang summary svg { width: 16px; height: 16px; }
.ap-lang form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ap-lang button { border: 1px solid var(--line); background: var(--surface, #fff); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; cursor: pointer; }
.ap-lang button[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); font-weight: 600; }
.ap-summary { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 12px 14px; }
.ap-progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .9rem; color: var(--muted); }
.ap-progress .bar { flex: 1; max-width: 220px; }
.ap-progress .bar > i { background: var(--brand); }
.ap-group { display: grid; gap: 10px; }
.ap-group > h2 { display: flex; align-items: center; gap: 8px; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 10px 0 0; }
.ap-group > h2::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--line-strong); }
.ap-group.red > h2::before { background: var(--red); }
.ap-group.amber > h2::before { background: var(--amber-mark); }
.ap-group.green > h2::before { background: var(--green); }
.ap-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 12px; }
.ap-item.red { border-top: 3px solid var(--red); }
.ap-item.amber { border-top: 3px solid var(--amber-mark); }
.ap-item .top { display: flex; justify-content: space-between; gap: 12px; padding: 14px 14px 6px; }
.ap-item .top h3 { font-size: 1.05rem; }
.ap-item .price { font: 700 1.1rem var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ap-item .note { padding: 0 14px; color: var(--ink-soft); font-size: .95rem; }
/* At least two photos side by side, even on a 320 px phone. */
.ap-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, calc(50% - 3px)), 1fr)); gap: 6px; padding: 10px 14px 0; }
.ap-media a, .ap-media video { display: block; border-radius: 4px; overflow: hidden; background: #0f171d; aspect-ratio: 4 / 3; }
.ap-media img, .ap-media video { width: 100%; height: 100%; object-fit: cover; }
.ap-media .wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
/* One photo: the whole width, not half a row with a gap beside it. */
.ap-media > :only-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.ap-media .wide video { object-fit: contain; }
.ap-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.ap-actions form { display: contents; }
.ap-btn { min-height: 48px; padding: 8px 12px; border-radius: var(--radius); border: 1.5px solid var(--brand); background: var(--brand); color: var(--on-brand);
  font: 700 .98rem/1.2 var(--font); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
  text-align: center; text-wrap: balance; }
/* "Approve £145.50": wraps between the word and the amount on a narrow phone, never inside the amount. */
.ap-btn .bt { display: inline-flex; flex-wrap: wrap; justify-content: center; column-gap: .3em; }
.ap-btn .amt { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ap-btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
/* Keep the button's own text colour: the demo's buttons are links, and the global a:hover colour is the button colour. */
.ap-btn:hover { filter: brightness(.95); color: var(--on-brand); }
.ap-btn.ghost:hover { color: var(--ink); }
.ap-btn svg { width: 18px; height: 18px; }
.ap-decided { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line);
  font-weight: 650; }
.ap-decided.approved { background: var(--green-tint); color: var(--green); }
.ap-decided.deferred { background: var(--amber-tint); color: #6d4300; }
.ap-decided form { display: inline; }
.ap-decided button { border: 0; background: none; padding: 0; font: 600 .875rem var(--font); color: var(--ink-soft); text-decoration: underline; cursor: pointer; }
.ap-ok { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.ap-ok summary { padding: 13px 14px; cursor: pointer; font-weight: 650; }
.ap-ok ul { margin: 0; padding: 0 14px 12px 34px; color: var(--ink-soft); }
.ap-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 10px; }
.ap-box h2 { font-size: 1rem; }
/* Call us / call me back: side by side when both show, one full-width button otherwise. */
.ap-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.ap-foot { text-align: center; color: var(--muted); font-size: .8125rem; display: grid; gap: 4px; padding: 6px 0 20px; }
.ap-foot .by { display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.ap-foot .by .wordmark { font-size: .85rem; }
.ap-total { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; background: var(--ink); color: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.ap-total .in { max-width: 680px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ap-total b { font: 700 1.2rem var(--font-display); font-variant-numeric: tabular-nums; }
.ap-total small { display: block; color: #aab6bf; font-size: .78rem; }
.ap-flash { border-radius: var(--radius); padding: 11px 14px; font-weight: 600; }
.ap-flash.ok { background: var(--green-tint); color: var(--green); }
.ap-flash.err { background: var(--red-tint); color: #8f1d17; }
.ap-done { text-align: center; padding: 22px 16px; }
.ap-done .tick { width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.ap-done .tick svg { width: 30px; height: 30px; }

/* ===== Landing ===== */
.pub { background: var(--surface); color: var(--ink); }
.pub-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.pub-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.pub-nav .pub-wrap { display: flex; align-items: center; gap: 22px; height: 62px; }
.pub-nav nav { display: none; gap: 20px; margin-left: 18px; }
.pub-nav nav a { color: var(--ink-soft); text-decoration: none; font-weight: 550; font-size: .92rem; }
.pub-nav nav a:hover { color: var(--ink); }
.pub-nav .right { margin-left: auto; display: flex; gap: 8px; }
@media (min-width: 820px) { .pub-nav nav { display: flex; } }
.hero { padding: 54px 0 40px; border-bottom: 1px solid var(--line); background:
  linear-gradient(var(--surface), var(--surface)) padding-box; }
.hero .pub-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .pub-wrap { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.06; letter-spacing: -.03em; margin: 14px 0 16px; }
.hero h1 em { font-style: normal; box-shadow: inset 0 -.32em 0 var(--hazard); }
.hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 36em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 14px; }
.hero .cta .btn { min-height: 48px; padding: 0 20px; font-size: 1rem; }
.hero .fine { font-size: .85rem; color: var(--muted); }
.tag-uk { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tag-uk::before { content: ""; width: 22px; height: 3px; background: var(--hazard); }
/* The live demo in a phone: the page is drawn at a real phone width (390 px) and scaled into the screen, under a status
   bar and the camera island, with the home indicator on top. */
.phone { --w: 300px; --h: 620px; --s: .7692; --bar: 34px; position: relative; width: calc(var(--w) + 22px); margin: 0 auto; padding: 11px;
  border-radius: 54px; background: #12181d; box-shadow: inset 0 0 0 2px #2c353c, 0 30px 70px -20px rgba(22, 33, 43, .45), 0 10px 24px -12px rgba(22, 33, 43, .3); }
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2c353c; }
.phone::before { left: -3px; top: 120px; height: 104px; box-shadow: 0 -38px 0 -1px #2c353c; }
.phone::after { right: -3px; top: 150px; height: 72px; }
.phone-screen { position: relative; width: var(--w); height: var(--h); border-radius: 43px; overflow: hidden; background: #fff; isolation: isolate; }
.phone-status { position: absolute; z-index: 2; inset: 0 0 auto; height: var(--bar); display: flex; align-items: center; justify-content: space-between;
  padding: 2px 26px 0 30px; background: #fff; color: #0b0f12; font: 650 12.5px/1 var(--font); font-variant-numeric: tabular-nums; }
.phone-status .icons { display: inline-flex; align-items: center; gap: 5px; }
.phone-status svg { display: block; height: 10px; width: auto; fill: currentColor; }
.phone-island { position: absolute; z-index: 3; top: 9px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%); border-radius: 14px; background: #0b0f12; }
.phone-home { position: absolute; z-index: 3; bottom: 7px; left: 50%; width: 104px; height: 4px; transform: translateX(-50%); border-radius: 3px;
  background: #fff; mix-blend-mode: difference; }
.phone iframe { position: absolute; top: var(--bar); left: 0; display: block; border: 0; background: #f3f5f6;
  width: calc(var(--w) / var(--s)); height: calc((var(--h) - var(--bar)) / var(--s)); transform: scale(var(--s)); transform-origin: 0 0; }
@media (max-width: 380px) { .phone { --w: 264px; --h: 548px; --s: .6769; --bar: 30px; } .phone-status { padding: 2px 20px 0 24px; font-size: 11.5px; } }
.band { padding: 64px 0; border-bottom: 1px solid var(--line); }
.band.alt { background: var(--canvas); }
.band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin: 10px 0 12px; }
.band .intro { color: var(--ink-soft); max-width: 40em; font-size: 1.05rem; }
/* The product video: 16:9, framed like a screen, poster until the visitor presses play. */
.flow-video { margin: 22px 0 0; }
.flow-video video { display: block; width: 100%; max-width: 960px; height: auto; aspect-ratio: 16 / 9; border-radius: 16px;
  border: 1px solid var(--line-strong); background: #11181c; box-shadow: 0 18px 48px rgba(17, 24, 28, .14); }
.flow-video figcaption { margin-top: 10px; }
.cols { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 820px) { .cols { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature .ico { width: 40px; height: 40px; border-radius: var(--radius); display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); margin-bottom: 12px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--ink-soft); margin: 0; }
.steps { counter-reset: step; display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { list-style: none; counter-increment: step; padding: 18px; border-top: 3px solid var(--ink); background: var(--surface); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 800 .85rem var(--font-display); color: var(--muted); margin-bottom: 8px; }
.steps { padding: 0; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.pub .plan-grid { margin-top: 28px; }
/* Plan cards: the buttons line up at the bottom whatever the length of each summary. */
.pub .plan { grid-template-rows: auto auto auto 1fr auto; align-content: stretch; }
.pub .plan ul { align-content: start; }
.faq { max-width: 760px; margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { color: var(--ink-soft); margin: 8px 0 0; }
.cta-band { background: var(--ink); color: #fff; padding: 52px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: #c3ccd3; }
.pub-foot { padding: 28px 0 40px; font-size: .85rem; color: var(--muted); }
.pub-foot .pub-wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.two { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
/* The "copy approved work" text as a garage pastes it: plain text, but in the UI font so a phone line holds a whole item. */
.mock-copy { font: .9rem/1.65 var(--font); font-variant-numeric: tabular-nums; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--primary); border-radius: var(--radius); padding: 16px 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.demo-note { background: var(--hazard); color: #2a1f00; text-align: center; font-size: .8rem; font-weight: 700; padding: 6px 12px; }
.hide-desktop { }
@media (min-width: 960px) { .hide-desktop { display: none; } }

/* Language switch on the public site (landing nav and footer, sign-in pages): a <details> list, no script. */
.langpick { position: relative; }
.langpick summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px;
  cursor: pointer; font-weight: 600; font-size: .875rem; color: var(--ink-soft); }
.langpick summary::-webkit-details-marker { display: none; }
.langpick summary:hover { background: var(--surface-3); color: var(--ink); }
.langpick summary svg { width: 17px; height: 17px; }
.langpick ul { position: absolute; z-index: 50; right: 0; top: calc(100% + 6px); min-width: 170px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); }
.langpick.up ul { top: auto; bottom: calc(100% + 6px); }
.langpick a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .9rem; }
.langpick a:hover { background: var(--surface-2); }
.langpick a[aria-current="true"] { font-weight: 650; background: var(--primary-soft); color: var(--primary); }
.auth-lang { display: flex; justify-content: center; margin-top: 14px; }
@media (max-width: 720px) { .pub-nav .right .langpick { display: none; } .pub-foot .langpick summary { margin-left: -12px; } }

/* ===== Multi-page site (marketing, blog, legal) ===== */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.pub-nav nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--hazard); }
.mnav { position: relative; }
.mnav summary { list-style: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 20px; height: 20px; }
.mnav-panel { position: absolute; z-index: 40; right: 0; top: calc(100% + 8px); min-width: 220px; display: grid; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-2); }
.mnav-panel a { padding: 11px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.mnav-panel a:hover, .mnav-panel a[aria-current="page"] { background: var(--surface-2); }
@media (min-width: 820px) { .mnav { display: none; } }
@media (max-width: 560px) { .hide-narrow { display: none; } .pub-nav .pub-wrap { gap: 10px; } .pub-nav .right .btn { padding: 0 14px; } }

.page-hero { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.08; letter-spacing: -.03em; margin: 14px 0 12px; }
.page-hero .lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 40em; margin: 0 0 14px; }
.pub-wrap.narrow { max-width: 780px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--faint); }
.crumbs a { color: var(--muted); }
.more { margin: 22px 0 0; font-weight: 650; }
.more a { color: var(--primary); }
.cols.cols-2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .cols.cols-2 { grid-template-columns: 1fr 1fr; } }
.cols.cols-1 { grid-template-columns: 1fr !important; }
.feature h2 { font-size: 1.1rem; margin: 0 0 6px; }
/* How it works: numbered steps on a line (named apart from the staff app's .timeline of approval events). */
.step-list { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; }
.step-list li { counter-increment: step; position: relative; margin-left: 21px; padding: 0 0 28px 40px; border-left: 2px solid var(--line); }
.step-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.step-list li::before { content: counter(step); position: absolute; left: -22px; top: 0; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font: 700 1rem var(--font-display); }
.step-list h2 { font-size: 1.25rem; margin: 8px 0 6px; }
.step-list p { color: var(--ink-soft); margin: 0; max-width: 46em; }
.price-teaser { display: grid; gap: 18px; align-items: end; }
@media (min-width: 900px) { .price-teaser { grid-template-columns: 1fr auto; } }
.cta-band .btn.accent { min-height: 48px; padding: 0 22px; }

/* Blog */
.post-grid, .post-list { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 900px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.post-card h2, .post-card h3 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 6px; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-card p { color: var(--ink-soft); margin: 0; }
.post-meta { color: var(--muted); font-size: .88rem; margin: 0 0 6px; }
.prose { font-size: 1.05rem; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: 1.45rem; letter-spacing: -.015em; margin: 38px 0 10px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--primary); text-underline-offset: 3px; }
.prose blockquote { margin: 0 0 16px; padding: 12px 18px; border-left: 4px solid var(--hazard); background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; background: var(--surface-2); }
.post-cta { margin-top: 34px; padding: 20px 22px; border-radius: 16px; background: var(--primary-soft); display: grid; gap: 12px; justify-items: start; }
.post-cta p { margin: 0; }

/* Footer */
.pub-foot { padding: 40px 0 26px; border-top: 1px solid var(--line); }
.pub-foot > .pub-wrap:first-child { display: grid; gap: 26px; }
@media (min-width: 820px) { .pub-foot > .pub-wrap:first-child { grid-template-columns: 1.2fr 2fr; } }
.foot-brand { display: grid; gap: 10px; justify-items: start; }
.foot-brand p { margin: 0; max-width: 30em; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.foot-cols > div { display: grid; gap: 8px; align-content: start; }
.foot-cols a { color: var(--ink-soft); text-decoration: none; }
.foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.foot-title { margin: 0 0 2px; font-weight: 700; color: var(--ink); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.foot-base { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: space-between; }
.foot-base a { color: var(--muted); }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
/* Plan name: a heading for the outline, styled as the small label above the price. */
.pub .plan h2.eyebrow { margin: 0; font: 600 .75rem var(--font); letter-spacing: .04em; color: var(--muted); }
.mnav-panel { text-align: left; }

/* Pricing page: the "every plan" strip, plan cards with what each adds, and the comparison table. */
.pr-unlimited { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 18px; border-radius: var(--r); background: var(--hazard-soft); border-left: 4px solid var(--hazard); font-size: 1.05rem; }
.pr-unlimited svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }
.pr-notes { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-soft); font-size: .92rem; }
.pr-notes li { display: flex; gap: 6px; align-items: center; }
.pr-notes svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.pub .plan.pr-recommended { box-shadow: var(--shadow-2); }
.pr-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-size: .7rem; letter-spacing: .02em; vertical-align: 1px; }
.pr-pos { margin: 0; font-weight: 600; color: var(--ink); }
.pr-adds { display: grid; gap: 8px; align-content: start; }
.pr-includes { margin: 0; font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pr-value { margin: 4px 0 0; }
.pr-new { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--hazard-soft); color: var(--amber); font-size: .7rem; font-weight: 700; line-height: 1.6; vertical-align: 1px; white-space: nowrap; }
.cmp-wrap { margin-top: 20px; overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.cmp-wrap:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.cmp { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .95rem; }
.cmp col.cmp-plan { width: 17%; }
.cmp th, .cmp td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.cmp thead th { font: 600 1rem var(--font-display); background: var(--surface-2); }
.cmp thead th small { display: block; font: 500 .8rem var(--font); color: var(--muted); }
.cmp td { text-align: center; }
.cmp thead th:not(:first-child) { text-align: center; }
.cmp tbody th[scope="row"] { font-weight: 500; color: var(--ink-soft); }
.cmp td svg { width: 20px; height: 20px; color: var(--green); }
.cmp .cmp-no { color: var(--faint); }
.cmp .is-pro { background: var(--primary-soft); }
.cmp .cmp-group th { background: var(--surface-3); font: 700 .78rem var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cmp tbody:last-child tr:last-child th, .cmp tbody:last-child tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .cmp { font-size: .84rem; }
  .cmp col.cmp-plan { width: 52px; }
  .cmp th, .cmp td { padding: 9px 6px; }
  .cmp tbody th[scope="row"], .cmp thead th:first-child, .cmp .cmp-group th { padding-left: 12px; }
  .cmp thead th { font-size: .85rem; }
  .cmp thead th small { font-size: .7rem; }
}

/* Cookie bar (js/site.js): only when Google tags are configured; our own counting needs no consent. */
.consent-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 18px; border-radius: 14px;
  background: var(--surface, #fff); color: var(--ink, #16212b); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(10, 20, 30, .18); }
.consent-bar[hidden] { display: none; }
.consent-bar p { flex: 1 1 320px; margin: 0; font-size: .9rem; line-height: 1.45; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pub-foot .linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-soft); cursor: pointer; text-align: left; }
.pub-foot .linkish:hover { text-decoration: underline; }
