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

html {
    scroll-behavior: smooth;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 12px;
    background: #0e7268;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform 0.2s ease;
    z-index: 1000;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #84c7bb;
    outline-offset: 3px;
}

body.theme-midnight :focus-visible {
    outline-color: #4fb0a2;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1f2937;
    line-height: 1.6;
    background: white;
}

body.theme-midnight {
    background: #06181c;
    color: #e2e8f0;
}

body.theme-midnight header {
    background: rgba(3, 16, 19, 0.9);
    border-bottom-color: rgba(148, 163, 184, 0.2);
}

body.theme-midnight nav a {
    color: #cfe3df;
}

body.theme-midnight nav a:hover {
    color: #f8fafc;
}

body.theme-midnight .nav-pill {
    color: #cbd5e1;
    background: transparent;
    border-color: rgba(148, 163, 184, 0.45);
}

body.theme-midnight .nav-pill:hover {
    color: #f8fafc;
    border-color: rgba(203, 213, 225, 0.7);
    box-shadow: 0 8px 16px rgba(3, 16, 19, 0.3);
}

body.theme-midnight .plan-scope {
    color: #84c7bb;
}

body.theme-midnight .hero {
    background: radial-gradient(circle at top, rgba(29, 147, 132, 0.25), transparent 55%), #06181c;
}

body.theme-midnight .hero-badge {
    background: rgba(29, 147, 132, 0.2);
    color: #b3ddd5;
}

body.theme-midnight .hero p,
body.theme-midnight .hero-badge,
body.theme-midnight .badge-item p,
body.theme-midnight .badge-item h3,
body.theme-midnight .process-step p,
body.theme-midnight .step-box,
body.theme-midnight .step-number,
body.theme-midnight .fit-title,
body.theme-midnight .fit-list li,
body.theme-midnight .pricing-card .subtitle,
body.theme-midnight .features-label,
body.theme-midnight .features-list li,
body.theme-midnight .example-body p,
body.theme-midnight .example-plan,
body.theme-midnight .faq-answer,
body.theme-midnight .faq-chevron,
body.theme-midnight .comparison-box h3,
body.theme-midnight .modal-subtitle,
body.theme-midnight .community-box p,
body.theme-midnight .testimonial-quote,
body.theme-midnight .pricing-fairness-inner p,
body.theme-midnight .pricing-fairness-inner ul {
    color: #e2e8f0;
}

body.theme-midnight .step-box {
    border-color: rgba(148, 163, 184, 0.35);
    background: #0a2024;
}

body.theme-midnight .process-step {
    background: rgba(10, 32, 36, 0.92);
    border-color: rgba(79, 176, 162, 0.35);
}

body.theme-midnight .process-step-copy h3 {
    color: #f8fafc;
}

body.theme-midnight .process-step-copy p {
    color: #cbd5e1;
}

body.theme-midnight .step-number {
    color: #84c7bb;
}

body.theme-midnight .features-label strong {
    color: #f8fafc;
}

body.theme-midnight .check-icon {
    color: #86efac;
}

body.theme-midnight .faq-item {
    background: rgba(10, 32, 36, 0.88);
    border-color: rgba(79, 176, 162, 0.45);
    box-shadow: 0 10px 24px rgba(6, 45, 48, 0.25);
}

body.theme-midnight .faq-item:hover {
    background: rgba(10, 32, 36, 0.9);
    border-color: rgba(148, 163, 184, 0.4);
}

body.theme-midnight .faq-button:hover {
    background: rgba(29, 147, 132, 0.12);
}

body.theme-midnight .faq-button {
    background: transparent;
}

body.theme-midnight .faq-answer {
    background: transparent;
}

body.theme-midnight .intake {
    background: #06181c;
}

body.theme-midnight .mark-dudley-web-intake {
    background: rgba(10, 32, 36, 0.92);
    border-color: rgba(79, 176, 162, 0.35);
    box-shadow: 0 24px 50px rgba(6, 45, 48, 0.35);
}

body.theme-midnight .mark-dudley-web-intake p,
body.theme-midnight .mark-dudley-web-intake legend,
body.theme-midnight .mark-dudley-web-intake label,
body.theme-midnight .mark-dudley-web-intake h2,
body.theme-midnight .mark-dudley-web-intake .intake-disclaimer {
    color: #e2e8f0;
}

body.theme-midnight .mark-dudley-web-intake .intake-note {
    color: #94a3b8;
}

body.theme-midnight .mark-dudley-web-intake hr {
    border-top-color: rgba(148, 163, 184, 0.3);
}

body.theme-midnight .mark-dudley-web-intake fieldset {
    border-color: rgba(148, 163, 184, 0.35);
}

body.theme-midnight .mark-dudley-web-intake .form-input,
body.theme-midnight .mark-dudley-web-intake .form-textarea {
    background: #0a2024;
    border-color: rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
}

body.theme-midnight .mark-dudley-web-intake .form-input::placeholder,
body.theme-midnight .mark-dudley-web-intake .form-textarea::placeholder {
    color: #94a3b8;
}

body.theme-midnight .mark-dudley-web-intake .form-input:focus,
body.theme-midnight .mark-dudley-web-intake .form-textarea:focus {
    border-color: #4fb0a2;
}

body.theme-midnight .comparison-table td:last-child {
    color: #84c7bb;
}

body.theme-midnight .btn-secondary,
body.theme-midnight .theme-toggle {
    border-color: rgba(148, 163, 184, 0.6);
}

body.theme-midnight .btn-secondary {
    border-color: rgba(148, 163, 184, 0.4);
}

body.theme-midnight .btn-secondary:hover {
    border-color: rgba(148, 163, 184, 0.7);
}

body.theme-midnight .nav-toggle {
    background: #0a2024;
    border-color: rgba(148, 163, 184, 0.6);
}

