/* DPDP service page: readiness check opening and page skin. Prefix dp-. */
:root { --dp-ink: #0d1f2d; --dp-teal: #0e7c86; --dp-amber: #d97706; --dp-red: #dc2626; --dp-ok: #059669; --dp-muted: #557080; --dp-line: rgba(13, 31, 45, .12); --dp-soft: #eef6f7; }

.dp-hero-sec { position: relative; overflow: hidden; padding: 64px 0 72px; background: radial-gradient(700px 420px at 90% 10%, #d9eef0 0%, transparent 65%), linear-gradient(180deg, #f6fafb 0%, #fff 100%); }
.dp-hero-sec::before { content: ""; position: absolute; right: -60px; top: -60px; width: 360px; height: 360px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e7c86' stroke-width='.6' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 3v6c0 5-3.5 9.5-8 11-4.5-1.5-8-6-8-11V5z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .08; pointer-events: none; }
.dp-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.dp-kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--dp-line); font-size: 13px; font-weight: 600; color: var(--dp-teal); }
.dp-copy h1 { margin: 18px 0 0; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.02em; color: var(--dp-ink); }
.dp-copy h1 span { color: var(--dp-teal); }
.dp-text { margin: 18px 0 0; max-width: 540px; font-size: 17px; line-height: 1.7; color: var(--dp-muted); }
.dp-btns { margin-top: 26px; }
.dp-note { margin: 14px 0 0; font-size: 13.5px; color: var(--dp-muted); }

.dp-check { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--dp-line); box-shadow: 0 40px 70px -46px rgba(13, 31, 45, .55); }
.dp-head { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--dp-line); }
.dp-score { position: relative; flex: none; width: 84px; height: 84px; }
.dp-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dp-track { fill: none; stroke: #e3edef; stroke-width: 10; }
.dp-fill { --to: 100; fill: none; stroke: var(--dp-teal); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: var(--to); transition: stroke-dashoffset .6s cubic-bezier(.2, .8, .2, 1), stroke .3s; }
.dp-score span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--dp-muted); }
.dp-score b { font-size: 24px; color: var(--dp-ink); }
.dp-score span { display: flex; align-items: center; justify-content: center; }
.dp-head small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dp-teal); }
.dp-verdict { display: block; margin-top: 4px; font-size: 16px; line-height: 1.4; color: var(--dp-ink); }
.dp-check.low .dp-fill { stroke: var(--dp-red); } .dp-check.mid .dp-fill { stroke: var(--dp-amber); } .dp-check.high .dp-fill { stroke: var(--dp-ok); }
.dp-qs { list-style: none; margin: 0; padding: 0; counter-reset: dpq; }
.dp-qs li { counter-increment: dpq; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--dp-line); }
.dp-qs li:last-child { border-bottom: 0; padding-bottom: 0; }
.dp-qs p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--dp-ink); }
.dp-qs p::before { content: counter(dpq) ". "; font-weight: 700; color: var(--dp-teal); }
.dp-ans { display: flex; gap: 6px; }
.dp-ans button { min-width: 52px; padding: 7px 12px; border-radius: 10px; border: 1.5px solid var(--dp-line); background: #fff; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--dp-muted); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.dp-ans button:hover { border-color: var(--dp-teal); color: var(--dp-ink); }
.dp-ans button[data-dp-a="yes"][aria-pressed="true"] { background: var(--dp-ok); border-color: var(--dp-ok); color: #fff; }
.dp-ans button[data-dp-a="no"][aria-pressed="true"] { background: var(--dp-red); border-color: var(--dp-red); color: #fff; }
.dp-ans button:focus-visible { outline: 3px solid var(--dp-teal); outline-offset: 2px; }
.dp-fix { grid-column: 1 / -1; display: none; padding: 8px 12px; border-radius: 10px; background: #fff4f4; font-size: 13px; line-height: 1.5; color: #7f1d1d; animation: dp-in .3s ease-out; }
.dp-qs li.no .dp-fix { display: block; }
@keyframes dp-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

body:has(.dp-hero-sec) main .sv-intro { background: var(--dp-soft) !important; color: var(--dp-ink) !important; border-color: #d5e8ea !important; }

@media (max-width: 960px) {
    .dp-hero { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 560px) {
    .dp-hero-sec { padding: 40px 0 48px; }
    .dp-text { font-size: 16px; }
    .dp-check { padding: 16px; }
    .dp-qs li { grid-template-columns: minmax(0, 1fr); }
    .dp-score { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
    .dp-fill { transition: none; }
    .dp-fix { animation: none; }
}

/* ---- Light sections below the readiness check: service documents and the compliance checklist. ---- */
.dp-docs-sec { background: var(--dp-soft); }
.dp-docs { list-style: none; margin: 36px auto 0; padding: 0; max-width: 1140px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dp-doc { --fold: 26px; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 22px; background: linear-gradient(225deg, transparent var(--fold), #fff var(--fold)); border-radius: 16px 0 16px 16px; filter: drop-shadow(0 14px 22px rgba(13, 31, 45, .08)); transition: transform .25s, --fold .25s; }
.dp-doc::after { content: ""; position: absolute; top: 0; right: 0; width: calc(var(--fold) * 1.414 / 1.414); height: var(--fold); background: linear-gradient(225deg, transparent 50%, #cfe4e7 50%); border-radius: 0 0 0 6px; transition: width .25s, height .25s; }
.dp-doc:hover { transform: translateY(-5px); --fold: 40px; }
.dp-doc-top { display: flex; justify-content: space-between; align-items: center; padding-right: 22px; }
.dp-doc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #dff0f2; }
.dp-doc-ic img { width: 22px; height: 22px; }
.dp-doc-ref { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; color: var(--dp-teal); }
.dp-doc h3 { margin: 6px 0 0; font-size: 18px; line-height: 1.3; color: var(--dp-ink); }
.dp-doc p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--dp-muted); }
.dp-doc-lines { display: grid; gap: 6px; margin: 6px 0 4px; flex: 1; align-content: end; }
.dp-doc-lines i { display: block; height: 5px; border-radius: 4px; background: #eaf2f3; }
.dp-doc-lines i:nth-child(2) { width: 82%; }
.dp-doc-lines i:nth-child(3) { width: 58%; }
.dp-doc-get { display: flex; gap: 8px; align-items: center; padding-top: 12px; border-top: 1px dashed var(--dp-line); font-size: 13.5px; font-weight: 700; color: var(--dp-ink); }
.dp-doc-get svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--dp-ok); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.dp-cl-sec { background: #fff; }
.dp-cl { max-width: 860px; margin: 32px auto 0; }
.dp-cl-meter { position: sticky; top: 84px; z-index: 5; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 14px; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .94); border: 1px solid var(--dp-line); box-shadow: 0 14px 30px -24px rgba(13, 31, 45, .45); backdrop-filter: blur(6px); }
.dp-cl-meter > span:first-child { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dp-muted); }
.dp-cl-meter b { font-size: 22px; color: var(--dp-teal); font-variant-numeric: tabular-nums; }
.dp-cl-bar { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: #e6eff1; overflow: hidden; }
.dp-cl-bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--dp-amber), var(--dp-teal) 60%, var(--dp-ok)); transition: width .35s ease; }
.dp-cl-meter em { grid-column: 1 / -1; justify-self: start; font-style: normal; font-size: 13px; font-weight: 700; color: var(--dp-ok); opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; height: 0; }
.dp-cl.done .dp-cl-meter em { opacity: 1; transform: none; height: auto; }
.dp-cl ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.dp-cl-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--dp-line); background: #fff; transition: border-color .3s, background .3s; }
.dp-cl-box { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 1px; border-radius: 8px; border: 2px solid #c3d6da; background: #fff; transition: background .3s, border-color .3s; }
.dp-cl-box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s ease .1s; }
.dp-cl-item h3 { margin: 2px 0 0; font-size: 17px; color: var(--dp-ink); }
.dp-cl-item h3 small { margin-right: 10px; font-size: 13px; color: var(--dp-teal); font-variant-numeric: tabular-nums; }
.dp-cl-item p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--dp-muted); }
.dp-cl-item.on { border-color: #b5dcd0; background: #f3fbf8; }
.dp-cl-item.on .dp-cl-box { background: var(--dp-ok); border-color: var(--dp-ok); }
.dp-cl-item.on .dp-cl-box svg { stroke-dashoffset: 0; }
@media (max-width: 960px) { .dp-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .dp-docs { grid-template-columns: 1fr; }
    .dp-cl-meter { top: 70px; padding: 12px 14px; }
    .dp-cl-item { padding: 16px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .dp-doc, .dp-cl-bar i, .dp-cl-box, .dp-cl-box svg, .dp-cl-item { transition: none; } }
