/* recipe-engine stylesheet — generated from recipe `DustOff — Служебный оранжевый` */

:root {
    --l793-primary:      #2b5be9;
    --l793-primary-mid:  #1f45da;
    --l793-accent:       #669ef9;
    --l793-accent-soft:  #e4edff;
    --l793-bg:           #f7f7f9;
    --l793-bg-alt:       #f9fafb;
    --l793-text:         #212a35;
    --l793-text-mid:     #6d7382;
    --l793-surface:      #fafafa;
    --l793-surface-dark: #12182a;
    --l793-radius-sm:    6px;
    --l793-radius-md:    10px;
    --l793-radius-lg:    16px;
    --l793-radius-pill:  999px;
    --l793-font-heading: 'Merriweather', system-ui, -apple-system, sans-serif;
    --l793-font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --l793-heading-weight: 700;
    --l793-heading-letter: -0.01em;
}

*, *::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(--l793-font-body);
    color: var(--l793-text);
    background: var(--l793-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(--l793-primary); text-decoration: none; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--l793-font-heading);
    font-weight: var(--l793-heading-weight);
    letter-spacing: var(--l793-heading-letter);
    margin: 0 0 18px;
    color: var(--l793-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(--l793-text-mid); }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 6px; }

body {
    background:
        linear-gradient(180deg,
            color-mix(in srgb, var(--l793-primary) 14%, var(--l793-bg)) 0%,
            var(--l793-bg) 40%,
            var(--l793-bg) 100%);
    background-attachment: fixed;
}

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

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

.l793-hei {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
}
.l793-hec { max-width: 560px; }
@media (max-width: 960px) {
    .l793-hei { grid-template-columns: 1fr; }
}

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

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

.l793-bt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--l793-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;
}
.l793-bt:active { transform: translateY(1px) scale(0.99); }

.l793-bp {
    background: var(--l793-primary); color: #ffffff;
    padding: 14px 26px; border: 2px solid var(--l793-primary);
    border-radius: 10px;
    font-size: 0.98rem;
    overflow: hidden;
}
.l793-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;
}
.l793-bp:hover {
    background: var(--l793-primary-mid); border-color: var(--l793-primary-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--l793-primary) 55%, transparent);
}
.l793-bp:hover::before { opacity: 1; }
.l793-bg {
    background: transparent; color: var(--l793-text);
    padding: 13px 24px; border: 2px solid color-mix(in srgb, var(--l793-text) 20%, transparent);
    border-radius: 10px;
}
.l793-bg:hover {
    border-color: var(--l793-primary); color: var(--l793-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. */
.l793-c h3,
.l793-c h4,
.l793-c .l793-pch h3 {
    color: var(--l793-text);
}
.l793-c p,
.l793-c li,
.l793-c ul li,
.l793-c .l793-ro {
    color: var(--l793-text) !important;
    opacity: 0.88;
}
.l793-c li::before,
.l793-c .l793-str {
    color: var(--l793-primary) !important;
    opacity: 1;
}
/* Role/meta labels need to stay readable on dark panels */
.l793-tc .l793-ro,
.l793-rc .l793-ro,
.l793-rc .l793-au,
.l793-pc .l793-pr {
    color: var(--l793-text) !important;
    opacity: 0.95;
}
/* Force primary accent for numbering so it pops on both themes */
.l793-c .l793-nu {
    color: var(--l793-primary) !important;
    opacity: 1;
}

.l793-c {
    /* Mix text into bg for guaranteed contrast regardless of --l793-surface
       value (some recipes have surface very close to bg on dark themes). */
    background: color-mix(in srgb, var(--l793-text) 7%, var(--l793-bg));
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08),
                0 1px 3px rgba(15, 23, 42, 0.05);
    border: 1px solid color-mix(in srgb, var(--l793-text) 12%, transparent);
    transition: transform .15s ease, box-shadow .15s ease;
}
.l793-c:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

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

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

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

/* Team */
.l793-tc { text-align: center; }
.l793-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);
}
.l793-tc h3 { margin: 0 0 4px; font-size: 1.15rem; }
.l793-tc .l793-ro {
    color: var(--l793-primary);
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.08em; font-weight: 700;
    margin: 0 0 12px;
}
.l793-tc p { font-size: 0.95rem; color: var(--l793-text-mid); }

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

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

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

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

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

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

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

/* Newsletter + CTA — mix primary into bg (not accent-soft) so contrast
   with --l793-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. */