body.theme-midnight .nav-toggle-bar {
    background: #e2e8f0;
}

body.theme-midnight header.nav-open nav {
    background: #06181c;
    border-color: rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 30px rgba(3, 16, 19, 0.6);
}

body.theme-midnight .trust-badges,
body.theme-midnight .pricing,
body.theme-midnight .examples,
body.theme-midnight .faq {
    background: #06181c;
    border-color: rgba(148, 163, 184, 0.2);
}

body.theme-midnight .pricing-card,
body.theme-midnight .comparison-box,
body.theme-midnight .community-box,
body.theme-midnight .pricing-fairness-inner,
body.theme-midnight .faq-item,
body.theme-midnight .fit-card,
body.theme-midnight .example-card {
    background: rgba(10, 32, 36, 0.92);
    border-color: rgba(79, 176, 162, 0.35);
}

body.theme-midnight .comparison-table th,
body.theme-midnight .comparison-table td,
body.theme-midnight .example-body h3,
body.theme-midnight .pricing-card h3,
body.theme-midnight .faq-question,
body.theme-midnight .how-title-black {
    color: #e2e8f0;
}

body.theme-midnight .how-title-blue {
    color: #84c7bb;
}

body.theme-midnight .pricing-badge {
    background: linear-gradient(135deg, #1d9384, #e8875a);
}

body.theme-midnight .example-thumb {
    background: linear-gradient(135deg, #1d9384, #e8875a);
}

body.theme-midnight .quick-help {
    background: #06181c;
    border-top-color: rgba(148, 163, 184, 0.2);
}

body.theme-midnight .quick-help-card {
    background: rgba(10, 32, 36, 0.92);
    border-color: rgba(79, 176, 162, 0.35);
    box-shadow: 0 16px 30px rgba(6, 45, 48, 0.35);
}

body.theme-midnight .quick-help-card:hover {
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 18px 34px rgba(6, 45, 48, 0.45);
}

body.theme-midnight .quick-help-card.highlight {
    background: linear-gradient(135deg, rgba(11, 61, 57, 0.35), rgba(10, 32, 36, 0.95));
    border-color: rgba(79, 176, 162, 0.5);
}

body.theme-midnight .quick-help-card p,
body.theme-midnight .quick-help-list li {
    color: #cfe3df;
}

body.theme-midnight .quick-help-card h3 {
    color: #e2e8f0;
}

body.theme-midnight .quick-help .section-header p {
    color: #94a3b8;
}

body.theme-midnight .fixes {
    background: #06181c;
    border-top-color: rgba(148, 163, 184, 0.2);
}

body.theme-midnight .fix-card {
    background: rgba(10, 32, 36, 0.92);
    border-color: rgba(79, 176, 162, 0.35);
    box-shadow: 0 16px 30px rgba(6, 45, 48, 0.35);
}

body.theme-midnight .fix-card:hover {
    border-color: rgba(148, 163, 184, 0.45);
    box-shadow: 0 18px 34px rgba(6, 45, 48, 0.45);
}

body.theme-midnight .fix-card.highlight {
    background: linear-gradient(135deg, rgba(11, 61, 57, 0.35), rgba(10, 32, 36, 0.95));
    border-color: rgba(79, 176, 162, 0.5);
}

body.theme-midnight .fix-card h3 {
    color: #e2e8f0;
}

body.theme-midnight .fix-card p,
body.theme-midnight .fix-list li,
body.theme-midnight .section-subtle,
body.theme-midnight .fix-note {
    color: #cfe3df;
}

body.theme-midnight .theme-toggle {
    border-color: rgba(148, 163, 184, 0.6);
}

body.theme-midnight .theme-toggle:hover {
    border-color: rgba(148, 163, 184, 0.7);
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    z-index: 50;
    padding: 16px 24px;
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 180px;
    height: 64px;
    object-fit: cover;
    display: block;
}

nav {
    display: none;
    gap: 32px;
    font-size: 14px;
}

nav a {
    display: inline-flex;
    align-items: center;
    height: 32px;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #111827;
}

.nav-pill {
    position: relative;
    padding: 0 14px;
    border-radius: 9999px;
    border: 1px solid #d1d5db;
    color: #4b5563;
    background: transparent;
    font-weight: 600;
    box-shadow: none;
    animation: none;
}

.nav-pill:hover {
    color: #111827;
    border-color: #9ca3af;
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.08);
}

@keyframes navGlow {
    0% {
        box-shadow: 0 0 0 rgba(14, 114, 104, 0.15);
    }
    50% {
        box-shadow: 0 0 18px rgba(14, 114, 104, 0.25);
    }
    100% {
        box-shadow: 0 0 0 rgba(14, 114, 104, 0.15);
    }
}

@media (min-width: 768px) {
    nav {
        display: flex;
    }
}

.nav-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.nav-toggle:hover {
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.nav-toggle-bar {
    width: 18px;
    height: 2px;
    background: #111827;
    border-radius: 9999px;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

header.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

header.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

header.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.btn-start {
    background: #0e7268;
    color: white;
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 0.3s,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-start:hover {
    background: #0b5c54;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(14, 114, 104, 0.2);
}

.theme-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    border: 1px solid #d1d5db;
    background: #e5e7eb;
    border-radius: 9999px;
    cursor: pointer;
    transition:
        border-color 0.3s,
        background 0.3s,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.theme-toggle:hover {
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.theme-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 9999px;
    background: white;
    transition: transform 0.25s ease;
    box-shadow: 0 2px 6px rgba(10, 32, 36, 0.25);
}

.theme-toggle[aria-pressed='true'] {
    background: #1d9384;
    border-color: #1d9384;
}

.theme-toggle[aria-pressed='true'] .theme-toggle-thumb {
    transform: translateX(20px);
}

.hero {
    margin-top: 80px;
    padding: 80px 24px;
    background:
        radial-gradient(circle at top, rgba(14, 114, 104, 0.08), transparent 60%),
        linear-gradient(to bottom right, #f9fafb, white);
    text-align: center;
}

.hero-content {
    max-width: 840px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: #edf7f5;
    border-radius: 9999px;
    color: #0e7268;
    font-size: 14px;
    font-weight: 500;
}

.hero h1 {
    font-size: 54px;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 64px;
    }
}

.hero-highlight {
    color: #0e7268;
}

.hero p {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    background: #0e7268;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background 0.3s,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-primary:hover {
    background: #0b5c54;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(14, 114, 104, 0.2);
}

.btn-secondary {
    border: 2px solid #d1d5db;
    color: #111827;
    padding: 10px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    background: white;
    transition:
        border-color 0.3s,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.08);
}

.guarantee-text {
    color: #6b7280;
    font-size: 14px;
}

.trust-badges {
    padding: 48px 24px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.badges-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
    justify-items: center;
}

@media (min-width: 768px) {
    .badges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.badge-item h3 {
    font-size: 32px;
    font-weight: bold;
}

.badge-item p {
    color: #4b5563;
    font-size: 14px;
}

.how-it-works {
    padding: 80px 24px;
}

.section-header {
    max-width: 1280px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-header p {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: bold;
}

.how-title-black {
    color: #111827;
}

.how-title-blue {
    color: #0e7268;
}

.process-grid {
    max-width: 1280px;
    margin: 0 auto 48px;
}

.process-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.process-row::before {
    display: none;
}

.process-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: start;
    min-height: 150px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.step-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 12px;
    margin: 0;
    background: #edf7f5;
}

.step-box::after {
    display: none;
}

.step-number {
    font-size: 18px;
    font-weight: bold;
    color: #0e7268;
}

.process-step-copy h3 {
    margin: 2px 0 7px;
    color: #111827;
    font-size: 17px;
    line-height: 1.25;
}

.process-step-copy p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.process-cta {
    text-align: center;
    margin-top: 64px;
}

.btn-orange {
    background: #0e7268;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition:
        background 0.3s,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    margin-bottom: 16px;
}

.btn-orange:hover {
    background: #0b5c54;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(14, 114, 104, 0.2);
}

.guarantee-dot {
    color: #6b7280;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #ea580c;
    border-radius: 50%;
}

.pricing {
    padding: 80px 24px;
    background: #f9fafb;
}

.pricing-fairness {
    padding: 0 24px 72px;
    background: #f9fafb;
}

.quick-help {
    padding: 80px 24px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.quick-help-container {
    max-width: 1280px;
    margin: 0 auto;
}

.quick-help-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.quick-help-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.quick-help-card:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.12);
}

.quick-help-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.quick-help-card p {
    color: #4b5563;
    margin-bottom: 16px;
}

.quick-help-card.highlight {
    border-color: rgba(14, 114, 104, 0.35);
    background: linear-gradient(135deg, rgba(237, 247, 245, 0.85), rgba(255, 255, 255, 0.95));
}

.quick-help-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.quick-help-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #374151;
    font-size: 14px;
}

.quick-help-actions {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-help-actions .btn-secondary {
    background: white;
}

.fixes {
    padding: 80px 24px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

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

.fixes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.fix-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.fix-card:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.12);
}

.fix-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.fix-card p {
    color: #4b5563;
    margin-bottom: 16px;
}

.fix-card.highlight {
    border-color: rgba(14, 114, 104, 0.35);
    background: linear-gradient(135deg, rgba(237, 247, 245, 0.85), rgba(255, 255, 255, 0.95));
}

.fix-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.fix-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #374151;
    font-size: 14px;
}

.fix-note {
    margin-top: 12px;
    font-size: 13px;
    color: #6b7280;
}

.fixes-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

.section-subtle {
    color: #4b5563;
    font-size: 14px;
    max-width: 720px;
    margin: 0 auto;
}

.pricing-fairness-inner {
    max-width: 960px;
    margin: 0 auto;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 32px;
    text-align: left;
}

.pricing-fairness-inner h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.pricing-fairness-inner p {
    color: #4b5563;
    margin-bottom: 12px;
}

.pricing-fairness-inner ul {
    margin-left: 18px;
    color: #374151;
}

.testimonial-strip {
    padding: 32px 24px 72px;
    background: #f9fafb;
}

.testimonial-strip-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
    text-align: center;
}

