/* recipe-engine stylesheet — generated from recipe `IceViolet — Лёд и фиолет` */

:root {
    --wx0z0-primary:      #a5686d;
    --wx0z0-primary-mid:  #895256;
    --wx0z0-on-primary:   #0a0a0a;
    --wx0z0-accent:       #6aa964;
    --wx0z0-accent-soft:  #eef0ee;
    --wx0z0-bg:           #f9f9f9;
    --wx0z0-bg-alt:       #eeebeb;
    --wx0z0-text:         #1e1a1a;
    --wx0z0-text-mid:     #877375;
    --wx0z0-surface:      #fefefe;
    --wx0z0-surface-dark: #372a2b;
    --wx0z0-radius-sm:    8px;
    --wx0z0-radius-md:    16px;
    --wx0z0-radius-lg:    24px;
    --wx0z0-radius-pill:  999px;
    --wx0z0-font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --wx0z0-font-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --wx0z0-heading-weight: 700;
    --wx0z0-heading-letter: -0.02em;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}
body {
    margin: 0;
    font-family: var(--wx0z0-font-body);
    color: var(--wx0z0-text);
    background: var(--wx0z0-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    max-width: 100vw;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wx0z0-primary); text-decoration: none; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--wx0z0-font-heading);
    font-weight: var(--wx0z0-heading-weight);
    letter-spacing: var(--wx0z0-heading-letter);
    margin: 0 0 18px;
    color: var(--wx0z0-text);
    line-height: 1.18;
}
h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
p { margin: 0 0 16px; color: var(--wx0z0-text-mid); }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 6px; }

body {
    background-image: repeating-linear-gradient(
        90deg,
        color-mix(in srgb, var(--wx0z0-text) 3%, transparent) 0px,
        color-mix(in srgb, var(--wx0z0-text) 3%, transparent) 1px,
        transparent 1px,
        transparent 16px
    );
    background-color: var(--wx0z0-bg);
    background-attachment: fixed;
}

.wx0z0-h {
    background: var(--wx0z0-bg);
    border-bottom: 1px solid color-mix(in srgb, var(--wx0z0-text) 8%, transparent);
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(8px);
}
.wx0z0-hi {
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.wx0z0-br {
    font-family: var(--wx0z0-font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--wx0z0-text);
    text-decoration: none;
}
.wx0z0-br:hover { text-decoration: none; }
.wx0z0-nav { display: flex; gap: 28px; align-items: center; flex-shrink: 0; white-space: nowrap; }
.wx0z0-nav a {
    color: var(--wx0z0-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.wx0z0-nav a:hover { color: var(--wx0z0-primary); border-bottom-color: var(--wx0z0-primary); text-decoration: none; }
.wx0z0-nav a.is-active { color: var(--wx0z0-primary); border-bottom-color: var(--wx0z0-primary); }
@media (max-width: 860px) {
    .wx0z0-nav { display: none; }
}

.wx0z0-he {
    position: relative;
    padding: 80px 0 96px;
    overflow: hidden;
}
.wx0z0-hei {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}
.wx0z0-hey {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--wx0z0-primary);
    margin: 0 0 18px;
}
.wx0z0-het {
    font-family: var(--wx0z0-font-heading);
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: var(--wx0z0-heading-letter, -0.02em);
    font-weight: var(--wx0z0-heading-weight, 800);
    margin: 0 0 22px;
    color: var(--wx0z0-text);
}
.wx0z0-hes {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--wx0z0-text-mid);
    margin: 0 0 32px;
    max-width: 540px;
}
.wx0z0-hea { display: flex; flex-wrap: wrap; gap: 14px; }
.wx0z0-hem img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--wx0z0-radius-lg);
}

.wx0z0-hei { max-width: 1080px; }
.wx0z0-het {
    font-size: clamp(2.6rem, 5.5vw, 5.2rem);
    letter-spacing: -0.035em;
    line-height: 1.02;
    max-width: 900px;
}
.wx0z0-hem { margin-top: 56px; }
.wx0z0-hem img { border-radius: var(--wx0z0-radius-lg); }

.wx0z0-s { padding: 80px 0; position: relative; }
.wx0z0-sa { background: var(--wx0z0-bg-alt); }
.wx0z0-si { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wx0z0-sh { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.wx0z0-sey {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.12em; font-weight: 700;
    color: var(--wx0z0-primary); margin: 0 0 14px;
}
.wx0z0-st { margin: 0 0 14px; }
.wx0z0-ss { font-size: 1.05rem; color: var(--wx0z0-text-mid); margin: 0; }

.wx0z0-g3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.wx0z0-g4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}
.wx0z0-g2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}
.wx0z0-sp {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 860px) {
    .wx0z0-sp { grid-template-columns: 1fr; }
}

.wx0z0-bt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--wx0z0-font-heading);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .22s ease, color .22s ease, transform .18s ease, border-color .22s ease, box-shadow .22s ease, letter-spacing .22s ease;
    width: auto;
    max-width: max-content;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    isolation: isolate;
}
.wx0z0-bt:active { transform: translateY(1px) scale(0.99); }

.wx0z0-bp {
    background: var(--wx0z0-primary); color: var(--wx0z0-on-primary);
    padding: 14px 26px; border: 2px solid var(--wx0z0-primary);
    border-radius: 16px;
    font-size: 0.98rem;
    overflow: hidden;
}
.wx0z0-bp::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(120% 120% at 50% 50%, color-mix(in srgb, #fff 28%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: -1;
}
.wx0z0-bp:hover {
    background: var(--wx0z0-primary-mid); border-color: var(--wx0z0-primary-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--wx0z0-primary) 55%, transparent);
}
.wx0z0-bp:hover::before { opacity: 1; }
.wx0z0-bg {
    background: transparent; color: var(--wx0z0-text);
    padding: 13px 24px; border: 2px solid color-mix(in srgb, var(--wx0z0-text) 20%, transparent);
    border-radius: 16px;
}
.wx0z0-bg:hover {
    border-color: var(--wx0z0-primary); color: var(--wx0z0-primary);
    transform: translateY(-2px);
}

/* Readable body/heading colors on every card motif (except dark_panel
   which inverts). Force high-contrast so dark-theme recipes don't drop
   to a low-contrast text-mid that blends into tinted card backgrounds. */
.wx0z0-c h3,
.wx0z0-c h4,
.wx0z0-c .wx0z0-pch h3 {
    color: var(--wx0z0-text);
}
.wx0z0-c p,
.wx0z0-c li,
.wx0z0-c ul li,
.wx0z0-c .wx0z0-ro {
    color: var(--wx0z0-text) !important;
    opacity: 0.88;
}
.wx0z0-c li::before,
.wx0z0-c .wx0z0-str {
    color: var(--wx0z0-primary) !important;
    opacity: 1;
}
/* Role/meta labels need to stay readable on dark panels */
.wx0z0-tc .wx0z0-ro,
.wx0z0-rc .wx0z0-ro,
.wx0z0-rc .wx0z0-au,
.wx0z0-pc .wx0z0-pr {
    color: var(--wx0z0-text) !important;
    opacity: 0.95;
}
/* Force primary accent for numbering so it pops on both themes */
.wx0z0-c .wx0z0-nu {
    color: var(--wx0z0-primary) !important;
    opacity: 1;
}

