:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --text: #0f172a;
    --muted: #475569;
    --brand: #136f63;
    --brand-2: #1c9b8e;
    --danger: #b42318;
    --radius: 14px;
    --shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top right, #d9f4ef, var(--bg) 45%);
}
a { color: inherit; text-decoration: none; }
.topbar, .marketing-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.5rem; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px);
    position: sticky; top: 0; z-index: 2; border-bottom: 1px solid #e2e8f0;
}
.brand { font-weight: 700; letter-spacing: 0.03em; }
.top-actions, .marketing-nav nav { display: flex; align-items: center; gap: 1rem; }
.app-grid { display: grid; grid-template-columns: 260px 1fr; gap: 1rem; padding: 1rem; }
.sidebar { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; height: fit-content; }
.content { min-height: 90vh; }
.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.hero { max-width: 850px; padding: 4rem 1.5rem 2rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); margin: 0.3rem 0; line-height: 1.06; }
.hero p { color: var(--muted); max-width: 62ch; }
.kicker { color: var(--brand); text-transform: uppercase; letter-spacing: .2em; font-size: .75rem; }
.btn, button {
    border: 0; border-radius: 999px; background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff;
    padding: .65rem 1rem; cursor: pointer; font-weight: 600;
    transition: transform .2s ease, filter .2s ease;
}
.btn:hover, button:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-ghost { background: #e2e8f0; color: var(--text); }
.link-btn { background: none; color: var(--text); padding: 0; }
.form-grid { display: grid; gap: .75rem; }
.form-inline { display: flex; gap: .5rem; flex-wrap: wrap; }
input, textarea, select {
    width: 100%; padding: .7rem; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff;
}
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible {
    outline: 2px solid #0ea5e9; outline-offset: 2px;
}
.timeline-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.timeline-day { padding: .8rem; background: var(--surface-alt); border-radius: 10px; margin-bottom: .8rem; }
.timeline-item { border-left: 3px solid var(--brand); padding-left: .6rem; margin-bottom: .5rem; }
.comment { border-top: 1px solid #e2e8f0; padding-top: .5rem; margin-top: .5rem; }
.toast-stack { position: fixed; right: 1rem; bottom: 1rem; display: grid; gap: .5rem; z-index: 9; }
.toast { padding: .8rem 1rem; border-radius: 10px; color: #fff; box-shadow: var(--shadow); }
.toast-success { background: #147d4f; }
.toast-error { background: var(--danger); }
.toast-info { background: #0369a1; }
.muted { color: var(--muted); }
.fade-in { animation: fadeIn .5s ease; }
.fade-in-up { animation: fadeInUp .55s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
    .app-grid { grid-template-columns: 1fr; }
    .timeline-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
