/* ============================================================================
 * LinkHub marketing landing — anonymous landing + about page
 *
 * Visual rules:
 *   - Generous whitespace (air sells premium)
 *   - Strong typographic hierarchy: display 56–96px → headline 32–48 → body 16–18
 *   - Subtle scroll-driven reveals + parallax on mockups
 *   - Hover effects on cards: lift + soft shadow + accent border
 *   - prefers-reduced-motion fully respected (no transforms / no animations)
 *
 * No JS scroll hijacking — marketing.js only READS scroll position.
 * ===========================================================================*/

:root {
    --mkt-bg:           #0e0e10;
    --mkt-bg-alt:       #15151a;
    --mkt-surface:      #1c1c22;
    --mkt-surface-2:    #26262e;
    --mkt-border:       rgba(255, 255, 255, 0.08);
    --mkt-border-strong:rgba(255, 255, 255, 0.18);
    --mkt-text:         #f5f5f3;
    --mkt-text-muted:   rgba(245, 245, 243, 0.65);
    --mkt-text-faint:   rgba(245, 245, 243, 0.42);
    --mkt-accent:       #e8e6df;
    --mkt-accent-strong:#ffffff;
    --mkt-radius-sm:    10px;
    --mkt-radius-md:    18px;
    --mkt-radius-lg:    28px;
    --mkt-shadow-md:    0 12px 40px rgba(0, 0, 0, 0.35);
    --mkt-shadow-lg:    0 24px 80px rgba(0, 0, 0, 0.55);
    --mkt-ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.lh-mkt {
    margin: 0;
    background: var(--mkt-bg);
    color: var(--mkt-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
.lh-mkt a:not(.lh-mkt-btn) { color: inherit; }

/* ============================================================================
 * Nav
 * ===========================================================================*/

.lh-mkt-nav {
    position: sticky;
    top: 0;
    z-index: 80;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    background: rgba(14, 14, 16, 0.62);
    border-bottom: 1px solid transparent;
    transition: background 0.35s var(--mkt-ease), border-color 0.35s var(--mkt-ease);
}
.lh-mkt-nav.is-scrolled {
    background: rgba(14, 14, 16, 0.92);
    border-bottom-color: var(--mkt-border);
}
.lh-mkt-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.lh-mkt-nav__brand img { display: block; height: 32px; width: auto; }
.lh-mkt-nav__links {
    display: flex;
    gap: 28px;
    margin-left: 16px;
}
.lh-mkt-nav__links a {
    text-decoration: none;
    color: var(--mkt-text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s var(--mkt-ease);
}
.lh-mkt-nav__links a:hover { color: var(--mkt-text); }
.lh-mkt-nav__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}
.lh-mkt-nav__login {
    text-decoration: none;
    color: var(--mkt-text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s var(--mkt-ease);
}
.lh-mkt-nav__login:hover { color: var(--mkt-text); }
@media (max-width: 700px) {
    .lh-mkt-nav__links { display: none; }
}

/* ============================================================================
 * Buttons
 * ===========================================================================*/

.lh-mkt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s var(--mkt-ease),
                background 0.2s var(--mkt-ease),
                color 0.2s var(--mkt-ease),
                border-color 0.2s var(--mkt-ease);
    white-space: nowrap;
}
.lh-mkt-btn--primary {
    background: var(--mkt-accent-strong);
    color: var(--mkt-bg);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.12);
}
.lh-mkt-btn--primary:hover {
    transform: translateY(-1px);
    background: var(--mkt-accent);
}
.lh-mkt-btn--ghost {
    background: transparent;
    color: var(--mkt-text);
    border-color: var(--mkt-border-strong);
}
.lh-mkt-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.32);
}
.lh-mkt-btn--lg { padding: 14px 28px; font-size: 15px; }
.lh-mkt-btn--block { width: 100%; }

/* ============================================================================
 * Hero
 * ===========================================================================*/

