/* =========================================================================
   Image to 3D landing pages (/image-to-3d, /convert/<slug>).
   The lp-* rules mirror the /3dgenerator landing so the funnel looks and
   behaves the same; i3d-* rules are specific to these pages.
   ========================================================================= */
:root {
    /* Read by includes/navigation-light-landing.html */
    --primary-color: #3b82f6;
    --primary-accent: #2563eb;
    --transition-speed: 0.2s;

    --lp-primary: #3b82f6;
    --lp-primary-hover: #2563eb;
    --lp-primary-ink: #1d4ed8;
    --lp-primary-soft: #eff6ff;
    --lp-primary-ring: rgba(59, 130, 246, 0.22);
    --lp-text: #111827;
    --lp-text-2: #374151;
    --lp-muted: #6b7280;
    --lp-faint: #9ca3af;
    --lp-border: #e5e7eb;
    --lp-border-strong: #d1d5db;
    --lp-bg: var(--pp-page-bg, #f5f6f8);
    --lp-card: #ffffff;
    --lp-hover: #f9fafb;
    --lp-ink: #0b1220;
    --lp-success: #10b981;
    --lp-success-soft: #ecfdf5;
    --lp-success-ink: #047857;
    --lp-star: #f59e0b;
    --lp-radius: 16px;
    --lp-radius-lg: 22px;
    --lp-radius-sm: 10px;
    --lp-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 10px 28px -14px rgba(17, 24, 39, 0.14);
    --lp-shadow-hover: 0 2px 4px rgba(17, 24, 39, 0.05), 0 16px 36px -14px rgba(17, 24, 39, 0.18);
    --lp-shadow-lg: 0 1px 2px rgba(17, 24, 39, 0.04), 0 30px 60px -24px rgba(30, 64, 175, 0.32);
}

.lp { color: var(--lp-text); background: #fff; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp section[id], .lp [id].i3d-anchor { scroll-margin-top: 88px; }

/* -------------------------------------------------------------------------
   Shared: section shell, headings, buttons, tags
   ------------------------------------------------------------------------- */
.lp-section { padding: 96px 0; }
.lp-section--tint { background: var(--lp-bg); }
/* Sections are optional per page, so tint alternates by position instead of
   being set on each one. The hero and logo strip are sections too: the first
   content section (3rd) stays white. */
.lp > section.lp-section:nth-of-type(even) { background: var(--lp-bg); }
.lp-section--line { border-top: 1px solid var(--lp-border); }
.lp-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.lp-head--left { margin-left: 0; text-align: left; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--lp-primary-hover);
}
.lp-h2 {
    margin: 0 0 14px;
    font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.625rem);
    font-weight: 700; line-height: 1.15; letter-spacing: -0.025em;
    color: var(--lp-text); text-wrap: balance;
}
.lp-lead { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--lp-muted); text-wrap: pretty; }
.lp-center-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: 40px; }
.lp-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--lp-primary-ink); text-decoration: none; }
.lp-link:hover { color: var(--lp-primary-hover); }
.lp-link i { font-size: 12px; transition: transform 0.15s ease; }
.lp-link:hover i { transform: translateX(2px); }

.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0; padding: 11px 18px;
    border: 1px solid transparent; border-radius: 12px;
    font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.lp-btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--lp-primary-ring); }
