: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;
    --semantic-success: #1f8a65;
    --semantic-error: #cf2d56;
    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-pill: 9999px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--canvas);
    color: var(--body);
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-mark {
    background: var(--ink);
    color: var(--canvas);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--rounded-sm);
    letter-spacing: 0.5px;
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body-strong);
    padding: 8px 12px;
    border-radius: var(--rounded-md);
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
    text-decoration: none;
}

.nav-menu a:hover {
    background: var(--surface-strong);
    color: var(--ink);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.2s;
}

.hero {
    padding: 80px 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline-soft);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 24px;
}

.hero-image {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    aspect-ratio: 4/3;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-primary {
    display: inline-block;
    background: var(--ink);
    color: var(--canvas);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    height: 44px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--on-primary);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: var(--surface-card);
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: 1px solid var(--hairline-strong);
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    transition: background 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
    background: var(--surface-strong);
    color: var(--ink);
}

.section {
    padding: 80px 0;
}

.section-label {
    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: 12px;
}

.section-sub {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.5;
}

.section-header {
    margin-bottom: 48px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    transition: border-color 0.15s;
}

.article-card:hover {
    border-color: var(--hairline-strong);
}

.article-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-card-img img {
    transform: scale(1.02);
}

.article-card-body {
    padding: 24px;
}

.article-card-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 8px;
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 16px;
}

.article-card-meta {
    font-size: 13px;
    color: var(--muted);
}

.article-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tips-band {
    background: var(--surface-card);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tip-item {
    padding: 32px 0;
}

.tip-number {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.tip-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.11px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.tip-text {
    font-size: 15px;
    color: var(--body);
    line-height: 1.5;
}

.featured-band {
    background: var(--canvas);
}

.featured-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.featured-img {
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    aspect-ratio: 4/3;
}

.featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content .section-title {
    margin-bottom: 16px;
}

.featured-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.featured-content .btn-primary {
    margin-top: 8px;
}

.page-hero {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.page-hero .section-label {
    margin-bottom: 12px;
}

.page-hero h1 {
    font-size: 52px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 16px;
    max-width: 700px;
}

.page-hero .lead {
    font-size: 18px;
    color: var(--body);
    max-width: 600px;
    line-height: 1.5;
}

.page-hero .article-meta {
    margin-top: 24px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-content {
    padding: 64px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 680px 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    line-height: 1.25;
    margin-top: 48px;
    margin-bottom: 16px;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.article-body ul li, .article-body ol li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    padding: 6px 0 6px 20px;
    position: relative;
}

.article-body ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted-soft);
}

.article-body ol {
    counter-reset: item;
}

.article-body ol li {
    counter-increment: item;
}

.article-body ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.article-body a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
    text-decoration: none;
}

.article-body a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.article-img-block {
    margin: 32px 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-img-block img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

.article-img-block figcaption {
    font-size: 13px;
    color: var(--muted);
    padding: 10px 16px;
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline);
    font-family: 'JetBrains Mono', monospace;
}

.info-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--ink);
    border-radius: var(--rounded-md);
    padding: 20px 24px;
    margin: 32px 0;
}

.info-box h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}

.info-box p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 0;
}

.tip-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 32px 0;
}

.tip-box-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.tip-box ul {
    margin-bottom: 0;
}

.article-sidebar {
    padding-top: 8px;
}

.sidebar-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hairline);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    padding: 6px 0;
    border-bottom: 1px solid var(--hairline-soft);
    font-size: 14px;
    color: var(--body);
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-card ul li a {
    color: var(--body);
    text-decoration: none;
    font-size: 14px;
}

.sidebar-card ul li a:hover {
    color: var(--ink);
}

.page-content {
    padding: 64px 0;
}

.page-content-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-content h2 {
    font-size: 26px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.325px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-top: 28px;
    margin-bottom: 10px;
}

.page-content p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-content ul, .page-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

.page-content ul li, .page-content ol li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.page-content a {
    color: var(--ink);
    border-bottom: 1px solid var(--hairline-strong);
}

.page-content a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.contact-section {
    padding: 80px 0;
    background: var(--surface-card);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-inner .section-title {
    margin-bottom: 8px;
}

.contact-inner .section-sub {
    margin-bottom: 40px;
}

.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);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    height: 44px;
    font-size: 16px;
    color: var(--ink);
    font-family: inherit;
    transition: border-color 0.15s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--semantic-error);
}

.form-group textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-error {
    font-size: 13px;
    color: var(--semantic-error);
    margin-top: 4px;
    display: none;
}

.form-success {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--semantic-success);
    border-radius: var(--rounded-md);
    padding: 16px 20px;
    font-size: 15px;
    color: var(--ink);
    margin-top: 24px;
    display: none;
}

.btn-submit {
    background: var(--ink);
    color: var(--canvas);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    height: 44px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--primary);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--rounded-lg);
    padding: 16px 24px;
    max-width: 560px;
    width: calc(100% - 48px);
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(38, 37, 30, 0.18);
    display: none;
}

.cookie-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 14px;
    color: var(--canvas);
    line-height: 1.4;
    flex: 1;
    min-width: 200px;
}

.cookie-banner a {
    color: var(--canvas);
    border-bottom: 1px solid rgba(247,247,244,0.4);
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-actions .btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    height: 36px;
    padding: 8px 16px;
    font-size: 13px;
}

.cookie-actions .btn-secondary {
    background: transparent;
    color: var(--canvas);
    border-color: rgba(247,247,244,0.3);
    height: 36px;
    padding: 8px 16px;
    font-size: 13px;
}

.cookie-actions .btn-secondary:hover {
    background: rgba(247,247,244,0.1);
    color: var(--canvas);
}

.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--hairline);
}

.footer-desc {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-top: 12px;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.3px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--body);
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--body);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-col ul li a:hover {
    color: var(--ink);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--muted-soft);
    max-width: 400px;
    text-align: right;
}

.schema-hidden {
    display: none;
}

@media (max-width: 1024px) {
    .hero-inner, .featured-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .article-grid, .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        padding: 12px 24px 20px;
        gap: 2px;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 10px 8px;
    }

    .site-nav {
        position: relative;
    }

    .hero h1, .page-hero h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero {
        padding: 48px 0;
    }

    .section {
        padding: 48px 0;
    }

    .article-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-disclaimer {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .hero h1, .page-hero h1 {
        font-size: 28px;
    }
}
