/* kd-home.css - the homepage of 20 Nov 2026 (version 36 on the layouts page), front page only (inc/kd-home.php).
   Ported from the previews that pass check-layouts.mjs (Kevin-Dedmon/site-remodel/home-layouts): layouts.css with its
   classes mapped to the live sections, then ideas 23, 34, 28, 33, 18 and combo-36.css. */
/* layouts.css - the two compactions most ranked layouts share (from ideas 4 and 5), in the live theme's own tokens.
   Find your path: the six doors, each with a picture already on the site; picture beside the words, three across
   on desktop, one column on a phone.
   Book (short): cover beside one paragraph and Get the book; three endorsements in a row (a swipe row on a phone). */
.home .cream-band{padding-block:clamp(44px,5vw,64px)}
.home .cream-band .eyebrow{margin-bottom:6px}
.home .cream-band .lead-narrow{margin-top:8px}
.home .cream-band h2{text-wrap:balance}
.home .cream-band .ctagrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.home .cream-band a.tcard{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:16px;align-items:start;padding:16px 18px;min-height:0}
.home .cream-band .kdl-pic{grid-row:1/span 3;width:72px;height:72px;object-fit:cover;object-position:center 30%;border-radius:10px;margin:2px 0 0}
.home .cream-band a.tcard .k{min-height:0;font-size:clamp(17px,1.5vw,20px);margin:0 0 6px}
.home .cream-band a.tcard p:not(.k){margin:0;font-size:16px;line-height:1.5}
.home .cream-band a.tcard .go{padding-top:8px;min-height:24px}
.home .cream-band .ctafoot{margin-top:20px}
/* the two plain text links these sections keep from the live page get a 44 px tall tap area (inline, so the line
   still reads as one sentence) */
.home .cream-band .ctafoot a,.home .bookband .more-link a{display:inline-flex;align-items:center;min-height:44px}
@media (max-width:700px){
  .home .cream-band .ctagrid{grid-template-columns:1fr;gap:10px;margin-top:20px}
  .home .cream-band a.tcard{grid-template-columns:64px minmax(0,1fr);column-gap:14px;padding:14px}
  .home .cream-band .kdl-pic{width:64px;height:64px}
  .home .cream-band a.tcard .k{font-size:18px;margin:0 0 4px}
  .home .cream-band a.tcard p:not(.k){font-size:16px;line-height:1.45}
  .home .cream-band a.tcard .go{padding-top:6px;font-size:16px}
  .home .cream-band .lead-narrow{font-size:16px}
}

.home .bookband{padding-block:clamp(40px,5vw,60px)}
.home .bookband .split{grid-template-columns:minmax(0,200px) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:center;max-width:960px}
.home .bookband .bookshot img{width:min(190px,100%);transform:rotate(-2deg)}
.home .bookband .widget-platform-app{display:none}
.home .bookband #presence-therapy-endorsements{margin-top:clamp(24px,3vw,36px)}
.home #presence-therapy-endorsements > h2{font-size:clamp(20px,2vw,24px)}
.home .bookband .kcar{max-width:1080px;margin:14px auto 0}
.home .bookband .kcar .kcar-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;transform:none!important;overflow:visible}
.home .bookband .kcar .pq,.home .bookband .kcar .pq.feat{flex:none;width:auto;padding:18px 20px}
.home .bookband .kcar .pq .top{margin-bottom:10px}
.home .bookband .kcar .pq p{font-size:17px;line-height:1.55}
.home .bookband .kcar .pq .nm{font-size:16px}
.home .bookband .kcar .pq .nm small{font-size:16px}
@media (max-width:700px){
  /* the cover floats beside the eyebrow and title; the paragraph and the button use the full width under it */
  .home .bookband .split{display:block}
  .home .bookband .split::after{content:"";display:table;clear:both}
  .home .bookband .bookshot{float:left;display:block;margin:0 18px 6px 0}
  .home .bookband .bookshot figure{margin:0}
  .home .bookband .bookshot img{width:104px!important;height:auto!important;max-width:none}
  .home .bookband .bookshot figure{width:104px}
  .home .bookband .split h2{font-size:28px}
  .home .bookband .split .sub-p{clear:both;padding-top:6px}
  .home .bookband .kcar .kcar-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:2px 2px 10px;-webkit-overflow-scrolling:touch}
  .home .bookband .kcar .pq,.home .bookband .kcar .pq.feat{flex:0 0 84%;scroll-snap-align:start}
}

