/* ═══════════════════════════════════════════════════════
   Ladenpilot Builder v4 – Complete Revamp
   ═══════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[x-cloak] { display: none !important; }

html, body { height: 100%; overflow: hidden; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    background: var(--lp-body);
    color: var(--lp-text);
    transition: background .3s, color .3s;
}

/* Text in Formularen & Beschriftungen normal markierbar (wie in einem Textprogramm) */
.field input, .field textarea,
.mini-card input, .mini-card textarea,
.modal .field--modal input,
.font-select, .font-select option {
    user-select: text;
    -webkit-user-select: text;
}
.panel__body .step-head,
.panel__body .field label,
.panel__body .sub-title,
.panel__body .auth-hint,
.modal .field--modal label,
.modal__profile-lead {
    user-select: text;
    -webkit-user-select: text;
}
button, .btn, .icon-btn, .swatch, .style-card, .ind-card,
.goal-card, .sec-row, .steps__item, .hero-tile, .bg-tile, .variant-tile,
.pkg-btn, .funnel__pkg, .funnel__step {
    user-select: none;
    -webkit-user-select: none;
}

/* ── Animation Variables ──────────────────────────── */
:root {
    --anim-fast: .15s;
    --anim-normal: .25s;
    --anim-slow: .4s;
    --ease-out: cubic-bezier(.4, 0, .2, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --ease-bounce: cubic-bezier(.68, -.55, .265, 1.55);
}

/* ── Theme Tokens ──────────────────────────────────── */
[data-lp-theme="light"] {
    --lp-body: #f5f5f0;
    --lp-panel: #ffffff;
    --lp-panel-border: #e8e5df;
    --lp-text: #1c1c1a;
    --lp-text-soft: #6b6960;
    --lp-text-faint: #a09d93;
    --lp-surface: #f7f6f3;
    --lp-surface-hover: #efede8;
    --lp-border: #e2dfd8;
    --lp-border-light: #edeae5;
    --lp-accent: #ff9f1c;
    --lp-accent-soft: #ff9f1c22;
    --lp-accent-medium: #ff9f1c55;
    --lp-danger: #dc3545;
    --lp-success: #16a34a;
    --lp-info: #3b82f6;
    --lp-input-bg: #ffffff;
    --lp-input-border: #ddd9d0;
    --lp-shadow: 0 1px 4px rgba(0,0,0,.06);
    --lp-shadow-md: 0 4px 12px rgba(0,0,0,.08);
    --lp-shadow-lg: 0 8px 24px rgba(0,0,0,.08);
    --lp-shadow-xl: 0 20px 50px rgba(0,0,0,.12);
    --lp-canvas: #eae8e2;
    --lp-overlay: rgba(0,0,0,.55);
    --lp-glass: rgba(255,255,255,.85);
    --lp-glass-border: rgba(255,255,255,.6);
}
[data-lp-theme="dark"] {
    --lp-body: #111110;
    --lp-panel: #1a1a19;
    --lp-panel-border: #2a2a28;
    --lp-text: #e8e5df;
    --lp-text-soft: #9a978f;
    --lp-text-faint: #5a5850;
    --lp-surface: #222220;
    --lp-surface-hover: #2c2c29;
    --lp-border: #333330;
    --lp-border-light: #2a2a28;
    --lp-accent: #ffb347;
    --lp-accent-soft: #ffb34722;
    --lp-accent-medium: #ffb34755;
    --lp-danger: #ef5350;
    --lp-success: #4ade80;
    --lp-info: #60a5fa;
    --lp-input-bg: #1e1e1c;
    --lp-input-border: #3a3a37;
    --lp-shadow: 0 1px 4px rgba(0,0,0,.25);
    --lp-shadow-md: 0 4px 12px rgba(0,0,0,.3);
    --lp-shadow-lg: 0 8px 24px rgba(0,0,0,.35);
    --lp-shadow-xl: 0 20px 50px rgba(0,0,0,.45);
    --lp-canvas: #151514;
    --lp-overlay: rgba(0,0,0,.7);
    --lp-glass: rgba(26,26,25,.9);
    --lp-glass-border: rgba(255,255,255,.08);
}

/* ═══════════════════════════════════════════════════════
   FUNNEL / WELCOME SCREEN
   ═══════════════════════════════════════════════════════ */

.funnel {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    background: var(--lp-body);
    overflow-y: auto;
    animation: funnelIn .6s var(--ease-out) both;
}

@keyframes funnelIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.funnel--exit {
    animation: funnelOut .5s var(--ease-out) both;
}
@keyframes funnelOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(1.03); }
}

.funnel__inner {
    max-width: 760px;
    width: 100%;
    padding: 48px 32px;
    text-align: center;
}

.funnel__logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--lp-text);
    margin-bottom: 12px;
    animation: funSlideUp .6s var(--ease-out) .1s both;
}
.funnel__logo em { font-style: normal; color: var(--lp-accent); }

.funnel__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 99px;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 28px;
    animation: funSlideUp .6s var(--ease-out) .2s both;
}

.funnel__h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--lp-text);
    margin-bottom: 14px;
    animation: funSlideUp .6s var(--ease-out) .25s both;
}
.funnel__h1 span { color: var(--lp-accent); }

.funnel__sub {
    font-size: 16px;
    color: var(--lp-text-soft);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.65;
    animation: funSlideUp .6s var(--ease-out) .35s both;
}

@keyframes funSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Funnel Steps */
.funnel__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
    animation: funSlideUp .6s var(--ease-out) .45s both;
}

.funnel__step {
    padding: 24px 16px;
    border-radius: 16px;
    background: var(--lp-panel);
    border: 1.5px solid var(--lp-border);
    transition: all var(--anim-normal) var(--ease-out);
}
.funnel__step:hover {
    border-color: var(--lp-accent);
    transform: translateY(-3px);
    box-shadow: var(--lp-shadow-md);
}

.funnel__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--lp-accent);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
}

.funnel__step-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--lp-text);
    margin-bottom: 4px;
}

.funnel__step-desc {
    font-size: 12px;
    color: var(--lp-text-soft);
    line-height: 1.5;
}

/* Funnel Package Selection */
.funnel__packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
    animation: funSlideUp .6s var(--ease-out) .55s both;
}

.funnel__pkg {
    padding: 18px 14px;
    border-radius: 14px;
    border: 2px solid var(--lp-border);
    background: var(--lp-panel);
    cursor: pointer;
    transition: all var(--anim-normal) var(--ease-out);
    text-align: center;
}
.funnel__pkg:hover {
    border-color: var(--lp-accent-medium);
    background: var(--lp-surface);
}
.funnel__pkg.is-sel {
    border-color: var(--lp-accent);
    background: var(--lp-accent-soft);
    box-shadow: 0 0 0 3px var(--lp-accent-soft);
}
.funnel__pkg-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--lp-accent);
}
.funnel__pkg strong {
    display: block;
    font-size: 14px;
    color: var(--lp-text);
    margin-bottom: 2px;
}
.funnel__pkg span {
    font-size: 11px;
    color: var(--lp-text-soft);
}

