/* Slide Mastery Academy (parody landing page, presented by slidewizard.ai)
   Palette: palm green, linen, mango, coconut husk, pool teal. */

/* ---------- fonts: self-hosted, no request to Google or any other host ----------
   Exactly the variable WOFF2 files Google Fonts delivered for the previous
   embed (latin subset only), so the look is unchanged. Source, versions and
   SIL Open Font License: fonts/OFL.txt. One file per style covers all weights. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --palm: #0f3b2c;
  --palm-deep: #0a2a20;
  --linen: #f2ede1;
  --linen-dark: #e4dccb;
  --paper: #fffdf7;
  --husk: #3a2a1d;
  --husk-soft: #6b5846;
  --mango: #ffc22e;
  --mango-dark: #e9a800;
  --pool: #2f8f8b;
  --sticky: #ffe869;

  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 68rem;
  --gutter: 1.25rem;
  --radius: 1.25rem;
  --band-pad: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--linen);
  color: var(--husk);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  /* linen weave */
  background-image:
    repeating-linear-gradient(0deg, rgba(58, 42, 29, 0.022) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(58, 42, 29, 0.022) 0 1px, transparent 1px 3px);
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 12.5vw, 6rem); }
h2 { font-size: clamp(2.1rem, 8vw, 3.6rem); }
h3 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.01em; }

p { margin: 0 0 1em; max-width: 38em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--pool);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band-pad); }
.band--palm { background: var(--palm); color: var(--linen); }
.band--paper { background: var(--paper); }
.band h2 + p, .band h2 + .lede { margin-top: 1.1rem; }

.lede { font-size: 1.3rem; line-height: 1.45; }
.small { font-size: 0.95rem; }
.ui { font-family: var(--display); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--mango); color: var(--husk); padding: 0.6rem 1rem; z-index: 50;
  font-family: var(--display); font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.5rem;
  padding: 0.85rem 1.6rem;
  border: 0; border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.005em;
  text-decoration: none; text-align: center; line-height: 1.15;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn--mango {
  background: var(--mango); color: var(--husk);
  box-shadow: 0 4px 0 var(--husk);
}
.btn--mango:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--husk); }
.btn--mango:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--husk); }
.band--palm .btn--mango, .palm-page .btn--mango { box-shadow: 0 4px 0 var(--palm-deep); }

.btn--ghost {
  background: transparent; color: inherit;
  border: 2px solid currentColor;
  font-weight: 600; font-size: 1.02rem; min-height: 3.1rem;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn--block { display: flex; width: 100%; }

.cta-note { font-family: var(--display); font-size: 0.95rem; margin-top: 0.9rem; opacity: 0.8; }

/* ---------- top strip ---------- */

.strip {
  background: var(--palm-deep); color: var(--linen);
  font-family: var(--display); font-size: 0.92rem; font-weight: 500;
  text-align: center; padding: 0.55rem var(--gutter); line-height: 1.3;
}
.strip b { color: var(--mango); font-weight: 700; }

/* ---------- hero ---------- */

.hero { padding-block: 1.2rem 3.5rem; overflow-x: clip; }
.hero__grid { display: grid; gap: 2rem; }
.hero__brand {
  font-family: var(--display); font-weight: 700; font-size: 1.02rem;
  display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem;
}
.hero__brand img { width: 2.4rem; height: 2.4rem; border-radius: 50%; }
.hero h1 { color: var(--palm); }
.hero h1 span { display: block; }
.hero__opener { font-size: 1.3rem; line-height: 1.4; margin-top: 1.3rem; font-style: italic; }
.hero__copy p { margin-top: 1rem; }
.hero__cta { margin-top: 1.6rem; position: relative; padding-right: 5.6rem; }

.hero__photo { position: relative; max-width: 26rem; margin-inline: auto; width: 100%; order: -1; }
.hero__photo img.arch {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 12%;
  border-radius: 14rem 14rem var(--radius) var(--radius);
  box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--palm);
}
.lowerthird {
  position: absolute; left: -0.4rem; bottom: 1.6rem;
  background: var(--palm); color: var(--linen);
  font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  padding: 0.45rem 0.9rem 0.45rem 0.8rem; border-left: 5px solid var(--mango);
}
.lowerthird small { display: block; font-weight: 500; font-size: 0.8rem; opacity: 0.85; }

