/* recipe-engine stylesheet — generated from recipe `CleanDay — Свежий зелёный` */

:root {
    --tcwmq-primary:      #a478e9;
    --tcwmq-primary-mid:  #8658d3;
    --tcwmq-accent:       #ead249;
    --tcwmq-accent-soft:  #2f1b4b;
    --tcwmq-bg:           #0f0c1b;
    --tcwmq-bg-alt:       #1a162d;
    --tcwmq-text:         #e8e1f4;
    --tcwmq-text-mid:     #aa99ca;
    --tcwmq-surface:      #1a162d;
    --tcwmq-surface-dark: #070514;
    --tcwmq-radius-sm:    0px;
    --tcwmq-radius-md:    2px;
    --tcwmq-radius-lg:    4px;
    --tcwmq-radius-pill:  999px;
    --tcwmq-font-heading: 'Playfair Display', system-ui, -apple-system, sans-serif;
    --tcwmq-font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --tcwmq-heading-weight: 700;
    --tcwmq-heading-letter: -0.02em;
}

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

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

body {
    background:
        radial-gradient(circle 540px at 85% 18%, color-mix(in srgb, var(--tcwmq-primary) 18%, transparent) 0%, transparent 65%),
        radial-gradient(circle 420px at 10% 78%, color-mix(in srgb, var(--tcwmq-accent) 16%, transparent) 0%, transparent 65%),
        var(--tcwmq-bg);
    background-attachment: fixed;
}

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

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

.tcwmq-hei { text-align: center; max-width: 820px; }
.tcwmq-hes { margin-left: auto; margin-right: auto; }
.tcwmq-hea { justify-content: center; }
.tcwmq-hem { margin-top: 48px; }
.tcwmq-hem img { max-width: 720px; margin: 0 auto; }

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

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

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

.tcwmq-bp {
    background: transparent; color: var(--tcwmq-primary);
    padding: 10px 0; border: 0;
    border-bottom: 2px solid var(--tcwmq-primary);
    border-radius: 0; font-size: 1rem; font-weight: 700;
}
.tcwmq-bp::after {
    content: " →"; display: inline-block;
    transition: transform .22s ease;
}
.tcwmq-bp:hover { background: transparent; color: var(--tcwmq-primary-mid); border-color: var(--tcwmq-primary-mid); }
.tcwmq-bp:hover::after { transform: translateX(6px); }
.tcwmq-bg {
    background: transparent; color: var(--tcwmq-text);
    padding: 10px 0; border: 0;
    border-bottom: 2px solid color-mix(in srgb, var(--tcwmq-text) 30%, transparent);
    border-radius: 0; font-size: 1rem; font-weight: 600;
}
.tcwmq-bg::after {
    content: " →"; display: inline-block;
    transition: transform .22s ease;
    opacity: 0.7;
}
.tcwmq-bg:hover { border-color: var(--tcwmq-text); background: transparent; }
.tcwmq-bg:hover::after { transform: translateX(6px); }