.funnel__cta {
    animation: funSlideUp .6s var(--ease-out) .65s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.funnel__cta .btn--start {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--lp-accent), #e07000);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--anim-normal) var(--ease-spring);
    box-shadow: 0 4px 24px rgba(255,159,28,.4), 0 1px 0 rgba(255,255,255,.12) inset;
    letter-spacing: -.01em;
}
.funnel__cta .btn--start:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 36px rgba(255,159,28,.5);
}
.funnel__cta .btn--start:active {
    transform: translateY(0) scale(.98);
}

.funnel__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 8px;
    animation: funSlideUp .6s var(--ease-out) .75s both;
}
.funnel__trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--lp-text-faint);
    font-weight: 500;
}
.funnel__trust-item i, .funnel__trust-item svg { color: var(--lp-success); }

/* ═══════════════════════════════════════════════════════
   TOUR / TUTORIAL SYSTEM
   ═══════════════════════════════════════════════════════ */

.tour-overlay {
    position: fixed; inset: 0; z-index: 9990;
    pointer-events: none;
}

.tour-spotlight {
    position: fixed; inset: 0; z-index: 9991;
    background: rgba(0,0,0,.6);
    transition: opacity var(--anim-normal);
    pointer-events: auto;
}
.tour-spotlight--hole {
    clip-path: var(--tour-clip, none);
    transition: clip-path var(--anim-slow) var(--ease-out);
}

.tour-tooltip {
    position: fixed;
    z-index: 9992;
    width: 320px;
    max-width: calc(100vw - 32px);
    padding: 20px;
    border-radius: 16px;
    background: var(--lp-panel);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-xl);
    pointer-events: auto;
    animation: tourTipIn .3s var(--ease-spring) both;
}
@keyframes tourTipIn {
    from { opacity: 0; transform: translateY(10px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.tour-tooltip__arrow {
    position: absolute;
    width: 12px; height: 12px;
    background: var(--lp-panel);
    border: 1px solid var(--lp-border);
    transform: rotate(45deg);
    border-right: none;
    border-bottom: none;
}
.tour-tooltip__arrow--top { top: -7px; left: 24px; }
.tour-tooltip__arrow--bottom { bottom: -7px; left: 24px; transform: rotate(225deg); }
.tour-tooltip__arrow--left { left: -7px; top: 24px; transform: rotate(-45deg); }

.tour-tooltip__step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 99px;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tour-tooltip__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 6px;
}

.tour-tooltip__text {
    font-size: 13px;
    color: var(--lp-text-soft);
    line-height: 1.55;
    margin-bottom: 16px;
}

.tour-tooltip__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tour-tooltip__skip {
    background: none;
    border: none;
    color: var(--lp-text-faint);
    font-size: 12px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    font-family: inherit;
    transition: color var(--anim-fast);
}
.tour-tooltip__skip:hover { color: var(--lp-text); }

.tour-tooltip__next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 10px;
    border: none;
    background: var(--lp-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--anim-fast);
}
.tour-tooltip__next:hover { filter: brightness(1.08); }

.tour-tooltip__dots {
    display: flex;
    gap: 4px;
}
.tour-tooltip__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--lp-border);
    transition: all var(--anim-fast);
}
.tour-tooltip__dot.is-active { background: var(--lp-accent); width: 18px; border-radius: 3px; }
.tour-tooltip__dot.is-done { background: var(--lp-success); }

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════ */

.toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--lp-panel);
    border: 1px solid var(--lp-border);
    box-shadow: var(--lp-shadow-lg), 0 0 0 1px rgba(0,0,0,.03);
    font-size: 13px;
    font-weight: 500;
    color: var(--lp-text);
    pointer-events: auto;
    animation: toastIn .35s var(--ease-spring) both;
    min-width: 240px;
    max-width: 360px;
    backdrop-filter: blur(8px);
}
.toast--exit { animation: toastOut .25s var(--ease-out) both; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(30px) scale(.95); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(40px); }
}

.toast__icon { flex-shrink: 0; }
.toast--success .toast__icon { color: var(--lp-success); }
.toast--error .toast__icon { color: var(--lp-danger); }
.toast--info .toast__icon { color: var(--lp-info); }

/* ═══════════════════════════════════════════════════════
   APP SHELL
   ═══════════════════════════════════════════════════════ */

.app {
    display: grid;
    grid-template-columns: 420px 1fr;
    height: 100vh;
    overflow: hidden;
}

/* ── Panel (Left) ──────────────────────────────────── */

.panel {
    display: flex;
    flex-direction: column;
    background: var(--lp-panel);
    border-right: 1px solid var(--lp-panel-border);
    height: 100vh;
    overflow: hidden;
}

.panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid var(--lp-border-light);
    flex-shrink: 0;
    background: var(--lp-panel);
    position: relative;
    z-index: 5;
    overflow: visible;
}

.panel__head-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--lp-text);
}
.logo em { font-style: normal; color: var(--lp-accent); }

.panel__progress-pct {
    font-size: 10px;
    font-weight: 700;
    color: var(--lp-accent);
    background: var(--lp-accent-soft);
    padding: 2px 8px;
    border-radius: 99px;
    letter-spacing: .02em;
}

.panel__actions {
    display: flex;
    gap: 2px;
    background: var(--lp-surface);
    border-radius: 10px;
    padding: 3px;
    border: 1px solid var(--lp-border-light);
}

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px;
    border-radius: 7px; border: none;
    background: transparent; cursor: pointer;
    color: var(--lp-text-soft);
    transition: all var(--anim-fast);
    position: relative;
}
.icon-btn:hover { background: var(--lp-panel); color: var(--lp-text); box-shadow: var(--lp-shadow); }
.icon-btn[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 9px;
    border-radius: 6px;
    background: var(--lp-text);
    color: var(--lp-panel);
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
}

/* ── Steps Nav ─────────────────────────────────────── */

.steps {
    display: flex; align-items: center; gap: 0;
    padding: 16px 20px 18px;
    position: relative;
    flex-shrink: 0;
    background: var(--lp-panel);
}
.steps__item {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; flex: 1;
    background: none; border: none; cursor: pointer;
    position: relative; z-index: 1;
    color: var(--lp-text-faint);
    transition: color .2s;
    padding: 0 4px;
}
.steps__item.is-active { color: var(--lp-accent); }
.steps__item.is-done { color: var(--lp-success); cursor: pointer; }
.steps__item.is-future { cursor: default; }

.steps__num {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%; font-weight: 700; font-size: 12px;
    border: 2px solid currentColor;
    background: var(--lp-panel);
    transition: all .25s var(--ease-out);
}
.steps__item.is-active .steps__num {
    background: var(--lp-accent); color: #fff; border-color: var(--lp-accent);
    box-shadow: 0 0 0 4px var(--lp-accent-soft);
}
.steps__item.is-done .steps__num {
    background: var(--lp-success); color: #fff; border-color: var(--lp-success);
    box-shadow: none;
}

.steps__label { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.steps__bar {
    position: absolute; top: 30px; left: 52px; right: 52px;
    height: 2px; background: var(--lp-border);
    z-index: 0; border-radius: 2px;
}
.steps__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lp-success), var(--lp-accent));
    border-radius: 2px; transition: width var(--anim-slow) var(--ease-out);
}

