@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

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

:root {
    --canvas: #f7f7f4;
    --canvas-soft: #fafaf7;
    --surface-card: #ffffff;
    --surface-strong: #e6e5e0;
    --primary: #f54e00;
    --primary-active: #d04200;
    --on-primary: #ffffff;
    --ink: #26251e;
    --body: #5a5852;
    --body-strong: #26251e;
    --muted: #807d72;
    --muted-soft: #a09c92;
    --hairline: #e6e5e0;
    --hairline-soft: #efeee8;
    --hairline-strong: #cfcdc4;
    --success: #1f8a65;
    --error: #cf2d56;
    --rounded-xs: 4px;
    --rounded-sm: 6px;
    --rounded-md: 8px;
    --rounded-lg: 12px;
    --rounded-xl: 16px;
    --rounded-pill: 9999px;
}

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

body {
    font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--canvas);
    color: var(--body);
    line-height: 1.5;
    font-weight: 400;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.nav-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.5px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

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

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

.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
    gap: 16px;
}

.nav-mobile a {
    font-size: 15px;
    font-weight: 500;
    color: var(--body);
}

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

/* HERO */
.hero-band {
    padding: 80px 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline-soft);
}

.hero-band h1 {
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -2.16px;
    color: var(--ink);
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-band .hero-sub {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body);
    max-width: 560px;
    margin-bottom: 32px;
}

.hero-meta {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 40px;
}

.hero-image {
    margin-top: 48px;
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    overflow: hidden;
    max-height: 480px;
}

.hero-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

/* BADGE */
.badge-pill {
    display: inline-flex;
    align-items: center;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    border-radius: var(--rounded-pill);
    padding: 4px 10px;
    margin-bottom: 16px;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.72px;
    color: var(--ink);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--body);
    max-width: 600px;
    margin-bottom: 48px;
}

/* CARD GRID */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* FEATURE CARD */
.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card-img {
    border-radius: var(--rounded-md);
    overflow: hidden;
    margin-bottom: 4px;
    aspect-ratio: 16/9;
}

.feature-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
}

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

.feature-card a.card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

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

.article-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.article-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-card-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
}

.article-card h3 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.11px;
    line-height: 1.3;
    color: var(--ink);
}

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

.article-card-meta {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
}

/* INFO BAND */
.info-band {
    background: var(--surface-card);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.info-grid img {
    border-radius: var(--rounded-lg);
    border: 1px solid var(--hairline);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.info-content h2 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.72px;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 16px;
}

.info-content p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--body);
    margin-bottom: 16px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.info-list li {
    font-size: 15px;
    line-height: 1.5;
    color: var(--body);
    padding-left: 20px;
    position: relative;
}

.info-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted);
}

/* ARTICLE PAGE */
.article-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline-soft);
}

.article-header h1 {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -1.2px;
    line-height: 1.15;
    color: var(--ink);
    max-width: 780px;
    margin-bottom: 20px;
}

.article-header .article-desc {
    font-size: 18px;
    line-height: 1.5;
    color: var(--body);
    max-width: 640px;
    margin-bottom: 20px;
}

.article-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    flex-wrap: wrap;
}

.article-meta-row span { display: flex; align-items: center; gap: 4px; }

.article-hero-img {
    margin: 40px 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-hero-img img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.article-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
    padding: 48px 0 80px;
    align-items: start;
}

.article-content h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    line-height: 1.25;
    color: var(--ink);
    margin: 40px 0 16px;
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    margin: 28px 0 12px;
}

.article-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 16px;
}

.article-content ul, .article-content ol {
    margin: 0 0 16px 0;
    padding: 0;
}

.article-content ul li, .article-content ol li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.article-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted);
}

.article-content ol { counter-reset: ol-counter; }
.article-content ol li::before {
    content: counter(ol-counter) '.';
    counter-increment: ol-counter;
    position: absolute;
    left: 0;
    color: var(--muted);
    font-weight: 600;
}

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

.article-content a:hover { color: var(--primary-active); }

.article-content figure {
    margin: 32px 0;
    border-radius: var(--rounded-lg);
    overflow: hidden;
    border: 1px solid var(--hairline);
}

.article-content figure img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.article-content figcaption {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
    padding: 10px 16px;
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
}

.info-box {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
    margin: 24px 0;
}

.info-box h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.info-box ul li {
    padding-left: 16px;
    font-size: 15px;
    color: var(--body);
    margin-bottom: 6px;
}

