/* Printable partner materials: the pitch decks (16:9, one slide per page)
   and the one-pager (one portrait page that fits both A4 and Letter). On
   screen the slides scale with the window; the type is sized in container
   units, so a slide reads the same on screen and on paper. */

html { background: #ECEDF1; }
body { background: #ECEDF1; }

.deck { padding: 34px 0 70px; }
.slide {
    container-type: inline-size;
    width: min(1120px, 94vw); aspect-ratio: 16 / 9; margin: 0 auto 30px;
    background: #fff; border-radius: 14px; box-shadow: 0 16px 40px -12px rgba(23,24,28,.22);
    position: relative; overflow: hidden; padding: 5.2cqw 6cqw;
    display: flex; flex-direction: column;
}
.slide h1 { font-size: 5.6cqw; line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
.slide h2 { font-size: 3.7cqw; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 2.2cqw; max-width: 80%; }
.slide p, .slide li { font-size: 1.9cqw; line-height: 1.45; color: #4A4E5A; }
.slide p + p { margin-top: 1.2cqw; }
.slide ul { padding-left: 2.4cqw; display: flex; flex-direction: column; gap: 1cqw; }
.slide strong { color: #17181C; }
.slide .kicker { font-size: 1.35cqw; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6A4BFF; margin-bottom: 1.6cqw; }
.slide .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 1.3cqw; color: #6E7382; padding-top: 1.6cqw; }
.slide .foot img { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; vertical-align: middle; margin-right: .8cqw; }
.slide .note-line { font-size: 1.35cqw; color: #6E7382; margin-top: 1.6cqw; }
.slide .brand { display: flex; align-items: center; gap: 1.2cqw; font-size: 2.2cqw; font-weight: 800; color: #17181C; }
.slide .brand img { width: 3.6cqw; height: 3.6cqw; border-radius: 50%; }

/* The title and closing slides: ink, with the gradient as a hairline. */
.slide.ink { background: #17181C; }
.slide.ink h1, .slide.ink h2, .slide.ink .brand { color: #fff; }
.slide.ink p, .slide.ink li { color: rgba(255,255,255,.78); }
.slide.ink strong { color: #fff; }
.slide.ink .kicker { color: #C9C6E8; }
.slide.ink .foot { color: rgba(255,255,255,.6); }
.slide.ink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .6cqw;
    background: linear-gradient(90deg, #47C8D8, #5B9BD5, #8E85C2, #D08EC8, #E8919F, #F2AA84); }
.slide.ink .title-block { margin-top: auto; margin-bottom: auto; }
.slide.ink .title-block p { font-size: 2.3cqw; margin-top: 2cqw; max-width: 75%; }

/* Columns and boxes */
.cols { display: grid; gap: 2.4cqw; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.box { border: .15cqw solid #E2E4EA; border-radius: 1.4cqw; padding: 2cqw 2.2cqw; background: #FBFBFC; }
.box h3 { font-size: 2.1cqw; font-weight: 750; color: #17181C; margin-bottom: .8cqw; line-height: 1.2; }
.box p, .box li { font-size: 1.65cqw; }
.box .num { display: inline-flex; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: #17181C; color: #fff; align-items: center; justify-content: center; font-size: 1.6cqw; font-weight: 700; margin-bottom: 1.2cqw; }
.box.ring { border: .3cqw solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #47C8D8, #5B9BD5, #8E85C2, #D08EC8, #E8919F, #F2AA84) border-box; }
.slide .big { font-size: 6.4cqw; font-weight: 800; letter-spacing: -0.03em; color: #17181C; line-height: 1; }
.slide .big small { font-size: 2cqw; font-weight: 600; color: #6E7382; letter-spacing: 0; }
/* The body of a slide sits in the middle of the space under its title. */
.slide > .cols, .slide > ul { margin-top: auto; }

.slide table { width: 100%; border-collapse: collapse; font-size: 1.7cqw; }
.slide th, .slide td { text-align: left; padding: 1cqw 1.4cqw; border-bottom: .12cqw solid #E2E4EA; color: #4A4E5A; }
.slide th { color: #17181C; font-weight: 700; background: #F5F6F8; }

.shot { border-radius: 1.2cqw; overflow: hidden; border: .15cqw solid #E2E4EA; box-shadow: 0 1cqw 3cqw -1cqw rgba(23,24,28,.25); }
.shot img { display: block; width: 100%; height: auto; }

/* What an agency types into its own deck before printing. */
[contenteditable="true"] { outline: .15cqw dashed #8E85C2; outline-offset: .3cqw; border-radius: .4cqw; cursor: text; }
[contenteditable="true"]:focus { outline: .2cqw solid #6A4BFF; }
.logo-slot { display: inline-flex; align-items: center; justify-content: center; min-width: 14cqw; height: 6cqw; border: .2cqw dashed rgba(255,255,255,.45); border-radius: 1cqw; color: rgba(255,255,255,.7); font-size: 1.5cqw; cursor: pointer; }
.logo-slot img { max-height: 6cqw; max-width: 22cqw; display: block; }
.edit-help { width: min(1120px, 94vw); margin: 0 auto 22px; background: #fff; border: 1px solid #E2E4EA; border-radius: 12px; padding: 14px 18px; font-size: 15px; color: #33363F; }

/* The one-pager: one portrait page, inside the printable area of A4 and Letter. */
.sheet {
    width: min(816px, 96vw); margin: 34px auto 70px; background: #fff; box-shadow: 0 16px 40px -12px rgba(23,24,28,.22);
    border-radius: 10px; padding: 48px 52px; color: #17181C;
}
.sheet .brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; }
.sheet .brand img { width: 34px; height: 34px; border-radius: 50%; }
.sheet h1 { font-size: 38px; line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; margin: 22px 0 10px; }
.sheet .lead { font-size: 17px; color: #4A4E5A; }
.sheet h2 { font-size: 15px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; color: #6A4BFF; margin: 22px 0 10px; }
.sheet .steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sheet .step { border: 1px solid #E2E4EA; border-radius: 12px; padding: 12px 13px; background: #FBFBFC; }
.sheet .step b { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: #17181C; color: #fff; align-items: center; justify-content: center; font-size: 12.5px; margin-bottom: 6px; }
.sheet .step h3 { font-size: 14.5px; margin-bottom: 3px; }
.sheet .step p { font-size: 12.5px; color: #4A4E5A; line-height: 1.4; }
.sheet .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sheet ul { padding-left: 18px; }
.sheet li { font-size: 13.5px; color: #33363F; margin-bottom: 4px; line-height: 1.45; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.sheet th, .sheet td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #E2E4EA; }
.sheet th { background: #F5F6F8; font-weight: 700; }
.sheet .start { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 2px solid transparent; border-radius: 16px; padding: 16px 20px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #47C8D8, #5B9BD5, #8E85C2, #D08EC8, #E8919F, #F2AA84) border-box; }
.sheet .start strong { font-size: 19px; }
.sheet .start span.link { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.sheet .small { font-size: 11px; color: #6E7382; margin-top: 14px; line-height: 1.45; }

@media (max-width: 760px) {
    .sheet { padding: 28px 22px; }
    .sheet h1 { font-size: 28px; }
    .sheet .steps4 { grid-template-columns: 1fr 1fr; }
    .sheet .two { grid-template-columns: 1fr; }
    .sheet .start { flex-direction: column; align-items: flex-start; }
}

@media print {
    @page { margin: 0; }
    html, body { background: #fff; }
    .deck { padding: 0; }
    .slide { width: 13.333in; height: 7.5in; aspect-ratio: auto; margin: 0; border-radius: 0; box-shadow: none; break-after: page; }
    .slide:last-child { break-after: auto; }
    [contenteditable="true"] { outline: none; }
    .logo-slot { border: none; }
    .logo-slot:empty, .logo-slot .placeholder { visibility: hidden; }
    .edit-help { display: none; }
    .sheet { width: auto; margin: 0; box-shadow: none; border-radius: 0; padding: 8mm 12mm 6mm; }
    .sheet h1 { font-size: 30px; margin: 14px 0 8px; }
    .sheet .lead { font-size: 15px; }
    .sheet h2 { margin: 13px 0 7px; }
    .sheet li { margin-bottom: 2px; }
    .sheet .start { margin-top: 16px; padding: 12px 18px; }
    .sheet .small { margin-top: 10px; }
}