.wx0z0-c {
    background: color-mix(in srgb, var(--wx0z0-text) 8%, transparent);
    border-radius: 24px;
    padding: 28px;
    border: 1px solid color-mix(in srgb, var(--wx0z0-text) 20%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.wx0z0-c:hover { border-color: color-mix(in srgb, var(--wx0z0-primary) 50%, transparent); }

.wx0z0-s { padding: 80px 0; }

/* FAQ */
.wx0z0-fl { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.wx0z0-fq {
    background: var(--wx0z0-surface);
    border: 1px solid color-mix(in srgb, var(--wx0z0-text) 12%, transparent);
    border-radius: var(--wx0z0-radius-md);
    padding: 20px 26px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
.wx0z0-fq[open] { border-color: var(--wx0z0-primary); }
.wx0z0-fq:hover { border-color: var(--wx0z0-primary); background: color-mix(in srgb, var(--wx0z0-accent-soft) 40%, var(--wx0z0-surface)); }
.wx0z0-fq summary {
    cursor: pointer; font-weight: 700;
    font-size: 1.1rem; color: var(--wx0z0-text);
    font-family: var(--wx0z0-font-heading);
    list-style: none; position: relative; padding-right: 36px;
}
.wx0z0-fq summary::-webkit-details-marker { display: none; }
.wx0z0-fq summary::after {
    content: "+"; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px; font-size: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--wx0z0-primary); background: color-mix(in srgb, var(--wx0z0-primary) 14%, transparent);
    border-radius: 50%; transition: background .15s ease;
}
.wx0z0-fq[open] summary::after { content: "−"; background: var(--wx0z0-primary); color: #ffffff; }
.wx0z0-fq p { margin: 14px 0 0; color: var(--wx0z0-text-mid); }

/* FAQ — row variant (accordion_plus): no box, just border-top dividers, big +/- marker on the right */
.wx0z0-fr { border-top: 2px solid color-mix(in srgb, var(--wx0z0-text) 12%, transparent); padding: 0; }
.wx0z0-fr summary {
    cursor: pointer; padding: 22px 36px 22px 0;
    font-weight: 700; font-size: 1.1rem; color: var(--wx0z0-text);
    font-family: var(--wx0z0-font-heading);
    list-style: none; position: relative;
}
.wx0z0-fr summary::-webkit-details-marker { display: none; }
.wx0z0-fr summary::marker { content: ""; }
.wx0z0-fr summary::after {
    content: "+"; position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    color: var(--wx0z0-primary); font-size: 1.8rem;
    font-weight: 300; line-height: 1;
}
.wx0z0-fr[open] summary::after { content: "−"; }
.wx0z0-fr p { margin: 0; padding: 0 0 20px; opacity: 0.85; color: var(--wx0z0-text-mid); }

/* Team */
.wx0z0-tc { text-align: center; }
.wx0z0-tc img {
    width: 150px; height: 150px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}
.wx0z0-tc h3 { margin: 0 0 4px; font-size: 1.15rem; }
.wx0z0-tc .wx0z0-ro {
    color: var(--wx0z0-primary);
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.08em; font-weight: 700;
    margin: 0 0 12px;
}
.wx0z0-tc p { font-size: 0.95rem; color: var(--wx0z0-text-mid); }

/* Timeline */
.wx0z0-tl { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; position: relative; padding-left: 34px; }
.wx0z0-tl::before {
    content: ""; position: absolute; left: 15px; top: 10px; bottom: 10px;
    width: 2px; background: color-mix(in srgb, var(--wx0z0-primary) 25%, transparent);
}
.wx0z0-tli {
    position: relative; padding: 18px 22px;
    background: var(--wx0z0-surface);
    border: 1px solid color-mix(in srgb, var(--wx0z0-text) 8%, transparent);
    border-radius: var(--wx0z0-radius-md);
}
.wx0z0-tli::before {
    content: ""; position: absolute; left: -25px; top: 22px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--wx0z0-primary);
    border: 3px solid var(--wx0z0-bg);
}
.wx0z0-tli .wx0z0-dt {
    color: var(--wx0z0-primary); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 700; margin-bottom: 6px;
}
.wx0z0-tli h3 { margin: 0 0 6px; font-size: 1.1rem; }

/* Pricing */
.wx0z0-pc { display: flex; flex-direction: column; height: 100%; }
.wx0z0-pcf {
    border-color: var(--wx0z0-primary) !important;
    box-shadow: 0 14px 40px color-mix(in srgb, var(--wx0z0-primary) 18%, transparent);
    transform: scale(1.03);
}
.wx0z0-pch h3 { margin: 0 0 6px; font-size: 1.15rem; }
.wx0z0-pc .wx0z0-pr {
    font-family: var(--wx0z0-font-heading);
    font-weight: 800; font-size: 2.3rem;
    color: var(--wx0z0-primary); margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.wx0z0-pc ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.wx0z0-pc li { position: relative; padding-left: 22px; color: var(--wx0z0-text-mid); }
.wx0z0-pc li::before {
    content: "✓"; position: absolute; left: 0;
    color: var(--wx0z0-primary); font-weight: 800;
}

/* Reviews */
.wx0z0-rc .wx0z0-str {
    color: var(--wx0z0-primary);
    font-size: 1.1rem; letter-spacing: 2px;
    margin-bottom: 14px;
}
.wx0z0-rc p { font-size: 1rem; color: var(--wx0z0-text); margin: 0 0 18px; font-style: italic; }
.wx0z0-rc .wx0z0-au { font-weight: 700; margin: 0 0 2px; }
.wx0z0-rc .wx0z0-ro {
    color: var(--wx0z0-primary); font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 700; margin: 0;
}

/* Stats */
.wx0z0-sst {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    padding: 40px 28px;
    background: var(--wx0z0-primary);
    color: #ffffff;
    border-radius: var(--wx0z0-radius-lg);
    text-align: center;
}
.wx0z0-stn {
    font-family: var(--wx0z0-font-heading);
    font-size: 2.8rem; font-weight: 800; line-height: 1;
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 4px;
}
.wx0z0-stl {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.08em; opacity: 0.85;
}

/* Articles grid */
.wx0z0-a {
    background: var(--wx0z0-surface);
    border-radius: var(--wx0z0-radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform .15s ease, box-shadow .15s ease;
    border: 1px solid color-mix(in srgb, var(--wx0z0-text) 6%, transparent);
}
.wx0z0-a:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12); }
.wx0z0-a img { width: 100%; height: 200px; object-fit: cover; border-radius: 0; }
.wx0z0-ab { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.wx0z0-ad {
    color: var(--wx0z0-primary);
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.08em; font-weight: 700;
    margin: 0 0 10px;
}
.wx0z0-a h3 { margin: 0 0 10px; font-size: 1.15rem; line-height: 1.35; }
.wx0z0-a h3 a { color: inherit; }
.wx0z0-a h3 a:hover { color: var(--wx0z0-primary); text-decoration: none; }
.wx0z0-a p { font-size: 0.95rem; margin: 0 0 14px; flex: 1; }
.wx0z0-al { color: var(--wx0z0-primary); font-weight: 700; font-size: 0.92rem; }

/* Sources */
.wx0z0-src { border-left: 3px solid var(--wx0z0-primary); background: var(--wx0z0-surface); padding: 22px 26px; border-radius: var(--wx0z0-radius-sm); }
.wx0z0-src h3 { margin: 0 0 14px; font-size: 1.05rem; }
.wx0z0-src ul { list-style: none; margin: 0; padding: 0; }
.wx0z0-src li { color: var(--wx0z0-text-mid); padding-left: 18px; position: relative; margin-bottom: 8px; }
.wx0z0-src li::before { content: "→"; position: absolute; left: 0; color: var(--wx0z0-primary); }

/* Values / feature cards with numbers */
.wx0z0-vc { padding: 26px; }
.wx0z0-vc .wx0z0-nu {
    display: block; font-family: var(--wx0z0-font-heading);
    font-size: 1.8rem; font-weight: 800;
    color: var(--wx0z0-primary); margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.wx0z0-vc h3 { margin: 0 0 8px; font-size: 1.15rem; }

/* Newsletter + CTA — mix primary into bg (not accent-soft) so contrast
   with --wx0z0-text is reliable on both dark and light themes. Previously
   accent-soft was a near-white tint which collided with light text on
   dark-theme recipes, making the headline invisible. */
.wx0z0-cta {
    text-align: center;
    max-width: 720px; margin: 0 auto;
    padding: 48px 36px;
    background: color-mix(in srgb, var(--wx0z0-primary) 10%, var(--wx0z0-bg));
    border-radius: var(--wx0z0-radius-lg);
    border: 1px solid color-mix(in srgb, var(--wx0z0-primary) 28%, transparent);
}
.wx0z0-cta h2,
.wx0z0-cta p {
    color: var(--wx0z0-text) !important;
}
.wx0z0-cta h2 { margin: 0 0 12px; }
.wx0z0-cta p { margin: 0 0 24px; opacity: 0.85; }
.wx0z0-cta .wx0z0-bt { margin: 0 auto; }

/* Contact form */
.wx0z0-fm { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.wx0z0-fmr { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .wx0z0-fmr { grid-template-columns: 1fr; } }
.wx0z0-fm label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--wx0z0-text); }
.wx0z0-fm input, .wx0z0-fm textarea {
    font: inherit; font-family: var(--wx0z0-font-body);
    padding: 12px 14px;
    background: var(--wx0z0-surface);
    border: 1px solid color-mix(in srgb, var(--wx0z0-text) 20%, transparent);
    border-radius: var(--wx0z0-radius-md);
    color: var(--wx0z0-text);
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}
.wx0z0-fm input:focus, .wx0z0-fm textarea:focus {
    outline: none;
    border-color: var(--wx0z0-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wx0z0-primary) 18%, transparent);
}
.wx0z0-fm textarea { min-height: 140px; resize: vertical; }
.wx0z0-fmn { font-size: 0.85rem; color: var(--wx0z0-text-mid); margin: 0; }

/* Consent row — overrides `.wx0z0-fm label { flex-direction: column }` so
   the checkbox sits to the LEFT of the privacy note (not above it). Custom
   checkbox styling (appearance:none + theme-aware fill + drawn checkmark)
   makes the box feel intentional instead of looking like a stray native
   widget. The attribute selector on `name="consent"` also targets future
   forms where someone forgets the `.wx0z0-fm__consent` class. */
.wx0z0-fm__consent {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 400 !important;
    line-height: 1.5;
    color: color-mix(in srgb, var(--wx0z0-text) 72%, transparent) !important;
    cursor: pointer;
    padding: 4px 0 0;
}
.wx0z0-fm__consent input[type="checkbox"],
.wx0z0-fm input[type="checkbox"][name="consent"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    flex-shrink: 0;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    background: var(--wx0z0-surface);
    border: 1.5px solid color-mix(in srgb, var(--wx0z0-text) 32%, transparent);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.wx0z0-fm__consent input[type="checkbox"]:hover,
.wx0z0-fm input[type="checkbox"][name="consent"]:hover {
    border-color: var(--wx0z0-primary);
}
.wx0z0-fm__consent input[type="checkbox"]:checked,
.wx0z0-fm input[type="checkbox"][name="consent"]:checked {
    background: var(--wx0z0-primary);
    border-color: var(--wx0z0-primary);
}
.wx0z0-fm__consent input[type="checkbox"]:checked::after,
.wx0z0-fm input[type="checkbox"][name="consent"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid var(--wx0z0-bg);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.wx0z0-fm__consent input[type="checkbox"]:focus-visible,
.wx0z0-fm input[type="checkbox"][name="consent"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wx0z0-primary) 25%, transparent);
}
.wx0z0-fm__consent > span { flex: 1; }

/* Contact info cards. Colors use !important because `.re-f a` (footer base)
   has equal specificity (0,1,1) and comes later in the cascade — without
   !important the footer's 80% white rule hides the card text on light
   footer variants. */
.wx0z0-cc {
    display: flex; flex-direction: column; gap: 6px;
    padding: 22px 24px;
    background: var(--wx0z0-bg) !important;
    border: 1px solid color-mix(in srgb, var(--wx0z0-text) 14%, transparent);
    border-radius: var(--wx0z0-radius-md);
    color: var(--wx0z0-text) !important;
}
.wx0z0-ccl {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.08em; font-weight: 700;
    color: var(--wx0z0-primary) !important;
    opacity: 1 !important;
}
/* Long email/phone tokens (info@bramleyfie11ld.mobi) overflow narrow
   viewports without explicit wrap — set overflow-wrap so they break inside
   the card instead of pushing the page wider than the screen. */
.wx0z0-ccv { color: var(--wx0z0-text) !important; font-weight: 600; opacity: 1 !important; overflow-wrap: anywhere; word-break: break-word; }
.wx0z0-cc a { color: var(--wx0z0-text) !important; font-weight: 600; opacity: 1 !important; text-decoration: none; overflow-wrap: anywhere; word-break: break-word; }
.wx0z0-cc a:hover { color: var(--wx0z0-primary) !important; text-decoration: underline; }

/* Legal block in footer. Structural only — colors INHERIT from the footer
   default (`.wx0z0-f h4` = #fff, `.wx0z0-f a` = 80% white), which is the
   right contrast on the dark default background. Forcing `var(--wx0z0-text)` here
   was the bug: dark text on the dark footer → invisible. Light-background
   variants (signup_wide) and the dark-inverted variant get scoped overrides
   further down. */
.wx0z0-lgc { display: flex; flex-direction: column; }
.wx0z0-lgh {
    opacity: 0.88;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 14px;
    font-family: var(--wx0z0-font-heading, inherit);
}
.wx0z0-lgl {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.wx0z0-lm a {
    display: inline-flex; align-items: center; gap: 10px;
    opacity: 0.88;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color .15s ease, opacity .15s ease;
}
.wx0z0-lm a:hover { opacity: 1; }
.wx0z0-lm a span { flex: 1; }
/* Icon color is set to primary so it stays visible on both dark AND light
   footer variants — the surrounding text inherits the footer default. */
.wx0z0-lmi { flex-shrink: 0; color: var(--wx0z0-primary); opacity: 0.95; }
.wx0z0-lm a:hover .wx0z0-lmi { opacity: 1; }

/* Footer nav column heading + inline link groups inherit `.wx0z0-f h4`
   (#fff) and `.wx0z0-f a` (80% white) respectively — just tune opacity and
   typographic scale here. */
.wx0z0-fh {
    opacity: 0.88;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 14px;
    font-family: var(--wx0z0-font-heading, inherit);
}
.wx0z0-fln { display: flex; gap: 16px; flex-wrap: wrap; }
.wx0z0-fln a { opacity: 0.88; text-decoration: none; transition: opacity .15s ease; }
.wx0z0-fln a:hover { opacity: 1; }
.wx0z0-fnv { line-height: 1.6; }

/* Light-background footer variant: signup_wide uses a tinted LIGHT background
   (color-mix(primary 6%, --wx0z0-bg)), so the footer's default 80%-white text is
   unreadable there. Flip text to `var(--wx0z0-text)` (dark) inside that variant. */
.wx0z0-f--signup_wide { color: var(--wx0z0-text) !important; }
.wx0z0-f--signup_wide h4,
.wx0z0-f--signup_wide .wx0z0-fh,
.wx0z0-f--signup_wide .wx0z0-lgh {
    color: var(--wx0z0-text) !important;
}
.wx0z0-f--signup_wide a,
.wx0z0-f--signup_wide .wx0z0-fln a,
.wx0z0-f--signup_wide .wx0z0-lm a {
    color: var(--wx0z0-text) !important;
}
.wx0z0-f--signup_wide a:hover { color: var(--wx0z0-primary) !important; }

/* Dark-inverted variant uses `background:var(--wx0z0-text)` (a different shade
   of dark than `--wx0z0-surface-dark`). Default 80%-white reads fine there too,
   so no override is strictly needed — but we pin to `var(--wx0z0-bg)` for a
   cleaner, less-faded look on the distinctly darker panel. */
.wx0z0-f--dark_inverted .wx0z0-fh,
.wx0z0-f--dark_inverted .wx0z0-lgh,
.wx0z0-f--dark_inverted h4 {
    color: var(--wx0z0-bg) !important;
}
.wx0z0-f--dark_inverted .wx0z0-fln a,
.wx0z0-f--dark_inverted .wx0z0-lm a {
    color: var(--wx0z0-bg) !important;
    opacity: 0.92;
}
.wx0z0-f--dark_inverted .wx0z0-fln a:hover,
.wx0z0-f--dark_inverted .wx0z0-lm a:hover { opacity: 1; }

/* Thank-you page */
.wx0z0-ty { min-height: 60vh; display: flex; align-items: center; }
.wx0z0-tyi { text-align: center; max-width: 620px; margin: 0 auto; padding: 0 24px; }
.wx0z0-tic {
    width: 84px; height: 84px; border-radius: 50%;
    background: color-mix(in srgb, var(--wx0z0-primary) 18%, transparent);
    color: var(--wx0z0-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 42px; font-weight: 800;
    margin: 0 auto 28px;
}

/* ── featured_products section (product-catalog skeleton) ───────────── */
.re-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.re-product-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 24px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.re-product-carousel > .re-product-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}
.re-product-split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.re-product-split__rest {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 720px) {
    .re-product-split {
        grid-template-columns: 1fr;
    }
}
.re-product-card {
    background: var(--wx0z0-surface);
    border: 1px solid color-mix(in srgb, var(--wx0z0-text) 10%, transparent);
    border-radius: var(--wx0z0-radius-md, 12px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    text-decoration: none;
    color: inherit;
}
.re-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--wx0z0-text) 24%, transparent);
    border-color: var(--wx0z0-primary);
}
.re-product-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: color-mix(in srgb, var(--wx0z0-text) 5%, transparent);
}
.re-product-card__body {
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--wx0z0-text);
}
.re-product-card__category {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--wx0z0-primary);
    margin: 0;
    font-weight: 700;
}
.re-product-card__name {
    margin: 0;
    font-family: var(--wx0z0-font-heading);
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--wx0z0-text);
}
.re-product-card__desc {
    margin: 4px 0 0;
    font-size: 0.92rem;
    opacity: 0.78;
    line-height: 1.5;
    flex: 1;
}
.re-product-card__cta {
    margin-top: 14px;
    font-family: var(--wx0z0-font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--wx0z0-primary);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
}
.re-product-card:hover .re-product-card__cta {
    text-decoration: underline;
}
/* End featured_products styles */