/* ── Panel Body (Scrollable) ──────────────────────── */

.panel__body {
    flex: 1; overflow-y: auto; overflow-x: hidden;
    padding: 20px 18px;
    scrollbar-width: thin;
    scrollbar-color: var(--lp-border) transparent;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
}
.panel__body::-webkit-scrollbar { width: 4px; }
.panel__body::-webkit-scrollbar-track { background: transparent; }
.panel__body::-webkit-scrollbar-thumb { background: var(--lp-border); border-radius: 4px; }

/* Step transition wrappers */
.step-panel {
    animation: stepIn var(--anim-normal) var(--ease-out) both;
}
@keyframes stepIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Panel Footer ──────────────────────────────────── */

.panel__foot {
    border-top: 1px solid var(--lp-border-light);
    padding: 0;
    flex-shrink: 0;
    background: var(--lp-panel);
}

.panel__error {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 18px;
    background: #dc354510;
    color: var(--lp-danger);
    font-size: 12px; font-weight: 600;
    border-bottom: 1px solid #dc354520;
    animation: shakeX .4s var(--ease-out);
}
@keyframes shakeX {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(2px); }
}

.progress-bar { height: 3px; background: var(--lp-border-light); }
.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lp-accent), #ffc56b);
    transition: width var(--anim-slow) var(--ease-out);
    border-radius: 0 3px 3px 0;
}

.nav-row {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 18px;
}
.nav-row__spacer { flex: 1; }

/* Auto-save indicator */
.autosave-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 500;
    color: var(--lp-text-faint);
    transition: color var(--anim-normal);
}
.autosave-indicator i, .autosave-indicator svg { color: var(--lp-success); }
.autosave-indicator--saving { color: var(--lp-accent); }

.panel__footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 11px;
}

.panel__reset button {
    display: inline-flex; align-items: center; gap: 4px;
    background: none; border: none; cursor: pointer;
    font-size: 10px; font-weight: 500; color: var(--lp-text-faint);
    font-family: inherit;
    transition: color var(--anim-fast);
    padding: 4px 0;
}
.panel__reset button:hover { color: var(--lp-danger); }

/* ── Buttons ───────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 18px;
    border-radius: 10px; border: none;
    font-size: 13px; font-weight: 600; font-family: inherit;
    cursor: pointer; transition: all .18s var(--ease-out);
    white-space: nowrap;
}
.btn--primary {
    background: var(--lp-accent); color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);
    margin-left: auto;
}
.btn--primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,.16);
}
.btn--primary:active { transform: translateY(0); filter: brightness(.97); }

.btn--submit {
    background: linear-gradient(135deg, #16a34a, #15803d); color: #fff;
    box-shadow: 0 2px 8px rgba(22,163,74,.28);
    margin-left: auto; padding: 11px 22px;
}
.btn--submit:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(22,163,74,.35); }
.btn--submit:active { transform: translateY(0); }
.btn--submit:disabled { opacity: .6; cursor: default; transform: none; filter: none; }

.btn--ghost {
    background: transparent; color: var(--lp-text-soft);
    border: 1.5px solid var(--lp-border);
}
.btn--ghost:hover { background: var(--lp-surface); color: var(--lp-text); border-color: var(--lp-text-soft); }

.btn--sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
}

/* ── Step Head ─────────────────────────────────────── */

.step-head { margin-bottom: 22px; }
.step-head h2 {
    font-size: 22px; font-weight: 700; color: var(--lp-text); margin-bottom: 5px;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -.01em;
}
.step-head p { color: var(--lp-text-soft); font-size: 13px; line-height: 1.5; }

.sub-title {
    display: flex; align-items: center; gap: 7px;
    font-size: 11px; font-weight: 700;
    color: var(--lp-text-faint);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.sub-title i, .sub-title svg { color: var(--lp-accent); flex-shrink: 0; }
.sub-title--spaced { margin-top: 28px; }
.sub-title__count {
    margin-left: auto;
    font-size: 10px; font-weight: 600;
    color: var(--lp-text-faint);
    text-transform: none;
    letter-spacing: 0;
    background: var(--lp-surface-hover);
    padding: 2px 8px;
    border-radius: 99px;
}

/* ── Template Quick-Start Banner ──────────────────── */
.template-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--lp-accent-soft) 0%, transparent 100%);
    border: 1.5px solid var(--lp-accent-medium);
    margin-bottom: 16px;
    animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--lp-accent-soft); }
    50% { box-shadow: 0 0 0 5px var(--lp-accent-soft); }
}

.template-banner__text {
    flex: 1;
}
.template-banner__text strong {
    display: block;
    font-size: 13px;
    color: var(--lp-text);
    margin-bottom: 2px;
}
.template-banner__text span {
    font-size: 11px;
    color: var(--lp-text-soft);
}
.template-banner__btn {
    padding: 7px 14px;
    border-radius: 8px;
    border: none;
    background: var(--lp-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--anim-fast);
    white-space: nowrap;
}
.template-banner__btn:hover { filter: brightness(1.1); }

/* ── Industry Cards ────────────────────────────────── */

.ind-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin-bottom: 16px;
}

.ind-card {
    position: relative;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 5px; padding: 18px 16px;
    border-radius: 14px; border: 2px solid transparent;
    color: #fff; cursor: pointer;
    text-align: left;
    transition: all .2s var(--ease-out); overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.14);
}
.ind-card::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(0,0,0,.08);
    opacity: 0;
    transition: opacity .18s;
    pointer-events: none;
}
.ind-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.ind-card:hover::before { opacity: 0; }
.ind-card.is-sel { border-color: rgba(255,255,255,.9); box-shadow: 0 0 0 3px var(--lp-accent-soft), 0 6px 20px rgba(0,0,0,.22); }

.ind-card__ico { margin-bottom: 6px; opacity: .95; }
.ind-card__label { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.ind-card__sub { font-size: 11px; opacity: .75; font-weight: 400; }

.ind-card__badge {
    position: absolute; top: 8px; right: 8px;
    width: 20px; height: 20px;
    border-radius: 50%; background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: #16a34a;
    animation: popIn .3s var(--ease-spring) both;
}
@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* Selection pulse */
.ind-card.is-sel::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    background: rgba(255,255,255,.15);
    animation: selPulse .5s ease-out;
    pointer-events: none;
}
@keyframes selPulse {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ── Goals Grid ────────────────────────────────────── */

.goal-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; margin-bottom: 12px;
}

.goal-card {
    position: relative;
    display: flex; flex-direction: column; align-items: flex-start;
    gap: 5px; padding: 14px 12px;
    border-radius: 12px;
    border: 1.5px solid var(--lp-border);
    background: var(--lp-panel);
    cursor: pointer; text-align: left;
    transition: all .18s var(--ease-out);
}
.goal-card:hover { border-color: var(--lp-accent); background: var(--lp-surface); transform: translateY(-2px); box-shadow: var(--lp-shadow-md); }
.goal-card.is-on { border-color: var(--lp-accent); background: var(--lp-accent-soft); box-shadow: 0 0 0 2px var(--lp-accent-soft); }