.testimonial-quote {
    font-size: 14px;
    color: #4b5563;
    font-style: italic;
}

.examples {
    padding: 80px 24px;
    background: white;
}

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

.examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.example-card {
    display: grid;
    grid-template-rows: 180px auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.example-card:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}

.example-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0e7268, #0b5c54);
    color: white;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.example-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.example-body {
    padding: 18px 20px 20px;
}

.example-thumb.example-thumb--logo,
body.theme-midnight .example-thumb.example-thumb--logo {
    background: #fff;
    min-height: 0;
    overflow: hidden;
}

.example-thumb--logo img {
    object-fit: contain;
    object-position: center;
}

.example-body h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.example-body p {
    color: #4b5563;
    font-size: 14px;
}

.example-plan {
    margin-top: 10px;
    color: #111827;
    font-weight: 600;
}

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

.pricing h2 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
    line-height: 1.15;
}

.pricing-eyebrow {
    text-align: center;
    color: #0e7268;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.pricing-note {
    text-align: center;
    color: #4b5563;
    margin: 8px auto 0;
    max-width: 720px;
    font-size: 14px;
}

.pricing-note + .pricing-note {
    margin-top: 4px;
    margin-bottom: 40px;
}

body.theme-midnight .pricing-note {
    color: #cfe3df;
}