.wx0z0-f {
    background: var(--wx0z0-surface-dark);
    color: color-mix(in srgb, #ffffff 94%, transparent);
    padding: 64px 0 28px;
    margin-top: 96px;
}
.wx0z0-fi {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}
.wx0z0-f h4 {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 18px;
}
.wx0z0-f p, .wx0z0-f li, .wx0z0-f a { color: color-mix(in srgb, #ffffff 92%, transparent); font-size: 0.92rem; }
.wx0z0-f a { color: color-mix(in srgb, #ffffff 92%, transparent); }
.wx0z0-f a:hover { color: #ffffff; text-decoration: none; }
/* Contact-card visibility safety — force readable text on the card's light bg
   regardless of footer text rules or pack cascade. */
.wx0z0-f .wx0z0-cc { background: var(--wx0z0-bg) !important; color: var(--wx0z0-text) !important; }
.wx0z0-f .wx0z0-ccl { color: var(--wx0z0-primary) !important; opacity: 1 !important; }
.wx0z0-f .wx0z0-ccv, .wx0z0-f .wx0z0-cc a { color: var(--wx0z0-text) !important; opacity: 1 !important; }
.wx0z0-f ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.wx0z0-fb { font-family: var(--wx0z0-font-heading); font-weight: 800; font-size: 1.2rem; color: #ffffff; margin-bottom: 14px; display: block; }
.wx0z0-fbt {
    max-width: 1240px;
    margin: 40px auto 0;
    padding: 22px 24px 0;
    border-top: 1px solid color-mix(in srgb, #ffffff 10%, transparent);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 0.85rem;
}
@media (max-width: 860px) {
    .wx0z0-fi { grid-template-columns: 1fr; }
}

.wx0z0-l { max-width: 1200px; margin: 60px auto 0; padding: 0 24px; }
.wx0z0-lg { display: flex; flex-direction: column; gap: 18px; }
.wx0z0-lc {
    display: flex; gap: 22px; align-items: flex-start;
    padding: 22px 28px; border-radius: var(--wx0z0-radius-lg);
    border: 1px solid color-mix(in srgb, var(--wx0z0-text) 12%, transparent);
    border-left-width: 4px;
    background: color-mix(in srgb, var(--wx0z0-text) 5%, var(--wx0z0-bg));
}
.wx0z0-lcr {
    border-left-color: #E07B39;
    background: color-mix(in srgb, #E07B39 8%, var(--wx0z0-bg));
}
.wx0z0-lcb {
    border-left-color: #3B82F6;
    background: color-mix(in srgb, #3B82F6 7%, var(--wx0z0-bg));
}
.wx0z0-li {
    flex-shrink: 0; width: 48px; height: 48px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
}
.wx0z0-lcr .wx0z0-li {
    background: color-mix(in srgb, #E07B39 20%, var(--wx0z0-bg));
    color: #E07B39;
}
.wx0z0-lcb .wx0z0-li {
    background: color-mix(in srgb, #3B82F6 18%, var(--wx0z0-bg));
    color: #3B82F6;
}
.wx0z0-li svg { width: 24px; height: 24px; display: block; }
.wx0z0-lb h3 {
    margin: 0 0 8px; font-size: 1.05rem; font-weight: 700;
    color: var(--wx0z0-text) !important;
    font-family: var(--wx0z0-font-heading);
}
.wx0z0-lb p {
    margin: 0; font-size: 0.95rem; line-height: 1.6;
    color: var(--wx0z0-text) !important; opacity: 0.85;
}
@media (max-width: 720px) {
    .wx0z0-lc { flex-direction: column; padding: 20px; gap: 14px; }
    .wx0z0-li { width: 42px; height: 42px; }
}

.re-cookie {
    position: fixed;
    left: 24px; right: 24px; bottom: 24px;
    z-index: 9000;
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 22px;
    border-radius: var(--wx0z0-radius-lg);
    background: color-mix(in srgb, var(--wx0z0-text) 10%, var(--wx0z0-bg));
    border: 1px solid color-mix(in srgb, var(--wx0z0-text) 18%, transparent);
    box-shadow: 0 14px 40px rgba(0,0,0,0.18);
    transform: translateY(32px);
    opacity: 0;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease;
    font-family: var(--wx0z0-font-body, inherit);
}
.re-cookie.re-cookie--show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.re-cookie__inner {
    display: flex; flex-wrap: wrap; gap: 16px;
    align-items: center; justify-content: space-between;
}
.re-cookie__text {
    flex: 1 1 280px; margin: 0;
    color: var(--wx0z0-text); opacity: 0.92;
    font-size: 0.92rem; line-height: 1.5;
}
.re-cookie__link {
    color: var(--wx0z0-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.re-cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.re-cookie__btn {
    appearance: none; cursor: pointer;
    font-family: var(--wx0z0-font-heading, inherit);
    font-weight: 600; font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: var(--wx0z0-radius-md);
    border: 1.5px solid transparent;
    transition: background .15s ease, transform .1s ease, border-color .15s ease;
    white-space: nowrap;
}
.re-cookie__btn:hover { transform: translateY(-1px); }
.re-cookie__btn--accept {
    background: var(--wx0z0-primary); color: #ffffff;
    border-color: var(--wx0z0-primary);
}
.re-cookie__btn--accept:hover { background: var(--wx0z0-primary-mid); border-color: var(--wx0z0-primary-mid); }
.re-cookie__btn--ghost {
    background: transparent; color: var(--wx0z0-text);
    border-color: color-mix(in srgb, var(--wx0z0-text) 28%, transparent);
}
.re-cookie__btn--ghost:hover { border-color: var(--wx0z0-text); }
@media (max-width: 560px) {
    .re-cookie { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
    .re-cookie__inner { flex-direction: column; align-items: stretch; }
    .re-cookie__actions { justify-content: flex-end; }
}

.wx0z0-po {
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
}
.wx0z0-pin {
    padding: 22px 26px;
    background: color-mix(in srgb, var(--wx0z0-primary) 8%, var(--wx0z0-bg));
    border-left: 3px solid var(--wx0z0-primary);
    border-radius: var(--wx0z0-radius-md);
    margin-bottom: 48px;
}
.wx0z0-pin p {
    margin: 0 0 12px;
    color: var(--wx0z0-text) !important;
    font-size: 1rem;
}
.wx0z0-pin p:last-child { margin-bottom: 0; }
.wx0z0-pup {
    font-size: 0.88rem !important;
    color: var(--wx0z0-text-mid) !important;
    margin-bottom: 16px !important;
}
.wx0z0-psc {
    margin-bottom: 40px;
}
.wx0z0-psc h2 {
    font-size: 1.5rem;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid color-mix(in srgb, var(--wx0z0-primary) 20%, transparent);
    color: var(--wx0z0-text);
}
.wx0z0-psc p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--wx0z0-text);
    margin: 0 0 14px;
}
.wx0z0-psc p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
    .wx0z0-psc h2 { font-size: 1.25rem; }
}

.wx0z0-ap { padding: 80px 0; }
.wx0z0-api { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wx0z0-ap h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.12;
    margin: 8px 0 20px;
}
.wx0z0-ap .wx0z0-ey {
    color: var(--wx0z0-primary);
    font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; font-size: 12px;
    margin-bottom: 8px;
}
.wx0z0-ap .wx0z0-ld {
    font-size: 1.2rem; color: var(--wx0z0-text-mid);
    margin: 0 0 32px; font-weight: 500; line-height: 1.55;
}
.wx0z0-ap p { font-size: 1.06rem; line-height: 1.72; margin: 0 0 20px; color: var(--wx0z0-text); }

/* AI-generated article body — matches the editorial shell */
.wx0z0-a-body .article-header { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--wx0z0-border); }
.wx0z0-a-body .article-eyebrow {
    color: var(--wx0z0-primary); font-weight: 700; letter-spacing: 0.14em;
    text-transform: uppercase; font-size: 12px; margin: 0 0 10px;
}
.wx0z0-a-body h1 {
    font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.14;
    margin: 4px 0 18px; color: var(--wx0z0-text); font-family: var(--wx0z0-font-heading);
}
.wx0z0-a-body .article-lead {
    font-size: 1.2rem; color: var(--wx0z0-text-mid);
    margin: 0 0 18px; font-weight: 500; line-height: 1.55;
}
.wx0z0-a-body .article-meta {
    font-size: 0.88rem; color: var(--wx0z0-text-mid);
    margin: 0; letter-spacing: 0.02em;
}
.wx0z0-a-body h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.25;
    margin: 44px 0 14px; color: var(--wx0z0-text);
    font-family: var(--wx0z0-font-heading); letter-spacing: -0.01em;
}
.wx0z0-a-body h3 {
    font-size: 1.2rem; line-height: 1.35;
    margin: 32px 0 12px; color: var(--wx0z0-text);
    font-family: var(--wx0z0-font-heading);
}
.wx0z0-a-body p { font-size: 1.06rem; line-height: 1.72; margin: 0 0 20px; color: var(--wx0z0-text); }
.wx0z0-a-body ul, .wx0z0-a-body ol { margin: 0 0 22px; padding-left: 1.3em; color: var(--wx0z0-text); }
.wx0z0-a-body li { font-size: 1.04rem; line-height: 1.65; margin-bottom: 8px; }
.wx0z0-a-body blockquote, .wx0z0-a-body .article-pullquote {
    margin: 28px 0; padding: 20px 24px;
    border-left: 4px solid var(--wx0z0-primary);
    background: var(--wx0z0-surface); color: var(--wx0z0-text);
    font-size: 1.14rem; line-height: 1.55; font-style: italic;
    border-radius: 4px;
}
.wx0z0-a-body .article-footer-note {
    margin-top: 36px; padding: 14px 18px;
    background: var(--wx0z0-surface-muted, var(--wx0z0-surface));
    font-size: 0.92rem; color: var(--wx0z0-text-mid); border-radius: 4px;
}
.wx0z0-a-body a { color: var(--wx0z0-primary); }
.wx0z0-a-body a:hover { text-decoration: underline; }
.wx0z0-a-body strong { color: var(--wx0z0-text); font-weight: 700; }
.wx0z0-a-body em { font-style: italic; }
.wx0z0-a-body .wx0z0-a-figure,
.wx0z0-a-body figure {
    margin: 28px 0; padding: 0;
}
.wx0z0-a-body .wx0z0-a-figure img,
.wx0z0-a-body figure img {
    width: 100%; height: auto; display: block; border-radius: 8px;
}
.wx0z0-a-body figcaption {
    font-size: 0.88rem; color: var(--wx0z0-text-mid);
    margin-top: 10px; text-align: center;
}

/* ── Mobile hamburger nav (hidden on desktop) ─────────────────────── */
.wx0z0-hi { position: relative; }
.re-mobile-nav-wrap { display: none; }
.re-mobile-nav__checkbox { position: absolute; opacity: 0; pointer-events: none; }

@media (max-width: 860px) {
    .re-mobile-nav-wrap {
        display: block;
        position: absolute;
        top: 50%;
        /* `inset-inline-end` instead of `right` so the hamburger lands on
           the same edge as the nav links — i.e. the right edge in LTR (en/ru),
           the LEFT edge in RTL (ur/ar). With literal `right:14px` the toggle
           sat on top of the brand wordmark on Urdu pages. */
        inset-inline-end: 14px;
        transform: translateY(-50%);
        z-index: 100;
    }
    .re-mobile-nav__toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 8px;
        cursor: pointer;
    }
    .re-mobile-nav__toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 0 auto;
        background: var(--wx0z0-text);
        transition: transform 0.18s ease, opacity 0.18s ease;
    }
    .re-mobile-nav__checkbox:checked ~ .re-mobile-nav__toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .re-mobile-nav__checkbox:checked ~ .re-mobile-nav__toggle span:nth-child(2) { opacity: 0; }
    .re-mobile-nav__checkbox:checked ~ .re-mobile-nav__toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .re-mobile-nav__panel {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        /* Match wrapper anchoring: pin to the same inline-end edge so in
           RTL the panel grows INTO the screen (rightward) instead of off
           the left edge. Literal `right:0` was leaking the panel offscreen
           on Urdu pages. */
        inset-inline-end: 0;
        min-width: 220px;
        padding: 14px 18px;
        background: var(--wx0z0-bg);
        border: 1px solid color-mix(in srgb, var(--wx0z0-text) 14%, transparent);
        border-radius: 12px;
        box-shadow: 0 16px 40px color-mix(in srgb, var(--wx0z0-text) 22%, transparent);
    }
    .re-mobile-nav__checkbox:checked ~ .re-mobile-nav__panel {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .re-mobile-nav__panel a {
        color: var(--wx0z0-text);
        font-size: 1rem;
        font-weight: 500;
        padding: 10px 6px;
        border-bottom: 1px solid color-mix(in srgb, var(--wx0z0-text) 8%, transparent);
    }
    .re-mobile-nav__panel a:last-child { border-bottom: 0; }
    .re-mobile-nav__panel a:hover { color: var(--wx0z0-primary); text-decoration: none; }

    /* On mobile, only the brand wordmark + hamburger should appear in the
       header bar. Variants like dot_separated, right_brand, pill_container,
       and stacked_left wrap the desktop nav + CTA + dot separators in
       inline-styled <div>/<span>/<a> children of .wx0z0-hi. The
       existing `.wx0z0-nav { display: none }` rule only hides the <nav>
       element — the wrapping cluster div, the dot bullets, and the CTA
       button stay visible and collide with the hamburger toggle. Hide
       every direct child of .wx0z0-hi that isn't the brand or the
       hamburger wrapper. (banner_bar's promo strip is a sibling of
       .wx0z0-hi, so it stays visible.) */
    .wx0z0-hi > *:not(.wx0z0-br):not(.re-mobile-nav-wrap) {
        display: none !important;
    }
    /* Some variants (centered_stack, stacked_left, editorial_tall) set
       inline `flex-direction:column` on .wx0z0-hi — the inline
       style would otherwise override the default row layout we want when
       only brand+hamburger remain. Force horizontal so brand sits on the
       start edge and hamburger floats on inline-end without stacking. */
    .wx0z0-hi[style*="flex-direction:column"],
    .wx0z0-hi[style*="flex-direction: column"] {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }
    /* Reserve room on the inline-end edge for the absolutely-positioned
       hamburger (44px wide + 14px offset). Without this, a long brand
       wordmark in RTL Urdu prints under the toggle. */
    .wx0z0-hi {
        padding-inline-end: 68px !important;
    }
    .wx0z0-hi > .wx0z0-br {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ── Phone breakpoint (≤480px) — tighten spacing & type ──────────── */
@media (max-width: 480px) {
    .wx0z0-s { padding: 56px 0; }
    .wx0z0-si { padding: 0 16px; }
    .wx0z0-sh { margin-bottom: 40px; }
    .wx0z0-hi { padding: 14px 18px; }
    .wx0z0-he { padding: 56px 0 64px; }
    .wx0z0-hei { padding: 0 16px; gap: 32px; }
    .wx0z0-g3, .wx0z0-g4 { gap: 16px; }
    .wx0z0-g2 { gap: 24px; }
    .wx0z0-sp { gap: 28px; }
    .wx0z0-c,
    .wx0z0-fq,
    .wx0z0-pc,
    .wx0z0-vc,
    .wx0z0-tc,
    .wx0z0-rc,
    .re-featuwx0z0-c,
    .re-service-card { padding: 18px; }
    .wx0z0-pcf { transform: none; }
    .wx0z0-bt { padding: 12px 18px; font-size: 0.92rem; }
    .wx0z0-he__cta .wx0z0-bt,
    .wx0z0-hea .wx0z0-bt { width: 100%; max-width: 320px; }
    .wx0z0-stn { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .wx0z0-fi { padding: 48px 16px 28px; }
    .wx0z0-f__grid { grid-template-columns: 1fr; gap: 24px; }
    .wx0z0-l { padding: 48px 16px; }
    .wx0z0-lc { padding: 18px; }
    .wx0z0-a { padding: 48px 16px; }
    .wx0z0-a img { height: auto; }
    table { display: block; overflow-x: auto; max-width: 100%; }
    pre, code { max-width: 100%; overflow-x: auto; word-wrap: break-word; }
}

@media (max-width: 380px) {
    .wx0z0-si { padding: 0 14px; }
    .wx0z0-hi { padding: 12px 14px; }
    .wx0z0-hei { padding: 0 14px; }
    .re-mobile-nav-wrap { inset-inline-end: 10px; right: auto; }
}

/* ── Mobile: collapse inline-styled grids + flex rows (640px) ─────────
   Renderers use inline `style="grid-template-columns:..."` and inline
   `style="display:flex"` rows with fixed pixel/fr values that overflow a
   393px viewport (article-list rows, big_brand footer grid, timeline
   row+circle layouts, FAQ q/a grids). Below 640px we force any such grid
   inside sections and the footer to a single column AND collapse flex rows
   to columns. Rules use `!important` because inline styles otherwise beat
   the media query. */
@media (max-width: 640px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100% !important;
    }
    /* Hard cap every direct top-level wrapper to viewport width. Without this
       a single overflowing descendant (a long URL, a fixed-width grid that
       slips through the inline-style match, an absolutely-positioned decor)
       still drags the whole page sideways in iOS Safari, defeating
       overflow-x:hidden on body. NOTE: skip <header> on purpose — the
       hamburger drawer panel is absolutely-positioned BELOW the header and
       gets clipped if the header has overflow:clip/hidden. Vertical
       overflow cap on body+html is enough to stop horizontal scroll. */
    main, footer, section { max-width: 100vw; overflow-x: clip; }
    footer [style*="grid-template-columns"],
    .wx0z0-si [style*="grid-template-columns"],
    .wx0z0-s [style*="grid-template-columns"],
    .wx0z0-fi [style*="grid-template-columns"],
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    /* Inline `column-count:N` (CSS multi-column) used by the `masonry`
       articles variant doesn't get caught by the grid-template rule above —
       on a 393px viewport 3 columns become unreadable slivers. Collapse
       to a single column on mobile. */
    [style*="column-count:2"],
    [style*="column-count:3"],
    [style*="column-count: 2"],
    [style*="column-count: 3"] {
        column-count: 1 !important;
    }
    /* Inline flex rows that stretch wider than the viewport (avatar
       strips, chip rows, hero clusters, footer columns) — wrap them. */
    footer [style*="display:flex"],
    .wx0z0-si [style*="display:flex"],
    .wx0z0-s [style*="display:flex"] {
        flex-wrap: wrap !important;
    }
    /* Inline `min-width:NNNpx` on form inputs / chips / cards routinely
       exceeds 393px viewport (e.g. CTA email input has min-width:220px,
       fine; but stacked rows of multiple chips with min-width pile up).
       Strip min-width on anything inline-styled below 640px. */
    [style*="min-width"] {
        min-width: 0 !important;
    }
    /* Long Urdu paragraphs in inline-styled <p>/<h1>/<h2>/<h3> can
       refuse to wrap if they contain a single multi-word ligature run.
       Force wrap on every inline-styled text container. */
    p[style], h1[style], h2[style], h3[style], h4[style],
    a[style], span[style], li[style] {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    /* Block-level inline-styled containers (divs, sections, navs) that
       carry a fixed/large max-width — cap to viewport on mobile. */
    div[style*="max-width"],
    nav[style*="max-width"] {
        max-width: 100% !important;
    }
    /* Negative-margin overlapping avatar strips (avatar_strip team variant)
       look fine wrapped, but the negative left margin pushes items off-
       screen when they wrap — reset it under 640px. */
    .wx0z0-s img[style*="margin-left:-"] { margin-left: 0 !important; }
    /* Keep images inside collapsed grids from stretching weirdly */
    footer img, .wx0z0-s img { max-width: 100%; height: auto; }
    /* When an article-list row collapses, the "Read more" column
       becomes its own row — align left instead of right. */
    .wx0z0-s [style*="text-align:right"] { text-align: left !important; }
    /* Hero headlines and section titles routinely use clamp() with fluid
       sizing already, but inline-styled <h2> / <h3> in section variants
       sometimes lock to desktop sizes — cap them on mobile so RTL Urdu
       (which renders ~30% wider than Latin) doesn't break out of the
       viewport. */
    .wx0z0-s h1[style] { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; }
    .wx0z0-s h2[style] { font-size: clamp(1.35rem, 5.5vw, 1.85rem) !important; }
    .wx0z0-s h3[style] { font-size: clamp(1.05rem, 4.4vw, 1.4rem) !important; }
    /* `sidebar_toc` FAQ variant pins the question TOC with
       `position:sticky;top:100px`. On mobile that TOC scrolls into the
       details column when both stack — text overlaps. Reset all inline
       sticky positioning under 640px so stacked sections render in normal
       flow. */
    .wx0z0-s [style*="position:sticky"],
    .wx0z0-s [style*="position: sticky"] {
        position: static !important;
        top: auto !important;
    }
}


/* ── design_library css_pack: cream_editorial_bold ── */
/* ───────────────────────────────────────────────────────────────────
   CSS pack: cream_editorial_bold
   Cream + жирный чёрный sans editorial. Прообраз: pudseyfield.eu
   ─────────────────────────────────────────────────────────────────── */

:root {
  --cb-canvas:         #fffaf0;
  --cb-surface-soft:   #faf5e8;
  --cb-surface-card:   #f5f0e0;
  --cb-surface-strong: #ebe6d6;
  --cb-surface-dark:   #0a1a1a;
  --cb-ink:            #0a0a0a;
  --cb-ink-strong:     #1a1a1a;
  --cb-body:           #3a3a3a;
  --cb-muted:          #6a6a6a;
  --cb-hairline:       #e5e5e5;
}
/* ── RECIPE PALETTE OVERRIDE (auto-injected) ── */
/* Force recipe palette (--wx0z0-bg, --wx0z0-text, etc.) to match this
   pack's theme. Without this, recipe rules using var(--wx0z0-text) on
   sections/policy/cards stay at recipe-default colors and lose
   contrast when the pack changes the body background. */
:root {
  --wx0z0-bg: var(--cb-canvas);
  --wx0z0-bg-alt: var(--cb-surface-soft);
  --wx0z0-text: var(--cb-ink);
  --wx0z0-text-mid: var(--cb-body);
  --wx0z0-surface: var(--cb-surface-card);
  --wx0z0-surface-dark: var(--cb-surface-dark);
}
/* ── END RECIPE PALETTE OVERRIDE ── */


body {
  background: var(--cb-canvas);
  color: var(--cb-body);
  line-height: 1.6;
}

h1, h2, h3, h4,
.wx0z0-st {
  color: var(--cb-ink);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.wx0z0-st {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.wx0z0-sey {
  color: var(--cb-ink);
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.74rem;
  opacity: 0.7;
}

/* Карточки */
.wx0z0-c,
.ag-cards3__card {
  --wx0z0-c-fg: var(--cb-ink);
  background: var(--cb-canvas);
  border: 1px solid var(--cb-hairline);
  border-radius: 8px;
  box-shadow: none;
}
.wx0z0-c:hover,
.ag-cards3__card:hover {
  border-color: var(--cb-ink);
  transform: translateY(-2px);
}

/* Кнопки — primary чёрная, secondary outline */
.wx0z0-bt,
.btn-primary {
  background: var(--cb-ink);
  color: var(--cb-canvas);
  border: 1px solid var(--cb-ink);
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  font-size: 0.92rem;
}
.wx0z0-bt:hover,
.btn-primary:hover {
  background: var(--cb-ink-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--cb-ink);
  border: 1px solid var(--cb-ink);
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
}

/* Signature card title force-light */
.mf-sig .mf-sig__title {
  color: var(--cb-canvas);
}

/* Article cards */
.ag-cards3__category {
  color: var(--cb-ink);
  font-weight: 800;
  opacity: 0.7;
}
.ag-cards3__title {
  font-weight: 900;
  letter-spacing: -0.015em;
}
.ag-cards3__title a:hover {
  color: var(--cb-body);
}
.ag-cards3__more {
  color: var(--cb-ink);
  font-weight: 800;
}

/* Stats */
.re-stats,
.stats-grid {
  background: var(--cb-surface-soft);
  border-radius: 10px;
}
.stat-number {
  color: var(--cb-ink);
  font-weight: 900;
}

.wx0z0-sa {
  background: var(--cb-surface-soft);
}

/* ── Signatuwx0z0-c vars (на body — пак ВСЕГДА побеждает шаблон) ── */
body {
  --sig-bg: var(--cb-surface-dark);
  --sig-fg: var(--cb-canvas);
}
.wx0z0-s:has(.mf-sig):nth-of-type(odd) {
  --sig-bg: var(--cb-surface-dark);
  --sig-fg: var(--cb-canvas);
}
.wx0z0-s:has(.mf-sig):nth-of-type(even) {
  --sig-bg: var(--cb-ink);
  --sig-fg: var(--cb-canvas);
}
.wx0z0-s:has(.mf-sig):nth-of-type(3n) {
  --sig-bg: var(--cb-surface-dark);
  --sig-fg: var(--cb-canvas);
}

/* ── Text contrast fix (КОМПЛЕКСНЫЙ) ─────────────────────────────────
   Перебиваем recipe-color на ВСЕХ prefix-классах текстовых элементов,
   которые могут иметь color: var(--<prefix>-text) — это часто
   light-text для dark-theme рецепта, но pack рендерит на cream/light bg.
   
   Покрывает:
   • Hero: -het (title), -hes (subtitle), -hey (eyebrow)
   • Section: -st (title), -sey (eyebrow), -ss (subtitle)
   • Cards: -c (base), -vc (value), -tc (team), -sc (service), -rc (review),
            -fqc (faq), -vlc, -stc, -prc (pricing), -slc (schedule)
   ───────────────────────────────────────────────────────────────────*/

/* Hero и section titles наследуют color от body (где пак задаёт правильный) */
[class$="-het"], [class$="-hey"], [class$="-hes"],
[class$="-st"],  [class$="-sey"], [class$="-ss"] {
  color: inherit !important;
}

/* Cards — h2/h3/h4/p внутри карточек НЕ должны быть recipe-text */
[class*="-vc"] h2, [class*="-vc"] h3, [class*="-vc"] h4, [class*="-vc"] p, [class*="-vc"] span,
[class*="-tc"] h2, [class*="-tc"] h3, [class*="-tc"] h4, [class*="-tc"] p,
[class*="-sc"] h2, [class*="-sc"] h3, [class*="-sc"] h4, [class*="-sc"] p,
[class*="-rc"] h2, [class*="-rc"] h3, [class*="-rc"] h4, [class*="-rc"] p,
[class*="-fqc"] h2, [class*="-fqc"] h3, [class*="-fqc"] h4, [class*="-fqc"] p,
[class*="-vlc"] h2, [class*="-vlc"] h3, [class*="-vlc"] p,
[class*="-stc"] h2, [class*="-stc"] h3, [class*="-stc"] p,
[class$="-c"]:not(.mf-sig) h2,
[class$="-c"]:not(.mf-sig) h3,
[class$="-c"]:not(.mf-sig) h4,
[class$="-c"]:not(.mf-sig) p,
[class~="-c"] h3, [class~="-c"] p {
  color: inherit !important;
  opacity: 1 !important;
}

/* Восстановим лёгкую полупрозрачность для body-text карточек */
[class*="-vc"] p, [class*="-tc"] p, [class*="-sc"] p, [class*="-rc"] p,
[class*="-fqc"] p, [class*="-vlc"] p, [class*="-stc"] p,
[class$="-c"]:not(.mf-sig) p {
  opacity: 0.85 !important;
}

/* ── RECIPE-PREFIX OVERRIDE (must come AFTER recipe's white-text rule) ──
   The recipe generates `.wx0z0-c { color: #f5f5f5 !important }` for the
   dark_panel motif (assumes dark bg → light text). This pack overrides
   bg to transparent (so cards inherit the cream/light section bg) — but
   the white-text rule stays, causing white-on-cream illegibility.

   The attribute selectors above ([class*="-vc"]) are too generic — they
   don't override `!important` from `.wx0z0-c`-renamed rules because the
   specificity is equal but the recipe's rule comes earlier in cascade
   order? Actually the issue is they DO match but `color: inherit` resolves
   back to the parent's `#f5f5f5 !important` color — so it's a no-op.

   Solution: use the same recipe `.re-*` selectors (which get prefix-
   renamed to `.vatt-c`, `.vatt-vc`, etc.) with EXPLICIT dark color via
   `var(--wx0z0-text)` (renamed to `var(--vatt-text)` = recipe's dark text).
   Later !important wins → cards on cream bg get dark readable text.
   ────────────────────────────────────────────────────────────────────── */
.wx0z0-c, .wx0z0-c h2, .wx0z0-c h3, .wx0z0-c h4, .wx0z0-c p, .wx0z0-c li, .wx0z0-c span, .wx0z0-c summary,
.wx0z0-vc, .wx0z0-vc h2, .wx0z0-vc h3, .wx0z0-vc h4, .wx0z0-vc p,
.wx0z0-tc, .wx0z0-tc h2, .wx0z0-tc h3, .wx0z0-tc h4, .wx0z0-tc p,
.wx0z0-rc, .wx0z0-rc h2, .wx0z0-rc h3, .wx0z0-rc h4, .wx0z0-rc p,
.wx0z0-pc, .wx0z0-pc h2, .wx0z0-pc h3, .wx0z0-pc h4, .wx0z0-pc p,
.wx0z0-fq, .wx0z0-fq h2, .wx0z0-fq h3, .wx0z0-fq h4, .wx0z0-fq p {
  color: var(--wx0z0-text) !important;
  opacity: 1 !important;
}
.wx0z0-c p, .wx0z0-c li,
.wx0z0-vc p, .wx0z0-tc p, .wx0z0-rc p, .wx0z0-pc p, .wx0z0-fq p {
  opacity: 0.85 !important;
}
