/* A-Stay-On Preview Experience — Figma R2-FINAL Desktop 1440 / Mobile 390 */

:root {
    --px-navy: #17324d;
    --px-ink: #0f3b64;
    --px-hero: #061b31;
    --px-gold: #d8b36a;
    --px-sidebar: #102f52;
    --px-active: #2563eb;
    --px-body: #666f85;
    --px-muted: #6b7280;
    --px-line: #e8e4da;
    --px-cream: #f7f4ee;
    --px-sand: #f3eee4;
    --px-mist: #eef2f6;
    --px-white: #ffffff;
    --px-pad: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.px-body {
    margin: 0;
    background: var(--px-cream);
    color: var(--px-navy);
    font-family: "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
    overflow-x: hidden;
}

.px-skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 20;
    background: var(--px-gold);
    color: var(--px-navy);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.px-skip:focus {
    top: 12px;
}

.px-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding-left: var(--px-pad);
    padding-right: var(--px-pad);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
label:focus-visible {
    outline: 3px solid var(--px-gold);
    outline-offset: 3px;
}

.px-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    border: 0;
    cursor: pointer;
}

.px-cta-gold {
    background: var(--px-gold);
    color: var(--px-navy);
}

.px-cta-navy {
    background: var(--px-navy);
    color: var(--px-white);
}

.px-cta-line {
    background: transparent;
    color: var(--px-gold);
    border: 1px solid var(--px-gold);
}

.px-cta-disabled {
    background: #3a4d61;
    color: #9aa4b2;
    cursor: not-allowed;
    pointer-events: none;
}

.px-support {
    margin-top: 12px;
    font-size: 13px;
    color: #8fa3b5;
}

.px-notice {
    margin-top: 12px;
    font-size: 14px;
    color: var(--px-gold);
}

.px-h1,
.px-h2 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--px-navy);
}

.px-h1 {
    font-size: 40px;
    line-height: 1.3;
}

.px-h2 {
    font-size: 28px;
    line-height: 1.35;
}

.px-lead {
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--px-body);
}

.px-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--px-navy);
    color: var(--px-white);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.px-chip-ghost {
    background: var(--px-white);
    color: var(--px-navy);
    border: 1px dashed var(--px-navy);
}

.px-chip-soft {
    background: var(--px-mist);
    color: var(--px-navy);
}

.px-chip-sand {
    background: #efe7d6;
    color: var(--px-navy);
}

.px-arrow {
    color: var(--px-gold);
    font-weight: 800;
}

/* Hero */
.px-hero {
    background: var(--px-hero);
    color: var(--px-white);
    padding: 56px 0;
}

.px-hero .px-inner {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.px-eyebrow {
    display: inline-block;
    padding: 7px 15px;
    border: 1px solid var(--px-gold);
    border-radius: 30px;
    color: var(--px-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.px-hero .px-h1 {
    margin-top: 16px;
    color: var(--px-white);
}

.px-hero .px-lead {
    color: #b8c9d8;
    max-width: 28em;
}

.px-hero-actions {
    margin-top: 24px;
}

.px-hero-mobile-flow {
    display: none;
}

.px-funnel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(216, 179, 106, 0.28);
    border-radius: 16px;
    padding: 18px;
    min-width: 0;
}

.px-funnel-label,
.px-funnel-down {
    font-size: 13px;
    color: #d4c4a0;
}

.px-funnel-down {
    display: block;
    margin: 10px 0;
}

.px-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.px-hub {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    background: var(--px-gold);
    color: var(--px-navy);
    border-radius: 10px;
    font-size: 20px;
    font-weight: 900;
}

/* Before / After */
.px-ba {
    background: var(--px-cream);
    padding: 48px 0 36px;
}

.px-ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 22px;
}

.px-card {
    background: var(--px-white);
    border: 1px solid var(--px-line);
    border-radius: 16px;
    padding: 21px;
    min-width: 0;
}

.px-card-after {
    background: #eef2f6;
    border-color: transparent;
}

.px-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--px-gold);
}

.px-card h3 {
    margin: 8px 0 14px;
    font-size: 16px;
}

.px-ba-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.px-ba-chips span {
    background: #f3f0ea;
    color: var(--px-navy);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
}

.px-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.px-step {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--px-white);
    border-radius: 10px;
    padding: 10px 12px;
}

.px-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--px-navy);
    color: var(--px-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex: 0 0 22px;
}

.px-foot {
    margin-top: 12px;
    font-size: 13px;
    color: var(--px-muted);
}

.px-ba-mobile {
    display: none;
}