.community-box {
    margin-bottom: 48px;
    background: linear-gradient(to right, #faf5ff, #edf7f5);
    padding: 32px;
    border-radius: 12px;
    border: 2px solid #e9d5ff;
}

.community-box h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.community-box-center {
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .quick-help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fixes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .examples-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .examples-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.pricing-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    position: relative;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.pricing-card:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.08);
}

.pricing-card.popular {
    border-color: #0e7268;
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 24px;
    background: #0e7268;
    color: white;
    padding: 4px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.plan-scope {
    color: #0e7268;
    font-size: 14px;
    font-weight: 600;
    margin: -2px 0 6px;
}

.pricing-card .subtitle {
    color: #4b5563;
    margin-bottom: 24px;
}

.price {
    margin-bottom: 24px;
}

.price-equivalent {
    color: #4b5563;
    font-size: 14px;
    margin: -16px 0 24px;
}

.price-currency {
    font-size: 32px;
    font-weight: bold;
}

.price-amount {
    font-size: 48px;
    font-weight: bold;
}

.price-period {
    color: #4b5563;
}

.btn-card-muted {
    background: #111827;
}

.btn-card-muted:hover {
    background: #020617;
    box-shadow: 0 10px 20px rgba(10, 32, 36, 0.18);
}

.pricing-extras {
    max-width: 720px;
    margin: 40px auto 8px;
    text-align: left;
}

.pricing-extras-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    text-align: center;
}

.pricing-extras-intro {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
    max-width: 560px;
    margin: 0 auto 20px;
    text-align: center;
}

.extras-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e5e7eb;
}

.extras-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 24px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e5e7eb;
}

.extras-copy h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.extras-copy p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.extras-row button,
.pricing-notes button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #0b5c54;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    text-align: left;
}

.extras-row button:hover,
.pricing-notes button:hover {
    text-decoration: underline;
}

.pricing-notes {
    max-width: 720px;
    margin: 28px auto 48px;
    text-align: left;
}

.pricing-notes p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.pricing-notes p:last-child {
    margin-bottom: 0;
}

.pricing-notes strong {
    color: #111827;
    font-weight: 700;
}

body.theme-midnight .price-equivalent,
body.theme-midnight .pricing-extras-intro,
body.theme-midnight .extras-copy p,
body.theme-midnight .pricing-notes p {
    color: #cfe3df;
}

body.theme-midnight .pricing-extras-title,
body.theme-midnight .extras-copy h4,
body.theme-midnight .pricing-notes strong {
    color: #f8fafc;
}

body.theme-midnight .extras-list,
body.theme-midnight .extras-row {
    border-color: rgba(79, 176, 162, 0.28);
}

body.theme-midnight .extras-row button,
body.theme-midnight .pricing-notes button {
    color: #84c7bb;
}

@media (max-width: 640px) {
    .extras-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }
}

.features-label {
    color: #4b5563;
    margin-bottom: 24px;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.features-list li {
    display: flex;
    gap: 12px;
    color: #374151;
    margin-bottom: 12px;
    font-size: 14px;
}

.check-icon {
    color: #16a34a;
    flex-shrink: 0;
}

.btn-card {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    background: #0e7268;
    color: white;
    transition:
        background 0.3s,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-card:hover {
    background: #0b5c54;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(14, 114, 104, 0.2);
}

.comparison-box {
    background: white;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-top: 32px;
}

.comparison-box h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
}

.comparison-faq {
    margin-top: 8px;
}

.comparison-faq .faq-item {
    margin-bottom: 12px;
}

.comparison-faq .faq-item:last-child {
    margin-bottom: 0;
}

.comparison-faq .faq-button {
    padding: 20px 24px;
}

.comparison-faq .faq-answer {
    padding: 0 24px 20px 24px;
}

.common-faq {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}

.common-faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.common-faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.common-faq-item summary::-webkit-details-marker {
    display: none;
}

.common-faq-item[open] summary {
    border-bottom: 1px solid #e5e7eb;
}

.common-faq-item p {
    padding: 0 20px 16px 20px;
    color: #374151;
}

.comparison-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}

.comparison-table th {
    text-align: left;
    padding: 12px 0;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table th:not(:first-child) {
    color: #4b5563;
}
.comparison-table th:last-child {
    color: #0e7268;
}

.comparison-table td {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tr:hover {
    background: #f9fafb;
}
.comparison-table td:last-child {
    color: #0e7268;
    font-weight: 500;
}

body.theme-midnight .comparison-table tr:hover {
    background: rgba(29, 147, 132, 0.12);
}

body.theme-midnight .comparison-table td:last-child {
    color: #84c7bb;
}

.testimonials {
    padding: 80px 24px;
}

.testimonials h2 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 48px;
}

.testimonial-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: #f9fafb;
    padding: 32px;
    border-radius: 12px;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star {
    color: #0e7268;
}

.testimonial-text {
    color: #374151;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-company {
    color: #4b5563;
    font-size: 14px;
}

.faq {
    padding: 80px 24px;
    background: #f9fafb;
}

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

.faq h2 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 48px;
}

.faq-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
}
.faq-button {
    width: 100%;
    padding: 24px;
    text-align: left;
    border: none;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    transition: background 0.3s;
}

.faq-button:hover {
    background: #f9fafb;
}

.faq-question {
    font-weight: 600;
}

.faq-chevron {
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform 0.3s;
    user-select: none;
}

.faq-chevron.active {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: #374151;
    border-top: 1px solid #e5e7eb;
    display: none;
}

.faq-answer.show {
    display: block;
}

.intake {
    padding: 80px 24px;
    background: #f8fafc;
}

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

.mark-dudley-web-intake {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 50px rgba(10, 32, 36, 0.08);
}

.mark-dudley-web-intake h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.mark-dudley-web-intake p {
    color: #4b5563;
}

.mark-dudley-web-intake hr {
    border: none;
    border-top: 1px solid #e5e7eb;
}

