/* Polaris Intelligence — Landing Page
   Palette: navy (#0f1b2d), slate (#3a4a5c), stone (#6b7280),
            off-white (#f8f7f4), accent blue (#2563eb), white (#ffffff)
   Fonts: system stack — clean, fast, no external dependencies */

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

:root {
    --navy: #0f1b2d;
    --navy-light: #1a2b42;
    --slate: #3a4a5c;
    --stone: #6b7280;
    --off-white: #f8f7f4;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --white: #ffffff;
    --border: #d1d5db;
    --text: #1f2937;
    --text-light: #4b5563;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Liberation Sans', Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navy);
    z-index: 100;
    padding: 0 2rem;
}

nav .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

nav .logo {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
}

nav .logo span {
    font-weight: 400;
    color: var(--stone);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: var(--white);
}

/* ── Mobile nav toggle ── */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
    transition: 0.2s;
}

/* ── Sections ── */

section {
    padding: 5rem 2rem;
}

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

/* ── Hero ── */

.hero {
    background: var(--navy);
    color: var(--white);
    padding: 10rem 2rem 6rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    letter-spacing: -0.01em;
}

.hero .subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero .cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: border-color 0.2s, color 0.2s;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--white);
    color: var(--white);
}

/* ── Section headings ── */

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

h2 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    color: var(--navy);
}

.section-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 650px;
    margin-bottom: 3rem;
}

/* ── Services / What we deliver ── */

.services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 4px;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

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

/* ── Audience blocks ── */

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.audience-card {
    padding: 2rem;
    border-left: 3px solid var(--accent);
}

.audience-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.audience-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ── Why Polaris ── */

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.why-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.why-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ── How it works ── */

.how-it-works {
    background: var(--off-white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.step p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ── Sample report ── */

.sample-report {
    text-align: center;
    background: var(--navy);
    color: var(--white);
}

.sample-report h2 {
    color: var(--white);
}

.sample-report p {
    color: rgba(255,255,255,0.7);
    max-width: 550px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

/* ── About ── */

.about p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 650px;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ── Contact ── */

.contact {
    background: var(--off-white);
}

.contact-content {
    max-width: 500px;
}

.contact-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.contact-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.contact-content a:hover {
    text-decoration: underline;
}

/* ── Footer ── */

footer {
    background: var(--navy);
    color: rgba(255,255,255,0.5);
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
}

footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

footer a:hover {
    color: var(--white);
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        gap: 1rem;
    }

    nav ul.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .services-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}
