* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

:root {
    --red: #E8001C;
    --dark: #1A1A1A;
    --bg: #F5F5F3;
    --white: #FFFFFF;
    --muted: #707070;
    --border: rgba(26,26,26,0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
}

/* NAV */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 48px;
    background: rgba(245,245,243,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.wordmark {
    font-family: 'Varela Round', sans-serif;
    font-size: 26px;
    color: var(--dark);
    line-height: 1;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: #999; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--dark); }

.nav-demo {
    background: var(--red);
    color: var(--white);
    padding: 9px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.nav-demo:hover { opacity: 0.85; }

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(245,245,243,0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    z-index: 99;
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 0; }
.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--red); }

/* HERO */
.location-hero {
    padding: 140px 48px 80px;
    border-bottom: 1px solid var(--border);
    background: var(--dark);
    color: var(--white);
}
.location-hero-inner { max-width: 760px; }

.hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}

.location-hero h1 {
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--white);
}

.location-hero p.hero-sub {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 36px;
}

/* SECTIONS */
section { padding: 80px 48px; }

.section-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}

.section-h2 {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 560px;
}

/* CITY CONTEXT */
.city-section {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.city-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.city-body p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 20px;
}

.city-body p:last-child { margin-bottom: 0; }

.city-facts {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.city-fact {
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--dark);
    line-height: 1.6;
    background: var(--bg);
}

.city-fact::before {
    content: "→ ";
    color: var(--red);
    font-weight: 600;
}

/* FEATURES */
.features-section { border-top: 1px solid var(--border); }

.features-inner { max-width: 1100px; margin: 0 auto; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 48px;
}

.feature-card {
    background: var(--white);
    padding: 32px 28px;
    transition: background 0.2s;
}
.feature-card:hover { background: var(--bg); }

.feature-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

.features-more {
    text-align: center;
    margin-top: 32px;
}

.features-more a {
    font-size: 14px;
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
}
.features-more a:hover { text-decoration: underline; }

/* TABLE STAKES */
.table-stakes {
    background: var(--dark);
    color: var(--white);
}

.ts-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ts-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ts-card {
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
}

.ts-card-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 8px;
}

.ts-card-text {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* LEAD FORM */
.lead-section {
    padding: 80px 48px;
    border-top: 1px solid var(--border);
    background: rgba(232,0,28,0.03);
}

.lead-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.lead-left h2 {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
}

.lead-left p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.lead-form { display: flex; flex-direction: column; gap: 12px; }

.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.lead-field { display: flex; flex-direction: column; gap: 5px; }

.lead-field label { font-size: 12px; font-weight: 500; color: var(--muted); }

.lead-field input, .lead-field select {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--dark);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    padding: 12px 14px;
    transition: border-color 0.2s;
    width: 100%;
}

.lead-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(26,26,26,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    background-color: var(--white);
}

.lead-field input:focus, .lead-field select:focus { border-color: var(--red); outline: none; }
.lead-field input::placeholder { color: rgba(26,26,26,0.3); }

.lead-submit {
    background: var(--red);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
    margin-top: 4px;
}
.lead-submit:hover { opacity: 0.85; }

.lead-note {
    font-size: 11px;
    color: rgba(26,26,26,0.4);
    text-align: center;
    margin-top: 4px;
}

/* FOOTER */
footer {
    padding: 40px 48px;
    background: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 13px; margin-left: 16px; }
footer .wordmark { color: var(--white); }

.footer-markets { display: flex; flex-direction: column; gap: 8px; }
.footer-markets-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.footer-markets a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-markets a:hover { color: var(--white); }

.footer-right { color: rgba(255,255,255,0.4); text-align: right; }
.footer-right p { font-size: 13px; }

/* BUTTONS */
.btn-red {
    background: var(--red);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-block;
}
.btn-red:hover { opacity: 0.85; }

/* BREADCRUMB */
.breadcrumb {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }

/* ACCESSIBILITY */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; top: -100%; left: 0;
    background: var(--red); color: #fff;
    padding: 12px 24px; font-weight: 600; font-size: 14px;
    z-index: 9999; text-decoration: none;
    border-radius: 0 0 6px 0;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid #E8001C; outline-offset: 3px; border-radius: 3px; }

/* PAIN POINTS */
.pain-section { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pain-inner { max-width: 1100px; margin: 0 auto; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pain-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 28px 24px; }
.pain-card h3 { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 10px; letter-spacing: -0.01em; }
.pain-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* FAQ */
.faq-section { background: var(--white); border-top: 1px solid var(--border); }
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-list { margin-top: 40px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
    width: 100%; background: none; border: none; text-align: left;
    padding: 20px 24px; font-size: 15px; font-weight: 600; color: var(--dark);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    gap: 16px; font-family: 'Inter', sans-serif;
}
.faq-q:hover { background: var(--bg); }
.faq-q-icon { flex-shrink: 0; font-size: 22px; line-height: 1; color: var(--red); transition: transform 0.2s; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); }
.faq-a { padding: 0 24px 20px; font-size: 14px; color: var(--muted); line-height: 1.85; display: none; }
.faq-item.open .faq-a { display: block; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .pain-grid { grid-template-columns: 1fr; }
    .nav { padding: 0 16px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .location-hero { padding: 100px 24px 60px; }
    section { padding: 60px 24px !important; }
    .city-inner { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .ts-inner { grid-template-columns: 1fr; gap: 40px; }
    .lead-inner { grid-template-columns: 1fr; gap: 40px; }
    .lead-row { grid-template-columns: 1fr; }
    footer { padding: 32px 24px; flex-direction: column; }
    .footer-right { text-align: left; }
}