.goal-card__badge {
    position: absolute; top: 8px; right: 8px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--lp-accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    animation: popIn .3s var(--ease-spring) both;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}

.goal-card__ico {
    width: 34px; height: 34px; border-radius: 9px;
    background: var(--lp-surface-hover);
    display: flex; align-items: center; justify-content: center;
    color: var(--lp-accent); margin-bottom: 2px;
    transition: all var(--anim-fast);
}
.goal-card.is-on .goal-card__ico { background: var(--lp-accent); color: #fff; }

.goal-card strong { font-size: 12px; font-weight: 700; color: var(--lp-text); }
.goal-card span { font-size: 10px; color: var(--lp-text-soft); line-height: 1.4; }

/* ── Section Toggles ───────────────────────────────── */

.section-list { display: flex; flex-direction: column; gap: 5px; }

.sec-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    border-radius: 11px;
    border: 1.5px solid var(--lp-border-light);
    background: var(--lp-panel);
    cursor: pointer; transition: all .15s var(--ease-out);
    user-select: none;
}
.sec-row:hover { background: var(--lp-surface); border-color: var(--lp-border); }
.sec-row.is-on { border-color: var(--lp-accent); background: var(--lp-accent-soft); }

.sec-row__drag {
    color: var(--lp-text-faint);
    cursor: grab;
    opacity: .35;
    transition: opacity var(--anim-fast);
}
.sec-row:hover .sec-row__drag { opacity: .7; }
.sec-row__drag:active { cursor: grabbing; }

.sec-row__ico {
    width: 28px; height: 28px; border-radius: 7px;
    background: var(--lp-surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--lp-text-soft);
    transition: all .15s;
    flex-shrink: 0;
}
.sec-row.is-on .sec-row__ico { background: var(--lp-accent); color: #fff; }

.sec-row__label { flex: 1; font-size: 13px; font-weight: 500; color: var(--lp-text); }

.pill {
    width: 38px; height: 22px;
    border-radius: 99px;
    background: var(--lp-border);
    position: relative;
    transition: background .2s;
    flex-shrink: 0;
}
.pill::after {
    content: '';
    position: absolute; top: 3px; left: 3px;
    width: 16px; height: 16px;
    border-radius: 50%; background: #fff;
    transition: transform .22s var(--ease-out);
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.sec-row.is-on .pill { background: var(--lp-accent); }
.sec-row.is-on .pill::after { transform: translateX(16px); }

/* Drag state */
.sec-row.is-dragging {
    opacity: .5;
    transform: scale(.97);
}
.sec-row.drag-over {
    border-color: var(--lp-accent);
    background: var(--lp-accent-soft);
}

/* ── Form Fields ───────────────────────────────────── */

.fields { margin-top: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.field label { font-size: 11px; font-weight: 700; color: var(--lp-text-soft); letter-spacing: .03em; text-transform: uppercase; }
.req { color: var(--lp-accent); }

.field input, .field textarea, .mini-card input, .mini-card textarea {
    padding: 10px 13px;
    border-radius: 10px;
    border: 1.5px solid var(--lp-input-border);
    background: var(--lp-input-bg);
    color: var(--lp-text);
    font-size: 13px; font-family: inherit;
    outline: none; transition: border-color var(--anim-fast), box-shadow var(--anim-fast);
    resize: vertical;
}
.field input:focus, .field textarea:focus,
.mini-card input:focus, .mini-card textarea:focus {
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px var(--lp-accent-soft);
}
.field input::placeholder, .field textarea::placeholder,
.mini-card input::placeholder, .mini-card textarea::placeholder {
    color: var(--lp-text-faint);
}

.field input.is-invalid, .field textarea.is-invalid {
    border-color: var(--lp-danger);
    box-shadow: 0 0 0 3px rgba(220,53,69,.1);
}
.field__hint {
    font-size: 11px;
    color: var(--lp-danger);
    font-weight: 500;
    display: none;
}
.field__hint.is-visible { display: block; }

/* ── Style Preset Cards ────────────────────────────── */

.style-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.style-card {
    border-radius: 12px; overflow: hidden;
    border: 2px solid var(--lp-border);
    background: var(--lp-panel);
    cursor: pointer; transition: all .2s var(--ease-out);
    text-align: left;
}
.style-card:hover { border-color: var(--lp-text-soft); transform: translateY(-3px); box-shadow: var(--lp-shadow-lg); }
.style-card.is-sel {
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px var(--lp-accent-soft), var(--lp-shadow-md);
}

.style-card__preview {
    height: 88px; padding: 10px;
    display: flex; flex-direction: column; gap: 5px;
    overflow: hidden;
    position: relative;
}
.style-card__bar { display: flex; align-items: center; gap: 4px; }
.style-card__dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.style-card__h1 { height: 9px; width: 72%; background: currentColor; border-radius: 3px; opacity: .2; }
.style-card__sub { height: 5px; width: 55%; background: currentColor; border-radius: 3px; opacity: .12; }
.style-card__sub2 { height: 5px; width: 40%; background: currentColor; border-radius: 3px; opacity: .08; }
.style-card__cta { height: 12px; width: 44%; border-radius: 5px; opacity: .8; margin-top: 2px; }

.style-card__foot { padding: 8px 10px 10px; }
.style-card__foot strong { font-size: 11px; font-weight: 700; color: var(--lp-text); display: block; margin-bottom: 1px; }
.style-card__foot span { font-size: 9px; color: var(--lp-text-soft); line-height: 1.3; }

/* ── Color Swatches ────────────────────────────────── */

.swatches { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.swatch {
    width: 36px; height: 36px;
    border-radius: 10px; border: 2.5px solid transparent;
    cursor: pointer; transition: all .18s var(--ease-spring);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.08);
}
.swatch:hover { transform: scale(1.18) translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.swatch.is-sel {
    border-color: var(--lp-text);
    box-shadow: 0 0 0 3px var(--lp-accent-soft), 0 2px 8px rgba(0,0,0,.15);
    transform: scale(1.12);
}

.swatch--picker {
    display: flex; align-items: center; justify-content: center;
    background: conic-gradient(#f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00);
    cursor: pointer; position: relative; overflow: hidden;
    border-radius: 10px;
}
.swatch--picker input { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }

/* ── Font Picker (Dropdown wie Textprogramm) ───────── */

.font-picker { margin-bottom: 12px; }
.font-picker__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--lp-text-soft);
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.font-select-wrap {
    position: relative;
    width: 100%;
}
.font-select-wrap::after {
    content: '';
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border: solid var(--lp-text-soft);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: .85;
}
.font-select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 11px 40px 11px 13px;
    border-radius: 10px;
    border: 1.5px solid var(--lp-input-border);
    background: var(--lp-input-bg);
    color: var(--lp-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color var(--anim-fast), box-shadow var(--anim-fast);
}
.font-select:hover { border-color: var(--lp-text-soft); }
.font-select:focus {
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px var(--lp-accent-soft);
}

/* ── Hero Layout Tiles ─────────────────────────────── */

.hero-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }

.hero-tile {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; padding: 14px 8px 12px;
    border-radius: 11px; border: 1.5px solid var(--lp-border);
    background: var(--lp-panel); cursor: pointer;
    transition: all .18s var(--ease-out); text-align: center;
}
.hero-tile:hover { border-color: var(--lp-text-soft); transform: translateY(-2px); box-shadow: var(--lp-shadow-md); }
.hero-tile.is-sel { border-color: var(--lp-accent); background: var(--lp-accent-soft); box-shadow: 0 0 0 2px var(--lp-accent-soft); }

.hero-tile__ico { color: var(--lp-text-soft); transition: color var(--anim-fast); }
.hero-tile:hover .hero-tile__ico { color: var(--lp-text); }
.hero-tile.is-sel .hero-tile__ico { color: var(--lp-accent); }
.hero-tile span { font-size: 10px; font-weight: 600; color: var(--lp-text-soft); letter-spacing: .01em; }

/* ── Background Grid ───────────────────────────────── */

.bg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.bg-tile {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; padding: 5px; border-radius: 11px;
    border: 2px solid var(--lp-border);
    background: var(--lp-panel); cursor: pointer;
    transition: all .18s var(--ease-out);
}
.bg-tile:hover { border-color: var(--lp-text-soft); transform: translateY(-2px); box-shadow: var(--lp-shadow-md); }
.bg-tile.is-sel { border-color: var(--lp-accent); box-shadow: 0 0 0 3px var(--lp-accent-soft); }

.bg-tile__thumb {
    width: 100%; aspect-ratio: 16/10;
    border-radius: 8px;
    background-size: cover; background-position: center;
}
.bg-tile__label { font-size: 10px; font-weight: 600; color: var(--lp-text-soft); padding-bottom: 2px; }

/* ── Variant Grid (Button / Nav / Footer selectors) ── */

.variant-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }

.variant-tile {
    display: flex; flex-direction: column; align-items: center;
    gap: 5px; padding: 14px 8px 12px;
    border-radius: 12px; border: 1.5px solid var(--lp-border);
    background: var(--lp-panel); cursor: pointer;
    transition: all .18s var(--ease-out); text-align: center;
}
.variant-tile:hover { border-color: var(--lp-text-soft); transform: translateY(-2px); box-shadow: var(--lp-shadow-md); }
.variant-tile.is-sel { border-color: var(--lp-accent); background: var(--lp-accent-soft); box-shadow: 0 0 0 2px var(--lp-accent-soft); }

.variant-tile__ico { color: var(--lp-text-soft); margin-bottom: 2px; transition: color var(--anim-fast); }
.variant-tile:hover .variant-tile__ico { color: var(--lp-text); }
.variant-tile.is-sel .variant-tile__ico { color: var(--lp-accent); }
.variant-tile strong { font-size: 11px; font-weight: 700; color: var(--lp-text); }
.variant-tile span { font-size: 9px; color: var(--lp-text-soft); line-height: 1.4; }

/* ── Content Editor ────────────────────────────────── */

.content-section { margin-bottom: 24px; }
.content-section:last-child { margin-bottom: 0; }
.content-section .sub-title { margin-bottom: 10px; }

.mini-card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 12px 13px;
    border-radius: 11px;
    background: var(--lp-surface);
    border: 1.5px solid var(--lp-border-light);
    margin-bottom: 8px;
    transition: border-color var(--anim-fast), box-shadow var(--anim-fast);
}
.mini-card:focus-within { border-color: var(--lp-accent); box-shadow: 0 0 0 3px var(--lp-accent-soft); }
.mini-card__title { font-weight: 700 !important; }

/* ── Summary Card ──────────────────────────────────── */

.summary-card {
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--lp-surface), var(--lp-panel));
    border: 1.5px solid var(--lp-border);
    margin-bottom: 20px;
}
.summary-card__row {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 12px;
    color: var(--lp-text-soft);
}
.summary-card__row strong { display: block; font-size: 16px; font-weight: 700; color: var(--lp-text); letter-spacing: -.01em; }
.summary-card__row span { font-size: 12px; color: var(--lp-text-soft); }

