/*
  LAYOUT: kong — STRUCTURE ONLY (D-01, measured from getkong.ai at 1440 and 390 wide, Nov 5 2026).
  Full-width bands (.k) with 96px top/bottom padding (48px on phones), content max 1152px,
  centred hero with a 16:9 framed video, image walls that scroll sideways, benefit rows,
  before/after pair, big statement lines, us-vs-them table, 3-plan pricing.
  Colours, fonts and card looks come from the skin (skins/d-01-kong = Kong's look, skins/kong-9d = Kong type + 9D colours).
*/

main.page { padding-bottom: 0; }
main.page > .k { margin-top: 0; padding: clamp(3rem, 6.7vw, 6rem) 0; }
main.page > .k-tight { padding-top: 0; }
.k .wide { max-width: calc(72rem + 2 * var(--gutter)); }
.k h2 { margin-top: 0; }
.k .kicker + h1, .k .kicker + h2 { margin-top: 0.75rem; }
.k h2 + .lede, .k h2 + p { margin-top: 1.5rem; }
.k.center .lede { max-width: 48rem; }

/* Header: logo left, pill nav centre, button right */
.k-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.k-head .header-cta { justify-self: end; }
.k-nav { display: none; gap: 0.25rem; padding: 0.25rem; border-radius: 6px; }
.k-nav a { padding: 0.5rem 1rem; border-radius: 4px; text-decoration: none; font-size: 0.95rem; }
@media (min-width: 52rem) { .k-nav { display: flex; } }

/* Hero */
.k-hero { padding-top: clamp(2rem, 5vw, 4rem) !important; }
.k-hero h1 { max-width: 72rem; margin-left: auto; margin-right: auto; }
.k-hero .lede { margin-top: 1.5rem; }
.k-hero .k-subhead { margin: 1rem auto 0; max-width: 52rem; font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); } /* optional line under the H1; carries the one <mark> */
.k-frame { max-width: 70rem; margin: clamp(2rem, 4vw, 3.5rem) auto 0; }
.k .actions { justify-content: center; margin-top: 2rem; }

/* Highlight box inside a heading */
mark { display: inline-block; line-height: 1.1; }

/* Image walls (data-marquee rows) */
.k-wall { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; overflow-x: auto; } /* static row (reduced motion) scrolls inside itself, never widens the page */
.k-wall + .k-wall { margin-top: 1rem; }
.k .wide + .k-wall { margin-top: 2.5rem; }
.k-wall .marquee-track > *, .k-wall > li { width: clamp(11rem, 18vw, 15rem); aspect-ratio: 1; min-height: 0; }
.k-wall-rev .marquee-track { animation-direction: reverse; }

/* Real images in a slot: swap class="ph" for class="k-img" and put an <img> inside.
   Wall tiles stay square (image is cropped to fill); row/shot images keep their own shape. */
.k-img { border-radius: var(--radius); overflow: hidden; background: var(--ph-bg, var(--card)); }
.k-img img { display: block; width: 100%; height: auto; }
.k-wall .k-img img { height: 100%; object-fit: cover; }

/* Benefit rows: big text side + image side, alternating */
.k-row { margin-top: clamp(3rem, 6vw, 6rem); }
.k-row:first-child { margin-top: 0; }
.k-row .ph { min-height: clamp(14rem, 26vw, 22rem); }
.k-row p { margin-top: 1.25rem; }

/* Reviews scrolling under a centred block */
.k-reviews { margin-top: 2.5rem; }
.k-reviews .marquee-track > * { width: min(24rem, 82vw); }
.k-reviews figcaption { display: flex; align-items: center; gap: 0.75rem; }
.k-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; flex: none; }

/* Outside chart, product shot */
.k-chart, .k-shot { margin: 2.5rem auto 0; max-width: 60rem; min-height: clamp(14rem, 30vw, 24rem); }
.k-img.k-shot { min-height: 0; }

/* Before / after */
.k-ba { display: grid; gap: 1.25rem; margin-top: 2.5rem; text-align: left; }
@media (min-width: 48rem) { .k-ba { grid-template-columns: 1fr 1fr; } }
.k-ba figure { margin: 0; }
.k-ba figcaption { margin-bottom: 0.75rem; }
.k-ba .ph { min-height: clamp(12rem, 24vw, 20rem); }

/* Big statement lines */
.k-statement { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(0.5rem, 1.5vw, 1rem); }

/* Old vs new */
.k-compare { margin-top: 2.5rem; text-align: left; }
@media (min-width: 48rem) { .k-compare { grid-template-columns: 1fr 1fr; } }

/* 3 ways */
.k-ways { margin-top: 2.5rem; text-align: left; }

/* Guarantee */
.k-guarantee { display: grid; gap: 1.5rem; justify-items: center; }
@media (min-width: 48rem) { .k-guarantee { grid-template-columns: auto minmax(0, 42rem); justify-content: center; text-align: left; align-items: center; } }
.k-seal { width: clamp(8rem, 14vw, 11rem); height: clamp(8rem, 14vw, 11rem); border-radius: 50%; display: grid; place-items: center; text-align: center; }

/* Us vs them table */
.k-table { margin: 2.5rem auto 0; max-width: 52rem; text-align: left; }
.k-tr { display: grid; grid-template-columns: minmax(0, 1fr) 6rem 6rem; align-items: center; padding: 1rem 1.25rem; }
.k-tr span + span { text-align: center; }

/* Pricing */
.k-plans { margin-top: 2.5rem; }
.k .plan .button { margin-top: auto; }

/* FAQ */
.k .col h2 { margin-top: 0.75rem; }
.k .col h2 + details { margin-top: 2.5rem; }

/* Final */
.k-final h1 { margin-top: 0.75rem; }
