/* ==========================================================================
   gregj.ca — Products Page & EasyPixelMap Interactive Studio
   Follows gregj.ca Design System: Pure white canvas, #111111 ink, 1px #e4e4e7
   hairlines, 28px/20px/9999px radii, Apple cubic-bezier(0.16, 1, 0.3, 1).
   NOTE: Ghost Edge sets html { font-size: 62.5%; } (1rem = 10px).
   All typography uses explicit px values to stay rock-solid.
   ========================================================================== */

:root {
    --epm-bg: #ffffff;
    --epm-black: #000000;
    --epm-ink: #111111;
    --epm-ink-soft: #333333;
    --epm-muted: #52525b;
    --epm-subtle: #71717a;
    --epm-border: #e4e4e7;
    --epm-border-strong: #d4d4d8;
    --epm-surface: #fafafa;
    --epm-surface-2: #f4f4f5;
    --epm-success: #16a34a;
    --epm-yellow: #ffe61a;
    --epm-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --epm-font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --epm-font-serif: Lora, Georgia, serif;
    --epm-font-mono: Menlo, Consolas, Monaco, monospace;
}

.products-page-wrap {
    width: 100%;
    background: var(--epm-bg);
    color: var(--epm-ink);
    font-family: var(--epm-font-sans);
    padding: 20px 24px 96px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.products-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- 1. Editorial Masthead ---------- */
.products-hero-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products-hero-title {
    font-family: var(--epm-font-sans);
    font-size: 38px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.035em !important;
    color: #111827 !important;
    margin: 0 0 14px 0 !important;
}

.products-hero-subtitle {
    font-size: 16px;
    line-height: 1.65;
    color: var(--epm-muted);
    max-width: 640px;
    margin: 0 0 26px 0;
}

.products-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.epm-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    padding: 0 24px;
    border-radius: 9999px;
    background: var(--epm-black);
    color: #ffffff !important;
    border: 1.5px solid var(--epm-black);
    font-family: var(--epm-font-sans);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.25s var(--epm-ease), box-shadow 0.25s var(--epm-ease), background 0.2s ease;
    box-sizing: border-box;
}

.epm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.28);
    background: #18181b;
}

.epm-btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.epm-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border-radius: 9999px;
    background: #ffffff;
    color: var(--epm-ink) !important;
    border: 1.5px solid var(--epm-border);
    font-family: var(--epm-font-sans);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.25s var(--epm-ease), border-color 0.2s ease, background 0.2s ease, box-shadow 0.25s var(--epm-ease);
    box-sizing: border-box;
}

.epm-btn-secondary:hover {
    border-color: var(--epm-black);
    background: var(--epm-surface);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.12);
}

.epm-btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.products-meta-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 18px;
    font-size: 12.5px;
    color: var(--epm-subtle);
}

.products-meta-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- 2. Interactive EasyPixelMap Studio Card ---------- */
.epm-studio-card {
    background: #ffffff;
    border: 1px solid var(--epm-border);
    border-radius: 28px;
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 56px;
}

.epm-studio-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--epm-border);
    background: var(--epm-surface);
}

.epm-studio-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.epm-studio-label {
    font-family: var(--epm-font-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--epm-ink);
    letter-spacing: -0.01em;
}

.epm-presets-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.epm-preset-chip {
    padding: 6px 13px;
    border-radius: 9999px;
    border: 1px solid var(--epm-border);
    background: #ffffff;
    color: var(--epm-muted);
    font-family: var(--epm-font-sans);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--epm-ease);
}

.epm-preset-chip:hover {
    border-color: var(--epm-black);
    color: var(--epm-ink);
}

.epm-preset-chip.is-active {
    background: var(--epm-black);
    border-color: var(--epm-black);
    color: #ffffff;
}

/* Studio Split Body: Viewport Left + COMP Panel Right */
.epm-studio-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 316px;
    min-height: 520px;
}

.epm-viewport-pane {
    position: relative;
    background: #0b0b0d;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px 20px;
    overflow: hidden;
    border-right: 1px solid var(--epm-border);
}

.epm-canvas-frame {
    position: relative;
    width: 100%;
    height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#epmCanvas {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.14);
    cursor: crosshair;
    image-rendering: auto;
}

/* Floating Cursor Coordinate Inspector */
.epm-inspector-pill {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12, 12, 15, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    padding: 6px 14px;
    font-family: var(--epm-font-mono);
    font-size: 11.5px;
    color: #f4f4f5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
    white-space: nowrap;
    z-index: 4;
}

.epm-inspector-pill.is-visible {
    opacity: 1;
}

.epm-inspector-swatch {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-block;
}

/* Playback HUD bar under canvas */
.epm-playback-bar {
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #d4d4d8;
    font-family: var(--epm-font-mono);
    font-size: 12px;
}

.epm-playback-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.epm-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-family: var(--epm-font-sans);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s var(--epm-ease);
}