/* fruit-sticker price */
.sticker {
  position: absolute; right: -0.3rem; top: 0.4rem;
  width: 6.6rem; height: 6.6rem; border-radius: 50%;
  background: var(--mango); color: var(--husk);
  display: grid; place-content: center; text-align: center;
  font-family: var(--display); line-height: 1;
  transform: rotate(11deg);
  box-shadow: 0 0 0 3px var(--mango), 0 0 0 5px var(--husk), 0 10px 24px rgba(10, 42, 32, 0.28);
}
.sticker s { font-size: 0.85rem; font-weight: 500; opacity: 0.75; }
.sticker b { font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; margin-block: 0.15rem; }
.sticker i { font-style: normal; font-size: 0.72rem; font-weight: 600; }

/* one orchestrated page-load moment: the sticker gets slapped on */
@media (prefers-reduced-motion: no-preference) {
  .sticker { animation: slap 0.5s 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both; }
  @keyframes slap {
    from { transform: rotate(-20deg) scale(2.2); opacity: 0; }
    to { transform: rotate(11deg) scale(1); opacity: 1; }
  }
}

/* ---------- 2 a.m. ---------- */

.twoam__grid { display: grid; gap: 2.5rem; align-items: center; }
.slide-mock {
  position: relative; background: var(--paper); color: var(--husk);
  aspect-ratio: 16 / 9; border-radius: 0.5rem; padding: 7% 7% 6%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-family: var(--display); max-width: 30rem; margin-inline: auto; width: 100%;
}
.slide-mock__title { font-weight: 700; font-size: clamp(0.85rem, 3.4vw, 1.1rem); margin-bottom: 6%; }
.slide-mock__rows { display: grid; gap: 7%; height: 62%; }
.slide-mock__rows span { background: var(--linen-dark); border-radius: 2px; }
.slide-mock__rows span:nth-child(odd) { width: 92%; }
.slide-mock__rows span:nth-child(3) { width: 78%; }
.postit {
  position: absolute; right: -4%; bottom: -12%;
  width: 46%; aspect-ratio: 1; background: var(--sticky); color: #2b2412;
  transform: rotate(-5deg); padding: 7% 6%;
  font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(0.95rem, 4.2vw, 1.3rem); line-height: 1.15;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.3);
  display: flex; flex-direction: column; justify-content: space-between;
}
.postit span { align-self: flex-end; }

/* ---------- modules (as slides) ---------- */

.modules { display: grid; gap: 1.25rem; margin-top: 2.5rem; list-style: none; padding: 0; }
.module {
  background: var(--paper); border-radius: 0.6rem;
  border: 1px solid var(--linen-dark);
  box-shadow: 0 2px 0 var(--linen-dark);
  padding: 1.4rem 1.4rem 1.1rem;
  display: flex; flex-direction: column;
}
.module__no {
  font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: var(--pool);
  margin-bottom: 0.5rem;
}
.module h3 { color: var(--palm); margin-bottom: 0.7rem; }
.module p { font-size: 1.05rem; line-height: 1.5; }
.module__foot {
  margin-top: auto; padding-top: 0.9rem;
  border-top: 1px solid var(--linen-dark);
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--display); font-size: 0.85rem; color: var(--husk-soft);
}
.module p + .module__foot { margin-top: 1rem; }
.modules-after { margin-top: 2.5rem; display: grid; gap: 1.2rem; justify-items: start; }

/* ---------- story ---------- */

.story__grid { display: grid; gap: 2.5rem; }
.story__photo { max-width: 24rem; width: 100%; }
.story__photo img { border-radius: var(--radius); }
.story__photo figcaption { font-family: var(--display); font-size: 0.88rem; margin-top: 0.6rem; opacity: 0.75; }
.story figure { margin: 0; }

.timeline { list-style: none; padding: 0; margin: 2rem 0 0; border-left: 2px solid var(--palm); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.4rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -0.5rem; top: 0.45rem;
  width: 0.85rem; height: 0.85rem; border-radius: 50%;
  background: var(--mango); border: 2px solid var(--palm);
}
.timeline b { font-family: var(--display); font-weight: 700; display: block; color: var(--palm); }

/* ---------- bonuses ---------- */

.stack { list-style: none; padding: 0; margin: 2.2rem 0 0; }
.stack li {
  display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1.2rem;
  padding: 1.1rem 0; border-top: 1px solid rgba(242, 237, 225, 0.25);
}
.stack h3 { font-size: 1.2rem; }
.stack p { grid-column: 1; font-size: 1.02rem; opacity: 0.88; }
.stack .val { font-family: var(--display); font-weight: 600; white-space: nowrap; text-align: right; }
.stack-total {
  border-top: 3px double var(--mango); margin-top: 0; padding-top: 1.3rem;
  display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1.2rem; align-items: baseline;
  font-family: var(--display);
}
.stack-total .big { font-size: 2.6rem; font-weight: 800; color: var(--mango); letter-spacing: -0.03em; line-height: 1; }
.stack-total s { opacity: 0.7; }
.stack-cta { margin-top: 2rem; }

