/* "The problem" (#problem) and "Why PKOS is different" (#usp). Uses the site's colour variables, so light and dark both work. */
.px-sec { position: relative; padding: 88px 20px; }
.px-sec .px-w { max-width: 1180px; margin: 0 auto; }
.px-sec .px-k { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.px-sec h2 { margin: 14px 0 14px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.04em; font-weight: 600; color: var(--ink); max-width: 18ch; }
.px-sec h2 .g { background: linear-gradient(100deg, #2f6bff, #6d5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.px-sec .px-l { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 60ch; margin: 0; }
.px-sec .px-h { margin: 40px 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.px-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.px-grid.four { grid-template-columns: repeat(4, 1fr); }
.px-card { position: relative; background: var(--card); border-radius: 24px; padding: 24px; box-shadow: 0 1px 0 var(--hair), 0 24px 60px -36px rgba(29, 29, 31, .35); }
.px-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; font-weight: 600; color: var(--ink); }
.px-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.px-card .px-pain { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: rgba(255, 59, 48, .1); color: #e0382b; font-weight: 700; margin-bottom: 14px; }
.px-card .px-fix { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: #1f8a4c; }
.px-card .px-fix a { color: inherit; text-decoration: none; }
.px-card .px-fix a:hover { text-decoration: underline; }
.px-card .px-n { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; display: block; }
html[data-theme=dark] .px-card .px-fix { color: #5fd38f; }
@media (max-width: 1000px) { .px-grid, .px-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .px-sec { padding: 56px 16px; } .px-grid, .px-grid.four { grid-template-columns: 1fr; } }

/* Tighter spacing between sections (the opening film keeps its own) */
main > section:not(#film) { padding-top: 80px !important; padding-bottom: 80px !important; }
@media (max-width: 640px) { main > section:not(#film) { padding-top: 56px !important; padding-bottom: 56px !important; } }

/* "Staff see themselves": a real phone, and the late-check-in note no longer covers the date */
.live-phone { background: #0d0e12 !important; padding: 10px !important; border-radius: 46px !important; box-shadow: 0 0 0 2px #2a2c36, 0 40px 80px -30px rgba(20, 30, 90, .45) !important; position: relative; }
.live-phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 86px; height: 24px; margin-left: -43px; background: #000; border-radius: 20px; z-index: 20; }
.live-phone > div { border-radius: 36px !important; }
.live-phone .pt-7 { padding-top: 64px !important; }
.live-phone .rules-toast { top: 44px !important; }
/* "Staff see themselves": true phone proportions, status bar and bottom tabs like the real app */
.live-phone { width: 300px !important; max-width: 82vw; aspect-ratio: 9 / 19.5; margin-left: auto; margin-right: auto; }
.live-phone > div { height: 100%; display: flex; flex-direction: column; }
.live-phone > div > .space-y-2 { flex: 1; overflow: hidden; }
.live-phone .lp-status { position: absolute; top: 14px; left: 24px; right: 22px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #fff; z-index: 3; }
.live-phone .lp-tabs { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px 14px; background: var(--card); border-top: 1px solid var(--line); }
.live-phone .lp-tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: var(--muted); }
.live-phone .lp-tabs span.on { color: var(--accent); }
.live-phone .lp-tabs svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the late-check-in note: hidden until it fires, and the greeting sits below it */
.live-phone .pt-7 { padding-top: 96px !important; }
.live-phone .rules-toast { top: 40px !important; }
.live-phone .rules-toast[data-on=false] { opacity: 0 !important; visibility: hidden; }
.px-card .px-pain svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* call to action under the problem and USP cards */
.px-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border-radius: 24px; padding: 20px 24px; box-shadow: 0 1px 0 var(--hair), 0 24px 60px -36px rgba(29, 29, 31, .35); }
.px-cta p { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.px-cta > div { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.px-cta .px-wa { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 99px; border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
