/* Pairy page (/pairy/, /ko/pairy/): the walk card grown into a page. Loaded after pages.css. */
body { margin: 0; font-size: 17px; line-height: 1.6; word-break: keep-all; }
.wrap { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.top { margin-bottom: 0; }
.top nav { display: flex; gap: 4px 18px; }
img { max-width: 100%; height: auto; }

.p-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; padding: 72px 0 56px; }
.p-icon { display: block; width: 112px; height: 112px; border-radius: 25px; box-shadow: 0 14px 34px rgba(4, 6, 20, 0.55); }
.p-hero h1 { margin: 22px 0 6px; font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.035em; }
.p-sub { margin: 0; color: var(--gold); font-family: var(--display); font-size: 1.25rem; font-weight: 700; }
.p-lede { max-width: 40ch; margin: 14px 0 0; color: var(--ink); }
.p-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.p-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 22px; border: 1px solid rgba(244, 236, 216, 0.4); border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.p-btn:hover { border-color: var(--gold); color: var(--gold); }
.p-btn-main { border-color: var(--gold); background: var(--gold); color: #1b1838; }
.p-btn-main:hover { color: #1b1838; filter: brightness(1.06); }
.p-for { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.p-shot { border-radius: 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }

.p-sec { padding: 56px 0; border-top: 1px solid var(--line); }
.p-sec h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; }
.p-sec > p { max-width: 62ch; color: var(--muted); }

.p-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: step; }
.p-steps li { position: relative; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 10px; background: rgba(20, 26, 69, 0.6); counter-increment: step; }
.p-steps li::before { display: block; margin-bottom: 8px; color: var(--gold); font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; content: "0" counter(step); }
.p-steps h3 { margin: 0 0 6px; font-size: 1.1rem; }
.p-steps p { margin: 0; color: var(--muted); font-size: 15px; }

.p-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(560px, 82%); gap: 16px; margin: 28px 0 0; padding: 0 0 14px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-color: rgba(233, 196, 106, 0.5) transparent; }
.p-gallery li { scroll-snap-align: start; }
.p-gallery img { display: block; border-radius: 12px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45); }

.p-pts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.p-pts li { position: relative; padding-left: 18px; }
.p-pts li::before { position: absolute; top: 0.68em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); content: ""; }

.p-mac { scroll-margin-top: 96px; }
.p-mac > div { max-width: 62ch; }
.p-mac .p-acts { margin-top: 18px; }
.p-install { margin: 22px 0 0; padding-left: 20px; color: var(--ink); }
.p-install li + li { margin-top: 6px; }
.p-small { color: var(--muted); font-size: 14px; }
.p-small code { padding: 1px 6px; border-radius: 4px; background: rgba(244, 236, 216, 0.1); }

@media (max-width: 860px) {
  .p-hero { grid-template-columns: 1fr; gap: 28px; }
  .p-hero { padding-top: 40px; }
  .p-steps, .p-pts { grid-template-columns: 1fr; }
}
