@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --canvas: #181818;
    --canvas-elevated: #303030;
    --canvas-light: #ffffff;
    --surface-soft-light: #f7f7f7;
    --surface-strong-light: #ebebeb;
    --primary: #da291c;
    --primary-active: #b01e0a;
    --hairline: #303030;
    --hairline-on-light: #d2d2d2;
    --ink: #ffffff;
    --body: #969696;
    --body-on-light: #181818;
    --muted: #666666;
    --on-primary: #ffffff;
    --font: 'Inter', -apple-system, system-ui, sans-serif;
    --sp-xxxs: 4px;
    --sp-xxs: 8px;
    --sp-xs: 16px;
    --sp-sm: 24px;
    --sp-md: 32px;
    --sp-lg: 48px;
    --sp-xl: 64px;
    --sp-xxl: 96px;
    --sp-super: 128px;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--canvas);
    color: var(--body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

/* NAV */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    height: 64px;
    display: flex;
    align-items: center;
}

.site-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-nav .brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: var(--sp-xxs);
}

.site-nav .brand span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: var(--body);
    padding: var(--sp-xxs) 0;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--sp-xxs);
    flex-direction: column;
    gap: 5px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: all 0.2s;
}

/* HERO */
.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--canvas);
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24,24,24,0.1) 0%, rgba(24,24,24,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--sp-xxl) var(--sp-md);
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.hero-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--primary);
    margin-bottom: var(--sp-xs);
}

.hero h1 {
    font-size: 80px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -1.6px;
    color: var(--ink);
    max-width: 760px;
    margin-bottom: var(--sp-sm);
}

.hero-desc {
    font-size: 16px;
    font-weight: 400;
    color: var(--body);
    max-width: 520px;
    margin-bottom: var(--sp-lg);
}

.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 14px 32px;
    height: 48px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: var(--primary-active);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    padding: 14px 32px;
    height: 48px;
    border-radius: 0;
    border: 1px solid var(--ink);
    cursor: pointer;
    margin-left: var(--sp-xs);
    transition: background 0.15s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
}

/* SECTION */
.section {
    padding: var(--sp-xxl) 0;
}

.section-light {
    background: var(--surface-soft-light);
    padding: var(--sp-xxl) 0;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--primary);
    margin-bottom: var(--sp-xs);
}

.section-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.36px;
    color: var(--ink);
    margin-bottom: var(--sp-xs);
}

.section-title-dark {
    color: var(--body-on-light);
}

.section-sub {
    font-size: 14px;
    color: var(--body);
    max-width: 560px;
    margin-bottom: var(--sp-lg);
}

.section-sub-dark {
    color: #555;
}

/* ARTICLE GRID */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
}

.article-card {
    background: var(--canvas-elevated);
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.article-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.article-card-body {
    padding: var(--sp-sm);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--primary);
    margin-bottom: var(--sp-xxs);
}

.article-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: var(--sp-xxs);
}

.article-card p {
    font-size: 13px;
    color: var(--body);
    line-height: 1.5;
    flex: 1;
    margin-bottom: var(--sp-sm);
}

.article-card-meta {
    font-size: 12px;
    color: var(--muted);
}

.article-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-xxs);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--primary);
    margin-top: var(--sp-xs);
}

/* TIPS BAND */
.tips-band {
    background: var(--primary);
    padding: var(--sp-xxl) 0;
}

.tips-band .section-title {
    color: var(--on-primary);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
}

.tip-item {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: var(--sp-sm);
}

.tip-num {
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.6px;
    color: rgba(255,255,255,0.25);
    margin-bottom: var(--sp-xs);
}

.tip-item h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--on-primary);
    margin-bottom: var(--sp-xxs);
}

.tip-item p {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

/* CONTACT FORM */
.contact-form {
    max-width: 560px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xs);
    margin-bottom: var(--sp-xs);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xxxs);
    margin-bottom: var(--sp-xs);
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--muted);
}

.form-group input,
.form-group textarea {
    background: var(--canvas-elevated);
    border: 1px solid var(--hairline);
    color: var(--ink);
    font-family: var(--font);
    font-size: 14px;
    padding: 14px 16px;
    border-radius: 4px;
    height: 48px;
    outline: none;
    transition: border-color 0.15s;
}

.form-group textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

/* FOOTER */
.site-footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: var(--sp-xl) 0 var(--sp-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--sp-lg);
    margin-bottom: var(--sp-xl);
}

.footer-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
}

