/**
 * Murkisle Tech — French Tech Magazine
 * Real editorial design, not AI slop
 */

/* ============================================
   CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Core palette - warm neutral base */
    --ink: #1a1a1a;
    --ink-light: #3d3d3d;
    --ink-muted: #6b6b6b;
    --ink-faint: #9a9a9a;

    --paper: #ffffff;
    --paper-warm: #faf9f7;
    --paper-dim: #f2f0ed;
    --paper-dark: #e8e6e3;

    /* Accent - French editorial blue */
    --accent: #0055ff;
    --accent-hover: #0044cc;
    --accent-subtle: #e8f0ff;

    /* Secondary accent */
    --coral: #e85d04;
    --coral-subtle: #fff3ed;

    /* Semantic */
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing scale */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-20: 80px;

    /* Layout */
    --max-width: 1180px;
    --max-width-narrow: 720px;
    --header-h: 56px;

    /* Borders & Radius */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;

    /* Shadows - subtle, realistic */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.08);

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --duration: 180ms;
}

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
}

body.menu-open,
body.search-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

ul, ol {
    list-style: none;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--sp-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--sp-6);
    }
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--sp-4);
    padding: var(--sp-2) var(--sp-4);
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
}

.skip-link:focus {
    top: var(--sp-4);
}

.hidden {
    display: none !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 10px 18px;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--ink);
    color: var(--paper);
}

.btn-primary:hover {
    background: var(--ink-light);
}

.btn-secondary {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--paper-dark);
}

.btn-secondary:hover {
    border-color: var(--ink-muted);
    background: var(--paper-warm);
}

.btn-accent {
    background: var(--coral);
    color: white;
}

.btn-accent:hover {
    background: #d35400;
}

.btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-dark);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.site-header > .container {
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--sp-6);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-text {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--ink);
    letter-spacing: -0.03em;
}

.main-nav {
    display: none;
    flex: 1;
    justify-content: center;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.nav-link {
    display: block;
    padding: var(--sp-2) var(--sp-3);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--ink-light);
    border-radius: var(--radius-sm);
    transition: color var(--duration) var(--ease);
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link.active {
    color: var(--ink);
    background: var(--paper-dim);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    flex-shrink: 0;
}

.btn-search,
.btn-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    color: var(--ink-muted);
    transition: all var(--duration) var(--ease);
}

.btn-search:hover,
.btn-menu:hover {
    background: var(--paper-dim);
    color: var(--ink);
}

.btn-menu {
    display: flex;
}

@media (min-width: 768px) {
    .btn-menu {
        display: none;
    }
}

.btn-search svg,
.btn-menu svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(26, 26, 26, 0.9);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 100%;
    max-width: 560px;
    padding: var(--sp-4);
}

.search-close {
    position: absolute;
    top: var(--sp-4);
    right: var(--sp-4);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.6;
    transition: opacity var(--duration) var(--ease);
}

.search-close:hover {
    opacity: 1;
}

.search-close svg {
    width: 24px;
    height: 24px;
}

.search-form-overlay {
    display: flex;
    gap: var(--sp-2);
}

.search-input-overlay {
    flex: 1;
    padding: var(--sp-4);
    font-size: 16px;
    border: none;
    border-radius: var(--radius-md);
    background: white;
    outline: none;
}

.search-suggestions {
    margin-top: var(--sp-4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-2);
}

.search-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.search-tag {
    padding: var(--sp-1) var(--sp-3);
    font-size: 12px;
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    transition: background var(--duration) var(--ease);
}

.search-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    z-index: 200;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 300ms var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-4);
    border-bottom: 1px solid var(--paper-dark);
    height: var(--header-h);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
}

.mobile-menu-close svg {
    width: 20px;
    height: 20px;
}

.mobile-nav {
    flex: 1;
    padding: var(--sp-4);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    display: block;
    padding: var(--sp-3) 0;
    font-size: 15px;
    font-weight: var(--font-weight-medium);
    color: var(--ink);
    border-bottom: 1px solid var(--paper-dim);
}

.mobile-menu-footer {
    padding: var(--sp-4);
    border-top: 1px solid var(--paper-dark);
    display: flex;
    gap: var(--sp-4);
}

.mobile-link {
    font-size: 13px;
    color: var(--ink-muted);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: var(--sp-12) 0 var(--sp-16);
    background: var(--paper-warm);
    border-bottom: 1px solid var(--paper-dark);
}

.hero__content {
    max-width: 640px;
}

.hero__title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: var(--sp-4);
}

.hero__subtitle {
    font-size: 16px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: var(--sp-8);
}

.hero__search {
    margin-bottom: var(--sp-6);
}

.search-wrapper {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
}

.search-icon {
    width: 18px;
    height: 18px;
    margin-left: var(--sp-3);
    color: var(--ink-faint);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    padding: var(--sp-2) var(--sp-2);
    font-size: 14px;
    border: none;
    outline: none;
    background: transparent;
    min-width: 0;
}

.search-input::placeholder {
    color: var(--ink-faint);
}

.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.tag {
    padding: var(--sp-1) var(--sp-3);
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--ink-muted);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.tag:hover {
    border-color: var(--ink-muted);
    color: var(--ink);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--sp-12) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--sp-16) 0;
    }
}

.section--alt {
    background: var(--paper-warm);
}

.section--dark {
    background: var(--ink);
    color: var(--paper);
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
}

@media (min-width: 640px) {
    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.section-header--center {
    text-align: center;
    align-items: center;
}

.section__title {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    color: var(--ink);
}

.section__title--left {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.section__icon {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.section--dark .section__title {
    color: var(--paper);
}

.section__subtitle {
    font-size: 14px;
    color: var(--ink-muted);
    margin-top: var(--sp-1);
}

.section--dark .section__subtitle {
    color: var(--ink-faint);
}

.section__cta {
    text-align: center;
    margin-top: var(--sp-8);
}

.section__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-3);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--coral);
    background: var(--coral-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-3);
}

.section__badge svg {
    width: 12px;
    height: 12px;
}

/* ============================================
   TABS
   ============================================ */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-1);
}

.tab {
    padding: var(--sp-2) var(--sp-3);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--ink-muted);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.tab:hover {
    color: var(--ink);
}

.tab.active {
    color: var(--ink);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--sp-4);
    }
}

.category-card {
    display: flex;
    flex-direction: column;
    padding: var(--sp-5);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.category-card:hover {
    border-color: var(--ink-faint);
    box-shadow: var(--shadow-md);
}

.category-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-dim);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-3);
}

.category-card__icon svg {
    width: 20px;
    height: 20px;
    color: var(--ink);
}

.category-card__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-1);
}

.category-card__description {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.5;
    margin-bottom: var(--sp-3);
    flex: 1;
}

.category-card__link {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent);
}

.category-card__link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--duration) var(--ease);
}

.category-card:hover .category-card__link svg {
    transform: translateX(3px);
}

/* ============================================
   FEATURED GRID
   ============================================ */
