/* Landerist Design System — Vercel-inspired Light Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #ffffff;
    --color-text: #171717;
    --color-text-secondary: #4d4d4d;
    --color-text-muted: #666666;
    --color-link: #0072f5;
    --color-link-hover: #005bc4;
    --color-border-shadow: rgba(0, 0, 0, 0.08);
    --color-gray-50: #fafafa;
    --color-gray-100: #ebebeb;
    --shadow-ring: 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
    --shadow-card: 0px 0px 0px 1px rgba(0, 0, 0, 0.08), 0px 2px 2px rgba(0, 0, 0, 0.04), 0px 8px 8px -8px rgba(0, 0, 0, 0.04), inset 0px 0px 0px 1px #fafafa;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, 'Roboto Mono', Menlo, Monaco, 'Liberation Mono', monospace;
}

html {
    font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    padding: 0;
}

/* Layout */
.page-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-ring);
    padding: 0 24px;
}

.nav-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.72px;
    color: var(--color-text);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav-links a:hover {
    color: var(--color-text-muted);
}

/* Hero */
.hero {
    padding: 80px 0 48px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -2.4px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

/* Page header (subpages) */
.page-header {
    padding: 48px 0 8px;
}

.page-header .back-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease;
}

.page-header .back-link:hover {
    color: var(--color-text);
}

.page-header h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -2.4px;
    margin-top: 24px;
}

.page-header p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-top: 12px;
}

/* Sections */
.section {
    padding: 48px 0;
}

.section + .section {
    border-top: 1px solid var(--color-gray-100);
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.96px;
    line-height: 1.33;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.8px;
    line-height: 1.33;
    margin-bottom: 12px;
}

/* Cards */
.card {
    background: var(--color-bg);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-md);
    padding: 24px;
}

.card + .card {
    margin-top: 16px;
}

/* Lists */
.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-gray-100);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gray-100);
    margin-right: 12px;
    vertical-align: middle;
}

.ordered-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.ordered-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-gray-100);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    counter-increment: step-counter;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.ordered-list li:last-child {
    border-bottom: none;
}

.ordered-list li::before {
    content: counter(step-counter);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-text);
    color: var(--color-bg);
    font-size: 12px;
    font-weight: 600;
}

/* Links */
a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--color-link-hover);
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin-top: 16px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.43;
    box-shadow: var(--shadow-ring);
    border-radius: var(--radius-md);
    overflow: hidden;
}

thead {
    background: var(--color-gray-50);
}

thead th {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-100);
}

tbody td {
    padding: 12px 16px;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-gray-100);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--color-gray-50);
}

/* Team */
.team-member {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-member a {
    font-weight: 500;
    color: var(--color-text);
}

.team-member a:hover {
    color: var(--color-link);
}

/* Footer */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--color-gray-100);
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Statistics page */
#Statistics {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#Statistics canvas {
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-md);
    padding: 16px;
}

/* Responsive */
@media (max-width: 600px) {
    .hero {
        padding: 48px 0 32px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -1.28px;
    }

    .hero p {
        font-size: 16px;
    }

    .page-header h1 {
        font-size: 32px;
        letter-spacing: -1.28px;
    }

    .section {
        padding: 32px 0;
    }

    .section-title {
        font-size: 20px;
        letter-spacing: -0.8px;
    }

    .nav-links {
        gap: 16px;
    }

    thead th, tbody td {
        padding: 8px 12px;
    }
}