.summary-card__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center;
    padding: 4px 11px; border-radius: 99px;
    font-size: 11px; font-weight: 700;
    background: var(--lp-accent-soft); color: var(--lp-accent);
    letter-spacing: .01em;
}
.chip--blue { background: #3b82f620; color: #2563eb; }
.chip--green { background: #16a34a18; color: #16a34a; }
[data-lp-theme="dark"] .chip--blue { color: #60a5fa; }
[data-lp-theme="dark"] .chip--green { color: #4ade80; }

/* ── Package Selection ─────────────────────────────── */

.pkg-row { display: flex; gap: 8px; margin-bottom: 20px; }

.pkg-btn {
    flex: 1; padding: 13px 10px;
    border-radius: 12px; border: 1.5px solid var(--lp-border);
    background: var(--lp-panel); cursor: pointer;
    text-align: center; transition: all .18s var(--ease-out);
    font-family: inherit;
}
.pkg-btn:hover { border-color: var(--lp-text-soft); transform: translateY(-2px); box-shadow: var(--lp-shadow-md); }
.pkg-btn.is-sel { border-color: var(--lp-accent); background: var(--lp-accent-soft); box-shadow: 0 0 0 2px var(--lp-accent-soft); }

.pkg-btn strong { display: block; font-size: 13px; font-weight: 700; color: var(--lp-text); margin-bottom: 2px; }
.pkg-btn span { font-size: 10px; color: var(--lp-text-soft); }

/* ── Auth Section ──────────────────────────────────── */

.auth-section { margin-bottom: 16px; }
.auth-hint { font-size: 12px; color: var(--lp-text-soft); margin-bottom: 12px; }
.auth-ok {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #16a34a14; color: var(--lp-success);
    font-size: 13px; font-weight: 500;
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════
   CANVAS (Right)
   ═══════════════════════════════════════════════════════ */

.canvas {
    display: flex; flex-direction: column;
    background: var(--lp-canvas);
    overflow: hidden;
}

.canvas__bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 18px;
    border-bottom: 1px solid var(--lp-border-light);
    background: var(--lp-panel);
    flex-shrink: 0;
    gap: 8px;
}

.canvas__brand {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 600;
    color: var(--lp-text-soft);
    letter-spacing: .01em;
}

.canvas__controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.device-toggle { display: flex; gap: 2px; background: var(--lp-surface); border-radius: 8px; padding: 3px; }
.device-toggle button {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 6px;
    border: none; background: transparent;
    font-size: 12px; font-weight: 500; font-family: inherit;
    color: var(--lp-text-soft); cursor: pointer;
    transition: all .15s;
}
.device-toggle button.is-active { background: var(--lp-panel); color: var(--lp-text); box-shadow: var(--lp-shadow); }

/* Zoom controls */
.zoom-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--lp-surface);
    border-radius: 8px;
    padding: 3px;
}
.zoom-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--lp-text-soft);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--anim-fast);
}
.zoom-controls button:hover { background: var(--lp-panel); color: var(--lp-text); }
.zoom-controls__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--lp-text-soft);
    min-width: 36px;
    text-align: center;
}

/* ── Viewport / Frame ──────────────────────────────── */

.viewport {
    flex: 1; display: flex;
    align-items: flex-start; justify-content: center;
    padding: 24px;
    overflow: auto;
}