.featured-grid {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 768px) {
    .featured-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.featured-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    transition: all var(--duration) var(--ease);
}

.featured-main:hover {
    box-shadow: var(--shadow-lg);
}

.featured-main__link {
    display: block;
}

.featured-main__image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured-main__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ease);
}

.featured-main:hover .featured-main__image {
    transform: scale(1.02);
}

.featured-main__category {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    padding: var(--sp-1) var(--sp-2);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: white;
    background: var(--ink);
    border-radius: var(--radius-sm);
}

.featured-main__content {
    padding: var(--sp-5);
}

.featured-main__title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--sp-2);
}

.featured-main__excerpt {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
    margin-bottom: var(--sp-3);
}

.featured-main__meta {
    display: flex;
    gap: var(--sp-4);
    font-size: 12px;
    color: var(--ink-faint);
}

.featured-main__meta span {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.featured-main__meta svg {
    width: 13px;
    height: 13px;
}

.featured-secondary {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.featured-card {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    transition: all var(--duration) var(--ease);
}

.featured-card:hover {
    box-shadow: var(--shadow-md);
}

.featured-card__link {
    display: flex;
    height: 100%;
}

.featured-card__image-wrapper {
    position: relative;
    width: 140px;
    flex-shrink: 0;
    overflow: hidden;
}

.featured-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ease);
}

.featured-card:hover .featured-card__image {
    transform: scale(1.02);
}

.featured-card__category {
    position: absolute;
    top: var(--sp-2);
    left: var(--sp-2);
    padding: 2px var(--sp-2);
    font-size: 9px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: white;
    background: var(--ink);
    border-radius: 2px;
}

.featured-card__content {
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-card__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    margin-bottom: var(--sp-2);
}

.featured-card__meta {
    display: flex;
    gap: var(--sp-3);
    font-size: 11px;
    color: var(--ink-faint);
}

.featured-card__meta span {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.featured-card__meta svg {
    width: 12px;
    height: 12px;
}

/* ============================================
   ARTICLE CARDS
   ============================================ */
.articles-grid {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 540px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-article {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    transition: all var(--duration) var(--ease);
}

.card-article:hover {
    box-shadow: var(--shadow-md);
}

.card-article__link {
    display: block;
}

.card-article__image-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-article__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ease);
}

.card-article:hover .card-article__image {
    transform: scale(1.02);
}

.card-article__category {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    padding: var(--sp-1) var(--sp-2);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: white;
    background: var(--ink);
    border-radius: var(--radius-sm);
}

.card-article__content {
    padding: var(--sp-4);
}

.card-article__title {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    margin-bottom: var(--sp-2);
}

.card-article__excerpt {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.5;
    margin-bottom: var(--sp-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-article__meta {
    display: flex;
    gap: var(--sp-4);
    font-size: 11px;
    color: var(--ink-faint);
}

.card-article__meta span {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.card-article__meta svg {
    width: 12px;
    height: 12px;
}

.card-article--small .card-article__content {
    padding: var(--sp-3);
}

.card-article--small .card-article__title {
    font-size: 13px;
}

/* ============================================
   SPOTLIGHT
   ============================================ */
.spotlight {
    display: grid;
    gap: var(--sp-8);
    align-items: center;
}

@media (min-width: 768px) {
    .spotlight {
        grid-template-columns: 1fr 1fr;
    }
}

.spotlight__image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.spotlight__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.spotlight__label {
    display: inline-block;
    padding: var(--sp-1) var(--sp-3);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--coral);
    background: var(--coral-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-3);
}

.spotlight__title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-3);
}

.spotlight__description {
    color: var(--ink-muted);
    margin-bottom: var(--sp-4);
    line-height: 1.6;
}

.spotlight__list {
    margin-bottom: var(--sp-6);
}

.spotlight__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-2);
    padding: var(--sp-2) 0;
    font-size: 14px;
}

.spotlight__list svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 1px;
}

.spotlight__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

/* ============================================
   EXPLANATION CARDS
   ============================================ */
.explanations-grid {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 768px) {
    .explanations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.explanation-card {
    padding: var(--sp-5);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.explanation-card:hover {
    border-color: var(--ink-faint);
    box-shadow: var(--shadow-md);
}

.explanation-card__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-4);
}

.explanation-card__icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.explanation-card__title {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    margin-bottom: var(--sp-2);
}

.explanation-card__text {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.55;
    margin-bottom: var(--sp-4);
}

.explanation-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent);
}

.explanation-card__link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--duration) var(--ease);
}

.explanation-card:hover .explanation-card__link svg {
    transform: translateX(3px);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.newsletter__icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.newsletter__title {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-2);
}

.newsletter__description {
    font-size: 14px;
    color: var(--ink-faint);
    line-height: 1.6;
    margin-bottom: var(--sp-6);
}

.newsletter__form {
    margin-bottom: var(--sp-3);
}

.newsletter__input-group {
    display: flex;
    gap: var(--sp-2);
    padding: var(--sp-1);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
}

.newsletter__input {
    flex: 1;
    padding: var(--sp-3);
    font-size: 14px;
    color: white;
    background: transparent;
    border: none;
    outline: none;
    min-width: 0;
}

.newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter__legal {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}

.newsletter__legal a {
    text-decoration: underline;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
    display: grid;
    gap: var(--sp-8);
    align-items: center;
}

@media (min-width: 768px) {
    .about-preview {
        grid-template-columns: 1fr 1fr;
    }
}

.about-preview__title {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-3);
}

.about-preview__text {
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: var(--sp-4);
}

.about-preview__features {
    margin-bottom: var(--sp-5);
}

.about-preview__features li {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) 0;
    font-size: 14px;
}

.about-preview__features svg {
    width: 18px;
    height: 18px;
    color: var(--success);
    flex-shrink: 0;
}

.about-preview__link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent);
}

.about-preview__link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration) var(--ease);
}

.about-preview__link:hover svg {
    transform: translateX(3px);
}

.about-preview__image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-preview__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--ink);
    color: white;
    padding: var(--sp-12) 0 var(--sp-6);
}

.footer-grid {
    display: grid;
    gap: var(--sp-8);
    margin-bottom: var(--sp-8);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: white;
    display: inline-block;
    letter-spacing: -0.03em;
}

.footer-tagline {
    font-size: 13px;
    color: var(--accent);
    margin-top: var(--sp-1);
    margin-bottom: var(--sp-3);
}

.footer-description {
    font-size: 13px;
    color: var(--ink-faint);
    line-height: 1.6;
}

.footer-title {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--sp-4);
    color: var(--ink-faint);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--duration) var(--ease);
}

.footer-email:hover {
    color: white;
}

.footer-email svg {
    width: 14px;
    height: 14px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    padding-top: var(--sp-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright,
.footer-note {
    font-size: 12px;
    color: var(--ink-faint);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
    padding: var(--sp-5) 0;
    background: linear-gradient(to bottom, var(--paper-warm), var(--paper));
    border-bottom: 1px solid var(--paper-dark);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-1);
    font-size: 13px;
    line-height: 1.6;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-1);
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--ink-muted);
}

