/* ===== ESCHER DESIGN SYSTEM — Shared Styles ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --brick: #FA504A;
    --brick-hover: #E73E34;
    --brick-glow: rgba(250, 80, 74, 0.18);
    --slate: #3B5BDB;
    --slate-light: rgba(59, 91, 219, 0.08);
    --moss: #3A7D44;
    --sand: #F5C842;
    --bg: #F8F8F7;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --dark: #111111;
    --dark-card: #1E1E1E;
    --dark-border: #2A2A2A;
    --g900: #2B2B2B;
    --g700: #6B6B6B;
    --g500: #9A9A9A;
    --g300: #D4D4D4;
    --g100: #EBEBEB;
    --g50: #F3F3F3;
    --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'Geist Mono', 'SF Mono', monospace;
    --max-w: 1200px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); background: var(--bg); color: var(--black); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
@media (max-width: 767px) { .container { padding: 0 20px; } }

.section-pad { padding: 120px 0; }
@media (max-width: 960px) { .section-pad { padding: 80px 0; } }
@media (max-width: 767px) { .section-pad { padding: 60px 0; } }

/* Labels & Headings */
.section-label {
    font-family: var(--mono);
    font-size: 13px; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--brick); margin-bottom: 16px;
}
.section-heading {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700; line-height: 1.12;
    letter-spacing: -0.02em; margin-bottom: 20px;
}
.section-heading .muted { color: var(--g500); }
.section-sub {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--g700); line-height: 1.65;
    max-width: 600px;
}

/* Fade-in animation */
.fade-in { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.fade-in.visible { opacity: 1; transform: none; }

/* ===== NAV ===== */
nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--g100);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 48px;
    height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
@media (max-width: 767px) { .nav-inner { padding: 0 20px; gap: 16px; } }
.nav-logo svg { height: 26px; width: auto; }
.nav-logo { display: flex; align-items: center; }
.nav-menu { display: flex; gap: 0; list-style: none; flex: 1; margin-left: 40px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    display: flex; align-items: center; gap: 4px;
    font-size: 15px; font-weight: 500; color: var(--black);
    padding: 20px 16px; transition: color 0.2s;
}
.nav-menu > li > a:hover { color: var(--brick); }
.nav-menu > li > a .chevron {
    width: 12px; height: 12px; transition: transform 0.2s;
}
.nav-menu > li:hover > a .chevron { transform: rotate(180deg); }
@media (max-width: 960px) { .nav-menu { display: none; } }

/* Dropdown */
.nav-dropdown {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 520px; padding: 28px 32px;
    background: var(--white);
    border: 1px solid var(--g100);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    transform: translateX(-50%) translateY(8px);
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.nav-menu > li:hover .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
    display: block; padding: 12px 16px; border-radius: 10px;
    transition: background 0.15s;
}
.nav-dropdown a:hover { background: var(--g50); }
.nav-dropdown a .dd-title {
    font-size: 14px; font-weight: 600; color: var(--black);
    margin-bottom: 2px;
}
.nav-dropdown a .dd-desc {
    font-size: 13px; color: var(--g700); line-height: 1.45;
}

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
    background: var(--brick); color: var(--white);
    padding: 10px 22px; border-radius: 8px;
    font-size: 14px; font-weight: 600;
    transition: all 0.25s var(--ease); white-space: nowrap;
}
.nav-cta:hover { background: var(--brick-hover); transform: translateY(-1px); box-shadow: 0 4px 16px var(--brick-glow); }
.nav-docs {
    font-size: 14px; font-weight: 500; color: var(--g700);
    transition: color 0.2s;
}
.nav-docs:hover { color: var(--black); }

