/* Homepage sections rendered by the theme: the hero location line and the example websites link
   (page.php) and the "How it works" section (inc/site-improvements.php). Matches the type and spacing of the
   existing homepage bands in style.css. */

body.home .dw-home-hero__base { max-width: 500px; margin: 20px 0 0; color: #c9dde0; font-size: 14px; line-height: 1.5; }

body.home .dw-home-proof__more { margin: 26px 0 0; font-family: "Manrope", Arial, sans-serif; font-size: 15px; line-height: 1.6; }
body.home .dw-home-proof__more a { color: #006e79; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
body.home .dw-home-proof__more a:hover { color: #00535c; }
body.home .dw-home-proof__more a:focus-visible { outline: 3px solid #008d98; outline-offset: 4px; }

body.home .dw-hs { width: 100%; padding: 88px 24px; background: #fff; color: #0b2230; }
body.home .dw-hs--tint { background: #edf5f1; }
body.home .dw-hs__inner { width: min(1120px, 100%); margin: 0 auto; }
body.home .dw-hs__heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); align-items: end; gap: 48px; margin-bottom: 52px; }
body.home .dw-hs h2 {
    margin: 0;
    color: #0b2230;
    font-family: "Newsreader", Georgia, serif !important;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 500 !important;
    line-height: 1.08;
    letter-spacing: 0 !important;
    text-wrap: balance;
}
body.home .dw-hs__heading p {
    max-width: 62ch;
    margin: 0;
    color: #3e5661;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}
body.home .dw-hs h3 { margin: 0 0 14px; color: #0b2230; font-family: "Newsreader", Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
body.home .dw-hs__steps p { margin: 0; color: #405963; font-family: "Manrope", Arial, sans-serif; font-size: 15px; line-height: 1.65; }

body.home .dw-hs__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: dw-step; }
body.home .dw-hs__steps li { min-width: 0; margin: 0; padding: 22px 0 0; border-top: 2px solid #008d98; counter-increment: dw-step; }
body.home .dw-hs__steps li::before { content: "0" counter(dw-step); display: block; margin-bottom: 14px; color: #006e79; font-family: "Manrope", Arial, sans-serif; font-size: 13px; font-weight: 700; }

@media (max-width: 900px) {
    body.home .dw-hs__heading { grid-template-columns: 1fr; align-items: start; gap: 18px; }
    body.home .dw-hs__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    body.home .dw-hs { padding: 54px 20px; }
    body.home .dw-hs h2 { font-size: 39px; }
    body.home .dw-hs__heading { margin-bottom: 34px; }
    body.home .dw-hs__steps { grid-template-columns: 1fr; gap: 0; }
    body.home .dw-hs__steps li { padding: 20px 0 24px; }
    body.home .dw-hs__steps li:last-child { padding-bottom: 0; }
}
@media (max-width: 767px) {
    /* The phone hero is sized around its image; the location is restated further down. */
    body.home .dw-home-hero__base { display: none; }
}

/* Desktop homepage hero & top header legibility: mask left/top demo UI bleed-through. */
@media (min-width: 768px) {
    body.home:not(.dw-header-solid) #wrapper > header {
        background: rgba(7, 20, 28, 0.78) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    body.home .dw-home-hero__media::after {
        background:
            linear-gradient(180deg, rgba(5, 20, 30, 0.86) 0%, rgba(5, 20, 30, 0.45) 12%, transparent 26%),
            linear-gradient(90deg, #05141e 0%, #05141e 40%, rgba(5, 20, 30, 0.97) 45%, rgba(5, 20, 30, 0.72) 53%, rgba(5, 20, 30, 0.12) 65%, transparent 75%) !important;
    }

    html body.home .dw-home-hero .dw-home-hero__media picture[data-kind="tinkerdale"] img {
        object-position: 72% bottom;
    }
}