.lp-btn i { font-size: 14px; }
.lp-btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.lp-btn--primary { background: var(--lp-primary); color: #fff !important; box-shadow: 0 1px 2px rgba(37, 99, 235, 0.3), 0 8px 18px -8px rgba(37, 99, 235, 0.65); }
.lp-btn--primary:hover { background: var(--lp-primary-hover); transform: translateY(-1px); }
.lp-btn--dark { background: var(--lp-text); color: #fff !important; }
.lp-btn--dark:hover { background: #000; transform: translateY(-1px); }
.lp-btn--ghost { background: #fff; color: var(--lp-text-2) !important; border-color: var(--lp-border); }
.lp-btn--ghost:hover { background: var(--lp-hover); border-color: var(--lp-border-strong); color: var(--lp-text) !important; }
.lp-btn--outline { background: #fff; color: var(--lp-primary-ink) !important; border-color: #bfdbfe; }
.lp-btn--outline:hover { background: var(--lp-primary-soft); border-color: var(--lp-primary); }
.lp-btn--light { background: #fff; color: var(--lp-text) !important; }
.lp-btn--light:hover { background: #f3f4f6; transform: translateY(-1px); }
.lp-btn--glass { background: rgba(255, 255, 255, 0.08); color: #fff !important; border-color: rgba(255, 255, 255, 0.24); }
.lp-btn--glass:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }
.lp-btn--lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }
.lp-btn--sm { padding: 8px 12px; font-size: 13.5px; border-radius: 10px; }
.lp-btn--block { width: 100%; }

.lp-tag {
    display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px;
    font-size: 10.5px; font-weight: 800; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.lp-tag--pro { background: var(--lp-primary-soft); color: var(--lp-primary-ink); border: 1px solid #bfdbfe; }
.lp-tag--free { background: var(--lp-success-soft); color: var(--lp-success-ink); border: 1px solid #a7f3d0; }

.lp-card { background: var(--lp-card); border: 1px solid var(--lp-border); border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); }
.lp-icon {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lp-primary-soft); color: var(--lp-primary); font-size: 17px;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.lp-hero { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0 80px; background: #fff; border-bottom: 1px solid var(--lp-border); }
.lp-hero__bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(640px 440px at 88% 6%, rgba(59, 130, 246, 0.17), rgba(59, 130, 246, 0) 70%),
        radial-gradient(520px 380px at 0% 100%, rgba(139, 92, 246, 0.09), rgba(139, 92, 246, 0) 70%);
}
.lp-hero__bg::before {
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(17, 24, 39, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(17, 24, 39, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 70% 85% at 72% 18%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse 70% 85% at 72% 18%, #000 20%, transparent 75%);
}
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.lp-h1 {
    margin: 0 0 18px;
    font-size: clamp(2.25rem, 1.45rem + 2.9vw, 3.6rem);
    font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; color: var(--lp-text);
}
.lp-kicker {
    display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 20px;
    padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff;
    border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow);
    font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--lp-text-2);
}
.lp-kicker__dot {
    width: 24px; height: 24px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lp-primary-soft); color: var(--lp-primary); font-size: 11px;
}
.lp-h1__accent { color: var(--lp-primary-hover); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .lp-h1__accent {
        padding-bottom: 0.14em; margin-bottom: -0.14em;
        background: linear-gradient(92deg, #1d4ed8 0%, #3b82f6 48%, #7c3aed 100%);
        -webkit-background-clip: text; background-clip: text; color: transparent;
    }
}
.lp-hero__sub { max-width: 560px; margin: 0 0 28px; font-size: 1.1875rem; line-height: 1.6; color: var(--lp-muted); }

.i3d-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; font-size: 13px; color: var(--lp-faint); }
.i3d-crumbs a { color: var(--lp-muted); text-decoration: none; font-weight: 600; }
.i3d-crumbs a:hover { color: var(--lp-primary-ink); }
.i3d-crumbs [aria-current] { color: var(--lp-text-2); font-weight: 600; }

/* Prompt card: the visitor's image (or text) is captured here and carried
   through signup into the generator. */
.lp-prompt {
    position: relative; max-width: 620px; padding: 6px; background: #fff;
    border: 1px solid var(--lp-border); border-radius: 20px; box-shadow: var(--lp-shadow-lg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.lp-prompt:focus-within { border-color: #93c5fd; box-shadow: 0 0 0 4px var(--lp-primary-ring), var(--lp-shadow-lg); }
.lp-prompt.is-dragover { border-color: var(--lp-primary); background: var(--lp-primary-soft); }
.lp-prompt.is-nudge { animation: lp-nudge 0.35s ease; }
@keyframes lp-nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.lp-modes { display: flex; gap: 4px; padding: 4px; background: var(--lp-bg); border-radius: 14px; }
.lp-mode {
    flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent;
    color: var(--lp-muted); font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.lp-mode i { font-size: 13px; }
.lp-mode:hover { color: var(--lp-text); }
.lp-mode[aria-selected="true"] { background: #fff; color: var(--lp-text); box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08), 0 4px 10px -4px rgba(17, 24, 39, 0.16); }
.lp-mode:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--lp-primary-ring); }
.lp-panel { padding: 8px 8px 2px; }
.lp-textarea {
    display: block; width: 100%; min-height: 84px; padding: 6px 6px 0; border: 0; outline: 0; resize: none;
    background: transparent; font: inherit; font-size: 1.0625rem; line-height: 1.5; color: var(--lp-text);
}
.lp-textarea::placeholder { color: var(--lp-faint); }
.lp-ideas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 4px 8px; }
.lp-ideas__label { margin-right: 2px; font-size: 12px; font-weight: 700; color: var(--lp-faint); }
.lp-idea {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 0; padding: 5px 11px; border: 1px solid var(--lp-border); border-radius: 999px; background: #fff;
    color: var(--lp-text-2); font-size: 12.5px; font-weight: 600; cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.lp-idea:hover, .lp-idea:focus-visible { outline: none; border-color: #bfdbfe; background: var(--lp-primary-soft); color: var(--lp-primary-ink); }
.lp-idea img { width: 20px; height: 20px; margin-left: -6px; border-radius: 50%; background: var(--lp-hover); object-fit: cover; }
.lp-drop-wrap { position: relative; padding: 2px 2px 4px; }
.lp-drop {
    display: flex; align-items: center; gap: 14px; min-height: 112px; margin: 0; padding: 18px 48px 18px 18px;
    border: 1.5px dashed var(--lp-border-strong); border-radius: 14px; background: var(--lp-hover); cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.lp-drop:hover, .lp-prompt.is-dragover .lp-drop { border-color: var(--lp-primary); background: var(--lp-primary-soft); }
.lp-drop:focus-within { border-color: var(--lp-primary); }
.lp-drop__icon {
    flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: #fff; border: 1px solid var(--lp-border); color: var(--lp-primary); font-size: 20px;
}
.lp-drop__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-drop__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lp-drop__title { font-size: 15px; font-weight: 700; color: var(--lp-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-drop__hint { font-size: 13px; line-height: 1.45; color: var(--lp-muted); }
.lp-drop.is-busy .lp-drop__icon i { animation: i3d-spin 0.9s linear infinite; }
@keyframes i3d-spin { to { transform: rotate(360deg); } }
.lp-drop__clear {
    position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; padding: 0;
    border: 1px solid var(--lp-border); border-radius: 50%; background: #fff; color: var(--lp-muted);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.lp-drop__clear:hover { color: var(--lp-text); border-color: var(--lp-border-strong); }
.lp-prompt__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 2px; padding: 8px 6px 6px 12px; border-top: 1px solid var(--lp-border);
}
.lp-prompt__note { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 1.4; color: var(--lp-muted); }
.lp-prompt__note i { flex: 0 0 auto; font-size: 13px; }
.lp-prompt__note .fa-crown { color: var(--lp-star); }
.lp-prompt__note .fa-circle-check { color: var(--lp-success); }
.lp-prompt__note a { color: var(--lp-primary-ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.lp-prompt__note a:hover { color: var(--lp-primary-hover); text-decoration: underline; }
.i3d-prompt-error { display: none; margin: 4px 10px 6px; font-size: 13px; color: #b91c1c; }
.i3d-prompt-error.is-on { display: block; }

.lp-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--lp-muted); }
.lp-proof li { display: inline-flex; align-items: center; gap: 8px; }
.lp-proof i { color: var(--lp-success); font-size: 13px; }
.lp-proof strong { color: var(--lp-text); font-weight: 700; }

/* Demo window: the real input image and what PrintPal made from it */
.lp-demo { position: relative; width: 100%; max-width: 470px; margin-left: auto; }
.lp-demo__window { overflow: hidden; background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius-lg); box-shadow: var(--lp-shadow-lg); }
.lp-demo__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #fbfbfc; border-bottom: 1px solid var(--lp-border); }
.lp-demo__dots { display: flex; gap: 6px; }
.lp-demo__dots span { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.lp-demo__url {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 4px 10px;
    border: 1px solid var(--lp-border); border-radius: 8px; background: #fff;
    font-size: 12px; color: var(--lp-muted); white-space: nowrap; overflow: hidden;
}
.lp-demo__url i { font-size: 10px; color: var(--lp-faint); }
.lp-demo__body { padding: 14px; }
.lp-demo__input { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 12px; background: var(--lp-bg); font-size: 14px; font-weight: 600; color: var(--lp-text); }
.lp-demo__input img { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 9px; object-fit: cover; background: #fff; border: 1px solid var(--lp-border); }
.lp-demo__input-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-demo__arrow { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--lp-primary-ink); }
.lp-demo__stage {
    position: relative; margin-top: 12px; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; border: 1px solid var(--lp-border);
    background:
        radial-gradient(70% 60% at 50% 40%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.lp-demo__stage img { width: 100%; height: 100%; padding: 6%; object-fit: contain; display: block; }
.lp-demo__stage--photo img { padding: 0; object-fit: cover; }
.lp-demo__badge {
    position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.92); border: 1px solid var(--lp-border);
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em; color: var(--lp-text-2);
}
.lp-demo__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.lp-demo__ok { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--lp-success-ink); }
.lp-demo__fmts { display: flex; gap: 6px; }
.lp-demo__fmt { padding: 4px 8px; border-radius: 7px; background: var(--lp-hover); border: 1px solid var(--lp-border); font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em; color: var(--lp-text-2); }
.lp-demo__fmt.is-on { background: var(--lp-primary); border-color: var(--lp-primary); color: #fff; }
.lp-float {
    position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
    background: #fff; border: 1px solid var(--lp-border); border-radius: 12px; box-shadow: var(--lp-shadow-hover);
    font-size: 13px; font-weight: 700; color: var(--lp-text); white-space: nowrap;
    animation: lp-bob 6s ease-in-out infinite;
}
.lp-float i { color: var(--lp-primary); }
.lp-float--a { top: 118px; left: -40px; }
.lp-float--b { bottom: 70px; right: -26px; animation-delay: -3s; }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* -------------------------------------------------------------------------
   Trusted-by logo marquee
   ------------------------------------------------------------------------- */
.lp-logos { padding: 28px 0 22px; background: #fff; border-bottom: 1px solid var(--lp-border); }
.lp-logos__label { margin: 0 0 14px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-faint); }
.logo-marquee { position: relative; overflow: hidden; }
.logo-marquee::before, .logo-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 1; width: 96px; pointer-events: none; }
.logo-marquee::before { left: 0; background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)); }
.logo-marquee::after { right: 0; background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0)); }
.logo-marquee-track { display: flex; width: max-content; animation: pp-logo-scroll 55s linear infinite; }
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-marquee-set { display: flex; align-items: center; gap: 56px; padding: 8px 28px; }
.logo-marquee-set img { height: 28px; width: auto; max-width: 150px; object-fit: contain; opacity: 0.7; transition: opacity 0.3s; }
.logo-marquee-set img:hover { opacity: 1; }
@keyframes pp-logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* -------------------------------------------------------------------------
   Interactive viewer (real generation, orbit + color/print toggle)
   ------------------------------------------------------------------------- */
.i3d-viewer { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; }
.i3d-stage {
    position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--lp-radius-lg);
    border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow-lg); touch-action: pan-y;
    background:
        radial-gradient(60% 55% at 50% 42%, #ffffff 0%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(180deg, #f8fafc 0%, #e8edf4 100%);
}
.i3d-stage::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(17, 24, 39, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(17, 24, 39, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    -webkit-mask-image: linear-gradient(to top, #000, transparent);
            mask-image: linear-gradient(to top, #000, transparent);
}
.i3d-stage canvas { position: absolute; inset: 0; z-index: 1; width: 100% !important; height: 100% !important; display: block; cursor: grab; outline: none; opacity: 0; transition: opacity 0.35s ease; }
.i3d-stage.is-live canvas { opacity: 1; }
.i3d-stage canvas:active { cursor: grabbing; }
.i3d-stage__poster { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 8%; object-fit: contain; transition: opacity 0.35s ease; }
.i3d-stage.is-live .i3d-stage__poster { opacity: 0; pointer-events: none; }
.i3d-stage__bar { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; pointer-events: none; }
.i3d-stage__bar > * { pointer-events: auto; }
.i3d-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--lp-border); box-shadow: var(--lp-shadow); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.i3d-seg button {
    display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border: 0; border-radius: 999px;
    background: transparent; color: var(--lp-muted); font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.i3d-seg button[aria-pressed="true"] { background: var(--lp-text); color: #fff; }
.i3d-seg button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--lp-primary-ring); }
.i3d-iconbtn {
    width: 34px; height: 34px; margin: 0; padding: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.92); border: 1px solid var(--lp-border); color: var(--lp-text-2); cursor: pointer; box-shadow: var(--lp-shadow);
}
.i3d-iconbtn:hover { color: var(--lp-text); border-color: var(--lp-border-strong); }
.i3d-iconbtn[aria-pressed="false"] { color: var(--lp-faint); }
.i3d-stage__hint {
    position: absolute; left: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--lp-border);
    font-size: 12px; font-weight: 600; color: var(--lp-muted); pointer-events: none;
}
.i3d-hint-touch { display: none; }
@media (pointer: coarse) {
    .i3d-hint-fine { display: none; }
    .i3d-hint-touch { display: inline; }
}
.i3d-stage__status {
    position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 5px 10px; border-radius: 999px;
    background: rgba(17, 24, 39, 0.78); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none;
}
.i3d-stage__status:empty { display: none; }

.i3d-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.i3d-pick button {
    display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 6px 14px 6px 6px;
    border: 1px solid var(--lp-border); border-radius: 14px; background: #fff; cursor: pointer;
    font-size: 14px; font-weight: 700; color: var(--lp-text-2);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.i3d-pick button img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--lp-hover); }
.i3d-pick button:hover { border-color: var(--lp-border-strong); }
.i3d-pick button[aria-pressed="true"] { border-color: var(--lp-primary); background: var(--lp-primary-soft); color: var(--lp-primary-ink); box-shadow: 0 0 0 3px var(--lp-primary-ring); }
.i3d-pick button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--lp-primary-ring); }
.i3d-source { display: flex; gap: 16px; align-items: flex-start; padding: 14px; }
.i3d-source img { flex: 0 0 auto; width: 104px; height: 104px; border-radius: 12px; object-fit: cover; background: var(--lp-hover); border: 1px solid var(--lp-border); }
.i3d-source p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--lp-muted); }
.i3d-source strong { display: block; margin-bottom: 4px; font-size: 14px; color: var(--lp-text); }
.i3d-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 0; }
.i3d-stats div { padding: 12px 14px; border-radius: 12px; background: var(--lp-bg); }
.i3d-stats dt { margin: 0 0 2px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lp-faint); }
.i3d-stats dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--lp-text); }
.i3d-stats dd i { margin-right: 6px; color: var(--lp-success); }
.i3d-fineprint { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--lp-faint); }

