:root {
    --bg: #F9F7F3;
    --card-bg: #FFFFFF;
    --card-hover: #F0EEE9;
    --fg: #2C2C2C;
    --muted: #6B6B6B;
    --accent: #448C86;
    --accent-dark: #2F6662;
    --rule: #E5E0D8;
    --serif: 'Source Serif 4', 'Noto Serif SC', serif;
    --sans: 'Noto Sans SC', system-ui, sans-serif;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--fg); }
.overline {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

/* Button */
.btn-solid, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-family: var(--sans);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-solid {
    background: var(--accent);
    color: #fff;
}
.btn-solid:hover { background: var(--accent-dark); }

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-outline:hover { background: rgba(68, 140, 134, 0.05); }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 60px;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--fg);
    text-decoration: none;
    font-family: var(--serif);
    font-weight: 900;
    font-size: 20px;
}
.brand-mark { background: var(--accent); color: #fff; padding: 2px 8px; font-size: 14px; border-radius: 2px; }

.nav { display: flex; gap: 32px; }
.nav-item {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-item:hover, .nav-item.active { color: var(--accent); }

.menu-btn { display: none; background: none; border: none; color: var(--fg); cursor: pointer; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--card-bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.section-head { text-align: center; margin-bottom: 60px; }
.section-title { font-size: 38px; margin-bottom: 16px; font-weight: 800; }
.section-lead { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto; font-family: var(--serif); font-style: italic; }

/* Hero */
.hero { padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 60px; align-items: center; }
.hero-kicker { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; margin-bottom: 20px; text-transform: uppercase; }
.hero-headline { font-size: 56px; line-height: 1.15; margin-bottom: 24px; font-weight: 900; }
.hero-headline em { display: inline-block; font-style: normal; color: var(--accent); position: relative; }
.hero-body { font-size: 18px; color: var(--muted); margin-bottom: 40px; font-family: var(--serif); text-align: justify; }
.hero-cta { display: flex; gap: 16px; }

/* Metrics */
.metric-stack { display: flex; flex-direction: column; gap: 32px; padding: 40px; background: var(--card-bg); border: 1px solid var(--rule); border-radius: 8px; }
.metric { display: flex; flex-direction: column; }
.metric-value { font-family: var(--sans); font-size: 48px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.metric-label { font-size: 14px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Capabilities Grid */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.cap-card { 
    background: var(--card-bg); 
    border: 1px solid var(--rule); 
    padding: 30px; 
    transition: all 0.2s; 
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.06); border-color: var(--accent); }
.cap-num { color: var(--rule); font-size: 48px; font-weight: 900; font-family: var(--serif); margin-bottom: 16px; line-height: 1; }
.cap-card h3 { font-size: 22px; margin-bottom: 12px; }
.cap-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.cap-tag { position: absolute; top: 30px; right: 30px; font-size: 11px; background: rgba(68,140,134,0.1); color: var(--accent); padding: 4px 8px; font-weight: 600; }

/* Insight / Articles */
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.insight-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--rule); }
.insight-img { background: #E8E5DF; position: relative; min-height: 300px; }
.insight-badge { position: absolute; top: 20px; left: 20px; background: var(--accent); color: #fff; font-size: 11px; padding: 4px 10px; font-weight: 600; text-transform: uppercase; }
.insight-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.insight-time { font-size: 13px; color: var(--muted); margin-bottom: 12px; font-family: var(--sans); }
.insight-feature h3 { font-size: 28px; margin-bottom: 16px; line-height: 1.3; }

.insight-card { background: var(--bg); border: 1px solid var(--rule); padding: 30px; display: flex; flex-direction: column; }
.insight-cat { font-size: 12px; color: var(--accent); margin-bottom: 12px; font-weight: 600; }
.insight-card h3 { font-size: 20px; margin-bottom: 16px; line-height: 1.4; }
.insight-card p { font-size: 15px; color: var(--muted); flex: 1; }
.read-more { margin-top: 24px; font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 600; }
.read-more:hover { text-decoration: underline; }

/* Data Dashboard */
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.data-card { background: var(--card-bg); padding: 24px; border: 1px solid var(--rule); border-top: 3px solid var(--accent); }
.data-head { margin-bottom: 12px; }
.data-delta { font-size: 12px; font-weight: 600; color: #E85D04; }
.data-title { font-size: 14px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.data-value { font-size: 36px; font-weight: 800; font-family: var(--sans); line-height: 1; color: var(--fg); }
.data-value small { font-size: 16px; font-weight: 500; margin-left: 4px; color: var(--muted); }
.data-note { margin-top: 12px; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Subscribe CTA */
.section-cta { padding: 100px 0; background: var(--card-bg); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
.cta-box { max-width: 500px; margin: 0 auto; }
.cta-box h2 { font-size: 32px; margin-bottom: 16px; }
.cta-box p { font-size: 16px; color: var(--muted); margin-bottom: 30px; font-family: var(--serif); }
.cta-form { display: flex; gap: 8px; margin-bottom: 16px; }
.cta-input { flex: 1; padding: 12px 16px; background: var(--bg); border: 1px solid var(--rule); color: var(--fg); font-size: 15px; }
.cta-input:focus { outline: none; border-color: var(--accent); }

/* About Grid */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.about-item h3 { font-size: 20px; margin-bottom: 12px; color: var(--accent); }
.about-item p { color: var(--muted); font-size: 15px; }

/* Footer */
.footer { border-top: 1px solid var(--rule); padding: 60px 0 40px; background: var(--bg); font-size: 13px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h4 { font-size: 13px; color: var(--fg); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--rule); padding-top: 24px; display: flex; justify-content: space-between; align-items: flex-start; }
.footer-company p { margin-bottom: 4px; color: var(--fg); font-weight: 500; }
.footer-legal a { color: var(--muted); text-decoration: none; margin-right: 16px; }
.footer-legal a:hover { color: var(--accent); }

/* To Top */
.to-top { position: fixed; bottom: 30px; right: 30px; width: 40px; height: 40px; background: var(--card-bg); border: 1px solid var(--rule); color: var(--fg); cursor: pointer; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.2s; opacity: 0; pointer-events: none; }
.to-top.visible { opacity: 1; pointer-events: auto; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* Responsive adjustments */
@media (max-width: 900px) {
    .insight-feature, .insight-grid, .about-grid, .footer-grid, .hero-grid { grid-template-columns: 1fr; }
    .data-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding: 100px 0 40px; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-body { text-align: center; }
    .nav { display: none; }
    .menu-btn { display: block; }
}