.lh-mkt-hero {
    position: relative;
    overflow: hidden;
    padding: 96px 24px 72px;
    background:
        radial-gradient(120% 70% at 50% -10%, rgba(255, 255, 255, 0.05), transparent 62%),
        linear-gradient(180deg, var(--mkt-bg-alt) 0%, var(--mkt-bg) 58%);
}
.lh-mkt-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.lh-mkt-hero__inner--narrow {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
    text-align: center;
}
.lh-mkt-hero--about { padding: 96px 24px 48px; }
.lh-mkt-hero__copy { max-width: 620px; }
.lh-mkt-hero__inner--narrow .lh-mkt-hero__copy { margin: 0 auto; }
.lh-mkt-eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--mkt-border);
    color: var(--mkt-text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.lh-mkt-headline {
    margin: 0 0 24px;
    font-size: clamp(40px, 7vw, 84px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.02;
}
.lh-mkt-headline em {
    font-style: normal;
    background: linear-gradient(135deg, #fff 0%, #c1c1bb 60%, #7d7d76 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lh-mkt-lede {
    margin: 0 0 32px;
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--mkt-text-muted);
    line-height: 1.65;
    max-width: 540px;
}
.lh-mkt-hero__inner--narrow .lh-mkt-lede { margin-left: auto; margin-right: auto; }
.lh-mkt-hero__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.lh-mkt-hero__inner--narrow .lh-mkt-hero__ctas { justify-content: center; }
.lh-mkt-hero__caption {
    margin: 0;
    font-size: 13px;
    color: var(--mkt-text-faint);
}

/* ============================================================================
 * Phone mockup (CSS only — frames an example LinkHub page)
 * ===========================================================================*/

.lh-mkt-phone {
    position: relative;
    justify-self: center;
    will-change: transform;
}
.lh-mkt-phone__frame {
    width: 300px;
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(160deg, #2a2a32, #131318);
    border-radius: 44px;
    padding: 8px;
    box-shadow: var(--mkt-shadow-lg),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset,
                0 -2px 0 rgba(0, 0, 0, 0.4) inset;
    position: relative;
}
.lh-mkt-phone__frame::before {
    /* speaker / camera notch */
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    border-radius: 16px;
    background: #050507;
    z-index: 3;
}
.lh-mkt-phone__screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1f1f25, #2a2a30);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Profile layout "hero": the profile image runs full-bleed behind name and
 * bio — the same thing HeaderConfig's `hero` layout does on a real page. */
.lh-mkt-phone__hero {
    position: relative;
    flex: 1 1 auto;
    min-height: 300px;
    overflow: hidden;
}
.lh-mkt-phone__hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lh-mkt-phone__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 12, 0) 45%, rgba(10, 10, 12, 0.45) 100%);
}
.lh-mkt-phone__hero-copy {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    z-index: 2;
    text-align: left;
}
.lh-mkt-phone__name {
    margin: 0 0 3px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
}
.lh-mkt-phone__bio {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.75);
}
/* Header images fade out towards the bottom instead of ending on a hard
 * edge — the card/screen background shows through the transparent part. */
.lh-mkt-phone__hero img,
.lh-mkt-mini__banner {
    -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.45) 80%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, 0.45) 80%, transparent 100%);
}
.lh-mkt-phone__body {
    flex: 0 0 auto;
    padding: 14px 16px 18px;
}

/* Style variant "minimal": buttons rendered as plain text links. */
.lh-mkt-phone__textlinks {
    margin: 14px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    font-size: 12px;
}
.lh-mkt-phone__textlinks span {
    color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}
.lh-mkt-mini__play {
    position: relative;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}
.lh-mkt-mini__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-left: 8px solid #1c1c1c;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}
.lh-mkt-phone__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.lh-mkt-phone__links li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.92);
    color: #1c1c1c;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}
/* Phone-mockup row icon: rounded white pill carries the link icon. SVGs
 * inherit currentColor (dark) and stay crisp at any pixel ratio — replaces
 * the old emoji icons that looked off across OS font fallbacks. */
.lh-mkt-phone__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(28, 28, 28, 0.06);
    color: #1c1c1c;
    flex: 0 0 auto;
}
.lh-mkt-phone__icon svg { display: block; width: 14px; height: 14px; }