/* -------------------------------------------------------------------------
   Intro prose + format fact cards
   ------------------------------------------------------------------------- */
.i3d-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.i3d-prose p { margin: 0 0 18px; font-size: 1.0625rem; line-height: 1.75; color: var(--lp-text-2); }
.i3d-prose p:last-child { margin-bottom: 0; }
.i3d-prose a, .i3d-rich a { color: var(--lp-primary-ink); font-weight: 600; text-decoration: underline; text-decoration-color: #bfdbfe; text-underline-offset: 3px; }
.i3d-prose a:hover, .i3d-rich a:hover { color: var(--lp-primary-hover); text-decoration-color: currentColor; }
.i3d-rich code, .i3d-prose code { padding: 1px 5px; border-radius: 5px; background: var(--lp-bg); font-size: 0.9em; color: var(--lp-text); }
.i3d-updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; color: var(--lp-faint); }
.i3d-fmts { display: grid; gap: 16px; }
.i3d-fmt { padding: 22px 22px 18px; }
.i3d-fmt__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.i3d-fmt__badge {
    flex: 0 0 auto; min-width: 58px; height: 44px; padding: 0 10px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lp-text); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 0.04em;
}
.i3d-fmt__badge--out { background: var(--lp-primary); }
.i3d-fmt__name { margin: 0; font-size: 17px; font-weight: 700; color: var(--lp-text); }
.i3d-fmt__long { margin: 2px 0 0; font-size: 13px; color: var(--lp-muted); }
.i3d-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: 14px; }
.i3d-facts dt { font-weight: 700; color: var(--lp-muted); }
.i3d-facts dd { margin: 0; color: var(--lp-text-2); }
.i3d-carries { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--lp-border); font-size: 14px; line-height: 1.5; color: var(--lp-text-2); }
.i3d-carries li { display: flex; gap: 10px; }
.i3d-carries i { flex: 0 0 16px; margin-top: 4px; font-size: 12px; color: var(--lp-primary); }