.breadcrumb__item:first-child .breadcrumb__link {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    font-weight: var(--font-weight-medium);
}

.breadcrumb__item:first-child .breadcrumb__link::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'%3E%3C/path%3E%3Cpolyline points='9 22 9 12 15 12 15 22'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
}

.breadcrumb__separator {
    width: 14px;
    height: 14px;
    color: var(--ink-faint);
    opacity: 0.5;
    flex-shrink: 0;
}

.breadcrumb__link {
    color: var(--ink-light);
    text-decoration: none;
    padding: var(--sp-1) var(--sp-2);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
    position: relative;
}

.breadcrumb__link:hover {
    color: var(--accent);
    background: var(--accent-subtle);
}

.breadcrumb__link:active {
    transform: scale(0.98);
}

.breadcrumb__current {
    color: var(--ink);
    font-weight: var(--font-weight-medium);
    padding: var(--sp-1) var(--sp-2);
    background: var(--paper-warm);
    border-radius: var(--radius-sm);
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: var(--sp-3) 0;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .breadcrumb__current {
        max-width: 250px;
    }

    /* Скрываем промежуточные элементы на мобильных */
    .breadcrumb__item:not(:first-child):not(:last-child):not(:nth-last-child(2)) {
        display: none;
    }

    /* Показываем троеточие вместо скрытых элементов */
    .breadcrumb__item:nth-child(2)::after {
        content: '...';
        padding: 0 var(--sp-2);
        color: var(--ink-faint);
    }
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article__header {
    padding: var(--sp-8) 0;
    text-align: center;
}

.article__category {
    display: inline-block;
    padding: var(--sp-1) var(--sp-3);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--coral);
    background: var(--coral-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-4);
}

.article__title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-4);
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-4);
    margin-bottom: var(--sp-2);
    font-size: 12px;
    color: var(--ink-muted);
}

.article__meta span,
.article__date,
.article__updated,
.article__read-time {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.article__meta svg {
    width: 14px;
    height: 14px;
}

.article__author {
    font-size: 13px;
    color: var(--ink-muted);
}

.article__hero {
    margin-bottom: var(--sp-8);
}

.article__hero-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.article__hero-caption {
    text-align: center;
    font-size: 12px;
    color: var(--ink-faint);
    margin-top: var(--sp-2);
}

.article__intro {
    padding-bottom: var(--sp-6);
    margin-bottom: var(--sp-6);
    border-bottom: 1px solid var(--paper-dark);
}

.article__chapeau {
    font-size: 17px;
    color: var(--ink-muted);
    line-height: 1.7;
}

.article__toc {
    padding: var(--sp-5);
    background: var(--paper-warm);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-8);
}

.toc__header {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-3);
}

.toc__header svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.toc__list {
    list-style: decimal;
    padding-left: var(--sp-5);
}

.toc__list li {
    margin-bottom: var(--sp-2);
}

.toc__list a {
    font-size: 13px;
    color: var(--ink-muted);
    transition: color var(--duration) var(--ease);
}

.toc__list a:hover,
.toc__list a.active {
    color: var(--accent);
}

.article__body {
    font-size: 16px;
    line-height: 1.75;
}

.article__body h2 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-top: var(--sp-10);
    margin-bottom: var(--sp-4);
    scroll-margin-top: calc(var(--header-h) + var(--sp-4));
}

.article__body h3 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin-top: var(--sp-8);
    margin-bottom: var(--sp-3);
}

.article__body p {
    margin-bottom: var(--sp-4);
    color: var(--ink-light);
}

.article__body ul,
.article__body ol {
    margin-bottom: var(--sp-4);
    padding-left: var(--sp-5);
}

.article__body li {
    margin-bottom: var(--sp-2);
    color: var(--ink-light);
}

.article__body ul li {
    list-style: disc;
}

.article__body ol li {
    list-style: decimal;
}

.article__body strong {
    color: var(--ink);
    font-weight: var(--font-weight-semibold);
}

.article__body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article__body a:hover {
    text-decoration: none;
}

.article__body blockquote {
    padding: var(--sp-4) var(--sp-5);
    margin: var(--sp-6) 0;
    background: var(--paper-warm);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article__body blockquote p {
    margin-bottom: 0;
    font-style: italic;
}

.article__body img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--sp-6) 0;
}

/* Info boxes */
.info-box,
.warning-box,
.tips-box {
    padding: var(--sp-4) var(--sp-5);
    margin: var(--sp-6) 0;
    border-radius: var(--radius-md);
}

.info-box {
    background: var(--accent-subtle);
    border-left: 3px solid var(--accent);
}

.warning-box {
    background: #fff8e6;
    border-left: 3px solid var(--warning);
}

.tips-box {
    background: #e6f7ef;
    border-left: 3px solid var(--success);
}

.info-box__title,
.warning-box__title,
.tips-box__title {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-2);
}

.info-box__title {
    color: var(--accent);
}

.warning-box__title {
    color: var(--warning);
}

.tips-box__title {
    color: var(--success);
}

.info-box__title svg,
.warning-box__title svg,
.tips-box__title svg {
    width: 18px;
    height: 18px;
}

.info-box p,
.warning-box p,
.tips-box p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Comparison table */
.comparison-table {
    width: 100%;
    margin: var(--sp-6) 0;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th,
.comparison-table td {
    padding: var(--sp-3) var(--sp-4);
    text-align: left;
    border-bottom: 1px solid var(--paper-dark);
}

.comparison-table th {
    font-weight: var(--font-weight-semibold);
    background: var(--paper-warm);
}

.comparison-table tr:hover td {
    background: var(--paper-warm);
}

/* Author box */
.article__author-box {
    padding: var(--sp-8) 0;
    background: var(--paper-warm);
}

.author-box {
    display: flex;
    gap: var(--sp-4);
    align-items: flex-start;
}

.author-box__avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: white;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.author-box__name {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 2px;
}

.author-box__role {
    font-size: 13px;
    color: var(--accent);
    margin-bottom: var(--sp-2);
}

.author-box__bio {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.55;
}

/* Related articles */
.article__related {
    padding: var(--sp-8) 0;
}

.article__related-title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--sp-5);
}

.related-grid {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 640px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Article nav */
.article__navigation {
    padding: var(--sp-6) 0;
    background: var(--paper-warm);
}

.article-nav {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 640px) {
    .article-nav {
        grid-template-columns: 1fr 1fr;
    }
}

.article-nav__link {
    display: block;
    padding: var(--sp-4);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.article-nav__link:hover {
    border-color: var(--ink-faint);
    box-shadow: var(--shadow-sm);
}

.article-nav__label {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: 11px;
    color: var(--ink-faint);
    margin-bottom: var(--sp-1);
}

.article-nav__label svg {
    width: 14px;
    height: 14px;
}

.article-nav__link--next .article-nav__label {
    justify-content: flex-end;
}

.article-nav__link--next {
    text-align: right;
}

.article-nav__title {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--ink);
}

/* ============================================
   FAQ PAGE
   ============================================ */
.faq-hero {
    padding: var(--sp-10) 0;
    background: var(--paper-warm);
    text-align: center;
    border-bottom: 1px solid var(--paper-dark);
}

.faq-hero__title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-5);
}