/* Flow */
.px-flow {
    background: var(--px-mist);
    padding: 28px 0 36px;
}

.px-flow-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 18px;
    min-width: 0;
}

.px-flow-card {
    flex: 1 1 0;
    min-width: 0;
    background: var(--px-white);
    border: 1px solid var(--px-line);
    border-radius: 14px;
    padding: 14px 12px;
}

.px-bar {
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: var(--px-gold);
    margin-bottom: 8px;
}

.px-flow-card strong {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

.px-flow-card span {
    display: block;
    font-size: 11px;
    color: var(--px-body);
    line-height: 1.45;
}

.px-flow-card em {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-size: 10px;
    font-weight: 600;
    color: var(--px-gold);
}

.px-flow-arrow {
    align-self: center;
    flex: 0 0 auto;
}

.px-flow-note {
    margin: 18px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--px-muted);
    white-space: pre-line;
}

/* OTA */
.px-ota {
    background: var(--px-cream);
    padding: 36px 0 28px;
}

.px-funnel-card {
    margin-top: 18px;
    background: var(--px-white);
    border-radius: 16px;
    padding: 22px 24px 20px;
    text-align: center;
}

.px-funnel-card .px-hub {
    margin: 10px 0;
}

.px-channel-groups {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    margin: 10px 0 6px;
}

.px-channel-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.px-channel-col small {
    font-size: 10px;
    color: var(--px-muted);
}

.px-one-flow {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

/* Partner */
.px-partner {
    background: var(--px-mist);
    padding: 20px 0 40px;
}

.px-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}

