/* /demo - live sandbox directory. Six tiles linking into the real
   product routes, backed by a seeded demo org. Rewritten 2026-04-15. */

.wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.hero {
    text-align: center;
    margin-bottom: 24px;
}
.hero .tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 14px;
}
.hero p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto;
}

.demo-banner {
    max-width: 720px;
    margin: 28px auto 36px;
    padding: 14px 20px;
    background: var(--accent-light);
    border: 1.5px solid var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--accent);
}
.demo-banner strong {
    font-size: 15px;
    font-weight: 700;
}
.demo-banner span {
    font-size: 13px;
    opacity: 0.85;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    margin-bottom: 56px;
}

.demo-tile {
    position: relative;
    display: block;
    padding: 22px 22px 20px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.demo-tile:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
    text-decoration: none;
}
.demo-tile:hover h3,
.demo-tile:hover p,
.demo-tile:hover .demo-tile-link {
    text-decoration: none;
}
.demo-tile-num {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.demo-tile h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 36px 8px 0;
    color: var(--text);
}
.demo-tile p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0 0 14px;
}
.demo-tile-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.demo-cta {
    text-align: center;
    padding: 44px 24px;
    background: var(--accent-light);
    border-radius: 14px;
}
.demo-cta h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--text);
}
.demo-cta p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 20px;
}
.demo-cta .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.15s;
}
.demo-cta .btn-primary:hover { opacity: 0.9; }
