/*
 * Premium finish (owner, 21 Nov 2026: «сделать сайт дорогим»), worked through
 * the Impeccable craft floor, Emil Kowalski's motion rules, Anthropic's
 * frontend-design and Taste. Loaded after dark-site.css on every page (EN, FR,
 * ES), so it is the last word on the shared chrome; one <link> turns it off.
 *
 * What it does, in order:
 *   1. a real typeface (Geist, self-hosted, OFL) instead of whatever system
 *      font the visitor happens to have;
 *   2. the browser surfaces nobody draws: selection, focus ring, caret,
 *      scrollbar, tabular figures, balanced headings;
 *   3. header and footer: quieter links, glass header, one button language;
 *   4. the dark product-suite kit (pd-*): calmer cards and buttons, more air,
 *      tracked-out caps labels turned into plain labels;
 *   5. motion: one entrance for the hero, press feedback on buttons.
 *      Easing is one curve, ease-out; durations stay under 300 ms for UI.
 *
 * Reduce Motion (macOS): the hero still fades in (opacity and blur only,
 * nothing travels), as the how-it-works player does since landing #160.
 */

/* ── 1. Type ─────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Geist';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/geist/geist-latin-wght-normal.woff2') format('woff2-variations'),
         url('/fonts/geist/geist-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Geist';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/geist/geist-latin-ext-wght-normal.woff2') format('woff2-variations'),
         url('/fonts/geist/geist-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --pm-font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --pm-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --pm-ease: cubic-bezier(.23, 1, .32, 1);          /* strong ease-out */
    --pm-hair: rgba(255, 255, 255, .07);
    --pm-hair-2: rgba(255, 255, 255, .12);
    --pm-amber: #f59e0b;
    --pm-amber-soft: #fcd34d;
}

html, body, button, input, select, textarea { font-family: var(--pm-font); }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-feature-settings: 'kern' 1; }
code, pre, kbd, samp { font-family: var(--pm-mono); }

h1, h2, h3, h4 { text-wrap: balance; letter-spacing: -.022em; }
h1 { letter-spacing: -.035em; }
p, li, blockquote { text-wrap: pretty; }
table, .pd-table, [class*="price"], [class*="credit"] { font-variant-numeric: tabular-nums; }