.l793-cta {
    text-align: center;
    max-width: 720px; margin: 0 auto;
    padding: 48px 36px;
    background: color-mix(in srgb, var(--l793-primary) 10%, var(--l793-bg));
    border-radius: var(--l793-radius-lg);
    border: 1px solid color-mix(in srgb, var(--l793-primary) 28%, transparent);
}
.l793-cta h2,
.l793-cta p {
    color: var(--l793-text) !important;
}
.l793-cta h2 { margin: 0 0 12px; }
.l793-cta p { margin: 0 0 24px; opacity: 0.85; }
.l793-cta .l793-bt { margin: 0 auto; }

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

/* 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. */
.l793-cc {
    display: flex; flex-direction: column; gap: 6px;
    padding: 22px 24px;
    background: var(--l793-bg) !important;
    border: 1px solid color-mix(in srgb, var(--l793-text) 14%, transparent);
    border-radius: var(--l793-radius-md);
    color: var(--l793-text) !important;
}
.l793-ccl {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.08em; font-weight: 700;
    color: var(--l793-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. */
.l793-ccv { color: var(--l793-text) !important; font-weight: 600; opacity: 1 !important; overflow-wrap: anywhere; word-break: break-word; }
.l793-cc a { color: var(--l793-text) !important; font-weight: 600; opacity: 1 !important; text-decoration: none; overflow-wrap: anywhere; word-break: break-word; }
.l793-cc a:hover { color: var(--l793-primary) !important; text-decoration: underline; }

/* Legal block in footer. Structural only — colors INHERIT from the footer
   default (`.l793-f h4` = #fff, `.l793-f a` = 80% white), which is the
   right contrast on the dark default background. Forcing `var(--l793-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. */
.l793-lgc { display: flex; flex-direction: column; }
.l793-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(--l793-font-heading, inherit);
}
.l793-lgl {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.l793-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;
}
.l793-lm a:hover { opacity: 1; }
.l793-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. */
.l793-lmi { flex-shrink: 0; color: var(--l793-primary); opacity: 0.95; }
.l793-lm a:hover .l793-lmi { opacity: 1; }

/* Footer nav column heading + inline link groups inherit `.l793-f h4`
   (#fff) and `.l793-f a` (80% white) respectively — just tune opacity and
   typographic scale here. */
.l793-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(--l793-font-heading, inherit);
}
.l793-fln { display: flex; gap: 16px; flex-wrap: wrap; }
.l793-fln a { opacity: 0.88; text-decoration: none; transition: opacity .15s ease; }
.l793-fln a:hover { opacity: 1; }
.l793-fnv { line-height: 1.6; }

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

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

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