@media (max-width: 880px) {
    .lh-mkt-hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .lh-mkt-hero__copy { margin: 0 auto; }
    .lh-mkt-lede { margin-left: auto; margin-right: auto; }
    .lh-mkt-hero__ctas { justify-content: center; }
    .lh-mkt-phone__frame { width: 260px; }
}

/* ============================================================================
 * Stats strip (sits at the bottom of the hero)
 * ===========================================================================*/

.lh-mkt-stats {
    max-width: 1200px;
    margin: 88px auto 0;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius-lg);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 2;
}
.lh-mkt-stats__item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lh-mkt-stats__item strong {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #c1c1bb 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lh-mkt-stats__item span {
    font-size: 12px;
    color: var(--mkt-text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
@media (max-width: 720px) {
    .lh-mkt-stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
}

/* ============================================================================
 * Sections
 * ===========================================================================*/

.lh-mkt-section {
    padding: 96px 24px;
    position: relative;
}
.lh-mkt-section--alt {
    background: var(--mkt-bg-alt);
    border-top: 1px solid var(--mkt-border);
    border-bottom: 1px solid var(--mkt-border);
}
.lh-mkt-section__head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}
.lh-mkt-section__head h2 {
    margin: 12px 0 16px;
    font-size: clamp(30px, 4.6vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.lh-mkt-section__head p {
    margin: 0;
    color: var(--mkt-text-muted);
    font-size: 17px;
}

/* Gradient-text emphasis inside section heads + CTA — same treatment
 * as the hero <em> so accent words pop without being too loud. */
.lh-mkt-section__head h2 em,
.lh-mkt-cta h2 em,
.lh-mkt-split__copy h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #fff 0%, #c1c1bb 60%, #7d7d76 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ============================================================================
 * Showcase — 3 sample mini pages side by side
 * ===========================================================================*/

.lh-mkt-showcase {
    padding: 96px 24px;
    overflow: hidden;
}
.lh-mkt-showcase__row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 880px) {
    .lh-mkt-showcase__row { grid-template-columns: 1fr; max-width: 360px; }
}
.lh-mkt-mini {
    display: flex;
    flex-direction: column;
    min-height: 460px;
    padding: 28px 22px;
    border-radius: var(--mkt-radius-lg);
    text-align: center;
    transition: transform 0.4s var(--mkt-ease);
}
.lh-mkt-mini:hover { transform: translateY(-6px) rotate(-0.4deg); }
.lh-mkt-mini--cream  { background: linear-gradient(180deg, #f7f5f1, #efece4); color: #1c1c1c; }
.lh-mkt-mini--noir   { background: linear-gradient(180deg, #1a1a1a, #050505); color: #fff; box-shadow: 0 12px 36px rgba(0,0,0,0.45); }
.lh-mkt-mini--mint   { background: linear-gradient(180deg, #c5e9d8, #9bd3b8); color: #0e2b21; }
/* Classic profile layout — round portrait instead of a full-width banner.
 * The builder offers both, so the row shows both. Extra top padding gives
 * the circle the breathing room the banner cards get from the bleed, and
 * the flexible margin under the bio keeps the buttons aligned with the
 * neighbouring cards. */
.lh-mkt-mini--classic { padding-top: 40px; }
.lh-mkt-mini__avatar {
    display: block;
    width: 104px;
    height: 104px;
    margin: 0 auto 16px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22), 0 10px 26px rgba(0, 0, 0, 0.35);
}
.lh-mkt-mini--classic .lh-mkt-mini__bio {
    margin-bottom: auto;
    padding-bottom: 18px;
}
.lh-mkt-mini h4 {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.lh-mkt-mini__bio {
    margin: 0 0 16px;
    font-size: 12.5px;
    color: rgba(28, 28, 28, 0.65);
}
.lh-mkt-mini__btn {
    display: block;
    width: 100%;
    padding: 9px 14px;
    margin-top: 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}
.lh-mkt-mini__btn--cream { background: #1c1c1c; color: #fff; }
.lh-mkt-mini__btn--noir  { background: #fff;    color: #1c1c1c; }
.lh-mkt-mini__btn--mint  { background: #0e7c52; color: #fff; }

/* Each example card shows a different profile layout + block mix, so the
 * row demonstrates the builder instead of repeating one design 3×. */
.lh-mkt-mini { overflow: hidden; }
.lh-mkt-mini__banner {
    display: block;
    flex: 1 1 auto;
    width: calc(100% + 44px);
    min-height: 210px;
    margin: -28px -22px 16px;
    object-fit: cover;
}
.lh-mkt-mini__form {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.lh-mkt-mini__form .lh-mkt-mini__btn {
    width: auto;
    margin-top: 0;
    padding: 9px 16px;
    white-space: nowrap;
}
.lh-mkt-mini__input {
    flex: 1 1 auto;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(28, 28, 28, 0.07);
    color: rgba(28, 28, 28, 0.5);
    font-size: 12px;
    text-align: left;
}
.lh-mkt-mini__video {
    margin-top: 10px;
    padding: 0 12px;
    height: 58px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 14px;
    font-size: 11.5px;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.66);
}
.lh-mkt-mini__vcard {
    margin-top: 10px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 14px;
    font-size: 11.5px;
    text-align: left;
    background: rgba(14, 43, 33, 0.10);
    color: rgba(14, 43, 33, 0.78);
}
.lh-mkt-mini__vcard svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* ============================================================================
 * Split sections — alternating text/visual
 * ===========================================================================*/

.lh-mkt-split {
    padding: 96px 24px;
    position: relative;
    overflow: hidden;
}
.lh-mkt-split__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 80px;
    align-items: center;
}
.lh-mkt-split--reverse .lh-mkt-split__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.lh-mkt-split--reverse .lh-mkt-split__copy { order: 2; }
.lh-mkt-split__copy { max-width: 520px; }
.lh-mkt-split__copy h2 {
    margin: 12px 0 18px;
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.lh-mkt-split__copy p {
    margin: 0 0 24px;
    color: var(--mkt-text-muted);
    font-size: 16.5px;
    line-height: 1.7;
}
.lh-mkt-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.lh-mkt-checklist li {
    position: relative;
    padding: 6px 0 6px 28px;
    color: var(--mkt-text);
    font-size: 14.5px;
}
.lh-mkt-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--mkt-border-strong);
}
.lh-mkt-checklist li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 13px;
    width: 9px;
    height: 5px;
    border-left: 2px solid var(--mkt-text);
    border-bottom: 2px solid var(--mkt-text);
    transform: rotate(-45deg);
}
@media (max-width: 880px) {
    /* Both selectors needed: `.lh-mkt-split--reverse .lh-mkt-split__inner`
     * (two classes) outranks a single-class rule, so without the second
     * line the reversed sections stay side by side on phones. */
    .lh-mkt-split__inner,
    .lh-mkt-split--reverse .lh-mkt-split__inner { grid-template-columns: 1fr; gap: 48px; }
    .lh-mkt-split--reverse .lh-mkt-split__copy { order: 0; }
}

/* ----- Mock: Editor (rail + canvas + chrome bar) ----- */
.lh-mkt-mock-editor {
    background: #15151a;
    border: 1px solid var(--mkt-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--mkt-shadow-md);
    transform: rotate(-1deg);
    transition: transform 0.6s var(--mkt-ease);
    will-change: transform;
}
.lh-mkt-mock-editor:hover { transform: rotate(0deg); }
.lh-mkt-mock-editor__chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #0e0e10;
    border-bottom: 1px solid var(--mkt-border);
}
.lh-mkt-mock-editor__chrome span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
}
.lh-mkt-mock-editor__chrome em {
    margin-left: 12px;
    font-style: normal;
    font-size: 11px;
    color: var(--mkt-text-faint);
    font-family: ui-monospace, monospace;
}
.lh-mkt-mock-editor__body {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 320px;
}
.lh-mkt-mock-editor__rail {
    padding: 14px;
    background: #18181d;
    border-right: 1px solid var(--mkt-border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lh-mkt-mock-editor__rail div {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    color: var(--mkt-text-muted);
}
.lh-mkt-mock-editor__rail div svg { flex: 0 0 auto; opacity: 0.85; }
.lh-mkt-mock-editor__rail div.is-active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--mkt-text);
}
.lh-mkt-mock-editor__canvas {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lh-mkt-mock-editor__block {
    padding: 14px 16px;
    background: #1f1f25;
    border: 1px solid var(--mkt-border);
    border-radius: 10px;
    color: var(--mkt-text);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lh-mkt-mock-editor__block--ghost {
    background: transparent;
    border-style: dashed;
    color: var(--mkt-text-faint);
}
.lh-mkt-mock-editor__pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--mkt-text-muted);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.lh-mkt-mock-editor__pill--ghost { background: transparent; border: 1px dashed var(--mkt-border-strong); }

/* ----- Mock: Theme picker ----- */
.lh-mkt-mock-theme {
    padding: 28px 26px;
    background: #15151a;
    border: 1px solid var(--mkt-border);
    border-radius: 18px;
    box-shadow: var(--mkt-shadow-md);
    transform: rotate(1deg);
    transition: transform 0.6s var(--mkt-ease);
    will-change: transform;
}
.lh-mkt-mock-theme:hover { transform: rotate(0deg); }
.lh-mkt-mock-theme__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 18px;
}
.lh-mkt-mock-theme__head strong { font-size: 14px; color: var(--mkt-text); }
.lh-mkt-mock-theme__head span { font-size: 11px; color: var(--mkt-text-faint); letter-spacing: 0.04em; }
.lh-mkt-mock-theme__swatches {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}
.lh-mkt-swatch {
    aspect-ratio: 1;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: transform 0.15s var(--mkt-ease), border-color 0.15s var(--mkt-ease);
    cursor: pointer;
}
.lh-mkt-swatch:hover { transform: scale(1.06); }
.lh-mkt-swatch.is-selected { border-color: var(--mkt-accent-strong); }
.lh-mkt-swatch--noir     { background: #1c1c1c; }
.lh-mkt-swatch--cream    { background: #f7f5f1; }
.lh-mkt-swatch--mint     { background: #c5e9d8; }
.lh-mkt-swatch--sunset   { background: linear-gradient(135deg, #ffb88c, #ff5e62); }
.lh-mkt-swatch--lavender { background: #d8c8ff; }
.lh-mkt-swatch--forest   { background: #1f4d3a; }
.lh-mkt-mock-theme__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 14px;
}
.lh-mkt-mock-theme__row label {
    color: var(--mkt-text-muted);
    font-size: 12.5px;
    letter-spacing: 0.02em;
}
.lh-mkt-mock-theme__chips { display: inline-flex; gap: 6px; }
.lh-mkt-mock-theme__chips span {
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--mkt-text-faint);
    font-size: 11.5px;
    border: 1px solid transparent;
    transition: background 0.15s var(--mkt-ease), color 0.15s var(--mkt-ease);
    cursor: pointer;
}
.lh-mkt-mock-theme__chips span.is-active {
    background: var(--mkt-text);
    color: var(--mkt-bg);
}
.lh-mkt-mock-theme__preview {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--mkt-border);
    text-align: center;
}
.lh-mkt-mock-theme__btn {
    display: inline-block;
    padding: 12px 36px;
    background: #fff;
    color: #1c1c1c;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

/* ----- Insights panel mock -----
 * Pure CSS rebuild of the admin Insights view: KPI row, daily bars, top-links
 * ranking. Bar heights/widths come from inline --h / --w custom properties on
 * each element so the markup carries the data and the stylesheet carries the
 * look. No chart library, no image. */
.lh-mkt-mock-stats {
    background: #15151a;
    border: 1px solid var(--mkt-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--mkt-shadow-md);
    transform: rotate(1deg);
    transition: transform 0.6s var(--mkt-ease);
    will-change: transform;
}
.lh-mkt-mock-stats:hover { transform: rotate(0deg); }

.lh-mkt-mock-stats__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #0e0e10;
    border-bottom: 1px solid var(--mkt-border);
}
.lh-mkt-mock-stats__bar em {
    font-style: normal;
    font-size: 12.5px;
    color: var(--mkt-text);
}
.lh-mkt-mock-stats__range {
    font-size: 11px;
    color: var(--mkt-text-faint);
    border: 1px solid var(--mkt-border);
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
}

.lh-mkt-mock-stats__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--mkt-border);
    border-bottom: 1px solid var(--mkt-border);
}
.lh-mkt-mock-stats__kpis div {
    background: #15151a;
    padding: 16px;
    text-align: center;
}
.lh-mkt-mock-stats__kpis strong {
    display: block;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--mkt-text);
}
.lh-mkt-mock-stats__kpis span {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--mkt-text-faint);
}

.lh-mkt-mock-stats__chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 132px;
    padding: 20px 16px 16px;
}
.lh-mkt-mock-stats__chart i {
    flex: 1 1 0;
    height: var(--h, 50%);
    min-height: 4px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(
        to top,
        rgba(245, 245, 243, 0.18),
        rgba(245, 245, 243, 0.55)
    );
}

.lh-mkt-mock-stats__top {
    list-style: none;
    margin: 0;
    padding: 4px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--mkt-border);
    padding-top: 16px;
}
.lh-mkt-mock-stats__top li {
    display: grid;
    grid-template-columns: 1fr 96px 34px;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--mkt-text-muted);
}
.lh-mkt-mock-stats__top i {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    position: relative;
}
.lh-mkt-mock-stats__top i::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w, 50%);
    border-radius: inherit;
    background: rgba(245, 245, 243, 0.55);
}
.lh-mkt-mock-stats__top b {
    font-weight: 600;
    font-size: 12px;
    color: var(--mkt-text);
    text-align: right;
}

@media (max-width: 640px) {
    .lh-mkt-mock-stats { transform: none; }
    .lh-mkt-mock-stats__chart { height: 104px; gap: 4px; }
    .lh-mkt-mock-stats__kpis strong { font-size: 20px; }
    .lh-mkt-mock-stats__top li { grid-template-columns: 1fr 64px 30px; }
}
/* ----- Shield illustration ----- */
.lh-mkt-shield {
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 220 / 240;
    will-change: transform;
}
.lh-mkt-shield svg { display: block; }

/* ============================================================================
 * Grid + cards
 * ===========================================================================*/

.lh-mkt-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}
.lh-mkt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lh-mkt-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
.lh-mkt-grid--secondary { margin-top: 18px; }
@media (max-width: 880px) {
    .lh-mkt-grid--3, .lh-mkt-grid--2 { grid-template-columns: 1fr; }
}

