/* Client flyer, US Letter (8.5in x 11in). Screen shows the page on a grey desk; print is the page only. */

@page { size: letter; margin: 0; }

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #e9ebef;
    font-family: "Red Hat Display", system-ui, sans-serif;
    color: #111;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

em { font-family: "PT Serif", Georgia, serif; font-style: italic; font-weight: 400; }

.flyer-toolbar {
    position: sticky; top: 0; z-index: 2;
    display: flex; gap: 12px; justify-content: center; align-items: center;
    padding: 12px 16px; background: #fff; box-shadow: 0 1px 0 #d9d9d9;
}
.flyer-toolbar a, .flyer-toolbar button {
    font: 700 15px "Red Hat Display", sans-serif; color: #164a80; text-decoration: none;
    border: 2px solid #d9d9d9; border-radius: 99px; background: #fff; padding: 7px 16px; cursor: pointer;
}
.flyer-toolbar button { background: #164a80; border-color: #164a80; color: #fff; }

.flyer {
    position: relative;
    width: 8.5in; height: 11in;
    margin: 24px auto;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .15);
}

.flyer__logos {
    height: 1.3in; padding: .3in .55in .2in;
    display: flex; align-items: center; justify-content: space-between; gap: .4in;
}
.flyer__wl-logo, .flyer__partner-logo { max-height: .6in; max-width: 2.6in; width: auto; }
.flyer__partner-name { font-size: 22px; font-weight: 700; color: #164a80; }

.flyer__hero { position: relative; height: 4.95in; }
.flyer__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 20%; }
/* White arc along the bottom edge of the photo. */
.flyer__hero::after {
    content: ""; position: absolute; left: -10%; right: -10%; bottom: -1.6in; height: 2in;
    background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.flyer__glass {
    position: absolute; right: .25in; top: .6in; width: 4.95in;
    padding: .28in .3in .22in;
    border-radius: 16px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}
.flyer__glass h1 { margin: 0 0 .22in; font-size: 30px; line-height: 1.12; font-weight: 500; }
.flyer__services { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.flyer__services li { width: .82in; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 9.5px; text-align: center; line-height: 1.2; color: #333; overflow-wrap: anywhere; hyphens: auto; }
.flyer__icon { width: .5in; height: .5in; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); color: #111; }
.flyer__icon svg { width: .26in; height: .26in; }
.flyer__icon svg path { stroke-width: 3px; }

.flyer__badge {
    position: absolute; left: .35in; top: 2.95in; margin: 0;
    padding: .13in .2in; border-radius: 10px;
    background: #2f7fd8; color: #fff; font-size: 13px; line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.flyer__steps {
    position: relative; z-index: 1;
    list-style: none; margin: .15in .3in 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: .14in;
}
.flyer__steps li {
    position: relative; margin-top: .6in;
    padding: .72in .14in .2in;
    border: 1.5px solid #d9d9d9; border-radius: 12px; background: #fff;
    text-align: center; min-height: 2.6in;
}
.flyer__steps img {
    position: absolute; top: -.62in; left: 50%; transform: translateX(-50%);
    width: 1.28in; height: 1.28in; border-radius: 50%; object-fit: cover;
}
.flyer__steps h2 { font-size: 13.5px; line-height: 1.3; margin: 0 0 .14in; font-weight: 700; }
.flyer__steps p { font-size: 12.5px; line-height: 1.55; margin: 0; color: #333; }

.flyer__help { position: absolute; left: 0; right: 0; bottom: .42in; margin: 0; text-align: center; font-size: 16px; }
.flyer__help a { color: inherit; text-decoration: none; }

/* Artwork flyer: marketing's full-page image, with logos and phone laid over its blank areas. */
.flyer--artwork .flyer__artwork { position: absolute; inset: 0; width: 100%; height: 100%; }
.flyer--artwork .flyer__logos { position: relative; z-index: 1; }
.flyer--artwork .flyer__help { z-index: 1; bottom: .4in; }

@media print {
    body { background: #fff; }
    .flyer-toolbar { display: none; }
    .flyer { margin: 0; box-shadow: none; }
}

/* Small screens: scale the page down to fit. */
@media screen and (max-width: 860px) { .flyer { zoom: .85; margin: 12px auto; } }
@media screen and (max-width: 720px) { .flyer { zoom: .7; } }
@media screen and (max-width: 600px) { .flyer { zoom: .55; } }
@media screen and (max-width: 440px) { .flyer { zoom: .42; } }
