:root {
    --bg: #121212;
    --text: #f5f5f5;
    --panel: #1a1a1a;
    --panel-2: #2c2c2c;
    --accent-1: #ff4d4d;
    --accent-1-mid: #d93e3e;
    --accent-1-dark: #a82d2d;
    --container-width: clamp(340px, 60vw, 900px);
    --panel-height: auto;
    --panel-gap: clamp(12px, 2vw, 20px);
    --nav-width: clamp(60px, 7vw, 80px);
    --radius: 8px;
    --shadow-outer: 0 0 16px rgba(0,0,0,0.4);
    --shadow-inset-1: inset 0 4px 8px rgba(0,0,0,0.5);
    --shadow-inset-2: inset 0 -2px 4px rgba(255,255,255,0.06);
    --fs-base: clamp(13px, 1.1vw, 15px);
    --fs-logo: clamp(20px, 2.8vw, 28px);
    --fs-h1: clamp(28px, 5vw, 56px);
    --font-base: 'Raleway', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    background-color: var(--bg);
    color: var(--text);
    font-size: var(--fs-base);
    overflow: hidden;

}


.raleway-light { font-weight: 300; }
.raleway-regular { font-weight: 400; }
.raleway-medium { font-weight: 500; }
.raleway-bold { font-weight: 700; }
.raleway-black { font-weight: 900; }
.mono { font-family: ui-monospace, monospace; }

#content {
    overflow: auto;
    max-height: none;
    width: 100%;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 6px 0 10px;
}

.page-header .page-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.page {
    width: 100%;
    min-height: 100%;         /* i stedet for height:100% */
    display: flex;
    align-items: center;      /* vertikalt center */
    justify-content: center;  /* horisontalt center */
    text-align: center;
    padding: 0.8rem;
    box-sizing: border-box;
}


.page-inner {
    max-width: none;
    width: 100%;
    margin: 0 auto;
}

.page h1 {
    margin: 0 0 0.3em 0;
    font-size: clamp(20px, 2.8vw, 30px);
    font-weight: 700;
}

.page p {
    line-height: 1.5;
    margin: 0.5em 0;
    font-weight: 400;
}

.muted { opacity: 0.85; }

#raindrop-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}