.epm-play-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.epm-timecode {
    color: #ffffff;
    font-weight: 600;
}

.epm-hue-readout {
    color: #a1a1aa;
}

.epm-playback-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a1a1aa;
    font-size: 11.5px;
}

/* Right Pane: Authentic AE COMP Panel */
.epm-controls-pane {
    padding: 22px 22px 24px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.epm-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--epm-border);
}

.epm-panel-title {
    font-family: var(--epm-font-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--epm-ink);
}

.epm-panel-tag {
    font-family: var(--epm-font-mono);
    font-size: 11px;
    color: var(--epm-subtle);
    background: var(--epm-surface-2);
    padding: 3px 8px;
    border-radius: 6px;
}

.epm-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.epm-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.epm-label {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--epm-muted);
}

.epm-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1.5px solid var(--epm-border);
    background: var(--epm-surface);
    color: var(--epm-ink);
    font-family: var(--epm-font-mono);
    font-size: 13.5px;
    font-weight: 600;
    box-sizing: border-box;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.epm-input:focus {
    outline: none;
    border-color: var(--epm-black);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* Toggle Switches Grid */
.epm-toggles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.epm-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1.5px solid var(--epm-border);
    background: #ffffff;
    color: var(--epm-muted);
    font-family: var(--epm-font-sans);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--epm-ease);
}

.epm-toggle-btn:hover {
    border-color: var(--epm-border-strong);
    color: var(--epm-ink);
}

.epm-toggle-btn.is-on {
    border-color: var(--epm-black);
    background: var(--epm-surface);
    color: var(--epm-ink);
}

.epm-toggle-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d4d4d8;
    transition: background 0.2s ease;
}

.epm-toggle-btn.is-on .epm-toggle-dot {
    background: var(--epm-success);
}

.epm-controls-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.epm-controls-actions .epm-btn-primary,
.epm-controls-actions .epm-btn-secondary {
    width: 100%;
    height: 42px;
    font-size: 13.5px;
}

/* ---------- 3. Section Headings ---------- */
.products-section {
    margin-bottom: 64px;
}

.products-section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.products-section-eyebrow {
    font-family: var(--epm-font-mono);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--epm-subtle);
    margin: 0 0 6px 0;
}

.products-section-title {
    font-family: var(--epm-font-sans);
    font-size: 26px !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.2 !important;
    color: var(--epm-ink) !important;
    margin: 0 !important;
}

.products-section-sub {
    font-size: 14.5px;
    color: var(--epm-muted);
    margin: 0;
    max-width: 440px;
}

/* ---------- 4. Key Capabilities 4-Card Grid ---------- */
.epm-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.epm-feature-card {
    background: #ffffff;
    border: 1px solid var(--epm-border);
    border-radius: 20px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.3s var(--epm-ease), box-shadow 0.3s var(--epm-ease), border-color 0.25s ease;
}

.epm-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--epm-black);
    box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.12);
}

.epm-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--epm-surface-2);
    border: 1px solid var(--epm-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--epm-ink);
}

.epm-feature-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--epm-ink);
    margin: 0;
}

.epm-feature-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--epm-muted);
    margin: 0;
}

/* ---------- 5. Real-World Showcase & Output Gallery ---------- */
.epm-gallery-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 20px;
}

.epm-gallery-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.epm-gallery-card {
    position: relative;
    background: var(--epm-surface);
    border: 1px solid var(--epm-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.35s var(--epm-ease), box-shadow 0.35s var(--epm-ease), border-color 0.25s ease;
}

.epm-gallery-card:hover {
    transform: translateY(-4px);
    border-color: var(--epm-black);
    box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.16);
}

.epm-gallery-media {
    position: relative;
    width: 100%;
    background: #09090b;
    overflow: hidden;
    flex: 1;
}

.epm-gallery-card.is-hero .epm-gallery-media {
    min-height: 380px;
}

.epm-gallery-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s var(--epm-ease);
}

.epm-gallery-card:hover .epm-gallery-media img {
    transform: scale(1.025);
}

.epm-gallery-expand-chip {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--epm-ink);
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s var(--epm-ease);
}

.epm-gallery-card:hover .epm-gallery-expand-chip {
    opacity: 1;
    transform: translateY(0);
}

.epm-gallery-caption {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid var(--epm-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.epm-gallery-caption-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--epm-ink);
    margin: 0 0 2px 0;
}

.epm-gallery-caption-sub {
    font-size: 13px;
    color: var(--epm-muted);
    margin: 0;
}

.epm-gallery-res-tag {
    font-family: var(--epm-font-mono);
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 9999px;
    background: var(--epm-surface-2);
    color: var(--epm-ink-soft);
    white-space: nowrap;
}

.epm-gallery-wide {
    margin-top: 20px;
}