/* -------------------------------------------------------------------------
   Steps, tips, ways
   ------------------------------------------------------------------------- */
.i3d-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.i3d-step { position: relative; padding: 24px 22px 22px; }
.i3d-step__num {
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--lp-text); color: #fff; font-size: 14px; font-weight: 700;
}
.i3d-step h3 { margin: 16px 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--lp-text); }
.i3d-step p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--lp-muted); }
.i3d-step:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -21px; width: 22px; border-top: 2px dashed var(--lp-border-strong); }

.i3d-tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.i3d-tip { display: flex; gap: 16px; padding: 22px; }
.i3d-tip h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; color: var(--lp-text); }
.i3d-tip p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--lp-muted); }

.i3d-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.i3d-way { display: flex; flex-direction: column; padding: 22px; }
.i3d-way h3 { margin: 16px 0 6px; font-size: 16.5px; font-weight: 700; color: var(--lp-text); }
.i3d-way p { flex: 1; margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--lp-muted); }

/* -------------------------------------------------------------------------
   Real photo results
   ------------------------------------------------------------------------- */
.i3d-sets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1040px; margin: 0 auto; }
.i3d-set { display: flex; flex-direction: column; overflow: hidden; margin: 0; }
.i3d-set__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; aspect-ratio: 3 / 1; background: var(--lp-border); }
.i3d-set__cell { position: relative; min-height: 0; margin: 0; background: #fff; }
.i3d-set__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.i3d-set__cell span {
    position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.92); border: 1px solid var(--lp-border);
    font-size: 11px; font-weight: 800; letter-spacing: 0.02em; color: var(--lp-text-2);
}
.i3d-set figcaption { padding: 16px 18px 18px; }
.i3d-set h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--lp-text); }
.i3d-set p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--lp-muted); }