/* ── 2. Browser surfaces ─────────────────────────────────────────────── */
::selection { background: rgba(245, 158, 11, .32); color: #fff; }
:root { accent-color: var(--pm-amber); caret-color: var(--pm-amber); scrollbar-color: #2a2c33 #0c0d10; }
:focus-visible { outline: 2px solid var(--pm-amber-soft); outline-offset: 3px; border-radius: 6px; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #0c0d10; }
::-webkit-scrollbar-thumb { background: #2a2c33; border: 3px solid #0c0d10; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #3a3c44; }

/* ── 3a. Header ──────────────────────────────────────────────────────── */
.site-header {
    background: rgba(12, 13, 16, .72) !important;
    border-color: var(--pm-hair) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.5) !important;
    backdrop-filter: blur(16px) saturate(1.5) !important;
}
@media (max-width: 639px) { .site-header { background: rgba(12, 13, 16, .96) !important; } }
.site-header > div a > span.font-semibold { color: #f4f4f2 !important; letter-spacing: -.01em; }
.site-header nav > a { color: #a1a3ab !important; font-weight: 500 !important; transition: color .15s ease !important; }
.site-header nav > a:hover { color: #fff !important; }
.site-header [data-menu-button] { color: #a1a3ab !important; border-color: transparent !important; transition: color .15s ease, background-color .15s ease !important; }
.site-header [data-menu-button]:hover,
.site-header [data-menu-button][aria-expanded="true"] { color: #fff !important; background: rgba(255, 255, 255, .05) !important; }
.site-header [data-menu-panel] {
    background: rgba(20, 22, 27, .96) !important; border-color: var(--pm-hair-2) !important;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02) !important;
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    transform-origin: top left;
}
.site-header a[href*="/auth/login"] { color: #d4d5da !important; border-color: var(--pm-hair-2) !important; transition: border-color .15s ease, color .15s ease !important; }
.site-header a[href*="/auth/login"]:hover { color: #fff !important; border-color: rgba(255, 255, 255, .22) !important; }

/* One button language: amber with a lit top edge, a soft amber shadow, and a
   press. Applies to the header buttons and the page CTAs that use btn-brand. */
.btn-brand, .site-header .btn-brand, .pm-cta {
    background: var(--pm-amber) !important; color: #1a1405 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px -10px rgba(245, 158, 11, .65);
    transition: background-color .15s ease, box-shadow .2s ease, transform .16s var(--pm-ease) !important;
}
@media (hover: hover) and (pointer: fine) {
    .btn-brand:hover, .site-header .btn-brand:hover, .pm-cta:hover {
        background: #fbab1f !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .35), 0 12px 32px -10px rgba(245, 158, 11, .8);
    }
}
.btn-brand:active, .pm-cta:active, .pd-btn:active, .hm-cta:active, .site-header a[href*="/auth/login"]:active { transform: scale(.97); }

/* ── 3b. Footer ──────────────────────────────────────────────────────── */
.site-footer { border-color: var(--pm-hair) !important; background: #0a0b0d !important; }
.site-footer > section { padding-top: 72px; padding-bottom: 40px; }
.site-footer h3 { font-size: 13px !important; font-weight: 500 !important; color: #f4f4f2 !important; letter-spacing: 0; }
.site-footer ul { margin-top: 16px !important; }
.site-footer ul > li + li { margin-top: 9px !important; }
.site-footer ul a { font-size: 13px; color: #7d7f88 !important; transition: color .15s ease; }
.site-footer ul a:hover { color: #f4f4f2 !important; }
.site-footer .border-t { margin-top: 48px !important; border-color: var(--pm-hair) !important; }

/* ── 4. The dark product-suite kit (pd-*) ────────────────────────────── */
.pd { --pd-line: rgba(255, 255, 255, .075); }
.pd-wrap { padding: 0 20px; }
.pd-hero { padding: 112px 0 72px; isolation: isolate; }
/* The one lit moment of the page: a soft amber light falling on the
   headline from above, and a fine grid fading out under it. */
.pd-hero::before {
    content: ''; position: absolute; z-index: -1; inset: -30% -10% auto; height: 120%; pointer-events: none;
    background: radial-gradient(50% 45% at 50% 0%, rgba(245, 158, 11, .16), rgba(245, 158, 11, .04) 55%, transparent 75%);
}
.pd-hero::after {
    content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px; background-position: center top;
    -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000 20%, transparent 75%);
            mask-image: radial-gradient(60% 70% at 50% 0%, #000 20%, transparent 75%);
}
.pd-h1 { font-weight: 650; letter-spacing: -.04em; line-height: 1.02; max-width: 880px; font-size: clamp(2.4rem, 6vw, 4.6rem); }
.pd-lead { font-size: 18px; line-height: 1.6; color: #a1a3ab; max-width: 640px; }
.pd-h2 { font-weight: 650; letter-spacing: -.03em; line-height: 1.08; font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
.pd-sub { color: #a1a3ab; }

/* Tracked-out caps labels above headings are the commonest template tell.
   They stay in the markup (62 pages) and now read as a plain quiet label. */
.pd-eyebrow, .hm-num, .section-label {
    font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important;
    color: #8b8d95 !important;
}
.pd-section { padding: 104px 0; border-top: 0; position: relative; }
.pd-section + .pd-section::before {
    content: ''; position: absolute; top: 0; left: 50%; width: min(1080px, calc(100% - 40px)); height: 1px; transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--pm-hair-2), transparent);
}
@media (max-width: 700px) { .pd-section { padding: 72px 0; } .pd-hero { padding: 80px 0 56px; } }

/* Cards: one surface, a lit top edge, no coloured outlines. The product's
   colour lives in its icon; on hover it tints the border, nothing else. */
.pd-card {
    border-color: var(--pd-line); border-radius: 18px; padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 38%), #121419;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: border-color .2s ease, transform .25s var(--pm-ease), box-shadow .25s ease;
}
.pd-card:hover { transform: none; }
@media (hover: hover) and (pointer: fine) {
    .pd-card:hover {
        transform: translateY(-2px);
        border-color: color-mix(in srgb, var(--c, #fff) 38%, rgba(255, 255, 255, .08));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 24px 48px -24px rgba(0, 0, 0, .8), 0 0 0 1px color-mix(in srgb, var(--c, #fff) 10%, transparent);
    }
}
.pd-icon { width: 44px; height: 44px; border-radius: 12px; }
.pd-where { margin-top: 18px; font-size: 12px; color: #6f717a; letter-spacing: 0; }
.pd-name { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.pd-job { color: #9a9ca4; font-size: 14.5px; }
.pd-free { font-size: 10.5px; letter-spacing: .02em; }

.pd-btn {
    border: 1px solid var(--pm-hair-2); border-radius: 10px; padding: 10px 14px;
    color: #f4f4f2 !important; background: rgba(255, 255, 255, .03);
    transition: background-color .15s ease, border-color .15s ease, transform .16s var(--pm-ease);
}
@media (hover: hover) and (pointer: fine) {
    .pd-btn:hover { background: rgba(255, 255, 255, .07); border-color: color-mix(in srgb, var(--c, #fff) 45%, rgba(255, 255, 255, .12)); }
}
.pd-table-wrap, .pd-cost, .pd-plan { border-color: var(--pd-line); }
.pd-table-wrap, .pd-cost { border-radius: 16px; background: #121419; }

/* "How it works" block under the hero, written for the light theme */
section:has(> .landing-container .howto) { border-color: transparent !important; }
.section-title { font-weight: 650 !important; letter-spacing: -.03em !important; color: #fff !important; }

/* ── 5. Motion ───────────────────────────────────────────────────────── */
/* One entrance, on load, for the hero only: the copy settles in from a
   slight blur, one line after another. Content is never hidden without it:
   no JS, and the fill only applies while the animation runs. */
@keyframes pm-rise { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } }
@keyframes pm-fade { from { opacity: 0; filter: blur(6px); } }
.pd-hero .pd-wrap > * { animation: pm-rise .8s var(--pm-ease) both; }
.pd-hero .pd-wrap > :nth-child(2) { animation-delay: .06s; }
.pd-hero .pd-wrap > :nth-child(3) { animation-delay: .12s; }
.pd-hero .pd-wrap > :nth-child(4) { animation-delay: .18s; }
.pd-hero .pd-wrap > :nth-child(5) { animation-delay: .24s; }
.pd-hero .pd-wrap > :nth-child(n+6) { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    .pd-hero .pd-wrap > * { animation-name: pm-fade; }
    .btn-brand:active, .pm-cta:active, .pd-btn:active, .hm-cta:active { transform: none; }
}

/* ── 6. Fixes found on the way ───────────────────────────────────────── */
/* landing-light.css paints the first table column navy (rgb 15 23 42) with
   !important on .theme-light pages; on the dark site that made the credits
   column of /price and the first column of comparison tables invisible. */
html.theme-light body tbody tr td:first-child,
html.theme-light body .cmp-row td:first-child,
html body .theme-light tbody tr td:first-child { color: #f4f4f2 !important; }
/* The same file turns the header white with navy text on .theme-light pages
   (/price): the logo name, Login and the language switcher were near
   invisible. The header is dark on every page now, so it wins here. */
html body header.site-header { background: rgba(12, 13, 16, .72) !important; border-color: var(--pm-hair) !important; }
@media (max-width: 639px) { html body header.site-header { background: rgba(12, 13, 16, .96) !important; } }
html body header.site-header > div a > span.font-semibold { color: #f4f4f2 !important; }
html body header.site-header nav a, html body header.site-header nav button { color: #a1a3ab !important; }
html body header.site-header nav a:hover, html body header.site-header nav button:hover { color: #fff !important; }
html body header.site-header [data-menu-panel] a, html body header.site-header [data-menu-panel] button { color: #e7e7e4 !important; }
html body header.site-header a[href*="/auth/login"] { color: #d4d5da !important; background: transparent !important; }
html body header.site-header [data-lang-button], html body header.site-header .hidden.sm\:flex > div > button { color: #a1a3ab !important; background: transparent !important; border-color: var(--pm-hair-2) !important; }
html.theme-light, html.theme-light body { background: #0c0d10 !important; }

/* ── 7. Every page (2026-11-21, second pass) ─────────────────────────── */
/* Found by a contrast sweep of all ~250 EN/ES/FR pages, blog and academy. */

/* The primary button is amber; white on amber is 2.15:1. Ink everywhere. */
html body a.btn-dark, html body button.btn-dark, html body .btn-dark { color: #1a1405 !important; }

/* Quiet text that fell under 4.5:1 on the dark site. */
html body .pd-where { color: #9a9ca4; }
html body .text-faint, html body button.vol-tick { color: #8b8d95 !important; }

/* Status and mono badges were written for white cards: dark green, brown and
   navy text on a faint tint. Light tones of the same hues on dark. */
html body .badge-status--success { color: #4ade80 !important; background: rgba(74,222,128,.10) !important; border-color: rgba(74,222,128,.28) !important; }
html body .badge-status--warning { color: #fbbf24 !important; background: rgba(251,191,36,.10) !important; border-color: rgba(251,191,36,.28) !important; }
html body .badge-status--error, html body .badge-status--danger { color: #f87171 !important; background: rgba(248,113,113,.10) !important; border-color: rgba(248,113,113,.28) !important; }
html body .badge-mono { color: #c9cad0 !important; background: rgba(255,255,255,.04) !important; border-color: var(--pm-hair-2) !important; }

/* `list-dot` is the 4px bullet; on a <ul> it painted the whole list grey and
   squeezed it to 4px wide (comparison "Sources" blocks). */
html body ul.list-dot { width: auto; height: auto; border-radius: 0; background: none; list-style: disc; padding-left: 1.25rem; text-align: left; }
html body ul.list-dot li::marker { color: #6f717a; }

/* Highlighted plan cards were filled amber with white text (1.8:1). Dark card,
   amber edge: the highlight survives, the text reads. */
html body .card[style*="background:var(--color-brand)"] {
    background: linear-gradient(180deg, rgba(245,158,11,.14), rgba(245,158,11,.04)), #14161b !important;
    border-color: rgba(245,158,11,.55) !important;
}

/* The closing "Ready to …" band was navy (#111827), the one off-palette
   surface left on 100+ pages. Same treatment as the homepage band. */
html body section.bg-brand, html body .band-ink {
    background:
        radial-gradient(60% 120% at 50% 0%, rgba(245,158,11,.16), transparent 70%),
        #101115 !important;
    border-top: 1px solid var(--pm-hair);
}
html body section.bg-brand .btn-white, html body .band-ink .btn-white {
    background: var(--pm-amber) !important; color: #1a1405 !important; border-color: var(--pm-amber) !important;
}

/* Footer and FAQ on the pages still marked .theme-light (/price in all three
   languages) came out white. */
html body footer, html body footer.site-footer { background: #0c0d10 !important; border-color: var(--pm-hair) !important; }
html.theme-light body details, html.theme-light body details.rounded-xl, html body details.border-slate-200 {
    background: #14161b !important; border-color: var(--pm-hair-2) !important; color: #c9cad0;
}
html.theme-light body details summary { color: #f4f4f2 !important; }
html.theme-light body main a:not([class*="btn"]):not(.pm-cta) { color: #fcd34d; }
html.theme-light body button.rounded-xl:not(.btn-dark):not(.btn-brand) { color: #c9cad0 !important; }

/* Phones: long URLs in <code> pushed /sales-navigator-url-converter to 465px. */
html body main code, html body .prose code { overflow-wrap: anywhere; }
@media (max-width: 639px) { html, html body { overflow-x: clip; } }

/* /es/precio and /fr/price: the hero kept its slate-50→white gradient, the
   tabs a white active pill, and the header buttons navy text. */
html body section.bg-gradient-to-b.from-slate-50,
html body .bg-gradient-to-b.from-slate-50.to-white { background-image: none !important; background-color: transparent !important; border-color: var(--pm-hair) !important; }
html body .tab-btn, html.theme-light body .tab-btn:not(.tab-active) { background: transparent !important; border-color: var(--pm-hair-2) !important; color: #c9cad0 !important; }
html body .tab-btn.tab-active, html.theme-light body .tab-btn.tab-active { background: #2a2c33 !important; border-color: #3a3d45 !important; color: #f4f4f2 !important; }
html body header.site-header button { color: #a1a3ab !important; background: transparent !important; }
html body header.site-header button:hover { color: #fff !important; }
html body header.site-header [data-menu-panel] button, html body header.site-header .bg-slate-50 { color: #e7e7e4 !important; }
html.theme-light body .faq-tab:not(.bg-slate-200) { color: #9a9ca4 !important; border-color: var(--pm-hair-2) !important; }
/* Pastel icon tiles (700+ uses) were light squares with amber icons and
   initials on them (1.1:1). Each hue becomes a dark tint with its own light
   tone, so the tiles keep their colour coding. */
html body .icon-pastel { --pm-ic: 252,211,77; background: rgba(var(--pm-ic), .10) !important; box-shadow: inset 0 0 0 1px rgba(var(--pm-ic), .22); color: rgb(var(--pm-ic)) !important; }
html body .icon-pastel > span { color: inherit !important; }
html body .icon-pastel--blue   { --pm-ic: 147,197,253; }
html body .icon-pastel--green  { --pm-ic: 134,239,172; }
html body .icon-pastel--yellow { --pm-ic: 253,224,71; }
html body .icon-pastel--orange { --pm-ic: 253,186,116; }
html body .icon-pastel--purple { --pm-ic: 196,181,253; }
html body .icon-pastel--cyan   { --pm-ic: 103,232,249; }
html body .icon-pastel--teal   { --pm-ic: 94,234,212; }
html body .icon-pastel--pink   { --pm-ic: 249,168,212; }
html body .icon-pastel--rose   { --pm-ic: 253,164,175; }
html body .icon-pastel--gray   { --pm-ic: 201,202,208; }

/* ── 8. /es/precio and /fr/price (theme-light pages) ─────────────────── */
/* The EN /price carries its own dark block inline; the ES and FR copies do
   not (and have no <main>), and landing-light.css paints their slate text navy with !important.
   html.theme-light body > :not(header) … outranks `.theme-light .text-slate-600`. */
html.theme-light body { color: #c9cad0; }
html.theme-light body > :not(header) .bg-white, html.theme-light body > :not(header) [data-plan-card],
html.theme-light body > :not(header) .rounded-2xl.border, html.theme-light body > :not(header) .rounded-xl.border { background: #14161b !important; border-color: #24262d !important; }
html.theme-light body > :not(header) section, html.theme-light body > :not(header) .bg-surface-alt, html.theme-light body > :not(header) .bg-slate-50 { background-color: transparent !important; }
html.theme-light body > :not(header) :is(h1, h2, h3, h4, strong, b, .text-slate-900, .text-slate-800, .text-primary) { color: #f4f4f2 !important; }
html.theme-light body > :not(header) :is(p, li, label, td, .text-slate-700, .text-slate-600, .text-secondary, .text-body) { color: #c9cad0 !important; }
html.theme-light body > :not(header) :is(.text-slate-500, .text-slate-400, .text-muted, .text-meta) { color: #9a9ca4 !important; }
html.theme-light body > :not(header) details > :not(summary) { color: #c9cad0 !important; }
html.theme-light body > :not(header) a.rounded-xl:not(.btn-dark):not([class*="bg-amber"]):not([class*="btn-pricing-primary"]) { color: #f4f4f2 !important; border-color: #33363e !important; }
html.theme-light body > :not(header) .border-amber-200 { background: rgba(245,158,11,.08) !important; border-color: rgba(245,158,11,.3) !important; color: #fcd34d !important; }
html.theme-light body > :not(header) .border-amber-200 * { color: inherit !important; }
html.theme-light body > :not(header) select { background: #1a1c22 !important; color: #f4f4f2 !important; border-color: #33363e !important; }
html.theme-light body footer, html.theme-light body footer.border-t { background: #0c0d10 !important; border-color: var(--pm-hair) !important; }
html.theme-light body footer :is(a, p, span, div, li) { color: #9a9ca4 !important; }
html.theme-light body footer :is(h2, h3, h4, .font-semibold) { color: #f4f4f2 !important; }
html.theme-light body > p, html.theme-light body > p.text-slate-600 { color: #9a9ca4 !important; }
html.theme-light body .bg-green-700.text-white { color: #fff !important; }

/* Older blog posts carry inline light backgrounds in their HTML (lavender
   table rows, white callout boxes) that the dark text cannot sit on. */
html body .prose :is(tr, td, th)[style*="background"] { background: transparent !important; }
html body .prose :is(div, p, section, aside, blockquote)[style*="background"] { background: #14161b !important; border-color: #24262d !important; color: #c9cad0 !important; }
html body .prose [style*="background"] :is(p, li, span, strong, b, h3, h4) { color: inherit; }
html body .bg-amber-50.text-amber-900, html body .border-amber-200.text-amber-900 { background: rgba(245,158,11,.08) !important; border-color: rgba(245,158,11,.3) !important; color: #fcd34d !important; }
html body .card [style*="color:#991b1b"], html body .card [style*="color: #991b1b"] { color: #fca5a5 !important; }

/* ── 9. Product and comparison pages in the homepage's finish ────────── */
/* (owner, 2026-11-21: «а разбор других страниц») */

/* Hero: the proof line moves under the CTA, and a real product screen sits
   in the homepage's lit window below it (_partials/pd-hero-window). */
.pm-proof { margin-top: 4px; font-size: 13.5px; color: #8b8d95; }
.pm-window {
    position: relative; margin: 64px auto 0; max-width: 1040px; padding: 6px; border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03) 40%, rgba(255,255,255,.02));
    box-shadow: 0 40px 120px -30px rgba(245,158,11,.28), 0 30px 80px -20px rgba(0,0,0,.8);
}
.pm-window::before {
    content: ''; position: absolute; z-index: -1; inset: -12% 8% 40%; pointer-events: none; filter: blur(40px);
    background: radial-gradient(closest-side, rgba(245,158,11,.22), transparent);
}
.pm-window img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-radius: 13px; }
@keyframes pm-window { from { opacity: 0; transform: perspective(1400px) rotateX(14deg) translateY(36px) scale(.97); filter: blur(8px); } }
.pd-hero .pd-wrap > .pm-window { animation: pm-window 1.1s .32s var(--pm-ease) both; }
@media (prefers-reduced-motion: reduce) { .pd-hero .pd-wrap > .pm-window { animation-name: pm-fade; } }
@media (max-width: 700px) { .pm-window { margin-top: 44px; padding: 4px; border-radius: 14px; } .pm-window img { border-radius: 10px; } }

/* One colour per headline: no single amber word (homepage rule). */
html body .pd-h1 span[style], html body .pd-h1 .text-brand, html body .pd-h1 .hm-accent,
html body h1 :is(.text-brand, .hm-accent, span[style*="--color-brand"]) { color: inherit !important; }

/* The long product titles ran to three lines at 4.6rem. */
html body .pd-h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); max-width: 22ch; margin-left: auto; margin-right: auto; }
html body .pd-lead { max-width: 40rem; margin-left: auto; margin-right: auto; color: #a1a3ab; }

/* Classic pages (comparisons, alternatives, features): the same card as the
   product grid — one surface, a lit top edge, a lift on hover. */
html body .card {
    border-radius: 16px; border-color: #1f2127;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 40%), #121419;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
    transition: border-color .2s ease, transform .25s var(--pm-ease), box-shadow .25s ease;
}
@media (hover: hover) and (pointer: fine) {
    html body a.card:hover, html body a:hover > .card {
        transform: translateY(-2px); border-color: #2c2f37;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 48px -24px rgba(0,0,0,.8);
    }
}
html body .card:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }

/* Pill eyebrows with a status dot become a quiet line of text. */
html body .inline-flex.rounded-full.border:has(> .status-dot) {
    border: 0 !important; background: none !important; padding: 0 !important; gap: 8px;
}
html body .inline-flex.rounded-full.border:has(> .status-dot) .text-meta { color: #8b8d95 !important; font-size: 14px; }

/* Headings on the classic pages: the homepage's weight and tracking. */
html body .landing-container :is(h1, h2) { font-weight: 650 !important; letter-spacing: -.03em; text-wrap: balance; }
html body .landing-container h3 { letter-spacing: -.012em; }

/* Section rhythm: a soft hairline in place of the hard full-width border. */
html body section.border-t:not(.site-proof) { border-top-color: transparent !important; position: relative; }
html body section.border-t:not(.site-proof)::before {
    content: ''; position: absolute; top: 0; left: 50%; width: min(1080px, calc(100% - 40px)); height: 1px; transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--pm-hair-2), transparent);
}

/* /products: the "Scrupp plans" bar was a solid amber slab, the loudest thing
   on the page. Dark card, amber light from the left, amber CTA. */
html body .pd-plan {
    background: radial-gradient(90% 160% at 0% 0%, rgba(245,158,11,.20), transparent 60%), #121419 !important;
    border: 1px solid rgba(245,158,11,.45) !important; color: #f4f4f2 !important; border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
html body .pd-plan h3 { color: #fff !important; font-weight: 650; }
html body .pd-plan p { color: #c9cad0 !important; }
html body .pd-plan .pd-price { color: #fff !important; font-weight: 650; }
html body .pd-plan .pd-cta { background: var(--pm-amber) !important; color: #1a1405 !important; }

/* Amber buttons always carry dark ink: the light-theme text remaps above
   (ES/FR price pages) and page link colours must not reach them. */
html.theme-light body > :not(header) .btn-brand,
html body .btn-brand, html body a.tp-buy, html body a.tp-buy:hover { color: #1a1405 !important; }
