:root {
    --background: #ffffff;
    --foreground: #09090b;
    --card: #ffffff;
    --card-foreground: #09090b;
    --popover: #ffffff;
    --popover-foreground: #09090b;
    --primary: #0A3161;
    --primary-foreground: #fafafa;
    --secondary: #f4f4f5;
    --secondary-foreground: #18181b;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --accent: #f4f4f5;
    --accent-foreground: #18181b;
    --destructive: #ef4444;
    --destructive-foreground: #fafafa;
    --border: #e4e4e7;
    --input: #e4e4e7;
    --ring: #0A3161;
    --radius: 0.5rem;
    --nav-height: 64px;
    --nav-bg: rgba(255, 255, 255, 0.8);

    /* Brand accents. The accent, text, and border-color aliases below are used by
       the dashboard, admin, and app.js templates; they were previously undefined. */
    --accent-primary: #0A3161;   /* navy: fills behind white text, or text on light */
    --accent-secondary: #B31942; /* red: accent text */
    --brand-text: #B31942;       /* the red "Can" / headline highlight */
    --text-primary: var(--foreground);
    --text-secondary: var(--muted-foreground);
    --border-color: var(--border);
}

.dark {
    --background: #09090b;
    --foreground: #fafafa;
    --card: #09090b;
    --card-foreground: #fafafa;
    --popover: #09090b;
    --popover-foreground: #fafafa;
    --primary: #3B6CB8;           /* brand blue; white text 5.2:1, vs background 3.8:1 */
    --primary-foreground: #ffffff;
    --secondary: #18181b;
    --secondary-foreground: #fafafa;
    --muted: #18181b;
    --muted-foreground: #a1a1aa;
    --accent: #18181b;
    --accent-foreground: #fafafa;
    --destructive: #ef4444;
    --destructive-foreground: #fafafa;
    --border: #27272a;
    --input: #27272a;
    --ring: #8FB0E8;
    --nav-bg: rgba(9, 9, 11, 0.8);

    --accent-primary: #3B6CB8;
    --accent-secondary: #F06A86;  /* 6.7:1 on the dark background */
    --brand-text: #F06A86;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* Typography Underlines */
.text-gradient {
    color: var(--brand-text); /* Old Glory Red, lightened in dark mode for contrast */
}

/* Skip link: first focusable element, visible only on keyboard focus. */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: var(--radius);
    font-weight: 600;
}

.skip-link:focus {
    top: 0.75rem;
}

a:focus-visible, summary:focus-visible, .form-control:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.logo .highlight {
    color: var(--brand-text);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 0.25rem 0.5rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--foreground);
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Shadcn Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius);
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    border-color: var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.btn-glass {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-glass:hover {
    opacity: 0.9;
}

.btn-large {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
}

.w-100 {
    width: 100%;
}

/* Page Layout */
.page-section {
    min-height: calc(100vh - var(--nav-height) - 4rem);
    padding-top: calc(var(--nav-height) + 3rem);
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 1.5rem auto 4rem;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Shadcn Card / Panel */
.glass-panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    border-radius: calc(var(--radius) - 2px);
    display: block;
}

/* Section Header Layout */
.content-container {
    max-width: 1000px;
    margin: 1.5rem auto 4rem;
    padding: 0 1.5rem;
}

.content-container h1, .content-container h2, .section-header h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.content-container > p, .section-header > p {
    text-align: center;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Features Grid */
.features {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: left;
    transition: background-color 0.2s ease;
}

.feature-card:hover {
    background: var(--accent);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.popular-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(179, 25, 66, 0.1);
    color: #B31942;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3, .pricing-card .h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.price {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 1rem 0 1.5rem;
    display: flex;
    align-items: baseline;
}

.price span:first-child {
    font-size: 1.5rem;
    font-weight: 500;
    margin-right: 0.125rem;
}

.price span:last-child {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 400;
    margin-left: 0.25rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card ul li::before {
    content: "✓";
    color: #B31942;
    font-weight: bold;
}

/* Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step {
    text-align: left;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--radius);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.step h3, .step .h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Forms & Text Fields */
.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--ring);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fafafa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2rem;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--nav-height) - 6rem);
}

.auth-panel {
    width: 100%;
    max-width: 400px;
}

.auth-panel h1, .auth-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.auth-panel > p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.auth-switch {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.auth-switch a {
    color: var(--foreground);
    font-weight: 500;
    text-decoration: underline;
}

/* FAQ Item */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.content-container h2.faq-group {
    text-align: left;
    font-size: 1.25rem;
    margin: 2.5rem 0 1rem;
}

.content-container h2.faq-group:first-child {
    margin-top: 0;
}

details.faq-item {
    padding: 0;
}

details.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
}

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

details.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    line-height: 1;
    color: var(--muted-foreground);
    flex-shrink: 0;
}

