:root {
    /* Light mode colors */
    --bg-primary: #fff;
    --bg-secondary: rgba(0, 0, 0, 0.03);
    --text-primary: #000;
    --text-secondary: #555;
    --text-tertiary: #222;
    --text-muted: #999;
    --border-primary: #000;
    --border-secondary: #666;
    --button-bg: #000;
    --button-text: #fff;
    --button-hover: #333;
    --form-bg: #fff;
}

/* Manual overrides */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(255, 255, 255, 0.05);
    --text-primary: #fff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #d0d0d0;
    --text-muted: #666;
    --border-primary: #fff;
    --border-secondary: #a0a0a0;
    --button-bg: #fff;
    --button-text: #000;
    --button-hover: #e0e0e0;
    --form-bg: #0a0a0a;
}

[data-theme="light"] {
    --bg-primary: #fff;
    --bg-secondary: rgba(0, 0, 0, 0.03);
    --text-primary: #000;
    --text-secondary: #666;
    --text-tertiary: #333;
    --text-muted: #999;
    --border-primary: #000;
    --border-secondary: #666;
    --button-bg: #000;
    --button-text: #fff;
    --button-hover: #333;
    --form-bg: #fff;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* THEME TOGGLE */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 6px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    border-color: rgba(128, 128, 128, 0.7);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: rgba(128, 128, 128, 0.85);
    transition: fill 0.3s ease;
}

.theme-toggle:hover svg {
    fill: rgba(128, 128, 128, 0.9);
    background: rgba(128, 128, 128, 0.15);
    border-color: rgba(128, 128, 128, 0.5);
}

/* HEADER */
header {
    margin-bottom: 60px;
}

/* LOGO */
.logo {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-primary);
    transition: color 0.3s ease;
    text-decoration: none;
    border: none;
    display: inline-block;
    cursor: pointer;
}

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

/* HEADER NAV */
.header-nav {
    display: flex;
    gap: 40px;
}

.header-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    border: none;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--text-primary);
    border: none;
}

/* SVG styles handled inline for consistency */

