

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--pp-text); outline-offset: 2px; }
.pp-footer :focus-visible { outline-color: var(--pp-primary); }

html, body {
    margin: 0;
    padding: 0;
    background: var(--pp-bg);
    font-family: var(--pp-font-ui);
    color: var(--pp-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
a { color: inherit; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border-radius: 8px;
    z-index: 100;
    font-weight: 600;
}

.pp-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (min-width: 768px) {
    .pp-wrap { padding: 0 40px; }
}


.pp-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 249, 247, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--pp-border);
}
.pp-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.pp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.pp-brand-mark {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: var(--pp-primary);
    overflow: hidden;
    display: flex;
}
.pp-brand-mark img, .pp-brand-mark picture { width: 32px; height: 32px; object-fit: cover; }
.pp-brand-name {
    font-family: var(--pp-font-display);
    font-weight: 700;
    font-size: 21px;
    color: var(--pp-text);
    letter-spacing: -0.4px;
}
.pp-nav-cta {
    min-height: 44px;
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}


.pp-crumbs {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding-top: 22px;
    font-size: 13px;
    color: var(--pp-neutral-ink);
    font-weight: 500;
}
.pp-crumbs a { text-decoration: none; display: inline-block; padding: 4px 0; margin: -4px 0; } /* 24px tap, line unmoved */
.pp-crumbs a:hover { text-decoration: underline; }
.pp-crumbs span[aria-current] { color: var(--pp-text); font-weight: 600; }
.pp-hero { padding: 22px 0 8px; }
.pp-name {
    font-family: var(--pp-font-display);
    font-weight: 700;
    font-size: clamp(28px, 4.4vw, 38px);
    color: var(--pp-text);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.12;
}
.pp-lede {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.55;
    color: var(--pp-neutral-ink);
    max-width: 640px;
}
.pp-section { margin-top: 30px; }
.pp-section-title {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 22px;
    color: var(--pp-text);
    margin: 0 0 12px;
    letter-spacing: -0.2px;
}
.pp-card {
    background: var(--pp-card);
    border: 1px solid var(--pp-border);
    border-radius: 14px;
    box-shadow: var(--pp-shadow-card);
}


.pp-prefill {
    margin-top: 22px;
    padding: 16px 18px;
    border-left: 4px solid var(--pp-primary);
}
.pp-prefill-lede {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--pp-text);
}
.pp-prefill-note {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--pp-neutral-ink);
}
.pp-prefill-back {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pp-text);
}


/* r27: numbered dots on one hairline; labels under them on phones, beside them from 600px. */
.pp-steps { display: flex; margin-bottom: 18px; }
.pp-step {
    position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
    color: var(--pp-neutral-ink);
}
.pp-step:last-child { flex: none; }
.pp-step:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: 30px; right: 8px; height: 1px; background: var(--pp-border); }
.pp-step-dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--pp-border); text-align: center; font-size: 11px; line-height: 19px; font-weight: 700; }
.pp-step-dot span { font-size: 0; } /* the "1." period: still read, never drawn */
.pp-step.is-active { color: var(--pp-text); }
.pp-step.is-active .pp-step-dot { border-color: var(--pp-text); }
.pp-step.is-active::after { background: var(--pp-text); }
.pp-step[aria-current="step"] { font-weight: 700; }
.pp-step[aria-current="step"] .pp-step-dot { background: var(--pp-primary); border-color: var(--pp-primary); }
.pp-step[aria-current="step"]::after { background: var(--pp-border); }
@media (min-width: 600px) {
    .pp-step { flex-direction: row; align-items: center; gap: 8px; font-size: 13px; }
    .pp-step:not(:last-child)::after { position: static; flex: 1; min-width: 16px; margin: 0 4px; }
}


.pp-req-form { position: relative; scroll-margin-top: 8px; }
/* r27: the card only from 600px; on phones the fields take the full content width. */
@media (min-width: 600px) {
    .pp-req-card { padding: 22px; background: var(--pp-card); border: 1px solid var(--pp-border); border-radius: 14px; box-shadow: var(--pp-shadow-card); }
    .pp-req-card > .pp-alert-fold { margin-bottom: -12px; border-bottom: 0; }
}
.pp-req-submit { scroll-margin-top: 8px; }