.frame {
    border-radius: 14px;
    box-shadow: var(--lp-shadow-lg), 0 0 0 1px var(--lp-border-light);
    overflow: hidden;
    transition: width .35s var(--ease-out), max-width .35s var(--ease-out), transform .35s var(--ease-out);
    background: #fff;
    transform-origin: top center;
}
.frame--desktop { width: 100%; max-width: 1100px; }
.frame--mobile  { width: 390px; max-width: 390px; }

/* Fullscreen preview */
.canvas--fullscreen {
    position: fixed;
    inset: 0;
    z-index: 9000;
    animation: fadeIn .3s var(--ease-out);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   SITE PREVIEW
   ═══════════════════════════════════════════════════════ */

.site {
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    position: relative;
}

.site[data-theme="dark"] { background: #0a0a0a; color: #f0f0f0; }
.site[data-theme="light"] { background: #fdfcfa; color: #141413; }

.font-sans         { font-family: 'Inter', sans-serif; }
.font-serif        { font-family: 'Playfair Display', serif; }
.font-outfit       { font-family: 'Outfit', sans-serif; }
.font-nunito       { font-family: 'Nunito', sans-serif; }
.font-poppins      { font-family: 'Poppins', sans-serif; }
.font-montserrat   { font-family: 'Montserrat', sans-serif; }
.font-dmsans       { font-family: 'DM Sans', sans-serif; }
.font-lora         { font-family: 'Lora', serif; }
.font-raleway      { font-family: 'Raleway', sans-serif; }
.font-josefin      { font-family: 'Josefin Sans', sans-serif; }
.font-roboslab     { font-family: 'Roboto Slab', serif; }
.font-crimson      { font-family: 'Crimson Pro', serif; }
.font-manrope      { font-family: 'Manrope', sans-serif; }
.font-jakarta      { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-worksans     { font-family: 'Work Sans', sans-serif; }
.font-sora         { font-family: 'Sora', sans-serif; }
.font-ibmplex      { font-family: 'IBM Plex Sans', sans-serif; }
.font-merriweather { font-family: 'Merriweather', serif; }
.font-spectral     { font-family: 'Spectral', serif; }
.font-librebask    { font-family: 'Libre Baskerville', serif; }

.font-sans  h1, .font-sans h2, .font-sans h3       { font-family: 'Space Grotesk', sans-serif; }
.font-manrope h1, .font-manrope h2, .font-manrope h3 { font-family: 'Manrope', sans-serif; }
.font-jakarta h1, .font-jakarta h2, .font-jakarta h3 { font-family: 'Plus Jakarta Sans', sans-serif; }
.font-sora h1, .font-sora h2, .font-sora h3         { font-family: 'Sora', sans-serif; }
.font-serif h1, .font-serif h2, .font-serif h3       { font-family: 'Playfair Display', serif; }
.font-lora h1, .font-lora h2, .font-lora h3           { font-family: 'Lora', serif; }
.font-merriweather h1, .font-merriweather h2, .font-merriweather h3 { font-family: 'Merriweather', serif; }
.font-spectral h1, .font-spectral h2, .font-spectral h3 { font-family: 'Spectral', serif; }
.font-librebask h1, .font-librebask h2, .font-librebask h3 { font-family: 'Libre Baskerville', serif; }
.font-roboslab h1, .font-roboslab h2, .font-roboslab h3 { font-family: 'Roboto Slab', serif; }
.font-crimson h1, .font-crimson h2, .font-crimson h3   { font-family: 'Crimson Pro', serif; }

/* ── Nav ───────────────────────────────────────────── */

.site-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid;
    border-color: rgba(128,128,128,.12);
}
.site-brand { font-weight: 700; font-size: 15px; }
.site-links { display: flex; gap: 14px; font-size: 12px; color: inherit; opacity: .55; }
.site-links span { cursor: default; }

.site-nav--centered {
    flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.site-links--centered { justify-content: center; }

.site-nav--minimal { justify-content: center; }

.site-nav--transparent {
    background: transparent; border-bottom: none;
    position: absolute; top: 0; left: 0; right: 0; z-index: 2;
}

.site-nav--dark {
    background: #111; color: #f0f0f0;
    border-color: rgba(255,255,255,.08);
}
.site-nav--dark .site-brand { color: #fff; }
.site-nav--dark .site-links { color: #ccc; }

/* ── Buttons (site) ────────────────────────────────── */

.site-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px;
    border-radius: 8px; border: none;
    color: #fff; font-weight: 600; font-size: 13px;
    cursor: default; white-space: nowrap;
    font-family: inherit;
}
.site-btn--outline { background: transparent !important; border: 1.5px solid; }
.site-btn--inline { margin-top: 12px; }
.site-btn--block { width: 100%; justify-content: center; }

.site-btn--pill { border-radius: 99px; }
.site-btn--square { border-radius: 0; }
.site-btn--soft { border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.site-btn--outline-accent { background: transparent !important; border: 2px solid var(--accent, currentColor); color: var(--accent, currentColor) !important; }
.site-btn--shadow { box-shadow: 0 4px 14px rgba(0,0,0,.25); border-radius: 8px; }

/* ── Hero Variants ─────────────────────────────────── */

.hero-split {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 220px;
}
.hero-split__text {
    display: flex; flex-direction: column; justify-content: center;
    gap: 12px; padding: 36px 28px;
}
.hero-split__text h1 { font-size: 24px; font-weight: 700; line-height: 1.2; }
.hero-split__text p { font-size: 13px; opacity: .65; }
.hero-split__visual {
    background-size: cover; background-position: center;
    min-height: 220px;
}
.frame--mobile .hero-split { grid-template-columns: 1fr; }
.frame--mobile .hero-split__visual { min-height: 140px; }

.hero-center {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 48px 28px; gap: 12px;
    min-height: 220px;
    background-size: cover; background-position: center;
}
.hero-center h1 { font-size: 28px; font-weight: 700; line-height: 1.2; max-width: 600px; }
.hero-center p { font-size: 13px; opacity: .65; max-width: 500px; }

.hero-left {
    display: flex; flex-direction: column; justify-content: center;
    padding: 40px 28px; gap: 10px;
    min-height: 220px;
    background-size: cover; background-position: center;
}
.hero-left h1 { font-size: 26px; font-weight: 700; line-height: 1.2; max-width: 500px; }
.hero-left p { font-size: 13px; opacity: .65; max-width: 450px; }
.hero-bar { width: 48px; height: 3px; border-radius: 3px; }

.hero-minimal {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 48px 28px;
    min-height: 190px;
    background-size: cover; background-position: center;
}
.hero-minimal__h1 { font-size: 30px; font-weight: 700; line-height: 1.15; max-width: 600px; }

/* ── Sections ──────────────────────────────────────── */

.site-section {
    padding: 32px 28px;
    border-top: 1px solid rgba(128,128,128,.1);
}
.site-section small {
    display: block;
    text-transform: uppercase;
    font-size: 10px; font-weight: 600;
    letter-spacing: .1em; opacity: .4;
    margin-bottom: 4px;
}
.site-section h2 { font-size: 19px; font-weight: 700; margin-bottom: 14px; }
.site-prose { font-size: 13px; opacity: .7; max-width: 480px; line-height: 1.6; }

.site-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.site-svc {
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(128,128,128,.12);
}
.site-svc h3 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.site-svc p { font-size: 12px; opacity: .6; }

.site-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.site-gallery__item {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

.site-quote {
    font-size: 15px; font-style: italic; line-height: 1.6;
    padding: 12px 20px;
    border-left: 3px solid;
    margin-bottom: 6px; opacity: .8;
}
.site-cite { font-size: 12px; opacity: .5; display: block; margin-left: 20px; }

.site-faq { display: flex; flex-direction: column; gap: 10px; }
.site-faq__item {
    padding: 12px;
    border-radius: 8px;
    background: rgba(128,128,128,.04);
}
.site-faq__item dt { font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.site-faq__item dd { font-size: 12px; opacity: .65; }

.site-hours {
    font-family: inherit; white-space: pre-wrap;
    font-size: 13px; opacity: .75;
}

.site-map {
    display: flex; align-items: center; gap: 12px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(128,128,128,.06);
    font-size: 13px; opacity: .65;
}

.site-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.frame--mobile .site-contact { grid-template-columns: 1fr; }

.site-contact__form { display: flex; flex-direction: column; gap: 8px; }

.fake-input {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(128,128,128,.15);
    font-size: 12px; opacity: .4;
}
.fake-input--lg { min-height: 60px; }

.site-footer {
    padding: 18px 28px;
    border-top: 1px solid rgba(128,128,128,.1);
    text-align: center;
    font-size: 11px; opacity: .35;
}

.site-footer--columns {
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px;
    text-align: left; padding: 24px 28px; opacity: .55;
}
.site-footer__col {
    display: flex; flex-direction: column; gap: 4px;
}
.site-footer__col strong { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.site-footer__col span { font-size: 11px; }

.site-footer--branded {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 24px 28px; opacity: .55;
}
.site-footer__brand { font-weight: 700; font-size: 15px; }
.site-footer__social { display: flex; gap: 12px; opacity: .6; }
.site-footer__copy { font-size: 10px; opacity: .5; }

.site-footer--minimal {
    font-size: 10px; opacity: .25; padding: 12px 28px;
}

/* ═══════════════════════════════════════════════════════
   SUCCESS OVERLAY + CONFETTI
   ═══════════════════════════════════════════════════════ */

.overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--lp-overlay);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
    animation: fadeIn .3s var(--ease-out);
}
.modal {
    background: var(--lp-panel);
    border-radius: 20px; padding: 36px;
    max-width: 420px; width: 90%;
    text-align: center;
    box-shadow: var(--lp-shadow-xl);
    animation: modalIn .4s var(--ease-spring) both;
}
.modal--success { max-width: 440px; }
@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__icon { color: var(--lp-success); margin-bottom: 16px; }
.modal h2 { font-size: 20px; margin-bottom: 8px; }
.modal p { font-size: 13px; color: var(--lp-text-soft); margin-bottom: 20px; }

.modal__steps {
    display: flex; flex-direction: column; gap: 8px;
    margin-bottom: 24px; text-align: left;
}
.modal__step {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--lp-text-soft);
}
.modal__step span {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px;
    border-radius: 50%; font-size: 11px; font-weight: 700;
    background: var(--lp-success); color: #fff;
}

.modal__profile {
    text-align: left;
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border-light);
}
.modal__profile-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-text);
    margin-bottom: 6px;
}
.modal__profile-title i, .modal__profile-title svg {
    color: var(--lp-accent);
    flex-shrink: 0;
}
.modal__profile-opt {
    font-size: 10px;
    font-weight: 600;
    color: var(--lp-text-faint);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.modal__profile-req {
    font-size: 10px;
    font-weight: 700;
    color: var(--lp-danger);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.modal__profile-lead {
    font-size: 12px;
    color: var(--lp-text-soft);
    line-height: 1.45;
    margin-bottom: 12px;
}
.modal__fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.modal .field--modal {
    margin-bottom: 0;
    gap: 4px;
}
.modal .field--modal label {
    font-size: 11px;
    font-weight: 700;
    color: var(--lp-text-soft);
    text-transform: uppercase;
    letter-spacing: .03em;
}
.modal .field--modal input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1.5px solid var(--lp-input-border);
    background: var(--lp-input-bg);
    color: var(--lp-text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--anim-fast), box-shadow var(--anim-fast);
}
.modal .field--modal input:focus {
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 3px var(--lp-accent-soft);
}
.modal__field-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal__field-row > input[type="email"],
.modal__field-row .modal__cred-pw-input {
    flex: 1;
    min-width: 0;
}
.modal__cred-pw-input {
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.03em;
}
.field__hint--modal {
    margin-top: 4px;
}
.modal__cred-hint--tight {
    margin: -2px 0 8px !important;
}
.modal__error {
    font-size: 12px;
    font-weight: 600;
    color: var(--lp-danger);
    margin: -8px 0 14px;
    text-align: center;
}
.modal__btn-dash.is-disabled {
    opacity: .65;
    pointer-events: none;
    cursor: default;
}

/* ── Success overlay v2 (modern) ───────────────────── */
.overlay--success {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.overlay--success::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 50% -10%, color-mix(in srgb, var(--lp-accent) 22%, transparent), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 100%, color-mix(in srgb, var(--lp-success) 12%, transparent), transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.overlay--success > .modal {
    position: relative;
    z-index: 1;
}

.modal--success-v2 {
    max-width: 460px;
    padding: 0;
    text-align: left;
    border-radius: 24px;
    background: color-mix(in srgb, var(--lp-panel) 92%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid color-mix(in srgb, var(--lp-border) 70%, transparent);
    box-shadow:
        var(--lp-shadow-xl),
        0 0 0 1px color-mix(in srgb, var(--lp-accent) 8%, transparent) inset,
        0 1px 0 color-mix(in srgb, #fff 40%, transparent) inset;
    overflow: hidden;
    animation: modalInV2 .45s var(--ease-spring) both;
}
@keyframes modalInV2 {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-v2__glow {
    position: absolute;
    top: -40%;
    left: 50%;
    width: 120%;
    height: 70%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--lp-success) 25%, transparent) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.modal-v2__head {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 28px 20px;
}

.modal-v2__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 20px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--lp-success) 18%, var(--lp-surface)), var(--lp-surface));
    border: 1px solid color-mix(in srgb, var(--lp-success) 28%, var(--lp-border-light));
    color: var(--lp-success);
    box-shadow: 0 8px 28px color-mix(in srgb, var(--lp-success) 18%, transparent);
}
.modal-v2__icon-wrap svg { flex-shrink: 0; }

.modal-v2__icon-wrap--upload {
    color: var(--lp-accent);
    background: linear-gradient(145deg, color-mix(in srgb, var(--lp-accent) 20%, var(--lp-surface)), var(--lp-surface));
    border-color: color-mix(in srgb, var(--lp-accent) 35%, var(--lp-border-light));
    box-shadow: 0 8px 28px color-mix(in srgb, var(--lp-accent) 15%, transparent);
}

.modal-upload-phase,
.modal-success-phase {
    position: relative;
    z-index: 1;
}

.modal__done-summary {
    margin: 16px 24px 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.modal__done-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
}
.modal__done-k {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--lp-text-faint);
}
.modal__done-v {
    font-weight: 600;
    color: var(--lp-text);
    text-align: right;
    word-break: break-word;
}
.modal__cred--after {
    margin-top: 16px;
}

.modal.modal--success-v2 h2.modal-v2__title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lp-text);
    margin-bottom: 8px;
    text-align: center;
}

