:root {
    --pd-ink: #17152f;
    --pd-ink-soft: #5f5a78;
    --pd-bg: #fbfaff;
    --pd-surface: #ffffff;
    --pd-surface-soft: #f3f0fb;
    --pd-line: rgba(65, 52, 128, 0.13);
    --pd-primary: #5746d9;
    --pd-primary-deep: #3929a7;
    --pd-secondary: #9b4ed0;
    --pd-gold: #d5a80f;
    --pd-green: #178b57;
    --pd-shadow: 0 28px 80px -40px rgba(44, 30, 114, 0.48);
    --pd-radius-sm: 16px;
    --pd-radius-md: 24px;
    --pd-radius-lg: 34px;
}

.dark {
    --pd-ink: #f7f5ff;
    --pd-ink-soft: #bbb5d2;
    --pd-bg: #0d0b18;
    --pd-surface: #171326;
    --pd-surface-soft: #211b35;
    --pd-line: rgba(201, 191, 255, 0.14);
    --pd-primary: #8f81ff;
    --pd-primary-deep: #b2a8ff;
    --pd-secondary: #d181ff;
    --pd-gold: #e5c34e;
    --pd-green: #59d69d;
    --pd-shadow: 0 28px 90px -42px rgba(0, 0, 0, 0.9);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body.pd-page {
    margin: 0;
    overflow-x: hidden;
    background: var(--pd-bg);
    color: var(--pd-ink);
}

.pd-page *,
.pd-page *::before,
.pd-page *::after {
    box-sizing: border-box;
}

.pd-shell {
    width: min(1160px, calc(100% - 2rem));
    margin-inline: auto;
}

.pd-section {
    position: relative;
    padding-block: clamp(5rem, 9vw, 8rem);
}

.pd-section-wash {
    background:
        radial-gradient(circle at 85% 12%, rgba(87, 70, 217, 0.13), transparent 31rem),
        linear-gradient(180deg, var(--pd-surface-soft), var(--pd-bg));
}

.pd-kicker {
    margin: 0 0 0.8rem;
    color: var(--pd-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.pd-heading {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.15rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.pd-heading-center {
    margin-inline: auto;
    text-align: center;
}

.pd-lede {
    max-width: 680px;
    margin: 1.25rem 0 0;
    color: var(--pd-ink-soft);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.75;
}

.pd-lede-center {
    margin-inline: auto;
    text-align: center;
}

.pd-hero {
    position: relative;
    min-height: 100svh;
    overflow: clip;
    display: flex;
    align-items: center;
    padding: 7.5rem 0 4rem;
    background:
        radial-gradient(circle at 18% 22%, rgba(155, 78, 208, 0.18), transparent 30rem),
        radial-gradient(circle at 82% 38%, rgba(87, 70, 217, 0.24), transparent 32rem),
        linear-gradient(180deg, #f8f6ff 0%, var(--pd-bg) 78%);
}

.dark .pd-hero {
    background:
        radial-gradient(circle at 18% 22%, rgba(155, 78, 208, 0.16), transparent 30rem),
        radial-gradient(circle at 82% 38%, rgba(87, 70, 217, 0.24), transparent 32rem),
        linear-gradient(180deg, #100d20 0%, var(--pd-bg) 78%);
}

.pd-hero::before {
    position: absolute;
    inset: -20%;
    content: "";
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.38), transparent 48%);
    transform: translate3d(12%, -8%, 0);
}

.pd-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
}

.pd-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.3rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--pd-line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--pd-surface) 82%, transparent);
    color: var(--pd-primary-deep);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 12px 36px -24px rgba(42, 28, 108, 0.5);
    backdrop-filter: blur(16px);
}

.pd-eyebrow-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--pd-green);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--pd-green) 15%, transparent);
}

.pd-title {
    max-width: 720px;
    margin: 0;
    font-size: clamp(3.3rem, 8vw, 6.5rem);
    font-weight: 850;
    letter-spacing: -0.065em;
    line-height: 0.92;
}

