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

:root {
    --primary: #181d26;
    --primary-active: #0d1218;
    --canvas: #ffffff;
    --surface-soft: #f8fafc;
    --surface-strong: #e0e2e6;
    --surface-dark: #181d26;
    --surface-dark-elevated: #1d1f25;
    --hairline: #dddddd;
    --ink: #181d26;
    --body: #333840;
    --muted: #41454d;
    --border-strong: #9297a0;
    --on-primary: #ffffff;
    --link: #1b61c9;
    --link-active: #1a3866;
    --signature-coral: #aa2d00;
    --signature-forest: #0a2e0e;
    --signature-cream: #f5e9d4;
    --signature-peach: #fcab79;
    --signature-mint: #a8d8c4;
    --signature-yellow: #f4d35e;
    --signature-mustard: #d9a441;
    --rounded-xs: 2px;
    --rounded-sm: 6px;
    --rounded-md: 10px;
    --rounded-lg: 12px;
    --spacing-xxs: 4px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-section: 96px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--body);
    background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-xxl);
}

@media (max-width: 767px) {
    .container { padding: 0 var(--spacing-md); }
}

/* TOP NAV */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 64px;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    display: flex;
    align-items: center;
}

.top-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.3px;
    flex-shrink: 0;
}

.nav-logo span { color: var(--signature-coral); }

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xxl);
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--body);
    transition: color 0.15s;
}

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

.nav-links a.active { color: var(--ink); font-weight: 500; }

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: var(--rounded-lg);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    cursor: pointer;
    transition: border-color 0.15s;
    white-space: nowrap;
}

.btn-secondary:hover { border-color: var(--border-strong); color: var(--ink); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* MOBILE NAV */
.mobile-nav-sheet {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--canvas);
    z-index: 200;
    flex-direction: column;
    padding: var(--spacing-xxl) var(--spacing-md);
    gap: var(--spacing-lg);
}

.mobile-nav-sheet.open { display: flex; }

.mobile-nav-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--ink);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.mobile-nav-links a {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
}

/* HERO */
.hero-band {
    padding: var(--spacing-section) 0;
    background: var(--canvas);
}

.hero-band .container {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero-band h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--ink);
    margin-bottom: var(--spacing-lg);
}

.hero-band p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* SIGNATURE CARDS */
.signature-coral {
    background: var(--signature-coral);
    color: var(--on-primary);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
}

.signature-forest {
    background: var(--signature-forest);
    color: var(--on-primary);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
}

.signature-dark {
    background: var(--surface-dark);
    color: var(--on-primary);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
}

.signature-coral h2,
.signature-forest h2,
.signature-dark h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.signature-coral p,
.signature-forest p,
.signature-dark p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: var(--spacing-xl);
    opacity: 0.85;
}

.btn-on-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: var(--canvas);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--rounded-lg);
    border: none;
    cursor: pointer;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.btn-on-dark:hover { opacity: 0.9; color: var(--ink); }

/* SECTION */
.section { padding: var(--spacing-section) 0; }
.section-cream { background: var(--signature-cream); }
.section-soft { background: var(--surface-soft); }
.section-light { background: var(--surface-strong); }

.section-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.12px;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: var(--spacing-xxl);
    max-width: 600px;
}

.section-header { margin-bottom: var(--spacing-xxl); }
.section-header h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

/* CARDS GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

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

@media (max-width: 767px) {
    .cards-grid { grid-template-columns: 1fr; }
    .cards-grid-2 { grid-template-columns: 1fr; }
}

/* ARTICLE CARD */
.article-card {
    background: var(--canvas);
    border-radius: var(--rounded-md);
    border: 1px solid var(--hairline);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.article-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.article-card-body {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: var(--spacing-xs);
}

.article-card-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

.article-card-title a { color: var(--ink); }
.article-card-title a:hover { color: var(--link); }

.article-card-meta {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.16px;
    color: var(--muted);
    margin-top: auto;
    padding-top: var(--spacing-md);
}

.article-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

/* DEMO GRID (mixed pastel cards) */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 767px) {
    .demo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
    .demo-grid { grid-template-columns: repeat(2, 1fr); }
}

.demo-card {
    border-radius: var(--rounded-md);
    padding: var(--spacing-md);
}

.demo-card-peach { background: var(--signature-peach); }
.demo-card-mint { background: var(--signature-mint); }
.demo-card-yellow { background: var(--signature-yellow); }
.demo-card-cream { background: var(--signature-cream); }
.demo-card-soft { background: var(--surface-soft); }

.demo-card h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-bottom: var(--spacing-xs);
}

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

.demo-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--rounded-sm);
    margin-bottom: var(--spacing-sm);
}

/* SIGNATURE BAND */
.signature-band { padding: var(--spacing-section) 0; }

.signature-band-inner {
    background: var(--signature-coral);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl) var(--spacing-xxl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.signature-band-inner.forest { background: var(--signature-forest); }
.signature-band-inner.dark { background: var(--surface-dark); }

.signature-band-text h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--on-primary);
    margin-bottom: var(--spacing-md);
}

.signature-band-text p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--on-primary);
    opacity: 0.85;
    margin-bottom: var(--spacing-xl);
}