.faq-search {
    max-width: 440px;
    margin: 0 auto;
}

.faq-section {
    margin-bottom: var(--sp-8);
}

.faq-section__title {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-4);
}

.faq-section__title svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.faq-item {
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--sp-4);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-align: left;
    transition: background var(--duration) var(--ease);
}

.faq-item__question:hover {
    background: var(--paper-warm);
}

.faq-item__icon {
    width: 18px;
    height: 18px;
    color: var(--ink-faint);
    transition: transform var(--duration) var(--ease);
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms var(--ease);
}

.faq-item.active .faq-item__answer {
    max-height: 400px;
}

.faq-item__answer p {
    padding: 0 var(--sp-4) var(--sp-4);
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
}

.faq-contact {
    text-align: center;
    padding: var(--sp-8);
    background: var(--paper-warm);
    border-radius: var(--radius-md);
}

.faq-contact__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-4);
    background: var(--paper);
    border-radius: var(--radius-md);
}

.faq-contact__icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.faq-contact__title {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-2);
}

.faq-contact__text {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-5);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
    padding: var(--sp-10) 0;
    background: var(--paper-warm);
    text-align: center;
    border-bottom: 1px solid var(--paper-dark);
}

.contact-hero__title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-3);
}

.contact-hero__subtitle {
    font-size: 15px;
    color: var(--ink-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.form-label {
    font-size: 13px;
    font-weight: var(--font-weight-medium);
}

.required {
    color: var(--error);
}

.optional {
    color: var(--ink-faint);
    font-weight: var(--font-weight-normal);
}

.form-input,
.form-select,
.form-textarea {
    padding: var(--sp-3);
    font-size: 14px;
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-sm);
    background: var(--paper);
    transition: border-color var(--duration) var(--ease);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ink-faint);
}

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

.form-help {
    font-size: 11px;
    color: var(--ink-faint);
}

.form-group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-2);
}

.form-group--checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-label--checkbox {
    font-size: 13px;
    font-weight: var(--font-weight-normal);
    color: var(--ink-muted);
    line-height: 1.5;
}

.form-label--checkbox a {
    color: var(--accent);
    text-decoration: underline;
}

.contact-alternatives {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 640px) {
    .contact-alternatives {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-alt {
    padding: var(--sp-5);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
}

.contact-alt__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-dim);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-3);
}

.contact-alt__icon svg {
    width: 20px;
    height: 20px;
    color: var(--ink);
}

.contact-alt__title {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-2);
}

.contact-alt__text {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.55;
    margin-bottom: var(--sp-3);
}

.contact-alt__note {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-2);
    font-size: 12px;
    color: var(--ink-faint);
    padding: var(--sp-2);
    background: var(--paper-warm);
    border-radius: var(--radius-sm);
}

.contact-alt__note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-social {
    text-align: center;
}

.contact-social__title {
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-2);
}

.contact-social__text {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-4);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--sp-3);
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.social-link:hover {
    border-color: var(--ink-faint);
    color: var(--accent);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Contact Email Section */
.contact-email-section {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.contact-email-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: 50%;
    margin: 0 auto var(--sp-4);
}

.contact-email-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.contact-email__title {
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-2);
}

.contact-email__text {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-4);
}

.contact-email-link {
    display: inline-block;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    color: var(--accent);
    padding: var(--sp-3) var(--sp-6);
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.contact-email-link:hover {
    background: var(--accent);
    color: white;
}

/* ============================================
   COMPARATIFS PAGE
   ============================================ */
.comparatifs-hero {
    padding: var(--sp-12) 0;
    background: var(--paper-warm);
    text-align: center;
    border-bottom: 1px solid var(--paper-dark);
}

.comparatifs-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-3);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--coral);
    background: var(--coral-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-4);
}

.comparatifs-hero__badge svg {
    width: 14px;
    height: 14px;
}

.comparatifs-hero__title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-4);
}

.text-gradient {
    color: var(--accent);
}

.comparatifs-hero__subtitle {
    font-size: 16px;
    color: var(--ink-muted);
    max-width: 520px;
    margin: 0 auto var(--sp-8);
    line-height: 1.6;
}

.comparatifs-hero__stats {
    display: flex;
    justify-content: center;
    gap: var(--sp-10);
}

.stat-item {
    text-align: center;
}

.stat-item__number {
    display: block;
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    color: var(--ink);
    letter-spacing: -0.02em;
}

.stat-item__label {
    font-size: 12px;
    color: var(--ink-muted);
}

.featured-comparatif {
    padding: var(--sp-6);
    background: var(--paper-warm);
    border-radius: var(--radius-lg);
}

.featured-comparatif__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-3);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--coral);
    background: var(--paper);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-5);
}

.featured-comparatif__badge svg {
    width: 12px;
    height: 12px;
}

.featured-comparatif__inner {
    display: grid;
    gap: var(--sp-8);
}

@media (min-width: 768px) {
    .featured-comparatif__inner {
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
    }
}

.vs-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
}

.vs-visual__product {
    text-align: center;
}

.vs-visual__image {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-2);
    background: var(--paper);
    border-radius: var(--radius-md);
    overflow: hidden;
}

@media (min-width: 640px) {
    .vs-visual__image {
        width: 120px;
        height: 120px;
    }
}

.vs-visual__image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.vs-visual__name {
    display: block;
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
}

.vs-visual__brand {
    font-size: 11px;
    color: var(--ink-muted);
}

.vs-visual__badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    color: white;
    background: var(--ink);
    border-radius: 50%;
}

.featured-comparatif__category {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 12px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-2);
}

.featured-comparatif__category svg {
    width: 14px;
    height: 14px;
}

.featured-comparatif__title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--sp-3);
}

.featured-comparatif__excerpt {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: var(--sp-4);
}

.featured-comparatif__highlights {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    margin-bottom: var(--sp-4);
}

.highlight-point {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 13px;
}

.highlight-point svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.featured-comparatif__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-4);
    font-size: 12px;
    color: var(--ink-faint);
    margin-bottom: var(--sp-5);
}