/* -------------------------------------------------------------------------
   Tables (methods, measured sizes, accepted inputs, conversion matrix)
   ------------------------------------------------------------------------- */
.i3d-table-wrap { overflow-x: auto; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: #fff; box-shadow: var(--lp-shadow); -webkit-overflow-scrolling: touch; }
.i3d-table { width: 100%; min-width: 640px; margin: 0; border-collapse: collapse; font-size: 14.5px; }
.i3d-table th, .i3d-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lp-border); }
.i3d-table tr:last-child th, .i3d-table tr:last-child td { border-bottom: 0; }
.i3d-table thead th { background: var(--lp-hover); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lp-muted); white-space: nowrap; }
.i3d-table tbody th { font-weight: 700; color: var(--lp-text); white-space: nowrap; }
.i3d-table td { color: var(--lp-text-2); }
.i3d-table a { color: var(--lp-primary-ink); font-weight: 600; }
.i3d-table tr.is-on th, .i3d-table tr.is-on td { background: var(--lp-primary-soft); }
.i3d-table tr.is-on th::after { content: "This page"; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--lp-primary); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: 0.03em; vertical-align: 2px; }
.i3d-table .is-col-on { background: var(--lp-primary-soft); }
.i3d-table-note { margin: 12px 4px 0; font-size: 13px; line-height: 1.55; color: var(--lp-faint); }

