@charset "utf-8";

/*
    Free demo - the page every other page on the site is trying to send somebody to.

    ? So the form is on the first screen, beside the promise rather than under it, and the rest of the
    ? page answers the three things a shop owner asks before giving their e-mail to anyone: what will
    ? you actually do, what happens after I send this, and will I be chased. Every line of that is
    ? something the site, the form or the handler already says - nothing here is a service level.

    ? The five things done in the half hour are the demo promises the solution pages already make,
    ? in the same words, and each links to the page that argues for it.

    ? Same ground as the rest of the site (concrete, the brand's steel, red used the way a shop uses
    ? paint). Scoped under .demo-page so the shared components keep their look elsewhere. The form
    ? itself is core's sky-form, restyled inside its card; its ids are what js/contact/forms.js binds to.
*/

.demo-page {
    --dm-concrete: #e8ebee;
    --dm-paper: #f4f6f7;
    --dm-line: #cdd4da;
    --dm-ink: #151b21;
    --dm-steel: #1f272f;
    --dm-text: #36424d;
    --dm-muted: #55616c;
    --dm-red: #fb172b;
    --dm-red-dark: #d9101f;

    font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-stretch: 100%;
    color: var(--dm-text);
}

/*  The display voice, shared with the other pages: the same family pulled condensed and heavy */
.demo-page .demo-hero-title,
.demo-page .demo-section-title,
.demo-page .show-num,
.demo-page .show-name,
.demo-page .next-step-title,
.demo-page .demo-more-text {
    font-stretch: 76%;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.demo-page a:focus-visible {
    outline: 3px solid var(--dm-ink);
    outline-offset: 3px;
}

.demo-page .demo-hero a:focus-visible,
.demo-page .demo-more a:focus-visible {
    outline-color: #ffffff;
}

.demo-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/*-------------------------------------------------------------------------------------------------
    Hero - dark, with the form on the first screen
-------------------------------------------------------------------------------------------------*/

.demo-page .demo-hero {
    position: relative;
    background-color: var(--dm-ink);
    color: #c3ccd5;
    padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
}

/*  The red bay line, as on the other pages */
.demo-page .demo-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background-image: repeating-linear-gradient(90deg, var(--dm-red) 0 28px, transparent 28px 48px);
}

.demo-page .demo-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}

.demo-page .demo-hero-eyebrow {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff6b78;
}

.demo-page .demo-hero-title {
    margin: 0 0 22px;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 0.96;
    color: #ffffff;
    max-width: 14ch;
    text-wrap: balance;
}

.demo-page .demo-hero-lede {
    margin: 0 0 30px;
    font-size: 18px;
    line-height: 1.6;
    color: #c3ccd5;
    max-width: 48ch;
}

/*  What the half hour is, as painted-square facts like the other pages, with their icons kept */
.demo-page .demo-promises {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 52ch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.demo-page .demo-promises li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 16.5px;
    line-height: 1.5;
    color: #ffffff;
}

.demo-page .demo-promises li i {
    flex: 0 0 auto;
    width: 22px;
    margin-top: 3px;
    text-align: center;
    color: #ff6b78;
}

.demo-page .demo-call {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin: 0;
}

.demo-page .demo-call-label {
    font-size: 15.5px;
    font-weight: 600;
    color: #b6c0ca;
}

.demo-page .demo-call-phone {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
}

.demo-page .demo-call-phone:hover,
.demo-page .demo-call-phone:focus {
    text-decoration: underline;
    text-decoration-color: var(--dm-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/*  The form card ---------------------------------------------------------------------------------- */

.demo-page .demo-form-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 40px 60px -36px rgba(0, 0, 0, 0.7);
    color: var(--dm-text);
}

.demo-page .demo-form-title {
    margin: 0 0 4px;
    font-stretch: 76%;
    font-weight: 800;
    font-size: 34px;
    line-height: 1;
    color: var(--dm-ink);
}

.demo-page .demo-form-sub {
    margin: 0 0 8px;
    font-size: 15.5px;
    color: var(--dm-muted);
}

/*  The card is the frame, so core's sky-forms panel look comes off the fieldset and footer inside it.
    ? Scoped through the card for the specificity - core's sky-forms.css was winning otherwise. */
.demo-page .demo-form-card .sky-form fieldset.site-form-fieldset,
.demo-page .demo-form-card .sky-form footer.site-form-footer {
    background: none;
    border: none;
    box-shadow: none;
}

.demo-page .demo-form-card .sky-form fieldset.site-form-fieldset {
    padding-left: 0;
    padding-right: 0;
}

.demo-page .demo-form-card .sky-form footer.site-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

.demo-page .demo-form-card .site-form-legal {
    margin: 0;
    font-size: 14px;
}

/*  ? Core's sky-forms.css squeezes every label, input and select to 80% width and offsets them from 960px
    down, so on a tablet or a phone the whole form sat inset inside its own card. Inside this card they
    take the full width at every size. */
.demo-page .demo-form-card .sky-form label,
.demo-page .demo-form-card .sky-form input,
.demo-page .demo-form-card .sky-form select,
.demo-page .demo-form-card .sky-form textarea {
    width: 100%;
    left: 0;
}

/*  ? Core's footer styling floats and indents a button; here the footer is a flex row, so neither applies */
.demo-page .demo-form-card .sky-form footer.site-form-footer .btn {
    float: none;
    margin: 0 0 0 auto;
    box-sizing: border-box;
}

/*-------------------------------------------------------------------------------------------------
    Shared section heading
-------------------------------------------------------------------------------------------------*/

.demo-page .demo-section-title {
    margin: 0 0 18px;
    font-size: clamp(36px, 4.4vw, 56px);
    color: var(--dm-ink);
    text-wrap: balance;
}

.demo-page .demo-section-lede {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--dm-muted);
    max-width: 46ch;
}