.featured-comparatif__meta span {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.featured-comparatif__meta svg {
    width: 13px;
    height: 13px;
}

.comparatif-categories {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.comparatif-category {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.comparatif-category:hover {
    border-color: var(--ink-faint);
    box-shadow: var(--shadow-sm);
}

.comparatif-category__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.comparatif-category__icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.comparatif-category__icon--blue { background: #2563eb; }
.comparatif-category__icon--purple { background: #7c3aed; }
.comparatif-category__icon--coral { background: var(--coral); }
.comparatif-category__icon--emerald { background: #059669; }
.comparatif-category__icon--rose { background: #e11d48; }

.comparatif-category__info {
    flex: 1;
}

.comparatif-category__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 2px;
}

.comparatif-category__count {
    font-size: 12px;
    color: var(--ink-muted);
}

.comparatif-category__arrow {
    width: 18px;
    height: 18px;
    color: var(--ink-faint);
    transition: transform var(--duration) var(--ease);
}

.comparatif-category:hover .comparatif-category__arrow {
    transform: translateX(3px);
    color: var(--ink);
}

.comparatifs-grid-v2 {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 540px) {
    .comparatifs-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .comparatifs-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.comparatif-card-v2 {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    transition: all var(--duration) var(--ease);
}

.comparatif-card-v2:hover {
    box-shadow: var(--shadow-md);
}

.comparatif-card-v2__link {
    display: block;
}

.comparatif-card-v2__visual {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.comparatif-card-v2__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparatif-card-v2__vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    color: white;
    background: var(--ink);
    border-radius: 50%;
}

.comparatif-card-v2__category {
    position: absolute;
    top: var(--sp-2);
    left: var(--sp-2);
    padding: 2px var(--sp-2);
    font-size: 9px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 2px;
}

.comparatif-card-v2__content {
    padding: var(--sp-4);
}

.comparatif-card-v2__products {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 12px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-2);
}

.comparatif-card-v2__separator {
    color: var(--ink-faint);
}

.comparatif-card-v2__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    margin-bottom: var(--sp-3);
}

.comparatif-card-v2__verdict {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-2);
    font-size: 12px;
    color: var(--ink-muted);
    padding: var(--sp-2);
    background: var(--paper-warm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-3);
}

.comparatif-card-v2__verdict svg {
    width: 14px;
    height: 14px;
    color: var(--coral);
    flex-shrink: 0;
    margin-top: 1px;
}

.comparatif-card-v2__meta {
    display: flex;
    gap: var(--sp-4);
    font-size: 11px;
    color: var(--ink-faint);
}

.comparatif-card-v2__meta span {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.comparatif-card-v2__meta svg {
    width: 12px;
    height: 12px;
}

/* Budget tabs */
.budget-tabs-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-2);
    margin-bottom: var(--sp-6);
}

@media (min-width: 640px) {
    .budget-tabs-v2 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.budget-tab-v2 {
    padding: var(--sp-3);
    text-align: center;
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.budget-tab-v2:hover {
    border-color: var(--ink-faint);
}

.budget-tab-v2.active {
    border-color: var(--ink);
    background: var(--ink);
    color: white;
}

.budget-tab-v2__price {
    display: block;
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 2px;
}

.budget-tab-v2__label {
    font-size: 11px;
    color: var(--ink-muted);
}

.budget-tab-v2.active .budget-tab-v2__label {
    color: rgba(255, 255, 255, 0.7);
}

.budget-grid {
    display: grid;
    gap: var(--sp-3);
}

@media (min-width: 640px) {
    .budget-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.budget-card {
    display: flex;
    flex-direction: column;
    padding: var(--sp-4);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.budget-card:hover {
    border-color: var(--ink-faint);
    box-shadow: var(--shadow-sm);
}

.budget-card__header {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin-bottom: var(--sp-3);
}

.budget-card__icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-dim);
    border-radius: var(--radius-sm);
}

.budget-card__icon svg {
    width: 14px;
    height: 14px;
    color: var(--ink);
}

.budget-card__category {
    font-size: 11px;
    color: var(--ink-faint);
}

.budget-card__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-1);
}

.budget-card__description {
    font-size: 12px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-3);
    flex: 1;
}

.budget-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.budget-card__winner {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: 11px;
    font-weight: var(--font-weight-semibold);
    color: var(--success);
}

.budget-card__winner svg {
    width: 14px;
    height: 14px;
}

.budget-card__footer > svg {
    width: 16px;
    height: 16px;
    color: var(--ink-faint);
    transition: transform var(--duration) var(--ease);
}

.budget-card:hover .budget-card__footer > svg {
    transform: translateX(3px);
    color: var(--ink);
}

.comparatifs-cta {
    background: var(--paper-warm);
}

.comparatifs-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-4);
    padding: var(--sp-6);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
}

@media (min-width: 640px) {
    .comparatifs-cta__inner {
        flex-direction: row;
        text-align: left;
    }
}

.comparatifs-cta__content {
    flex: 1;
}

.comparatifs-cta__title {
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-1);
}

.comparatifs-cta__text {
    font-size: 14px;
    color: var(--ink-muted);
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-hero {
    padding: var(--sp-10) 0;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--paper-dark);
}

.search-form-page {
    max-width: 680px;
    margin: 0 auto;
}

.search-wrapper--large {
    padding: var(--sp-2);
    background: var(--paper);
    border: 2px solid var(--paper-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: border-color var(--duration) var(--ease);
}

.search-wrapper--large:focus-within {
    border-color: var(--ink-faint);
}

.search-input--large {
    padding: var(--sp-3) var(--sp-2);
    font-size: 16px;
}

/* Search results header */
.search-results__header {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--paper-dark);
}

@media (min-width: 768px) {
    .search-results__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.search-results__count {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.01em;
}

/* Search filters */
.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

.search-filters__group {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.search-filter__label {
    font-size: 13px;
    color: var(--ink-muted);
    white-space: nowrap;
}

.search-filter__select {
    padding: var(--sp-2) var(--sp-3);
    font-size: 13px;
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-sm);
    background: var(--paper);
    cursor: pointer;
    min-width: 140px;
}

.search-filter__select:focus {
    outline: none;
    border-color: var(--ink-faint);
}

/* Search results list */
.search-results__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

/* Individual search result */
.search-result {
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.search-result:hover {
    border-color: var(--ink-faint);
    box-shadow: var(--shadow-md);
}

.search-result__link {
    display: flex;
    flex-direction: column;
}

@media (min-width: 640px) {
    .search-result__link {
        flex-direction: row;
    }
}

.search-result__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .search-result__image {
        width: 220px;
        aspect-ratio: auto;
    }
}

.search-result__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ease);
}

.search-result:hover .search-result__image img {
    transform: scale(1.03);
}

.search-result__content {
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.search-result__category {
    display: inline-block;
    padding: 2px var(--sp-2);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--accent);
    background: var(--accent-subtle);
    border-radius: 2px;
    margin-bottom: var(--sp-2);
    width: fit-content;
}

.search-result__title {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    margin-bottom: var(--sp-2);
}

.search-result__excerpt {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.5;
    margin-bottom: var(--sp-3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result__meta {
    display: flex;
    gap: var(--sp-4);
    font-size: 12px;
    color: var(--ink-faint);
}

.search-result__meta span {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.search-result__meta svg {
    width: 13px;
    height: 13px;
}

/* No results */
.no-results {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: var(--sp-8) 0;
}

.no-results__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-5);
    background: var(--paper-warm);
    border-radius: var(--radius-xl);
}

.no-results__icon svg {
    width: 32px;
    height: 32px;
    color: var(--ink-faint);
}

.no-results__title {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--sp-3);
}