.pd-title-accent {
    color: var(--pd-primary);
}

.pd-hero-copy {
    max-width: 610px;
    margin: 1.6rem 0 0;
    color: var(--pd-ink-soft);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.7;
}

.pd-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    margin-top: 2rem;
}

.pd-app-store {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    border-radius: 14px;
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 180ms ease;
}

.pd-app-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -24px rgba(23, 21, 47, 0.7);
}

.pd-app-store:active {
    transform: scale(0.98);
}

.pd-app-store img {
    display: block;
    width: auto;
    height: 56px;
}

.pd-secondary-button {
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    padding-inline: 1.4rem;
    border: 1px solid var(--pd-line);
    border-radius: 14px;
    background: var(--pd-surface);
    color: var(--pd-ink);
    font-weight: 750;
    text-decoration: none;
    transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), border-color 180ms ease;
}

.pd-secondary-button:hover {
    border-color: color-mix(in srgb, var(--pd-primary) 50%, var(--pd-line));
    transform: translateY(-2px);
}

.pd-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.1rem;
    margin: 1.4rem 0 0;
    padding: 0;
    color: var(--pd-ink-soft);
    font-size: 0.86rem;
    list-style: none;
}

.pd-proof-row li::before {
    margin-right: 0.4rem;
    color: var(--pd-green);
    content: "✓";
    font-weight: 900;
}

.pd-phone-stage {
    position: relative;
    width: min(430px, 88vw);
    margin-inline: auto;
    padding: 2rem;
}

.pd-phone-stage::before,
.pd-phone-stage::after {
    position: absolute;
    border: 1px solid color-mix(in srgb, var(--pd-primary) 22%, transparent);
    border-radius: 46%;
    content: "";
    pointer-events: none;
}

.pd-phone-stage::before {
    inset: 7% -12%;
    transform: rotate(-7deg);
}

.pd-phone-stage::after {
    inset: 16% -20%;
    transform: rotate(11deg);
}

.pd-phone {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 2.7rem;
    background: #e8e8f7;
    box-shadow: var(--pd-shadow);
    transform: rotate(2deg);
}

.pd-phone img {
    display: block;
    width: 100%;
    height: auto;
}

.pd-scan-line {
    position: absolute;
    z-index: 3;
    top: 10%;
    right: 7%;
    left: 7%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #ffffff 18%, var(--pd-primary) 50%, #ffffff 82%, transparent);
    box-shadow: 0 0 18px 4px rgba(143, 129, 255, 0.6);
}

.pd-float-card {
    position: absolute;
    z-index: 4;
    min-width: 160px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--pd-radius-sm);
    background: color-mix(in srgb, var(--pd-surface) 88%, transparent);
    box-shadow: 0 18px 48px -28px rgba(23, 21, 47, 0.7);
    backdrop-filter: blur(18px);
}

.pd-float-card-top {
    top: 9%;
    left: -8%;
}

.pd-float-card-bottom {
    right: -12%;
    bottom: 17%;
}

.pd-float-label {
    margin: 0;
    color: var(--pd-ink-soft);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-float-value {
    margin: 0.2rem 0 0;
    color: var(--pd-ink);
    font-size: 1rem;
    font-weight: 800;
}

.pd-float-value strong {
    color: var(--pd-green);
}

.pd-step-grid,
.pd-feature-grid {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
}

.pd-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-md);
    background: var(--pd-surface);
    box-shadow: 0 18px 60px -48px rgba(44, 30, 114, 0.7);
}

.pd-lift {
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, border-color 240ms ease;
}

.pd-lift:hover {
    border-color: color-mix(in srgb, var(--pd-primary) 42%, var(--pd-line));
    box-shadow: 0 26px 66px -42px rgba(44, 30, 114, 0.58);
    transform: translateY(-5px);
}

.pd-step-card {
    min-height: 255px;
    padding: 1.5rem;
}