.mark-dudley-web-intake fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mark-dudley-web-intake legend {
    padding: 0 8px;
    font-weight: 600;
    color: #111827;
}

.mark-dudley-web-intake label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 500;
    color: #111827;
}

.mark-dudley-web-intake .option-label {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.mark-dudley-web-intake .option-label input {
    width: auto;
}

.mark-dudley-web-intake .form-input,
.mark-dudley-web-intake .form-textarea {
    width: 100%;
    background: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
}

.mark-dudley-web-intake .intake-note {
    font-size: 0.9em;
    color: #6b7280;
}

.mark-dudley-web-intake .form-input::placeholder,
.mark-dudley-web-intake .form-textarea::placeholder {
    color: #9ca3af;
}

.mark-dudley-web-intake .form-input:focus,
.mark-dudley-web-intake .form-textarea:focus {
    border-color: #0e7268;
}

.intake-disclaimer {
    font-size: 0.9em;
    color: #6b7280;
}

.thank-you-section {
    padding: 120px 24px 80px;
    background: #f8fafc;
}

.thank-you-container {
    max-width: 960px;
    margin: 0 auto;
}

.thank-you-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 24px 50px rgba(10, 32, 36, 0.08);
}

.thank-you-card h1 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.thank-you-card h2 {
    font-size: 24px;
    margin-top: 24px;
    margin-bottom: 16px;
    color: #111827;
}

.thank-you-card p {
    color: #4b5563;
    margin-bottom: 12px;
}

.next-steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 16px;
    margin: 0 0 16px;
    padding: 0;
}

.next-steps li {
    position: relative;
    padding: 16px 20px 16px 68px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
}

.next-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 18px;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background: #0e7268;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.next-steps p {
    margin: 0;
}

.step-title {
    display: block;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.legal {
    padding: 120px 24px 80px;
    background: #f8fafc;
}

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

.legal-header {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0;
}

.legal-header p {
    color: #4b5563;
    margin-bottom: 0;
}

.legal-meta {
    font-size: 0.95em;
    color: #6b7280;
}

.legal-meta a {
    color: #0e7268;
    text-decoration: none;
}

.legal-meta a:hover {
    text-decoration: underline;
}

.legal-body {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    margin-top: 12px;
    box-shadow: 0 24px 50px rgba(10, 32, 36, 0.08);
}

.legal-section + .legal-section {
    margin-top: 28px;
}

.legal-section h2 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #111827;
}

.legal-section h3 {
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 6px;
    color: #111827;
}

.legal-section p {
    color: #4b5563;
    margin-bottom: 10px;
}

.legal-section ul {
    margin: 8px 0 12px 18px;
    color: #4b5563;
}

.legal-section a {
    color: #0e7268;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

body.theme-midnight .legal {
    background: #06181c;
}

body.theme-midnight .legal-body {
    background: rgba(10, 32, 36, 0.92);
    border-color: rgba(79, 176, 162, 0.35);
    box-shadow: 0 24px 50px rgba(6, 45, 48, 0.35);
}

body.theme-midnight .legal-header h1,
body.theme-midnight .legal-section h2,
body.theme-midnight .legal-section h3 {
    color: #e2e8f0;
}

body.theme-midnight .legal-header p,
body.theme-midnight .legal-meta,
body.theme-midnight .legal-section p,
body.theme-midnight .legal-section ul {
    color: #cfe3df;
}

body.theme-midnight .legal-meta a,
body.theme-midnight .legal-section a {
    color: #84c7bb;
}

body.theme-midnight .thank-you-section {
    background: #06181c;
}

body.theme-midnight .thank-you-card {
    background: rgba(10, 32, 36, 0.92);
    border-color: rgba(79, 176, 162, 0.35);
    box-shadow: 0 24px 50px rgba(6, 45, 48, 0.35);
}

body.theme-midnight .thank-you-card h1,
body.theme-midnight .thank-you-card h2 {
    color: #e2e8f0;
}

body.theme-midnight .thank-you-card p {
    color: #cfe3df;
}

body.theme-midnight .next-steps li {
    background: rgba(10, 32, 36, 0.9);
    border-color: rgba(79, 176, 162, 0.35);
}

body.theme-midnight .step-title {
    color: #e2e8f0;
}

.guarantee {
    padding: 80px 24px;
    text-align: center;
}

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

.guarantee h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
}

.guarantee p {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 24px;
}

.contact {
    padding: 80px 24px;
    background: #111827;
    color: white;
}

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

.contact h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 32px;
    text-align: center;
}

.areas-intro {
    text-align: center;
    color: #e5e7eb;
    margin-bottom: 20px;
}

.areas-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.area-pill {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #e5e7eb;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 0 0 rgba(147, 197, 253, 0.1);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.area-pill:hover {
    border-color: rgba(147, 197, 253, 0.5);
    box-shadow: 0 10px 18px rgba(29, 147, 132, 0.2);
    transform: translateY(-1px);
}

.areas-note {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    margin-top: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input,
.form-textarea {
    padding: 12px 24px;
    border-radius: 8px;
    background: #1f2937;
    color: white;
    border: 1px solid #374151;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-label {
    color: #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: -8px;
}

.form-select {
    width: 100%;
    appearance: auto;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6b7280;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0e7268;
}

.form-textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #0e7268;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #0b5c54;
}

.contact-footer {
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
    margin-top: 16px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
    color: #d3ece7;
    padding: 26px 18px 8px;
    margin: 0;
    animation: successReveal 0.35s ease both;
}

.form-success strong {
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
}

.form-success > span:not(.success-icon) {
    max-width: 390px;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 4px;
    border: 1px solid rgba(79, 176, 162, 0.45);
    border-radius: 50%;
    background: rgba(14, 114, 104, 0.14);
    color: #84c7bb;
    font-size: 22px;
    font-weight: 700;
}