.i3d-matrix td { padding: 10px; }
.i3d-matrix__cell {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px;
    border: 1px solid var(--lp-border); border-radius: 10px; background: #fff;
    font-size: 14px; font-weight: 700; color: var(--lp-text) !important; text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.i3d-matrix__cell:hover { border-color: var(--lp-primary); background: var(--lp-primary-soft); color: var(--lp-primary-ink) !important; }
.i3d-matrix__cell i { font-size: 11px; color: var(--lp-faint); }
.i3d-matrix__cell--generic { font-weight: 600; color: var(--lp-muted) !important; border-style: dashed; }

/* -------------------------------------------------------------------------
   After-download checklist
   ------------------------------------------------------------------------- */
.i3d-after { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.i3d-check { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: chk; }
.i3d-check li { position: relative; padding: 16px 18px 16px 58px; font-size: 15px; line-height: 1.6; color: var(--lp-text-2); counter-increment: chk; }
.i3d-check li::before {
    content: counter(chk); position: absolute; left: 18px; top: 15px; width: 26px; height: 26px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lp-success-soft); color: var(--lp-success-ink); border: 1px solid #a7f3d0; font-size: 12.5px; font-weight: 800;
}

/* -------------------------------------------------------------------------
   SVG extruder
   ------------------------------------------------------------------------- */
.i3d-ext { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.i3d-ext__panel { display: flex; flex-direction: column; gap: 18px; padding: 22px; }
.i3d-ext__drop {
    display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px; border: 1.5px dashed var(--lp-border-strong); border-radius: 14px;
    background: var(--lp-hover); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.i3d-ext__drop:hover, .i3d-ext.is-dragover .i3d-ext__drop { border-color: var(--lp-primary); background: var(--lp-primary-soft); }
.i3d-ext__drop strong { display: block; font-size: 15px; color: var(--lp-text); }
.i3d-ext__drop span { font-size: 13px; color: var(--lp-muted); }
.i3d-ext__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.i3d-field label { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--lp-text-2); }
.i3d-field label output { font-weight: 600; color: var(--lp-muted); }
.i3d-field input[type="number"], .i3d-field select {
    width: 100%; padding: 9px 11px; border: 1px solid var(--lp-border); border-radius: 10px; background: #fff;
    font-size: 14px; color: var(--lp-text);
}
.i3d-field input[type="number"]:focus, .i3d-field select:focus { outline: none; border-color: #93c5fd; box-shadow: 0 0 0 3px var(--lp-primary-ring); }
.i3d-field input[type="range"] { width: 100%; accent-color: var(--lp-primary); }
.i3d-field--full { grid-column: 1 / -1; }
.i3d-toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--lp-text-2); cursor: pointer; }
.i3d-toggle input { width: 18px; height: 18px; accent-color: var(--lp-primary); }
.i3d-ext__colors { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.i3d-swatch { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border: 1px solid var(--lp-border); border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--lp-text-2); }
.i3d-swatch i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.12); }
.i3d-ext__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.i3d-ext__msg { margin: 0; font-size: 13px; line-height: 1.5; color: var(--lp-muted); }
.i3d-ext__msg.is-warn { color: #b45309; }
.i3d-ext__msg.is-error { color: #b91c1c; }
.i3d-ext__view { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--lp-radius); border: 1px solid var(--lp-border); background: linear-gradient(180deg, #f8fafc 0%, #e8edf4 100%); }
.i3d-ext__view canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab; }
.i3d-ext__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--lp-muted); font-size: 14px; }
.i3d-ext__empty i { font-size: 30px; color: var(--lp-border-strong); }
.i3d-ext__dims { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(17, 24, 39, 0.78); color: #fff; font-size: 12px; font-weight: 700; }
.i3d-ext__dims:empty { display: none; }

/* -------------------------------------------------------------------------
   Pricing
   ------------------------------------------------------------------------- */
.lp-billing-row { display: flex; justify-content: center; margin: -16px 0 40px; }
.lp-billing { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--pp-control-bg, #e4e7ec); box-shadow: inset 0 0 0 1px var(--pp-control-ring, #d5d9e0); }
.lp-billing button {
    display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 18px; border: 0; border-radius: 999px;
    background: transparent; color: #4b5563; font-size: 14px; font-weight: 700; cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.lp-billing button[aria-pressed="true"] { background: #fff; color: var(--lp-text); box-shadow: 0 1px 2px rgba(17, 24, 39, 0.1), 0 3px 8px -3px rgba(17, 24, 39, 0.18); }
.lp-billing button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--lp-primary-ring); }
.lp-save { padding: 1px 7px; border-radius: 999px; background: var(--lp-success-soft); border: 1px solid #a7f3d0; color: var(--lp-success-ink); font-size: 11px; font-weight: 800; }
.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.lp-plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: 20px; }
.lp-plan--featured { border: 2px solid var(--lp-primary); box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.08), var(--lp-shadow-lg); }
.lp-plan__badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px; background: var(--lp-primary); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap;
    box-shadow: 0 6px 14px -6px rgba(37, 99, 235, 0.7);
}
.lp-plan__name { margin: 0; font-size: 18px; font-weight: 700; color: var(--lp-text); }
.lp-plan__tagline { margin: 4px 0 18px; font-size: 14px; color: var(--lp-muted); }
.lp-plan__price { display: flex; align-items: baseline; gap: 6px; }
.lp-plan__amount { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--lp-text); }
.lp-plan__period { font-size: 15px; font-weight: 600; color: var(--lp-muted); }
.lp-plan__note { min-height: 20px; margin: 10px 0 0; font-size: 13px; color: var(--lp-muted); }
.lp-plan__cta { margin-top: 22px; }
.lp-plan__micro { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--lp-faint); }
.lp-plan__list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--lp-border); font-size: 14px; color: var(--lp-text-2); }
.lp-plan__list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.lp-plan__list i { flex: 0 0 16px; margin-top: 3px; font-size: 12px; text-align: center; color: var(--lp-success); }
.lp-plan__list li.is-off { color: var(--lp-faint); }
.lp-plan__list li.is-off i { color: var(--lp-border-strong); }
.lp-plan__list-head { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-faint); }
.lp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 32px; font-size: 14px; color: var(--lp-muted); }
.lp-trust span { display: inline-flex; align-items: center; gap: 8px; }
.lp-trust i { color: var(--lp-primary); }

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.lp-faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.lp-faq details { background: #fff; border: 1px solid var(--lp-border); border-radius: 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.lp-faq details[open] { border-color: var(--lp-border-strong); box-shadow: var(--lp-shadow); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--lp-primary); border-radius: 14px; }
.lp-faq summary::after {
    content: "\f067"; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lp-hover); border: 1px solid var(--lp-border);
    font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: var(--lp-muted); transition: transform 0.2s ease;
}
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq__q { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: -0.005em; color: var(--lp-text); }
.lp-faq__a { padding: 0 20px 20px; font-size: 15px; line-height: 1.65; color: var(--lp-muted); }
.lp-faq__a a { color: var(--lp-primary-ink); font-weight: 600; }
.lp-faq__a a:hover { color: var(--lp-primary-hover); text-decoration: underline; }
.lp-faq__more { margin-top: 28px; text-align: center; font-size: 15px; color: var(--lp-muted); }

