/* AdWise Pro public sites: adwisepro.com, shop., wholesale.
   One brand colour (from the logo, set in the console as --brand), everything else neutral.
   Inter in two weights, text at least 16px, lines at most ~70 characters. Mobile first. */

/* Inter, served from our own server (no request to Google before consent). Variable font 400-700,
   Latin + Latin Extended; other scripts (Greek, Cyrillic) fall back to the system font. OFL: fonts/OFL-Inter.txt */
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand: #ff9100;          /* overridden from the console settings */
  --brand-text: #9e5900;     /* same hue, dark enough for text on white */
  --brand-ink: #111111;      /* text on brand-coloured buttons */
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --text: #16181d;
  --muted: #555b66;
  --line: #e3e6eb;
  --radius: 10px;
  --wrap: 1360px;
  --gutter: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
/* Short pages: the footer sits at the bottom of the window, not halfway up. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .hdr, body > .ftr, body > .preview-bar { flex: none; }
a { color: var(--brand-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.05rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 88%, #000); text-decoration: none; }
.btn-secondary { background: var(--bg); color: var(--text); border-color: #c9ced6; }
.btn-secondary:hover { border-color: var(--text); text-decoration: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── Header ─────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .hdr { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); } }
.hdr-in { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.logo { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; }
.logo-word { font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; white-space: nowrap; color: var(--text); }
.logo-word b { font-weight: 600; color: var(--brand); }
.site-tag { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }

.nav-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: none; color: var(--text); cursor: pointer; border-radius: 8px; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-open .nav-toggle .nav-toggle-open { display: none; }
.nav-open .nav-toggle .nav-toggle-close { display: inline-flex; }

/* Mobile: full-screen menu under the header */
.nav { display: none; }
.nav-open .nav {
  display: flex; flex-direction: column; position: fixed; inset: 68px 0 0 0; background: var(--bg);
  padding: 8px var(--gutter) 32px; overflow-y: auto; border-top: 1px solid var(--line);
}
.nav-open { overflow: hidden; }
/* The header's blur would make it the box the fixed menu is placed in (68px tall): off while the menu is open. */
.nav-open .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav-main > li { border-bottom: 1px solid var(--line); position: relative; }
.nav-main a { display: block; padding: 14px 0; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.nav-main .sub a { font-weight: 400; font-size: 1rem; padding: 10px 0 10px 16px; color: var(--muted); }
.sub-toggle { display: none; }
.nav-side { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; }
.nav-site { color: var(--text); font-weight: 600; text-decoration: none; padding: 10px 0; }
.nav-side .btn { margin-top: 12px; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav, .nav-open .nav { display: flex; flex-direction: row; align-items: center; position: static; padding: 0; border: 0; margin-left: auto; overflow: visible; gap: 28px; }
  .nav-main { display: flex; gap: 4px; }
  .nav-main > li { border: 0; display: flex; align-items: center; }
  .nav-main > li > a { padding: 8px 10px; font-size: .98rem; border-radius: 8px; }
  .nav-main > li > a:hover { background: var(--bg-soft); }
  .sub-toggle { display: inline-flex; border: 0; background: none; padding: 4px; margin-left: -8px; color: var(--muted); cursor: pointer; border-radius: 6px; }
  .sub-toggle .ic { width: 16px; height: 16px; }
  .sub {
    position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 8px; box-shadow: 0 12px 32px -12px rgba(16,24,40,.18);
    opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
  .nav-main .sub a { padding: 10px 12px; border-radius: 6px; color: var(--text); }
  .nav-main .sub a:hover { background: var(--bg-soft); }
  .nav-side { flex-direction: row; align-items: center; gap: 18px; margin: 0; }
  .nav-site { font-size: .98rem; padding: 0; color: var(--muted); }
  .nav-site:hover { color: var(--text); }
  .nav-side .btn { margin: 0; }
}

/* ── Sections ─────────────────────────────────────────────── */
main:focus { outline: none; }
.blk { padding: 56px 0; }
.blk.tinted, .blk-steps, .blk-faq { background: var(--bg-soft); }
.blk + .blk.blk-cta { padding-top: 0; }
.blk.tinted + .blk.blk-cta, .blk-steps + .blk.blk-cta, .blk-faq + .blk.blk-cta { padding-top: 56px; }
@media (min-width: 800px) { .blk { padding: 88px 0; } .blk.tinted + .blk.blk-cta, .blk-steps + .blk.blk-cta, .blk-faq + .blk.blk-cta { padding-top: 88px; } }
.sec-title { max-width: 30ch; }
.sec-intro { max-width: 68ch; color: var(--muted); margin-bottom: 32px; font-size: 1.1rem; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 0; }
.prose ul, .prose ol, .card ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.page-head { padding-top: 56px; padding-bottom: 8px; }
.page-head + .blk { padding-top: 32px; }
.eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }

/* Hero */
.blk-hero { padding-top: 64px; }
@media (min-width: 800px) { .blk-hero { padding: 112px 0 96px; } }
.hero h1 { max-width: 21ch; }
.hero .lead { margin-top: 20px; }
.hero-note { margin-top: 24px; padding: 4px 0 4px 16px; border-left: 3px solid var(--brand); max-width: 62ch; font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--muted); }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--brand); color: var(--brand-ink); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } .steps li { flex-direction: column; } }

