:root {
    --hero-color: #764dc0;
    --text-color: #333;
    --background-color: #fff;
    --container-width: 960px;
    --border-radius: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol";
    margin: 0;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    background-color: var(--hero-color) !important;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.wordmark {
    height: 40px;
    filter: brightness(0) invert(1);
}

/* Main Content */
.sheets {
    margin-bottom: 3rem;
}

.sheet-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

wa-callout.printing-tip {
    margin-top: 1rem;
    --wa-color-fill-quiet: #e4d8f3;
}

wa-callout.printing-tip::part(icon) {
    color: var(--hero-color);
}

.sheet-image {
    flex: 1;
    max-width: 50%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sheet-image-placeholder {
    flex: 1;
    border: 2px dashed #ccc;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.sheet-text {
    flex: 1;
}

.sheet-text p.list-heading {
    margin-bottom: 0;
}

.sheet-text ul {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

h2 {
    margin-top: 0;
}

/* Downloads */
.downloads {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.sheets > h2 {
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

wa-button.hero-button::part(base) {
    background: var(--hero-color);
    border-color: var(--hero-color);
    box-shadow: 0 2px 10px #0002;
    transition: all var(--wa-transition-slow) var(--wa-transition-easing);
}

wa-button.hero-button::part(base):hover {
    transform: scale(1.05);
}

wa-button.hero-button::part(base):active {
    transform: translateY(1px);
}

wa-button.hero-button::part(base):focus-visible {
    outline: dashed 2px var(--hero-color);
    outline-offset: 4px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    margin-top: 2rem;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .sheet-item {
        flex-direction: column;
    }

    .sheet-image {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .wordmark {
        height: 30px;
    }
}