.success-close {
    margin-top: 8px;
    padding: 9px 22px;
    border: 1px solid #374151;
    border-radius: 999px;
    background: transparent;
    color: #e5e7eb;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.success-close:hover {
    border-color: #4fb0a2;
    background: rgba(14, 114, 104, 0.1);
}

.contact-form.is-success > :not(.form-success),
.mark-dudley-web-intake.is-success > :not(.form-success) {
    display: none;
}

.modal-content.submission-complete > h2,
.modal-content.submission-complete > .modal-subtitle,
.modal-content.submission-complete > .contact-footer {
    display: none;
}

.mark-dudley-web-intake.is-success .form-success {
    min-height: 280px;
}

.mark-dudley-web-intake.is-success .form-success strong {
    color: #111827;
}

.mark-dudley-web-intake.is-success .form-success > span:not(.success-icon) {
    color: #4b5563;
}

body.theme-midnight .mark-dudley-web-intake.is-success .form-success strong {
    color: #fff;
}

body.theme-midnight .mark-dudley-web-intake.is-success .form-success > span:not(.success-icon) {
    color: #94a3b8;
}

@keyframes successReveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 32, 36, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 200;
}

.modal.open {
    display: flex;
}

.modal-content {
    width: min(640px, 100%);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    background: #111827;
    color: white;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    box-shadow: 0 24px 60px rgba(10, 32, 36, 0.35);
}

.modal-content h2 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 12px;
}

.modal-subtitle {
    text-align: center;
    color: #9ca3af;
    margin-bottom: 24px;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    border: none;
    background: #1f2937;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-close:hover {
    background: #374151;
}

footer {
    background: #000;
    color: #9ca3af;
    padding: 32px 24px;
    text-align: center;
    font-size: 12px;
}

.footer-links {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    color: #e5e7eb;
}

.fit-section {
    max-width: 1280px;
    margin: 48px auto 0;
}

.fit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 960px) {
    .fit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fit-card {
    background: white;
    border-radius: 12px;
    padding: 28px 32px;
    border: 2px solid #e5e7eb;
}

.fit-good {
    border-color: #0e7268;
}

.fit-title {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 20px;
}

.fit-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.fit-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    color: #111827;
    font-size: 16px;
}

.fit-list-good .fit-icon {
    color: #16a34a;
    font-weight: 700;
}

.fit-list-bad .fit-icon {
    color: #9ca3af;
    font-weight: 700;
}

.fit-banner {
    margin-top: 28px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 28px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    align-items: center;
}

.fit-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid #ea580c;
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.fit-banner-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111827;
}

.fit-banner-text {
    color: #4b5563;
    margin-bottom: 16px;
}

.fit-banner-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

@media (min-width: 640px) {
    .fit-banner-row {
        flex-direction: row;
        align-items: center;
    }
}

.fit-banner-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 14px;
}

.fit-note-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #ea580c;
}

@media (max-width: 960px) {
    .process-grid {
        display: grid;
        gap: 0;
    }

    .process-row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 16px;
    }

    .process-row:last-child {
        margin-bottom: 0;
    }

    .process-row::before {
        display: none;
    }

    .process-step {
        display: grid;
        grid-template-columns: 52px 1fr;
        gap: 16px;
        text-align: left;
        align-items: start;
        min-height: 0;
    }

    .step-box {
        margin-bottom: 0;
    }

    .step-box::after {
        display: none;
    }
}

/* Keep the tablet breakpoint exclusive so it cannot collide with the
   desktop navigation rules that begin at 768px. */
@media (max-width: 767.98px) {
    header {
        padding: 12px 16px;
    }

    .header-content {
        gap: 10px;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo img {
        width: 88px;
        height: 40px;
        object-fit: cover;
    }

    .header-actions {
        gap: 8px;
        flex: 0 0 auto;
    }

    .header-actions .btn-start {
        order: 1;
        padding: 6px 16px;
        font-size: 13px;
    }

    .header-actions .nav-toggle {
        order: 2;
    }

    nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        background: white;
        padding: 16px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        box-shadow: 0 16px 30px rgba(10, 32, 36, 0.12);
        flex-direction: column;
        gap: 12px;
    }

    header.nav-open nav {
        display: flex;
    }

    nav a {
        display: block;
        padding: 10px 12px;
        border-radius: 8px;
        background: transparent;
    }

    nav a:hover {
        background: #f3f4f6;
    }

    body.theme-midnight nav a:hover {
        background: rgba(29, 147, 132, 0.12);
        color: #f8fafc;
    }

    .nav-pill {
        padding: 10px 12px;
        border-radius: 8px;
        border: none;
        background: transparent;
        color: inherit;
        font-weight: inherit;
        animation: none;
        box-shadow: none;
    }

    .hero {
        margin-top: 65px;
        padding: 48px 16px 56px;
    }

    .hero-badge {
        display: block;
        width: 100%;
        padding: 8px 12px;
        line-height: 1.4;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .how-it-works,
    .pricing,
    .quick-help,
    .fixes,
    .examples,
    .faq,
    .contact {
        padding: 56px 16px;
    }

    .pricing-fairness {
        padding: 0 16px 56px;
    }

    .testimonial-strip {
        padding: 24px 16px 56px;
    }

    .trust-badges {
        padding: 32px 16px;
    }

    .badges-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .badge-item h3 {
        font-size: 26px;
    }

    .badge-item p {
        font-size: 12px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2,
    .pricing h2,
    .faq h2,
    .contact h2 {
        font-size: 30px;
    }

    .pricing-card,
    .comparison-box,
    .community-box {
        padding: 24px;
    }

    .pricing-badge {
        left: 16px;
    }

    .fit-card {
        padding: 24px;
    }

    .fit-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fit-avatar {
        margin: 0 auto;
    }

    .fit-banner-row {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 34px;
    }

    .btn-primary,
    .btn-secondary,
    .btn-orange {
        width: 100%;
    }

    .comparison-box {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 540px;
    }
}

@media (max-width: 420px) {
    .header-actions .btn-start {
        display: none;
    }

    .logo img {
        width: 78px;
        height: 36px;
    }

    .nav-toggle {
        width: 32px;
        height: 32px;
    }

    .nav-toggle-bar {
        width: 16px;
    }
}

/* Homepage enquiry section */
.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 28px 0 48px;
}

.contact-email {
    color: #e5e7eb;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
    text-align: center;
}

.contact-areas-title {
    text-align: center;
    margin-bottom: 16px;
    font-size: 24px;
}

.process-icon {
    width: 28px;
    height: 28px;
    color: #0e7268;
}

.process-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #0e7268;
}