/* Cards */
.cards { display: grid; gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.card h3 { margin-bottom: .35em; }
.card p, .card li { color: var(--muted); }
.card-ic { display: inline-flex; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand) 14%, #fff); color: var(--brand-text); margin-bottom: 16px; }
@media (min-width: 640px) { .cards-2, .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.footnote { margin-top: 28px; color: var(--muted); max-width: 68ch; }

/* Image + text */
.split { display: grid; gap: 32px; align-items: center; }
.split-media img { border-radius: var(--radius); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
/* Image on the left: first on phones too (above the text); image on the right: under the text. */
.split-left .split-media { order: -1; }

/* FAQ */
.faq { display: grid; gap: 12px; align-items: start; }
.faq-col { display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .faq-col { gap: 16px; } }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s ease; }
.faq details:hover, .faq details[open] { border-color: #c4c9d1; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px 16px 20px; font-weight: 600; font-size: 1.02rem; min-height: 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-weight: 500; color: var(--text); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; background: var(--brand); color: var(--brand-ink); }
.faq summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, #fff); outline-offset: 2px; border-radius: var(--radius); }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a > :last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .faq details { transition: none; } }
.more { margin-top: 24px; font-weight: 600; }

/* Logos */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.logos li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; place-items: center; min-height: 104px; background: var(--bg); }
.logos img { max-height: 56px; width: auto; object-fit: contain; }
@media (min-width: 700px) { .logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .logos { grid-template-columns: repeat(6, 1fr); } }

/* Call-to-action band */
.cta { background: var(--text); color: #fff; border-radius: 16px; padding: 36px 28px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { color: #c9ccd3; max-width: 56ch; }
.cta a:not(.btn) { color: #fff; }
@media (min-width: 800px) { .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 48px 56px; } }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* Forms */
.form { display: grid; gap: 20px; margin-top: 8px; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; }
.field legend { padding: 0; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 6px; }
.field .check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand-text); flex: none; }
.req { color: var(--brand-text); }
.opt { font-weight: 400; color: var(--muted); font-size: .92rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=url], .form select, .form textarea, .search-form input {
  width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem/1.4 var(--font); color: var(--text);
  background: var(--bg); border: 1px solid #c4c9d1; border-radius: 8px;
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible, .search-form input:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, #fff); outline-offset: 0; border-color: var(--brand-text); }
.form input[type=file] { font: inherit; }
.help { font-size: .92rem; color: var(--muted); margin: 6px 0 0; }
.form .btn { justify-self: start; }

/* Form block: title and intro on the left, the form in a card on the right; short fields two per row. */
.form-layout { display: grid; gap: 24px; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 0; gap: 18px 20px; }
.form-aside .sec-intro { margin-bottom: 0; }
@media (min-width: 640px) {
  .form-card { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 28px; }
  .form-card > .field-wide, .form-card > .hp { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .form-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
  .form-layout-solo { grid-template-columns: minmax(0, 760px); }
  .form-aside { position: sticky; top: 96px; }
  .form-card { padding: 32px; }
}
.blk.tinted .form-card { box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.form-actions { padding-top: 4px; }

/* Choice chips (radio and checkbox groups) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.field .choice { display: inline-flex; align-items: center; gap: 10px; margin: 0; min-height: 44px; padding: 8px 16px 8px 12px; border: 1px solid #c4c9d1;
  border-radius: 999px; background: var(--bg); font-weight: 400; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
/* Up to 4 options: one row of buttons, also on phones. Tight side padding and a smaller dot so nothing wraps. */
.field .choices-row { display: grid; grid-template-columns: repeat(var(--n), minmax(max-content, 1fr)); gap: 6px; max-width: calc(var(--n) * 132px); }
.field .choices-row .choice { justify-content: center; gap: 7px; padding: 6px 12px 6px 10px; white-space: nowrap; }
@media (max-width: 639px) { .field .choices-stack { grid-template-columns: minmax(0, 1fr); max-width: none; } .field .choices-stack .choice { justify-content: flex-start; } }
.choices-row .choice input[type=radio], .choices-row .choice input[type=checkbox] { width: 16px; height: 16px; border-width: 1.5px; background-size: 11px 11px; }
.choices-row .choice input[type=checkbox] { border-radius: 5px; }
.choices-row .choice input[type=radio]:checked { box-shadow: inset 0 0 0 3px var(--bg); }
.choice:hover { border-color: var(--text); }
.choice:has(input:checked) { border-color: var(--brand-text); background: color-mix(in srgb, var(--brand) 10%, #fff); }
.choice:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 55%, #fff); outline-offset: 1px; }

/* Checkboxes and radios on all three sites: one drawn style instead of the browser default. */
input[type=checkbox], input[type=radio] {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0;
  border: 1.5px solid #8f97a3; border-radius: 6px; background: var(--bg) center / 14px 14px no-repeat;
  cursor: pointer; transition: background-color .12s ease, border-color .12s ease;
}
input[type=radio] { border-radius: 50%; }
input[type=checkbox]:checked {
  background-color: var(--brand-text); border-color: var(--brand-text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
input[type=radio]:checked { border-color: var(--brand-text); background: var(--brand-text); box-shadow: inset 0 0 0 4px var(--bg); }
input[type=checkbox]:disabled, input[type=radio]:disabled { opacity: .45; cursor: not-allowed; }
.field .check input, .check input, .co-form .check input { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .choice, input[type=checkbox], input[type=radio] { transition: none; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.errors { color: #9f1d1d; padding-left: 1.2em; }

/* Search and 404 */
.search-form { position: relative; display: flex; gap: 8px; margin: 28px 0; }
.search-form .ic { position: absolute; left: 14px; top: 12px; color: var(--muted); }
.search-form input { padding-left: 46px; }
.link-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.page-head .search-form, .page-head .link-list, .page-head .errors { max-width: 640px; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: 14px 0; font-weight: 600; text-decoration: none; }
.notfound { padding-bottom: 88px; }

/* Breadcrumbs */
.crumbs { padding-top: 24px; font-size: .92rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #a0a6b0; }
.crumbs a { color: var(--muted); }
.crumbs + .blk, .crumbs + .page-head { padding-top: 32px; }

/* Footer */
.ftr { background: var(--bg-soft); border-top: 1px solid var(--line); margin-top: 0; font-size: .97rem; }
.ftr-in { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.ftr-brand p { color: var(--muted); max-width: 52ch; margin-top: 12px; }
.ftr-contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ftr-h { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr-col li { margin-bottom: 8px; }
.ftr-col a, .ftr-legal a { color: var(--text); text-decoration: none; }
.ftr-col a:hover, .ftr-legal a:hover { text-decoration: underline; }
.ftr-legal { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--muted); font-size: .92rem; }
.ftr-legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ftr-legal p { margin: 0; }
@media (min-width: 800px) { .ftr-in { grid-template-columns: 2fr repeat(3, 1fr); } }

/* Shop */
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.right { text-align: right; }
.h3 { font-size: 1.15rem; }
.nav-cart { display: inline-flex; align-items: center; gap: 6px; }
.nav-cart .ic { width: 22px; height: 22px; }
.hdr-cart { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; min-width: 48px; height: 48px; justify-content: center; color: var(--text); text-decoration: none; border-radius: 8px; }
.hdr-cart .ic { width: 24px; height: 24px; }
.hdr-cart + .nav-toggle { margin-left: 0; }
@media (min-width: 1000px) { .hdr-cart { display: none; } }
/* Shop: announcement line above the header, and the search box in the header */
.announce { background: var(--text); color: #fff; font-size: .9rem; font-weight: 500; text-align: center; }
.announce .wrap { padding-top: 7px; padding-bottom: 7px; }
.site-shop .hdr-in { flex-wrap: wrap; column-gap: 12px; row-gap: 0; }
.hdr-search { order: 10; flex: 1 0 100%; min-width: 0; position: relative; display: flex; gap: 8px; margin: 0 0 12px; }
.hdr-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; pointer-events: none; }
.hdr-search input { flex: 1; min-width: 0; height: 44px; padding: 0 12px 0 40px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 1rem; background: var(--bg); color: var(--text); }
.hdr-search input:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, #fff); outline-offset: 0; border-color: var(--brand-text); }
.hdr-search .btn { height: 44px; flex: none; }
@media (min-width: 1000px) {
  .site-shop .nav, .site-shop .nav-open .nav { gap: 16px; }
  .site-shop .nav-main > li > a, .site-shop .nav-site { white-space: nowrap; }
  .site-shop .nav-main > li > a { padding-left: 8px; padding-right: 8px; }
  .site-shop .nav-side { gap: 14px; }
}
@media (min-width: 1280px) {   /* room for the search box on the same line as the menu */
  .site-shop .hdr-in { flex-wrap: nowrap; }
  .hdr-search { order: 0; flex: 1 1 200px; max-width: 560px; margin: 0 4px; }
}
@media (max-width: 420px) { .hdr-search .btn { padding-left: 14px; padding-right: 14px; } }
.tile-logo { display: block; max-height: 40px; max-width: 140px; width: auto; object-fit: contain; margin-bottom: 8px; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: .8rem; font-weight: 600; }
.shop-head { padding-top: 40px; padding-bottom: 8px; }
.crumbs + .shop-head { padding-top: 20px; }
.shop-head h1 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); }
.shop-head .search-form { margin: 16px 0 0; max-width: 640px; }
.shop-body { display: grid; gap: 24px; padding-top: 16px; padding-bottom: 72px; }
.shop-body-1 { padding-top: 16px; padding-bottom: 72px; }
@media (min-width: 960px) { .shop-body { grid-template-columns: 240px 1fr; gap: 40px; align-items: start; } }
.filters { display: flex; flex-direction: column; gap: 16px; }
.filters-box { border: 1px solid var(--line); border-radius: var(--radius); }
.filters-box summary { cursor: pointer; padding: 12px 16px; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.filters-in { display: grid; gap: 8px; padding: 0 16px 16px; }
.filters-in label:not(.check), .sort label, .price-range legend { font-weight: 600; font-size: .95rem; margin-top: 8px; }
.filters select, .filters input[type=text], .buy-form select, .cart select, .notify-row input, .co-form input:where(:not([type=checkbox], [type=radio])), .co-form select {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 1rem/1.4 var(--font); color: var(--text); background: var(--bg); border: 1px solid #c4c9d1; border-radius: 8px;
}
.price-range { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-range legend { padding: 0; margin-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400; margin-top: 8px; }
.check input { width: 20px; height: 20px; accent-color: var(--brand-text); }
.filters-btns { display: flex; gap: 8px; margin-top: 12px; }
.sort { display: grid; gap: 6px; }
@media (min-width: 960px) { .filters-box { border: 0; } .filters-box summary { display: none; } .filters-in { padding: 0; } }
.count { margin-bottom: 16px; }

.pgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
/* The shop uses wide screens: a wider page and more products per row. Text blocks keep their
   own readable line length (ch limits above). */
body.site-shop { --wrap: 1600px; }
@media (max-width: 600px) { :root { --gutter: 16px; } }
@media (min-width: 1280px) { .site-shop .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1480px) { .site-shop .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1640px) { .site-shop .pgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
/* Product blocks: 2 / 3 / 6 to a row, so 6 or 12 products always fill whole rows. */
@media (min-width: 1280px) { .blk .pgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.sec-head .sec-title { flex: 1; }
/* Carousel: one row that slides (buttons, swipe or trackpad); the same widths as the rows above. */
.pcar .pgrid { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.pcar .pgrid::-webkit-scrollbar { display: none; }
.pcar .pgrid, .blk .pcar .pgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2); }
.pcar .pcard { scroll-snap-align: start; }
@media (min-width: 700px) { .pcar .pgrid, .blk .pcar .pgrid { grid-auto-columns: calc((100% - 48px) / 3); } }
@media (min-width: 1280px) { .pcar .pgrid, .blk .pcar .pgrid { grid-auto-columns: calc((100% - 120px) / 6); } }
.car-btns { display: flex; gap: 8px; margin-bottom: 14px; flex: none; }
.car-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--text); cursor: pointer; }
.car-btn:hover:not(:disabled) { border-color: var(--text); }
.car-btn:disabled { opacity: .35; cursor: default; }
.car-btn .ic { width: 20px; height: 20px; }
.car-prev .ic { transform: rotate(90deg); }
.car-next .ic { transform: rotate(-90deg); }
@media (prefers-reduced-motion: reduce) { .pcar .pgrid { scroll-behavior: auto; } }
@media (min-width: 960px) { .site-shop .shop-body { grid-template-columns: 220px 1fr; gap: 28px; } }
/* Compact spacing on all three sites. Two white sections in a row share one gap. */
.blk { padding: 32px 0; }
.blk-hero { padding: 36px 0; }
.blk.tinted + .blk.blk-cta, .blk-steps + .blk.blk-cta, .blk-faq + .blk.blk-cta { padding-top: 32px; }
@media (min-width: 800px) {
  .blk { padding: 44px 0; }
  .blk-hero { padding: 52px 0; }
  .blk.tinted + .blk.blk-cta, .blk-steps + .blk.blk-cta, .blk-faq + .blk.blk-cta { padding-top: 44px; }
  .split { gap: 40px; }
}
.blk:not(.tinted):not(.blk-steps):not(.blk-faq):not(.blk-hero):not(.has-bg) + .blk:not(.tinted):not(.blk-steps):not(.blk-faq):not(.blk-cta):not(.has-bg) { padding-top: 0; }
.sec-intro { margin-bottom: 20px; }
.btns { margin-top: 24px; }
.page-head { padding-top: 32px; }
.page-head + .blk { padding-top: 20px; }
.notfound { padding-bottom: 48px; }
.pcard { display: flex; flex-direction: column; gap: 8px; }
.pcard-link { display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; }
.pcard-link:hover .pcard-title { text-decoration: underline; }
.pcard-img { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.pcard-noimg { width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--bg-soft); }
.pcard-brand { font-size: .85rem; color: var(--muted); }
.pcard-title { font-weight: 600; font-size: 1rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-foot { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.price { font-weight: 600; font-size: 1.05rem; }
.price-was { color: var(--muted); font-weight: 400; font-size: .92em; }
.stock-out { color: #9f1d1d; font-weight: 600; font-size: .92rem; }
.stock-in { color: #17663a; font-weight: 600; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }

.tile-list, .brand-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile-list a, .brand-list a { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; font-weight: 600; background: var(--bg); }
.tile-list a:hover, .brand-list a:hover { border-color: var(--text); }
.tile-list .muted, .brand-list .muted { font-weight: 400; }

.product { display: grid; gap: 32px; padding-top: 24px; padding-bottom: 40px; }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } }
.gallery-main { aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; background: #fff; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.gallery-empty span { color: var(--muted); }
.thumbs { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs button { width: 72px; height: 72px; padding: 4px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.thumbs button[aria-current="true"] { border: 2px solid var(--text); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buy-brand { margin-bottom: 8px; font-weight: 600; }
.buy-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.buy-price { font-size: 1.6rem; font-weight: 600; margin-bottom: 12px; }
.buy-form { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; align-items: end; margin: 16px 0 8px; max-width: 420px; }
.buy-form label { grid-column: 1 / -1; font-weight: 600; }
.buy-form .btn { width: 100%; }
.stock-box { margin: 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.notify-form label { display: block; font-weight: 600; margin: 8px 0 6px; }
.notify-row { display: flex; gap: 8px; }
.notify-row input { flex: 1; min-width: 0; }
.buy-facts { list-style: none; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); }
.product-info { display: grid; gap: 40px; padding-bottom: 72px; }
.product-info > section { max-width: 860px; }
.product-info h2 { font-size: 1.35rem; }
.bullets { padding-left: 1.2em; max-width: 70ch; }
.bullets li { margin-bottom: .5em; }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.prop65 { border-left: 3px solid var(--text); padding-left: 16px; }

.notice { padding: 14px 16px; border: 1px solid #e4d29a; background: #fff8e1; border-radius: var(--radius); margin: 0 0 16px; }
.notice-ok { border-color: #a9d8b8; background: #ecf8f0; }
.notice-err { border-color: #f0b4b4; background: #fdeeee; }
.notice ul { margin: 6px 0 0; padding-left: 1.2em; }
.ok-text { color: #17663a; font-weight: 600; margin: 6px 0 0; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-text); text-decoration: underline; cursor: pointer; }

.cart-table { margin-bottom: 8px; }
.cart-table td { vertical-align: middle; }
.ct-prod { display: flex; gap: 12px; align-items: center; }
.ct-prod img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; flex: none; }
.ct-prod > span { display: flex; flex-direction: column; }
.cart select { width: auto; min-width: 110px; }
.was { display: block; }
@media (max-width: 700px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .cart-table td { border: 0; padding: 6px 0; }
  .cart-table td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); }
}
.cart-foot { display: grid; gap: 24px; margin-top: 24px; }
@media (min-width: 800px) { .cart-foot { grid-template-columns: 1fr 360px; align-items: start; } }
.code-box label { font-weight: 600; display: block; margin-bottom: 6px; }
.sums { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; margin: 0; }
.sums dt { padding-right: 16px; }
.sums dd { margin: 0; text-align: right; }
.sum-total { font-weight: 600; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 10px; }
.cart-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 24px; }

.checkout { display: grid; gap: 32px; padding-top: 16px; padding-bottom: 72px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1fr 380px; gap: 56px; align-items: start; } .co-summary { position: sticky; top: 96px; } }
.co-group { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 16px; }
.co-group legend { font-size: 1.25rem; font-weight: 600; margin-bottom: 12px; padding: 0; }
.co-form .label { display: block; font-weight: 600; margin-bottom: 6px; }
.co-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .co-row { grid-template-columns: 1.4fr 1.2fr 1fr; } }
.co-form .errors { padding: 0; margin: 6px 0 0; }
.co-form [aria-invalid="true"] { border-color: #b42318; }
.btn-wide { width: 100%; }
@media (min-width: 640px) { .btn-wide { width: auto; } }
.co-summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-soft); }
.co-summary h2 { font-size: 1.25rem; }
.co-lines { list-style: none; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.co-lines li { display: flex; justify-content: space-between; gap: 16px; }
.order .sums { max-width: 420px; margin: 16px 0 32px auto; }
.order-status { font-size: 1.1rem; }
.test-pay { border-style: dashed; }

.variants { margin: 8px 0 16px; }
.variants-h { font-weight: 600; margin-bottom: 6px; }
.variants ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.variants a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--text); min-height: 44px; }
.variants a[aria-current="page"] { border: 2px solid var(--text); font-weight: 600; }
.buy-plan { grid-column: 1 / -1; border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.buy-plan .plan { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 400; cursor: pointer; }
.buy-plan .plan input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand-text); flex: none; }
.buy-plan .plan > span { display: flex; flex-direction: column; gap: 2px; }
.buy-plan .plan-every { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.sub-tag { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--brand-text); }
.p65-cart { display: block; margin-top: 4px; max-width: 46ch; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.acct-nav { display: flex; gap: 20px; flex-wrap: wrap; margin: 8px 0 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.acct-sec { margin-bottom: 40px; scroll-margin-top: 96px; }
.acct-cards { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .acct-cards { grid-template-columns: repeat(2, 1fr); } }
.acct-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.acct-add summary { cursor: pointer; font-weight: 600; margin: 8px 0 16px; }
.acct-add form, .ret-form { display: grid; gap: 16px; max-width: 640px; }
.form-narrow { max-width: 460px; display: grid; gap: 16px; }
.ret-card { margin-bottom: 12px; }
.ret-line select { width: auto; min-width: 140px; }
/* Cookie notice: a small floating card, bottom left on desktop, full width on phones. */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; }
@media (min-width: 640px) { .cookie-bar { left: 24px; right: auto; bottom: 24px; width: 400px; } }
.cookie-bar[hidden] { display: none; }
.cookie-in { display: grid; gap: 6px; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .14), 0 2px 6px rgba(16, 24, 40, .06); animation: ck-in .25s ease-out; }
.cookie-h { font-size: 1rem; line-height: 1.3; margin: 0; }
.cookie-in p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.cookie-in p a { color: var(--text); white-space: nowrap; }
.cookie-btns { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
.cookie-btns .btn { min-height: 38px; padding: 6px 14px; }
@media (min-width: 640px) { .cookie-btns:has(> .btn:only-child) { grid-auto-columns: minmax(96px, max-content); justify-content: end; } }
/* Phones: a tighter card, so it covers less of the page. */
@media (max-width: 639px) {
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; }
  .cookie-in { gap: 2px; padding: 10px 14px 12px; border-radius: 12px; }
  .cookie-h { font-size: .9rem; }
  .cookie-in p { font-size: .82rem; line-height: 1.4; }
  .cookie-btns { margin-top: 6px; }
  .cookie-btns .btn { min-height: 34px; padding: 4px 12px; }
}
@keyframes ck-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .cookie-in { animation: none; } }

/* Console preview */
.preview-bar { background: #fff4d6; border-bottom: 1px solid #f1d58a; padding: 10px var(--gutter); font-size: .95rem; text-align: center; }
mark.fill { background: #ffe58a; color: #3d2a00; padding: 0 3px; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ── Wholesale ─────────────────────────────────────────────── */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-text); text-decoration: underline; cursor: pointer; }
.nav-form { display: inline; margin: 0; }
.nav-form .nav-site { color: inherit; text-decoration: none; }
.acct-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.acct-card h2 { font-size: 1.15rem; margin-top: 0; }
.ws-logos { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.ws-logos li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 120px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-weight: 600; }
.ws-logos img { max-width: 120px; max-height: 60px; object-fit: contain; }
.ws-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 760px; }
.ws-filter input, .ws-filter select { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line-strong, #b9b9b9); border-radius: var(--radius); font: inherit; }
.ws-filter input { flex: 1 1 260px; }
.ws-meta { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; }
.ws-table td { vertical-align: top; }
.ws-add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-add input, .ws-qty { width: 84px; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line-strong, #b9b9b9); border-radius: var(--radius); font: inherit; }
.ws-stock { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .88rem; background: #ecf8f0; color: #1d5e33; }
.ws-stock-limited { background: #fff8e1; color: #7a5a00; }
.ws-stock-request { background: #f1f1f1; color: #4a4a4a; }
.ws-sums { max-width: 420px; margin: 16px 0 16px auto; }
.ws-cart-tools { display: grid; gap: 24px; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .ws-cart-tools { grid-template-columns: 1fr 1fr; } .ws-cart-tools > form:last-child { grid-column: 1 / -1; } }
.ws-narrow { max-width: 460px; }
.ws-radios { display: grid; gap: 4px; }
/* Wholesale application: one card; each section is a row with its title on the left and the fields on the right. */
.form-card.ws-apply { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ws-apply > .co-group { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.ws-apply > .co-group:first-of-type { padding-top: 0; border-top: 0; }
.co-fields { display: grid; gap: 16px; }
.ws-apply > .co-group > legend { float: left; width: 100%; margin: 0; }
@media (min-width: 1000px) {
  .ws-apply > .co-group { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 0 48px; align-items: start; }
  .ws-apply > .co-group > legend { width: auto; font-size: 1.1rem; }
  .ws-apply > :not(.co-group) { margin-left: calc((100% - 48px) * 3 / 11 + 48px); }
}
.ws-msg { max-width: 68ch; }
@media (min-width: 640px) { .ws-row-2 { grid-template-columns: 1fr 1fr; } }
.co-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-bottom: 8px; }
.co-form .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.ws-sum-lines { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.ws-sum-lines li { display: flex; justify-content: space-between; gap: 12px; }
.ws-doc { max-width: 900px; }
.ws-doc-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.ws-doc-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--text); padding-bottom: 16px; margin-bottom: 24px; }
.ws-doc-title { text-align: right; }
.ws-doc-title h1 { margin: 0 0 8px; }
.ws-doc-parties { display: flex; gap: 48px; flex-wrap: wrap; margin-bottom: 24px; }
.ws-doc-parties h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 0 0 6px; }
.ws-doc-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.ws-doc-table th, .ws-doc-table td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.ws-doc-sums { max-width: 420px; margin: 16px 0 0 auto; }
@media print {
  .hdr, .ftr, footer, .crumbs, .no-print, .cookie-bar, .skip { display: none !important; }
  .ws-doc { max-width: none; padding: 0; }
  body { background: #fff; }
}

/* Product photos in wholesale lists and checkout summaries */
.ws-prod { display: flex; gap: 12px; align-items: flex-start; }
.ws-thumb { flex: none; width: 56px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.ws-thumb-none { display: block; background: var(--bg-soft, #f5f6f8); }
.ws-sum-lines li { align-items: flex-start; }
.ws-sum-lines .ws-thumb { width: 48px; height: 48px; }
.ws-sum-name { flex: 1; }
.co-lines li { align-items: flex-start; }
.co-thumb { flex: none; width: 48px; height: 48px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.co-name { flex: 1; }

/* File fields: drag-and-drop box (built by site.js around the real input) */
.drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 22px 16px; text-align: center;
  border: 2px dashed #c4c9d1; border-radius: var(--radius); background: var(--bg-soft); color: var(--muted);
  transition: border-color .15s ease, background-color .15s ease; }
.drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.drop-ic { color: var(--brand-text); }
.drop-text strong { color: var(--text); font-weight: 600; }
.drop-link { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.drop-tap { display: none; }
@media (hover: none) { .drop-drag { display: none; } .drop-tap { display: inline; } }
.drop-file { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.drop-file:empty { display: none; }
.drop-clear { position: relative; z-index: 2; }
@media (hover: hover) { .drop:hover { border-color: var(--brand-text); } }
.drop.is-over { border-color: var(--brand-text); border-style: solid; background: color-mix(in srgb, var(--brand) 10%, #fff); }
.drop.has-file { border-style: solid; background: var(--bg); }
.drop:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 55%, #fff); outline-offset: 2px; }
.drop.drop-bad, .drop:has(input[aria-invalid="true"]) { border-color: #b42318; }
.drop.drop-bad .drop-file { color: #9f1d1d; font-weight: 400; }
@media (prefers-reduced-motion: reduce) { .drop { transition: none; } }

/* Language selector (adwisepro.com) */
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; font-weight: 600; color: var(--muted); cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.lang summary:hover { color: var(--text); }
.lang ul { list-style: none; margin: 0; padding: 4px 0 8px; columns: 2; column-gap: 16px; }
.lang a { display: block; padding: 8px 0; color: var(--text); text-decoration: none; }
.lang a[aria-current] { font-weight: 600; }
.lang a:hover { text-decoration: underline; }
@media (min-width: 1000px) {
  .lang ul { position: absolute; right: 0; top: 100%; z-index: 60; min-width: 340px; padding: 10px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
}

/* ── Design layer: page width used on wide screens, clearer steps, signs of life ───────────── */
/* Header: the current page is marked; a soft shadow appears once the page is scrolled. */
.hdr { transition: box-shadow .2s ease; }
.hdr.is-stuck { box-shadow: 0 8px 24px -16px rgba(16, 24, 40, .22); }
.nav-main a[aria-current=page] { color: var(--brand-text); }
@media (min-width: 1000px) {
  .nav-main > li > a { position: relative; }
  .nav-main > li > a[aria-current=page] { color: var(--text); }
  .nav-main > li > a[aria-current=page]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -16px; height: 2px; background: var(--brand); }
}

/* Hero: large title on the left, text on the right; a faint dot grid fades in from the right edge. */
.blk-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.blk-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, #c9ced6 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(110deg, transparent 50%, #000 110%); mask-image: linear-gradient(110deg, transparent 50%, #000 110%); }
.blk-hero > .wrap { position: relative; }
.hero h1 { font-size: clamp(2.1rem, 1.25rem + 3.3vw, 3.75rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 0; }
.hero-body { display: grid; gap: 20px; margin-top: 20px; justify-items: start; }
.hero .hero-body .lead { margin: 0; }
.hero .lead p + p { margin-top: .8em; }
.hero-note { margin: 0; padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  display: inline-flex; align-items: stretch; gap: 12px; font-size: .95rem; font-weight: 600; max-width: 100%; }
/* A vertical line as tall as the text, however many lines it has. */
.hero-note::before { content: ""; flex: none; width: 3px; border-radius: 2px; background: var(--brand); }
.hero-note p { margin: 0; }
@media (min-width: 1000px) {
  .blk-hero { padding: 64px 0; }
  .hero-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto 1fr; column-gap: 72px;
    grid-template-areas: "title body" "btns body"; align-items: start; }
  .hero-split h1 { grid-area: title; max-width: none; }
  .hero-split .hero-body { grid-area: body; margin-top: 0; padding-top: 10px; }
  .hero-split .btns { grid-area: btns; }
}

/* Titled text sections and short logo rows: title on the left, content on the right. */
.text-split .prose { font-size: 1.08rem; max-width: 72ch; }
@media (min-width: 1000px) {
  .text-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 56px; align-items: start; }
  .text-split > .sec-title { margin: 0; position: sticky; top: 96px; }
}
.text-split .prose ul { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.text-split .prose ul:last-child { margin-bottom: 0; }
.text-split .prose ul li { position: relative; margin: 0; padding: 14px 16px 14px 50px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.text-split .prose ul li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 16%, #fff); }
.text-split .prose ul li::after { content: ""; position: absolute; left: 17px; top: 17px; width: 20px; height: 20px; background: var(--brand-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%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 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Logos: larger tiles; one to three logos share the row instead of sitting in a six-column grid. */
.logos li { min-height: 128px; padding: 24px; transition: border-color .15s ease; }
.logos li:hover { border-color: #c4c9d1; }
.logos img { max-height: 64px; }
.logos a { display: grid; place-items: center; width: 100%; height: 100%; }
@media (min-width: 700px) { .logos.logos-1, .logos.logos-2, .logos.logos-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* Steps: a numbered line instead of three boxes. */
.steps { gap: 0; }
.steps li { position: relative; background: none; border: 0; border-radius: 0; padding: 0 0 28px; gap: 18px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: #d5d9e0; }
.step-n { width: 40px; height: 40px; font-size: 1.05rem; }
.steps h3 { font-size: 1.2rem; margin-top: 6px; }
@media (min-width: 800px) {
  .steps { gap: 32px; }
  .steps li { padding: 0; gap: 16px; }
  .steps li:not(:last-child)::before { left: 52px; right: -20px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .steps h3 { margin-top: 0; }
}
/* All the steps on one row once they fit; until then they stay one under the other (as on phones),
   never a row of three with two left under it. Four steps: two by two on tablets. */
@media (min-width: 800px) {
  .steps-5, .steps-7 { grid-template-columns: none; gap: 0; }
  .steps-5 li, .steps-7 li { flex-direction: row; padding: 0 0 28px; gap: 18px; }
  .steps-5 li:last-child, .steps-7 li:last-child { padding-bottom: 0; }
  .steps-5 li:not(:last-child)::before, .steps-7 li:not(:last-child)::before { left: 19px; right: auto; top: 44px; bottom: 4px; width: 2px; height: auto; }
  .steps-5 h3, .steps-7 h3 { margin-top: 6px; }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-4 li:nth-child(2)::before { display: none; }
  .steps-6 li:nth-child(3)::before { display: none; }
}
@media (min-width: 1000px) {
  .steps-4 { grid-template-columns: repeat(4, 1fr); }
  .steps-4 li:nth-child(2)::before { display: block; }
}
@media (min-width: 1200px) {
  .steps-5 { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .steps-5 li { flex-direction: column; padding: 0; gap: 16px; }
  .steps-5 li:not(:last-child)::before { left: 52px; right: -16px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .steps-5 h3 { margin-top: 0; }
}

/* Cards */
.card { transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.card:hover { border-color: #c4c9d1; box-shadow: 0 12px 24px -18px rgba(16, 24, 40, .3); transform: translateY(-2px); }
.card h3 { font-size: 1.12rem; }

/* Footer on phones: the link columns two by two, side by side (the brand line keeps the full width). */
@media (max-width: 799px) {
  .ftr-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .ftr-brand { grid-column: 1 / -1; }
}
/* Footer: the link columns sit on the right, however many there are. */
@media (min-width: 800px) {
  .ftr-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 56px; }
  .ftr-brand { flex: 1 1 360px; }
  .ftr-col { flex: 0 1 auto; min-width: 160px; }
}

/* Signs of life: sections rise in once, when they come into view (the script adds the class; off with reduced motion). */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card, .hdr { transition: none; }
  .card:hover { transform: none; }
}
/* Phones: card icon beside the text, so four cards do not fill three screens. */
@media (max-width: 639px) {
  .card:has(> .card-ic) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .card:has(> .card-ic) > .card-ic { grid-row: 1 / span 3; margin: 0; }
  .card:has(> .card-ic) > :not(.card-ic) { grid-column: 2; }
}
/* Cards, "Compact" look: icon on the left, a short title and one line under it (shipping, returns, payment). */
.cards-compact .card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-content: center; padding: 16px 18px; }
.cards-compact .card > .card-ic { grid-row: 1 / span 3; align-self: center; margin: 0; }
.cards-compact .card > :not(.card-ic) { grid-column: 2; }
.cards-compact .card:not(:has(> .card-ic)) { grid-template-columns: minmax(0, 1fr); }
.cards-compact .card:not(:has(> .card-ic)) > * { grid-column: 1; }
.cards-compact .card h3 { font-size: 1rem; margin: 0 0 2px; }
.cards-compact .card p { font-size: .92rem; margin: 0; }
.cards-compact .card:hover { transform: none; }

/* ── Page builder options: text alignment, image next to the hero, background image ─────────── */
/* Alignment chosen per block (Left is the default and needs no rule). */
.al-center h1, .al-center h2, .al-center .prose, .al-center .lead, .al-center .hero-main, .al-center .cta > div { text-align: center; }
.al-center .prose, .al-center .lead, .al-center .sec-title, .al-center .hero h1, .al-center .cta p { margin-left: auto; margin-right: auto; }
.al-center .btns { justify-content: center; }
.al-center .hero-body { justify-items: center; }
.al-center .prose ul, .al-center .prose ol { display: inline-block; text-align: left; }
.al-center .text-split .prose ul { display: grid; }
.al-center .cta { align-items: center; }
@media (min-width: 800px) { .al-center .cta { flex-direction: column; justify-content: center; } }
.al-right h1, .al-right h2, .al-right .prose, .al-right .lead, .al-right .hero-main, .al-right .cta > div { text-align: right; }
.al-right .prose, .al-right .lead, .al-right .sec-title, .al-right .hero h1, .al-right .cta p { margin-left: auto; margin-right: 0; }
.al-right .btns { justify-content: flex-end; }
.al-right .hero-body { justify-items: end; }
.al-right .prose ul, .al-right .prose ol { display: inline-block; text-align: left; }
.al-right .text-split .prose ul { display: grid; }
.al-right .cta { align-items: flex-end; }
/* Justified from tablet width up; on phones it would leave wide gaps between words. */
@media (min-width: 640px) { .al-justify .prose p, .al-justify .lead p, .al-justify .cta p { text-align: justify; hyphens: auto; } }

/* Hero with an image: text on one side, image on the other; on phones the image goes under the text. */
.hero-media { display: grid; gap: 28px; align-items: center; }
.hero-media .hero-fig { margin: 0; }
.hero-media .hero-fig img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
@media (min-width: 1000px) {
  .hero-media { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 64px; }

}

/* Background image: covers the section; a light or dark layer over it keeps the text readable. */
.blk.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.blk.has-bg > .wrap { position: relative; }
.blk-bg { position: absolute; inset: 0; z-index: -1; }
.blk-bg picture, .blk-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blk-bg::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: .5; }
.bg-dark .blk-bg::after { background: #0f1218; }
.blk-bg.ov-0::after { opacity: 0; }
.blk-bg.ov-30::after { opacity: .3; }
.blk-bg.ov-70::after { opacity: .7; }
.blk-hero.has-bg::before { display: none; }
/* A section with a background keeps its spacing, and so does the section after it. */
.blk.has-bg + .blk.blk-cta, .blk + .blk.has-bg.blk-cta { padding-top: 32px; }
@media (min-width: 800px) { .blk.has-bg + .blk.blk-cta, .blk + .blk.has-bg.blk-cta { padding-top: 44px; } }
.bg-dark, .bg-dark h1, .bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lead, .bg-dark .prose { color: #e6e8ec; }
.bg-dark a:not(.btn) { color: #fff; }
.bg-dark .hero-note { background: rgba(15, 18, 24, .55); border-color: rgba(255, 255, 255, .25); color: #fff; }
.bg-dark .text-split .prose ul li { background: rgba(15, 18, 24, .55); border-color: rgba(255, 255, 255, .25); }

/* Alignment chosen per text field in the console (class ta-*): it wins over the block's alignment. */
.blk.blk .ta-left { text-align: left; }
.blk.blk .ta-center { text-align: center; margin-left: auto; margin-right: auto; }
.blk.blk .ta-right { text-align: right; margin-left: auto; margin-right: 0; }
.blk.blk .ta-justify { text-align: left; }
.blk.al-center .ta-left, .blk.al-right .ta-left { margin-left: 0; margin-right: auto; }
@media (min-width: 640px) { .blk.blk .ta-justify, .blk.blk .ta-justify p { text-align: justify; hyphens: auto; } }
.blk.blk :is(.ta-center, .ta-right) :is(ul, ol) { display: inline-block; text-align: left; }
.blk.blk .text-split :is(.ta-center, .ta-right) ul { display: grid; }
.blk.blk .ta-center :is(th, td) { text-align: center; }
.blk.blk .ta-right :is(th, td) { text-align: right; }
.hero-body > .ta-left { justify-self: start; }
.hero-body > .ta-center { justify-self: center; }
.hero-body > .ta-right { justify-self: end; }
.faq summary > [class^="ta-"] { flex: 1; }

/* Text block without the title-left layout (no title, or centered): the text runs the full page width. */
.blk-text .wrap:not(.text-split) > .prose { max-width: none; }

/* Steps: number position (Left is the default). One under the other (phones, and five or more steps
   before they fit on one row): Center puts the number above the text, Right on the right side of it. */
.steps.num-center li { flex-direction: column; align-items: center; }
.steps.num-center li > div { align-self: stretch; }
.steps.num-center li:not(:last-child)::before { background: transparent; }
.steps.num-right li { flex-direction: row-reverse; }
.steps.num-right li > div { flex: 1; min-width: 0; }
.steps.num-right li:not(:last-child)::before { left: auto; right: 19px; }
/* On one row: the line runs from one number to the next. */
@media (min-width: 800px) {
  .steps.num-center:not(.steps-5):not(.steps-7) li:not(:last-child)::before { background: #d5d9e0; left: calc(50% + 32px); right: -50%; }
  .steps.num-right:not(.steps-5):not(.steps-7) li { flex-direction: column; align-items: flex-end; }
  .steps.num-right:not(.steps-5):not(.steps-7) li > div { align-self: stretch; }
  .steps.num-right:not(.steps-5):not(.steps-7) li:not(:last-child)::before { left: calc(100% + 12px); right: calc(-100% - 32px + 52px); }
}
@media (min-width: 1200px) {
  .steps-5.num-center li:not(:last-child)::before { background: #d5d9e0; left: calc(50% + 32px); right: calc(-50% + 4px); }
  .steps-5.num-right li { flex-direction: column; align-items: flex-end; }
  .steps-5.num-right li > div { align-self: stretch; }
  .steps-5.num-right li:not(:last-child)::before { left: calc(100% + 12px); right: calc(-100% - 28px + 52px); }
}

/* Cards: icon position (Left is the default). On phones Center puts the icon above the text,
   Right puts it on the right side of the text. */
.cards.ic-center .card-ic, .cards.ic-right .card-ic { display: flex; margin-left: auto; }
.cards.ic-center .card-ic { margin-right: auto; }
.cards.ic-right .card-ic { margin-right: 0; }
@media (max-width: 639px) {
  .cards.ic-center .card:has(> .card-ic) { display: block; }
  .cards.ic-center .card:has(> .card-ic) > .card-ic { margin: 0 auto 12px; }
  .cards.ic-right .card:has(> .card-ic) { grid-template-columns: minmax(0, 1fr) 44px; }
  .cards.ic-right .card:has(> .card-ic) > .card-ic { grid-column: 2; grid-row: 1 / span 3; }
  .cards.ic-right .card:has(> .card-ic) > :not(.card-ic) { grid-column: 1; }
}

/* Call-to-action card: colour chosen in the console (Dark is the default), and a background image
   inside the card with its layer; the layer colour then sets the text colour. */
.cta-grey { background: var(--bg-soft); border: 1px solid var(--line); }
.cta-white { background: var(--bg); border: 1px solid var(--line); }
.cta-brand { background: var(--brand); }
.cta-grey, .cta-white, .cta-brand, .cta-grey h2, .cta-white h2, .cta-brand h2 { color: var(--text); }
.cta-grey p, .cta-white p { color: var(--muted); }
.cta-brand p, .cta-brand a:not(.btn) { color: var(--text); }
.cta-grey a:not(.btn), .cta-white a:not(.btn) { color: var(--brand-text); }
.cta-brand .btn-primary { background: var(--text); color: #fff; }
.cta-brand .btn-primary:hover { background: #000; }
.cta.has-bg { position: relative; isolation: isolate; overflow: hidden; }
.cta.bg-light, .cta.bg-light h2 { color: var(--text); }
.cta.bg-light p { color: var(--muted); }
.cta.bg-light a:not(.btn) { color: var(--brand-text); }
.cta.bg-dark, .cta.bg-dark h2, .cta.bg-dark a:not(.btn) { color: #fff; }
.cta.bg-dark p { color: #e6e8ec; }

/* Background image transparency (console: "Background: image transparency"): the image fades into
   the colour under it (the section, or the call-to-action card). */
.blk-bg.fade-20 img { opacity: .8; }
.blk-bg.fade-40 img { opacity: .6; }
.blk-bg.fade-60 img { opacity: .4; }

/* Forms that follow each other: tabs above them, one form at a time (the switch is in site.js;
   without it every form shows, one under the other). */
.ftabs { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.ftab { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 10px 12px;
  font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ftab:hover { color: var(--text); text-decoration: none; }
.ftab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--brand); }
.fpane { scroll-margin-top: 88px; }
.js-ftabs .fpane:not(.on) { display: none; }
.fpane + .fpane { margin-top: 40px; }
.js-ftabs .fpane + .fpane { margin-top: 0; }

/* Hero image on the left: above the text on phones too (on the right: under it). */
.hero-media-left .hero-fig { order: -1; }

/* Image + text: image size. Large = half the width (default); Medium and Small leave the text more room. */
.split.img-medium .split-media, .split.img-small .split-media { margin: 0; }
.split.img-medium .prose, .split.img-small .prose { max-width: none; }
.split.img-medium .split-media { max-width: 360px; }
.split.img-small .split-media { max-width: 240px; }
@media (min-width: 900px) {
  .split.img-medium { grid-template-columns: minmax(0, 1fr) 420px; }
  .split.img-medium.split-left { grid-template-columns: 420px minmax(0, 1fr); }
  .split.img-small { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; }
  .split.img-small.split-left { grid-template-columns: 280px minmax(0, 1fr); }
  .split.img-medium .split-media, .split.img-small .split-media { max-width: none; }
}

/* Image shape and shadow (Hero and Image + text). Circle: a square crop, centred a little above the
   middle so a portrait keeps the face. */
.blk .img-circle img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: 50%; }
.img-shadow img { box-shadow: 0 18px 40px -18px rgba(16, 24, 40, .45), 0 2px 8px rgba(16, 24, 40, .08); }

/* Empty space block: exactly the height typed in the console, no section padding of its own. */
.blk.blk-spacer { padding: 0; }

/* Forms shown as tabs: the tab already names the form, so its title is not repeated; the text goes
   above the form and both sit in one column in the middle of the page. */
.blk-form-tabs .form-aside .sec-title { display: none; }
.blk-form-tabs .form-layout { grid-template-columns: minmax(0, 860px); justify-content: center; gap: 20px; }
.blk-form-tabs .form-aside { position: static; }
.blk-form-tabs .form-aside:not(:has(.sec-intro)) { display: none; }

/* Hero image size (same choices as Image + text): Medium and Small leave the text more room. */
.hero-media.img-medium .hero-fig { max-width: 360px; }
.hero-media.img-small .hero-fig { max-width: 240px; }
@media (min-width: 1000px) {
  .hero-media.img-medium { grid-template-columns: minmax(0, 1fr) 420px; }
  .hero-media.img-medium.hero-media-left { grid-template-columns: 420px minmax(0, 1fr); }
  .hero-media.img-small { grid-template-columns: minmax(0, 1fr) 280px; column-gap: 48px; }
  .hero-media.img-small.hero-media-left { grid-template-columns: 280px minmax(0, 1fr); }
  .hero-media.img-medium .hero-fig, .hero-media.img-small .hero-fig { max-width: none; }
}

/* Logo grid: logo size and shadow (Medium is the size used before). */
.logos.logo-small li { min-height: 96px; padding: 18px; }
.logos.logo-small img { max-height: 40px; }
.logos.logo-large li { min-height: 168px; }
.logos.logo-large img { max-height: 104px; }
/* Large: fewer per row, never a short last row (six or more go three by three, four and five on one row). */
@media (min-width: 1000px) {
  .logos.logo-large.logos-6 { grid-template-columns: repeat(3, 1fr); }
  .logos.logo-large.logos-5 { grid-template-columns: repeat(5, 1fr); }
  .logos.logo-large.logos-4 { grid-template-columns: repeat(4, 1fr); }
}
.logos.logos-shadow li { box-shadow: 0 14px 30px -18px rgba(16, 24, 40, .4), 0 1px 3px rgba(16, 24, 40, .06); }
@media (max-width: 699px) { .logos.logo-large li { min-height: 128px; } }   /* two per row on phones: the logo is limited by the width */

/* Phones and tablets (image above or under the text): a Medium or Small image sits in the middle. */
@media (max-width: 899px) { .split:is(.img-medium, .img-small) .split-media { justify-self: center; } }
@media (max-width: 999px) { .hero-media:is(.img-medium, .img-small) .hero-fig { justify-self: center; } }

/* Background image: which part stays in view when the section cuts it (Middle is the default). */
.blk-bg.focus-top img { object-position: 50% 0; }
.blk-bg.focus-bottom img { object-position: 50% 100%; }

/* Background hidden on phones (console tick): no image, and the text goes back to its usual colours. */
@media (max-width: 799px) {
  .bg-phone-off > .blk-bg { display: none; }
  .blk.bg-phone-off.bg-dark, .blk.bg-phone-off.bg-dark :is(h1, h2, h3) { color: var(--text); }
  .blk.bg-phone-off.bg-dark .lead { color: var(--muted); }
  .blk.bg-phone-off.bg-dark .prose { color: var(--text); }
  .blk.bg-phone-off.bg-dark a:not(.btn) { color: var(--brand-text); }
  .blk.bg-phone-off.bg-dark .hero-note { background: var(--bg); border-color: var(--line); color: var(--text); }
  .blk.bg-phone-off.bg-dark .text-split .prose ul li { background: var(--bg); border-color: var(--line); }
  .blk-hero.bg-phone-off::before { display: block; }
  /* Call-to-action card: back to the card colour chosen. */
  .cta.bg-phone-off.bg-dark:not(.cta-dark), .cta.bg-phone-off.bg-dark:not(.cta-dark) h2 { color: var(--text); }
  .cta.bg-phone-off.bg-dark:is(.cta-grey, .cta-white) p { color: var(--muted); }
  .cta.bg-phone-off.bg-dark.cta-brand p, .cta.bg-phone-off.bg-dark.cta-brand a:not(.btn) { color: var(--text); }
  .cta.bg-phone-off.bg-dark:is(.cta-grey, .cta-white) a:not(.btn) { color: var(--brand-text); }
  .cta.bg-phone-off.bg-light.cta-dark, .cta.bg-phone-off.bg-light.cta-dark h2, .cta.bg-phone-off.bg-light.cta-dark a:not(.btn) { color: #fff; }
  .cta.bg-phone-off.bg-light.cta-dark p { color: #c9ccd3; }
}

/* Image next to the text hidden on phones (console tick, Hero and Image + text): only the text shows there. */
@media (max-width: 799px) { .img-phone-off { display: none; } }

/* ── Roadmap (Steps block, Layout: Roadmap) ─────────────────────────────────────────────────
   The steps are stops on a road. The road is drawn by site.js through the middle of every stop and fills
   in the brand colour as the visitor gets there: once on wide screens, with the scroll on phones.
   Without the script, or with reduced motion, the whole road and every stop simply show. */
.rm { position: relative; }
.rm-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.rm-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rm-road { stroke: #e9ecf1; stroke-width: 12; }
.tinted .rm-road { stroke: #dfe3e9; }
.rm-prog { stroke: var(--brand); stroke-width: 12; }
.rm-dash { stroke: #fff; stroke-width: 2; stroke-dasharray: 10 12; stroke-linecap: butt; }
.rm-dot { fill: #fff; stroke: var(--text); stroke-width: 3; opacity: 0; }
.rm-list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.rm-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-items: start; }
.rm-node {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--text); color: var(--text); font-weight: 600; font-size: 1.15rem;
}
.rm-node .ic { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rm-list li:last-child .rm-node { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.rm-n { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--brand-text); font-variant-numeric: tabular-nums; }
.rm-list h3 { font-size: 1.2rem; line-height: 1.3; margin: 4px 0 6px; }
.rm-list p { color: var(--muted); }
/* Stacked (phones, tablets): the text sits beside its stop, so it always starts at the left. */
@media (max-width: 999px) { .blk.blk .rm-txt :is(.ta-center, .ta-right, .ta-justify), .blk.blk .rm-txt .ta-justify p { text-align: left; margin-left: 0; margin-right: 0; } }
/* Wide screens: one column per stop, under a road that rises and falls; the text follows its stop. */
@media (min-width: 1000px) {
  .rm-list { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 28px; }
  .rm-list li { display: block; }
  .rm-list li:nth-child(even) { padding-top: 64px; }
  .rm-node { width: 64px; height: 64px; margin-bottom: 18px; }
  .rm-node .ic { width: 30px; height: 30px; }
  .rm-list.num-center .rm-node { margin-left: auto; margin-right: auto; }
  .rm-list.num-right .rm-node { margin-left: auto; }
  .rm-list.num-center .rm-n { text-align: center; }
  .rm-list.num-right .rm-n { text-align: right; }
  .rm-list p { font-size: .97rem; }
}
.rm-on .rm-node { transition: border-color .3s, background-color .3s, color .3s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.rm-on .rm-txt { transition: opacity .45s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.rm-on li:not(.on) .rm-node { transform: scale(.86); color: #a3a9b4; border-color: #d5d9e0; background: var(--bg); }
.rm-on li:not(.on) .rm-txt { opacity: .28; transform: translateY(8px); }

/* ── Word cloud block ────────────────────────────────────────────────────────────────────────
   The brand name among the words that describe how we work, as real text. Wide: every word has its place,
   as in a word cloud, and all sizes follow the width of the box. Narrow: the same words flow in lines.
   With a title or a text the words sit beside it from 1200px up and under it below that.
   site.js lets them appear from the middle outwards, then brings a few forward at a time.
   Without the script, or with reduced motion, all the words simply show. */
@media (min-width: 900px) { .split.wc-split { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (min-width: 1200px) { .split.wc-split { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; } }
.wc-split .prose { max-width: none; }
.wc-alone { max-width: 960px; margin-inline: auto; }
.wc-box { container-type: inline-size; }
.wc { position: relative; margin: 0; aspect-ratio: 2 / 1; }
.wc span, .wc-logo {
  position: absolute; left: calc(var(--x) / 16 * 1%); top: calc(var(--y) / 8 * 1%);
  font-size: calc(var(--f) / 16 * 1cqw); line-height: 1; white-space: nowrap; font-weight: 500; letter-spacing: -.01em;
  color: var(--muted); opacity: var(--o, .4); cursor: default;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--s, 1));
}
.wc .b { font-weight: 700; }
.wc .v { --r: -90deg; }
.wc-logo { color: var(--text); font-weight: 700; letter-spacing: -.03em; --o: 1; z-index: 2; }
.wc-logo b { font-weight: inherit; color: var(--brand); }
.wc-logo b.c-dark { color: var(--text); }
.wc-logo b.c-grey { color: var(--muted); }
/* A logo picture in the middle: 1000 x 200 px, shown 700 of the 1600 units wide (the place of the name). */
.wc-logo-img { width: calc(700 / 16 * 1%); line-height: 0; }
.wc-logo-img img { display: block; width: 100%; height: auto; }
.wc-on span, .wc-on .wc-logo { opacity: 0; --s: .9; transition: opacity .7s var(--d, 0ms), color .45s, transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.wc-on.in span, .wc-on.in .wc-logo { opacity: var(--o, .4); --s: 1; }
.wc-on.run span { --d: 0ms; }
/* A word that comes forward: full ink (or the brand colour), a little larger, then it settles back. */
.wc-on.in span.pop, .wc-on.in span.hold { opacity: 1; color: var(--text); --s: 1.16; z-index: 3; }
.wc-on.in span.pop.a { color: var(--brand-text); }
/* The word under the mouse (or touched) on wide screens: held forward, above the others, until it is let go. */
.wc-on.in span.hold { z-index: 4; transition-delay: 0ms; }
@container (max-width: 640px) {
  .wc { aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 12px; }
  .wc span, .wc-logo { position: static; font-size: calc(11px + var(--f) * .16px); transform: scale(var(--s, 1)); }
  .wc-logo { flex: 0 0 100%; text-align: center; font-size: 13cqw; margin-bottom: 10px; }
  .wc-logo-img { flex-basis: 70%; width: 70%; margin-inline: 15%; }
}

/* A legal page opened from a form: a wide window over the page, its text scrolls inside. */
.lpop { width: min(1000px, calc(100vw - 32px)); height: min(88vh, 900px); max-width: none; max-height: none; padding: 0; border: 1px solid var(--line);
  border-radius: 14px; background: var(--bg); color: var(--text); display: none; flex-direction: column; overflow: hidden; }
.lpop[open] { display: flex; }
.lpop::backdrop { background: rgba(16, 24, 40, .55); }
.lpop-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--line); }
.lpop-t { margin: 0; font-weight: 700; font-size: 1.1rem; flex: 1; min-width: 0; }
.lpop-new { font-size: .9rem; white-space: nowrap; }
.lpop-x { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lpop-x:hover { background: var(--bg-soft); }
.lpop-body { flex: 1; overflow-y: auto; padding: 8px 24px 32px; max-width: none; }
.lpop-body .blk { padding-block: 16px; background: none; }
.lpop-body .wrap { padding-inline: 0; max-width: none; }
@media (max-width: 639px) {
  .lpop { width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .lpop-new { display: none; }
  .lpop-body { padding: 4px 16px 24px; }
}

/* Flags in the language selector (drawn, see App\Content\Flags). */
.flag { display: inline-block; width: 21px; height: 14px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px var(--line); vertical-align: middle; }
.lang-flag { display: inline-flex; }
.lang a { display: flex; align-items: center; gap: 8px; }