.lh-mkt-card {
    padding: 28px;
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius-md);
    transition: transform 0.25s var(--mkt-ease),
                border-color 0.25s var(--mkt-ease),
                background 0.25s var(--mkt-ease);
}
.lh-mkt-card:hover {
    transform: translateY(-4px);
    border-color: var(--mkt-border-strong);
    background: var(--mkt-surface-2);
}
.lh-mkt-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--mkt-text);
    margin-bottom: 18px;
}
.lh-mkt-card__icon svg { width: 22px; height: 22px; }
.lh-mkt-card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.lh-mkt-card p {
    margin: 0;
    color: var(--mkt-text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}
.lh-mkt-card--mini { padding: 22px; }
.lh-mkt-card--mini h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.lh-mkt-card--mini p {
    margin: 0;
    color: var(--mkt-text-muted);
    font-size: 13.5px;
    line-height: 1.55;
}

/* ============================================================================
 * Steps (How it works)
 * ===========================================================================*/

.lh-mkt-steps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}
.lh-mkt-steps li {
    padding: 32px;
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius-md);
    transition: transform 0.25s var(--mkt-ease), border-color 0.25s var(--mkt-ease);
}
.lh-mkt-steps li:hover { transform: translateY(-4px); border-color: var(--mkt-border-strong); }
.lh-mkt-step__num {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mkt-text-faint);
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.lh-mkt-steps h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.lh-mkt-steps p {
    margin: 0;
    color: var(--mkt-text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}
@media (max-width: 880px) {
    .lh-mkt-steps { grid-template-columns: 1fr; }
}

/* ============================================================================
 * Pricing cards
 * ===========================================================================*/

.lh-mkt-plan {
    position: relative;
    padding: 36px 32px;
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius-md);
    transition: transform 0.25s var(--mkt-ease), border-color 0.25s var(--mkt-ease);
}
.lh-mkt-plan:hover { transform: translateY(-4px); border-color: var(--mkt-border-strong); }
.lh-mkt-plan--featured {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border-color: var(--mkt-border-strong);
}
.lh-mkt-plan__badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 4px 10px;
    background: var(--mkt-accent-strong);
    color: var(--mkt-bg);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
}
.lh-mkt-plan h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
}
.lh-mkt-plan__price {
    margin: 0 0 24px;
    color: var(--mkt-text-muted);
    font-size: 14px;
}
.lh-mkt-plan__price strong {
    font-size: 36px;
    font-weight: 700;
    color: var(--mkt-text);
    margin-right: 8px;
    letter-spacing: -0.02em;
}
.lh-mkt-plan ul {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}
.lh-mkt-plan li {
    padding: 8px 0 8px 24px;
    color: var(--mkt-text-muted);
    font-size: 14.5px;
    border-bottom: 1px solid var(--mkt-border);
    position: relative;
}
.lh-mkt-plan li:last-child { border-bottom: 0; }
.lh-mkt-plan li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--mkt-text);
    font-weight: 700;
}
.lh-mkt-pricing-note {
    max-width: 720px;
    margin: 32px auto 0;
    text-align: center;
    color: var(--mkt-text-muted);
    font-size: 14px;
}
.lh-mkt-pricing-note a { color: var(--mkt-text); text-decoration: underline; }

