:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --bg-color: #ffffff;
    --section-bg: #f8f9fa;
    --border-color: #e9ecef;
    --text-color: #333333;
    --text-muted: #6c757d;
    --max-width: 1000px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.top-notice {
    background-color: var(--section-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

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

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #2980b9;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--section-bg);
    text-decoration: none;
}

/* Main Content Areas */
section {
    padding: 60px 0;
}

.section-grey {
    background-color: var(--section-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

h2 {
    margin-bottom: 30px;
    font-size: 1.75rem;
    color: var(--primary-color);
}

/* Grid/List Blocks */
.grid-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.block {
    background: white;
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 4px;
}

.block h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Table-like blocks */
.doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.doc-table th, .doc-table td {
    text-align: left;
    padding: 15px;
    border: 1px solid var(--border-color);
}

.doc-table th {
    background-color: var(--section-bg);
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

textarea {
    height: 150px;
}

/* Footer */
footer {
    background-color: var(--section-bg);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-color);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Workflow steps */
.steps {
    list-style: none;
    counter-reset: step-counter;
}

.steps li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
}

.steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links {
        margin-top: 20px;
        flex-wrap: wrap;
    }
    .nav-links li {
        margin-left: 0;
        margin-right: 20px;
        margin-bottom: 10px;
    }
    .hero h1 {
        font-size: 2rem;
    }
}