.l793-f {
    background: var(--l793-surface-dark);
    color: color-mix(in srgb, #ffffff 85%, transparent);
    padding: 64px 0 28px;
    margin-top: 96px;
}
.l793-fi {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}
.l793-f h4 {
    color: #ffffff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 18px;
}
.l793-f p, .l793-f li, .l793-f a { color: color-mix(in srgb, #ffffff 80%, transparent); font-size: 0.92rem; }
.l793-f a { color: color-mix(in srgb, #ffffff 80%, transparent); }
.l793-f a:hover { color: #ffffff; text-decoration: none; }
.l793-f ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.l793-fb { font-family: var(--l793-font-heading); font-weight: 800; font-size: 1.2rem; color: #ffffff; margin-bottom: 14px; display: block; }
.l793-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) {
    .l793-fi { grid-template-columns: 1fr; }
}

.l793-l { max-width: 1200px; margin: 60px auto 0; padding: 0 24px; }
.l793-lg { display: flex; flex-direction: column; gap: 18px; }
.l793-lc {
    display: flex; gap: 22px; align-items: flex-start;
    padding: 22px 28px; border-radius: var(--l793-radius-lg);
    border: 1px solid color-mix(in srgb, var(--l793-text) 12%, transparent);
    border-left-width: 4px;
    background: color-mix(in srgb, var(--l793-text) 5%, var(--l793-bg));
}
.l793-lcr {
    border-left-color: #E07B39;
    background: color-mix(in srgb, #E07B39 8%, var(--l793-bg));
}
.l793-lcb {
    border-left-color: #3B82F6;
    background: color-mix(in srgb, #3B82F6 7%, var(--l793-bg));
}
.l793-li {
    flex-shrink: 0; width: 48px; height: 48px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
}
.l793-lcr .l793-li {
    background: color-mix(in srgb, #E07B39 20%, var(--l793-bg));
    color: #E07B39;
}
.l793-lcb .l793-li {
    background: color-mix(in srgb, #3B82F6 18%, var(--l793-bg));
    color: #3B82F6;
}
.l793-li svg { width: 24px; height: 24px; display: block; }
.l793-lb h3 {
    margin: 0 0 8px; font-size: 1.05rem; font-weight: 700;
    color: var(--l793-text) !important;
    font-family: var(--l793-font-heading);
}
.l793-lb p {
    margin: 0; font-size: 0.95rem; line-height: 1.6;
    color: var(--l793-text) !important; opacity: 0.85;
}
@media (max-width: 720px) {
    .l793-lc { flex-direction: column; padding: 20px; gap: 14px; }
    .l793-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(--l793-radius-lg);
    background: color-mix(in srgb, var(--l793-text) 10%, var(--l793-bg));
    border: 1px solid color-mix(in srgb, var(--l793-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(--l793-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(--l793-text); opacity: 0.92;
    font-size: 0.92rem; line-height: 1.5;
}
.re-cookie__link {
    color: var(--l793-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(--l793-font-heading, inherit);
    font-weight: 600; font-size: 0.88rem;
    padding: 10px 20px;
    border-radius: var(--l793-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(--l793-primary); color: #ffffff;
    border-color: var(--l793-primary);
}
.re-cookie__btn--accept:hover { background: var(--l793-primary-mid); border-color: var(--l793-primary-mid); }
.re-cookie__btn--ghost {
    background: transparent; color: var(--l793-text);
    border-color: color-mix(in srgb, var(--l793-text) 28%, transparent);
}
.re-cookie__btn--ghost:hover { border-color: var(--l793-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; }
}

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

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

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

/* ── Mobile hamburger nav (hidden on desktop) ─────────────────────── */
.l793-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(--l793-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(--l793-bg);
        border: 1px solid color-mix(in srgb, var(--l793-text) 14%, transparent);
        border-radius: 12px;
        box-shadow: 0 16px 40px color-mix(in srgb, var(--l793-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(--l793-text);
        font-size: 1rem;
        font-weight: 500;
        padding: 10px 6px;
        border-bottom: 1px solid color-mix(in srgb, var(--l793-text) 8%, transparent);
    }
    .re-mobile-nav__panel a:last-child { border-bottom: 0; }
    .re-mobile-nav__panel a:hover { color: var(--l793-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 .l793-hi. The
       existing `.l793-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 .l793-hi that isn't the brand or the
       hamburger wrapper. (banner_bar's promo strip is a sibling of
       .l793-hi, so it stays visible.) */
    .l793-hi > *:not(.l793-br):not(.re-mobile-nav-wrap) {
        display: none !important;
    }
    /* Some variants (centered_stack, stacked_left, editorial_tall) set
       inline `flex-direction:column` on .l793-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. */
    .l793-hi[style*="flex-direction:column"],
    .l793-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. */
    .l793-hi {
        padding-inline-end: 68px !important;
    }
    .l793-hi > .l793-br {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ── Phone breakpoint (≤480px) — tighten spacing & type ──────────── */
@media (max-width: 480px) {
    .l793-s { padding: 56px 0; }
    .l793-si { padding: 0 16px; }
    .l793-sh { margin-bottom: 40px; }
    .l793-hi { padding: 14px 18px; }
    .l793-he { padding: 56px 0 64px; }
    .l793-hei { padding: 0 16px; gap: 32px; }
    .l793-g3, .l793-g4 { gap: 16px; }
    .l793-g2 { gap: 24px; }
    .l793-sp { gap: 28px; }
    .l793-c,
    .l793-fq,
    .l793-pc,
    .l793-vc,
    .l793-tc,
    .l793-rc,
    .re-featul793-c,
    .re-service-card { padding: 18px; }
    .l793-pcf { transform: none; }
    .l793-bt { padding: 12px 18px; font-size: 0.92rem; }
    .l793-he__cta .l793-bt,
    .l793-hea .l793-bt { width: 100%; max-width: 320px; }
    .l793-stn { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .l793-fi { padding: 48px 16px 28px; }
    .l793-f__grid { grid-template-columns: 1fr; gap: 24px; }
    .l793-l { padding: 48px 16px; }
    .l793-lc { padding: 18px; }
    .l793-a { padding: 48px 16px; }
    .l793-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) {
    .l793-si { padding: 0 14px; }
    .l793-hi { padding: 12px 14px; }
    .l793-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"],
    .l793-si [style*="grid-template-columns"],
    .l793-s [style*="grid-template-columns"],
    .l793-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"],
    .l793-si [style*="display:flex"],
    .l793-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. */
    .l793-s img[style*="margin-left:-"] { margin-left: 0 !important; }
    /* Keep images inside collapsed grids from stretching weirdly */
    footer img, .l793-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. */
    .l793-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. */
    .l793-s h1[style] { font-size: clamp(1.6rem, 7vw, 2.2rem) !important; }
    .l793-s h2[style] { font-size: clamp(1.35rem, 5.5vw, 1.85rem) !important; }
    .l793-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. */
    .l793-s [style*="position:sticky"],
    .l793-s [style*="position: sticky"] {
        position: static !important;
        top: auto !important;
    }
}