/* ---------- 6. Installation & Specs Editorial Card ---------- */
.epm-install-card {
    background: #ffffff;
    border: 1px solid var(--epm-border);
    border-radius: 28px;
    padding: 36px 38px;
    box-shadow: 0 20px 48px -24px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 36px;
    align-items: start;
}

.epm-install-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.epm-step-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.epm-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--epm-black);
    color: #ffffff;
    font-family: var(--epm-font-mono);
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.epm-step-body {
    flex: 1;
    min-width: 0;
}

.epm-step-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--epm-ink);
    margin: 0 0 6px 0;
}

.epm-step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--epm-muted);
    margin: 0 0 10px 0;
}

.epm-path-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--epm-surface);
    border: 1px solid var(--epm-border);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.epm-path-code {
    font-family: var(--epm-font-mono);
    font-size: 12px;
    color: var(--epm-ink);
    overflow-x: auto;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

.epm-path-os {
    font-family: var(--epm-font-sans);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--epm-subtle);
    margin-right: 8px;
}

.epm-copy-btn {
    padding: 5px 11px;
    border-radius: 9999px;
    border: 1px solid var(--epm-border);
    background: #ffffff;
    color: var(--epm-ink);
    font-family: var(--epm-font-sans);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.epm-copy-btn:hover {
    border-color: var(--epm-black);
    background: var(--epm-surface-2);
}

.epm-copy-btn.is-copied {
    border-color: var(--epm-success);
    color: var(--epm-success);
    background: rgba(22, 163, 74, 0.07);
}

/* Right Column: Requirements & Download Box */
.epm-specs-box {
    background: var(--epm-surface);
    border: 1px solid var(--epm-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.epm-specs-box-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--epm-ink);
    margin: 0;
}

.epm-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.epm-specs-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--epm-border);
    font-size: 13.5px;
}

.epm-specs-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.epm-specs-list strong {
    color: var(--epm-muted);
    font-weight: 500;
}

.epm-specs-list span {
    font-family: var(--epm-font-mono);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--epm-ink);
    text-align: right;
}

/* ---------- 7. Lightbox Modal ---------- */
.epm-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 12, 0.86);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    box-sizing: border-box;
}

.epm-lightbox.is-open {
    display: flex;
}

.epm-lightbox-inner {
    position: relative;
    max-width: 1120px;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.epm-lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 14px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.epm-lightbox-caption {
    color: #f4f4f5;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.epm-lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s var(--epm-ease);
}

.epm-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.06);
}

/* ---------- 8. Minimalist FAQ Accordion ---------- */
.epm-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.epm-faq-item {
    background: #ffffff;
    border: 1px solid var(--epm-border);
    border-radius: 16px;
    padding: 18px 22px;
    transition: border-color 0.2s ease, box-shadow 0.2s var(--epm-ease);
}

.epm-faq-item[open] {
    border-color: var(--epm-black);
    box-shadow: 0 12px 28px -18px rgba(0, 0, 0, 0.12);
}

.epm-faq-q {
    list-style: none;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--epm-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

.epm-faq-q::-webkit-details-marker {
    display: none;
}

.epm-faq-q::after {
    content: "+";
    font-family: var(--epm-font-mono);
    font-size: 18px;
    font-weight: 400;
    color: var(--epm-subtle);
    transition: transform 0.2s var(--epm-ease), color 0.2s ease;
    flex-shrink: 0;
}

.epm-faq-item[open] .epm-faq-q::after {
    content: "−";
    color: var(--epm-ink);
}

.epm-faq-a {
    margin: 12px 0 0 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--epm-muted);
    max-width: 78ch;
}

/* ---------- 9. Footer Teaser ---------- */
.products-more-strip {
    text-align: center;
    padding: 28px 20px;
    border-top: 1px solid var(--epm-border);
    color: var(--epm-muted);
    font-size: 14px;
}

.products-more-strip a {
    color: var(--epm-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1023px) {
    .products-hero-title {
        font-size: 30px !important;
    }

    .epm-studio-body {
        grid-template-columns: 1fr;
    }

    .epm-viewport-pane {
        border-right: none;
        border-bottom: 1px solid var(--epm-border);
    }

    .epm-canvas-frame {
        height: 360px;
    }

    .epm-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .epm-gallery-grid {
        grid-template-columns: 1fr;
    }

    .epm-install-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }
}

@media (max-width: 767px) {
    .products-page-wrap {
        padding: 12px 16px 64px;
    }

    .products-hero-title {
        font-size: 24px !important;
    }

    .products-hero-subtitle {
        font-size: 14.5px;
    }

    .epm-studio-card {
        border-radius: 22px;
    }

    .epm-studio-topbar {
        padding: 14px 16px;
    }

    .epm-canvas-frame {
        height: 260px;
    }

    .epm-features-grid {
        grid-template-columns: 1fr;
    }

    .epm-gallery-card.is-hero .epm-gallery-media {
        min-height: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
