/* Platform (marketing + console) additions on top of app.css */
.p-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 12vh, 120px) 0 clamp(56px, 12vh, 120px); border-bottom: 1px solid var(--line); }
.p-hero-photo { position: absolute; inset: 0; z-index: -1; }
.p-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
/* the photo's open wood is on the left: a soft wash there keeps the headline readable in both themes */
.p-hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 42%, transparent 62%); }
[dir=rtl] .p-hero-photo img { transform: scaleX(-1); }
[dir=rtl] .p-hero-photo::after { background: linear-gradient(to left, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 55%, transparent) 42%, transparent 62%); }
.p-hero-grid { display: block; }
.p-hero-copy { max-width: 620px; }
.p-hero .small.muted { color: var(--ink-2); }
.p-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .95; letter-spacing: -.05em; margin-bottom: 18px; max-width: 12ch; }
:lang(ar) .p-hero h1, :lang(zh) .p-hero h1, :lang(hi) .p-hero h1 { letter-spacing: -.01em; line-height: 1.15; }
.p-hero .lead { font-size: 1.12rem; color: var(--ink-2); max-width: 52ch; margin: 0 0 26px; }
.p-claim { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.p-claim-field { display: flex; align-items: center; flex: 1; min-width: 240px; height: 50px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 6px 0 14px; box-shadow: var(--shadow); }
.p-claim-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.p-claim-field input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); height: 100%; }
.p-claim-field span { color: var(--muted); font-size: .95rem; white-space: nowrap; padding-inline-end: 8px; }
.p-claim-field.in-form { height: 42px; box-shadow: none; border-radius: 10px; }
[dir=rtl] .p-claim-field { direction: ltr; }
/* live preview of the visitor's future board: follows what they type in the address field */
.pv { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); overflow: hidden; font-size: .9rem; }
.pv-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pv-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.pv-url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; margin-inline: 12px 40px; padding: 5px 12px; border-radius: 999px;
  background: var(--surface); color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; direction: ltr; }
.pv-url svg { color: var(--teal); flex: none; }
.pv-host { overflow: hidden; text-overflow: ellipsis; }
.pv-url b { color: var(--brand); font-weight: 650; }
.pv-page { padding: 14px 16px 18px; }
.pv-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pv-top b { font-family: var(--display); font-weight: 800; letter-spacing: -.03em; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-mark { width: 24px; height: 24px; border-radius: 7px; background: var(--brand); display: grid; place-items: center; flex: none; }
.pv-mark svg { width: 16px; height: 16px; }
.pv-nav { margin-inline-start: auto; display: flex; gap: 12px; color: var(--muted); font-size: .8rem; }
.pv-hero { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 1; background: var(--scene-ground); }
.pv-hero svg { width: 100%; height: 100%; display: block; }
.pv-hero p { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; margin: 0; max-width: 11ch;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.55rem); line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.pv-search { display: flex; align-items: center; gap: 8px; margin: -16px 12px 14px; position: relative; padding: 5px 5px 5px 12px;
  background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); color: var(--muted); font-size: .8rem; }
.pv-search span { flex: 1; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.pv-search i { font-style: normal; background: var(--brand); color: var(--brand-ink); border-radius: 7px; padding: 5px 12px; font-weight: 600; }
.pv-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pv-jobs li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.pv-tile { width: 28px; height: 28px; border-radius: 8px; flex: none; }
.pv-job { flex: 1; display: grid; line-height: 1.25; min-width: 0; }
.pv-job small { color: var(--muted); }
.pv-jobs em { font-style: normal; font-weight: 650; font-size: .8rem; color: var(--teal); background: var(--teal-soft); border-radius: 999px; padding: 3px 9px; font-variant-numeric: tabular-nums; }

/* how it works: a real three-step sequence, so it is numbered; the live board preview sits beside it */
.p-how-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.p-how-grid .p-how-list { grid-template-columns: 1fr; gap: 22px; }
.p-how h2 { margin-bottom: 18px; }
.p-how-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.p-how-list li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.p-how-list li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.04em; color: var(--brand); margin-bottom: 8px; }
.p-how-list h3 { margin: 0 0 6px; font-size: 1.1rem; }
.p-how-list p { margin: 0; color: var(--ink-2); max-width: 36ch; }
.p-section-head { max-width: 640px; margin: 0 0 26px; }
.p-section-head p { margin: 0; }
.p-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.p-feature { background: var(--surface); padding: 22px; }
.p-feature h3 { margin: 12px 0 6px; font-size: 1.02rem; }
.p-feature p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.p-ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.p-ico svg { width: 20px; height: 20px; }
.p-selfhost { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding: 22px 24px; border-radius: var(--r); border: 1px dashed var(--line-strong); }
.p-selfhost h3 { margin: 0 0 4px; }
.p-selfhost p { margin: 0; max-width: 64ch; }
.p-faq { max-width: 760px; }
.p-faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.p-faq details:last-child { border-bottom: 1px solid var(--line); }
.p-faq summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.p-faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.p-faq details[open] summary::after { content: "−"; }
.p-faq p { color: var(--ink-2); margin: 10px 0 0; }
.p-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.p-step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 700; font-size: .9rem; }
.p-steps h3 { margin: 10px 0 4px; }
.p-steps p { margin: 0; font-size: .92rem; }
@media (max-width: 900px) {
  .p-hero-grid { grid-template-columns: 1fr; }
  .p-how-list { grid-template-columns: 1fr; gap: 20px; }
  .p-how-grid { grid-template-columns: 1fr; }
  .p-hero { padding: 0 0 32px; }
  .p-hero-photo { position: relative; inset: auto; z-index: 0; height: 220px; margin-bottom: 28px; }
  .p-hero-photo::after, [dir=rtl] .p-hero-photo::after { background: linear-gradient(to top, color-mix(in srgb, var(--bg) 40%, transparent), transparent 40%); }
  .p-features, .p-steps { grid-template-columns: 1fr; }
}

/* ---- pay by cheque / e-Transfer / bank transfer */
.offline-card { margin-top: 28px; padding: 24px; }
.offline-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.offline-head h2 { margin: 0 0 4px; font-size: 1.25rem; }
.offline-head p { margin: 0; }
.offline-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); }
.pay-methods { display: grid; gap: 12px; margin: 16px 0; }
.pay-method { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface-2); }
.pay-method h3 { margin: 0 0 6px; font-size: 1rem; }
.pay-method p { margin: 0; white-space: pre-line; color: var(--ink-2); }
.order-pay { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
[id] { scroll-margin-top: 84px; }  /* anchors land below the sticky header */