.pp-field { margin-bottom: 16px; scroll-margin-top: 8px; }
.pp-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--pp-text);
}
.pp-field input, .pp-field select, .pp-field textarea {
    width: 100%;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1.5px solid var(--pp-border);
    background: #fff;
    font-size: 16px;
    font-family: inherit;
    color: var(--pp-text);
}
.pp-field input:focus, .pp-field select:focus, .pp-field textarea:focus {
    outline: none;
    border-color: var(--pp-text);
    box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.12);
}
.pp-field [aria-invalid="true"] { border-color: #b3261e; }
.pp-field [aria-invalid="true"]:focus {
    border-color: #b3261e;
    box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.14);
}
.pp-field textarea { resize: vertical; }
.pp-field #fCode { max-width: 220px; font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.pp-field-note {
    margin: 7px 0 0;
    font-size: 12px;
    color: var(--pp-neutral-ink);
}
.pp-field-note a { font-weight: 600; }
.pp-field-note--count { display: flex; justify-content: space-between; gap: 12px; }
.pp-count { flex: none; font-variant-numeric: tabular-nums; }

.pp-field-error {
    margin: 7px 0 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #b3261e;
}
.pp-field-error[hidden] { display: none; }

.pp-field-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pp-field-row .pp-field { flex: 1 1 160px; }

.pp-field-dates > .pp-field-error { margin: -9px 0 16px; }
.pp-field-dates > .pp-field-note { margin: -9px 0 16px; }
.pp-agree-wrap { margin: 4px 0 16px; scroll-margin-top: 8px; }
.pp-agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
    color: var(--pp-neutral-ink);
}
.pp-agree, .pp-agree input { cursor: pointer; }
.pp-agree input { margin-top: 2px; }
.pp-agree input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 1px; }
.pp-agree a { font-weight: 600; }
.pp-agree-wrap .pp-field-error { padding-left: 30px; }

.pp-req-hp {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    opacity: 0;
}
.pp-btn-primary {
    background: var(--pp-text);
    color: var(--pp-text-on-dark);
    border: none;
    border-radius: 14px;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    transition: transform 180ms var(--pp-ease-out);
}
.pp-btn-primary:active, .pp-nav-cta:active { transform: scale(0.97); }
.pp-btn-primary:disabled { opacity: 0.6; cursor: default; }

