/* Mesa Point - Editorial Spec Implementation */

:root {
    /* Color System */
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --text: #111111;
    --muted: rgba(17,17,17,.72);
    
    --slate: #64748B;
    --slate-70: rgba(100,116,139,.70);
    --slate-60: rgba(100,116,139,.60);
    --slate-40: rgba(100,116,139,.40);
    --slate-25: rgba(100,116,139,.25);
    --slate-15: rgba(100,116,139,.15);
    
    /* Layout */
    --max: 1120px;
    --content: 720px;
    
    /* Spacing */
    --section-pad-y: 96px;
    --section-pad-y-mobile: 64px;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

/* Layout */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: var(--section-pad-y) 0;
}

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

/* Editorial Grid - 84px Rail */
.grid {
    display: grid;
    grid-template-columns: 84px 1fr;
    column-gap: 28px;
    align-items: start;
}

.rail {
    position: relative;
    height: 100%;
}

.rail::before {
    content: "";
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--slate-40);
    border-radius: 2px;
}

/* Typography System */
.meta {
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--slate-70);
    margin-bottom: 10px;
}

.h1 {
    font-size: 56px;
    line-height: 1.10;
    font-weight: 650;
    letter-spacing: -0.01em;
    max-width: 860px;
    margin: 0 0 18px 0;
}

.h2 {
    font-size: 36px;
    line-height: 1.15;
    font-weight: 600;
    max-width: var(--content);
    margin: 0 0 14px 0;
}

.rule {
    width: 88px;
    height: 1px;
    background: var(--slate-60);
    margin: 0 0 28px 0;
}

.body {
    max-width: var(--content);
    font-size: 19px;
    line-height: 1.6;
    color: var(--muted);
}

.body p {
    margin: 0 0 18px 0;
}

.body ul {
    list-style: none;
    margin: 0 0 18px 0;
}

.body li {
    margin: 0 0 12px 0;
    padding-left: 20px;
    position: relative;
}

.body li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--slate-60);
}

.emph {
    color: var(--slate);
    font-weight: 600;
}

/* Hero */
.hero {
    padding: 120px 0 96px 0;
}

.hero.bg {
    background:
        linear-gradient(0deg, rgba(100,116,139,.03), rgba(100,116,139,.03)),
        var(--bg);
}

.hero .grid {
    grid-template-columns: 84px 1fr;
}

.hero-panel {
    border-left: 3px solid var(--slate-40);
    padding-left: 22px;
}

.hero-lead {
    max-width: var(--content);
    font-size: 21px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 0 30px 0;
}

.hero-divider {
    width: 110px;
    height: 1px;
    background: var(--slate-60);
    margin: 28px 0 28px 0;
}

/* CTA Block */
.cta {
    padding: 110px 0;
    background: var(--bg-alt);
}

.cta-box {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

.cta-inner {
    border: 1px solid var(--slate-25);
    border-left: 3px solid var(--slate-40);
    padding: 44px 40px;
    max-width: 900px;
}

.cta-title {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 14px 0;
}

.cta-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 18px;
    font-weight: 600;
    color: var(--slate);
    text-decoration: none;
    border-bottom: 1px solid var(--slate-40);
    padding-bottom: 4px;
}

.cta-link:hover {
    border-bottom-color: var(--slate-70);
}

/* Statement Blocks */
.statement-block {
    padding: 32px 0;
    border-top: 1px solid var(--slate-25);
    border-bottom: 1px solid var(--slate-25);
    margin: 32px 0;
}

.statement-block p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--muted);
    max-width: var(--content);
    margin: 0 0 12px 0;
}

.statement-block p:last-child {
    margin: 0;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--slate-15);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

.logo {
    display: block;
    height: 28px;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    color: var(--slate-70);
}

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

main {
    padding-top: 72px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--slate-15);
    padding: 64px 0 48px;
    margin-top: 96px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

.footer-brand img {
    display: block;
    height: 28px;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--slate-70);
    max-width: 320px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--slate-70);
}

.footer-nav a:hover {
    color: var(--text);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--slate-15);
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px;
}

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

/* Section Dividers */
.section-divider {
    border: 0;
    border-top: 1px solid var(--slate-15);
    margin: 0;
}

/* Mobile */
@media (max-width: 720px) {
    .container {
        padding: 0 18px;
    }
    
    .section {
        padding: var(--section-pad-y-mobile) 0;
    }
    
    .hero {
        padding: 84px 0 72px 0;
    }
    
    .grid {
        grid-template-columns: 34px 1fr;
        column-gap: 16px;
    }
    
    .rail::before {
        left: 16px;
        width: 2px;
    }
    
    .h1 {
        font-size: 38px;
    }
    
    .h2 {
        font-size: 28px;
    }
    
    .body {
        font-size: 17px;
    }
    
    .hero-lead {
        font-size: 18px;
    }
    
    .hero-panel {
        padding-left: 16px;
    }
    
    .cta-box {
        padding: 0 18px;
    }
    
    .cta-inner {
        padding: 34px 22px;
    }
    
    .header-content {
        padding: 0 18px;
    }
    
    .main-nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 13px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        padding: 0 18px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-bottom {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 480px) {
    .main-nav {
        gap: 16px;
    }
}
