:root {
    color-scheme: light;

    --bg: #F4F3F0;
    --surface: #FEFDF9;
    --text: #23262C;
    --navy: #192432;
    --gold: #AF9060;
    --gold-text: #8A6D45;
    --border: #E8E6DD;

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
}

.card {
    width: 100%;
    max-width: 30rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2.25rem);
    padding: clamp(2rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(25, 36, 50, 0.04), 0 8px 24px rgba(25, 36, 50, 0.05);
    text-align: center;
}

.wordmark {
    width: clamp(170px, 34vw, 260px);
    height: auto;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 1.75rem);
}

h1 {
    margin: 0;
    font-size: clamp(1.1rem, 0.9rem + 1vw, 1.65rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--gold-text);
}

.subhead {
    margin: 0;
    font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
    font-weight: 400;
    color: var(--text);
    opacity: 0.82;
}

.principles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.85;
}

.principles li {
    padding: 0 0.6rem;
}

.principles li:not(:first-child) {
    border-left: 1px solid var(--border);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.85;
    border: 1px solid var(--border);
    border-radius: 999px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

a {
    color: var(--gold-text);
}

.secondary-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.secondary-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.7;
    text-decoration: none;
}

.secondary-action:hover {
    color: var(--gold-text);
}

.secondary-action:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.article {
    max-width: 42rem;
    text-align: left;
    align-items: stretch;
}

.page-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.page-header .back-link {
    grid-column: 1;
    justify-self: start;
}

.page-header .page-mark {
    grid-column: 2;
}

.back-link {
    font-size: 0.85rem;
    color: var(--text);
    opacity: 0.7;
    text-decoration: none;
}

.back-link:hover {
    color: var(--gold-text);
}

.back-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

article {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2rem);
}

.page-mark {
    width: clamp(64px, 16vw, 96px);
    height: auto;
}

.page-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(1rem, 3vw, 1.25rem);
    margin-top: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.page-intro h1 {
    font-size: clamp(1.17rem, 0.95rem + 1.05vw, 1.75rem);
}

.page-intro .subhead {
    max-width: 36rem;
}

article section h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
    font-weight: 500;
    letter-spacing: -0.005em;
}

article section p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
}

/* Product page (internal, unpublished) */
.product {
    max-width: 56rem;
}

.product-flow {
    gap: clamp(3rem, 8vw, 5rem);
}

.product-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 3.5rem);
}

.product-section:nth-child(even) {
    flex-direction: row-reverse;
}

.product-shot {
    flex: 0 0 auto;
    width: clamp(210px, 42vw, 290px);
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(25, 36, 50, 0.14));
}

.product-copy {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 640px) {
    .product-section,
    .product-section:nth-child(even) {
        flex-direction: column;
    }

    .product-shot {
        width: min(260px, 72vw);
    }
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social {
    display: flex;
    gap: 0.5rem;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--navy);
    border-radius: 50%;
    transition: color 150ms ease, background-color 150ms ease;
}

.social a:hover {
    color: var(--gold);
    background: var(--bg);
}

.social a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.social svg {
    width: 18px;
    height: 18px;
}

.copyright {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text);
    opacity: 0.55;
}

@media (max-width: 420px) {
    .principles {
        flex-direction: column;
        gap: 0.35rem;
    }

    .principles li,
    .principles li:not(:first-child) {
        border-left: none;
        padding: 0;
    }
}
