/* HOME PAGE — LAYOUT.
   Section shells, headings, the text-beside-picture row, the tinted full-width bands and the skip link.
   Everything is prefixed lp- so nothing here can restyle another page; it leans on site.css for the tokens
   (:root), .btn, .kicker, .ticks, .faq, .pricing and .cta-banner. */

.lp { position: relative; z-index: 1; --lp-gutter: clamp(16px, 4vw, 28px); --lp-max: 1180px; }

/* Skip link: off screen until focused, then the first thing on the page. */
.sf-skip { position: absolute; left: 12px; top: -64px; z-index: 300; width: max-content; padding: 9px 16px; border: var(--border);
  border-radius: 12px; background: var(--yellow); color: var(--ink-strong); font-weight: 900; text-decoration: none;
  box-shadow: var(--shadow-sm); transition: top .15s; }
.sf-skip:focus { top: 12px; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.lp-sec { max-width: var(--lp-max); margin: 0 auto; padding: clamp(56px, 7vw, 92px) var(--lp-gutter); }

/* A band is a full-width tinted strip that breaks the long page into chapters; the ruled paper of the body shows
   between bands. Tints are light enough that ink text stays far above AA. */
.lp-band { border-block: var(--border); }
.lp-band--paper { background: #FFF8DC; }
.lp-band--sky { background: #EAF6FF; }
.lp-band--mint { background: #EFF9E4; }
.lp-band--blush { background: #FFF0F5; }
.lp-band--lilac { background: #F3EFFF; }

/* ── Headings ─────────────────────────────────────────────────────────────── */
.lp-head { max-width: 780px; margin: 0 0 clamp(28px, 4vw, 48px); }
.lp-head--center { max-width: 900px; margin-inline: auto; text-align: center; }
.lp h2 { margin: 0 0 14px; font-family: 'Bangers', cursive; font-weight: 400; letter-spacing: .035em; line-height: 1.02;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--ink-strong); text-wrap: balance; }
.lp-h3 { margin: 0 0 10px; font-family: 'Bangers', cursive; font-weight: 400; letter-spacing: .035em; line-height: 1.05;
  font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink-strong); text-wrap: balance; }
.lp-lead { max-width: 62ch; font-size: clamp(1.02rem, 1.4vw, 1.14rem); font-weight: 700; line-height: 1.55; text-wrap: pretty; }
.lp-head--center .lp-lead { margin-inline: auto; }
.lp-row-text .lp-lead { margin-bottom: 22px; }
.lp-small { margin-top: 14px; font-size: .92rem; font-weight: 700; opacity: .85; }
.lp-center { text-align: center; }

/* Kicker colours (the pill itself is .kicker in site.css). */
.lp-k-yellow { background: var(--yellow); }
.lp-k-pink { background: var(--pink); }
.lp-k-lime { background: var(--lime); }
.lp-k-orange { background: var(--orange); }
.lp-k-purple { background: var(--purple); }

/* ── Text beside a picture ────────────────────────────────────────────────── */
.lp-row { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(28px, 5vw, 64px);
  align-items: center; }
.lp-row--flip > .lp-row-text { order: 2; }
.lp-row-media { margin: 0; min-width: 0; }
.lp-row-text .ticks { margin-bottom: 0; }
.lp-row-text .btns { margin-top: 26px; }

@media (max-width: 920px) {
  .lp-row { grid-template-columns: minmax(0, 1fr); }
  .lp-row--flip > .lp-row-text { order: 0; }
}

/* ── Chinese and Japanese: Bangers has no CJK glyphs (same stack as site.css) ─ */
:lang(ja) .lp h2, :lang(ja) .lp-h3, :lang(ja) .lp-hero-title, :lang(ja) .lp-tile :is(h3, h4), :lang(ja) .lp-step h3,
:lang(ja) .lp-app h3, :lang(ja) .lp-stamps li,
:lang(zh-CN) .lp h2, :lang(zh-CN) .lp-h3, :lang(zh-CN) .lp-hero-title, :lang(zh-CN) .lp-tile :is(h3, h4),
:lang(zh-CN) .lp-step h3, :lang(zh-CN) .lp-app h3 {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Noto Sans SC",
               "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 800; letter-spacing: 0; line-height: 1.35;
}
/* Japanese headings break between phrases, not inside a word (Chrome; elsewhere the usual breaking applies). */
:lang(ja) .lp h2, :lang(ja) .lp-h3, :lang(ja) .lp-hero-title, :lang(ja) .lp-step h3, :lang(ja) .lp-app h3 {
  word-break: auto-phrase;
}