/* Mobile menu toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--black); border-radius: 2px; }
@media (max-width: 960px) { .nav-toggle { display: flex; } }

/* ===== FOOTER ===== */
footer {
    background: var(--dark); color: var(--g500); padding: 80px 0 40px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 64px;
}
@media (max-width: 960px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p { font-size: 14px; line-height: 1.65; color: var(--g500); margin-top: 20px; max-width: 280px; }
.footer-brand svg { height: 24px; }
.footer-col h4 {
    font-size: 13px; font-weight: 600; color: var(--white);
    letter-spacing: 0.04em; text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--g500); transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid var(--dark-border); padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px;
}
@media (max-width: 600px) { .footer-bottom { flex-direction: column; gap: 12px; } }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--g500); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ===== PAGE HERO ===== */
.page-hero {
    background: var(--white); padding: 140px 0 80px; text-align: center;
    border-bottom: 1px solid var(--g100);
}
.page-hero .section-label { display: flex; justify-content: center; }
.page-hero .section-heading { max-width: 800px; margin: 0 auto 20px; }
.page-hero .section-sub { max-width: 640px; margin: 0 auto; }

/* Dark hero variant */
.page-hero.dark {
    background: var(--dark); border-bottom-color: var(--dark-border);
}
.page-hero.dark .section-heading,
.page-hero.dark h1 { color: var(--white); }
.page-hero.dark .section-heading .muted,
.page-hero.dark h1 .muted { color: var(--g500); }
.page-hero.dark .section-sub,
.page-hero.dark p { color: var(--g500); }
.page-hero.dark .section-label { color: var(--brick); }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brick); color: var(--white);
    padding: 14px 28px; border-radius: 10px;
    font-size: 15px; font-weight: 600;
    transition: all 0.25s var(--ease);
}
.btn-primary:hover { background: var(--brick-hover); transform: translateY(-1px); box-shadow: 0 6px 20px var(--brick-glow); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--black);
    padding: 14px 28px; border-radius: 10px;
    border: 1.5px solid var(--g300);
    font-size: 15px; font-weight: 600;
    transition: all 0.25s var(--ease);
}
.btn-secondary:hover { border-color: var(--black); }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 15px; font-weight: 600; color: var(--brick);
    transition: gap 0.2s;
}
.btn-ghost:hover { gap: 10px; }

/* ===== CARDS ===== */
.card {
    background: var(--white); border: 1px solid var(--g100);
    border-radius: 16px; padding: 36px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--g300); box-shadow: 0 8px 32px rgba(0,0,0,0.04); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--g700); line-height: 1.6; }

/* Dark card variant */
.card.dark {
    background: var(--dark-card); border-color: var(--dark-border);
}
.card.dark:hover { border-color: #444; }
.card.dark h3 { color: var(--white); }
.card.dark p { color: var(--g500); }

/* ===== CTA BAND ===== */
.cta-band {
    background: var(--dark); padding: 100px 0; text-align: center;
}
.cta-band h2 {
    font-size: clamp(28px, 3.5vw, 44px); font-weight: 700;
    color: var(--white); line-height: 1.15;
    letter-spacing: -0.02em; margin-bottom: 16px;
}
.cta-band h2 .muted { color: var(--g500); }
.cta-band p { font-size: 17px; color: var(--g500); margin-bottom: 32px; }

/* ===== GRID HELPERS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 960px) {
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== MISC ===== */
.eyebrow-tag {
    display: inline-block; font-family: var(--mono);
    font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--brick);
    background: var(--brick-glow); padding: 5px 12px;
    border-radius: 6px; margin-bottom: 16px;
}
.icon-circle {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--brick-glow);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.icon-circle .material-symbols-outlined { font-size: 22px; color: var(--brick); }