/* ---------- testimonials ---------- */

.voices { display: grid; gap: 1.25rem; margin-top: 2.2rem; }
.voice { margin: 0; padding: 0 0 0 1.2rem; border-left: 4px solid var(--mango); }
.voice blockquote { margin: 0; font-size: 1.45rem; line-height: 1.3; font-style: italic; }
.voice figcaption { font-family: var(--display); font-size: 0.92rem; margin-top: 0.7rem; color: var(--husk-soft); }
.voice figcaption b { color: var(--husk); }
.disclosure {
  margin-top: 2.2rem; font-family: var(--display); font-size: 0.9rem; color: var(--husk-soft);
  max-width: 44em;
}

/* ---------- guarantee ---------- */

.guarantee__grid { display: grid; gap: 2rem; align-items: center; }
.guarantee__photo { max-width: 20rem; width: 100%; }
.guarantee__photo img { border-radius: 50% 50% var(--radius) var(--radius) / 38% 38% var(--radius) var(--radius); }

/* ---------- faq ---------- */

.faq { margin-top: 2rem; border-top: 1px solid var(--linen-dark); }
.faq details { border-bottom: 1px solid var(--linen-dark); }
.faq summary {
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.25;
  padding: 1.1rem 2.2rem 1.1rem 0; cursor: pointer; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 0.85rem;
  font-size: 1.6rem; font-weight: 500; color: var(--pool);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.2rem; }

/* ---------- final ---------- */

.final { text-align: center; }
.final p { margin-inline: auto; }
.seats {
  display: inline-block; margin-top: 1.4rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem;
  background: var(--palm-deep); padding: 0.5rem 1rem; border-radius: 999px;
}
.seats b { color: var(--mango); font-variant-numeric: tabular-nums; }
.final .btn { margin-top: 1.6rem; }

/* ---------- footer ---------- */

.foot {
  background: var(--palm-deep); color: var(--linen);
  font-family: var(--display); font-size: 0.92rem; line-height: 1.5;
  padding-block: 2.5rem 6.5rem;
}
.foot p { max-width: 46em; opacity: 0.85; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-block: 1rem; }
.foot a { text-underline-offset: 3px; }
.foot .presented { opacity: 1; font-weight: 600; }

/* ---------- sticky mobile CTA ---------- */

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--paper); border-top: 1px solid var(--linen-dark);
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 0.9rem;
  font-family: var(--display);
}
.dock__price { font-weight: 800; font-size: 1.35rem; line-height: 1; }
.dock__price small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--husk-soft); margin-top: 0.2rem; }
.dock .btn { flex: 1; min-height: 3rem; padding-block: 0.5rem; box-shadow: 0 3px 0 var(--husk); }

/* ---------- interstitial (wait.html) ---------- */

.palm-page { background: var(--palm); color: var(--linen); background-image: none; min-height: 100vh; min-height: 100dvh; }
.wait {
  min-height: 100vh; min-height: 100dvh;
  display: grid; align-content: center; gap: 1.3rem;
  padding-block: 1.5rem; max-width: 60rem;
}
.wait__brand { display: flex; align-items: center; gap: 1.5rem; min-height: 6.5rem; }
.wait__photo { width: 6.5rem; height: 6.5rem; border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 0 0 5px var(--mango); }
.wait__brand.has-cutout .wait__photo { display: none; }
/* Official logo: fixed aspect ratio, original colours, clear space of at least half its height */
.wait__logo { height: 2.25rem; width: auto; margin: 1.125rem 0; flex: none; }
.wait h1 { font-size: clamp(2.3rem, 9.5vw, 4.6rem); }
.wait h1 span { display: block; color: var(--mango); }
.wait__whisper { font-style: italic; font-size: 1.2rem; line-height: 1.4; }
.wait__actions { display: grid; gap: 1rem; max-width: 26rem; }
.wait__actions .btn--mango { font-size: 1.25rem; min-height: 4rem; }
.wait__back { font-family: var(--display); font-size: 0.92rem; opacity: 0.8; margin: 0; }
.wait__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-family: var(--display); font-size: 0.85rem; opacity: 0.7; }
.wait__legal a { text-underline-offset: 3px; }

/* ---------- checkout ---------- */

.co-head { padding-block: 1.4rem; border-bottom: 1px solid var(--linen-dark); background: var(--paper); }
.co-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--display); }
.co-head a { font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 0.6rem; }
.co-head img { width: 2.2rem; height: 2.2rem; border-radius: 50%; }
.co-steps { list-style: none; display: none; gap: 0.9rem; margin: 0; padding: 0; font-size: 0.85rem; color: var(--husk-soft); }
.co-steps [aria-current] { color: var(--palm); font-weight: 700; }