/* Values */
.lh-mkt-value {
    padding: 28px;
    background: transparent;
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius-md);
    transition: border-color 0.25s var(--mkt-ease);
}
.lh-mkt-value:hover { border-color: var(--mkt-border-strong); }
.lh-mkt-value h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.lh-mkt-value p {
    margin: 0;
    color: var(--mkt-text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ============================================================================
 * About prose
 * ===========================================================================*/

.lh-mkt-prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 24px 96px;
}
.lh-mkt-prose article {
    color: var(--mkt-text-muted);
    font-size: 17px;
    line-height: 1.75;
}
.lh-mkt-prose h2 {
    margin: 56px 0 16px;
    color: var(--mkt-text);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.lh-mkt-prose h2:first-child { margin-top: 0; }
.lh-mkt-prose p { margin: 0 0 18px; }
.lh-mkt-prose strong { color: var(--mkt-text); font-weight: 600; }
.lh-mkt-prose a { color: var(--mkt-text); text-decoration: underline; }

/* ============================================================================
 * Final CTA
 * ===========================================================================*/

.lh-mkt-cta {
    padding: 96px 24px;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
        var(--mkt-bg);
}
.lh-mkt-cta__inner {
    max-width: 640px;
    margin: 0 auto;
}
.lh-mkt-cta h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.lh-mkt-cta p {
    margin: 0 0 32px;
    color: var(--mkt-text-muted);
    font-size: 17px;
}

/* ============================================================================
 * Footer
 * ===========================================================================*/

.lh-mkt-footer {
    border-top: 1px solid var(--mkt-border);
    background: var(--mkt-bg-alt);
    padding: 64px 24px 32px;
}
.lh-mkt-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    gap: 56px;
}
.lh-mkt-footer__brand img { display: block; height: 28px; margin-bottom: 12px; }
.lh-mkt-footer__brand p { margin: 0; color: var(--mkt-text-muted); font-size: 14px; }
.lh-mkt-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.lh-mkt-footer__cols h4 {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mkt-text-faint);
}
.lh-mkt-footer__cols a {
    display: block;
    padding: 4px 0;
    text-decoration: none;
    color: var(--mkt-text-muted);
    font-size: 14px;
    transition: color 0.2s var(--mkt-ease);
}
.lh-mkt-footer__cols a:hover { color: var(--mkt-text); }
.lh-mkt-footer__credit {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--mkt-border);
    text-align: center;
    color: var(--mkt-text-faint);
    font-size: 12px;
}
@media (max-width: 720px) {
    .lh-mkt-footer__inner { grid-template-columns: 1fr; gap: 32px; }
    .lh-mkt-footer__cols { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ============================================================================
 * Visitenkarten USP — front + back card mockup that anchors the section
 * highlighting LinkHub's physical-card differentiator. Standard credit-card
 * geometry (85.6 × 54 mm, ratio 1.586:1) at 1.5× scale so the cards feel
 * tangible. Front + back are shown side-by-side on wide screens and stack
 * with the back fanned out on mobile.
 * ===========================================================================*/

.lh-mkt-vcard-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    perspective: 1200px;
    padding: 24px 0;
}
.lh-mkt-vcard {
    width: 320px;
    aspect-ratio: 1.586 / 1; /* ISO 7810 ID-1 */
    display: block;
    background: #f7f5f1;
    object-fit: contain;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s var(--mkt-ease);
}
/* Both faces are <img> elements holding real CardRenderer SVGs, so the card
 * only needs placement + depth here; everything inside comes from the SVG. */
.lh-mkt-vcard--front { transform: rotate(-3deg) translateY(-8px); }
.lh-mkt-vcard--back  { transform: rotate(3deg) translateY(8px); }
.lh-mkt-vcard--back:hover,
.lh-mkt-vcard--front:hover { transform: rotate(0) translateY(0); }

@media (max-width: 880px) {
    .lh-mkt-vcard-stage { flex-direction: column; gap: 20px; }
    .lh-mkt-vcard { width: 280px; }
    .lh-mkt-vcard--front { transform: rotate(-2deg); }
    .lh-mkt-vcard--back  { transform: rotate(2deg); }
}

/* Accent variant of the eyebrow used on the headline USP section to
 * draw the eye to "what makes us different" without changing typography. */
.lh-mkt-eyebrow--accent {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
}

/* ============================================================================
 * Visitenkarten flow (4 numbered icon steps)
 * ===========================================================================*/

.lh-mkt-flow {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: vcardstep;
}
.lh-mkt-flow li {
    position: relative;
    padding: 28px 24px;
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
    border-radius: var(--mkt-radius-md);
    transition: transform 0.25s var(--mkt-ease), border-color 0.25s var(--mkt-ease);
    counter-increment: vcardstep;
}
.lh-mkt-flow li:hover { transform: translateY(-4px); border-color: var(--mkt-border-strong); }
.lh-mkt-flow li::before {
    content: '0' counter(vcardstep);
    position: absolute;
    top: 16px;
    right: 18px;
    font-size: 12px;
    font-weight: 600;
    color: var(--mkt-text-faint);
    letter-spacing: 0.06em;
}
.lh-mkt-flow__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(74, 222, 128, 0.10);
    color: #4ade80;
    margin-bottom: 16px;
}
.lh-mkt-flow h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.lh-mkt-flow p {
    margin: 0;
    color: var(--mkt-text-muted);
    font-size: 14px;
    line-height: 1.55;
}
@media (max-width: 1000px) {
    .lh-mkt-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .lh-mkt-flow { grid-template-columns: 1fr; }
}

/* ============================================================================
 * Reveal animation (driven by IntersectionObserver in marketing.js)
 * ===========================================================================*/

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--mkt-ease), transform 0.8s var(--mkt-ease);
    will-change: opacity, transform;
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================================
 * Reduced motion: kill every animation/transform/transition.
 * ===========================================================================*/

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .lh-mkt-card,
    .lh-mkt-plan,
    .lh-mkt-value,
    .lh-mkt-steps li,
    .lh-mkt-flow li,
    .lh-mkt-vcard,
    .lh-mkt-btn { transition: none !important; }
    .lh-mkt-card:hover,
    .lh-mkt-plan:hover,
    .lh-mkt-value:hover,
    .lh-mkt-steps li:hover,
    .lh-mkt-flow li:hover,
    .lh-mkt-vcard:hover,
    .lh-mkt-btn--primary:hover { transform: none !important; }
    .lh-mkt-vcard--front { transform: rotate(0) !important; }
    .lh-mkt-vcard--back  { transform: rotate(0) !important; }
}