/* -------------------------------------------------------------------------
   Related conversions, learn more, hub directory
   ------------------------------------------------------------------------- */
.i3d-related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.i3d-rel {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.i3d-rel:hover { border-color: var(--lp-border-strong); box-shadow: var(--lp-shadow-hover); transform: translateY(-1px); color: inherit; }
.i3d-rel__pair { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.03em; }
.i3d-rel__pair b { padding: 3px 6px; border-radius: 6px; background: var(--lp-text); color: #fff; }
.i3d-rel__pair b + i { color: var(--lp-faint); font-size: 9px; }
.i3d-rel__pair b.is-out { background: var(--lp-primary); }
.i3d-rel__name { font-size: 14px; font-weight: 700; color: var(--lp-text); line-height: 1.3; }

.i3d-learn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.i3d-learn a { display: flex; gap: 14px; padding: 18px; text-decoration: none; color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.i3d-learn a:hover { border-color: var(--lp-border-strong); box-shadow: var(--lp-shadow-hover); color: inherit; }
.i3d-learn h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--lp-text); }
.i3d-learn p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--lp-muted); }

.i3d-dir { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.i3d-dir__group { padding: 20px; }
.i3d-dir__group h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--lp-text); }
.i3d-dir__group > p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--lp-muted); }
.i3d-dir__group ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.i3d-dir__group a { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--lp-text-2); text-decoration: none; }
.i3d-dir__group a:hover { background: var(--lp-primary-soft); color: var(--lp-primary-ink); }
.i3d-dir__group a i { font-size: 11px; color: var(--lp-faint); }

.i3d-outs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.i3d-out { display: flex; flex-direction: column; padding: 20px; }
.i3d-out h3 { margin: 14px 0 4px; font-size: 16px; font-weight: 700; color: var(--lp-text); }
.i3d-out p { flex: 1; margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--lp-muted); }

/* -------------------------------------------------------------------------
   Final CTA + sticky bar
   ------------------------------------------------------------------------- */
