:root {
    color-scheme: light;
    --bg: #f6f0e6;
    --bg-accent: radial-gradient(circle at top left, rgba(216, 118, 60, 0.28), transparent 38%),
        radial-gradient(circle at bottom right, rgba(43, 124, 176, 0.2), transparent 40%),
        linear-gradient(135deg, #f7f1e7 0%, #f1e5d0 100%);
    --surface: rgba(255, 251, 247, 0.82);
    --surface-strong: #fffaf5;
    --surface-border: rgba(118, 83, 56, 0.14);
    --text: #23170f;
    --muted: #6d5b4b;
    --primary: #c75f2f;
    --primary-strong: #a6491f;
    --secondary: #ecded0;
    --secondary-text: #3f3228;
    --success: #3b8e62;
    --shadow: 0 22px 60px rgba(83, 52, 27, 0.14);
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #131a20;
    --bg-accent: radial-gradient(circle at top left, rgba(247, 142, 83, 0.2), transparent 34%),
        radial-gradient(circle at bottom right, rgba(99, 167, 244, 0.22), transparent 32%),
        linear-gradient(135deg, #10161c 0%, #19242f 100%);
    --surface: rgba(14, 21, 27, 0.82);
    --surface-strong: #111a20;
    --surface-border: rgba(182, 198, 216, 0.12);
    --text: #edf3f8;
    --muted: #9eb0bf;
    --primary: #f28550;
    --primary-strong: #ffa87d;
    --secondary: rgba(35, 49, 61, 0.9);
    --secondary-text: #eff5fb;
    --success: #67d094;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg-accent);
}

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

button,
input {
    font: inherit;
}

.eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
}

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

.theme-toggle,
.secondary-button,
.primary-button {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.theme-toggle:hover,
.secondary-button:hover,
.primary-button:hover {
    transform: translateY(-1px);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1rem;
    background: var(--secondary);
    color: var(--secondary-text);
}

.theme-toggle__icon {
    display: inline-grid;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
}

.primary-button {
    padding: 0.95rem 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 14px 28px rgba(199, 95, 47, 0.24);
}

.primary-button:disabled {
    cursor: wait;
    opacity: 0.8;
}

.secondary-button {
    padding: 0.95rem 1.2rem;
    background: var(--secondary);
    color: var(--secondary-text);
}
