:root {
    --background: #faf8f5;
    --surface: #ffffff;
    --text: #282521;
    --muted: #625c54;
    --accent: #704637;
    --border: #ded8d0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    color: var(--accent);
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}

.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10;
    padding: 12px;
    background: var(--surface);
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 22px;
}

.brand {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

nav a {
    text-decoration: none;
}

.hero {
    padding-block: 80px 55px;
    max-width: 850px;
    text-align: center;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    margin-block: 15px 20px;
    font-size: clamp(2.2rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

h3 {
    font-size: 1.35rem;
}

.hero-copy {
    font-size: 1.15rem;
    color: var(--muted);
}

.button {
    display: inline-block;
    margin-top: 18px;
    padding: 13px 24px;
    border-radius: 8px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.button:hover {
    background: #573428;
}

.preview-note {
    max-width: 620px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.section {
    padding-block: 35px;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 28px;
}

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

.box-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.image-placeholder {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
}

.image-placeholder span {
    font-family: Georgia, serif;
    font-size: 2rem;
}

.image-placeholder small {
    color: var(--muted);
}

.rose {
    background: #f1dedb;
}

.sage {
    background: #e1e9df;
}

.sand {
    background: #ede3cf;
}

.card-content {
    padding: 24px;
}

.price {
    font-weight: 700;
}

details {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

summary {
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
}

li {
    margin-bottom: 8px;
}

.info-panel {
    padding: clamp(24px, 5vw, 44px);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
}

.site-footer {
    margin-top: 40px;
    padding-block: 25px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
}

@media (max-width: 800px) {
    .box-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding-top: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
/* Boxology listing and detail-page additions */

.muted,
.small-note {
    color: var(--muted);
}

.small-note {
    font-size: 0.875rem;
}

.product-image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.detail-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.notice {
    margin-block: 24px;
    padding: 16px 20px;
    border: 1px solid #c9ad78;
    border-radius: 10px;
    background: #fff4dc;
    color: #59421e;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 40px;
    margin-top: 32px;
}

.detail-placeholder {
    min-height: 430px;
    border-radius: 16px;
}

.detail-title {
    font-size: clamp(2rem, 4vw, 3rem);
}

.purchase-options {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.purchase-option {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}

.purchase-option h2 {
    margin-top: 0;
    font-size: 1.25rem;
}

.purchase-option .price {
    font-size: 1.25rem;
}

button.button {
    border: 0;
    font: inherit;
    font-weight: 700;
}

button.button:disabled {
    background: #ded8d0;
    color: #514a42;
    cursor: not-allowed;
}

.faq details {
    padding-block: 16px;
}

.faq details:first-child {
    border-top: 0;
}

@media (max-width: 800px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-placeholder {
        min-height: 280px;
    }
}
/* Boxology journal */

.journal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.journal-card-title {
    font-size: 1.5rem;
}

.journal-card-title a {
    color: var(--text);
    text-decoration: none;
}

.journal-card-title a:hover {
    text-decoration: underline;
}

.article-body {
    max-width: 760px;
    margin-inline: auto;
    padding-block: 20px;
    overflow-wrap: anywhere;
}

.article-intro {
    color: var(--muted);
    font-size: 1.15rem;
}

.article-section {
    margin-top: 36px;
}

.article-section h2 {
    font-size: 1.65rem;
}

.article-cta {
    margin-top: 40px;
}

@media (max-width: 800px) {
    .journal-grid {
        grid-template-columns: 1fr;
    }
}
/* Affiliate recommendations */

.affiliate-disclosure {
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: var(--surface);
}

.recommendation-grid {
    margin-top: 24px;
}

.recommendation-grid .box-card {
    display: flex;
    flex-direction: column;
}

.recommendation-grid .card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.recommendation-grid .button {
    margin-top: auto;
}
/* Shared navigation and footer */

nav a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

nav a.nav-active {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.footer-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.footer-layout > div {
    max-width: 520px;
}

.footer-layout nav {
    padding-top: 8px;
}

@media (max-width: 800px) {
    .footer-layout {
        flex-direction: column;
        gap: 16px;
    }
}