.pd-step-number {
    display: grid;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 50%;
    background: var(--pd-surface-soft);
    color: var(--pd-primary);
    font-size: 0.8rem;
    font-weight: 900;
}

.pd-step-card h3,
.pd-feature-card h3 {
    margin: 1.45rem 0 0.65rem;
    color: var(--pd-ink);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.pd-step-card p,
.pd-feature-card p {
    margin: 0;
    color: var(--pd-ink-soft);
    line-height: 1.7;
}

.pd-step-rule {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    overflow: hidden;
    height: 5px;
    border-radius: 999px;
    background: var(--pd-surface-soft);
}

.pd-step-rule::after {
    display: block;
    width: var(--step-fill, 75%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pd-primary), var(--pd-secondary));
    content: "";
    transform-origin: left;
}

.pd-bento {
    display: grid;
    gap: 1rem;
    margin-top: 3rem;
}

.pd-showcase-card {
    display: flex;
    min-height: 620px;
    flex-direction: column;
    padding: clamp(1.4rem, 4vw, 2.4rem);
}

.pd-showcase-card h3 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 820;
    letter-spacing: -0.035em;
}

.pd-showcase-card p {
    max-width: 500px;
    margin: 0.75rem 0 0;
    color: var(--pd-ink-soft);
    line-height: 1.65;
}

.pd-showcase-media {
    position: relative;
    display: flex;
    min-height: 410px;
    flex: 1;
    align-items: flex-start;
    justify-content: center;
    margin-top: 2rem;
}

.pd-showcase-media img {
    display: block;
    width: min(285px, 76%);
    height: auto;
    border-radius: 2.15rem;
    box-shadow: var(--pd-shadow);
}

.pd-showcase-wide {
    min-height: 620px;
}

.pd-showcase-wide .pd-showcase-media {
    margin-top: 2rem;
}

.pd-showcase-wide .pd-showcase-media img {
    width: min(390px, 100%);
}

.pd-showcase-wide-copy {
    position: relative;
    z-index: 2;
    max-width: none;
}

.pd-feature-card {
    min-height: 250px;
    padding: 1.5rem;
}

.pd-feature-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.1rem;
    height: 2rem;
    padding-inline: 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--pd-primary) 12%, var(--pd-surface));
    color: var(--pd-primary);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.07em;
}

.pd-seo-grid {
    display: grid;
    align-items: start;
    gap: 2.5rem;
}

.pd-seo-list {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-seo-list li {
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-sm);
    background: var(--pd-surface);
    color: var(--pd-ink-soft);
    line-height: 1.55;
}

.pd-seo-list strong {
    display: block;
    margin-bottom: 0.18rem;
    color: var(--pd-ink);
}

.pd-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    color: var(--pd-primary);
    font-weight: 800;
    text-decoration: none;
}

.pd-text-link::after {
    content: "→";
    transition: transform 160ms ease;
}

.pd-text-link:hover::after {
    transform: translateX(4px);
}

.pd-faq {
    display: grid;
    gap: 0.8rem;
    max-width: 820px;
    margin: 3rem auto 0;
}

.pd-faq details {
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-sm);
    background: var(--pd-surface);
}

.pd-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.4rem;
    color: var(--pd-ink);
    cursor: pointer;
    font-weight: 780;
    list-style: none;
}

.pd-faq summary::-webkit-details-marker {
    display: none;
}

.pd-faq summary::after {
    flex: 0 0 auto;
    color: var(--pd-primary);
    content: "+";
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 180ms ease;
}

.pd-faq details[open] summary::after {
    transform: rotate(45deg);
}

.pd-faq details p {
    margin: 0;
    padding: 0 1.4rem 1.4rem;
    color: var(--pd-ink-soft);
    line-height: 1.75;
}

.pd-cta {
    overflow: hidden;
    padding-block: clamp(4rem, 9vw, 7rem);
}