.lp-final { position: relative; isolation: isolate; overflow: hidden; padding: 72px 32px; border-radius: 28px; background: var(--lp-ink); text-align: center; color: #fff; }
.lp-final::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(520px 320px at 85% 0%, rgba(59, 130, 246, 0.45), rgba(59, 130, 246, 0) 70%),
        radial-gradient(460px 300px at 0% 100%, rgba(124, 58, 237, 0.32), rgba(124, 58, 237, 0) 70%);
}
.lp-final::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 10%, transparent 75%);
            mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 10%, transparent 75%);
}
.lp-final .lp-h2 { color: #fff; }
.lp-final p { max-width: 620px; margin: 0 auto 28px; font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.lp-final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.lp-final__micro { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 22px; font-size: 13.5px; color: rgba(255, 255, 255, 0.65); }
.lp-final__micro i { margin-right: 6px; color: #6ee7b7; }

.lp-sticky {
    position: fixed; left: 50%; bottom: 20px; z-index: 1030; display: flex; align-items: center; gap: 14px;
    width: min(780px, calc(100% - 24px)); padding: 10px 10px 10px 18px;
    background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid var(--lp-border); border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(17, 24, 39, 0.35);
    opacity: 0; visibility: hidden; transform: translate(-50%, 24px);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease, visibility 0.3s;
}
.lp-sticky.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.lp-sticky__text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; line-height: 1.4; color: var(--lp-muted); }
.lp-sticky__text strong { color: var(--lp-text); }
.lp-sticky__actions { display: flex; gap: 8px; }
.lp-sticky__actions .lp-btn { padding: 9px 14px; font-size: 14px; }
.lp-sticky__close { flex: 0 0 auto; width: 30px; height: 30px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--lp-faint); cursor: pointer; }
.lp-sticky__close:hover { background: var(--lp-hover); color: var(--lp-text); }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (min-width: 992px) {
    .lp-h1__accent { display: block; width: fit-content; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) { .lp-h1 { font-size: 3.1rem; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .lp-h1 { font-size: 2.7rem; } }
@media (max-width: 1199.98px) {
    .lp-hero__grid { gap: 40px; }
    .lp-float--a { left: -16px; }
    .lp-float--b { right: -12px; }
    /* includes/app-nav.html pins a 62px tab bar to the bottom below 1200px */
    .lp-sticky { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    body.lp-sticky-on #scroll-to-top-btn { bottom: calc(144px + env(safe-area-inset-bottom, 0px)); }
    .i3d-ways, .i3d-outs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .i3d-related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .lp-section { padding: 72px 0; }
    .lp-hero { padding: 56px 0 64px; }
    .lp-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .lp-hero__copy { max-width: 620px; margin: 0 auto; }
    .lp-demo { max-width: 440px; margin: 0 auto; }
    .lp-plans { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
    .lp-plan--featured { order: -1; }
    .i3d-viewer, .i3d-intro, .i3d-after, .i3d-ext { grid-template-columns: minmax(0, 1fr); }
    .i3d-viewer .i3d-stage { max-width: 560px; width: 100%; margin: 0 auto; }
    .i3d-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .i3d-step::after { display: none; }
    .i3d-sets { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
    .i3d-learn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .i3d-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .i3d-ext__view { min-height: 360px; }
}
@media (max-width: 767.98px) {
    .lp-head { margin-bottom: 36px; }
    .lp-sticky { gap: 8px; padding: 8px; }
    .lp-sticky__text { display: none; }
    .lp-sticky__actions { flex: 1; }
    .lp-sticky__actions .lp-btn { flex: 1; }
    .i3d-tips { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
    .lp-section { padding: 60px 0; }
    .lp-hero { padding: 60px 0 52px; }
    .lp-hero__sub { font-size: 1.0625rem; }
    .lp-prompt__foot { flex-direction: column; align-items: stretch; padding-left: 6px; }
    .lp-prompt__note { justify-content: center; text-align: center; }
    .lp-prompt__foot .lp-btn { width: 100%; padding: 13px 18px; }
    .lp-mode { font-size: 13px; gap: 6px; padding: 9px 6px; }
    .lp-float { display: none; }
    .lp-final { padding: 52px 22px; border-radius: 22px; }
    .lp-final__actions .lp-btn { width: 100%; }
    .i3d-steps, .i3d-ways, .i3d-outs, .i3d-learn, .i3d-related { grid-template-columns: minmax(0, 1fr); }
    .i3d-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .i3d-source img { width: 80px; height: 80px; }
    .i3d-ext__fields { grid-template-columns: minmax(0, 1fr); }
    .i3d-ext__actions { grid-template-columns: minmax(0, 1fr); }
    .i3d-facts { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .i3d-facts dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::before, .lp *::after, .lp-sticky { animation: none !important; transition: none !important; }
    .logo-marquee-track { width: 100%; }
    .logo-marquee-set { flex-wrap: wrap; justify-content: center; width: 100%; }
    .logo-marquee-set[aria-hidden="true"] { display: none; }
}
