/* Homepage refinement: preserve the paper, typography and artwork while letting
   live text determine its height instead of fitting fixed collage coordinates. */
.home-entry { min-height: 0; padding-block: clamp(48px, 5vw, 80px); }
.home-entry__inner {
  width: min(100%, 1220px); min-height: 0;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  grid-template-rows: auto; gap: clamp(40px, 5vw, 72px);
  padding-inline: clamp(24px, 4vw, 56px); align-items: center;
}
.home-entry__copy, .home-entry__media { min-width: 0; }
.home-entry h1 { max-width: 100%; margin: 0; font-size: clamp(2.75rem, 4.2vw, 4rem); line-height: 1.12; letter-spacing: -0.035em; }
.home-entry h1 span { width: fit-content; margin-top: 12px; font-size: 0.68em; line-height: 1.25; text-wrap: balance; }
.home-entry__promise { max-width: 34ch; margin: 28px 0 0; font-size: 1.25rem; line-height: 1.5; }
.home-entry__lead { max-width: 46ch; margin: 12px 0 0; font-size: 1.125rem; line-height: 1.65; font-weight: 400; }
.home-entry__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; width: 100%; max-width: none; margin-top: 28px; }
.home-entry__links a:first-child { width: auto; min-height: 56px; padding: 12px 28px; font-size: 1.125rem; font-weight: 800; text-align: center; }
.home-entry__links a:last-child { width: auto; min-height: 44px; padding: 8px 0; font-size: 1rem; }
.home-entry__trust { max-width: 46ch; margin: 16px 0 0; color: #514a3e; font-size: 0.9375rem; font-weight: 400; line-height: 1.65; }
.hero-proof {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px 12px;
  align-items: center; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgb(23 22 18 / 0.2); color: var(--cutout-ink); text-decoration: none; line-height: 1.5;
}
.hero-proof q { grid-column: 1 / -1; grid-row: 1; font-size: 1rem; font-weight: 700; }
.hero-proof img { grid-column: 1; grid-row: 2; width: 36px; height: auto; }
.hero-proof span { grid-column: 2; grid-row: 2; color: #514a3e; font-size: 0.875rem; }
.hero-proof:hover q { text-decoration: underline; text-underline-offset: 0.2em; }
.home-entry .hero-demo { width: 100%; max-width: 460px; margin: 0 auto; }
.hero-try-call {
  display: flex; width: auto; max-width: 100%; min-width: 0;
  flex-direction: column; align-items: flex-start; gap: 6px;
  margin-top: 24px; padding: 16px 20px; background: var(--cutout-paper); font-size: 1rem; line-height: 1.6;
}
.hero-try-call strong { font-size: 1rem; }
/* The connecting line stays with the artwork, clear of the live copy. */
.home-entry .hero-signal { width: 44%; right: auto; left: 0; top: auto; bottom: 4%; height: 24%; }

/* Reading rhythm includes headings that wrap to a second line. */
#main :is(#scene, #spam, #facts, #how, #price, #real-demo, #voucher) :is(h2, h3) { line-height: 1.18; text-wrap: balance; }
#main .panel-kicker { line-height: 1.5; transform: none; }
#main .panel-reveal { opacity: 1; transform: none; transition: none; }
#main :is(.panel-heading .sub, .scene-copy p, .demo-proof__copy > p, .closing-lead) { line-height: 1.65; }
.demo-proof__copy { row-gap: 16px; }
.demo-proof__voices { margin-block: 0 !important; }
.demo-proof__transcript { font-size: 1rem; line-height: 1.65; }
.voucher-quote p { line-height: 1.65; }
.voucher-by { row-gap: 8px; }

/* Both old related-link paragraphs occupied the same named grid area. */
.facts-links {
  grid-area: more; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px; margin-top: 12px; border-top: 1px solid rgb(23 22 18 / 0.2);
}
.facts-links a {
  display: flex; align-items: center; min-height: 48px; padding-block: 12px;
  border-bottom: 1px solid rgb(23 22 18 / 0.14); color: var(--cutout-ink);
  font-size: 1rem; line-height: 1.6; text-decoration-color: var(--cutout-blue); text-underline-offset: 4px;
}
.facts-detail { max-width: 74ch; font-size: 1rem; line-height: 1.75; }
.facts-panel .fact-slip p { font-size: 1.0625rem; font-weight: 400; line-height: 1.65; }
.facts-panel .fact-slip small { color: #625847; font-size: 0.875rem; line-height: 1.6; }

/* Keep the readable example below the art, independent of its pixel geometry. */
#facts .summary-object--kinetic {
  display: grid; width: min(100%, 380px); height: auto; min-height: 0;
  aspect-ratio: auto; margin: 0 auto; align-content: center;
}
#facts .summary-object--kinetic::after { display: none; }
#facts .kinetic-paper--summary { position: relative; inset: auto; width: min(100%, 260px); margin: 0 auto; }
#facts .summary-object--kinetic .summary-object__screen,
#facts .summary-object--kinetic .summary-object__tag-copy {
  position: relative; inset: auto; width: 100%; min-height: 0; margin: 0;
  padding: 20px 24px; background: #fffaf0; transform: none !important;
  font-size: 0.9375rem; line-height: 1.6;
}
#facts .summary-object__screen { border-top: 3px solid var(--yellow); }
#facts .summary-object--kinetic .summary-object__screen span { padding-bottom: 8px; font-size: 0.875rem; }
#facts .summary-object--kinetic .summary-object__screen strong { margin-top: 12px; font-size: 1.25rem; }
#facts .summary-object--kinetic .summary-object__screen p { margin: 8px 0; font-size: 1rem; line-height: 1.6; }
#facts .summary-object--kinetic .summary-object__screen small { font-size: 0.875rem; }
#facts .summary-object--kinetic .summary-object__tag-copy {
  grid-template-columns: 4em minmax(0, 1fr); gap: 8px 16px;
  border-top: 1px solid rgb(23 22 18 / 0.16); box-shadow: 0 16px 32px rgb(23 22 18 / 0.08);
}
#facts .summary-object--kinetic .summary-object__tag-copy strong { font-size: 1rem; }