.co { padding-block: 2.5rem 4rem; display: grid; gap: 2.5rem; }
.co h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); color: var(--palm); margin-bottom: 1.1rem; }
.co-head a { line-height: 1.2; }
.co h2 { font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 0.4rem; }

.card { background: var(--paper); border: 1px solid var(--linen-dark); border-radius: var(--radius); padding: 1.4rem; }
.card + .card { margin-top: 1.25rem; }

.lines { list-style: none; margin: 1rem 0 0; padding: 0; font-family: var(--display); }
.lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--linen-dark); font-size: 1rem; line-height: 1.3; }
.lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines small { display: block; color: var(--husk-soft); font-size: 0.85rem; }
.lines .total { border-top: 2px solid var(--husk); font-weight: 800; font-size: 1.5rem; padding-top: 0.9rem; }

.upsells { display: grid; gap: 0.8rem; margin-top: 1rem; }
.upsell {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.2rem 0.9rem; align-items: start;
  width: 100%; text-align: left; cursor: pointer;
  background: var(--linen); color: inherit; border: 2px solid var(--linen-dark); border-radius: 0.9rem;
  padding: 0.9rem 1rem; font: inherit;
}
.upsell::before {
  content: ""; width: 1.4rem; height: 1.4rem; border-radius: 0.35rem; margin-top: 0.15rem;
  border: 2px solid var(--husk); background: var(--paper);
}
.upsell[aria-pressed="true"] { border-color: var(--palm); background: #e8f0e4; }
.upsell[aria-pressed="true"]::before {
  background: var(--palm) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23ffc22e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
  border-color: var(--palm);
}
.upsell b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.upsell .price { font-family: var(--display); font-weight: 700; white-space: nowrap; }
.upsell small { grid-column: 2 / 4; font-size: 0.98rem; line-height: 1.4; color: var(--husk-soft); }

.pay-note { font-family: var(--display); font-size: 0.95rem; color: var(--husk-soft); margin-top: 1rem; }
.co .btn--block { margin-top: 1.2rem; }

.done { text-align: center; padding: 2.2rem 1.4rem; background: var(--palm); color: var(--linen); border-color: var(--palm); }
.done__photo { width: 9rem; height: 9rem; object-fit: cover; object-position: 50% 30%; border-radius: 50%; margin: 0 auto 1.4rem; box-shadow: 0 0 0 5px var(--mango); }
.done.has-cutout { margin-top: 4rem; }
.done.has-cutout .done__photo { display: none; }
.done h2 { font-size: clamp(1.9rem, 7.5vw, 2.8rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
.done p { margin-inline: auto; }
.done .clock { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--mango); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin: 1.2rem 0 0.2rem; }
.done .btn { margin-top: 1.6rem; }
.done .back { display: inline-block; margin-top: 1.2rem; font-family: var(--display); font-size: 0.95rem; }
[hidden] { display: none !important; }

/* ---------- legal pages (impressum.html, datenschutz.html) ---------- */

.legal { padding-block: 2.5rem 4rem; }
.legal h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); color: var(--palm); margin-bottom: 1.1rem; }
.legal h2 { font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.01em; margin: 2.4rem 0 0.7rem; }
.legal h3 { font-size: 1.1rem; margin: 1.6rem 0 0.4rem; }
.legal ul { max-width: 38em; margin: 0 0 1em; padding-left: 1.2rem; }
.legal li { margin-bottom: 0.35rem; }
.legal a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.legal .card { max-width: 46rem; margin-top: 2.4rem; }
.legal .card h2 { margin-top: 0; }
.legal .stand { font-family: var(--display); font-size: 0.92rem; color: var(--husk-soft); margin-top: 2.6rem; }
.foot [aria-current="page"] { text-decoration: none; font-weight: 600; }

/* ---------- cut-out Kai (img/cutouts/*.webp, transparent) ----------
   Sizes are set by height; the width/height attributes are only a placeholder
   ratio. Every slot sits in reserved space or on a section edge, never on text
   or buttons. Missing files remove themselves via onerror. */

.cutout {
  height: 8rem; width: auto; max-width: none; flex: none;
  position: relative; z-index: 2;
  filter: drop-shadow(0 8px 12px rgba(10, 42, 32, 0.3));
  pointer-events: none; user-select: none;
}
.cutout-row { display: flex; justify-content: flex-end; }
.cutout-row--center { justify-content: center; }

