/* UI brand-v1: info pages (about, terms, privacy, packaging, branding, videos). Solid colours only. Roll back: UI_VERSION=classic */
.dp { padding-bottom: 80px; }
.dp-hero { padding: 48px 0 40px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dp-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.dp-crumbs a { color: var(--muted); border-bottom: 1px solid transparent; }
.dp-crumbs a:hover { color: var(--accent); border-color: currentColor; }
.dp-h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.03em; color: var(--ink); max-width: 20ch; }
.dp-h1 .dh-em { font-size: 1.08em; color: var(--accent); }
.dp-updated { margin-top: 14px !important; color: var(--muted); font-size: 14px; }
.dp-hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.dp-hero-split .dh-lead { margin-top: 20px; }
.dp-hero-media img { border-radius: 18px; width: 100%; height: auto; object-fit: cover; }
.dp-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.dp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.dp-stats > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.dp-stats b { display: block; font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.02em; color: var(--accent); }
.dp-stats span { color: var(--muted); font-size: 14px; }

.dp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; margin-top: 40px; align-items: start; }

/* prose */
.dp-prose { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 48px); font-size: 17px; line-height: 1.7; color: #2B251F; min-width: 0; }
.dp-prose > :first-child { margin-top: 0; }
.dp-prose h2 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin: 44px 0 14px; }
.dp-prose h3 { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); margin: 28px 0 8px; }
.dp-prose h4 { font-weight: 600; font-size: 17px; margin: 22px 0 6px; color: var(--ink); }
.dp-prose p, .dp-prose ul, .dp-prose ol, .dp-prose table { margin: 0 0 16px; }
.dp-prose ul, .dp-prose ol { padding-left: 22px; }
.dp-prose ul { list-style: disc; }
.dp-prose ol:not(.dp-steps) { list-style: decimal; }
.dp-prose li { margin-bottom: 6px; }
.dp-prose li::marker { color: var(--accent); }
.dp-prose a { color: var(--accent-ink); border-bottom: 1px solid currentColor; }
.dp-prose a:hover { color: var(--accent); }
.dp-prose strong, .dp-prose b { color: var(--ink); }
.dp-prose .lead { font-size: 19px; color: var(--ink); line-height: 1.6; }
.dp-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.dp-prose th, .dp-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.dp-prose th { background: var(--cream); color: var(--ink); font-weight: 600; }
.dp-prose img { border-radius: 12px; height: auto; }
.dp-prose details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: var(--paper); }
.dp-prose summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.dp-prose summary::-webkit-details-marker { display: none; }
.dp-prose summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; color: var(--accent); }
.dp-prose details[open] summary::after { content: "\2212"; }
.dp-prose details > p { margin-bottom: 14px; }

.dp-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.dp-prose .dp-service { display: block; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--paper); color: inherit; transition: border-color .2s; }
.dp-prose .dp-service:hover { border-color: var(--accent); color: inherit; }
.dp-service b { display: block; margin-bottom: 4px; }
.dp-service span { font-size: 15px; color: var(--muted); line-height: 1.5; }
.dp-steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.dp-steps li { counter-increment: s; position: relative; padding-left: 48px; margin-bottom: 14px; }
.dp-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; display: grid; place-items: center; }

/* videos */
.de-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 16px; }
.de-videos figure { margin: 0; }
.de-videos iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; background: var(--tile); display: block; }
.de-videos figcaption { font-weight: 600; font-size: 15px; color: var(--ink); margin-top: 8px; }

/* sidebar */
.dp-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.dp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.dp-aside-h { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 12px !important; }
.dp-links { list-style: none; padding: 0; margin: 0; }
.dp-links a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.dp-links a:hover { background: var(--cream); color: var(--accent-ink); }
.dp-links a[aria-current="page"] { background: var(--peach); color: var(--accent-ink); font-weight: 600; }
.dp-cta { background: var(--ink); border-color: var(--ink); color: #E9E2D7; }
.dp-cta .dp-aside-h { color: #fff; }
.dp-cta p { font-size: 15px; line-height: 1.55; margin-bottom: 16px !important; }
.dp-cta .dh-btn { width: 100%; margin-top: 8px; }
.dp-cta .dh-btn-line { color: #fff; border-color: #5A5048; }
.dp-cta .dh-btn-line:hover { color: #fff; border-color: #fff; }

@media (max-width: 991px) {
    .dp-grid, .dp-hero-split { grid-template-columns: 1fr; }
    .dp-aside { position: static; }
    .dp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .dp-hero { padding: 28px 0; }
    .dp-services, .de-videos { grid-template-columns: 1fr; }
    .dp-prose { font-size: 16px; }
}
