.pg-guide {
    color: var(--vs-color-ink);
    background: var(--vs-color-surface-muted);
    font-family: 'Rethink Sans', system-ui, sans-serif;
}
.pg-guide *, .pg-guide *::before, .pg-guide *::after { box-sizing: border-box; }
.pg-guide figure, .pg-guide h1, .pg-guide h2, .pg-guide p { margin: 0; }
.pg-guide a:focus-visible, .pg-guide summary:focus-visible { outline: 3px solid #2faa77; outline-offset: 4px; }
.pg-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(ellipse at 84% 110%, #1d5a42 0%, transparent 54%), #0b271c;
    color: #f5fff8;
}
.pg-hero::before, .pg-hero::after {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    border: 1px solid rgb(158 226 181 / .15);
}
.pg-hero::before { inset: 7% -12% -9% 55%; transform: rotate(-12deg); }
.pg-hero::after { right: -2%; top: -34%; width: 48vw; aspect-ratio: 1; border-radius: 50%; }
.pg-wrap, .pg-hero-inner { max-width: 1240px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 56px); }
.pg-hero-inner { display: grid; grid-template-columns: .93fr 1.07fr; gap: clamp(24px, 4.7vw, 72px); align-items: center; padding-block: clamp(42px, 5.8vw, 86px); }
.pg-hero h1 { font-size: clamp(43px, 4.55vw, 69px); color: inherit; line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; font-weight: 780; }
.pg-hero h1 em { display: block; color: #8ee2b4; font-style: italic; }
.pg-hero-copy>p { margin: 18px 0 24px; max-width: 42ch; color: #d6e7dc; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; }
.pg-guide .pg-cta { display: inline-flex; gap: 20px; align-items: center; padding: 12px 18px; border-radius: 5px; background: #a2edbb; color: #102b20; font-weight: 750; text-decoration: none; }
.pg-guide .pg-cta:hover { background: #c0f8d4; }
.pg-hero-figure { min-width: 0; position: relative; }
.pg-guide .pg-capture { display: block; position: relative; color: inherit; text-decoration: none; cursor: zoom-in; }
.pg-capture img { display: block; width: 100%; height: auto; border-radius: 3px; }
.pg-hero-figure .pg-capture { transform: rotate(-2deg); box-shadow: 0 5px 0 #99b6a2, 0 16px 36px rgb(0 0 0 / .32); border: 1px solid #a6c3b3; border-radius: 4px; }
.pg-hero-figure figcaption { margin: 20px 2px 0; color: #c0d8cb; font-size: 12px; text-align: right; }
.pg-enlarge { position: absolute; bottom: 6px; right: 6px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 4px; color: #fff; background: rgb(8 39 27 / .88); font: 20px/1 system-ui,sans-serif; }
.pg-hero-figure .pg-enlarge { bottom: auto; top: 6px; }
.pg-index { display: flex; flex-wrap: wrap; border-block-end: 1px solid var(--vs-color-border-strong); padding-block: 8px; gap: 2px clamp(14px, 2.5vw, 36px); }
.pg-index a { display: inline-flex; align-items: center; gap: 7px; padding-block: 11px; color: var(--vs-color-primary-strong); font-weight: 700; font-size: 14px; text-decoration: none; }
.pg-index a:hover, .pg-rules a:hover { text-decoration: underline; }
.pg-guide section[id] { scroll-margin-top: 88px; }
.pg-steps { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3.5vw, 50px); margin-block: clamp(28px, 4.5vw, 66px); }
.pg-step { display: flex; flex-direction: column; min-width: 0; }
.pg-guide h2 { font-size: clamp(25px, 2.6vw, 38px); font-weight: 760; line-height: 1.12; letter-spacing: -.045em; color: var(--vs-color-ink); }
.pg-step-copy p, .pg-share p, .pg-answers details p { color: var(--vs-color-muted); font-size: 16px; line-height: 1.6; }
.pg-step-copy p, .pg-share p { margin-top: 11px; }
.pg-step-copy { margin-bottom: 22px; }
.pg-shot {
    --shot-bg: #e0e9e1; --shot-rule: rgb(22 71 47 / .11);
    flex: 1; min-height: 340px; display: grid; align-items: center; justify-items: center;
    background: repeating-linear-gradient(0deg, transparent 0 27px, var(--shot-rule) 27px 28px), var(--shot-bg);
    border-radius: 7px; padding: clamp(18px, 2.6vw, 34px);
}
.pg-record .pg-shot { --shot-bg: #173a2b; --shot-rule: rgb(188 237 204 / .09); }
.pg-shot .pg-capture { width: 100%; max-width: 400px; box-shadow: 0 9px 22px rgb(11 40 26 / .17); }
.pg-record .pg-capture { max-width: 282px; }
.pg-record .pg-enlarge { top: 5px; right: 36px; bottom: auto; }
.pg-share { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(22px, 4vw, 54px); padding: clamp(20px, 3.6vw, 48px); background: var(--vs-color-primary-soft); border: 1px solid var(--vs-color-border); border-radius: 7px; }
.pg-share .pg-capture { box-shadow: 0 6px 18px rgb(14 48 31 / .14); }
.pg-rules { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(20px, 4vw, 60px); padding-block: clamp(32px, 5vw, 70px); }
.pg-rules a { display: inline-block; margin-top: 13px; color: var(--vs-color-primary-strong); font-weight: 650; }
.pg-answers details { border-top: 1px solid var(--vs-color-border-strong); }
.pg-answers details:last-of-type { border-bottom: 1px solid var(--vs-color-border-strong); }
.pg-answers summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 15px; cursor: pointer; font-weight: 700; }
.pg-answers summary::-webkit-details-marker { display: none; }
.pg-answers summary span { color: var(--vs-color-primary-strong); font-size: 21px; line-height: 1; }
.pg-answers details[open] summary span { transform: rotate(45deg); }
.pg-answers details p { padding-bottom: 17px; }
.pg-guide .pg-disclaimer { margin-top: 14px; font-size: 12px; line-height: 1.55; color: var(--vs-color-muted); }
[data-theme=dark] .pg-setup .pg-shot { --shot-bg: #233d30; --shot-rule: rgb(171 231 191 / .09); }
@supports (grid-template-rows: subgrid) {
    @media (min-width: 761px) {
        .pg-steps { row-gap: 0; }
        .pg-step { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
    }
}
@media (max-width: 760px) {
    .pg-hero-inner, .pg-steps, .pg-share, .pg-rules { grid-template-columns: minmax(0, 1fr); }
    .pg-hero-inner { gap: 26px; padding-block: 30px 20px; }
    .pg-hero h1 { font-size: clamp(38px, 8.2vw, 54px); }
    .pg-hero-copy>p { margin: 12px 0 18px; }
    .pg-hero-figure { width: min(100%, 510px); justify-self: center; }
    .pg-hero-figure .pg-capture { transform: none; }
    .pg-hero-figure figcaption { margin-top: 10px; }
    .pg-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
    .pg-index a { font-size: 13px; padding-block: 7px; }
    .pg-steps { gap: 32px; }
    .pg-step-copy { margin-bottom: 15px; }
    .pg-shot { min-height: 0; padding: 16px; }
    .pg-rules { gap: 15px; }
}