/* Logo strip */
.logo-strip {
    padding: 48px 0; border-bottom: 1px solid var(--g100);
}
.logo-strip .container { text-align: center; }
.logo-strip p { font-size: 13px; font-weight: 500; color: var(--g500); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 24px; }
.logo-strip .logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; opacity: 0.45; }
.logo-strip .logos span { font-size: 18px; font-weight: 700; color: var(--g700); letter-spacing: -0.01em; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 32px; }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--g100); }
.compare-table th { font-weight: 600; color: var(--g500); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.compare-table td:first-child { font-weight: 600; }
.compare-table .check { color: var(--moss); font-weight: 700; }
.compare-table .partial { color: var(--sand); }
.compare-table .miss { color: var(--g300); }

/* Pricing cards */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 48px; }
@media (max-width: 767px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
    background: var(--white); border: 1.5px solid var(--g100);
    border-radius: 16px; padding: 40px 32px;
}
.pricing-card.featured { border-color: var(--brick); position: relative; }
.pricing-card.featured::before {
    content: 'Most popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--brick); color: var(--white);
    font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px;
}
.pricing-card .tier-name { font-size: 14px; font-weight: 600; color: var(--g500); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.pricing-card .tier-price { font-size: 44px; font-weight: 700; color: var(--black); letter-spacing: -0.03em; margin-bottom: 4px; }
.pricing-card .tier-price span { font-size: 16px; font-weight: 500; color: var(--g500); }
.pricing-card .tier-desc { font-size: 14px; color: var(--g700); margin-bottom: 24px; }
.pricing-card ul { list-style: none; margin-bottom: 32px; }
.pricing-card li { font-size: 14px; color: var(--g700); padding: 8px 0; border-bottom: 1px solid var(--g50); display: flex; gap: 8px; }
.pricing-card li::before { content: '\2713'; color: var(--moss); font-weight: 700; }

/* ===== FLOATING INSTALL PILL (sitewide) ===== */
.floating-pill {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900; /* below nav (1000) so nav dropdowns are never blocked */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 5px 5px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(40px) saturate(2.5) brightness(1.12);
    -webkit-backdrop-filter: blur(40px) saturate(2.5) brightness(1.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -0.5px 0 rgba(0, 0, 0, 0.04);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.floating-pill.fp-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(-140%);
    pointer-events: none;
}
.floating-pill .fp-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
    transition: transform 0.2s var(--ease);
    opacity: 0.5;
}
.floating-pill .fp-logo:hover { transform: scale(1.04); }
.floating-pill .fp-logo-mark { display: inline-flex; width: 16px; height: 14px; }
.floating-pill .fp-logo-mark svg { width: 100%; height: 100%; display: block; }
.floating-pill .fp-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px 0 16px;
    border-radius: 999px;
    background: var(--brick);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: transform 0.2s var(--ease), filter 0.2s var(--ease), opacity 0.2s var(--ease);
    white-space: nowrap;
    opacity: 0.5;
}
.floating-pill .fp-cta:hover { opacity: 1; }
.floating-pill .fp-cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.floating-pill .fp-cta-arrow {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 18px; height: 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.22);
}
.floating-pill .fp-cta-arrow svg { width: 10px; height: 10px; }
/* If CTA color is white, flip text to black for readability */
.floating-pill .fp-cta[style*="#FFFFFF"], .floating-pill .fp-cta[style*="#ffffff"] { color: var(--black); }
.floating-pill .fp-cta[style*="#FFFFFF"] .fp-cta-arrow, .floating-pill .fp-cta[style*="#ffffff"] .fp-cta-arrow { background: rgba(0,0,0,0.12); }
.floating-pill .fp-cta[style*="#F5C842"] { color: var(--black); }
.floating-pill .fp-cta[style*="#F5C842"] .fp-cta-arrow { background: rgba(0,0,0,0.15); }

/* ===== PRODUCT VIDEO PLACEHOLDER (product pages) ===== */
.pvp-wrap {
    padding: 56px 0 72px;
    background: var(--bg);
}
.pvp-window {
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.06);
}
.pvp-chrome {
    background: #2c2c2c;
    padding: 10px 16px;
    display: flex; align-items: center; gap: 6px;
}
.pvp-dot { width: 11px; height: 11px; border-radius: 50%; }
.pvp-dot.d-red    { background: #ff5f57; }
.pvp-dot.d-yellow { background: #ffbd2e; }
.pvp-dot.d-green  { background: #28c840; }
.pvp-title-bar {
    flex: 1; text-align: center; margin-left: -54px;
    font-size: 11.5px; color: rgba(255,255,255,0.4);
    font-family: var(--mono); letter-spacing: 0.04em;
}
.pvp-screen {
    background: #111;
    aspect-ratio: 16 / 7;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 22px;
    position: relative;
}
.pvp-screen::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 28% 45%, rgba(250,80,74,0.09), transparent 52%),
        radial-gradient(ellipse at 72% 55%, rgba(181,180,247,0.07), transparent 50%);
    pointer-events: none;
}
.pvp-play-btn {
    width: 68px; height: 68px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.16);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
    position: relative; z-index: 1; cursor: pointer;
}
.pvp-play-btn:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.28); }
.pvp-play-btn svg { width: 46px; height: 46px; }
.pvp-hint {
    font-family: var(--mono); font-size: 11px;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.07em; text-transform: uppercase;
    position: relative; z-index: 1; margin: 0;
}