.tcwmq-c {
    background: var(--tcwmq-surface-dark);
    border-radius: 4px;
    padding: 32px;
    border: 1px solid color-mix(in srgb, #ffffff 14%, transparent);
}
.tcwmq-c,
.tcwmq-c h3, .tcwmq-c h4,
.tcwmq-c p, .tcwmq-c li,
.tcwmq-c .tcwmq-ro, .tcwmq-c .tcwmq-au, .tcwmq-c .tcwmq-pr,
.tcwmq-c summary {
    color: #f5f5f5 !important;
}
.tcwmq-c p, .tcwmq-c li, .tcwmq-c .tcwmq-ro {
    opacity: 0.86;
}
.tcwmq-c li::before,
.tcwmq-c .tcwmq-str,
.tcwmq-c .tcwmq-nu {
    color: var(--tcwmq-primary) !important;
    opacity: 1;
}

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

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

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

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

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

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

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

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

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

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

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

/* Contact form */
.tcwmq-fm { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.tcwmq-fmr { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .tcwmq-fmr { grid-template-columns: 1fr; } }
.tcwmq-fm label { display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--tcwmq-text); }
.tcwmq-fm input, .tcwmq-fm textarea {
    font: inherit; font-family: var(--tcwmq-font-body);
    padding: 12px 14px;
    background: var(--tcwmq-surface);
    border: 1px solid color-mix(in srgb, var(--tcwmq-text) 20%, transparent);
    border-radius: var(--tcwmq-radius-md);
    color: var(--tcwmq-text);
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}
.tcwmq-fm input:focus, .tcwmq-fm textarea:focus {
    outline: none;
    border-color: var(--tcwmq-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tcwmq-primary) 18%, transparent);
}
.tcwmq-fm textarea { min-height: 140px; resize: vertical; }
.tcwmq-fmn { font-size: 0.85rem; color: var(--tcwmq-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. */
.tcwmq-cc {
    display: flex; flex-direction: column; gap: 6px;
    padding: 22px 24px;
    background: var(--tcwmq-bg) !important;
    border: 1px solid color-mix(in srgb, var(--tcwmq-text) 14%, transparent);
    border-radius: var(--tcwmq-radius-md);
    color: var(--tcwmq-text) !important;
}
.tcwmq-ccl {
    font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.08em; font-weight: 700;
    color: var(--tcwmq-primary) !important;
    opacity: 1 !important;
}
.tcwmq-ccv { color: var(--tcwmq-text) !important; font-weight: 600; opacity: 1 !important; }
.tcwmq-cc a { color: var(--tcwmq-text) !important; font-weight: 600; opacity: 1 !important; text-decoration: none; }
.tcwmq-cc a:hover { color: var(--tcwmq-primary) !important; text-decoration: underline; }

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

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

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

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

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

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

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

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

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

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

/* ── Mobile hamburger nav (hidden on desktop) ─────────────────────── */
.tcwmq-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%;
        right: 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(--tcwmq-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);
        right: 0;
        min-width: 220px;
        padding: 14px 18px;
        background: var(--tcwmq-bg);
        border: 1px solid color-mix(in srgb, var(--tcwmq-text) 14%, transparent);
        border-radius: 12px;
        box-shadow: 0 16px 40px color-mix(in srgb, var(--tcwmq-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(--tcwmq-text);
        font-size: 1rem;
        font-weight: 500;
        padding: 10px 6px;
        border-bottom: 1px solid color-mix(in srgb, var(--tcwmq-text) 8%, transparent);
    }
    .re-mobile-nav__panel a:last-child { border-bottom: 0; }
    .re-mobile-nav__panel a:hover { color: var(--tcwmq-primary); text-decoration: none; }
}

/* ── Phone breakpoint (≤480px) — tighten spacing & type ──────────── */
@media (max-width: 480px) {
    .tcwmq-s { padding: 56px 0; }
    .tcwmq-si { padding: 0 16px; }
    .tcwmq-sh { margin-bottom: 40px; }
    .tcwmq-hi { padding: 14px 18px; }
    .tcwmq-he { padding: 56px 0 64px; }
    .tcwmq-hei { padding: 0 16px; gap: 32px; }
    .tcwmq-g3, .tcwmq-g4 { gap: 16px; }
    .tcwmq-g2 { gap: 24px; }
    .tcwmq-sp { gap: 28px; }
    .tcwmq-c,
    .tcwmq-fq,
    .tcwmq-pc,
    .tcwmq-vc,
    .tcwmq-tc,
    .tcwmq-rc,
    .re-featutcwmq-c,
    .re-service-card { padding: 18px; }
    .tcwmq-pcf { transform: none; }
    .tcwmq-bt { padding: 12px 18px; font-size: 0.92rem; }
    .tcwmq-he__cta .tcwmq-bt,
    .tcwmq-hea .tcwmq-bt { width: 100%; max-width: 320px; }
    .tcwmq-stn { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .tcwmq-fi { padding: 48px 16px 28px; }
    .tcwmq-f__grid { grid-template-columns: 1fr; gap: 24px; }
    .tcwmq-l { padding: 48px 16px; }
    .tcwmq-lc { padding: 18px; }
    .tcwmq-a { padding: 48px 16px; }
    .tcwmq-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) {
    .tcwmq-si { padding: 0 14px; }
    .tcwmq-hi { padding: 12px 14px; }
    .tcwmq-hei { padding: 0 14px; }
    .re-mobile-nav-wrap { right: 10px; }
}

/* ── Mobile: collapse inline-styled grids (640px) ─────────────────────
   Renderers use inline `style="grid-template-columns:..."` with fixed
   pixel/fr values that overflow a 393px viewport (article-list rows,
   big_brand footer grid, etc). Below 640px we force any such grid inside
   sections and the footer to a single column. Rules use `!important`
   because inline styles otherwise beat the media query. */
@media (max-width: 640px) {
    body { overflow-x: hidden; }
    footer [style*="grid-template-columns"],
    .tcwmq-si [style*="grid-template-columns"],
    .tcwmq-s [style*="grid-template-columns"],
    .tcwmq-fi [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    /* Keep images inside collapsed grids from stretching weirdly */
    footer img, .tcwmq-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. */
    .tcwmq-s [style*="text-align:right"] { text-align: left !important; }
}