.modal.modal--success-v2 p.modal-v2__lead {
    font-size: 13px;
    line-height: 1.5;
    color: var(--lp-text-soft);
    max-width: 34em;
    margin: 0 auto;
    text-align: center;
}

.modal-v2__steps {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    padding: 0 22px 22px;
    margin: 0 12px;
    border-bottom: 1px solid var(--lp-border-light);
}

.modal-v2__step {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.modal-v2__step-n {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(180deg, var(--lp-success), color-mix(in srgb, var(--lp-success) 85%, #000));
    color: #fff;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--lp-success) 35%, transparent);
}

.modal-v2__step-t {
    font-size: 11px;
    font-weight: 600;
    color: var(--lp-text-soft);
    line-height: 1.3;
}

.modal-v2__step-sub {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--lp-text-faint);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 2px;
}

.modal-v2__step-line {
    flex: 0 0 12px;
    height: 2px;
    margin-top: 13px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lp-border), color-mix(in srgb, var(--lp-success) 45%, var(--lp-border)));
    opacity: .85;
}

.modal__cred {
    position: relative;
    z-index: 1;
    margin: 20px 24px 0;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border-light);
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.modal__cred-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--lp-text);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.modal__cred-head svg { color: var(--lp-accent); flex-shrink: 0; }

