/* Inverted MacTech palette. Original layout, copy and logo assets are retained. */
:root{--navy:#f4f7fb;--blue:#b7def7;--accent:#8bccf6;--paper:#163653;--muted:#c1cfdd;--line:#38516a;color-scheme:dark}
html,body{background:#0c2544;color:#f4f7fb}
.topline,.cta{background:#f4f7fb;color:#0c2544}
.button,.button.white{background:#f4f7fb;color:#0c2544;border-color:#f4f7fb}
.button:hover,.button.white:hover{background:#b7def7;color:#0c2544;border-color:#b7def7}
nav a.button[aria-current="page"]{color:#0c2544}
.cta .eyebrow{color:#1f648f}.cta p{color:#3f5870}
.cta .button.white{background:#0c2544;color:#f4f7fb;border-color:#0c2544}
.cta .button.white:hover{background:#214c75;color:#fff;border-color:#214c75}
.hero-art,.practical,.intro,.story-mark,.contact-offer{background:#163653;border-color:#38516a}
.tool-strip,footer{background:#102d4b;border-color:#38516a}
form{background:#163653}
input,select,textarea{background:#0c2544;color:#f4f7fb;border-color:#5b7187}
input::placeholder,textarea::placeholder{color:#b1c1d1;opacity:1}
.art-caption,.task-list>div,.intro-price,.large-list li,.mission-grid article+article{border-color:#38516a}
.round-arrow{border-color:#6b8298}
.brand-logo,.mascot-crop,.story-mark img{mix-blend-mode:normal;background:#fff}
.brand-logo,.story-mark img{border-radius:6px}
.mascot-crop{border-radius:8px}
.skip{background:#f4f7fb;color:#0c2544}
.tool-strip .tool-brand-chatgpt span{color:#f4f7fb}

/* White header with readable navy navigation on every page. */
.header-surface{background:#fff;color:#0c2544;color-scheme:light}
.header-surface header{background:#fff;border-bottom-color:#d9e0e7}
.header-surface .brand,.header-surface nav{color:#0c2544}
.header-surface nav a[aria-current="page"]{color:#006bab}
.header-surface nav .button,.header-surface nav a.button[aria-current="page"]{background:#0c2544;color:#fff;border-color:#0c2544}
.header-surface nav .button:hover{background:#214c75;color:#fff;border-color:#214c75}
.header-surface a:focus-visible{outline-color:#006bab}
.hero-copy h1.single-line-title{white-space:nowrap;font-size:clamp(2rem,6vw,5.4375rem)}
@media(max-width:700px){.hero-copy h1.single-line-title{font-size:clamp(2rem,10.5vw,3.9375rem)}}

/* White surfaces for the homepage Remote Support and Why Choose Us sections. */
.white-info-panel{background:#fff;color:#0c2544;border-color:#d9e0e7;color-scheme:light}
.tool-strip.white-info-panel span,.white-info-panel .art-caption strong{color:#42566c}
.white-info-panel .art-caption{border-color:#d9e0e7;color:#0c2544}
.white-info-panel .art-label{color:#0c2544}

/* Navy top banner and white secondary text on dark surfaces. */
:root{--muted:#fff}
.topline{background:#0c2544;color:#fff}
input::placeholder,textarea::placeholder{color:#fff}

/* White homepage Contact Info / Hours section with readable local colors. */
.white-contact-section{--navy:#0c2544;--muted:#42566c;--accent:#006bab;background:#fff;color:#0c2544;color-scheme:light}
.white-contact-section a:focus-visible{outline-color:#006bab}

/* Larger header logo only; the large content illustrations retain their sizing. */
.header-surface .brand-logo{width:139.5px;height:103.5px;object-fit:contain}
@media(max-width:700px){.header-surface .brand-logo{width:112.5px;height:85.5px}}
@media(max-width:380px){.header-surface .brand-logo{width:93px;height:70.5px}}
/* White-background copy at the payment description's existing 1rem (16px) size. */
.cta p,.tool-strip.white-info-panel span,.white-info-panel .art-label{font-weight:700}

/* About title matches the homepage headline treatment. */
.about-hero h1{font-size:clamp(2rem,6vw,5.4375rem);line-height:1.04;white-space:normal}
.about-hero h1 em{font-family:Georgia,serif;font-style:italic;font-weight:400;color:var(--accent)}
@media(max-width:700px){.about-hero h1{font-size:clamp(2rem,10.5vw,3.9375rem)}}

/* White About-page Here to Help and What I Do boxes. */
.white-about-panel{--navy:#0c2544;--muted:#42566c;--accent:#006bab;background:#fff;color:#0c2544;color-scheme:light}
.white-about-panel p{color:#42566c}
.white-about-panel a:focus-visible{outline-color:#006bab}

.what-i-do-heading{font-weight:700}

/* White Tech News cards; retain the surrounding navy page background. */
.white-news-cards article{--navy:#0c2544;--muted:#42566c;--accent:#006bab;background:#fff;color:#0c2544;color-scheme:light}
.white-news-cards article p{color:#42566c}
.white-news-cards article .text-link{color:#0c2544}

.news-page-title em{font-family:Georgia,serif;font-style:italic;font-weight:400;color:var(--accent)}

/* Match the homepage headline size and use one line of space before news cards. */
.services-hero h1.news-page-title{font-size:clamp(2rem,6vw,5.4375rem);line-height:1.04;white-space:normal}
.news-intro{padding-bottom:0}
.news-intro .lead{margin-bottom:0}
.news-intro + .news-cards-section{padding-top:1.5rem}
.news-cards-section .levels{margin-top:0}
@media(max-width:700px){.services-hero h1.news-page-title{font-size:clamp(2rem,10.5vw,3.9375rem)}}

/* One shared size for Home, About and Tech News headings. */
:root{--matched-page-title-size:clamp(2rem,6vw,5.4375rem)}
.hero-copy h1.matched-page-title,.about-hero h1.matched-page-title,.services-hero h1.matched-page-title{font-size:var(--matched-page-title-size)}
@media(max-width:700px){:root{--matched-page-title-size:clamp(2rem,10.5vw,3.9375rem)}}

/* A separate white block for payment details and help. */
.payment-info-block{--navy:#0c2544;--muted:#42566c;--accent:#006bab;--line:#d9e0e7;background:#fff;color:#0c2544;color-scheme:light;border-color:#d9e0e7;border-radius:8px}
.payment-info-block p{color:#42566c}
.payment-info-block address{color:#0c2544}
.payment-info-block .text-link{color:#0c2544}
.payment-info-block a:focus-visible{outline-color:#006bab}

/* Payment title shares the site headline size and italic blue final word. */
.services-hero h1.matched-page-title{line-height:1.04;white-space:normal}
.services-hero h1.matched-page-title em{font-family:Georgia,serif;font-style:italic;font-weight:400;color:var(--accent)}
.paypal-pay-button{gap:12px;background:#fff;color:#0c2544;border-color:#fff;max-width:100%;flex-wrap:wrap}
.paypal-pay-button:hover{background:#edf5fb;border-color:#edf5fb;color:#0c2544}
.paypal-pay-button span{font-size:1.125rem;font-weight:700}
.paypal-pay-button .paypal-button-logo{display:block;width:100px;height:auto;flex:none;background:transparent}

/* Contact page follows the shared heading, white cards and readable form palette. */
.contact-hero h1.matched-page-title{font-size:var(--matched-page-title-size);line-height:1.04;white-space:normal}
.contact-hero h1.matched-page-title em{font-family:Georgia,serif;font-style:italic;font-weight:400;color:var(--accent)}
.contact-info-panel,.white-contact-form{--navy:#0c2544;--muted:#42566c;--accent:#006bab;--line:#d9e0e7;background:#fff;color:#0c2544;border-radius:8px;color-scheme:light}
.contact-info-panel{padding:30px}
.contact-info-panel>h2{margin-top:0}
.contact-info-panel p,.contact-info-panel .contact-detail span{color:#42566c}
.contact-info-panel .contact-offer{background:#fff;border-top:1px solid #d9e0e7;border-radius:0;padding:24px 0 0}
.contact-info-panel p,.contact-info-panel .contact-detail a{font-weight:700}
.white-contact-form input,.white-contact-form textarea{background:#fff;color:#0c2544;border-color:#9aabba}
.white-contact-form input::placeholder,.white-contact-form textarea::placeholder{color:#536275;opacity:1}
.white-contact-form .button{background:#0c2544;color:#fff;border-color:#0c2544}
.white-contact-form .button:hover{background:#214c75;border-color:#214c75}
.white-contact-form .form-feedback,.white-contact-form .form-feedback p{color:#0c2544}
.contact-info-panel a:focus-visible,.white-contact-form :focus-visible{outline-color:#006bab}
@media(max-width:700px){.contact-info-panel{padding:24px}}

/* Align the contact cards and place the message heading inside its white box. */
.contact-grid{align-items:start}
.white-contact-form{margin-top:0;padding:30px}
.white-contact-form>h2{margin-top:0;color:#0c2544}
@media(max-width:700px){.white-contact-form{padding:24px}}

/* Two aligned contact boxes after removing the Contact-page mascot card. */
.contact-grid{align-items:stretch}
.contact-grid>aside,.contact-grid>.contact-form-column{display:flex;min-width:0}
.contact-grid .contact-info-panel,.contact-grid .white-contact-form{width:100%;margin-bottom:0}

/* One shared header-to-title offset on every page, independent of hero height. */
:root{--page-title-top-space:48px}
main>.page-title-section{padding-top:var(--page-title-top-space)}
.page-title-section h1{margin-top:0}
.page-title-section>.hero-copy{align-self:start}
@media(max-width:700px){:root{--page-title-top-space:32px}}


/* Use the shared card styling without an extra gap below Our Services. */
#how-we-help .levels{margin-top:0}

/* Inverted footer: light surface with readable navy text on every page. */
footer{--navy:#0c2544;--muted:#0c2544;--accent:#006bab;--line:#d9e0e7;background:#fff;color:#0c2544;border-color:#d9e0e7;color-scheme:light}
footer .footer-bottom{color:#0c2544;border-top-color:#d9e0e7}
footer a:focus-visible{outline-color:#006bab}

/* Payment details use the same separate white cards as Tech News. */
.payment-cards.levels{margin-top:0}
.payment-cards article{display:flex;flex-direction:column;min-width:0}
.payment-cards address{font-style:normal;font-size:1.125rem;line-height:1.65;margin:18px 0;color:#0c2544}
.payment-cards .text-link{margin-top:auto}

/* One line of space between Our Services and its white block. */
#how-we-help .section-heading{margin-bottom:6px}
#how-we-help .section-heading h2{margin-bottom:0}


/* Keep three spaces above Our Services on the homepage. */
.home-intro{padding-bottom:0}
.home-intro .hero-copy > :last-child{margin-bottom:0}
#how-we-help{padding-top:3.375rem}
#how-we-help .section-heading h2{margin-top:0}


/* About: align What I Do with the story and reuse the white card treatment. */
.about-story{padding-bottom:2.25rem}
.what-i-do{padding-bottom:3.5rem}
.what-i-do .what-i-do-heading{margin:0 0 0.75rem;font-weight:700}
.what-i-do-card{padding:30px;border-radius:8px}
.what-i-do-card p{max-width:80ch;margin:0 0 1rem}
.what-i-do-card p:last-child{margin-bottom:0}
@media(max-width:700px){
 .about-story{padding-bottom:1.5rem}
 .what-i-do{padding-bottom:2.5rem}
 .what-i-do-card{padding:24px}
}
