/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #0f3460;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #fafafa;
    --color-white: #fff;
    --color-border: #e0e0e0;
    --max-width: 1100px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3 {
    color: var(--color-primary);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.125rem;
    font-weight: 500;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary);
}

/* Header */
header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul a {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

nav ul a:hover {
    color: var(--color-primary);
}

/* Main Content */
main {
    flex: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

section {
    margin-bottom: 4rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.tagline {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

/* About Section */
.about p {
    max-width: 700px;
    color: var(--color-text-light);
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.service {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.service h3 {
    margin-bottom: 0.75rem;
}

.service p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Contact Section */
.contact p {
    color: var(--color-text-light);
}

.contact a {
    font-weight: 500;
}

/* Legal Pages */
.legal {
    max-width: 800px;
}

.legal h1 {
    margin-bottom: 0.5rem;
}

.effective-date {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.legal section {
    margin-bottom: 2rem;
}

.legal p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.legal ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.legal li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 2rem;
    text-align: center;
}

footer p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

footer nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
}

footer nav a {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    .hero {
        padding: 2rem 0;
    }

    main {
        padding: 1.5rem;
    }
}