.signature-band-img img {
    width: 100%;
    border-radius: var(--rounded-md);
    aspect-ratio: 4/3;
    object-fit: cover;
}

@media (max-width: 767px) {
    .signature-band-inner { grid-template-columns: 1fr; }
    .signature-band-img { display: none; }
}

/* CTA BAND */
.cta-band {
    background: var(--surface-strong);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xxl);
    text-align: center;
    margin: var(--spacing-section) 0;
}

.cta-band h2 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.cta-band p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: var(--spacing-xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* CONTACT FORM */
.contact-form {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xl);
    max-width: 560px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    height: 44px;
    padding: 12px var(--spacing-md);
    background: var(--canvas);
    color: var(--ink);
    font-size: 14px;
    font-weight: 400;
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-sm);
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus { border-color: #458fff; }

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

/* ARTICLE PAGE */
.article-hero {
    padding: var(--spacing-section) 0 var(--spacing-xxl);
    background: var(--canvas);
}

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

.article-meta {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16px;
    color: var(--muted);
    margin-bottom: var(--spacing-xxl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.article-meta a { color: var(--muted); }
.article-meta a:hover { color: var(--link); }

.article-hero-img {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--rounded-md);
    margin-bottom: var(--spacing-section);
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: var(--spacing-section);
}

.article-body h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--ink);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-md);
}

.article-body h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.article-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-md);
}

.article-body ul, .article-body ol {
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.article-body li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

.article-body a { color: var(--link); }

.article-body img {
    width: 100%;
    border-radius: var(--rounded-md);
    aspect-ratio: 16/9;
    object-fit: cover;
    margin: var(--spacing-xl) 0;
}

.article-body blockquote {
    border-left: 3px solid var(--signature-coral);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    color: var(--muted);
    font-style: italic;
}

/* BREADCRUMB */
.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-xs);
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb span { color: var(--border-strong); }

/* FOOTER */
footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--spacing-section) 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

@media (max-width: 1023px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.footer-brand h3 span { color: var(--signature-coral); }

.footer-brand p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    margin-bottom: var(--spacing-md);
}

.footer-brand address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}

.footer-brand address a { color: var(--muted); }
.footer-brand address a:hover { color: var(--link); }

.footer-col h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--spacing-xs); }
.footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--link); }

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p { font-size: 14px; color: var(--muted); }
.footer-bottom-links { display: flex; gap: var(--spacing-lg); }
.footer-bottom-links a { font-size: 14px; color: var(--muted); }
.footer-bottom-links a:hover { color: var(--link); }

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--surface-dark-elevated);
    color: var(--on-primary);
    padding: var(--spacing-md) var(--spacing-xxl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
    flex: 1;
    min-width: 200px;
}

.cookie-banner p a { color: var(--signature-mint); }

.cookie-buttons { display: flex; gap: var(--spacing-sm); flex-wrap: wrap; }

.btn-legal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    background: var(--link);
    color: var(--on-primary);
    font-size: 13.12px;
    font-weight: 600;
    border-radius: var(--rounded-xs);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-legal-reject {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-size: 13.12px;
    font-weight: 600;
    border-radius: var(--rounded-xs);
    border: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    white-space: nowrap;
}

/* STATIC PAGES */
.static-hero {
    padding: var(--spacing-section) 0 var(--spacing-xxl);
    background: var(--canvas);
}

.static-hero h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: var(--spacing-md);
}

.static-hero p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

.static-body {
    max-width: 760px;
    padding-bottom: var(--spacing-section);
}

.static-body h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-md);
}

.static-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.static-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-md);
}

.static-body ul, .static-body ol {
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.static-body li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: var(--spacing-xs);
}

.static-body a { color: var(--link); }

.disclaimer-box {
    background: var(--surface-soft);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
}

/* ABOUT PAGE - INFO BLOCKS */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

@media (max-width: 767px) {
    .info-grid { grid-template-columns: 1fr; }
}

.info-block {
    background: var(--surface-soft);
    border-radius: var(--rounded-md);
    padding: var(--spacing-xl);
}

.info-block h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--spacing-sm);
}

.info-block p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
}

/* RELATED ARTICLES */
.related-articles { padding: var(--spacing-section) 0; background: var(--surface-soft); }
.related-articles h2 {
    font-size: 24px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: var(--spacing-xl);
}

/* UTILITY */
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mb-xxl { margin-bottom: var(--spacing-xxl); }
.mb-xl { margin-bottom: var(--spacing-xl); }

@media (max-width: 767px) {
    .hero-band h1 { font-size: 28px; }
    .signature-coral h2, .signature-forest h2, .signature-dark h2 { font-size: 24px; }
    .section-header h2 { font-size: 24px; }
    .article-hero h1 { font-size: 28px; }
    .static-hero h1 { font-size: 28px; }
    .cta-band h2 { font-size: 24px; }
    .hamburger { display: flex; }
    .nav-links { display: none; }
    .nav-right .btn-primary { display: none; }
    .cookie-banner { padding: var(--spacing-md); }
    footer { padding: var(--spacing-xxl) 0 var(--spacing-xl); }
}
