: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;
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 9999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    background: var(--canvas);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* HEADER & NAV */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--body);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    line-height: 1.4;
    font-family: inherit;
}

.nav-link:hover,
.nav-link--active {
    color: var(--ink);
    background: var(--surface-strong);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown__toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown__toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-top: 1px;
}

.nav-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: 0 4px 16px rgba(38,37,30,0.08);
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown--open .nav-dropdown__menu {
    display: block;
}

.nav-dropdown__item {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--body);
    border-radius: var(--radius-sm);
    transition: background 0.12s, color 0.12s;
}

.nav-dropdown__item:hover {
    background: var(--canvas-soft);
    color: var(--ink);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary);
    color: var(--on-primary);
}

.btn--primary:hover {
    background: var(--primary-active);
    color: var(--on-primary);
}

.btn--secondary {
    background: var(--surface-card);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
}

.btn--secondary:hover {
    background: var(--surface-strong);
}

.btn--dark {
    background: var(--ink);
    color: var(--canvas);
    padding: 12px 20px;
    height: 44px;
}

.btn--dark:hover {
    background: #3a3930;
    color: var(--canvas);
}

/* HERO */
.hero {
    padding: 80px 0;
    border-bottom: 1px solid var(--hairline);
}

.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);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
}

.hero__title {
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--ink);
    max-width: 700px;
    margin-bottom: 20px;
}

.hero__lead {
    font-size: 18px;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero__img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-top: 48px;
    border: 1px solid var(--hairline);
}

/* SECTION */
.section {
    padding: 80px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.section__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
    display: block;
}

.section__title {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.72px;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 16px;
    color: var(--body);
    max-width: 600px;
    line-height: 1.6;
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.15s;
}

.card:hover {
    border-color: var(--hairline-strong);
}

.card__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--hairline);
}

.card__body {
    padding: 24px;
}

.card__tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 8px;
}

.card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    margin-bottom: 10px;
}

.card__excerpt {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
    margin-bottom: 20px;
}

.card__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.card__link:hover {
    color: var(--primary-active);
}

/* FEATURE ROW */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

.feature-row--reverse .feature-row__img { order: 2; }
.feature-row--reverse .feature-row__content { order: 1; }

.feature-row__img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
}

.feature-row__tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 12px;
}

.feature-row__title {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 12px;
}

.feature-row__text {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-row__list {
    list-style: none;
    margin: 0 0 24px;
}

.feature-row__list li {
    font-size: 15px;
    color: var(--body);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    border-bottom: 1px solid var(--hairline-soft);
}

.feature-row__list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted-soft);
}

.feature-row__list li:last-child {
    border-bottom: none;
}

/* ARTICLE PAGE */
.article-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.article-header__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-block;
    background: var(--surface-strong);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.article-header__title {
    font-size: 44px;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--ink);
    max-width: 760px;
    margin-bottom: 16px;
}

.article-header__meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
}

.article-header__lead {
    font-size: 18px;
    color: var(--body);
    max-width: 680px;
    line-height: 1.65;
    margin-top: 16px;
}

.article-hero-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
    margin: 40px 0;
}

.article-body {
    max-width: 760px;
    padding: 0 0 80px;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: 48px 0 16px;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin: 32px 0 12px;
    line-height: 1.4;
}

.article-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    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 24px;
    position: relative;
    border-bottom: 1px solid var(--hairline-soft);
}

.article-body ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted-soft);
}

.article-body ol {
    counter-reset: ol-counter;
}

.article-body ol li::before {
    content: counter(ol-counter) '.';
    counter-increment: ol-counter;
    position: absolute;
    left: 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
}

.article-body ul li:last-child,
.article-body ol li:last-child {
    border-bottom: none;
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: var(--primary-active);
}

.info-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--ink);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    margin: 32px 0;
}

.info-box__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.info-box p {
    font-size: 15px;
    color: var(--body);
    line-height: 1.6;
    margin: 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 32px;
    font-size: 14px;
}

