/* Lull website — "Dusk" styling (matches the app design system) */

:root {
    --base: #1C1B33;
    --mid: #2A2550;
    --violet: #4A3A86;
    --primary: #8E7BE0;
    --lavender: #B9A8E8;
    --amber: #F6B66B;
    --amber-bright: #FFD9A0;
    --text: #F3EFE9;
    --text-secondary: #9A92B5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: var(--base);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro", system-ui, sans-serif;
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Layered dusk background */
.bg-gradient {
    position: fixed; inset: 0; z-index: -3;
    background: linear-gradient(180deg, var(--base) 0%, var(--mid) 55%, var(--base) 100%);
}
.bg-bloom-violet {
    position: fixed; top: -220px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 700px; z-index: -2; pointer-events: none;
    background: radial-gradient(circle, rgba(74, 58, 134, 0.55) 0%, transparent 70%);
}
.bg-bloom-amber {
    position: fixed; bottom: -260px; right: -160px;
    width: 520px; height: 520px; z-index: -2; pointer-events: none;
    background: radial-gradient(circle, rgba(246, 182, 107, 0.16) 0%, transparent 70%);
}

main { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }

/* Hero */
.hero { text-align: center; margin-bottom: 40px; }
.hero.compact { margin-bottom: 28px; }
.logo { width: 96px; height: 96px; margin: 0 auto 18px; display: block; }
.wordmark {
    font-size: 44px; font-weight: 800; letter-spacing: -0.02em;
    background: linear-gradient(180deg, var(--text) 0%, var(--lavender) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tagline { color: var(--text-secondary); font-size: 18px; margin-top: 4px; }

/* Cards */
.card {
    background: linear-gradient(150deg, rgba(42, 37, 80, 0.85), rgba(28, 27, 51, 0.85));
    border: 1px solid rgba(185, 168, 232, 0.12);
    border-radius: 20px;
    padding: 28px 26px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}
.card h2 { font-size: 20px; margin: 22px 0 8px; color: var(--text); }
.card h2:first-child { margin-top: 0; }
.card h3 { font-size: 16px; margin: 18px 0 4px; color: var(--lavender); }
.card p, .card li { color: var(--text); opacity: 0.92; margin-bottom: 10px; }
.card .lead { font-size: 18px; color: var(--text); opacity: 1; }
.card ul { padding-left: 20px; }
.effective-date { color: var(--text-secondary); font-size: 14px; margin-bottom: 14px; }
code {
    background: rgba(142, 123, 224, 0.18); padding: 1px 6px; border-radius: 6px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88em;
}
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Disclaimer banner */
.disclaimer {
    border: 1px solid rgba(246, 182, 107, 0.3);
    background: rgba(246, 182, 107, 0.08);
    border-radius: 14px; padding: 14px 18px; margin-bottom: 20px;
    color: var(--amber-bright); font-size: 14px;
}

/* Nav links */
.links { display: flex; gap: 18px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.links a { color: var(--lavender); font-size: 15px; }

/* Home buttons */
.cta { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.cta a {
    padding: 12px 22px; border-radius: 999px; font-weight: 600;
    background: rgba(142, 123, 224, 0.18); color: var(--text);
    border: 1px solid rgba(185, 168, 232, 0.2);
}
.cta a.primary {
    background: linear-gradient(180deg, var(--amber), var(--amber-bright));
    color: var(--base); border: none;
}
footer { text-align: center; color: var(--text-secondary); font-size: 13px; margin-top: 36px; }