/* the book shortened to three endorsements in a row: the carousel's arrows and the rest of the quotes stay on /presence-therapy/ */
.home .bookband .kcar-nav{display:none}
.home .bookband .kcar-track>.pq:nth-child(n+4){display:none}

/* idea-23.css - the counts band, in the live theme's tokens: four numbers across on desktop, two by two on a phone. */
.kdl-num{background:var(--surface);border-block:1px solid var(--line);padding-block:clamp(18px,2.4vw,28px)}
.kdl-num-in{max-width:1160px;margin:0 auto}
.kdl-num-row{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 16px}
.kdl-num-i{margin:0}
.kdl-num-a{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-height:44px;padding:6px 8px;border-radius:10px;color:var(--text);text-decoration:none}
.kdl-num-a:hover .kdl-num-n{color:var(--clay)}
.kdl-num-a:focus-visible{outline:3px solid var(--sand);outline-offset:2px}
.kdl-num-n{font-family:Lora,Georgia,serif;font-size:clamp(30px,3.2vw,40px);font-weight:700;line-height:1.1;color:var(--text)}
.kdl-num-l{font-size:16px;line-height:1.35;color:var(--sub)}
@media (max-width:700px){.kdl-num-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
.kdl-vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* idea-34.css - the Listen · Course · Book row, in the live theme's tokens. Desktop: three cards across, picture on
   top. Phone: three compact rows, picture beside the words, so all three are on screen without swiping. */
.kdl-lcb{background:var(--bg);padding-block:clamp(28px,3vw,40px)}
.kdl-lcb-in{max-width:1160px;margin:0 auto}
.kdl-lcb-row{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.kdl-lcb-card{display:flex;flex-direction:column;margin:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden;font-size:16px}
.kdl-lcb-pic{display:block;aspect-ratio:16/9;background:var(--cream);overflow:hidden;border-bottom:1px solid var(--line)}
.kdl-lcb-pic img,.kdl-lcb-v{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.kdl-lcb-contain img{object-fit:contain;padding:10px;box-sizing:border-box}
.kdl-lcb-body{display:flex;flex-direction:column;gap:2px;padding:12px 16px 14px;flex:1}
.kdl-lcb-k{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--clay)}
.kdl-lcb-a{display:block;color:var(--text);text-decoration:none;min-height:44px}
.kdl-lcb-a:hover .kdl-lcb-t{color:var(--clay)}
.kdl-lcb-a:focus-visible,.kdl-lcb-also:focus-visible{outline:3px solid var(--sand);outline-offset:2px;border-radius:6px}
.kdl-lcb-t{font-family:Lora,Georgia,serif;font-size:20px;font-weight:700;line-height:1.25;margin:2px 0 0;color:var(--text)}
.kdl-lcb-l{margin:4px 0 0;font-size:16px;line-height:1.45;color:var(--sub)}
.kdl-lcb-also{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;font-size:16px;font-weight:700;color:var(--clay);text-decoration:underline;text-underline-offset:3px}
@media (max-width:700px){
  .kdl-lcb-row{grid-template-columns:1fr;gap:10px}
  .kdl-lcb-card{flex-direction:row;align-items:stretch}
  .kdl-lcb-pic{flex:0 0 108px;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--line)}
  .kdl-lcb-body{padding:10px 14px 10px}
  .kdl-lcb-t{font-size:18px}
  .kdl-lcb-k{font-size:13px}
}
.kdl-share{width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--clay);display:grid;place-items:center;cursor:pointer;flex:none}
.kdl-share svg{width:19px;height:19px}
.kdl-share:hover{border-color:var(--clay)}
.kdl-share:focus-visible{outline:3px solid var(--sand);outline-offset:2px}
.kdl-toast{position:fixed;left:50%;bottom:24px;z-index:1000;margin:0;transform:translate(-50%,12px);opacity:0;pointer-events:none;
  background:var(--ink);color:#fff;font-size:16px;font-weight:700;padding:12px 20px;border-radius:999px;transition:opacity .2s,transform .2s}
.kdl-toast.is-on{opacity:1;transform:translate(-50%,0)}
.kdl-vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* idea-28.css - the verse of the day, in the live theme's tokens: the verse large on a cream card, "Send this verse"
   beside it on desktop and under it on a phone. */
.kdl-vs{background:var(--cream);padding-block:clamp(32px,4vw,48px)}
.kdl-vs-in{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px 40px;align-items:center}
.kdl-vs-card{margin:0;padding:0}
.kdl-vs-k{margin:0;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--clay)}
.kdl-vs-q{margin:10px 0 0;padding:0;border:0;font-family:Lora,Georgia,serif;font-size:clamp(22px,2.4vw,30px);line-height:1.4;color:var(--text);text-wrap:pretty}
.kdl-vs-ref{margin-top:10px;font-size:17px;font-weight:700;color:var(--text)}
.kdl-vs-tr{font-weight:400;color:var(--sub)}
.kdl-vs-side{display:grid;gap:6px;justify-items:start}
.kdl-vs-send{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 22px 0 18px;border-radius:999px;border:1px solid var(--clay);background:var(--clay);color:#fff;
  font-size:17px;font-weight:700;cursor:pointer}