/* TYPOGRAPHY SYSTEM */
.hero-name {
    font-size: 84px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.0;
    margin-bottom: 32px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.hero-break {
    display: inline;
}

.nowrap {
    white-space: nowrap;
}

.hero-qualifier {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.hero-tagline {
    font-size: 26px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 60px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.hero-cta {
    display: inline-block;
    margin: 0 16px 60px 0;
}

.hero-cta.button-primary,
.hero-cta.button-outline {
    display: inline-block;
    margin: 0 16px 60px 0;
}

h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.0;
    margin: 80px 0 24px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

h2 {
    font-size: 24px;
    font-weight: 300;
    margin: 0 0 32px;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin: 48px 0 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

h4 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

p {
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 18px;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

strong {
    font-weight: 700;
    font-size: inherit;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

em {
    font-style: italic;
    font-weight: 400;
}

/* LISTS */
ul {
    font-size: 18px;
    line-height: 1.6;
    margin: 10px 0 24px;
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    color: var(--text-tertiary);
    transition: color 0.3s ease;
}

li:before {
    content: "»";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 400;
    transition: color 0.3s ease;
}

/* LINKS */
a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

a:hover {
    border-bottom-color: var(--border-secondary);
    color: var(--text-secondary);
}

/* SERVICES */
.services {
    margin: 120px 0;
}

.offering {
    margin-bottom: 48px;
}

.offering-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.price {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    font-style: italic;
    margin-left: 12px;
    transition: color 0.3s ease;
}

.offering p {
    margin-bottom: 16px;
}

/* FORMS */
.form-simple {
    margin: 80px 0;
}

.form-simple input,
.form-simple textarea {
    width: 100%;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid var(--border-primary);
    font-size: 18px;
    font-family: inherit;
    background: var(--form-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-simple button {
    background: var(--button-bg);
    color: var(--button-text);
    padding: 16px 32px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-simple button:hover {
    background: var(--button-hover);
}

.form-inline {
    display: flex;
    gap: 12px;
    margin: 40px 0;
    align-items: stretch;
    max-width: 100%;
}

.form-inline input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border-primary);
    font-size: 18px;
    font-family: inherit;
    background: var(--form-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-inline button {
    background: var(--button-bg);
    color: var(--button-text);
    padding: 16px 24px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.form-inline button:hover {
    background: var(--button-hover);
}

/* BUTTONS */
.button-primary {
    background: var(--button-bg);
    color: var(--button-text);
    padding: 16px 32px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border-bottom: none;
    display: block;
    margin: 0 auto;
    width: fit-content;
    font-family: inherit;
    transition: all 0.3s ease;
}

.button-primary:hover {
    background: var(--button-hover);
    color: var(--button-text);
    border-bottom: none;
}

.button-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-primary);
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 2px solid var(--border-primary);
    display: block;
    margin: 0 auto;
    width: fit-content;
    font-family: inherit;
    transition: all 0.3s ease;
}

.button-outline:hover {
    background: var(--button-bg);
    color: var(--button-text);
    border-color: var(--button-bg);
    border-bottom: 2px solid var(--button-bg);
}

/* Center italic text after buttons */
.button-primary + p,
.button-outline + p {
    text-align: center;
}

/* PHOTO */
.photo {
    display: block;
    width: 120px;
    height: 120px;
    margin: 40px 0;
    object-fit: cover;
    border: 2px solid var(--border-primary);
    transition: border-color 0.3s ease;
}

/* INTRO SECTION */
.intro-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0 0 100px 0;
}

.intro-photo {
    width: 75px;
    height: 75px;
    border: 2px solid var(--border-primary);
    object-fit: cover;
    flex-shrink: 0;
}

.intro-text {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    max-width: 540px;
}

/* NEW SERVICE */
.new-badge {
    font-size: 11px;
    background: #DC2626;
    color: #fff;
    padding: 2px 6px;
    margin-left: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

/* INSIGHT BOX */
.insight-box {
    background: rgba(0, 0, 0, 0.02);
    padding: 40px;
    margin: 80px 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

[data-theme="dark"] .insight-box {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.insight-box h1 {
    margin-top: 0;
}

/* Softer corners for buttons */
.button-primary,
.button-outline,
.form-simple button,
.form-inline button {
    border-radius: 4px;
}

/* Enhanced offering boxes */
.offering {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

[data-theme="dark"] .offering {
    background: var(--bg-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

.offering:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .offering:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* BACK LINK */
.back-link {
    display: inline-block;
    margin: 32px 0 32px 0;
    font-size: 16px;
    color: var(--text-secondary);
    border: none;
}

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

/* SERVICE PAGES */
.summary-box {
    margin: 32px 0 48px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .summary-box {
    border-color: rgba(255, 255, 255, 0.12);
}

.summary-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 24px;
    color: var(--text-primary);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.summary-box .form-inline {
    margin: 24px 0 0 0;
}

.service-content h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin: 48px 0 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.service-content h4 {
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

/* EMAIL SAMPLES */
.email-sample {
    margin: 40px 0;
    padding: 24px;
    background: var(--form-bg);
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
    font-family: Georgia, 'Times New Roman', serif;
    transition: all 0.3s ease;
}

.email-sample:last-child {
    margin-bottom: 40px;
}

.email-subject {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    transition: color 0.3s ease;
    font-family: Georgia, 'Times New Roman', serif;
    border-bottom: 1px solid var(--border-secondary);
    padding-bottom: 8px;
}

.email-content p {
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.5;
    font-family: Georgia, 'Times New Roman', serif;
}

.email-content strong {
    font-weight: 600;
}

.email-content em {
    font-style: italic;
}

/* FOOTER */
footer {
    margin-top: 80px;
    padding: 40px 0 0;
    border-top: 1px solid var(--border-primary);
    font-size: 16px;
    color: var(--text-secondary);
    text-align: left;
    transition: all 0.3s ease;
}

.footer-nav {
    margin-bottom: 40px;
    white-space: nowrap;
}

.footer-nav a {
    margin-right: 40px;
    color: var(--text-secondary);
    border: none;
    font-weight: 400;
    font-size: 16px;
}

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

.footer-copyright {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* PRICING TABLE */
.pricing-table {
    overflow-x: auto;
    margin: 40px 0;
    position: relative;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.pricing-table th,
.pricing-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border-secondary);
    font-size: 15px;
}

.pricing-table th {
    font-weight: 600;
    background: var(--bg-primary);
}

.pricing-table th.center,
.pricing-table td.center {
    text-align: center;
}

.pricing-table th.recommended {
    background: var(--button-bg);
    color: var(--button-text);
    position: relative;
    z-index: 1;
}

.pricing-table .badge-wrapper {
    position: relative;
}

.pricing-table .badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    color: white;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.pricing-table .section-header td {
    background: #d0d0d0;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    color: #333;
}

[data-theme="dark"] .pricing-table .section-header td {
    background: #333;
    color: #fff;
}

.pricing-table .cta-row td {
    border: none;
    padding: 20px 16px;
    background: var(--bg-primary);
}

.pricing-table .cta-row a {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
}

/* MOBILE */
@media (max-width: 640px) {
    body {
        padding: 20px 12px 80px;
        font-size: 19px;
    }

    .theme-toggle {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }

    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }

    .hero-name {
        font-size: 56px;
        letter-spacing: -1.5px;
        line-height: 1.05;
        margin-bottom: 32px;
        margin-top: 40px;
    }

    .hero-break {
        display: block;
    }

    .hero-tagline {
        font-size: 20px;
        line-height: 1.35;
        margin-bottom: 48px;
    }

    .hero-cta {
        display: block !important;
        width: 100%;
        margin: 0 0 16px 0 !important;
        text-align: center;
    }

    .hero-cta:last-of-type {
        margin-bottom: 60px !important;
    }

    header {
        display: none;
    }

    h1 {
        font-size: 36px;
        letter-spacing: -1px;
        margin: 48px 0 20px;
    }

    h2 {
        font-size: 22px;
    }

    .offering-title {
        font-size: 20px;
    }

    .back-link {
        margin: 24px 0 24px 0;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-nav a {
        margin-right: 0;
        display: block;
        text-align: center;
    }

    .footer-copyright {
        text-align: center;
    }

    .email-subject {
        font-size: 16px;
    }

    .email-content p {
        font-size: 16px;
    }

    .summary-box .form-inline {
        flex-direction: column;
        gap: 12px;
    }

    .summary-box .form-inline input {
        width: 100%;
        flex: none;
    }

    .summary-box .form-inline button {
        width: 100%;
        flex: none;
        padding: 16px 20px;
    }

    .intro-section {
        flex-direction: column;
        text-align: center;
        margin: 0 0 80px 0;
    }

    .intro-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }

    .intro-text {
        font-size: 18px;
        text-align: center;
    }

    .insight-box {
        padding: 24px;
        margin: 60px 0;
    }

    /* Pricing table mobile */
    .pricing-table th,
    .pricing-table td {
        padding: 8px 12px;
        font-size: 14px;
    }

    .pricing-table .cta-row a {
        padding: 10px 16px;
    }
}