/* Normal flow supports longer copy, narrow viewports and enlarged text. */
#main #spam .spam-machine {
  display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 28px; min-height: 0; padding: 0; align-items: center;
}
#main #spam .spam-machine::before { display: none; }
#main #spam .spam-machine :is(.spam-call, .spam-answer, .spam-result, .filter-gate) {
  position: relative; inset: auto; width: 100%; min-width: 0; max-width: none; min-height: 0; margin: 0; transform: none;
}
#main #spam .spam-machine :is(.spam-call, .spam-answer, .spam-result) { padding: 24px; }
#main #spam .spam-machine :is(.spam-call, .spam-answer) strong { display: block; margin-bottom: 12px; line-height: 1.5; }
#main #spam .spam-machine :is(.spam-call, .spam-answer) p { margin: 0; font-size: 1.125rem; line-height: 1.65; }
#main #spam .spam-machine .filter-gate { width: 72px; height: 72px; }
#main #spam .spam-machine .spam-result { grid-column: 3; display: flex; gap: 16px; align-items: center; }
#main #spam .spam-result__seal { flex: none; }
#main #spam .spam-result small { margin-top: 4px; font-size: 0.9375rem; line-height: 1.5; }
#main #spam .spam-stamp.kinetic-paper { right: 22%; left: auto; bottom: -64px; width: 200px; }

#scene .scene-flow__machine { width: 100%; min-height: 0; margin: 0; gap: 20px; }
#scene .scene-flow__machine-copy { position: relative; inset: auto; grid-row: 1; width: min(100%, 260px); min-height: 0; transform: none; }
#scene .scene-machine__visual { grid-row: 2; }
#scene .scene-flow__machine-copy strong { line-height: 1.3; }
#how .step-node p { font-size: 1.0625rem; font-weight: 400; line-height: 1.65; }
#how .steps-route { gap: 28px; }
#how .installation-code { max-width: 100%; flex-wrap: wrap; justify-content: center; gap: 12px 20px; margin-top: 28px; padding: 16px 24px; text-align: center; }
#how .installation-code b { max-width: 100%; overflow-wrap: anywhere; }
#how .installation-note { max-width: 64ch; margin: 20px auto 0; font-size: 1rem; line-height: 1.75; }
#how .panel-more { margin-top: 20px; line-height: 1.6; }