/*-------------------------------------------------------------------------------------------------
    What we will do with the half hour
-------------------------------------------------------------------------------------------------*/

.demo-page .demo-shows {
    background-color: var(--dm-concrete);
    padding: clamp(56px, 8vw, 104px) 0;
}

.demo-page .demo-shows-head {
    margin-bottom: clamp(32px, 4vw, 56px);
}

.demo-page .show-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--dm-line);
}

.demo-page .show-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 20px 28px;
    align-items: start;
    margin: 0;
    padding: 30px 0;
    border-top: 1px solid var(--dm-line);
}

.demo-page .show-num {
    font-size: 64px;
    line-height: 0.85;
    color: var(--dm-red-dark);
}

.demo-page .show-name {
    margin: 0 0 10px;
    font-size: clamp(28px, 3vw, 38px);
    color: var(--dm-ink);
}

.demo-page .show-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--dm-text);
    max-width: 62ch;
}

/*  What to bring, if anything - the one thing in the row the visitor has to do */
.demo-page .show-ask {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 14px 0 0;
    padding: 6px 12px;
    background-color: #ffffff;
    border: 1.5px dashed var(--dm-red);
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dm-red-dark);
}

.demo-page .show-link {
    padding-top: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--dm-ink);
    text-decoration: none;
    white-space: nowrap;
}

.demo-page .show-link span:first-child {
    text-decoration: underline;
    text-decoration-color: var(--dm-red);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.demo-page .show-link i {
    margin-left: 4px;
    font-size: 13px;
    transition: transform 0.18s ease;
}

.demo-page .show-link:hover i,
.demo-page .show-link:focus i {
    transform: translateX(4px);
}

/*-------------------------------------------------------------------------------------------------
    What happens after you send it
-------------------------------------------------------------------------------------------------*/

.demo-page .demo-next {
    background-color: #ffffff;
    padding: clamp(56px, 8vw, 104px) 0;
}

.demo-page .demo-next-head {
    margin-bottom: clamp(36px, 5vw, 64px);
}

/*  Four steps along one dashed red line, the bay line turned into a route */
.demo-page .next-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 28px;
    counter-reset: next-step;
}

.demo-page .next-step {
    position: relative;
    margin: 0;
    padding-top: 40px;
}

.demo-page .next-step::before {
    content: "";
    position: absolute;
    left: 0;
    right: -28px;
    top: 10px;
    height: 3px;
    background-image: repeating-linear-gradient(90deg, var(--dm-red) 0 10px, transparent 10px 18px);
}

.demo-page .next-step:last-child::before {
    display: none;
}

.demo-page .next-step-mark {
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border: 3px solid var(--dm-ink);
    z-index: 1;
}

.demo-page .next-step-title {
    margin: 0 0 12px;
    font-size: clamp(26px, 2.6vw, 34px);
    color: var(--dm-ink);
}

.demo-page .next-step-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--dm-text);
}

/*-------------------------------------------------------------------------------------------------
    Not ready to book
-------------------------------------------------------------------------------------------------*/

.demo-page .demo-more {
    position: relative;
    background-color: var(--dm-steel);
    padding: clamp(40px, 5vw, 64px) 0;
}

.demo-page .demo-more::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background-image: repeating-linear-gradient(90deg, var(--dm-red) 0 28px, transparent 28px 48px);
}

.demo-page .demo-more-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
}

.demo-page .demo-more-text {
    margin: 0;
    font-size: clamp(26px, 2.8vw, 36px);
    line-height: 1.05;
    color: #ffffff;
    max-width: 34ch;
}

/*  The sentence after the question is the same words, just not condensed or bold */
.demo-page .demo-more-text span {
    display: block;
    margin-top: 8px;
    font-stretch: 100%;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.5;
    color: #b6c0ca;
}

.demo-page .demo-more-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.demo-page .btn-demo-ghost,
.demo-page .btn-demo-ghost:focus {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.demo-page .btn-demo-ghost:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--dm-ink);
}

/*-------------------------------------------------------------------------------------------------
    Responsive
-------------------------------------------------------------------------------------------------*/

@media (max-width: 991px) {

    .demo-page .demo-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .demo-page .demo-hero-title {
        max-width: 18ch;
    }

    .demo-page .show-row {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .demo-page .show-link {
        grid-column: 2;
        padding-top: 0;
    }

    .demo-page .show-num {
        font-size: 48px;
    }

    /*  The route turns to run down the left edge */
    .demo-page .next-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .demo-page .next-step {
        padding: 0 0 36px 36px;
    }

    .demo-page .next-step::before {
        left: 6px;
        right: auto;
        top: 12px;
        bottom: -8px;
        width: 3px;
        height: auto;
        background-image: repeating-linear-gradient(180deg, var(--dm-red) 0 10px, transparent 10px 18px);
    }

    .demo-page .next-step-mark {
        top: 2px;
    }
}

@media (max-width: 767px) {

    .demo-page .demo-form-card {
        padding: 20px;
    }

    /*  On a phone every field takes the whole card, whatever column width core gave it */
    .demo-page .demo-form-card .sky-form .row {
        margin-left: 0;
        margin-right: 0;
    }

    .demo-page .demo-form-card .sky-form .col {
        float: none;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .demo-page .demo-form-card .sky-form footer.site-form-footer {
        flex-direction: column-reverse;
        align-items: stretch;
        text-align: center;
    }

    .demo-page .site-form-footer .btn,
    .demo-page .demo-more-links .btn {
        width: 100%;
    }

    .demo-page .show-row {
        padding: 24px 0;
    }
}