.pd-cta-card {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 7vw, 5rem);
    border-radius: var(--pd-radius-lg);
    background: #201850;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 34px 90px -42px rgba(36, 22, 108, 0.76);
}

.pd-cta-card::before,
.pd-cta-card::after {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    content: "";
    filter: blur(6px);
}

.pd-cta-card::before {
    top: -15rem;
    left: -7rem;
    background: rgba(155, 78, 208, 0.55);
}

.pd-cta-card::after {
    right: -10rem;
    bottom: -16rem;
    background: rgba(87, 70, 217, 0.72);
}

.pd-cta-content {
    position: relative;
    z-index: 2;
}

.pd-cta-card h2 {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(2.3rem, 6vw, 4.5rem);
    font-weight: 840;
    letter-spacing: -0.05em;
    line-height: 1;
}

.pd-cta-card p {
    max-width: 570px;
    margin: 1.2rem auto 1.8rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
}

.pd-cta-card .pd-app-store {
    padding: 4px;
    background: #ffffff;
}

:where(.pd-page a, .pd-page button, .pd-page summary):focus-visible {
    outline: 3px solid var(--pd-primary);
    outline-offset: 4px;
}

/* Guides */
.pd-guide-hero {
    padding: 7.5rem 0 3.5rem;
    background:
        radial-gradient(circle at 80% 18%, rgba(87, 70, 217, 0.18), transparent 28rem),
        linear-gradient(180deg, #f8f6ff, var(--pd-bg));
}

.dark .pd-guide-hero {
    background:
        radial-gradient(circle at 80% 18%, rgba(87, 70, 217, 0.22), transparent 28rem),
        linear-gradient(180deg, #100d20, var(--pd-bg));
}

.pd-kb-page .pd-guide-hero {
    padding-bottom: 1.25rem;
}

.pd-kb-page .pd-guide-hero + .pd-section {
    padding-top: clamp(2.25rem, 4vw, 3.25rem);
}

.pd-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 2rem;
    padding: 0;
    color: var(--pd-ink-soft);
    font-size: 0.85rem;
    list-style: none;
}

.pd-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.pd-breadcrumbs a:hover {
    color: var(--pd-primary);
}

.pd-guide-title {
    max-width: 920px;
    margin: 0;
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    font-weight: 850;
    letter-spacing: -0.06em;
    line-height: 0.98;
}

.pd-guide-dek {
    max-width: 760px;
    margin: 1.4rem 0 0;
    color: var(--pd-ink-soft);
    font-size: clamp(1.08rem, 2.4vw, 1.3rem);
    line-height: 1.7;
}

.pd-guide-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin-top: 1.5rem;
    color: var(--pd-ink-soft);
    font-size: 0.88rem;
}

.pd-guide-byline strong {
    color: var(--pd-ink);
}

.pd-guide-layout {
    display: grid;
    gap: 2rem;
    padding-block: 3rem 6rem;
}

.pd-guide-toc {
    align-self: start;
    padding: 1.25rem;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-sm);
    background: var(--pd-surface);
}