.data-table th {
    text-align: left;
    padding: 10px 14px;
    background: var(--surface-strong);
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid var(--hairline-strong);
}

.data-table td {
    padding: 10px 14px;
    color: var(--body);
    border-bottom: 1px solid var(--hairline-soft);
    vertical-align: top;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.article-related {
    padding: 64px 0;
    border-top: 1px solid var(--hairline);
}

.article-related__title {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.11px;
    color: var(--ink);
    margin-bottom: 32px;
}

/* FORM */
.contact-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 48px;
}

.contact-form {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.form-input,
.form-textarea {
    width: 100%;
    background: var(--canvas-soft);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    height: 44px;
    font-size: 16px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s;
    -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--ink);
}

.form-textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted-soft);
}

.form-error {
    font-size: 13px;
    color: var(--error);
    margin-top: 4px;
    display: none;
}

.form-error--visible {
    display: block;
}

.form-status {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 15px;
    display: none;
}

.form-status--success {
    background: #e8f5f0;
    color: var(--success);
    border: 1px solid #b8ddd1;
    display: block;
}

.form-status--loading {
    background: var(--surface-strong);
    color: var(--muted);
    display: block;
}

.contact-info__title {
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 15px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.contact-info__item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.contact-info__label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    min-width: 80px;
}

.contact-info__value {
    font-size: 14px;
    color: var(--body);
}

/* PAGE */
.page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline);
}

.page-header__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    margin-bottom: 16px;
}

.page-header__title {
    font-size: 44px;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--ink);
}

.page-header__meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
}

.page-body {
    max-width: 760px;
    padding: 48px 0 80px;
}

.page-body h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: var(--ink);
    margin: 40px 0 14px;
    line-height: 1.3;
}

.page-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 28px 0 10px;
}

.page-body p {
    font-size: 16px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: 18px;
}

.page-body ul,
.page-body ol {
    margin-bottom: 18px;
    padding-left: 20px;
    list-style: disc;
}

.page-body ul li,
.page-body ol li {
    font-size: 16px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.page-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.page-body a:hover {
    color: var(--primary-active);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--surface-card);
    border-top: 1px solid var(--hairline);
    padding: 20px 0;
}

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    font-size: 14px;
    color: var(--body);
    flex: 1;
    min-width: 200px;
}

.cookie-banner__text a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* DISCLAIMER */
.disclaimer {
    background: var(--surface-strong);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin: 32px 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* FOOTER */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--hairline-soft);
}

.footer-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 260px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink);
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 14px;
    color: var(--body);
    transition: color 0.12s;
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-text {
    font-size: 14px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-text a {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-legal {
    font-size: 13px;
    color: var(--muted);
}

.footer-legal a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-legal a:hover {
    color: var(--ink);
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: start;
    margin-top: 48px;
}

.about-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--hairline);
}

/* SCHEMA HIDDEN */
.schema-hidden { display: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero__title { font-size: 44px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        border-bottom: 1px solid var(--hairline);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 2px;
    }
    .site-nav--open { display: flex; }
    .nav-dropdown__menu {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--canvas-soft);
        border-radius: var(--radius-sm);
        padding: 4px;
    }
    .nav-dropdown:hover .nav-dropdown__menu { display: none; }
    .nav-dropdown--open .nav-dropdown__menu { display: block; }
    .hero { padding: 48px 0; }
    .hero__title { font-size: 34px; letter-spacing: -0.8px; }
    .hero__lead { font-size: 16px; }
    .hero__img { height: 260px; }
    .section { padding: 48px 0; }
    .section__title { font-size: 28px; }
    .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
    .feature-row { grid-template-columns: 1fr; gap: 32px; }
    .feature-row--reverse .feature-row__img { order: 0; }
    .feature-row--reverse .feature-row__content { order: 0; }
    .article-header__title { font-size: 30px; }
    .article-header__lead { font-size: 16px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .page-header__title { font-size: 32px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 28px; }
    .section__title { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }
    .article-header__title { font-size: 26px; }
}
