/* Ovu brand tokens and page components, layered on site.css. Colors follow the pink-to-purple app icon. */

:root {
    --bg: #fffaf9;
    --surface: #fbf1f6;
    --surface-raised: #ffffff;
    --text: #2b1a30;
    --text-muted: #6b5870;
    --border: #f1e1ec;
    --shadow: 0 1px 2px rgb(90 30 90 / 5%), 0 18px 44px rgb(90 30 90 / 9%);
    --shadow-float: 0 2px 6px rgb(90 30 90 / 7%), 0 22px 48px rgb(110 40 120 / 16%);
    --accent: #a43fb8;
    --accent-strong: #7a2a8c;
    --accent-soft: #f7e6f6;
    --accent-fill: linear-gradient(120deg, #c93576 0%, #a43fb8 55%, #7c4ddc 100%);
    --accent-fill-hover: linear-gradient(120deg, #bd2f6b 0%, #8f33a2 55%, #6a3fc7 100%);
    --accent-glow: rgb(170 60 170 / 30%);
    --accent-gradient: linear-gradient(135deg, #c93576 0%, #a43fb8 50%, #7c4ddc 100%);
    --accent-text: linear-gradient(100deg, #df3f80, #a43fb8 55%, #7c4ddc);
    --on-accent-ink: #7a2a8c;

    --tone-1: #fde3ec;
    --tone-1-ink: #c02c6c;
    --tone-2: #efe5fc;
    --tone-2-ink: #7443c4;
    --tone-3: #ffeadd;
    --tone-3-ink: #b4562a;
    --tone-4: #f8e2f6;
    --tone-4-ink: #9b3899;

    --aura-1: rgb(160 110 240 / 22%);
    --aura-2: rgb(245 110 165 / 22%);
    --aura-3: rgb(255 180 140 / 16%);

    --cycle-period: #e8508f;
    --cycle-fertile: #b092f4;
    --cycle-today: #a43fb8;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #140e17;
        --surface: #1c1420;
        --surface-raised: #251b2a;
        --text: #f6ecf7;
        --text-muted: #bba9c1;
        --border: #36293c;
        --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 18px 44px rgb(0 0 0 / 40%);
        --shadow-float: 0 2px 6px rgb(0 0 0 / 30%), 0 22px 48px rgb(0 0 0 / 55%);
        --accent: #e09af2;
        --accent-strong: #f0c1fb;
        --accent-soft: rgb(224 154 242 / 13%);
        --accent-glow: rgb(170 60 170 / 36%);
        --accent-text: linear-gradient(100deg, #ff8fb8, #dc93f0 55%, #b39bff);
        --tone-1: rgb(240 110 160 / 13%);
        --tone-1-ink: #f79ac0;
        --tone-2: rgb(165 135 245 / 14%);
        --tone-2-ink: #c3adf8;
        --tone-3: rgb(250 165 120 / 11%);
        --tone-3-ink: #f4b592;
        --tone-4: rgb(225 130 225 / 12%);
        --tone-4-ink: #eaa3e8;
        --aura-1: rgb(140 90 230 / 20%);
        --aura-2: rgb(230 80 140 / 16%);
        --aura-3: rgb(250 160 120 / 7%);
        --cycle-today: #e09af2;
    }
}

/* Hero artwork: an illustrative cycle card with the app icon and floating chips */

.ovu-visual { position: relative; width: min(400px, 100%); margin-inline: auto; padding: 44px 0 40px; }

.cycle-card { padding: 30px 28px 26px; border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); border-radius: 36px; background: color-mix(in srgb, var(--surface-raised) 86%, transparent); box-shadow: var(--shadow-float); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.site .cycle-card__title { margin: 0 0 10px; padding-left: 92px; color: var(--text-muted); font-size: var(--text-caption); font-weight: 600; letter-spacing: 0.02em; text-align: left; }
.ovu-visual__icon { position: absolute; left: -18px; top: 0; width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 16px 34px rgb(140 60 160 / 34%); transform: rotate(-8deg); }

.cycle-ring { display: block; width: 100%; height: auto; }
.cycle-dot--day { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.cycle-dot--period { fill: var(--cycle-period); background: var(--cycle-period); }
.cycle-dot--fertile { fill: var(--cycle-fertile); background: var(--cycle-fertile); }
.cycle-dot--today { fill: var(--cycle-today); }
.cycle-today-ring { fill: none; stroke: var(--cycle-today); stroke-width: 2; opacity: 0.35; }
.cycle-day { fill: var(--text); font-family: var(--font-display); font-size: 38px; font-variation-settings: 'SOFT' 100, 'WONK' 0; letter-spacing: -0.03em; }
.cycle-sub { fill: var(--text-muted); font-family: var(--font); font-size: 12px; }
.cycle-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 14px 0 0; padding: 0; color: var(--text-muted); font-size: var(--text-caption); font-weight: 500; list-style: none; }
.cycle-legend li { display: flex; align-items: center; gap: 7px; }
.cycle-swatch { width: 10px; height: 10px; border-radius: 50%; }

.ovu-visual .chip { position: absolute; }
.chip--next { right: -26px; top: 18px; }
.chip--mood { left: -30px; bottom: 0; }
.chip--next .icon-badge { background: var(--tone-1); color: var(--tone-1-ink); }
.chip--mood .icon-badge { background: var(--tone-2); color: var(--tone-2-ink); }

/* Community */

.site .supporter { padding: 36px; border: 0; background: var(--accent-gradient); color: #ffffff; box-shadow: 0 22px 48px var(--accent-glow); }
.site .supporter h3 { margin: 22px 0 10px; color: #ffffff; font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; font-variation-settings: 'SOFT' 100, 'WONK' 0; letter-spacing: -0.02em; }
.supporter p { color: rgb(255 255 255 / 92%); }
.supporter .icon-badge { background: rgb(255 255 255 / 20%); color: #ffffff; }

@media (max-width: 520px) {
    .ovu-visual { padding-bottom: 48px; }
    .ovu-visual__icon { left: -6px; width: 80px; height: 80px; border-radius: 20px; }
    .site .cycle-card__title { padding-left: 76px; }
    .cycle-card { padding: 26px 20px 22px; border-radius: 30px; }
    .chip--next { right: -6px; top: 6px; }
    .chip--mood { left: -6px; }
    .ovu-visual .chip { padding: 9px 14px 9px 9px; font-size: var(--text-caption); }
    .ovu-visual .chip small { font-size: 0.75rem; }
    .ovu-visual .chip .icon-badge { width: 34px; height: 34px; }
}