.closing h2 { max-width: 18ch; }
.closing-offer { gap: 40px; align-items: start; }
.offer-copy { gap: 20px; }
.offer-copy p { font-size: 1rem; line-height: 1.75; }
.offer-yearly { display: inline-block; margin-top: 12px; }
.offer-action { gap: 24px; }
.offer-hint { font-size: 0.9375rem !important; line-height: 1.65; }
/* Inline links wrap with their sentence instead of adding a 44px inline box. */
.offer-copy p a, .offer-hint a { display: inline; min-height: 0; }
.benefit-route li { line-height: 1.6; }
.footer-links { gap: 4px 20px; }

/* One breakpoint owns the complete hero, including the old 721–820px gap. */
@media (max-width: 900px) {
  .home-entry__inner { grid-template-columns: minmax(0, 1fr); max-width: 660px; gap: 32px; }
  .home-entry__media { width: min(100%, 480px); margin-inline: auto; }
  .home-entry .hero-signal { display: none; }
  .home-entry h1 { font-size: clamp(2.375rem, 7.5vw, 3.5rem); }
  .home-entry__links a:first-child, .home-entry__links a:last-child { width: auto; }
  .hero-try-call { margin-top: 16px; }
  .facts-links { grid-template-columns: minmax(0, 1fr); }
  .facts-panel .bridge-panel__inner { display: block; }
  .facts-panel .panel-heading { margin-bottom: 28px; }
  #facts .summary-object--kinetic { margin-block: 24px 32px; }
  #main #spam .spam-machine { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #main #spam .spam-machine .spam-result { grid-column: 1; }
  #main #spam .spam-machine .filter-gate { justify-self: center; width: 56px; height: 56px; }
  #main #spam .spam-stamp.kinetic-paper { display: none; }
  #how .steps-route { width: 100%; margin-inline: 0; }
  #how .connection-object { position: relative; inset: auto; width: 260px; height: 140px; margin: 0 auto 32px; transform: none; }
  .closing-offer { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .offer-action { padding-top: 28px; border-top: 1px solid rgb(23 22 18 / 0.2); }
}
@media (max-width: 600px) {
  .home-entry { padding-block: 36px 48px; }
  .home-entry__inner { padding-inline: max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-left)); }
  .home-entry h1 span { font-size: 0.72em; }
  .home-entry__promise { margin-top: 24px; font-size: 1.125rem; }
  .home-entry__lead { font-size: 1.0625rem; }
  .home-entry__links { margin-top: 24px; flex-direction: column; align-items: stretch; gap: 8px; }
  .home-entry__links a:first-child { width: 100%; }
  .home-entry__links a:last-child { align-self: center; }
  .home-entry__trust { margin-top: 12px; }
  .hero-proof { margin-top: 20px; padding-top: 20px; }
  .demo-proof__grid { gap: 28px; }
  #main #spam .spam-machine :is(.spam-call, .spam-answer, .spam-result) { padding: 20px; }
  #how .steps-route { gap: 28px; }
  #how .step-node { min-height: 0; padding-bottom: 8px; }
  #how .installation-code { padding: 16px; }
  #how .installation-code b { font-size: 1.125rem; }
  .closing-offer { padding: 28px 24px; }
}
html.a11y-large-text .home-entry__inner,
html.a11y-large-text .facts-panel .bridge-panel__inner,
html.a11y-large-text .closing-offer { grid-template-columns: minmax(0, 1fr); }
html.a11y-large-text #main #spam .spam-machine { grid-template-columns: minmax(0, 1fr); }
html.a11y-large-text #main #spam .spam-machine .spam-result { grid-column: 1; }
html.a11y-large-text #main #spam .spam-stamp { display: none; }