.pd-guide-toc p {
    margin: 0 0 0.7rem;
    color: var(--pd-ink);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pd-guide-toc ol {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding-left: 1.15rem;
    color: var(--pd-ink-soft);
    font-size: 0.9rem;
}

.pd-guide-toc a {
    color: inherit;
    text-decoration: none;
}

.pd-guide-toc a:hover {
    color: var(--pd-primary);
}

.pd-article {
    min-width: 0;
    max-width: 780px;
}

.pd-article h2 {
    margin: 3.5rem 0 1rem;
    color: var(--pd-ink);
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    font-weight: 830;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.pd-article h3 {
    margin: 2.1rem 0 0.7rem;
    color: var(--pd-ink);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pd-article p,
.pd-article li {
    color: var(--pd-ink-soft);
    font-size: 1.04rem;
    line-height: 1.8;
}

.pd-article p {
    margin: 0 0 1.25rem;
}

.pd-article ul,
.pd-article ol {
    margin: 0 0 1.5rem;
    padding-left: 1.35rem;
}

.pd-article li + li {
    margin-top: 0.55rem;
}

.pd-article strong {
    color: var(--pd-ink);
}

.pd-article a {
    color: var(--pd-primary);
    font-weight: 700;
    text-underline-offset: 0.18em;
}

.pd-guide-cover {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 2rem;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-md);
    box-shadow: 0 24px 64px -44px rgba(44, 30, 114, 0.7);
}

.pd-quick-answer {
    margin-bottom: 2rem;
    padding: clamp(1.4rem, 4vw, 2rem);
    border: 1px solid color-mix(in srgb, var(--pd-primary) 34%, var(--pd-line));
    border-radius: var(--pd-radius-md);
    background: color-mix(in srgb, var(--pd-primary) 7%, var(--pd-surface));
}

.pd-quick-answer .pd-kicker {
    margin-bottom: 0.55rem;
}

.pd-quick-answer p:last-child {
    margin-bottom: 0;
    color: var(--pd-ink);
    font-size: 1.08rem;
}

.pd-card-anatomy {
    display: grid;
    gap: 1.25rem;
    margin: 2rem 0 2.5rem;
    padding: clamp(1.2rem, 4vw, 2.25rem);
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-md);
    background: var(--pd-surface-soft);
}

.pd-demo-card {
    position: relative;
    width: min(100%, 320px);
    aspect-ratio: 0.714;
    margin-inline: auto;
    padding: 1rem;
    border: 8px solid #d6b43d;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff6ce, #f0e3a6);
    color: #1a1830;
    box-shadow: 0 26px 58px -34px rgba(38, 27, 92, 0.65);
}

.pd-demo-card-head,
.pd-demo-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.72rem;
    font-weight: 900;
}

.pd-demo-card-art {
    display: grid;
    min-height: 42%;
    place-items: center;
    margin: 0.75rem 0;
    border: 4px solid rgba(73, 57, 25, 0.18);
    background:
        radial-gradient(circle at 60% 38%, rgba(255, 255, 255, 0.85), transparent 18%),
        linear-gradient(145deg, #7868df, #ad65cc 55%, #efb455);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pd-demo-card-copy {
    display: grid;
    gap: 0.55rem;
    padding: 0.25rem 0.15rem 1rem;
}

.pd-demo-card-copy span {
    height: 5px;
    border-radius: 999px;
    background: rgba(48, 39, 25, 0.2);
}

.pd-demo-card-copy span:nth-child(2) {
    width: 78%;
}

.pd-demo-card-copy span:nth-child(3) {
    width: 56%;
}

.pd-demo-card-foot {
    position: absolute;
    right: 0.9rem;
    bottom: 0.8rem;
    left: 0.9rem;
}

.pd-card-callouts {
    display: grid;
    align-content: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-card-callouts li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.7rem;
    margin: 0;
    color: var(--pd-ink-soft);
    font-size: 0.93rem;
    line-height: 1.55;
}

.pd-card-callouts span {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--pd-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 900;
}

.pd-guide-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-sm);
}

.pd-guide-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--pd-surface);
    font-size: 0.92rem;
}

.pd-guide-table th,
.pd-guide-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--pd-line);
    color: var(--pd-ink-soft);
    text-align: left;
    vertical-align: top;
}

.pd-guide-table th {
    color: var(--pd-ink);
    font-weight: 800;
}

.pd-guide-table tr:last-child td {
    border-bottom: 0;
}

.pd-inline-cta {
    display: grid;
    gap: 1.4rem;
    margin: 3.5rem 0;
    padding: clamp(1.4rem, 5vw, 2.25rem);
    border-radius: var(--pd-radius-md);
    background: #201850;
    color: #fff;
}

.pd-inline-cta h2 {
    margin: 0;
    color: #fff;
}

.pd-inline-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.pd-inline-cta .pd-app-store {
    width: fit-content;
    padding: 4px;
    background: #fff;
}