.fit-scope-note {
    margin: 20px auto 0;
    max-width: 760px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

body.theme-midnight .process-icon,
body.theme-midnight .process-label {
    color: #84c7bb;
}

body.theme-midnight .fit-scope-note {
    color: #cbd5e1;
}

.website-offer {
    padding: 64px 24px;
}

.website-offer .fit-section {
    margin-top: 0;
}

#how .process-grid {
    margin-bottom: 0;
}

.fixes.fixes-compact {
    padding: 48px 24px;
}

.fixes-compact .section-header {
    margin-bottom: 20px;
}

.fixes-compact .section-header h2 {
    font-size: clamp(26px, 4vw, 32px);
}

.help-summary {
    max-width: 720px;
    margin: 0 auto 16px;
    text-align: center;
    color: #4b5563;
    line-height: 1.65;
}

body.theme-midnight .help-summary {
    color: #cbd5e1;
}

/* Inline submission feedback preserves the enquiry when sending fails. */
.form-error {
    padding: 12px 14px;
    margin: 12px 0;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    background: #fff1f2;
    color: #9f1239;
    font-size: 14px;
    line-height: 1.6;
}
body.theme-midnight .form-error {
    background: #321724;
    color: #fecdd3;
    border-color: #9f4960;
}

/* Keep the linked application schedule below the fixed site header. */
#application-subscriptions, #photography-services, #consumer-customers, #complaints { scroll-margin-top: 120px; }

/* Shared, concise primary navigation. */
#primary-nav .nav-contact { display: none; }
#primary-nav a[aria-current="page"] { color: #0e7268; font-weight: 700; text-decoration: underline; text-underline-offset: 7px; }
body.theme-midnight #primary-nav a[aria-current="page"] { color: #84c7bb; }
@media (max-width: 767px) {
    #primary-nav .nav-contact { display: block; text-align: left; background: #0e7268; color: #fff; border: 0; border-radius: 8px; padding: 12px 16px; font: inherit; font-weight: 600; cursor: pointer; }
}