.px-tabs input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.px-tabs label {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--px-white);
    color: var(--px-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.px-partner:has(#px-tab-cal:checked) label[for="px-tab-cal"],
.px-partner:has(#px-tab-dash:checked) label[for="px-tab-dash"],
.px-partner:has(#px-tab-res:checked) label[for="px-tab-res"],
.px-partner:has(#px-tab-block:checked) label[for="px-tab-block"],
.px-partner:has(#px-tab-in:checked) label[for="px-tab-in"],
.px-partner:has(#px-tab-clean:checked) label[for="px-tab-clean"] {
    background: var(--px-active);
    color: var(--px-white);
}

.px-shell {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-height: 448px;
    background: #f8fafc;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    overflow: hidden;
}

.px-side {
    background: var(--px-sidebar);
    color: #c9d7e8;
    padding: 16px 12px;
}

.px-side strong {
    display: block;
    color: var(--px-white);
    font-size: 14px;
}

.px-side small {
    display: block;
    margin: 6px 0 12px;
    font-size: 11px;
    color: #8fa3b5;
}

.px-side a,
.px-side span.px-nav {
    display: block;
    padding: 8px;
    border-radius: 8px;
    color: #c9d7e8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.px-side .px-nav-on {
    background: var(--px-active);
    color: var(--px-white);
}

.px-main {
    padding: 16px 18px;
    min-width: 0;
}

.px-panel {
    display: none;
}

.px-panel-cal {
    display: block;
}

.px-partner:has(#px-tab-dash:checked) .px-panel {
    display: none;
}
.px-partner:has(#px-tab-dash:checked) .px-panel-dash {
    display: block;
}
.px-partner:has(#px-tab-res:checked) .px-panel {
    display: none;
}
.px-partner:has(#px-tab-res:checked) .px-panel-res {
    display: block;
}
.px-partner:has(#px-tab-block:checked) .px-panel {
    display: none;
}
.px-partner:has(#px-tab-block:checked) .px-panel-block {
    display: block;
}
.px-partner:has(#px-tab-in:checked) .px-panel {
    display: none;
}
.px-partner:has(#px-tab-in:checked) .px-panel-in {
    display: block;
}
.px-partner:has(#px-tab-clean:checked) .px-panel {
    display: none;
}
.px-partner:has(#px-tab-clean:checked) .px-panel-clean {
    display: block;
}

.px-titlebox {
    background: var(--px-ink);
    color: var(--px-white);
    border-radius: 12px;
    padding: 12px 16px;
}

.px-titlebox strong {
    display: block;
    font-size: 16px;
}

.px-titlebox span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #bfdbee;
}

.px-journey {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 14px 0;
    padding: 12px;
    background: #e8f0fe;
    border-radius: 10px;
}

.px-journey b {
    background: var(--px-white);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
}

.px-cal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.px-cal-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
}

.px-room {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
}

.px-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.px-cell-head {
    min-height: 28px;
    background: #e5e7eb;
    color: #374151;
    font-weight: 600;
}

.px-in { background: #dbeafe; color: #1d4ed8; }
.px-stay { background: #e0e7ff; color: #3730a3; }
.px-out { background: #ffedd5; color: #c2410c; }
.px-next { background: #d1fae5; color: #047857; }
.px-open { background: #f9fafb; color: #6b7280; }
.px-nol { background: #fef3c7; color: #b45309; }
.px-task { background: #fee2e2; color: #b91c1c; }

.px-kpi {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.px-kpi div,
.px-list li {
    background: var(--px-white);
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
}

.px-kpi strong {
    display: block;
    font-size: 22px;
    color: var(--px-navy);
}

.px-kpi span,
.px-list span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--px-body);
}

.px-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.px-mobile-cal {
    display: none;
}

/* Customer / Local / Worlds / Live / Final */
.px-customer {
    background: var(--px-cream);
    padding: 40px 0 24px;
}

.px-customer-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
}

.px-xp {
    flex: 1 1 0;
    min-width: 0;
    background: var(--px-white);
    border: 1px solid var(--px-line);
    border-radius: 16px;
    padding: 16px;
}

.px-xp .num {
    color: var(--px-gold);
    font-size: 13px;
    font-weight: 800;
}

.px-xp h3 {
    margin: 6px 0;
    font-size: 16px;
}

.px-xp p {
    margin: 0;
    font-size: 14px;
    color: var(--px-body);
}

.px-local {
    background: var(--px-sand);
    padding: 28px 0 36px;
}

.px-local-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 40px;
    align-items: start;
}

.px-local-card {
    background: var(--px-white);
    border-radius: 16px;
    padding: 14px;
}

.px-local-card strong {
    color: var(--px-gold);
    font-size: 12px;
}

.px-local-box {
    margin-top: 12px;
    background: var(--px-sand);
    border-radius: 10px;
    padding: 16px 12px;
}

.px-worlds {
    background: var(--px-cream);
    padding: 36px 0 28px;
}

.px-world-row {
    display: grid;
    grid-template-columns: 1fr 160px 1fr;
    gap: 16px;
    align-items: center;
}

.px-world {
    background: var(--px-white);
    border-radius: 16px;
    padding: 22px;
}

.px-world-hub {
    background: var(--px-navy);
    color: var(--px-white);
    text-align: center;
    border-radius: 16px;
    padding: 20px 12px;
}

.px-live {
    background: var(--px-mist);
    padding: 28px 0 20px;
}

.px-live-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.px-final {
    background: var(--px-hero);
    color: var(--px-white);
    padding: 36px 0 48px;
}

.px-final .px-h2 {
    color: var(--px-white);
}

.px-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.px-final-links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.px-final-links a {
    color: #b8c9d8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 1024px) {
    :root { --px-pad: 40px; }
    .px-h1 { font-size: 32px; }
    .px-hero .px-inner,
    .px-local-grid,
    .px-world-row {
        grid-template-columns: 1fr;
    }
    .px-kpi { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --px-pad: 20px; }
    .px-h1 { font-size: 24px; line-height: 1.35; }
    .px-h2 { font-size: 20px; line-height: 1.4; }
    .px-hero { padding: 24px 0 20px; }
    .px-hero .px-inner { gap: 16px; }
    .px-funnel { display: none; }
    .px-hero-mobile-flow { display: block; }
    .px-ba-grid { display: none; }
    .px-ba-mobile { display: block; margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--px-body); }
    .px-flow-row {
        flex-direction: column;
        gap: 6px;
    }
    .px-flow-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 12px; }
    .px-flow-card { padding: 10px 12px; }
    .px-shell { display: none; }
    .px-desktop-tabs { display: none; }
    .px-mobile-cal { display: block; }
    .px-customer-row { display: none; }
    .px-live-grid { grid-template-columns: 1fr; }
    .px-cta { width: 100%; }
    .px-world-row { grid-template-columns: 1fr; }
    .px-cal-row { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
}

.px-hero-mobile-flow {
    margin-top: 18px;
}

.px-hero-mobile-flow .px-chip-row { margin: 10px 0; }
.px-hero-mobile-flow p {
    margin: 8px 0 0;
    font-size: 13px;
    color: #d4c4a0;
}

@media (max-width: 420px) {
    :root { --px-pad: 20px; }
    body.px-body { overflow-x: hidden; }
    .px-cell { min-height: 44px; font-size: 11px; padding: 6px; }
    .px-journey { justify-content: center; }
    .px-one-flow { gap: 6px; }
}

@media (max-width: 360px) {
    :root { --px-pad: 16px; }
    .px-chip { font-size: 10px; padding: 6px 8px; }
    .px-cal-row { gap: 4px; }
}