.modal__cred-hint {
    font-size: 11px;
    line-height: 1.45;
    color: var(--lp-text-faint);
    margin: -2px 0 12px;
}

.modal__cred-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.modal__cred-row:last-child { margin-bottom: 0; }

.modal__cred-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--lp-text-faint);
}

.modal__cred-val-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--lp-input-bg);
    border: 1.5px solid var(--lp-input-border);
    transition: border-color var(--anim-fast), box-shadow var(--anim-fast);
}
.modal__cred-val-wrap:focus-within {
    border-color: color-mix(in srgb, var(--lp-accent) 55%, var(--lp-input-border));
    box-shadow: 0 0 0 3px var(--lp-accent-soft);
}

.modal__cred-val {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--lp-text);
    word-break: break-all;
}

.modal__cred-val--mono {
    font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
    font-size: 12.5px;
    letter-spacing: 0.02em;
}

.modal__cred-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: var(--lp-surface-hover);
    color: var(--lp-text-soft);
    cursor: pointer;
    transition: background var(--anim-fast), color var(--anim-fast), transform .12s var(--ease-out);
}
.modal__cred-btn:hover {
    background: color-mix(in srgb, var(--lp-accent) 14%, var(--lp-surface));
    color: var(--lp-text);
}
.modal__cred-btn:active { transform: scale(.96); }

.modal__profile--in-v2 {
    margin: 20px 24px 24px;
}

.modal-v2__cta {
    margin: 0 24px 8px;
    width: calc(100% - 48px) !important;
    border-radius: 14px !important;
    padding: 12px 16px !important;
    font-weight: 600;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--lp-accent) 28%, transparent);
}

.modal-v2__secondary {
    width: calc(100% - 48px);
    margin: 0 24px 24px;
    border-radius: 14px;
    justify-content: center;
}

[data-lp-theme="dark"] .modal--success-v2 {
    box-shadow:
        var(--lp-shadow-xl),
        0 0 0 1px color-mix(in srgb, var(--lp-accent) 12%, transparent) inset;
}
[data-lp-theme="dark"] .modal-v2__icon-wrap {
    background: linear-gradient(145deg, color-mix(in srgb, var(--lp-success) 22%, transparent), var(--lp-surface));
}

/* Confetti canvas */
.confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 10001;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   KEYBOARD SHORTCUTS MODAL
   ═══════════════════════════════════════════════════════ */

.shortcuts-overlay {
    position: fixed; inset: 0; z-index: 9998;
    background: var(--lp-overlay);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
    animation: fadeIn .2s var(--ease-out);
}

.shortcuts-modal {
    background: var(--lp-panel);
    border-radius: 16px;
    padding: 28px;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--lp-shadow-xl);
    animation: modalIn .3s var(--ease-spring) both;
}
.shortcuts-modal h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--lp-text);
}
.shortcuts-modal__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.shortcuts-modal__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--lp-border-light);
    font-size: 13px;
    color: var(--lp-text-soft);
}
.shortcuts-modal__item:last-child { border-bottom: none; }
.shortcuts-modal__key {
    display: inline-flex;
    gap: 4px;
}
.shortcuts-modal__key kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--lp-surface);
    border: 1px solid var(--lp-border);
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    color: var(--lp-text);
    min-width: 26px;
}

/* ═══════════════════════════════════════════════════════
   MOBILE PREVIEW OVERLAY
   ═══════════════════════════════════════════════════════ */

.mobile-preview-overlay {
    position: fixed; inset: 0; z-index: 9500;
    background: var(--lp-canvas);
    display: flex; flex-direction: column;
    animation: fadeIn .3s var(--ease-out);
}
.mobile-preview-overlay .canvas__bar {
    flex-shrink: 0;
}
.mobile-preview-overlay .viewport {
    flex: 1;
    padding: 16px;
}

.mobile-preview-btn {
    position: fixed;
    bottom: 100px;
    right: 16px;
    z-index: 100;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 99px;
    border: none;
    background: var(--lp-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255,159,28,.4);
    transition: all var(--anim-fast);
}
.mobile-preview-btn:hover { transform: scale(1.05); }

/* ═══════════════════════════════════════════════════════
   ANIMATIONS & TRANSITIONS
   ═══════════════════════════════════════════════════════ */

[x-transition] {
    transition: opacity var(--anim-normal) ease, transform var(--anim-normal) ease;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 860px) {
    .app {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    .canvas { display: none; }
    .panel { width: 100%; max-width: 100%; }
    .mobile-preview-btn { display: flex; }
}

@media (max-width: 480px) {
    .ind-grid { grid-template-columns: 1fr; }
    .goal-grid { grid-template-columns: 1fr; }
    .style-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid { grid-template-columns: repeat(2, 1fr); }
    .bg-grid { grid-template-columns: repeat(2, 1fr); }
    .variant-grid { grid-template-columns: repeat(2, 1fr); }
    .field-row { grid-template-columns: 1fr; }
    .pkg-row { flex-direction: column; }
    .site-footer--columns { grid-template-columns: 1fr; }
    .funnel__steps { grid-template-columns: 1fr; }
    .funnel__packages { grid-template-columns: 1fr; }
    .funnel__inner { padding: 32px 20px; }
    .funnel__trust { flex-direction: column; gap: 8px; }
}

@media (max-width: 600px) {
    .funnel__steps { grid-template-columns: 1fr; gap: 10px; }
    .funnel__packages { grid-template-columns: 1fr; gap: 8px; }
}