.info-box ul li::before {
    content: '·';
    left: 0;
    position: absolute;
    color: var(--muted);
}

/* ARTICLE SIDEBAR */
.article-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 20px;
}

.sidebar-card h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.sidebar-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--hairline-soft);
}

.sidebar-card ul li:last-child { border-bottom: none; }

.sidebar-card ul li a {
    font-size: 14px;
    color: var(--body);
    line-height: 1.4;
}

.sidebar-card ul li a:hover { color: var(--ink); }

/* DIVIDER */
.divider {
    border: none;
    border-top: 1px solid var(--hairline);
    margin: 0;
}

/* PAGE HEADER */
.page-header {
    padding: 64px 0 48px;
    border-bottom: 1px solid var(--hairline-soft);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -1.2px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--body);
    max-width: 600px;
}

/* STATIC PAGE CONTENT */
.static-content {
    padding: 48px 0 80px;
    max-width: 720px;
}

.static-content h2 {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.325px;
    color: var(--ink);
    margin: 40px 0 16px;
}

.static-content h2:first-child { margin-top: 0; }

.static-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 24px 0 12px;
}

.static-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 16px;
}

.static-content ul {
    margin: 0 0 16px 0;
}

.static-content ul li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.static-content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--muted);
}

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

/* CONTACT FORM */
.contact-section {
    padding: 80px 0;
    background: var(--surface-card);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.72px;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--body);
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.contact-detail span {
    font-size: 14px;
    color: var(--body);
}

.contact-detail strong {
    color: var(--ink);
    font-weight: 600;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
}

.form-group input,
.form-group textarea {
    background: var(--surface-card);
    color: var(--ink);
    border: 1px solid var(--hairline-strong);
    border-radius: var(--rounded-md);
    padding: 12px 16px;
    height: 44px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
    outline: none;
    transition: border-color 0.15s;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-soft);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 10px 18px;
    height: 40px;
    border-radius: var(--rounded-md);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}

.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-msg {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: var(--rounded-md);
    font-size: 14px;
    font-weight: 500;
}

.form-msg.success {
    background: #e8f5ef;
    color: var(--success);
    border: 1px solid #b8dece;
    display: block;
}

/* FOOTER */
.footer {
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 64px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

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

.footer-brand p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--body);
    max-width: 240px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.88px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--body);
    line-height: 1.5;
}

.footer-col ul li a:hover { color: var(--ink); }

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

.footer-bottom p {
    font-size: 13px;
    color: var(--muted);
}

.footer-bottom a {
    font-size: 13px;
    color: var(--muted);
}

.footer-bottom a:hover { color: var(--body); }

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 560px;
    background: var(--ink);
    color: var(--canvas);
    border-radius: var(--rounded-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(38,37,30,0.18);
    flex-wrap: wrap;
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    color: #d4d3cc;
    flex: 1;
    min-width: 200px;
}

#cookie-banner p a {
    color: var(--canvas);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--primary);
    color: var(--on-primary);
    border: none;
    border-radius: var(--rounded-md);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.btn-cookie-accept:hover { background: var(--primary-active); }

.btn-cookie-reject {
    background: transparent;
    color: #d4d3cc;
    border: 1px solid #5a5852;
    border-radius: var(--rounded-md);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s;
}

.btn-cookie-reject:hover { border-color: #807d72; }

/* ABOUT TEAM GRID */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.team-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline);
    border-radius: var(--rounded-lg);
    padding: 24px;
}

.team-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}

.team-card .team-role {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

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

/* DISCLAIMER */
.disclaimer-band {
    background: var(--canvas-soft);
    border-top: 1px solid var(--hairline-soft);
    padding: 20px 0;
}

.disclaimer-band p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* BREADCRUMB */
.breadcrumb {
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

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

/* LOADING SPINNER */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-band h1 { font-size: 56px; letter-spacing: -1.5px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .article-body { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .info-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .hero-band h1 { font-size: 40px; letter-spacing: -1px; }
    .section-title { font-size: 28px; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .card-grid { grid-template-columns: 1fr; }
    .card-grid-2 { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .article-header h1 { font-size: 32px; letter-spacing: -0.5px; }
    .page-header h1 { font-size: 32px; }
    #cookie-banner { bottom: 16px; left: 16px; right: 16px; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .hero-band { padding: 48px 0; }
    .hero-band h1 { font-size: 32px; letter-spacing: -0.5px; }
    .section { padding: 48px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}