.no-results__text {
    font-size: 15px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-4);
}

.no-results__suggestions {
    text-align: left;
    max-width: 320px;
    margin: 0 auto var(--sp-8);
    padding-left: var(--sp-5);
}

.no-results__suggestions li {
    list-style: disc;
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-2);
}

.no-results__popular,
.no-results__categories {
    margin-bottom: var(--sp-6);
}

.no-results__popular h3,
.no-results__categories h3,
.search-empty__popular h3 {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-3);
    color: var(--ink-muted);
}

/* Search tags */
.search-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-2);
}

.search-tags--large {
    gap: var(--sp-3);
}

.search-tags .search-tag {
    padding: var(--sp-2) var(--sp-4);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-full);
    transition: all var(--duration) var(--ease);
}

.search-tags .search-tag:hover {
    border-color: var(--ink-faint);
    background: var(--paper-warm);
}

.search-tags--large .search-tag {
    padding: var(--sp-3) var(--sp-5);
    font-size: 14px;
}

/* Category links */
.category-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-3);
    max-width: 440px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .category-links {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
}

.category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-4);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    transition: all var(--duration) var(--ease);
}

.category-link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.category-link svg {
    width: 22px;
    height: 22px;
    color: var(--ink-muted);
    transition: color var(--duration) var(--ease);
}

.category-link:hover svg {
    color: var(--accent);
}

/* Search empty state */
.search-empty {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding: var(--sp-8) 0;
}

.search-empty__title {
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-3);
}

.search-empty__text {
    font-size: 15px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-8);
}

.search-empty__popular {
    padding: var(--sp-6);
    background: var(--paper-warm);
    border-radius: var(--radius-lg);
}

/* ============================================
   LEGAL PAGES (Mentions, CGU, Privacy)
   ============================================ */
.legal-hero {
    padding: var(--sp-10) 0;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--paper-dark);
    text-align: center;
}

.legal-hero__title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-2);
}

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

.legal-content {
    font-size: 15px;
    line-height: 1.7;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.01em;
    margin-top: var(--sp-10);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--paper-dark);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin-top: var(--sp-6);
    margin-bottom: var(--sp-3);
}

.legal-content p {
    margin-bottom: var(--sp-4);
    color: var(--ink-light);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: var(--sp-4);
    padding-left: var(--sp-5);
}

.legal-content li {
    margin-bottom: var(--sp-2);
    color: var(--ink-light);
}

.legal-content ul li {
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content ul ul {
    margin-top: var(--sp-2);
    margin-bottom: var(--sp-2);
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    text-decoration: none;
}

.legal-content strong {
    color: var(--ink);
    font-weight: var(--font-weight-semibold);
}

.legal-intro {
    font-size: 16px;
    color: var(--ink-muted);
    padding: var(--sp-5);
    background: var(--paper-warm);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-6);
    line-height: 1.65;
}

.legal-info {
    padding: var(--sp-4);
    background: var(--paper-warm);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-4);
}

.legal-info p {
    margin-bottom: var(--sp-1);
    font-size: 14px;
}

.legal-info p:last-child {
    margin-bottom: 0;
}

.legal-table {
    width: 100%;
    margin: var(--sp-4) 0;
    border-collapse: collapse;
    font-size: 14px;
}

.legal-table th,
.legal-table td {
    padding: var(--sp-3);
    text-align: left;
    border: 1px solid var(--paper-dark);
}

.legal-table th {
    font-weight: var(--font-weight-semibold);
    background: var(--paper-warm);
    font-size: 13px;
}

.legal-table td {
    color: var(--ink-light);
}

.legal-table tr:hover td {
    background: var(--paper-warm);
}

/* ============================================
   COMPRENDRE PAGE
   ============================================ */
.page-hero {
    padding: var(--sp-10) 0;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--paper-dark);
    text-align: center;
}

.page-hero__content {
    max-width: 560px;
    margin: 0 auto;
}

.page-hero__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-4);
    background: var(--accent-subtle);
    border-radius: var(--radius-md);
}

.page-hero__icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.page-hero__title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-3);
}

.page-hero__subtitle {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* Understand grid */
.understand-grid {
    display: grid;
    gap: var(--sp-3);
}

@media (min-width: 640px) {
    .understand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.understand-card {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-5);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.section--alt .understand-card {
    background: var(--paper);
}

.understand-card:hover {
    border-color: var(--ink-faint);
    box-shadow: var(--shadow-md);
}

.understand-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.understand-card__icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.understand-card__content {
    flex: 1;
    min-width: 0;
}

.understand-card__title {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    margin-bottom: var(--sp-2);
}

.understand-card__excerpt {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.5;
    margin-bottom: var(--sp-3);
}

.understand-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent);
}

.understand-card__link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--duration) var(--ease);
}

.understand-card:hover .understand-card__link svg {
    transform: translateX(3px);
}

/* Lexique section */
.lexique-section {
    max-width: 800px;
    margin: 0 auto;
}

.lexique-header {
    text-align: center;
    margin-bottom: var(--sp-6);
}

.lexique-grid {
    display: grid;
    gap: var(--sp-2);
    margin-bottom: var(--sp-6);
}

@media (min-width: 640px) {
    .lexique-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lexique-item {
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.lexique-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--sp-4);
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    text-align: left;
    transition: background var(--duration) var(--ease);
}

.lexique-item__header:hover {
    background: var(--paper-warm);
}

.lexique-item__term {
    color: var(--ink);
}

.lexique-item__icon {
    width: 18px;
    height: 18px;
    color: var(--ink-faint);
    transition: transform var(--duration) var(--ease);
}

.lexique-item.active .lexique-item__icon {
    transform: rotate(45deg);
}

.lexique-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms var(--ease);
}

.lexique-item.active .lexique-item__content {
    max-height: 200px;
}

.lexique-item__content p {
    padding: 0 var(--sp-4) var(--sp-4);
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.6;
}

.lexique-footer {
    text-align: center;
}

/* ============================================
   TUTORIELS PAGE
   ============================================ */
.tuto-hero {
    padding: var(--sp-12) 0;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--paper-dark);
}

.tuto-hero__inner {
    display: grid;
    gap: var(--sp-8);
    align-items: center;
}

@media (min-width: 768px) {
    .tuto-hero__inner {
        grid-template-columns: 1fr 1fr;
    }
}

.tuto-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-1) var(--sp-3);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-3);
}

.tuto-hero__badge svg {
    width: 14px;
    height: 14px;
}

.tuto-hero__title {
    font-size: clamp(28px, 5vw, 38px);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-4);
}

.tuto-hero__subtitle {
    font-size: 15px;
    color: var(--ink-muted);
    line-height: 1.6;
    margin-bottom: var(--sp-6);
}

