/*
Theme Name: Launch Layer LLC
Theme URI: https://example.com/launch-layer-llc
Author: Codex
Description: A WordPress landing page theme for printer repair and support businesses.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: launch-layer-llc
*/

:root {
    --brand-blue: #007dba;
    --brand-blue-dark: #005d8b;
    --brand-dark: #0f172a;
    --brand-light: #f8fafc;
    --brand-slate: #475569;
    --brand-slate-light: #cbd5e1;
    --brand-slate-soft: #e2e8f0;
    --brand-white: #ffffff;
    --brand-success: #16a34a;
    --brand-success-soft: #dcfce7;
    --section-dark: #0f172a;
    --section-darker: #020617;
    --card-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    --card-shadow-strong: 0 24px 60px rgba(0, 125, 186, 0.18);
    --radius-large: 2rem;
    --radius-medium: 1rem;
    --radius-small: 0.75rem;
    --content-width: 1280px;
    --header-height-desktop: 80px;
    --header-height-mobile: 72px;
    --logo-width-desktop: 220px;
    --logo-width-mobile: 170px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--brand-light);
    color: var(--brand-dark);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
    top: 32px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 0 auto;
}

.container-narrow {
    width: min(calc(100% - 2rem), 860px);
    margin: 0 auto;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 2px solid transparent;
    border-radius: 1rem;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button:focus-visible,
.field-input:focus,
.field-textarea:focus {
    outline: 3px solid rgba(0, 125, 186, 0.18);
    outline-offset: 2px;
}

.button-primary {
    background: var(--brand-blue);
    color: var(--brand-white);
    box-shadow: var(--card-shadow-strong);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--brand-blue-dark);
}

.button-secondary {
    background: var(--brand-white);
    border-color: var(--brand-slate-soft);
    color: var(--brand-dark);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: #f8fafc;
}

.site-topbar {
    padding: 0.7rem 1rem;
    background: var(--brand-dark);
    color: var(--brand-white);
    font-size: 0.95rem;
    text-align: center;
}

.site-topbar a {
    margin-left: 0.5rem;
    color: var(--brand-white);
    text-decoration: underline;
}

