@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
    --main-orange: #e88944;
    --bg-color: #e88944;
    --text-color: #201511;
    --card-bg-color: #e1d6c5;
    --card-text-color: #201511;
    --primary-color: var(--main-orange);
    --secondary-color: var(--main-orange);
    --tradeoff-yellow: #FFD700;
    --tradeoff-red: #ff4081;
    --tradeoff-green: var(--main-orange);
    --carousel-button-bg: rgba(0, 0, 0, 0.05);

    /* Type scale */
    --font-heading: 'Archivo', sans-serif;
    --font-body: 'Public Sans', sans-serif;
    --text-xs: 0.7em;
    --text-sm: 0.8em;
    --text-base: 0.9em;
    --text-md: 1em;
    --text-lg: 1.1em;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg-color);
    font-size: 1.2em;
    font-family: var(--font-body);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

#networkCanvas { display: none; }

h1 span { color: #201511 }
h1, h2, h3 { font-family: var(--font-heading); color: var(--text-color); margin: 0; text-align: left; }
h1 { font-size: 2.525em; font-weight: 500; line-height: 1.1; }
h2 { font-size: 1.925em; font-weight: 500; line-height: 1.3; margin-top: 2em; margin-bottom: 1em; }
h3 { font-weight: 700; color: var(--text-color); }

p { font-size: var(--text-base); margin-bottom: 10px; line-height: 1.5; }
html { scroll-padding-top: 90px; }
a { color: var(--text-color) }
::selection { background: #e1d6c5; color: #201511; }

#theme-toggle { display: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Shared card base */
.base-card { background: #e1d6c5; border-radius: .5em; padding: 1.2em; border: none; box-sizing: border-box; }
.base-card-inner { background: rgba(255,255,255,0.4); border-radius: .4em; padding: 1em; }

/* Button system */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 12px 24px; background: #201511; color: #e1d6c5; border: 2px solid #201511; border-radius: 999px; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.btn-primary:hover { background: transparent; color: #201511; }
.btn-secondary { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 700; text-decoration: none; color: #201511; opacity: 0.65; transition: opacity 0.2s; }
.btn-secondary:hover { opacity: 1; }