.tuto-hero__stats {
    display: flex;
    gap: var(--sp-8);
}

.tuto-stat__number {
    display: block;
    font-size: 26px;
    font-weight: var(--font-weight-bold);
    color: var(--ink);
    letter-spacing: -0.02em;
}

.tuto-stat__label {
    font-size: 12px;
    color: var(--ink-muted);
}

.tuto-hero__visual {
    display: none;
    justify-content: center;
    gap: var(--sp-3);
}

@media (min-width: 768px) {
    .tuto-hero__visual {
        display: flex;
    }
}

.tuto-hero__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
}

.tuto-hero__card svg {
    width: 28px;
    height: 28px;
    color: var(--ink);
    margin-bottom: var(--sp-2);
}

.tuto-hero__card span {
    font-size: 11px;
    font-weight: var(--font-weight-medium);
}

.tuto-hero__card--1 {
    transform: translateY(-16px);
}

.tuto-hero__card--3 {
    transform: translateY(-16px);
}

/* Tuto nav */
.tuto-nav {
    padding: var(--sp-5) 0;
    background: var(--paper);
    border-bottom: 1px solid var(--paper-dark);
}

.tuto-nav__grid {
    display: grid;
    gap: var(--sp-2);
}

@media (min-width: 640px) {
    .tuto-nav__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.tuto-nav__item {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-3);
    background: var(--paper-warm);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.tuto-nav__item:hover {
    box-shadow: var(--shadow-sm);
}

.tuto-nav__icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.tuto-nav__icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.tuto-nav__icon--blue { background: #2563eb; }
.tuto-nav__icon--purple { background: #7c3aed; }
.tuto-nav__icon--coral { background: var(--coral); }
.tuto-nav__icon--emerald { background: #059669; }

.tuto-nav__info {
    flex: 1;
}

.tuto-nav__info h3 {
    font-size: 13px;
    font-weight: var(--font-weight-semibold);
}

.tuto-nav__info span {
    font-size: 11px;
    color: var(--ink-muted);
}

.tuto-nav__arrow {
    width: 16px;
    height: 16px;
    color: var(--ink-faint);
    transition: transform var(--duration) var(--ease);
}

.tuto-nav__item:hover .tuto-nav__arrow {
    transform: translateX(3px);
    color: var(--ink);
}

/* Tuto category */
.tuto-category__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}

.tuto-category__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.tuto-category__icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.tuto-category__icon--blue { background: #2563eb; }
.tuto-category__icon--purple { background: #7c3aed; }
.tuto-category__icon--coral { background: var(--coral); }

.tuto-category__info {
    flex: 1;
}

.tuto-category__title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
}

.tuto-category__desc {
    font-size: 13px;
    color: var(--ink-muted);
}

.tuto-category__count {
    font-size: 12px;
    color: var(--ink-faint);
}

/* Tuto cards */
.tuto-cards {
    display: grid;
    gap: var(--sp-3);
}

@media (min-width: 640px) {
    .tuto-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tuto-card {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-4);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.section--alt .tuto-card {
    background: var(--paper);
}

.tuto-card:hover {
    border-color: var(--ink-faint);
    box-shadow: var(--shadow-md);
}

.tuto-card__step {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--paper-dark);
    flex-shrink: 0;
    line-height: 1;
}

.tuto-card__content {
    flex: 1;
}

.tuto-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
}

.tuto-card__difficulty {
    padding: 2px var(--sp-2);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 2px;
}

.tuto-card__difficulty--easy {
    color: var(--success);
    background: rgba(5, 150, 105, 0.1);
}

.tuto-card__difficulty--medium {
    color: var(--warning);
    background: rgba(217, 119, 6, 0.1);
}

.tuto-card__time {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: 11px;
    color: var(--ink-faint);
}

.tuto-card__time svg {
    width: 12px;
    height: 12px;
}

.tuto-card__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    margin-bottom: var(--sp-1);
}

.tuto-card__excerpt {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.5;
}

.tuto-card__action {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    margin-top: var(--sp-3);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.tuto-card:hover .tuto-card__action {
    opacity: 1;
}

.tuto-card__action svg {
    width: 14px;
    height: 14px;
}

/* Featured tuto grid */
.featured-tuto-grid {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 540px) {
    .featured-tuto-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .featured-tuto-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.featured-tuto {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.featured-tuto:hover {
    box-shadow: var(--shadow-md);
}

.featured-tuto__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.featured-tuto__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-tuto__category {
    position: absolute;
    top: var(--sp-2);
    left: var(--sp-2);
    padding: 2px var(--sp-2);
    font-size: 9px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: white;
    background: var(--ink);
    border-radius: 2px;
}

.featured-tuto__content {
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-tuto__meta {
    display: flex;
    gap: var(--sp-2);
    margin-bottom: var(--sp-2);
}

.featured-tuto__difficulty {
    padding: 2px var(--sp-2);
    font-size: 10px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 2px;
}

.featured-tuto__difficulty--easy {
    color: var(--success);
    background: rgba(5, 150, 105, 0.1);
}

.featured-tuto__difficulty--medium {
    color: var(--warning);
    background: rgba(217, 119, 6, 0.1);
}

.featured-tuto__time {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: 11px;
    color: var(--ink-faint);
}

.featured-tuto__time svg {
    width: 12px;
    height: 12px;
}

.featured-tuto__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    margin-bottom: var(--sp-2);
}

.featured-tuto__excerpt {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-3);
    flex: 1;
}

.featured-tuto__link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    font-size: 12px;
    font-weight: var(--font-weight-semibold);
    color: var(--accent);
}

.featured-tuto__link svg {
    width: 14px;
    height: 14px;
    transition: transform var(--duration) var(--ease);
}

.featured-tuto:hover .featured-tuto__link svg {
    transform: translateX(3px);
}

/* Tuto CTA */
.tuto-cta {
    background: var(--paper-warm);
}

.tuto-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-4);
    padding: var(--sp-6);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
}

@media (min-width: 640px) {
    .tuto-cta__inner {
        flex-direction: row;
        text-align: left;
    }
}

.tuto-cta__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-dim);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.tuto-cta__icon svg {
    width: 26px;
    height: 26px;
    color: var(--ink);
}

.tuto-cta__content {
    flex: 1;
}

.tuto-cta__title {
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-1);
}

.tuto-cta__text {
    font-size: 14px;
    color: var(--ink-muted);
}

/* Guides page */
.guides-hero-v2 {
    padding: var(--sp-10) 0;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--paper-dark);
}

.guides-hero-v2__label {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: var(--sp-2);
}

.guides-hero-v2__title {
    font-size: clamp(28px, 5vw, 38px);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-3);
}

.guides-hero-v2__desc {
    font-size: 15px;
    color: var(--ink-muted);
    max-width: 480px;
    line-height: 1.6;
}