/* Direct contact, kept below dialogs and out of the consent banner's way. */
.whatsapp-float {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 11px 17px;
    border: 1px solid #c9e5d5;
    border-radius: 999px;
    background: #fff;
    color: #176b40;
    box-shadow: 0 3px 16px rgb(15 23 42 / 12%);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.whatsapp-float:hover { background: #edf8f1; }
.whatsapp-float svg { flex: none; }
body.theme-midnight .whatsapp-float {
    background: #162b24;
    border-color: #345747;
    color: #a2e9bc;
}
body.theme-midnight .whatsapp-float:hover { background: #203b30; }
body:has(.modal.open) .whatsapp-float {
    visibility: hidden;
}
.whatsapp-alternative { margin: 0 0 20px; font-size: 14px; }
.whatsapp-alternative a { color: #176b40; text-underline-offset: 3px; }
body.theme-midnight .whatsapp-alternative a { color: #93e4af; }
@media (max-width: 600px) {
    .whatsapp-float {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        min-height: 44px;
        padding: 10px 14px;
    }
}
@media print { .whatsapp-float { display: none; } }

/* Christmas notification sits within the fixed header, above the navigation. */
body[data-seasonal-offer] {
    --seasonal-offer-height: 40px;
    padding-top: var(--seasonal-offer-offset, var(--seasonal-offer-height));
}
/* Keep the strip inside the header without pulling its top above the viewport. */
html body[data-seasonal-offer] header { padding-top: 0; }
.seasonal-offer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    column-gap: 8px;
    min-height: var(--seasonal-offer-height);
    margin: 0 -24px 12px;
    padding: 6px 8px 6px 16px;
    background: linear-gradient(110deg, #771e2b, #982d3b 55%, #771e2b);
    border-bottom: 1px solid #a84b53;
    color: #fff8f0;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}
.seasonal-offer:hover { background: #7d2230; }
.seasonal-offer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 2px 0;
    overflow-wrap: anywhere;
    color: inherit;
    text-decoration: none;
}
.seasonal-offer-link:focus-visible,
.seasonal-offer-close:focus-visible { outline: 2px solid #f7d79b; outline-offset: -4px; }
.seasonal-offer-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #fff8f0;
    cursor: pointer;
}
.seasonal-offer-close:hover { background: rgba(255, 255, 255, .12); }
.seasonal-offer-mobile { display: none; }
html.seasonal-offer-dismissed .seasonal-offer { display: none; }
html.seasonal-offer-dismissed body[data-seasonal-offer] { padding-top: 0; }
html.seasonal-offer-dismissed body[data-seasonal-offer] section[id],
html.seasonal-offer-dismissed .christmas-plan-offer { scroll-margin-top: 110px; }
.seasonal-offer-label { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.seasonal-offer-icon { flex: 0 0 auto; color: #f7d79b; }
.seasonal-offer-code strong {
    display: inline-block;
    padding: 1px 7px;
    margin-left: 3px;
    border: 1px solid rgba(247, 215, 155, .55);
    border-radius: 4px;
    background: rgba(255, 248, 240, .08);
    color: #ffe3ad;
}
.seasonal-offer-code { white-space: nowrap; }
.seasonal-offer-code strong { letter-spacing: .06em; }
.christmas-plan-offer {
    padding: 16px 20px;
    margin-bottom: 24px;
    border: 1px solid #ebccd0;
    border-left: 3px solid #982d3b;
    border-radius: 12px;
    background: #fff6f5;
    color: #65313a;
    scroll-margin-top: 160px;
}
body.theme-midnight .christmas-plan-offer {
    background: #2b1920;
    border-color: #69404a;
    border-left-color: #d7818e;
    color: #f2dfe2;
}
body.theme-midnight .seasonal-offer:hover { background: #7d2230; }
body[data-seasonal-offer] section[id] { scroll-margin-top: 160px; }
@media (max-width: 767.98px) {
    body[data-seasonal-offer] { --seasonal-offer-height: 56px; }
    .seasonal-offer {
        margin: 0 -16px 12px;
        padding: 4px 4px 4px 12px;
        column-gap: 4px;
        font-size: 12px;
    }
    .seasonal-offer-link > span:not(.seasonal-offer-mobile) { display: none; }
    .seasonal-offer-mobile { display: flex; flex-direction: column; min-width: 0; width: 100%; gap: 2px; font-size: 11px; line-height: 1.5; }
    .seasonal-offer-mobile strong { font-size: 12px; }
    .christmas-plan-offer,
    body[data-seasonal-offer] section[id] { scroll-margin-top: 180px; }
}

.christmas-plan-offer p + p { margin-top: 8px; }
.christmas-offer-terms { margin-top: 14px; padding-top: 12px; border-top: 1px solid #ebccd0; font-size: 14px; }
.christmas-offer-terms summary { cursor: pointer; font-weight: 600; }
.christmas-offer-terms ul { padding-left: 20px; margin-top: 12px; }
.christmas-offer-terms li + li { margin-top: 8px; }
.christmas-offer-terms a { color: inherit; text-decoration: underline; }
@media (min-width: 768px) and (max-width: 1100px) {
    body[data-seasonal-offer] { --seasonal-offer-height: 64px; }
    .seasonal-offer-link { flex-wrap: wrap; align-content: center; gap: 2px 12px; }
    .seasonal-offer-link > span:nth-child(2) { order: 1; flex-basis: 100%; }
}

.christmas-plan-offer .christmas-offer-title {
    margin-bottom: 8px;
    color: #842737;
    font-size: 16px;
    font-weight: 650;
}
.christmas-plan-offer .christmas-offer-voucher {
    display: inline-block;
    padding: 1px 7px;
    border: 1px solid #d7a5ad;
    border-radius: 4px;
    background: #f9e5e7;
    color: #842737;
    letter-spacing: .06em;
}
.christmas-offer-terms summary { color: #842737; }
.christmas-offer-terms summary:hover { text-decoration: underline; text-underline-offset: 3px; }
body.theme-midnight .christmas-plan-offer .christmas-offer-title,
body.theme-midnight .christmas-offer-terms summary { color: #f4b6c0; }
body.theme-midnight .christmas-plan-offer .christmas-offer-voucher {
    background: #44232e;
    border-color: #99616f;
    color: #ffd8b0;
}
body.theme-midnight .christmas-offer-terms { border-top-color: #69404a; }

/* Blend the dark logo's baked-in navy background into the mobile navigation. */
@media (max-width: 767.98px) {
    html body.theme-midnight header {
        background: #06181c;
        isolation: isolate;
    }
    body.theme-midnight header .site-logo {
        mix-blend-mode: lighten;
    }
}

/* Header polish: tight wordmark logo (background blended away), on-palette theme switch. */
body header .logo img.site-logo {
    width: auto;
    height: 26px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
body.theme-midnight header .logo img.site-logo { mix-blend-mode: lighten; }
@media (max-width: 767px) {
    body header .logo img.site-logo { height: 19px; }
}
.theme-toggle[aria-pressed='true'] { background: #0b3d39; border-color: #0e7268; }
body.theme-midnight .theme-toggle[aria-pressed='true'] { background: #0b3d39; border-color: #1d9384; }
.theme-toggle-thumb { background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.25); }
.theme-toggle[aria-pressed='true'] .theme-toggle-thumb { background: transparent; box-shadow: inset -5px -3px 0 0 #d3ece7; }
/* Keep header height as before the logo crop: 64px desktop, 40px mobile. */
.header-content { min-height: 64px; }
@media (max-width: 767.98px) { .header-content { min-height: 40px; } }
@media (max-width: 420px) { body header .logo img.site-logo { height: 16px; } }

/* Wordmark logo: "breydon" with a "digital" tag. */
@font-face {
    font-family: 'Breydon Display';
    src: url('fonts/instrument-sans.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}
.site-wordmark {
    display: inline-flex;
    align-items: center;
    font-family: 'Breydon Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.8px;
    color: #0e2a30;
    white-space: nowrap;
}
.site-wordmark em {
    font-style: normal;
    margin-left: 5px;
    padding: 2px 8px 4px;
    border-radius: 8px;
    background: #0e7268;
    color: #fff;
    font-size: 0.84em;
    letter-spacing: -0.4px;
}
body.theme-midnight .site-wordmark { color: #eaf4f2; }
body.theme-midnight .site-wordmark em { background: #1d9384; }
.logo a { text-decoration: none; display: inline-flex; align-items: center; }
@media (max-width: 767.98px) { .site-wordmark { font-size: 19px; } .site-wordmark em { margin-left: 4px; padding: 1px 6px 3px; border-radius: 6px; } }
@media (max-width: 420px) { .site-wordmark { font-size: 17px; } }
