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

:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --primary: #f54e00;
    --primary-active: #d04200;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --on-primary: #ffffff;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --success: #1f8a65;
    --error: #cf2d56;
    --font-sans: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 9999px;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--canvas);
    color: var(--body);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-nav {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--ink);
    flex-shrink: 0;
}

.nav-logo:hover { color: var(--primary); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--ink);
    background: var(--hairline-soft);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.hero-band {
    background: var(--canvas);
    padding: 80px 24px;
    text-align: center;
    border-bottom: 1px solid var(--hairline);
}

.hero-band h1 {
    font-family: var(--font-sans);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--ink);
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero-band p {
    font-size: 18px;
    color: var(--body);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.badge-pill {
    display: inline-block;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    line-height: 1;
    text-decoration: none;
}

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

.btn-secondary {
    display: inline-block;
    background: var(--surface-card);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--hairline-strong);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    line-height: 1;
    text-decoration: none;
}

.btn-secondary:hover { background: var(--canvas-soft); color: var(--ink); }

.section { padding: 80px 24px; }

.section-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-body {
    font-size: 16px;
    color: var(--body);
    max-width: 640px;
    line-height: 1.5;
    margin-bottom: 48px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color 0.2s;
}

.feature-card:hover { border-color: var(--hairline-strong); }

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-card p {
    font-size: 15px;
    color: var(--body);
    line-height: 1.5;
}

.card-icon {
    width: 36px;
    height: 36px;
    background: var(--surface-strong);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
}

.articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.article-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.article-card:hover { border-color: var(--hairline-strong); }

.article-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--surface-strong);
}

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-meta {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 10px;
}

.article-card p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 20px;
}

.article-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.article-card-link:hover { color: var(--primary-active); }

.page-hero {
    background: var(--canvas);
    padding: 64px 24px 48px;
    border-bottom: 1px solid var(--hairline);
}

.page-hero .badge-pill { margin-bottom: 16px; }

.page-hero h1 {
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.8px;
    color: var(--ink);
    line-height: 1.2;
    max-width: 760px;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 17px;
    color: var(--body);
    max-width: 640px;
    line-height: 1.5;
}

.page-hero .meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 20px;
}

.article-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    line-height: 1.25;
    margin-top: 56px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hairline-soft);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-top: 36px;
    margin-bottom: 12px;
}

.article-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 20px;
}

.article-content ul, .article-content ol {
    list-style: none;
    margin-bottom: 20px;
}

.article-content ul li, .article-content ol li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.article-content ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--muted);
}

.article-content ol {
    counter-reset: ol-counter;
}

.article-content ol li::before {
    counter-increment: ol-counter;
    content: counter(ol-counter) '.';
    position: absolute;
    left: 0;
    color: var(--muted);
    font-size: 14px;
}

.article-image {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    margin: 32px 0;
    object-fit: cover;
    max-height: 420px;
}

.article-image-caption {
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    margin-top: -20px;
    margin-bottom: 32px;
}

.info-box {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 28px 0;
}

.info-box p {
    font-size: 15px;
    color: var(--body-strong);
    margin-bottom: 0;
    line-height: 1.55;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14px;
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.data-table th {
    background: var(--canvas-soft);
    color: var(--body-strong);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hairline);
    font-size: 13px;
    letter-spacing: 0.3px;
}

.data-table td {
    padding: 12px 16px;
    color: var(--body);
    border-bottom: 1px solid var(--hairline-soft);
    vertical-align: top;
}

.data-table tr:last-child td { border-bottom: none; }

.data-table tr:hover td { background: var(--canvas-soft); }

.related-articles {
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline);
    padding: 64px 24px;
}

.related-articles h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin-bottom: 32px;
}

.contact-section {
    background: var(--canvas);
    padding: 80px 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 960px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.64px;
    color: var(--ink);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-form {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--surface-card);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 15px;
    transition: border-color 0.15s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit-btn {
    width: 100%;
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.form-submit-btn:hover { background: var(--primary-active); }
.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
    display: none;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
}

.form-message.success {
    background: #e8f5ef;
    color: var(--success);
    border: 1px solid #b8deca;
    display: block;
}

.form-message.error {
    background: #fdedf0;
    color: var(--error);
    border: 1px solid #f0b8c0;
    display: block;
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 24px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--ink);
    display: block;
    margin-bottom: 12px;
}

.footer-logo:hover { color: var(--primary); }

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

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

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

.footer-col ul li a {
    font-size: 14px;
    color: var(--body);
    transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--ink); }

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

.footer-legal a {
    color: var(--muted);
    font-size: 13px;
}

.footer-legal a:hover { color: var(--ink); }

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 560px;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(38,37,30,0.08);
    z-index: 9999;
    padding: 20px 24px;
}

.cookie-banner.visible { display: block; }

.cookie-inner p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.55;
    margin-bottom: 16px;
}

.cookie-inner p a { color: var(--primary); }

.cookie-actions {
    display: flex;
    gap: 10px;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

.page-content h1 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 32px;
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 48px;
    margin-bottom: 14px;
}

.page-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 18px;
}

.page-content ul {
    list-style: none;
    margin-bottom: 18px;
}

.page-content ul li {
    font-size: 16px;
    color: var(--body);
    padding-left: 18px;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.55;
}

.page-content ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--muted);
}

.disclaimer-box {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .articles-list { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero-band h1 { font-size: 36px; letter-spacing: -0.8px; }
    .hero-band { padding: 56px 20px; }
    .section { padding: 56px 20px; }
    .section-title { font-size: 28px; }
    .cards-grid { grid-template-columns: 1fr; }
    .articles-list { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 28px; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 12px 24px; width: 100%; border-radius: 0; }
    .site-nav { position: relative; }
    .page-hero h1 { font-size: 30px; }
    .contact-grid { gap: 28px; }
}

@media (max-width: 480px) {
    .hero-band h1 { font-size: 28px; }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}