.pp-btn-primary[aria-busy="true"] { opacity: 0.85; cursor: progress; }
.pp-spinner {
    width: 14px; height: 14px;
    flex: none;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    animation: pp-spin 0.75s linear infinite;
}
@keyframes pp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .pp-spinner { animation-duration: 2s; }
}
#resendLink[aria-disabled="true"] { cursor: progress; text-decoration: none; }
.pp-req-note { margin: 12px 0 0; font-size: 13px; color: var(--pp-neutral-ink); min-height: 18px; }
.pp-req-note.is-error { color: #b3261e; font-weight: 600; }
.pp-panel-title {
    font-family: var(--pp-font-ui);
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 8px;
    color: var(--pp-text);
}
.pp-panel-sub {
    font-size: 14px;
    line-height: 1.55;
    color: var(--pp-neutral-ink);
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}
.pp-panel-sub a { font-weight: 600; }
.pp-panel-sub.is-error { color: #b3261e; font-weight: 600; }
/* The way out when a code doesn't arrive: 44px tall to tap, same line on screen. */
#resendLink, #editLink { display: inline-block; padding: 13px 0; margin: -13px 0; }
/* Headings that take focus when a panel opens keep the page's ring, not the browser's blue box. */
h2[tabindex="-1"]:focus, .pp-panel-sub[tabindex="-1"]:focus { outline: none; }
h2[tabindex="-1"]:focus-visible, .pp-panel-sub[tabindex="-1"]:focus-visible { outline: 2px solid var(--pp-text); outline-offset: 4px; border-radius: 4px; }
.pp-req-success { border-left: 4px solid var(--pp-primary); padding-left: 16px; }
.pp-cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.store-badge { display: inline-flex; transition: transform 0.18s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { display: block; }
.store-badge[hidden] { display: none; }


/* r27: box-less numbered rows, then a plain browse link under a hairline. */
.pp-dir-why ol { list-style: none; counter-reset: how; margin: -12px 0 0; padding: 0; }
.pp-dir-why li {
    counter-increment: how; position: relative; padding: 12px 0 12px 38px;
    font-size: 14px; line-height: 1.55;
    color: var(--pp-neutral-ink);
}
.pp-dir-why li + li { border-top: 1px solid var(--pp-border); }
.pp-dir-why li::before { content: counter(how); position: absolute; left: 0; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--pp-primary); color: var(--pp-text); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pp-dir-why strong { color: var(--pp-text); }
.pp-req-more { border-top: 1px solid var(--pp-border); padding-top: 24px; }
.pp-events-crosslink p {
    margin: 0; font-size: 14px; line-height: 1.5;
    color: var(--pp-neutral-ink);
}
.pp-req-browse {
    display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 15px; font-weight: 700;
    color: var(--pp-text);
}
.pp-service-chev { color: var(--pp-text-tertiary); flex-shrink: 0; }


.pp-footer {
    margin-top: 80px;
    background: var(--pp-text);
    color: rgba(253,252,250,0.72);
}
.pp-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    align-items: flex-start;
}
.pp-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pp-footer p { font-size: 13px; line-height: 1.55; margin: 0; max-width: 280px; }
.pp-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.pp-footer-links a { font-size: 14px; color: inherit; text-decoration: none; }
.pp-footer-links a:hover { color: rgba(253,252,250,0.95); }
.pp-footer-contact { font-size: 13px; line-height: 1.7; }
.pp-footer-contact a { display: inline-block; min-height: 24px; color: inherit; text-decoration: none; }
.pp-footer-contact a:hover { color: rgba(253,252,250,0.95); }
.pp-footer-bottom {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 20px 24px 24px;
    border-top: 1px solid rgba(253,252,250,0.12);
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 8px;
    font-size: 12px;
}


.pp-assist[hidden] { display: none; }
.pp-assist-button { min-height: 44px; margin-top: 10px; padding: 9px 14px; border: 1px solid var(--pp-neutral-ink); border-radius: 12px; background: transparent; color: var(--pp-neutral-ink); font: inherit; font-weight: 700; cursor: pointer; }
.pp-assist-button:disabled { cursor: default; opacity: .65; }
.pp-assist-button:focus-visible { outline: 2px solid var(--pp-neutral-ink); outline-offset: 3px; }

/* Optional details stay out of the short path; native disclosure works by keyboard. */
.pp-optional { margin-bottom: 16px; border-block: 1px solid var(--pp-border); }
.pp-optional summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-size: 14px; font-weight: 700; }
.pp-optional > .pp-field-note { margin: 0 0 16px; }
/* Care alert: its own task behind the same disclosure, below the request. The
   summary names it, so the shared capture drops its card and visual heading. */
.pp-alert-fold { margin-top: 4px; scroll-margin-top: 10px; }
.pp-alert-fold .pp-demand-capture { margin: 0 0 20px; padding: 0; border: 0; background: transparent; scroll-margin-top: 86px; }
.pp-alert-fold .pp-demand-capture h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#editLink[aria-disabled="true"] { cursor: progress; text-decoration: none; }

/* Author display rules must not reveal a pending/failed handoff link. */
.pp-btn-primary[hidden] { display: none; }
.pp-btn-secondary { background: transparent; color: var(--pp-text); border: 1px solid var(--pp-border); }

/* Desktop: form left, "How it works" + browse beside it (sticky). */
@media (min-width: 1100px) {
    .pp-wrap.pp-wrap-wide { max-width: 1160px; }
    .pp-wrap-wide .pp-hero { max-width: 720px; }
    .pp-req-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 48px; align-items: start; }
    .pp-req-aside { position: sticky; top: 84px; }
}

/* Headings wrap evenly instead of leaving one word alone on the last line. */
h1, h2, h3 { text-wrap: balance; }
/* Dark buttons answer the pointer, as the marketing pages' buttons do. */
@media (hover: hover) {
    .pp-btn-primary:hover, .pp-nav-cta:hover { background: #503521; box-shadow: var(--pp-shadow-hover); }
    .pp-btn-secondary:hover { border-color: var(--pp-text-tertiary); box-shadow: var(--pp-shadow-hover); }
}