.kdl-vs-send svg{width:20px;height:20px}
.kdl-vs-send:focus-visible,.kdl-vs-from a:focus-visible{outline:3px solid var(--sand);outline-offset:2px}
.kdl-vs-from{margin:0;font-size:16px;color:var(--sub)}
.kdl-vs-from a{display:inline-flex;align-items:center;min-height:44px;color:var(--clay);font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media (max-width:700px){
  .kdl-vs-in{grid-template-columns:1fr;gap:16px}
  .kdl-vs-q{font-size:22px}
}
.kdl-share{width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--clay);display:grid;place-items:center;cursor:pointer;flex:none}
.kdl-share svg{width:19px;height:19px}
.kdl-share:hover{border-color:var(--clay)}
.kdl-share:focus-visible{outline:3px solid var(--sand);outline-offset:2px}
.kdl-toast{position:fixed;left:50%;bottom:24px;z-index:1000;margin:0;transform:translate(-50%,12px);opacity:0;pointer-events:none;
  background:var(--ink);color:#fff;font-size:16px;font-weight:700;padding:12px 20px;border-radius:999px;transition:opacity .2s,transform .2s}
.kdl-toast.is-on{opacity:1;transform:translate(-50%,0)}
.kdl-vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* idea-33.css - the free-Journey sign-up under the hero, in the live theme's tokens: the Journey picture beside the
   offer and the email box on desktop; picture above on a phone. */
.kdl-gift{background:var(--cream);padding-block:clamp(32px,4vw,48px)}
.kdl-gift-in{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);gap:clamp(18px,3vw,36px);align-items:center}
.kdl-gift-pic{display:block;aspect-ratio:16/10;border-radius:14px;overflow:hidden;background:var(--ink)}
.kdl-gift-pic img{display:block;width:100%;height:100%;object-fit:cover}
.kdl-gift h2{margin:0;font-size:clamp(24px,2.6vw,32px);line-height:1.2;text-wrap:balance}
.kdl-gift-sub{margin:8px 0 0;font-size:16px;color:var(--sub)}
.kdl-gift-form{margin-top:14px;display:grid;gap:6px}
.kdl-gift .kd-nl-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.kdl-gift-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px}
.kdl-gift-f{flex:1 1 150px;min-width:0;display:grid;gap:4px;font-size:16px;font-weight:600;color:var(--text)}
.kdl-gift-f input{width:100%;min-width:0;min-height:44px;box-sizing:border-box;font:inherit;font-weight:400;padding:.55rem .75rem;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--text)}
.kdl-gift-f input:focus-visible{outline:3px solid var(--sand);outline-offset:1px}
.kdl-gift-go{min-height:44px;padding:0 20px;border-radius:999px;border:1px solid var(--clay);background:var(--clay);color:#fff;font-size:16px;font-weight:700;cursor:pointer}
.kdl-gift-go:focus-visible,.kdl-gift-start:focus-visible{outline:3px solid var(--sand);outline-offset:2px}
.kdl-gift-msg{margin:0;min-height:1.4em;font-size:16px;font-weight:700;color:var(--clay)}
.kdl-gift-done{margin-top:14px;display:grid;gap:6px}
.kdl-gift-done[hidden],.kdl-gift-form[hidden]{display:none}   /* the class's display:grid would beat the hidden attribute */
.kdl-gift-pic.kdl-gone{display:none}
.kdl-gift-done:focus{outline:none}
.kdl-gift-thanks{margin:0;font-size:17px;font-weight:700;color:var(--text)}
.kdl-gift-start{justify-self:start;display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:999px;background:var(--clay);color:#fff;font-size:17px;font-weight:700;text-decoration:none}
.kdl-gift-note{margin:0;font-size:16px;color:var(--sub)}
@media (max-width:700px){.kdl-gift-in{grid-template-columns:1fr}.kdl-gift-pic{aspect-ratio:16/9}}

.kdl-share{width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--clay);display:grid;place-items:center;cursor:pointer;flex:none}
.kdl-share svg{width:19px;height:19px}
.kdl-share:hover{border-color:var(--clay)}
.kdl-share:focus-visible{outline:3px solid var(--sand);outline-offset:2px}
.kdl-toast{position:fixed;left:50%;bottom:24px;z-index:1000;margin:0;transform:translate(-50%,12px);opacity:0;pointer-events:none;
  background:var(--ink);color:#fff;font-size:16px;font-weight:700;padding:12px 20px;border-radius:999px;transition:opacity .2s,transform .2s}
.kdl-toast.is-on{opacity:1;transform:translate(-50%,0)}
.kdl-vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* combo-36.css - Andrew's notes on the artifact, 20 Nov 2026. */
/* the "New from Kevin" header above the row */
.kdl-lcb h2{margin:0}
.kdl-lcb .rule{margin:12px 0 20px}
/* the Listen card: the Journey's own cover, the cross in view */
.kdl-lcb-pic img.kdl-jcover{object-fit:cover;object-position:6% 30%}
/* the verse (Andrew's second notes): framed and reverent; the band shades into the night colour of the sign-up below,
   so the two stay distinct but run into each other */
.kdl-vs-cool{position:relative;background:linear-gradient(180deg,var(--cream) 0%,var(--cream) 55%,#141c17 100%);padding-block:clamp(36px,3.6vw,52px) clamp(56px,5vw,76px)}
.kdl-vs-cool .kdl-vs-in{display:block;max-width:760px}
.kdl-vs-cool .kdl-vs-card{position:relative;margin:0 auto;padding:clamp(28px,4vw,46px) clamp(22px,4vw,56px);background:var(--surface);border:1px solid rgba(154,74,44,.5);
  outline:1px solid rgba(154,74,44,.28);outline-offset:6px;border-radius:4px;text-align:center;box-shadow:0 30px 60px -36px rgba(10,14,12,.55)}
.kdl-vs-cool .kdl-vs-k{letter-spacing:.24em}
.kdl-vs-cool .kdl-vs-q{font-style:italic;font-size:clamp(24px,3vw,36px);line-height:1.45;margin:18px auto 0;max-width:30ch;text-wrap:balance}
.kdl-vs-orn{display:flex;align-items:center;justify-content:center;gap:10px;margin:20px auto 0;color:var(--clay)}
.kdl-vs-orn::before,.kdl-vs-orn::after{content:"";width:48px;height:1px;background:currentColor;opacity:.6}
.kdl-vs-orn span{width:6px;height:6px;transform:rotate(45deg);background:currentColor}
.kdl-vs-cool .kdl-vs-ref{margin-top:12px;font-size:16px;letter-spacing:.16em;text-transform:uppercase}
.kdl-vs-cool .kdl-vs-side{justify-items:center;margin-top:22px}
/* the sign-up: a night-valley band, so it reads as its own place (the Journey's evening look) */
.kdl-gift-night{background:linear-gradient(180deg,#141c17 0%,#1b261f 100%);color:#f6efe6}
.kdl-gift-night h2,.kdl-gift-night .kdl-gift-f,.kdl-gift-night .kdl-gift-thanks{color:#f6efe6}
.kdl-gift-night .kdl-gift-sub,.kdl-gift-night .kdl-gift-note{color:#d9d2c6}
.kdl-gift-night .kdl-gift-f input{background:#fff;color:#13181d;border-color:#3a443c}
.kdl-gift-night .kdl-gift-msg{color:#f3b89a}
.kdl-gift-night .kdl-gift-pic{box-shadow:0 0 0 1px rgba(255,255,255,.1)}
.kdl-gift-night .kdl-gift-go,.kdl-gift-night .kdl-gift-start{background:#e0a072;border-color:#e0a072;color:#13181d}
/* the quiz as a popup: a small card at the bottom left once past the hero, and the quiz in a dialog */

/* "Welcome to KevinDedmon.com" (kept, Andrew 20 Nov): Equip, Empower, Activate - the hero's three words, each a door.
   The words are the live page's; only the look changes: the whole card is the link, a small icon names each word,
   equal cards with "Learn more" on one line, one hover for all, and compact rows on a phone. */
.home section.center:not(.cream-band){padding-block:clamp(40px,4.5vw,64px)}
.home section.center:not(.cream-band) .triad{align-items:stretch}
.home section.center:not(.cream-band) .tcard{position:relative;display:flex;flex-direction:column;gap:10px;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.home section.center:not(.cream-band) .tcard>p:last-child{margin-top:auto}
.home section.center:not(.cream-band) .tcard a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.home section.center:not(.cream-band) .tcard:hover{transform:translateY(-4px);box-shadow:0 20px 40px -22px rgba(19,24,29,.22);border-color:var(--clay)}
.home section.center:not(.cream-band) .tcard:has(a:focus-visible){outline:3px solid var(--sand);outline-offset:2px}
.home section.center:not(.cream-band) .tcard a:focus-visible{outline:none}
.home section.center:not(.cream-band) .tcard .k{display:flex;align-items:center;gap:12px;margin:0}
.home section.center:not(.cream-band) .tcard .k::before{content:"";flex:none;width:40px;height:40px;border-radius:50%;background-color:var(--cream);
  background-repeat:no-repeat;background-position:center;background-size:22px 22px}
.home section.center:not(.cream-band) .tcard:nth-child(1) .k::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a4a2c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5.5A2.5 2.5 0 0 1 6.5 3H20v15H6.5A2.5 2.5 0 0 0 4 20.5z'/%3E%3Cpath d='M4 20.5A2.5 2.5 0 0 0 6.5 23H20v-5'/%3E%3C/svg%3E")}
.home section.center:not(.cream-band) .tcard:nth-child(2) .k::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a4a2c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 11V5.5a1.5 1.5 0 0 1 3 0V10'/%3E%3Cpath d='M10 9.5V4a1.5 1.5 0 0 1 3 0v6'/%3E%3Cpath d='M13 9.5V5a1.5 1.5 0 0 1 3 0v8.5a6.5 6.5 0 0 1-6.5 6.5h-.6A6 6 0 0 1 4.6 17L3 13.5a1.6 1.6 0 0 1 2.7-1.6L7 13'/%3E%3C/svg%3E")}
.home section.center:not(.cream-band) .tcard:nth-child(3) .k::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a4a2c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22a7 7 0 0 0 7-7c0-4-3-6.5-4-10-2.5 2-3 4.5-3 6-1-1-1.6-2.3-1.8-3.6C7.6 9.5 5 12 5 15a7 7 0 0 0 7 7z'/%3E%3C/svg%3E")}
@media (prefers-reduced-motion:reduce){.home section.center:not(.cream-band) .tcard{transition:none}.home section.center:not(.cream-band) .tcard:hover{transform:none}}
@media (max-width:700px){
  .home section.center:not(.cream-band) .triad{gap:10px}
  .home section.center:not(.cream-band) .tcard{padding:16px 18px;gap:6px}
  .home section.center:not(.cream-band) .tcard .k::before{width:34px;height:34px;background-size:19px 19px}
  .home section.center:not(.cream-band) .tcard p:not(.k){font-size:16px;line-height:1.5;margin:0}
}

/* The quiz funnel (21 Nov 2026). The popup is a small card in the middle of the screen with one question in it; the
   invite is a card on a desktop and a slim bar on a phone; "Where to start" carries the way back in. */
dialog.kdl-qz-dlg{position:fixed;inset:0;margin:auto;width:min(540px,calc(100% - 24px));height:fit-content;
  max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 16px);padding:0;border:0;border-radius:18px;
  background:var(--cream);color:var(--text);overflow:auto;overscroll-behavior:contain;box-shadow:0 30px 80px -30px rgba(10,12,14,.55)}
/* WordPress zeroes the block margins of everything in the page body, which pinned the popup to the top edge. */
:root :where(.is-layout-flow,.is-layout-constrained) > dialog.kdl-qz-dlg{margin:auto}
.kdl-qz-dlg::backdrop{background:rgba(10,12,14,.62)}
.kdl-qz-dlg[open]{animation:kdl-qz-in .22s ease-out}
@keyframes kdl-qz-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.kdl-qz{padding:14px clamp(16px,4vw,28px) clamp(20px,4vw,28px)}
.kdl-qz-bar{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:8px;min-height:44px}
.kdl-qz-step{grid-column:2;margin:0;text-align:center;font-size:14px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--sub)}
.kdl-qz-back,.kdl-qz-x,.kdl-nudge-x{width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--text);display:grid;place-items:center;cursor:pointer}
.kdl-qz-back{grid-column:1}.kdl-qz-x{grid-column:3}
.kdl-qz-back svg,.kdl-qz-x svg,.kdl-nudge-x svg{width:18px;height:18px}
.kdl-qz-back[hidden]{display:none}
.kdl-qz-prog{height:4px;margin:10px 0 0;border-radius:999px;background:var(--line);overflow:hidden}
.kdl-qz-prog span{display:block;height:100%;width:0;border-radius:inherit;background:var(--clay);transition:width .25s ease}
.kdl-qz h2{margin:18px 0 0;font-size:clamp(24px,5vw,30px);line-height:1.2;text-wrap:balance}
.kdl-qz-form{margin:14px 0 0}
.kdl-qz-form[hidden],.kdl-qz-res[hidden],.kdl-qz-q[hidden],.kdl-qz-said[hidden]{display:none}
.kdl-qz-q{margin:0;padding:0;border:0;min-width:0}
.kdl-qz-q legend{padding:0;margin:0 0 12px;font-size:18px;line-height:1.4;color:var(--sub)}
.kdl-qz-opts{display:grid;gap:10px}
.kdl-qz-o{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:56px;padding:10px 18px;border-radius:14px;border:1px solid var(--line);
  background:var(--surface);color:var(--text);font-family:inherit;font-size:17px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.kdl-qz-o::after{content:"";flex:none;width:9px;height:9px;border-right:2px solid var(--clay);border-top:2px solid var(--clay);transform:rotate(45deg);opacity:.7}
.kdl-qz-o:hover{border-color:var(--clay);transform:translateX(2px)}
.kdl-qz-o[aria-pressed="true"]{border-color:var(--clay);background:color-mix(in srgb,var(--clay) 10%,var(--surface))}
.kdl-qz-o:focus-visible,.kdl-qz-back:focus-visible,.kdl-qz-x:focus-visible,.kdl-qz-cta:focus-visible,.kdl-qz-again:focus-visible,.kdl-qz-alt:focus-visible,.kdl-qz-openbtn:focus-visible,
.kdl-nudge-go:focus-visible,.kdl-nudge-x:focus-visible{outline:3px solid var(--sand);outline-offset:2px}
.kdl-qz-res{margin-top:14px}
.kdl-qz-res:focus{outline:none}
.kdl-qz-said{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.kdl-qz-said span{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--line);font-size:14px;color:var(--sub)}
/* the picture and the words share the top; the buttons take the card's full width under them, so they stay on one row */
.kdl-qz-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:4px 16px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.kdl-qz-pic{grid-row:1 / span 3}
.kdl-qz-body{display:contents}
.kdl-qz-acts{grid-column:1 / -1}
.kdl-qz-card:focus{outline:none}
.kdl-qz-pic{aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:var(--bg)}
.kdl-qz-pic img{display:block;width:100%;height:100%}
.kdl-qz-cover img{object-fit:cover}
.kdl-qz-contain img{object-fit:contain;padding:8px;box-sizing:border-box}
.kdl-qz-k{margin:0;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--clay)}
.kdl-qz-t{margin:4px 0 0;font-family:Lora,Georgia,serif;font-size:22px;line-height:1.25;color:var(--text)}
.kdl-qz-l{margin:6px 0 0;font-size:16px;line-height:1.45;color:var(--sub)}
.kdl-qz-acts{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}
.kdl-qz-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border-radius:999px;background:var(--clay);color:#fff;font-size:16px;font-weight:700;text-decoration:none;white-space:nowrap}
.kdl-qz-again{min-height:44px;padding:0 6px;border:0;background:none;color:var(--clay);font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.kdl-qz-alt{display:flex;align-items:center;justify-content:center;min-height:48px;margin-top:12px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--text);
  font-size:16px;font-weight:700;text-decoration:none}
.kdl-qz-alt:hover{border-color:var(--clay)}
@media (max-width:560px){
  .kdl-qz-card{grid-template-columns:84px minmax(0,1fr);gap:4px 14px;padding:12px}
  .kdl-qz-cta{flex:1 1 auto;padding:0 14px}
  .kdl-qz-t{font-size:20px}
}
@media (max-width:380px){.kdl-qz-cta{white-space:normal;text-align:center;padding:8px 14px;line-height:1.25}}
/* a phone held sideways: less air, so a question and its answers fit without scrolling where they can */
@media (max-height:500px){
  .kdl-qz{padding-block:8px 14px}
  .kdl-qz h2{margin-top:10px;font-size:22px}
  .kdl-qz-form{margin-top:8px}.kdl-qz-q legend{margin-bottom:8px}
  .kdl-qz-opts{gap:8px}.kdl-qz-o{min-height:44px;padding-block:6px}
}
/* the invite */
.kdl-nudge{position:fixed;z-index:60;left:max(16px,env(safe-area-inset-left,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));width:min(320px,calc(100vw - 32px));
  padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);box-shadow:0 18px 44px -20px rgba(10,12,14,.45);
  opacity:0;transform:translateY(12px);transition:opacity .3s ease,transform .3s ease}
.kdl-nudge.is-in{opacity:1;transform:none}
.kdl-nudge[hidden]{display:none}
.kdl-nudge-k{margin:0;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--clay)}
.kdl-nudge-t{margin:4px 0 0;font-family:Lora,Georgia,serif;font-size:18px;font-weight:700;line-height:1.3;color:var(--text)}
.kdl-nudge-acts{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.kdl-nudge-go,.kdl-qz-openbtn{min-height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--clay);background:var(--clay);color:#fff;font-size:16px;font-weight:700;cursor:pointer;white-space:nowrap}
@media (max-width:700px){
  /* a phone: one slim bar along the bottom instead of a card over the content */
  .kdl-nudge{left:max(10px,env(safe-area-inset-left,0px));right:max(10px,env(safe-area-inset-right,0px));width:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 8px 8px 14px}
  .kdl-nudge-k{grid-column:1;font-size:15px;letter-spacing:0;text-transform:none;color:var(--text);line-height:1.3}
  .kdl-nudge-t{display:none}
  .kdl-nudge-acts{grid-column:2;margin:0;gap:6px}
  .kdl-nudge-go{padding:0 14px}
}
/* the way back in, in "Where to start" */
.kdl-qz-open{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 14px;margin:18px auto 0;font-size:17px;color:var(--sub)}
.kdl-qz-open[hidden]{display:none}
.kdl-qz-openbtn{background:transparent;color:var(--clay)}
.kdl-qz-openbtn:hover{background:var(--clay);color:#fff}
@media (prefers-reduced-motion:reduce){.kdl-nudge,.kdl-qz-o,.kdl-qz-prog span{transition:none}.kdl-qz-dlg[open]{animation:none}.kdl-qz-o:hover{transform:none}}
