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

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background-color: var(--canvas);
    color: #0F172A;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
}

/* Old marketing-site highlight — was SaaS blue, now brand slate */
.logo-highlight {
    font-size: 24px;
    font-weight: 700;
    color: var(--slate);
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Primary buttons — brand slate, not SaaS blue */
.btn-primary {
    background-color: var(--slate);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--slate-hover);
}

.btn-secondary {
    background-color: transparent;
    color: #0F172A;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid #E2E8F0;
    transition: border-color 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--slate);
    color: var(--slate);
}

.btn-secondary-light {
    background-color: transparent;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,0.6);
    transition: all 0.2s ease;
}

.btn-secondary-light:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* Full-width buttons (used on the auth pages) — brand slate */
.btn-full {
    width: 100%;
    padding: 12px;
    background-color: var(--slate);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 8px;
}

.btn-full:hover {
    background-color: var(--slate-hover);
}

/* Old marketing hero — SaaS-blue gradient swapped for canvas (no
   live page renders this any more, but kept brand-correct in case
   it's referenced from somewhere) */
.hero {
    background: var(--canvas);
    padding: 100px 60px;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255,255,255,0.15);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-highlight {
    color: #ffffff;
    opacity: 0.85;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.features {
    padding: 80px 60px;
    background-color: var(--canvas);
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.features-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: #ffffff;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(31,31,31,0.12);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
}

.footer {
    background-color: #0F172A;
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 24px 60px;
    font-size: 13px;
}

/* AUTH PAGE — was a blue gradient, now brand canvas (bone) */
.auth-page {
    min-height: 100vh;
    background: var(--canvas);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Auth card stays paper-white. Shadow softened from the old SaaS
   "lift" look to something quieter that suits the bone canvas. */
.auth-card {
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 1px 2px rgba(31,31,31,0.04), 0 8px 24px rgba(31,31,31,0.06);
}

.auth-logo {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-bottom: 32px;
    font-size: 28px;
    font-weight: 700;
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: #64748B;
    text-align: center;
    margin-bottom: 32px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.form-group input {
    padding: 11px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #0F172A;
    transition: border-color 0.2s ease;
    outline: none;
}

/* Focus ring — brand slate, was SaaS blue. Soft tint also brand-correct. */
.form-group input:focus {
    border-color: var(--slate);
    box-shadow: 0 0 0 3px var(--slate-soft);
}

.form-group select {
    padding: 11px 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    color: #0F172A;
    background-color: #ffffff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.error-box {
    background-color: #FEF2F2;
    border: 1px solid #EF4444;
    color: #EF4444;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.form-options {
    display: flex;
    justify-content: flex-end;
}

/* Forgot password link — brand slate */
.forgot-link {
    font-size: 13px;
    color: var(--slate);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-switch {
    text-align: center;
    font-size: 14px;
    color: #64748B;
    margin-top: 24px;
}

/* Auth-page bottom links — brand slate */
.auth-switch a {
    color: var(--slate);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}