/* rs-landing.css: the landing page and the thank-you page (launch redesign spec 3.1, 3.9; piece P1, 17 Nov 2026).
   Modifiers only, scoped under .pg-land: every component comes from rs.css (P0), which this file never restyles.
   Colours are rs.css tokens only. Layout per spec 3.1: phone (under 768), tablet (768-1023), desktop (1024 and up). */

/* ---------- top: the "Dua buku" switch ---------- */
.pg-land .lp-books-wrap { padding-block: 0 6px; }
.pg-land .lp-books { box-shadow: inset 0 0 0 1.5px var(--lamp); }
@media (min-width: 768px) { .pg-land .lp-books { max-width: 360px; } }
/* at night the pressed side fills lamp yellow (v10) */
:root[data-theme="dark"] .pg-land .lp-books > [aria-current="page"] { background: var(--lamp); color: var(--on-lamp); }
:root[data-theme="dark"] .pg-land .lp-books > a { color: var(--ink); }
:root[data-theme="dark"] .pg-land .lp-books > [aria-current="page"] { color: var(--on-lamp); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pg-land .lp-books > a { color: var(--ink); }
  :root:not([data-theme="light"]) .pg-land .lp-books > [aria-current="page"] { background: var(--lamp); color: var(--on-lamp); }
}

/* ---------- hero ---------- */
.pg-land .lp-hero { padding-top: 18px; padding-bottom: var(--sec); }
.pg-land .lp-sky { margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
.pg-land .lp-lede { font-size: 18px; }
.pg-land .lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "hint" "c1" "flip"; }
.pg-land .lp-hero-text { grid-area: text; min-width: 0; }
.pg-land .lp-hint { grid-area: hint; text-align: center; margin: 14px 0 8px; }
.pg-land .lp-eye { grid-area: eye; display: none; color: var(--soft); margin: 30px 0 12px; }
.pg-land .lp-c1 { grid-area: c1; min-width: 0; }
.pg-land .lp-flip-wrap { grid-area: flip; min-width: 0; }
.pg-land .lp-hero-btns { display: none; }
.pg-land .lp-seats { margin: 10px 0 0; }
.pg-land .lp-seats b { color: var(--ink); }
.pg-land .lp-seats:has([data-dd-seats]:empty) { display: none; }   /* no Worker, owner, or past buyer 100: no seats line (spec 3.1 states) */

/* the "Apa dia cakap / Dalam kepala dia" toggle: one state for the page (rs-landing.js); hidden without JS */
.pg-land .lp-head { margin: 14px 0 4px; }
.pg-land .lp-think { outline: 2px dotted var(--soft); outline-offset: -4px; animation: lp-blink 1.3s ease-in-out infinite; }   /* a quiet hint, not the lamp colour: the chosen option is the filled one (Q1) */
.pg-land .lp-think[aria-pressed="true"] { outline: none; animation: none; }
.pg-land.lp-headed .lp-think { animation: none; }
.pg-land .lp-think:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; animation: none; }
@keyframes lp-blink { 50% { outline-color: transparent; } }

/* comic strips: --cols per breakpoint; multi-column strips use v10's smaller bubbles */
.pg-land .lp-fig { margin: 0; }
.pg-land .lp-fig figcaption { display: block; }
.pg-land .lp-c1 .lp-strip, .pg-land .lp-c10 .lp-strip { --cols: 1; }
@media (min-width: 768px) {
  .pg-land .lp-c1 .lp-strip, .pg-land .lp-c10 .lp-strip { --cols: 2; gap: 16px 14px; align-items: start; }
  .pg-land .lp-c1 .rs-lines, .pg-land .lp-c10 .rs-lines { padding-bottom: 6px; }
  .pg-land .lp-c1 .rs-b, .pg-land .lp-c10 .rs-b { font-size: 13.5px; padding: 7px 11px; }
}

/* the flip card: spans inside a button, laid out as blocks */
.pg-land .lp-flip-wrap { margin-top: 14px; }
.pg-land .lp-flip .rs-face, .pg-land .lp-flip .rs-back { display: block; }
.pg-land .lp-flip-eye { display: block; color: var(--soft); }
.pg-land .lp-flip .rs-back .lp-flip-eye { color: inherit; opacity: .8; }
.pg-land .lp-flip .rs-hint { display: flex; }
.pg-land .lp-flip-why { display: block; font-size: 13.5px; opacity: .85; }