.featured-guide-v2 {
    display: grid;
    gap: var(--sp-6);
    padding: var(--sp-5);
    background: var(--paper-warm);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

@media (min-width: 768px) {
    .featured-guide-v2 {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.featured-guide-v2:hover {
    box-shadow: var(--shadow-md);
}

.featured-guide-v2__image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.featured-guide-v2__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.featured-guide-v2__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-guide-v2__label {
    display: inline-block;
    padding: var(--sp-1) var(--sp-3);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--coral);
    background: var(--coral-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-3);
    width: fit-content;
}

.featured-guide-v2__title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--sp-2);
}

.featured-guide-v2__excerpt {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
    margin-bottom: var(--sp-3);
}

.featured-guide-v2__meta {
    display: flex;
    gap: var(--sp-4);
    font-size: 12px;
    color: var(--ink-faint);
}

.guide-section-v2__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-5);
}

.guide-section-v2__title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
}

.guide-section-v2__count {
    font-size: 12px;
    color: var(--ink-faint);
}

.guide-list-v2 {
    display: grid;
    gap: var(--sp-3);
}

@media (min-width: 640px) {
    .guide-list-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.guide-item-v2 {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-3);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.guide-item-v2:hover {
    border-color: var(--ink-faint);
    box-shadow: var(--shadow-sm);
}

.guide-item-v2__image {
    width: 88px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.guide-item-v2__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guide-item-v2__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.guide-item-v2__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.35;
    margin-bottom: var(--sp-1);
}

.guide-item-v2__excerpt {
    font-size: 12px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guide-item-v2__time {
    font-size: 11px;
    color: var(--ink-faint);
}

/* Blog page */
.blog-hero {
    padding: var(--sp-10) 0;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--paper-dark);
}

.blog-hero__label {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: var(--sp-2);
}

.blog-hero__title {
    font-size: clamp(28px, 5vw, 38px);
    font-weight: var(--font-weight-bold);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-3);
}

.blog-hero__desc {
    font-size: 15px;
    color: var(--ink-muted);
    max-width: 480px;
    line-height: 1.6;
}

.blog-featured {
    display: grid;
    gap: var(--sp-6);
    padding: var(--sp-5);
    background: var(--paper-warm);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

@media (min-width: 768px) {
    .blog-featured {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.blog-featured:hover {
    box-shadow: var(--shadow-md);
}

.blog-featured__image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.blog-featured__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blog-featured__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured__label {
    display: inline-block;
    padding: var(--sp-1) var(--sp-3);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--coral);
    background: var(--coral-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-3);
    width: fit-content;
}

.blog-featured__title {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: var(--sp-2);
}

.blog-featured__excerpt {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.55;
    margin-bottom: var(--sp-3);
}

.blog-featured__meta {
    display: flex;
    gap: var(--sp-4);
    font-size: 12px;
    color: var(--ink-faint);
}

.blog-featured__meta span {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
}

.blog-featured__meta svg {
    width: 14px;
    height: 14px;
}

.blog-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-5);
}

.blog-section__title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
}

.blog-section__count {
    font-size: 12px;
    color: var(--ink-faint);
}

/* About page */
.about-hero {
    padding: var(--sp-12) 0;
    background: var(--paper-warm);
    text-align: center;
    border-bottom: 1px solid var(--paper-dark);
}

.about-hero__title {
    font-size: clamp(26px, 4vw, 34px);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-4);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero__intro {
    font-size: 16px;
    color: var(--ink-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-story {
    display: grid;
    gap: var(--sp-8);
    align-items: center;
}

@media (min-width: 768px) {
    .about-story {
        grid-template-columns: 1fr 1fr;
    }
}

.about-story__title {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-4);
}

.about-story__content p {
    color: var(--ink-muted);
    margin-bottom: var(--sp-3);
    line-height: 1.65;
}

.about-story__image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-story__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.values-grid {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.value-card {
    padding: var(--sp-5);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    text-align: center;
}

.value-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-3);
    background: var(--paper-dim);
    border-radius: var(--radius-md);
}

.value-card__icon svg {
    width: 24px;
    height: 24px;
    color: var(--ink);
}

.value-card__title {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-2);
}

.value-card__text {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.5;
}

.team-grid {
    display: grid;
    gap: var(--sp-4);
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-card {
    padding: var(--sp-5);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
    text-align: center;
}

.team-card__avatar {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-3);
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: white;
    border-radius: var(--radius-md);
}

.team-card__name {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 2px;
}

.team-card__role {
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 2px;
}

.team-card__specialty {
    font-size: 11px;
    color: var(--ink-faint);
    margin-bottom: var(--sp-3);
}

.team-card__bio {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.5;
}

.methodology {
    max-width: 600px;
    margin: 0 auto;
}

.methodology-step {
    display: flex;
    gap: var(--sp-4);
    padding: var(--sp-5) 0;
    border-bottom: 1px solid var(--paper-dark);
}

.methodology-step:last-child {
    border-bottom: none;
}

.methodology-step__number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    color: var(--accent);
    background: var(--accent-subtle);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.methodology-step__title {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-1);
}

.methodology-step__text {
    font-size: 13px;
    color: var(--ink-muted);
    line-height: 1.55;
}

.about-contact {
    text-align: center;
    padding: var(--sp-6);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-md);
}

.about-contact__title {
    font-size: 17px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-2);
}

.about-contact__text {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: var(--sp-4);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-ready {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 250ms var(--ease);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filter tags */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.filter-tag {
    padding: var(--sp-2) var(--sp-3);
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--ink-muted);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.filter-tag:hover {
    border-color: var(--ink-faint);
}

.filter-tag.active {
    color: var(--ink);
    border-color: var(--ink);
}

/* Sort select */
.sort-select {
    padding: var(--sp-2) var(--sp-3);
    font-size: 13px;
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-sm);
    background: var(--paper);
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--ink-faint);
}

/* Pagination */
.pagination {
    margin-top: var(--sp-8);
}

.pagination__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--sp-1);
}

.pagination__item {
    display: flex;
}

.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--sp-2);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--ink-muted);
    background: var(--paper);
    border: 1px solid var(--paper-dark);
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease);
}

.pagination__link:hover {
    border-color: var(--ink-faint);
    color: var(--ink);
}

.pagination__link--active {
    background: var(--ink);
    border-color: var(--ink);
    color: white;
}

.pagination__link--active:hover {
    background: var(--ink-light);
    border-color: var(--ink-light);
    color: white;
}

.pagination__link svg {
    width: 16px;
    height: 16px;
}

.pagination__ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 13px;
    color: var(--ink-faint);
}

/* 404 page */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--sp-12) var(--sp-4);
}

.error-page__code {
    font-size: 6rem;
    font-weight: var(--font-weight-bold);
    color: var(--paper-dark);
    line-height: 1;
    margin-bottom: var(--sp-4);
}

.error-page__title {
    font-size: 22px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--sp-2);
}

.error-page__text {
    color: var(--ink-muted);
    margin-bottom: var(--sp-6);
    max-width: 360px;
}

/* Responsive utilities */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}