.pd-sources {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pd-line);
}

.pd-sources h2 {
    margin-top: 0;
    font-size: 1.25rem;
}

.pd-sources p,
.pd-sources li {
    font-size: 0.9rem;
}

.pd-guide-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

.pd-guide-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding: 1.5rem;
    color: var(--pd-ink);
    text-decoration: none;
}

.pd-guide-card h2,
.pd-guide-card h3 {
    margin: 1.2rem 0 0.7rem;
    font-size: 1.45rem;
    font-weight: 820;
    letter-spacing: -0.03em;
}

.pd-guide-card p {
    margin: 0;
    color: var(--pd-ink-soft);
    line-height: 1.7;
}

.pd-guide-card .pd-text-link {
    margin-top: auto;
    padding-top: 1.5rem;
}

.pd-guide-status {
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--pd-ink-soft);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pd-kb-feature {
    display: grid;
    gap: 0;
}

.pd-kb-feature-media {
    display: grid;
    overflow: hidden;
    min-height: 240px;
    padding: clamp(0.8rem, 2vw, 1.4rem);
    place-items: center;
    border-radius: calc(var(--pd-radius-md) - 1px) calc(var(--pd-radius-md) - 1px) 0 0;
    background:
        radial-gradient(circle at 72% 40%, rgba(87, 70, 217, 0.14), transparent 18rem),
        var(--pd-surface-soft);
}

.pd-kb-feature-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    border-radius: 14px;
    object-fit: contain;
}

.pd-kb-feature-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.5rem, 5vw, 3rem);
}

.pd-kb-feature-copy h2 {
    margin: 0;
    color: var(--pd-ink);
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 840;
    letter-spacing: -0.045em;
    line-height: 1.04;
}

.pd-kb-feature-copy > p:not(.pd-kicker) {
    max-width: 620px;
    margin: 1rem 0 0;
    color: var(--pd-ink-soft);
    font-size: 1.05rem;
    line-height: 1.72;
}

.pd-kb-checks {
    display: grid;
    gap: 0.55rem;
    margin: 1.3rem 0 1.7rem;
    padding: 0;
    color: var(--pd-ink-soft);
    list-style: none;
}

.pd-kb-checks li::before {
    margin-right: 0.55rem;
    color: var(--pd-green);
    content: "✓";
    font-weight: 900;
}

.pd-kb-answers {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

.pd-kb-answer {
    padding: 1.35rem;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-sm);
    background: var(--pd-surface);
}

.pd-kb-answer h3 {
    margin: 0 0 0.55rem;
    color: var(--pd-ink);
    font-size: 1.08rem;
    font-weight: 820;
    letter-spacing: -0.02em;
}

.pd-kb-answer p {
    margin: 0;
    color: var(--pd-ink-soft);
    font-size: 0.94rem;
    line-height: 1.7;
}

@media (min-width: 760px) {
    .pd-step-grid,
    .pd-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pd-feature-card:nth-child(4),
    .pd-feature-card:nth-child(5) {
        grid-column: span 1;
    }

    .pd-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd-showcase-wide {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
        min-height: 470px;
        column-gap: clamp(2rem, 6vw, 5rem);
    }

    .pd-showcase-wide-copy {
        align-self: center;
    }

    .pd-showcase-wide .pd-showcase-media {
        min-height: 390px;
        align-self: stretch;
        margin-top: 0;
    }

    .pd-seo-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
        gap: clamp(3rem, 7vw, 6rem);
    }

    .pd-card-anatomy {
        grid-template-columns: minmax(240px, 0.8fr) minmax(250px, 1fr);
    }

    .pd-guide-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pd-kb-feature {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
        align-items: stretch;
    }

    .pd-kb-feature-media {
        min-height: 440px;
        border-radius: calc(var(--pd-radius-md) - 1px) 0 0 calc(var(--pd-radius-md) - 1px);
    }

    .pd-kb-feature-copy {
        justify-content: center;
    }

    .pd-kb-answers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .pd-hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
    }

    .pd-feature-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .pd-feature-card {
        grid-column: span 2;
    }

    .pd-feature-card:nth-child(4),
    .pd-feature-card:nth-child(5) {
        grid-column: span 3;
    }

    .pd-guide-layout {
        grid-template-columns: 220px minmax(0, 780px);
        justify-content: center;
        gap: clamp(2rem, 5vw, 4.5rem);
    }

    .pd-guide-toc {
        position: sticky;
        top: 5.5rem;
    }

    .pd-kb-answers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 759px) {
    .pd-actions > * {
        width: 100%;
    }

    .pd-app-store {
        justify-content: center;
    }

    .pd-float-card-top {
        left: -1%;
    }

    .pd-float-card-bottom {
        right: -1%;
    }

    .pd-showcase-wide {
        min-height: 650px;
    }

    .pd-showcase-wide .pd-showcase-media {
        min-height: 430px;
    }
}

