/* AI audit as the Google Ads landing page (3 Nov 2026 demo, Adam: "chci tu stránku graficky krásnou, viz naše hero").
   First screen: the home hero's own orbit (o.js .o-net, the six photos of kestir.cz) around the audit's title.
   Below it one drawing of the audit (lp.js), the questions, the form. White, three greys, black; Forest only on the report. */
main.lp.uc-page { padding-top: 0; }
.lp { --lp-x: calc(10px + clamp(12px, 2vw, 30px)); }
.lp a:focus-visible, .lp button:focus-visible, .lp summary:focus-visible { outline: 2px solid #000; outline-offset: 3px; }

/* ---- the first screen ---- */
.lp-hero { position: relative; height: 100svh; min-height: 560px; }
.lp-hero .o-nc:not([style*="--sz"]) { visibility: hidden; }
.lp-hero .o-nc-i { background: #EFEFEF; }
@media (min-width: 761px) {
  .lp-hero .o-net-in { top: calc(50% + 36px); width: min(720px, 86vw); }
  /* the title follows the height too: a laptop window is often only 600-790 px tall */
  .lp-hero .o-net-in h1 { font-size: clamp(30px, min(4.45vw, 7.2vh), 64px); }
}
.lp-hero .o-net-in p { max-width: 470px; }
.lp-hero .o-net-in .lp-price { margin-top: 14px; max-width: 520px; font-size: 14.5px; line-height: 1.45; color: #55585A; }
/* a short laptop screen: the block sits higher and tighter, the consent bar in the corner leaves it free */
@media (min-width: 761px) and (max-height: 800px) {
  .lp-hero .o-net-in { top: calc(50% + 16px); }
  .lp-hero .o-net-in p { margin-top: 14px; }
  .lp-hero .o-net-in .lp-price { margin-top: 10px; }
  .lp-hero .o-net-in .o-btn { margin-top: 20px; }
}
/* a phone on its side or a very low window: one screen high, the title, the price and the button */
@media (min-width: 761px) and (max-height: 520px) {
  .lp-hero { min-height: 0; }
  .lp-hero .o-net-in p:not(.lp-price) { display: none; }
}
/* the photos come in one after another and the lines after them: opacity only, so it stays under Reduce Motion */
.lp-hero .o-nc-i, .lp-hero .o-nc figcaption { animation: lp-in .9s cubic-bezier(.2, .7, .2, 1) backwards; }
.lp-hero .o-nc:nth-of-type(2) .o-nc-i, .lp-hero .o-nc:nth-of-type(2) figcaption { animation-delay: .08s; }
.lp-hero .o-nc:nth-of-type(3) .o-nc-i, .lp-hero .o-nc:nth-of-type(3) figcaption { animation-delay: .16s; }
.lp-hero .o-nc:nth-of-type(4) .o-nc-i, .lp-hero .o-nc:nth-of-type(4) figcaption { animation-delay: .24s; }
.lp-hero .o-nc:nth-of-type(5) .o-nc-i, .lp-hero .o-nc:nth-of-type(5) figcaption { animation-delay: .32s; }
.lp-hero .o-nc:nth-of-type(6) .o-nc-i, .lp-hero .o-nc:nth-of-type(6) figcaption { animation-delay: .4s; }
.lp-hero .o-net-l, .lp-hero .o-net-l + div { animation: lp-in 1.2s ease .55s backwards; }
@keyframes lp-in { from { opacity: 0; } }
@media (max-width: 760px) {
  /* the consent bar covers the lower third on a first visit: the title, the price and the button stand above it */
  .o-mk .lp-hero .o-net-in { top: calc(var(--oy, 46%) - 34px); }
  .o-mk .lp-hero .o-net-in p:not(.lp-price) { text-wrap: balance; }
  .o-mk .lp-hero .o-net-in .lp-price { margin-top: 10px; font-size: 13.5px; line-height: 1.4; }
}

/* ---- headings of the sections ---- */
.lp-how h2, .lp-faq h2, .lp-go h2 { margin: 0; font-family: "Geist", "Instrument Sans", sans-serif; font-weight: 400; font-size: clamp(30px, 3.3vw, 52px); line-height: 1.06; letter-spacing: -.02em; color: #000; text-wrap: balance; }

/* ---- how the audit goes: three inputs flow into the report ---- */
.lp-how { padding: clamp(72px, 9vw, 144px) 10px 0; }
.lp-how > h2 { padding: 0 clamp(12px, 2vw, 30px) clamp(24px, 2.8vw, 44px); }
.lp-flow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(56px, .5fr) minmax(0, 1.04fr); align-items: center; padding: clamp(20px, 3.4vw, 56px); border-radius: 22px; background: #F3F3F1; }
.lp-in { position: relative; z-index: 1; grid-column: 1; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp-in li { padding: clamp(16px, 1.6vw, 22px) clamp(18px, 1.8vw, 26px); border-radius: 14px; background: #fff; }
.lp-no { display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; line-height: 1.3; letter-spacing: .04em; color: #55585A; }
.lp-in h3, .lp-out h3 { margin: 10px 0 0; font-family: "Geist", "Instrument Sans", sans-serif; font-weight: 400; letter-spacing: -.01em; }
.lp-in h3 { font-size: clamp(19px, 1.55vw, 24px); line-height: 1.2; color: #000; }
.lp-in p { margin: 6px 0 0; font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.4; color: #55585A; text-wrap: pretty; }
.lp-out { position: relative; z-index: 1; grid-column: 3; padding: clamp(22px, 2.6vw, 40px); border-radius: 18px; background: #193A29; color: #fff; }
.lp-out .lp-no { color: rgba(255, 255, 255, .62); }
.lp-out h3 { font-size: clamp(26px, 2.3vw, 38px); line-height: 1.1; letter-spacing: -.016em; color: #fff; }
.lp-out ul { margin: clamp(14px, 1.6vw, 24px) 0 0; padding: 0; list-style: none; font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.3; }
.lp-out li { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.lp-out li:last-child { padding-bottom: 0; }
.lp-out p { margin: clamp(16px, 1.6vw, 24px) 0 0; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .74); text-wrap: pretty; }
.lp-out a { display: inline-block; margin-top: 8px; color: #fff; font-size: 15px; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; }
.lp-out a:focus-visible { outline-color: #fff; }
.lp-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lp-wires path { fill: none; stroke: #000; stroke-opacity: .26; stroke-width: 1.2; }
.lp-wires path.p { stroke-opacity: .9; stroke-width: 1.6; stroke-linecap: round; }
.lp-wires circle { fill: #fff; stroke: #000; stroke-opacity: .3; stroke-width: 1.2; }
.lp-wires circle.r { fill: #193A29; stroke: none; }
/* the drawing plays once in view (lp.js arms it, so without the script everything simply stands there) */
.lp-arm .lp-in li, .lp-arm .lp-out, .lp-arm .lp-out li, .lp-arm .lp-out p, .lp-arm .lp-out a, .lp-arm .lp-wires circle { opacity: 0; transition: opacity .6s ease; }
.lp-arm.on .lp-in li, .lp-arm.on .lp-out, .lp-arm.on .lp-out li, .lp-arm.on .lp-out p, .lp-arm.on .lp-out a, .lp-arm.on .lp-wires circle { opacity: 1; }
.lp-arm.on .lp-in li:nth-child(2) { transition-delay: .15s; }
.lp-arm.on .lp-in li:nth-child(3) { transition-delay: .3s; }
.lp-arm .lp-wires path.w { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset .9s cubic-bezier(.45, 0, .2, 1) .35s; }
.lp-arm.on .lp-wires path.w { stroke-dashoffset: 0; }
.lp-arm.on .lp-out { transition-delay: 1.15s; }
.lp-arm.on .lp-out li:nth-child(1) { transition-delay: 1.45s; }
.lp-arm.on .lp-out li:nth-child(2) { transition-delay: 1.65s; }
.lp-arm.on .lp-out li:nth-child(3) { transition-delay: 1.85s; }
.lp-arm.on .lp-out p, .lp-arm.on .lp-out a { transition-delay: 2.1s; }

/* ---- questions ---- */
.lp-faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(24px, 4vw, 72px); padding: clamp(80px, 10vw, 160px) var(--lp-x) 0; }
.lp-qa > div { padding: clamp(18px, 1.8vw, 26px) 0; border-top: 1px solid #DEDEDA; }
.lp-qa > div:first-child { padding-top: 0; border-top: 0; }
.lp-qa h3 { margin: 0; font-family: "Geist", "Instrument Sans", sans-serif; font-weight: 400; font-size: clamp(19px, 1.6vw, 25px); line-height: 1.2; letter-spacing: -.01em; color: #000; text-wrap: balance; }
.lp-qa p { margin: 8px 0 0; font-size: clamp(15.5px, 1.15vw, 17.5px); line-height: 1.45; color: #55585A; text-wrap: pretty; }

/* ---- the form ---- */
.lp-go { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(24px, 4vw, 72px); align-items: start; padding: clamp(96px, 11vw, 176px) 10px clamp(40px, 5vw, 80px) var(--lp-x); scroll-margin-top: 0; }
.lp-go-t p { margin: clamp(14px, 1.4vw, 20px) 0 0; max-width: 30em; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; color: #55585A; text-wrap: pretty; }
.lp-go-t .lp-cost { margin-top: 12px; color: #000; }
.lp-go .st-f.form { margin: 0; }
.lp-go .form .ok { color: #193A29; }
.lp-go .form .err { color: #000; }

@media (max-width: 860px) {
  .lp-flow { grid-template-columns: minmax(0, 1fr); padding: 18px 14px 18px 40px; }
  .lp-in, .lp-out { grid-column: 1; }
  .lp-out { margin-top: 22px; }
  .lp-faq, .lp-go { grid-template-columns: minmax(0, 1fr); }
  .lp-go { padding-right: 10px; padding-left: 10px; }
  .lp-go-t { padding: 0 clamp(12px, 2vw, 30px); }
}
@media (max-width: 760px) {
  .lp-how { padding-top: 64px; }
  .lp-faq { padding-top: 72px; }
  .lp-go { padding-top: 88px; }
  .lp-in li { padding: 14px 16px; }
  .lp-out { padding: 20px 18px; }
}
