/* New sections for the marketing-first site: homepage additions, /marketing/ and /websites/.
   Kept out of styles.css, which holds the original layered layouts. */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.desktop-nav a[aria-current=page]{opacity:.5}
.desktop-nav .nav-cta{background:var(--ink);color:#fff;padding:10px 16px;border-radius:30px}
.desktop-nav .nav-cta:hover{opacity:.85}
.inline-link{text-decoration:underline;text-underline-offset:4px;color:#1c405f;font-weight:600}

/* Hero additions */
.hero-paths{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.hero-paths .pill{gap:10px}
.hero-paths .pill.dark{background:#fff;color:#183e5e;border-color:#fff}
.hero-paths .hero-path-alt{border-color:rgba(255,255,255,.55);color:#fff}
.hero-paths .pill:hover{transform:translateY(-1px)}

/* Who it's for */
.trade-chips{list-style:none;padding:0;margin:34px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.trade-chips li{padding:9px 14px;border:1px solid #cedde6;border-radius:30px;font-size:12px;font-weight:600;color:#355a74;background:#fff}

/* Section heading paragraph shared by new sections */
.results .section-heading p,.two-services .section-heading p,.start-steps .section-heading p,.mk-section .section-heading p{max-width:420px;color:#5f615a;line-height:1.6;font-size:13px}

/* How we get results */
.results{border-top:1px solid var(--line)}
.results-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(6,1fr);gap:0;border-top:1px solid #cbd9e2;counter-reset:step}
.results-step{position:relative;padding:22px 18px 6px 0;margin-right:18px}
.results-step::before{content:'';position:absolute;top:-4px;left:0;width:7px;height:7px;border-radius:50%;background:#1c405f}
.results-num{display:block;font-size:10px;font-weight:700;color:#3c7195;margin-bottom:22px}
.results-step h3{font-size:19px;font-weight:600;letter-spacing:-.04em;margin-bottom:10px}
.results-step p{font-size:12px;line-height:1.6;color:#5f615a}

/* Two services */
.two-services-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.service-panel{display:flex;flex-direction:column;gap:16px;min-height:380px;padding:34px;border-radius:18px;background:#e5eff5;color:var(--ink);transition:transform .25s}
.service-panel:hover{transform:translateY(-3px)}
.service-panel-marketing{background:#183e5e;color:#eef5fa}
.service-panel-label{font-size:9px;font-weight:600;letter-spacing:.04em;opacity:.75}
.service-panel h3{font-size:clamp(28px,2.8vw,44px);font-weight:500;letter-spacing:-.055em;line-height:1.08;max-width:14ch}
.service-panel p{font-size:14px;line-height:1.6;max-width:44ch;opacity:.85}
.service-panel .tags{margin-top:auto}
.service-panel-marketing .tags span{border-color:rgba(255,255,255,.3);color:#d7e7f2}
.service-panel:not(.service-panel-marketing) .tags span{border-color:#bcd0dc;color:#3f6179}
.service-panel-link{font-size:12px;font-weight:700;border-bottom:1px solid currentColor;align-self:flex-start;padding-bottom:4px}

/* Getting started steps (trades) */
.start-steps{border-top:1px solid var(--line)}
.start-steps-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.start-steps-list li{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:10px}
.start-steps-list .process-step{font-size:9px;font-weight:600;color:#3c7195}
.start-steps-list h3{font-size:22px;font-weight:600;letter-spacing:-.045em;margin-top:18px}
.start-steps-list p{font-size:13px;line-height:1.6;color:#5f615a}

/* Contact additions */
.contact-actions{flex-wrap:wrap}
.contact-secondary{opacity:.8}

/* Inner page hero (/marketing/, /websites/) */
.page-hero{padding:70px 12px 60px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr);gap:40px;align-items:end;border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(44px,6.4vw,104px);font-weight:500;letter-spacing:-.07em;line-height:.98;margin-top:22px}
.page-hero h1 .serif{color:#244f70}
.page-hero-side{display:flex;flex-direction:column;gap:22px;padding-bottom:10px}
.page-hero-side p{font-size:15px;line-height:1.6;color:#45473f}
.page-hero-actions{display:flex;flex-wrap:wrap;gap:10px}
.page-hero-actions .pill{gap:10px}

/* Marketing page sections */
.mk-section{border-top:1px solid var(--line)}
.mk-section:first-of-type{border-top:0}
.mk-problems{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.mk-problem{padding:26px;border-radius:16px;background:#eceee8}
.mk-problem h3{font-size:20px;font-weight:600;letter-spacing:-.04em;margin-bottom:10px}
.mk-problem p{font-size:13px;line-height:1.6;color:#5f615a}
.mk-includes{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid #cbd9e2}
.mk-include{padding:24px 24px 26px 0;border-bottom:1px solid var(--line)}
.mk-include h3{font-size:17px;font-weight:600;letter-spacing:-.03em;margin-bottom:8px}
.mk-include p{font-size:13px;line-height:1.6;color:#5f615a;max-width:36ch}
.mk-note{margin-top:22px;padding:18px 22px;border-radius:14px;background:#e5eff5;color:#244f70;font-size:13px;line-height:1.6;max-width:760px}
.mk-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:50px;align-items:start}
.mk-split p{color:#5f615a;line-height:1.65;font-size:14px;margin-top:16px;max-width:48ch}
.mk-checklist{list-style:none;padding:24px;margin:0;display:grid;gap:13px;background:#fff;border:1px solid var(--line);border-radius:16px;font-weight:600;font-size:14px}
.mk-checklist li,.mk-fit li{position:relative;padding-left:28px}
.mk-checklist li::before,.mk-fit li::before{content:'';position:absolute;left:0;top:.1em;width:17px;height:17px;border-radius:50%;background:#d7e7f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%231c405f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat}
.mk-fit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.mk-fit{padding:26px;border-radius:16px;background:#fff;border:1px solid var(--line);font-size:14px}.mk-fit ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:13px}.mk-split h2{margin-top:19px}
.mk-fit h3{font-size:18px;font-weight:600;letter-spacing:-.03em;margin-bottom:6px}
.mk-fit.is-not li::before{background:#eceee8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5.5 5.5 5 5m0-5-5 5' fill='none' stroke='%23777' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/13px no-repeat}

/* Example calculator */
.mk-calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:14px;align-items:stretch}
.mk-calc-inputs{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;display:grid;gap:26px}
.mk-calc-field label{display:flex;justify-content:space-between;gap:16px;font-size:13px;font-weight:600;margin-bottom:12px}
.mk-calc-field output{color:#1c405f;font-weight:800}
.mk-calc-field input[type=range]{width:100%;accent-color:#1c405f}
.mk-calc-result{background:#183e5e;color:#eef5fa;border-radius:16px;padding:28px;display:flex;flex-direction:column;gap:14px}
.mk-calc-label{font-size:9px;font-weight:600;letter-spacing:.04em;color:#a9c5e5}
.mk-calc-big{font-size:clamp(40px,5vw,72px);font-weight:500;letter-spacing:-.07em;line-height:1}
.mk-calc-result p{font-size:13px;line-height:1.6;color:#cfe0ec}
.mk-calc-result small{margin-top:auto;font-size:11px;line-height:1.5;color:#a9c5e5}

/* FAQ */
.mk-faq{border-top:1px solid #cbd9e2}
.mk-faq details{border-bottom:1px solid var(--line)}
.mk-faq summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;font-size:18px;font-weight:600;letter-spacing:-.03em;position:relative}
.mk-faq summary::-webkit-details-marker{display:none}
.mk-faq summary::after{content:'+';position:absolute;right:4px;top:16px;font-size:24px;font-weight:400;color:#3c7195}
.mk-faq details[open] summary::after{content:'–'}
.mk-faq p{padding:0 0 22px;color:#5f615a;font-size:14px;line-height:1.65;max-width:70ch}

/* Cross-link band on /websites/ */
.cross-link{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:34px;border-radius:18px;background:#183e5e;color:#eef5fa;margin:20px 0 60px}
.cross-link h2{font-size:clamp(24px,2.6vw,38px);font-weight:500;letter-spacing:-.05em;line-height:1.1}
.cross-link p{font-size:13px;color:#cfe0ec;margin-top:8px}
.cross-link .pill{background:#fff;color:#183e5e;border-color:#fff;flex:none}

/* Footer: more links now, so the copyright line gets its own row */
.site-footer .footer-body{flex-wrap:wrap;row-gap:22px}
.site-footer .footer-brand{flex:0 1 300px}
.site-footer .footer-links{flex:1 1 520px;flex-wrap:wrap;justify-content:flex-end;row-gap:12px}
.site-footer .footer-meta{flex:1 1 100%;justify-content:space-between}
@media (max-width:800px){.site-footer .footer-links{justify-content:flex-start}}

@media (max-width:1100px){
  .results-steps{grid-template-columns:repeat(3,1fr);row-gap:20px}
  .start-steps-list{grid-template-columns:1fr 1fr}
}
@media (max-width:800px){
  .desktop-nav .nav-cta{padding:0;background:none;color:inherit}
  .page-hero,.mk-split,.mk-calc{grid-template-columns:1fr}
  .two-services-grid,.mk-problems,.mk-fit-grid{grid-template-columns:1fr}
  .mk-includes{grid-template-columns:1fr 1fr}
  .service-panel{min-height:0}
  .cross-link{flex-direction:column;align-items:flex-start}
}
@media (max-width:640px){
  .results-steps{grid-template-columns:1fr;border-top:0;border-left:1px solid #cbd9e2;margin-left:4px}
  .results-step{padding:0 0 22px 22px;margin:0}
  .results-step::before{top:4px;left:-4px}
  .results-num{margin-bottom:8px}
  .start-steps-list,.mk-includes{grid-template-columns:1fr}
  .page-hero{padding:40px 6px 44px}
  .service-panel{padding:26px}
  .hero-paths .pill{flex:1 1 auto;justify-content:center}
}

/* Phones: the hero intro is hidden by the original design, so show a short line and the two paths. */
.hero-mobile-cta{display:none}
@media (max-width:640px){
  .hero-mobile-cta{display:block;position:relative;z-index:1;margin-top:18px;text-align:center;color:#fff}
  .hero-mobile-cta p{font-size:13px;line-height:1.55;max-width:290px;margin:0 auto;color:#fff;font-weight:600;text-shadow:0 1px 12px rgba(10,20,30,.85),0 0 2px rgba(10,20,30,.6)}
  .hero-mobile-cta .hero-path-alt{background:rgba(15,30,45,.45);backdrop-filter:blur(6px)}
  .hero-mobile-cta .hero-paths{justify-content:center;margin-top:16px}
}

/* Desktop hero: statement sits at the top, intro reads underneath it with no glass box. */
@media(min-width:641px){
  .hero-editorial .hero-top{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0}
  .hero.hero-editorial h1{min-height:0}
  .hero-editorial .hero-title-brand{position:absolute;left:0;top:0}
  .hero-editorial .hero-title-claim{position:relative;top:0}
  .hero-editorial .hero-intro{max-width:540px;margin-top:clamp(18px,2.4vw,32px);padding:0;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;text-shadow:0 1px 14px rgba(10,27,42,.65)}
  .hero-editorial .hero-intro:before{display:none}
  .hero-editorial .hero-intro p{font-size:clamp(15px,1.25vw,18px);line-height:1.6}
  .hero-editorial .hero-title-claim{font-size:clamp(52px,7vw,116px)}
}

/* Inline nav only on large screens; everything smaller uses the menu button. */
@media(max-width:1199px){.desktop-nav{display:none}}

/* Phone hero: even 22px rhythm (matches the hero padding) and stacked buttons. */
@media(max-width:640px){
  .hero.hero-editorial h1{min-height:0}
  .hero-editorial .hero-title-brand{position:absolute;left:0;right:0;top:0}
  .hero-editorial .hero-title-claim{position:relative;top:0}
  .hero-mobile-cta{margin-top:22px}
  .hero-mobile-cta .hero-paths{flex-direction:column;align-items:center;gap:10px;margin-top:22px}
  .hero-mobile-cta .hero-paths .pill{flex:none;width:100%;max-width:290px}
}
.desktop-nav a{white-space:nowrap}
@media(min-width:1200px) and (max-width:1399px){.desktop-nav{gap:18px}}

/* /marketing/ hero: heading only on desktop; one line and stacked buttons on phones. */
@media(min-width:641px){
  .mk-hero{grid-template-columns:1fr}
  .mk-hero .page-hero-side{display:none}
}
@media(max-width:640px){
  .mk-hero .page-hero-side{gap:18px;padding-bottom:0}
  .mk-hero .page-hero-side p{font-size:16px;line-height:1.5}
  .mk-hero .page-hero-actions{flex-direction:column}
  .mk-hero .page-hero-actions .pill{justify-content:center;width:100%}
}

/* /marketing/ problem cards read as pain points, not features. */
.mk-problem{background:#f4ece6}
.mk-problem-tag{display:inline-flex;align-items:center;gap:6px;margin-bottom:18px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#a9442f}
.mk-problem-tag span{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#f0d6cc;font-size:9px}
.mk-problem-fix{align-self:end;font-size:14px;font-weight:600}
@media(max-width:640px){.mk-problem-fix{align-self:flex-start}}

/* Problem + fix cards: warm problem half, cool fix half. */
.mk-problem{display:flex;flex-direction:column;padding:0;overflow:hidden;background:#f4ece6}
.mk-problem-half{padding:26px 26px 22px}
.mk-fix-half{flex:1;padding:20px 26px 26px;background:#e6eef3;border-top:1px dashed #c9d7e0}
.mk-fix-half p{font-size:14px;line-height:1.55;color:#1c3d58;font-weight:500}
.mk-fix-tag{display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#2d6a8e}
.mk-fix-tag span{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#cfe0ea;font-size:10px}
@media(min-width:801px){.mk-problem{display:grid;grid-row:span 2;grid-template-rows:subgrid;gap:0}}
.mk-fix-half h3{font-size:20px;font-weight:600;letter-spacing:-.04em;margin-bottom:10px;color:#1c3d58}
.mk-fix-half p{font-size:13px;line-height:1.6;font-weight:400;color:#4a6274}
.mk-fix-tag{margin-bottom:18px}
.mk-fix-half{padding-top:26px}
