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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --text-primary: #000000;
    --text-secondary: #525252;
    --text-muted: #a3a3a3;
    --border-color: #e5e5e5;
    --card-bg: #fafafa;
    --accent-color: #f97316;
    --accent-bg: #fff7ed;
    --accent-border: #fed7aa;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0;
}

.project-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.icon-badge {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-image {
    width: 100%;
    height: 600px;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Main Content Layout */
.content-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 100px;
    padding: 100px 0;
}

/* Sidebar Navigation */
.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
    opacity: 0.7;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nav-link {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-link::after {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

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

.nav-link.active::after {
    opacity: 1;
}

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

.nav-link.highlight {
    color: var(--accent-color);
    font-weight: 500;
}

.nav-link.highlight::before {
    content: '✦';
    margin-right: 6px;
    font-size: 10px;
}

/* Main Content */
.main-content {
    max-width: 860px;
}

.section {
    margin-bottom: 120px;
}

.section-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.section-text {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

.section-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border-color);
    margin: 60px 0;
}

/* Project Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 48px 0;
}

.info-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:first-child {
    border-top: 1px solid var(--border-color);
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.info-value {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* Phone screen rows */
.screen-row { display: flex; gap: 24px; justify-content: center; margin: 48px 0; flex-wrap: wrap; }
.screen-row figure { flex: 0 1 220px; margin: 0; text-align: center; }
.screen-row img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--border-color); box-shadow: 0 4px 16px rgba(0,0,0,0.06); display: block; }
.screen-row figcaption { font-size: 14px; color: var(--text-secondary); margin-top: 12px; line-height: 1.4; }
@media (max-width: 768px) { .screen-row figure { flex-basis: 45%; } }

/* Image Showcase */
.image-showcase {
    width: 100%;
    margin: 60px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.image-placeholder {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 60px 0;
}

.stat {
    padding: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.stat-value {
    font-family: 'DM Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
}

/* Takeaway Box */
.takeaway-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin: 60px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.takeaway-box h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.5px;
}

.takeaway-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.takeaway-box li {
    font-size: 16px;
    color: var(--text-secondary);
    padding-left: 28px;
    position: relative;
    line-height: 1.65;
    font-weight: 400;
}

.takeaway-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 24px;
    line-height: 1.3;
}

/* Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 60px 0;
}

.process-item {
    padding: 32px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.process-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.process-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.process-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.process-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* Quote Box */
.quote-box {
    background: var(--accent-bg);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    padding: 32px 40px;
    margin: 40px 0;
    font-size: 17px;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    margin: 40px 0;
    border-collapse: collapse;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--bg-secondary);
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table td {
    padding: 16px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Persona Card */
.persona-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
}

.persona-header {
    margin-bottom: 24px;
}

.persona-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.persona-role {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.persona-section {
    margin-bottom: 24px;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 60px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .sidebar {
        position: relative;
        top: 0;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px 32px;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 52px;
        letter-spacing: -1.5px;
    }

    .hero-image {
        height: 400px;
    }

    .content-layout {
        padding: 80px 0;
    }

    .section {
        margin-bottom: 100px;
    }

    .section-title {
        font-size: 38px;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--accent-bg);
    color: var(--text-primary);
}

/* ------------------------------------------------------------------
   Additions for product-strategy pages, built from the tokens and
   type scale above so both versions read as one system.
------------------------------------------------------------------ */

/* Strategy / Design switch in the sidebar (same as the design pages) */
.lens-switch { display: inline-flex; padding: 3px; gap: 3px; margin: 12px 0 20px; background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: 999px; font-size: 13px; }
.lens-switch a, .lens-switch span { padding: 6px 12px; border-radius: 999px; color: var(--text-secondary); text-decoration: none; }
.lens-switch [aria-current="page"] { background: var(--text-primary); color: #fff; }

/* Hero image holding a picture rather than placeholder text */
.hero-image img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Lists and sub-headings inside sections */
.section-list { margin: 0 0 20px 0; padding-left: 22px; }
.section-list li { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin-bottom: 12px; }
.section-list li strong { color: var(--text-primary); font-weight: 600; }
.subsection-title { font-family: 'DM Sans', sans-serif; font-size: 24px; font-weight: 600; color: var(--text-primary); letter-spacing: -0.5px; margin: 48px 0 16px; }

/* Figures use the existing image showcase, with a caption */
.figure-block { margin: 60px 0; }
.figure-block .image-showcase { margin: 0; }
.figure-block img { width: 100%; height: auto; display: block; }
.image-caption { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 60px 0; }
.before-after .figure-block { margin: 0; }

/* Quote attribution */
.quote-box cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--text-muted); }

/* Chosen option in a process grid */
.process-item.chosen { border-color: var(--accent-color); box-shadow: 0 0 0 1px var(--accent-color); }
.process-item.chosen .process-number { color: var(--accent-color); }
.process-description + .process-description { margin-top: 10px; }
.process-description strong { color: var(--text-primary); font-weight: 600; }

/* Takeaway box used for callouts */
.takeaway-box .section-text:last-child { margin-bottom: 0; }
.takeaway-link { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--accent-color); text-decoration: none; }
.takeaway-link:hover { text-decoration: underline; }

/* Tables scroll on small screens */
.table-scroll { overflow-x: auto; }
.comparison-table td:first-child { color: var(--text-primary); font-weight: 500; }

@media (max-width: 768px) {
    .before-after { grid-template-columns: 1fr; }
    .hero-image { height: auto; }
}

/* Builds page hero collage */
.hero-collage { display: grid; grid-template-columns: 1.4fr 1.4fr 0.7fr 1fr; gap: 16px; padding: 24px; align-items: center; }
.hero-collage img { width: 100%; height: 100%; max-height: 552px; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--border-color); background: #fff; }
@media (max-width: 768px) { .hero-collage { grid-template-columns: 1fr 1fr; } .hero-collage img { max-height: 220px; } }