/* ===== PRODUCT IMAGE PLACEHOLDER (use-cases pages) ===== */
.product-img-placeholder {
    margin-top: 40px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.13), 0 4px 16px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.06);
}
.product-img-placeholder-chrome {
    background: #2c2c2c;
    padding: 10px 16px;
    display: flex; align-items: center; gap: 6px;
}
.product-img-placeholder-chrome .pip-dot { width: 11px; height: 11px; border-radius: 50%; }
.product-img-placeholder-chrome .pip-dot.d-red    { background: #ff5f57; }
.product-img-placeholder-chrome .pip-dot.d-yellow { background: #ffbd2e; }
.product-img-placeholder-chrome .pip-dot.d-green  { background: #28c840; }
.product-img-placeholder-chrome .pip-title {
    flex: 1; text-align: center; margin-left: -54px;
    font-size: 11.5px; color: rgba(255,255,255,0.4);
    font-family: var(--mono); letter-spacing: 0.04em;
}
.product-img-placeholder-inner {
    background: #111;
    aspect-ratio: 16 / 7;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 18px;
    position: relative;
}
.product-img-placeholder-inner::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 30% 45%, rgba(250,80,74,0.07), transparent 52%),
        radial-gradient(ellipse at 70% 55%, rgba(181,180,247,0.05), transparent 50%);
    pointer-events: none;
}
.product-img-placeholder-inner svg {
    opacity: 0.28; position: relative; z-index: 1;
}
.product-img-placeholder-inner p {
    margin: 0; position: relative; z-index: 1;
    font-family: var(--mono); font-size: 11px;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.07em; text-transform: uppercase;
}

@media (max-width: 600px) {
    .floating-pill { top: 12px !important; padding: 4px; }
    .floating-pill .fp-logo { width: 30px; height: 30px; }
    .floating-pill .fp-cta { height: 30px; font-size: 12px; padding: 0 12px 0 14px; }
}

/* ===== TWEAKS PANEL ===== */
.tweaks-panel {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 2000;
    width: 300px;
    background: var(--white);
    border: 1px solid var(--g100);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.06);
    font-family: var(--font);
    overflow: hidden;
    animation: tpIn 0.25s var(--ease) both;
}
@keyframes tpIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
.tweaks-panel .tp-head {
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--g100);
    background: var(--bg);
}
.tweaks-panel .tp-title {
    font-size: 13px; font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--black);
}
.tweaks-panel .tp-sub {
    font-family: var(--mono);
    font-size: 11px; color: var(--g500);
    letter-spacing: 0.04em;
    margin-top: 2px;
}
.tweaks-panel .tp-body {
    padding: 10px 14px 16px;
    display: flex; flex-direction: column; gap: 10px;
    max-height: 65vh; overflow-y: auto;
}
.tweaks-panel .tp-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    font-size: 13px; color: var(--black);
}
.tweaks-panel .tp-row > span { flex: 1; color: var(--g700); }
.tweaks-panel .tp-row > span em {
    font-family: var(--mono); font-style: normal;
    font-size: 11px; color: var(--g500);
    margin-left: 6px;
}
.tweaks-panel .tp-field { flex-direction: column; align-items: stretch; gap: 6px; }
.tweaks-panel .tp-field > span { font-size: 12px; color: var(--g700); }
.tweaks-panel .tp-field input[type="text"],
.tweaks-panel .tp-field select {
    height: 30px; padding: 0 10px;
    background: var(--white);
    border: 1px solid var(--g100); border-radius: 6px;
    font: 13px var(--font); color: var(--black);
    outline: none;
    transition: border-color 0.15s;
}
.tweaks-panel .tp-field input[type="text"]:focus,
.tweaks-panel .tp-field select:focus { border-color: var(--brick); }
.tweaks-panel .tp-field input[type="range"] { width: 100%; accent-color: var(--brick); }
.tweaks-panel .tp-switch { cursor: pointer; }
.tweaks-panel .tp-switch input[type="checkbox"] {
    appearance: none;
    width: 32px; height: 18px; border-radius: 999px;
    background: var(--g300);
    position: relative; cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.tweaks-panel .tp-switch input[type="checkbox"]::after {
    content: '';
    position: absolute; top: 2px; left: 2px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--white);
    transition: transform 0.2s var(--ease);
}
.tweaks-panel .tp-switch input[type="checkbox"]:checked { background: var(--brick); }
.tweaks-panel .tp-switch input[type="checkbox"]:checked::after { transform: translateX(14px); }
.tweaks-panel .tp-swatches {
    display: flex; gap: 6px; flex-wrap: wrap;
}
.tweaks-panel .tp-sw {
    width: 24px; height: 24px; border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--g100);
    background: var(--c, #888);
    cursor: pointer;
    transition: transform 0.15s;
}
.tweaks-panel .tp-sw:hover { transform: scale(1.1); }
.tweaks-panel .tp-sw.on { box-shadow: 0 0 0 2px var(--black); }