details.faq-item[open] summary::after {
    content: '\2212';
}

details.faq-item > p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.95rem;
}

.faq-item p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Testimonials */
.testimonials {
    max-width: 1000px;
    margin: 5rem auto;
    padding: 0 1.5rem;
}

.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.testimonial-card .quote {
    font-size: 0.95rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.testimonial-card .author {
    text-align: left;
    font-weight: 600;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.blog-card .date {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.blog-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--foreground);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: underline;
}

/* Legal Pages */
.legal-page h1, .legal-page h2 {
    text-align: left;
    margin-bottom: 1.25rem;
}

.legal-page p {
    text-align: left;
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 4rem 1.5rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    color: var(--muted-foreground);
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-group h4, .link-group .footer-heading {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.link-group a {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.link-group a:hover {
    color: var(--foreground);
}

.footer-bottom {
    text-align: left;
    color: var(--muted-foreground);
    font-size: 0.75rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Responsive */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: 1px solid var(--border);
    padding: 6px 8px;
    border-radius: var(--radius);
    background: transparent;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-family: inherit;
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.2s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .hero, .feature-grid, .pricing-grid, .steps-container, .blog-grid, .testimonial-carousel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero {
        margin: 1rem auto;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }

    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        padding: 0.5rem 1.5rem 1rem;
        background: var(--background);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        z-index: 999;
    }

    .nav-links.mobile-active a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0 0.5rem;
        font-size: 1rem;
        color: var(--foreground);
        border-bottom: 1px solid var(--border);
    }

    .nav-links.mobile-active a:last-child {
        border-bottom: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Keep the header on one line at phone widths (logo + theme + auth + menu). */
@media (max-width: 520px) {
    .logo-text {
        display: none;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-actions-wrapper {
        gap: 0.5rem !important;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-actions .btn {
        padding: 0.5rem 0.75rem;
    }
}

/* --- Homepage sections --- */
.home-section {
    max-width: 1100px;
    margin: 5rem auto;
    padding: 0 1.5rem;
}

.home-section .section-header {
    margin-bottom: 2.5rem;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

.hero-trust {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

.zip-band {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.zip-band h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.zip-band > p {
    color: var(--muted-foreground);
    margin-bottom: 1.25rem;
}

.zip-inline {
    display: flex;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto;
}

.zip-inline .form-control {
    flex: 1;
    min-height: 44px;
}

.zip-inline .btn {
    min-height: 44px;
    white-space: nowrap;
}

.zip-result {
    margin-top: 1rem;
    font-weight: 500;
}

.zip-result a {
    text-decoration: underline;
    font-weight: 600;
}

.pain-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.pain-list li {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    color: var(--foreground);
}

.section-closer {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.dark .feature-icon svg {
    stroke: var(--accent-secondary);
}

.price-preview {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem 2rem;
}

.price-preview .price-line {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0.5rem 0;
}

.price-preview .price-line small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.audience-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.audience-card p {
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.rating {
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.final-cta {
    text-align: center;
    padding: 3.5rem 2rem;
}

.final-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.final-cta p {
    color: var(--muted-foreground);
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
}

.empty-state {
    text-align: center;
    color: var(--muted-foreground);
    grid-column: 1 / -1;
    padding: 2rem;
}

.zip-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 1rem 0 0;
}

.zip-list li {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.info-note {
    max-width: 640px;
    margin: 2rem auto 0;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

.contact-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.after-signup {
    max-width: 720px;
    margin: 3.5rem auto 0;
}

.after-signup h2 {
    margin-bottom: 1.25rem;
}

.after-signup ol {
    padding-left: 1.25rem;
    color: var(--muted-foreground);
}

.after-signup li {
    margin-bottom: 0.75rem;
}

.after-signup li strong {
    color: var(--foreground);
}

@media (max-width: 900px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-buttons {
        flex-wrap: wrap;
    }

    .home-section {
        margin: 3.5rem auto;
    }
}

@media (max-width: 600px) {
    .pain-list, .audience-grid {
        grid-template-columns: 1fr;
    }

    .zip-inline {
        flex-direction: column;
    }

    .hero-buttons .btn {
        flex: 1 1 100%;
    }

    .hero p {
        max-width: 100%;
    }

    .final-cta h2 {
        font-size: 1.6rem;
    }
}

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

/* Card/step titles that are h2 for document outline but look like h3. */
.content-container h2.h3 {
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.pricing-card h2.h3 {
    text-align: left;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.contact-info a {
    font-weight: 600;
    text-decoration: underline;
    word-break: break-word;
}

.footer-contact {
    margin-top: 0.75rem;
    line-height: 1.8;
}

.footer-contact a:hover {
    color: var(--foreground);
}

@media (max-width: 600px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}