/* hero: stands in the reserved strip right of the CTA, feet over the section edge */
.cutout--hero { position: absolute; right: -0.9rem; bottom: -4.6rem; height: 11.5rem; }
/* modules: hand overlaps the top edge of the first slide card */
.cutout--modules { height: 11rem; margin-bottom: -4.6rem; }
.cutout-row + .modules { position: relative; }
/* bonuses: left of the CTA, feet over the bottom edge of the green band */
.stack-cta { display: flex; align-items: flex-end; gap: 0.8rem; }
.cutout--bonus { height: 10.5rem; margin: 0 0 calc(-1 * var(--band-pad) - 0.9rem) -0.6rem; }
.stack-cta .btn { flex: 0 1 auto; }
/* faq: shrugs below the last question, standing on the next section */
.cutout--faq { height: 12rem; margin: 1.6rem 0 calc(-1 * var(--band-pad) - 0.9rem); }
/* final CTA: comes up from the footer edge, below the note */
.cutout--final { height: 11.5rem; margin: 1.2rem 0 calc(-1 * var(--band-pad)); }
/* interstitial: next to the logo */
.cutout--whisper { height: 10.5rem; margin-block: -0.4rem; }
/* checkout placeholder: pokes out of the top of the card */
.cutout--thumbs { display: block; height: 13rem; margin: -7rem auto 1.2rem; }

/* ---------- wider screens ---------- */

@media (min-width: 48rem) {
  :root { --gutter: 2rem; --band-pad: 6rem; }
  body { font-size: 1.2rem; }
  .hero { padding-block: 2.5rem 5rem; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 3rem; }
  .hero__photo { max-width: none; order: 0; }
  .hero__photo img.arch { aspect-ratio: auto; }
  .sticker { width: 9.2rem; height: 9.2rem; right: -1.2rem; top: 3.2rem; }
  .sticker b { font-size: 2.7rem; }
  .twoam__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .story__grid { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
  .voices { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
  .guarantee__grid { grid-template-columns: auto 1fr; gap: 4rem; }
  .wait { max-width: 48rem; gap: 1.8rem; }
  .wait__brand { gap: 2.2rem; }
  .wait__photo { width: 9rem; height: 9rem; }
  .wait__logo { height: 3rem; margin-block: 1.5rem; }
  .cutout--whisper { height: 13rem; }
  .cutout--hero { height: 11rem; right: auto; left: 23rem; bottom: -1.2rem; }
  .hero__cta { padding-right: 0; }
  .cutout--modules { height: 11rem; }
  .cutout--bonus { height: 12rem; }
  .cutout--faq { height: 13rem; }
  .cutout--final { height: 12rem; }
  .cutout--thumbs { height: 14rem; margin-top: -8rem; }
  .done.has-cutout { margin-top: 6rem; }
  .co { grid-template-columns: 1.1fr 0.9fr; align-items: start; gap: 3rem; }
  .co__intro, .co .done { grid-column: 1 / -1; }
  .co-steps { display: flex; }
  .dock { display: none; }
  .foot { padding-bottom: 3rem; }
}

@media (min-width: 68rem) {
  .modules { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- order: original price, struck through with a hand-drawn marker line, then $0 ---------- */
.deal { white-space: nowrap; }
.deal ins { text-decoration: none; font-weight: 700; }
.was {
  position: relative; display: inline-block; text-decoration: none;
  color: var(--husk-soft); margin-right: 0.35em; padding: 0 0.12em;
}
.was::after {
  content: ""; position: absolute; left: -14%; right: -14%; top: 50%; height: 0.95em;
  transform: translateY(-50%) rotate(-7deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15 C 20 11, 34 14, 52 11 S 88 9, 117 7' fill='none' stroke='%23d9381e' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M6 18 C 30 14, 60 15, 85 11 S 108 10, 115 11' fill='none' stroke='%23d9381e' stroke-width='2' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
  clip-path: inset(0 100% 0 0);
  animation: scribble 0.5s ease-out forwards;
}
.lines li:nth-child(2) .was::after { animation-delay: 0.25s; }
.lines li:nth-child(3) .was::after { animation-delay: 0.4s; }
.lines li:nth-child(4) .was::after { animation-delay: 0.55s; }
.lines li:nth-child(5) .was::after { animation-delay: 0.7s; }
.lines li:nth-child(6) .was::after { animation-delay: 0.85s; }
.lines li:nth-child(7) .was::after { animation-delay: 1s; }
@keyframes scribble { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .was::after { animation: none; clip-path: none; } }

/* whisper: mirrored so he points at the slidewizard logo on his right */
.cutout--whisper { transform: scaleX(-1); }
