:root {
    --sample-accent: #5bbf63;
    --sample-ink: #101213;
    --sample-muted: #666f78;
    --sample-line: #e2e5e8;
    --sample-bg: #ffffff;
    --sample-soft: #f5f7f8;
}

* {
    box-sizing: border-box;
}

body.demo-site {
    margin: 0;
    background: var(--sample-bg);
    color: var(--sample-ink);
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.demo-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(18px, 4vw, 52px);
    border-bottom: 1px solid var(--sample-line);
    background: rgba(255, 255, 255, 0.96);
}

.demo-brand {
    font-weight: 900;
}

.demo-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--sample-muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.demo-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.demo-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
    gap: clamp(30px, 6vw, 76px);
    align-items: center;
    padding: clamp(68px, 9vw, 126px) 0 clamp(54px, 8vw, 92px);
}

.demo-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--sample-accent) 16%, transparent);
    color: color-mix(in srgb, var(--sample-accent) 72%, #111);
    font-size: 0.78rem;
    font-weight: 900;
}

.demo-hero h1 {
    margin: 18px 0 0;
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.demo-hero p {
    max-width: 640px;
    margin: 24px 0 0;
    color: var(--sample-muted);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.76;
}

.demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.demo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px solid var(--sample-ink);
    border-radius: 6px;
    padding: 0 18px;
    background: var(--sample-ink);
    color: #fff;
    font-weight: 900;
}

.demo-button--ghost {
    background: #fff;
    color: var(--sample-ink);
}

.demo-hero-visual {
    border: 1px solid var(--sample-line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(16, 18, 19, 0.13);
}

.demo-hero-visual img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.demo-section {
    padding: clamp(48px, 8vw, 88px) 0;
    border-top: 1px solid var(--sample-line);
}

.demo-section h2 {
    margin: 0 0 24px;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.14;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.demo-card {
    border: 1px solid var(--sample-line);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
}

.demo-card strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.demo-card p,
.demo-card li {
    color: var(--sample-muted);
    line-height: 1.66;
}

.demo-card p {
    margin: 0;
}

.demo-card ul {
    margin: 0;
    padding-left: 18px;
}

.demo-band {
    background: var(--sample-soft);
}

.demo-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.demo-form label {
    display: grid;
    gap: 7px;
    color: #262a2e;
    font-weight: 900;
}

.demo-form input,
.demo-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d9dee2;
    border-radius: 6px;
    padding: 0 12px;
    font: inherit;
}

.demo-footer {
    padding: 42px 0;
    background: #101213;
    color: rgba(255, 255, 255, 0.78);
}

.demo-site--hospital {
    --sample-accent: #41a5d9;
}

.demo-site--shop {
    --sample-accent: #d78532;
}

.demo-site--landing {
    --sample-accent: #5bbf63;
}

.demo-site--cafe {
    --sample-accent: #a86f42;
}

.demo-site--education {
    --sample-accent: #4e78d8;
}

.demo-site--booking {
    --sample-accent: #20a37a;
}

.demo-site--portfolio {
    --sample-accent: #767bff;
}

@media (max-width: 860px) {
    .demo-header,
    .demo-hero,
    .demo-grid,
    .demo-form {
        grid-template-columns: 1fr;
    }

    .demo-header {
        display: grid;
    }
}

@media (max-width: 560px) {
    .demo-shell {
        width: min(100% - 28px, 1120px);
    }

    .demo-nav {
        gap: 10px;
        font-size: 0.84rem;
    }

    .demo-hero {
        padding-top: 52px;
    }
}