.footer-brand span {
    color: var(--primary);
}

.footer-desc {
    font-size: 13px;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: var(--sp-sm);
}

.footer-col h5 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--ink);
    margin-bottom: var(--sp-sm);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--sp-xxs);
}

.footer-col a {
    font-size: 13px;
    color: var(--body);
    transition: color 0.15s;
}

.footer-col a:hover {
    color: var(--ink);
}

.footer-bottom {
    border-top: 1px solid var(--hairline);
    padding-top: var(--sp-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted);
}

/* ARTICLE PAGE */
.article-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.article-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24,24,24,0.2) 0%, rgba(24,24,24,0.9) 100%);
}

.article-hero-content {
    position: relative;
    z-index: 2;
    padding: var(--sp-xl) var(--sp-md);
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    padding: var(--sp-xxl) var(--sp-md);
}

.article-body h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.195px;
    margin: var(--sp-lg) 0 var(--sp-sm);
}

.article-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: var(--sp-md) 0 var(--sp-xs);
}

.article-body p {
    font-size: 15px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-sm);
}

.article-body ul,
.article-body ol {
    margin: var(--sp-sm) 0;
    padding-left: var(--sp-md);
}

.article-body li {
    font-size: 15px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-xxs);
}

.article-body a {
    color: var(--primary);
    text-decoration: underline;
}

.article-body img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin: var(--sp-lg) 0;
}

.article-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: var(--sp-lg);
    display: flex;
    gap: var(--sp-sm);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    background: var(--canvas-elevated);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    border-radius: 9999px;
    padding: 4px 12px;
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--sp-xxs);
    font-size: 12px;
    color: var(--muted);
    padding: var(--sp-sm) 0;
}

.breadcrumb a {
    color: var(--muted);
    transition: color 0.15s;
}

.breadcrumb a:hover {
    color: var(--ink);
}

.breadcrumb-sep {
    color: var(--hairline);
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--canvas-elevated);
    border-top: 1px solid var(--hairline);
    padding: var(--sp-sm) var(--sp-md);
    display: none;
}

.cookie-banner.visible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-md);
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 13px;
    color: var(--body);
    flex: 1;
    min-width: 240px;
}

.cookie-banner p a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: var(--sp-xs);
    flex-shrink: 0;
}

/* PAGE (about/privacy/terms) */
.page-hero {
    padding: var(--sp-xxl) 0 var(--sp-xl);
    border-bottom: 1px solid var(--hairline);
}

.page-body {
    max-width: 840px;
    margin: 0 auto;
    padding: var(--sp-xxl) var(--sp-md);
}

.page-body h2 {
    font-size: 26px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: 0.195px;
    margin: var(--sp-lg) 0 var(--sp-sm);
}

.page-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: var(--sp-md) 0 var(--sp-xs);
}

.page-body p {
    font-size: 15px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-sm);
}

.page-body ul {
    margin: var(--sp-sm) 0;
    padding-left: var(--sp-md);
}

.page-body li {
    font-size: 15px;
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--sp-xxs);
}

.page-body a {
    color: var(--primary);
    text-decoration: underline;
}

/* INFO ROW */
.info-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-md);
    margin-top: var(--sp-lg);
}

.info-cell {
    border-top: 1px solid var(--hairline);
    padding-top: var(--sp-sm);
}

.info-cell .val {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.36px;
    color: var(--ink);
    margin-bottom: var(--sp-xxs);
}

.info-cell .lbl {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--muted);
}

/* DISCLAIMER */
.disclaimer-band {
    background: var(--canvas-elevated);
    padding: var(--sp-md) 0;
    border-top: 1px solid var(--hairline);
}

.disclaimer-band p {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 { font-size: 56px; letter-spacing: -1.12px; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .tips-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .info-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--canvas);
        padding: var(--sp-sm) var(--sp-md);
        border-bottom: 1px solid var(--hairline);
        z-index: 99;
    }
    .nav-hamburger { display: flex; }
    .site-nav { position: relative; }
}

@media (max-width: 640px) {
    .hero h1 { font-size: 32px; letter-spacing: -0.8px; }
    .hero { min-height: 420px; }
    .article-grid { grid-template-columns: 1fr; }
    .tips-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > .footer-col:first-child { grid-column: span 2; }
    .form-row { grid-template-columns: 1fr; }
    .section-title { font-size: 26px; }
    .info-row { grid-template-columns: repeat(2, 1fr); }
}
