*, *::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;
    --semantic-success: #1f8a65;
    --semantic-error: #cf2d56;
    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-pill: 9999px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--canvas);
    color: var(--body);
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

/* NAV */
.site-nav {
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo {
    font-size: 18px;
    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;
    margin-left: auto;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    padding: 8px 12px;
    border-radius: var(--rounded-sm);
    display: block;
    transition: color 0.15s, background 0.15s;
}
.nav-menu > li > a:hover {
    color: var(--ink);
    background: var(--surface-strong);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    min-width: 220px;
    list-style: none;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(38,37,30,0.08);
    z-index: 200;
}
.dropdown-menu li a {
    display: block;
    font-size: 14px;
    color: var(--body);
    padding: 8px 12px;
    border-radius: var(--rounded-sm);
}
.dropdown-menu li a:hover { background: var(--canvas); color: var(--ink); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* HERO */
.hero {
    padding: 80px 24px 64px;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-strong);
    border-radius: var(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--ink);
    max-width: 720px;
    margin-bottom: 20px;
}
.hero-sub {
    font-size: 18px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.5;
    margin-bottom: 40px;
}
.hero-meta {
    font-size: 13px;
    color: var(--muted);
}

/* HERO IMAGE */
.hero-image-wrap {
    margin-top: 48px;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
    max-height: 420px;
}
.hero-image-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* SECTION */
.section {
    padding: 80px 24px;
}
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.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;
    letter-spacing: -0.72px;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section-sub {
    font-size: 16px;
    color: var(--body);
    max-width: 560px;
    line-height: 1.5;
    margin-bottom: 48px;
}
.section-divider {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: 0;
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.card-item {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.15s;
}
.card-item:hover { border-color: var(--hairline-strong); }
.card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-strong);
    border-radius: var(--rounded-pill);
    padding: 3px 8px;
}
.card-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}
.card-item p {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
}
.card-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.card-link:hover { color: var(--primary-active); }
.card-link::after { content: '→'; }

/* ARTICLE CARD with image */
.article-card-img {
    border-radius: var(--rounded-md);
    overflow: hidden;
    margin-bottom: 16px;
    max-height: 200px;
}
.article-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* INFO GRID */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.info-text h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-bottom: 16px;
}
.info-text p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 16px;
}
.info-text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
.info-text ul li {
    font-size: 15px;
    color: var(--body);
    padding-left: 20px;
    position: relative;
}
.info-text ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted);
}

/* FEATURE LIST */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    overflow: hidden;
    background: var(--surface-card);
}
.feature-row {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--hairline-soft);
}
.feature-row:last-child { border-bottom: none; }
.feature-num {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    padding-top: 2px;
}
.feature-row h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}
.feature-row p { font-size: 14px; color: var(--body); line-height: 1.5; }

/* CONTACT FORM */
.contact-section {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 40px;
    max-width: 600px;
}
.contact-section h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin-bottom: 8px;
}
.contact-section > p {
    font-size: 15px;
    color: var(--body);
    margin-bottom: 32px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.2px;
}
.form-group input,
.form-group textarea {
    background: var(--canvas-soft);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 10px 14px;
    font-size: 15px;
    color: var(--ink);
    font-family: inherit;
    height: 44px;
    transition: border-color 0.15s;
    width: 100%;
}
.form-group textarea {
    height: auto;
    min-height: 100px;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ink);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-soft); }
.btn-submit {
    background: var(--ink);
    color: var(--canvas);
    border: none;
    border-radius: var(--rounded-md);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    height: 44px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}
.btn-submit:hover { background: var(--primary); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    font-weight: 500;
}
.form-message.success {
    background: #e6f4ef;
    color: var(--semantic-success);
    border: 1px solid #b8ddd1;
}

/* ARTICLE PAGE */
.article-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: start;
}
.article-content { min-width: 0; }
.article-header { margin-bottom: 40px; }
.article-header .hero-label { display: inline-block; margin-bottom: 20px; }
.article-header h1 {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 16px;
}
.article-header .article-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.article-featured-img {
    margin-bottom: 40px;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}