/* ---------- the street ---------- */
.pg-land .lp-street-p { margin-bottom: 14px; }
.pg-land .lp-street { list-style: none; margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 10px; display: grid; grid-auto-flow: column;
  grid-auto-columns: 62%; gap: 12px; align-items: end; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.pg-land .lp-street::-webkit-scrollbar { display: none; }
.pg-land .lp-street > li { scroll-snap-align: start; min-width: 0; }
.pg-land .lp-house > span { display: block; }
.pg-land .lp-house .rs-wall { display: grid; }
.pg-land .lp-house .rs-win, .pg-land .lp-house .rs-door { display: block; }
.pg-land .lp-house-eye { margin: 10px 0 0; }
.pg-land .lp-house-t { display: block; margin-top: 4px; }
.pg-land .lp-lampiran { background: var(--acc); color: var(--onacc); }
.pg-land .lp-lampiran .rs-eye { color: inherit; opacity: .8; }
.pg-land .lp-lampiran-p { font-size: 14px; opacity: .85; margin: 8px 0 0; }
.pg-land .lp-road { margin-inline: calc(-1 * var(--pad)); }
@media (min-width: 768px) { .pg-land .lp-street { grid-auto-columns: 38%; } }
/* No. 7: curtains always closed, never lit (day or night), not a link, no label, no picture. The guide stays unlinked (locked). The bottom
   padding stands in for a label, so its door lines up with its neighbours'. Decorative: aria-hidden in the markup. */
.pg-land .lp-house7 { padding-bottom: 66px; }
.pg-land .lp-shut { cursor: default; pointer-events: none; }
.pg-land .lp-shut:active { transform: none; }
.pg-land .lp-shut .rs-win.lp-curtain { box-shadow: inset 0 0 0 3px var(--line);
  background: linear-gradient(90deg, transparent calc(50% - 1px), var(--line) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(90deg, var(--bg2) 0 9px, color-mix(in srgb, var(--ink) 8%, var(--bg2)) 9px 12px); }

/* ---------- second comic (c10) on a band ---------- */
.pg-land .lp-band { background: var(--bg2); }
.pg-land .lp-c10 { margin-top: 12px; }
.pg-land .lp-end { text-align: center; margin-top: 12px; }
.pg-land .lp-end-q { font-size: 22px; margin: 0; }
.pg-land .lp-end .rs-small { margin: 6px 0 0; }

/* ---------- three tools ---------- */
.pg-land .lp-tools { display: grid; gap: 12px; margin-top: 12px; grid-template-columns: minmax(0, 1fr); }
.pg-land .lp-soft-eye { color: var(--soft); }
.pg-land .lp-opt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.pg-land .lp-opt button { min-height: 52px; border-radius: 14px; border: 0; background: var(--surf); box-shadow: inset 0 0 0 1.5px var(--line);
  font: 700 14px var(--f-ui); color: var(--ink); cursor: pointer; padding: 0 6px; }
.pg-land .lp-opt button[aria-pressed="true"] { background: var(--acc); color: var(--onacc); box-shadow: none; }
.pg-land .lp-try-note { margin: 10px 0 0; }
.pg-land .lp-weeks { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; }
.pg-land .lp-weeks li { flex: 1; height: 40px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); display: grid; place-items: center;
  font: 700 12px var(--f-ui); color: var(--soft); }
.pg-land .lp-weeks li.lp-done { background: var(--acc); color: var(--onacc); box-shadow: none; }
@media (min-width: 768px) { .pg-land .lp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* ---------- price ---------- */
.pg-land .lp-price { display: grid; gap: 12px; margin-top: 12px; grid-template-columns: minmax(0, 1fr); }
.pg-land .lp-big { font: 800 54px/1 var(--f-ui); letter-spacing: -.03em; margin: 8px 0 0; }
.pg-land .lp-fixed, .pg-land .lp-ladder-note { margin: 6px 0 0; }
.pg-land .lp-free { border-radius: 16px; padding: 14px; margin-top: 12px; background: color-mix(in srgb, var(--ok) 12%, var(--surf)); font-size: 14px; line-height: 1.45; }
.pg-land .lp-free a { text-decoration: underline; }
@media (pointer: coarse) { .pg-land .lp-free a { display: inline-block; padding: 13px 6px; margin: -13px -6px; } }   /* a 44 px tap target without moving the line (Q10) */
.pg-land .lp-duitnow { margin: 10px 0 0; }
.pg-land .lp-bundle { display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.pg-land .lp-bundle-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pg-land .lp-bundle-row b { font-size: 22px; white-space: nowrap; }
.pg-land .lp-after-h { margin-bottom: 10px; }
.pg-land .lp-after { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; }
@media (min-width: 768px) { .pg-land .lp-price { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; } }

/* ---------- Untuk dia jugak: c4 with a caption under each ---------- */
.pg-land .lp-dia-p { margin-bottom: 12px; }
.pg-land .lp-c4 { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-land .lp-c4p { border-radius: 16px; }
.pg-land .lp-c4cap { margin: 6px 2px 0; }
.pg-land .lp-who { display: block; font: 700 10.5px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--him); }
.pg-land .lp-untuk { margin-top: 12px; }
.pg-land .lp-untuk > p:not(.rs-eye) { margin: 0 0 8px; line-height: 1.55; }
.pg-land .lp-untuk .rs-btn { margin-top: 14px; }

/* ---------- Bab 1 form ---------- */
.pg-land .lp-form { margin-top: 14px; }
.pg-land .lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 768px) { .pg-land .lp-form-card { max-width: var(--narrow); margin-inline: auto; } }

/* ---------- FAQ: native details ---------- */
.pg-land .lp-faq { margin-top: 10px; border-radius: 16px; background: var(--surf); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.pg-land .lp-faq details { border-bottom: 1px solid var(--line); }
.pg-land .lp-faq details:last-child { border-bottom: 0; }
.pg-land .lp-faq summary { display: flex; justify-content: space-between; gap: 12px; padding: 15px 16px; min-height: 44px; font-weight: 700; cursor: pointer; list-style: none; }
.pg-land .lp-faq summary::-webkit-details-marker { display: none; }
.pg-land .lp-faq summary::after { content: "+"; color: var(--soft); font-weight: 700; }
.pg-land .lp-faq details[open] summary::after { content: "\2212"; }
.pg-land .lp-faq details p { margin: 0; padding: 0 16px 14px; color: var(--soft); font-size: 14.5px; line-height: 1.5; }
.pg-land .lp-faq a { text-decoration: underline; }

/* ---------- footer, sticky bar ---------- */
.pg-land .lp-foot .rs-safe { margin-bottom: 18px; color: var(--ink); }
.pg-land .lp-nw { white-space: nowrap; }
.pg-land .lp-bar .rs-tx { flex: 1; min-width: 0; }
.pg-land .lp-bar small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-land .lp-bar-bab1 { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2.5px color-mix(in srgb, var(--ink) 45%, transparent); }

/* ---------- house sheets ---------- */
.pg-land .lp-sheet .rs-eye { margin: 0; }
.pg-land .lp-sheet-h { font-size: 22px; margin: 4px 0 2px; }
.pg-land .lp-sheet-sub { margin: 0 0 12px; }
.pg-land .lp-house-strip { margin-bottom: 4px; }
.pg-land .lp-sheet-btn { margin-top: 4px; }

/* ---------- desktop (spec 3.1, 1440 column) ---------- */
@media (min-width: 1024px) {
  .pg-land .rs-glow { background-image: none; }   /* v10 desktop draws no glow */
  .pg-land .lp-sky { margin-inline: 0; padding-inline: 0; }
  .pg-land .lp-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; grid-template-areas: "text flip" "eye eye" "c1 c1"; align-items: start; }
  .pg-land .lp-hint { display: none; }
  .pg-land .lp-eye { display: block; }
  .pg-land .lp-flip-wrap { margin-top: 0; padding-top: 8px; }
  .pg-land .lp-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
  .pg-land .lp-c1 .lp-strip { --cols: 3; }
  .pg-land .lp-c10 .lp-strip { --cols: 4; }
  .pg-land .lp-street { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; grid-auto-columns: 23%; }
  .pg-land .lp-road { margin-inline: 0; }
  .pg-land .lp-c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pg-land .lp-faq-sec > * { max-width: 720px; }
}

/* ---------- thank-you page (/terima-kasih/) ---------- */
.pg-land .lp-thanks { text-align: left; }
.pg-land .lp-thanks .rs-btn { margin-top: 16px; }
.pg-land .lp-thanks-note { margin: 18px 0 0; }
.pg-land .lp-thanks-note a { text-decoration: underline; }