/* Motion follows the Octant site: full motion translates and drifts; reduced
   motion cross-fades without moving. Hidden starting states only exist where
   scroll timelines are supported, so content always fails open. */
@keyframes pd-rise {
    from {
        opacity: 0;
        transform: translateY(1.6rem);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pd-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pd-drift {
    0%, 100% { transform: translate3d(12%, -8%, 0) scale(1); }
    50% { transform: translate3d(8%, -4%, 0) scale(1.08); }
}

@keyframes pd-phone-float {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes pd-scan {
    0%, 16% { opacity: 0; transform: translateY(0); }
    22% { opacity: 1; }
    58% { opacity: 1; transform: translateY(460px); }
    64%, 100% { opacity: 0; transform: translateY(460px); }
}

@keyframes pd-rule-fill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
    .pd-enter {
        animation: pd-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: calc(var(--enter-delay, 0) * 90ms);
    }

    .pd-hero::before {
        animation: pd-drift 26s ease-in-out infinite;
    }

    .pd-phone {
        animation: pd-phone-float 7s ease-in-out infinite;
    }

    .pd-scan-line {
        animation: pd-scan 5.2s cubic-bezier(0.22, 1, 0.36, 1) 1.4s infinite;
    }

    .pd-step-rule::after {
        animation: pd-rule-fill 1s cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-timeline: view();
        animation-range: entry 20% cover 45%;
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .pd-reveal {
            opacity: 0;
            animation: pd-rise linear both;
            animation-timeline: view();
            animation-range: entry 5% cover 30%;
        }

        .pd-stagger > * {
            opacity: 0;
            animation: pd-rise linear both;
            animation-timeline: view();
            animation-range: entry 5% cover 28%;
        }

        .pd-stagger > *:nth-child(2) {
            animation-range: entry 5% cover 36%;
        }

        .pd-stagger > *:nth-child(3) {
            animation-range: entry 5% cover 44%;
        }

        .pd-stagger > *:nth-child(4) {
            animation-range: entry 5% cover 52%;
        }

        .pd-stagger > *:nth-child(5) {
            animation-range: entry 5% cover 60%;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .pd-enter,
    .pd-reveal,
    .pd-stagger > * {
        animation: pd-fade 0.55s ease-out both;
    }

    .pd-enter {
        animation-delay: calc(var(--enter-delay, 0) * 60ms);
    }

    .pd-stagger > *:nth-child(2) { animation-delay: 60ms; }
    .pd-stagger > *:nth-child(3) { animation-delay: 120ms; }
    .pd-stagger > *:nth-child(4) { animation-delay: 180ms; }
    .pd-stagger > *:nth-child(5) { animation-delay: 240ms; }

    .pd-scan-line {
        display: none;
    }

    .pd-phone,
    .pd-hero::before,
    .pd-step-rule::after {
        animation: none;
    }

    .pd-lift:hover,
    .pd-app-store:hover,
    .pd-secondary-button:hover {
        transform: none;
    }
}