.article-featured-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}
.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin: 48px 0 16px;
}
.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 12px;
}
.article-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 20px;
}
.article-body ul, .article-body ol {
    padding-left: 20px;
    margin-bottom: 20px;
}
.article-body li {
    font-size: 15px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 8px;
}
.article-body a { color: var(--primary); text-decoration: underline; }
.article-body a:hover { color: var(--primary-active); }
.article-body blockquote {
    border-left: 3px solid var(--hairline-strong);
    padding: 16px 20px;
    margin: 32px 0;
    background: var(--canvas-soft);
    border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
}
.article-body blockquote p { margin: 0; font-size: 15px; color: var(--body-strong); }
.article-infobox {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 32px 0;
}
.article-infobox-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.article-infobox ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.article-infobox ul li {
    font-size: 14px;
    color: var(--body);
    padding: 8px 0;
    border-bottom: 1px solid var(--hairline-soft);
    display: flex;
    gap: 8px;
    align-items: start;
}
.article-infobox ul li:last-child { border-bottom: none; }
.article-infobox ul li::before {
    content: '✓';
    color: var(--semantic-success);
    font-weight: 600;
    flex-shrink: 0;
}

/* SIDEBAR */
.article-sidebar { position: sticky; top: 80px; }
.sidebar-widget {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin-bottom: 20px;
}
.sidebar-widget-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.sidebar-widget ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sidebar-widget ul li a {
    font-size: 14px;
    color: var(--body);
    display: block;
    padding: 8px 10px;
    border-radius: var(--rounded-sm);
}
.sidebar-widget ul li a:hover { background: var(--canvas); color: var(--ink); }
.sidebar-widget ul li.active a {
    background: var(--surface-strong);
    color: var(--ink);
    font-weight: 500;
}

/* GENERAL PAGES */
.page-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}
.page-header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--hairline);
}
.page-header h1 {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--ink);
    margin-bottom: 12px;
}
.page-header .page-meta { font-size: 13px; color: var(--muted); }
.page-body h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin: 40px 0 12px;
}
.page-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.65;
    margin-bottom: 20px;
}
.page-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}
.page-body ul li {
    font-size: 15px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 8px;
}

/* FOOTER */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 24px 48px;
    margin-top: 80px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}
.footer-tagline { font-size: 14px; color: var(--body); line-height: 1.5; }
.footer-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-col ul li a {
    font-size: 14px;
    color: var(--body);
}
.footer-col ul li a:hover { color: var(--ink); }
.footer-col ul li { font-size: 14px; color: var(--body); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
}
.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}
.footer-disclaimer { margin-top: 6px; }

/* COOKIE BANNER */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink);
    color: var(--canvas);
    padding: 16px 24px;
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-banner.visible { display: flex; }
.cookie-text { font-size: 14px; line-height: 1.5; }
.cookie-text a { color: var(--canvas); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: var(--rounded-md);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    cursor: pointer;
}
.btn-cookie-accept:hover { background: var(--primary-active); }
.btn-cookie-reject {
    background: transparent;
    color: var(--canvas);
    border: 1px solid rgba(247,247,244,0.4);
    border-radius: var(--rounded-md);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    cursor: pointer;
}
.btn-cookie-reject:hover { border-color: rgba(247,247,244,0.8); }

/* INDEX PAGE SECTIONS */
.bg-card { background: var(--surface-card); }
.intro-band {
    background: var(--surface-card);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

/* ABOUT PAGE GRID */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .article-wrap { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .info-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 36px; letter-spacing: -0.8px; }
    .section-title { font-size: 28px; }
    .article-header h1 { font-size: 30px; }
    .page-header h1 { font-size: 30px; }
    .nav-toggle { display: flex; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--surface-card);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        gap: 0;
        padding: 12px;
        align-items: stretch;
    }
    .nav-menu.open { display: flex; }
    .nav-dropdown .dropdown-menu { position: static; display: none; box-shadow: none; border: none; background: var(--canvas); padding-left: 12px; }
    .nav-dropdown.open .dropdown-menu { display: block; }
    .contact-section { padding: 24px; }
    .cards-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .article-featured-img img { height: 220px; }
}
@media (max-width: 640px) {
    .hero { padding: 48px 16px 40px; }
    .section { padding: 48px 16px; }
    .hero h1 { font-size: 28px; }
}
