:root {
    /* Notion Design System Colors */
    --c-bg-page: #ffffff;
    --c-bg-warm: #f6f5f4;
    --c-text-primary: rgba(0, 0, 0, 0.95);
    --c-text-secondary: #615d59;
    --c-text-muted: #a39e98;
    --c-primary: #0075de;
    --c-primary-hover: #005bab;
    --c-border: rgba(0, 0, 0, 0.1);
    --c-bg-card: #ffffff;
    --c-badge-bg: #f2f9ff;
    --c-badge-text: #097fe8;
    --c-focus: #097fe8;

    /* Shadows */
    --shadow-whisper: 1px solid var(--c-border);
    --shadow-card: rgba(0, 0, 0, 0.04) 0px 4px 18px, rgba(0, 0, 0, 0.027) 0px 2.025px 7.85px, rgba(0, 0, 0, 0.02) 0px 0.8px 2.93px, rgba(0, 0, 0, 0.01) 0px 0.175px 1.04px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--c-text-primary);
    background-color: var(--c-bg-page);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--c-text-primary);
    font-feature-settings: "lnum" 1, "locl" 1;
}

.text-hero {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Up to 64px */
    line-height: 1.05;
    letter-spacing: -1.5px; /* Scaled compression */
    margin-bottom: 24px;
}

.text-h2 {
    font-size: clamp(2rem, 4vw, 3rem); /* Up to 48px */
    line-height: 1.1;
    letter-spacing: -1.2px;
    margin-bottom: 24px;
}

.text-h3 {
    font-size: 1.63rem; /* 26px */
    line-height: 1.23;
    letter-spacing: -0.625px;
    margin-bottom: 16px;
}

.text-card-title {
    font-size: 1.38rem; /* 22px */
    line-height: 1.27;
    letter-spacing: -0.25px;
    margin-bottom: 8px;
}

.text-body-large {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.125px;
    color: var(--c-text-secondary);
}

.text-body {
    font-size: 1rem; /* 16px */
    font-weight: 400;
    line-height: 1.5;
}

p {
    margin-bottom: 16px;
}

a {
    color: var(--c-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.text-muted {
    color: var(--c-text-muted);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-warm {
    background-color: var(--c-bg-warm);
}

/* Header & Nav */
.site-header {
    background: var(--c-bg-page);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: var(--shadow-whisper);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--c-text-primary);
    font-weight: 500;
    font-size: 0.94rem;
}

.nav-links a:hover {
    color: var(--c-primary);
    text-decoration: none;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.hero p {
    margin-bottom: 40px;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.94rem;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--c-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--c-primary-hover);
    text-decoration: none;
}

.btn-secondary {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--c-text-primary);
}

.btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

/* Cards & Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.card {
    background: var(--c-bg-card);
    border: var(--shadow-whisper);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-title {
    font-size: 1.38rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.25px;
}

/* Use Cases List */
.use-case-list {
    list-style: none;
}

.use-case-list li {
    padding: 16px 0;
    border-bottom: var(--shadow-whisper);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.use-case-list li:last-child {
    border-bottom: none;
}

.use-case-icon {
    color: var(--c-primary);
    font-weight: bold;
    background: var(--c-badge-bg);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.88rem;
}

/* Badge */
.badge {
    display: inline-block;
    background: var(--c-badge-bg);
    color: var(--c-badge-text);
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.125px;
    margin-bottom: 16px;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 60px auto;
}

.legal-content h3 {
    margin-top: 40px;
    font-size: 1.38rem;
    border-bottom: var(--shadow-whisper);
    padding-bottom: 8px;
}

.legal-content ul, .legal-content ol {
    margin-left: 24px;
    margin-bottom: 24px;
    color: var(--c-text-secondary);
}

.legal-content li {
    margin-bottom: 8px;
}

.highlight-box {
    background: var(--c-bg-warm);
    border: var(--shadow-whisper);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
}

.highlight-box strong {
    color: var(--c-text-primary);
}

table.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.94rem;
}

table.legal-table th, table.legal-table td {
    border: var(--shadow-whisper);
    padding: 12px 16px;
    text-align: left;
}

table.legal-table th {
    background: var(--c-bg-warm);
    font-weight: 600;
}

/* Footer */
.site-footer {
    border-top: var(--shadow-whisper);
    padding: 60px 0 40px;
    text-align: center;
    color: var(--c-text-muted);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--c-text-secondary);
    font-size: 0.94rem;
}

.footer-nav a:hover {
    color: var(--c-primary);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile approach, or list them below */
    }
    
    .section {
        padding: 48px 0;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}