/* ===== PRODUCT PLACEHOLDERS ===== */
.icon-tile {
    width: 56px; height: 56px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(59,91,219,0.06);
    border: 1px solid rgba(59,91,219,0.14);
    color: var(--slate);
}
.icon-tile svg {
    width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mock-card { background: var(--white); border: 1px solid var(--g100); border-radius: 20px; overflow: hidden; }
.mock-frame {
    background: var(--dark); color: var(--white); min-height: 240px; position: relative; padding: 18px;
    border-bottom: 1px solid var(--dark-border);
}
.mock-frame::after {
    content: '';
    position: absolute; inset: 56px 18px 18px;
    border-radius: 14px;
    border: 1px dashed rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.02);
}
.mock-chrome { display:flex; align-items:center; gap:8px; margin-bottom: 18px; position:relative; z-index:1; }
.mock-chrome span { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,0.28); }
.mock-kicker { position: relative; z-index:1; display:inline-flex; align-items:center; gap:8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--g500); }
.mock-title, .mock-copy, .mock-tags, .mock-metrics { position: relative; z-index:1; }
.mock-title { margin-top: 56px; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; max-width: 240px; }
.mock-copy { margin-top: 10px; color: var(--g500); font-size: 14px; line-height: 1.6; max-width: 260px; }
.mock-tags { display:flex; gap:8px; flex-wrap:wrap; margin-top: 16px; }
.mock-tag { padding: 6px 10px; border-radius: 999px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; background: rgba(255,255,255,0.06); color: var(--white); border:1px solid rgba(255,255,255,0.08); }
.mock-card-body { padding: 20px 22px 22px; }
.mock-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.mock-card-body p { font-size: 15px; color: var(--g700); }
.mock-card-body .meta { margin-top: 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--g500); }
.mock-metrics { display:flex; gap:10px; margin-top: 18px; flex-wrap:wrap; }
.mock-metric { min-width: 90px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.mock-metric strong { display:block; font-size: 17px; color: var(--white); }
.mock-metric span { display:block; margin-top: 4px; font-size: 11px; color: var(--g500); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.04em; }
.video-placeholder::before {
    content: '▶'; position:absolute; inset:auto auto 22px 22px; z-index:1; width: 44px; height: 44px; border-radius: 999px; display:flex; align-items:center; justify-content:center;
    background: var(--brick); color: var(--white); box-shadow: 0 8px 20px var(--brick-glow); font-size: 16px; padding-left: 2px;
}
@media (max-width: 960px) { .mock-grid { grid-template-columns: 1fr; } }