.site-topbar a:hover,
.site-topbar a:focus-visible {
    color: #93c5fd;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.header-inner {
    min-height: var(--header-height-desktop);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex-shrink: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-icon {
    color: var(--brand-blue);
}

.brand-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.brand-logo .custom-logo {
    width: min(var(--logo-width-desktop), 100%);
    max-height: calc(var(--header-height-desktop) - 14px);
    height: auto;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.primary-nav-desktop {
    margin-left: auto;
}

.menu-list,
.menu-list-mobile,
.footer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.menu-list a {
    display: inline-flex;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    color: #334155;
    font-size: 0.97rem;
    font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.menu-list a:hover,
.menu-list a:focus-visible {
    color: var(--brand-blue);
}

.menu-list li.current-menu-item > a,
.menu-list li.current_page_item > a,
.menu-list li.current-menu-ancestor > a {
    color: var(--brand-blue);
    border-bottom-color: var(--brand-blue);
}

.menu-toggle {
    display: none;
    width: 2.7rem;
    height: 2.7rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 0.75rem;
    background: var(--brand-white);
    color: #334155;
    font-size: 1.2rem;
    cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.primary-nav-mobile {
    display: none;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    background: var(--brand-white);
}

.primary-nav-mobile.is-open {
    display: block;
}

.primary-nav-mobile .container {
    padding-top: 0.35rem;
    padding-bottom: 0.65rem;
}

.menu-list-mobile {
    display: grid;
    gap: 0.15rem;
}

.menu-list-mobile a {
    display: block;
    padding: 0.7rem 0;
    color: #1e293b;
    font-weight: 600;
}

.menu-list-mobile a:hover,
.menu-list-mobile a:focus-visible {
    color: var(--brand-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.header-help {
    text-align: right;
}

.header-help p {
    margin: 0 0 0.15rem;
    color: #64748b;
    font-size: 0.9rem;
}

.header-phone {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.header-phone i {
    color: var(--brand-blue);
}

.header-cta {
    padding: 0.95rem 1.5rem;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 6rem;
    background-color: var(--brand-light);
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #dbeafe;
    color: var(--brand-blue);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-title {
    margin: 1.5rem 0;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

.hero-title span {
    color: var(--brand-blue);
}

.hero-copy {
    max-width: 42rem;
    margin: 0 0 2rem;
    color: #475569;
    font-size: 1.15rem;
}

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

.hero-actions .button {
    min-width: 220px;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.8rem;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 700;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-trust i {
    color: var(--brand-success);
}

.hero-media {
    position: relative;
}

.hero-media-glow {
    position: absolute;
    inset: 0;
    transform: rotate(3deg) scale(1.04);
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, var(--brand-blue), #93c5fd);
    opacity: 0.22;
}

.hero-image {
    position: relative;
    height: 420px;
    border: 4px solid var(--brand-white);
    border-radius: var(--radius-large);
    object-fit: cover;
    box-shadow: var(--card-shadow);
}

.hero-badge {
    position: absolute;
    bottom: -1.75rem;
    left: -1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    background: var(--brand-white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
}

.hero-badge-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand-success-soft);
    color: var(--brand-success);
    font-size: 1.2rem;
}

.hero-badge p {
    margin: 0;
}

.hero-badge strong {
    display: block;
    font-size: 1rem;
}

.section {
    padding: 6rem 0;
}

.section-heading {
    max-width: 48rem;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: #475569;
    font-size: 1.08rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.service-card {
    height: 100%;
    padding: 2rem;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    background: #dbeafe;
    color: var(--brand-blue);
    font-size: 1.4rem;
}

.service-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1.25rem;
    line-height: 1.2;
}

.service-card p {
    margin: 0;
    color: #475569;
}

.contact-section {
    background: var(--section-dark);
    color: var(--brand-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 4rem;
    align-items: center;
}

.contact-copy h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.contact-copy > p {
    margin: 0 0 2rem;
    color: rgba(226, 232, 240, 0.82);
    font-size: 1.08rem;
}

.contact-list {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    color: var(--brand-blue);
    font-size: 1.15rem;
}

.contact-item h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.contact-item p {
    margin: 0;
    color: rgba(226, 232, 240, 0.82);
}

.contact-item a {
    color: rgba(226, 232, 240, 0.9);
}

.contact-item a:hover,
.contact-item a:focus-visible {
    color: var(--brand-white);
}

.form-card {
    position: relative;
    padding: 2.25rem;
    background: var(--brand-white);
    border-radius: 1.5rem;
    color: var(--brand-dark);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.35);
    overflow: hidden;
}

.form-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.65rem;
    line-height: 1.2;
}

.form-card > p {
    margin: 0 0 1.5rem;
    color: #64748b;
}

.form-status {
    margin-bottom: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    font-weight: 600;
}

.form-status-error {
    background: #fee2e2;
    color: #991b1b;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.field label {
    display: block;
    margin-bottom: 0.4rem;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
}

.field-input,
.field-textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.9rem;
    color: var(--brand-dark);
    background: var(--brand-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input:focus,
.field-textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(0, 125, 186, 0.12);
}

.field-textarea {
    min-height: 130px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 0;
    cursor: pointer;
}

.form-success {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98);
    text-align: center;
    z-index: 2;
}

.form-success.is-visible {
    display: flex;
}

.form-success-icon {
    width: 4.25rem;
    height: 4.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--brand-success-soft);
    color: var(--brand-success);
    font-size: 2rem;
}

.form-success h4 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
}

.form-success p {
    margin: 0 0 1rem;
    color: #475569;
}

.form-reset {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--brand-blue);
    font-weight: 700;
    cursor: pointer;
}

.form-reset:hover,
.form-reset:focus-visible {
    text-decoration: underline;
}

.site-footer {
    padding: 2.5rem 0;
    background: var(--section-darker);
    color: #94a3b8;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-meta {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--brand-white);
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.footer-menu-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-menu-list li {
    display: inline-flex;
    align-items: center;
}

.footer-menu-list a {
    display: inline-flex;
    color: #cbd5e1;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-menu-list a:hover,
.footer-menu-list a:focus-visible {
    color: var(--brand-white);
}

.footer-copy {
    margin: 0;
    margin-left: auto;
    text-align: right;
    font-size: 0.95rem;
    max-width: 46rem;
}

.footer-copy small {
    display: block;
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.8rem;
}

.page-shell {
    padding: 4.5rem 0 6rem;
}

.page-card,
.post-card {
    padding: 2rem;
    background: var(--brand-white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.5rem;
    box-shadow: var(--card-shadow);
}

.page-card h1,
.post-card h2 {
    margin-top: 0;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    line-height: 1.2;
}

.entry-content a,
.post-card a {
    color: var(--brand-blue);
}

.entry-content a:hover,
.entry-content a:focus-visible,
.post-card a:hover,
.post-card a:focus-visible {
    color: var(--brand-blue-dark);
}

.post-list {
    display: grid;
    gap: 1.5rem;
}

.post-meta {
    color: #64748b;
    font-size: 0.9rem;
}

.pagination {
    margin-top: 2rem;
}

.pagination .nav-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    padding: 0.7rem 1rem;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 0.8rem;
    background: var(--brand-white);
}

.pagination .current {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--brand-white);
}

@media (max-width: 960px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        min-height: var(--header-height-mobile);
        justify-content: space-between;
    }

    .brand-logo .custom-logo {
        width: min(var(--logo-width-mobile), 100%);
        max-height: calc(var(--header-height-mobile) - 12px);
    }

    .brand-name {
        font-size: 1rem;
    }

    .primary-nav-desktop,
    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .hero-section {
        padding-top: 3.5rem;
    }

    .hero-copy,
    .hero-actions,
    .hero-trust,
    .contact-copy {
        max-width: 42rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-media {
        margin-top: 1rem;
    }

    .hero-badge {
        left: 1rem;
    }

    .footer-inner {
        gap: 1rem;
    }

    .footer-meta {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 1rem;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .footer-menu-list {
        justify-content: flex-start;
    }

    .footer-copy {
        margin-left: 0;
        text-align: left;
    }
}

@media (max-width: 640px) {
    .site-topbar {
        font-size: 0.88rem;
    }

    .brand-link {
        font-size: 1.25rem;
    }

    .menu-toggle {
        width: 2.45rem;
        height: 2.45rem;
    }

    .hero-section,
    .section,
    .page-shell {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .hero-actions .button {
        width: 100%;
        min-width: 0;
    }

    .hero-image {
        height: 320px;
    }

    .hero-badge {
        position: static;
        margin-top: 1rem;
    }

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

    .service-card,
    .form-card,
    .page-card,
    .post-card {
        padding: 1.5rem;
    }
}
