.styleguide-wrapper {
    padding: calc(100px + 60px) 0px 80px 0px;
    background: #f9f5f4;
}

.styleguide-section {
    padding: 40px 0px;
    border-bottom: 1px solid #EFF0F6;
}

    .styleguide-section:last-child {
        border-bottom: 0px;
    }

.styleguide-section-title {
    text-transform: uppercase;
    font-family: "lft-etica-compressed", sans-serif;
    font-weight: 700 !important;
    color: var(--main-dark);
    margin-bottom: 8px;
}

.styleguide-section-intro {
    color: var(--second-dark);
    margin-bottom: 32px;
    max-width: 700px;
}

.styleguide-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

    .styleguide-anchors a {
        font-size: 12px;
        text-transform: uppercase;
        padding: 6px 14px;
        border-radius: 100px;
        background: white;
        color: var(--main-dark);
        border: 1px solid #EFF0F6;
        text-decoration: none;
    }

        .styleguide-anchors a:hover {
            border-color: var(--main-blue);
            color: var(--main-blue);
        }

.sg-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0px 2px 6px 0px rgba(33, 31, 84, 0.06);
    height: 100%;
}

.sg-label {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--second-dark);
    margin-top: 12px;
    margin-bottom: 4px;
    display: block;
}

.sg-class {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    background: #f3f4f8;
    color: var(--main-dark);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    word-break: break-all;
}

.sg-divider-label {
    font-size: 12px;
    color: var(--second-dark);
    margin-top: 8px;
    text-align: center;
}

/* Color swatches */
.sg-swatch {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 2px 6px 0px rgba(33, 31, 84, 0.06);
    background: white;
}

    .sg-swatch .sg-swatch-color {
        height: 100px;
        width: 100%;
    }

    .sg-swatch .sg-swatch-meta {
        padding: 12px 14px;
    }

    .sg-swatch .sg-swatch-name {
        font-weight: 600;
        font-size: 14px;
        color: var(--main-dark);
        margin: 0 0 4px;
    }

    .sg-swatch .sg-swatch-hex {
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 12px;
        color: var(--second-dark);
        margin: 0;
    }

    .sg-swatch .sg-swatch-var {
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
        font-size: 11px;
        color: var(--second-dark);
        margin: 2px 0 0;
    }

/* Border-radius previews */
.sg-radius-box {
    height: 80px;
    background: var(--main-blue);
    margin-bottom: 8px;
}

.sg-radius-12 { border-radius: 12px; }
.sg-radius-14 { border-radius: 14px; }
.sg-radius-24 { border-radius: 24px; }
.sg-radius-32 { border-radius: 32px; }
.sg-radius-42 { border-radius: 42px; }
.sg-radius-100 { border-radius: 100px; }

/* Spacing for shadow demo */
.sg-shadow-demo {
    height: 80px;
    background: white;
    border-radius: 14px;
    margin-bottom: 8px;
}

/* Gradient previews */
.sg-gradient-box {
    height: 100px;
    border-radius: 16px;
    margin-bottom: 8px;
}

/* Code block helper */
.sg-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    background: #1e1f29;
    color: #e6e7ee;
    padding: 12px 14px;
    border-radius: 8px;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 8px 0 0;
}

.sg-stack > * + * {
    margin-top: 12px;
}

.sg-inline > * + * {
    margin-left: 8px;
}
