html { scroll-padding-top: 76px; }
.pd [id] { scroll-margin-top: 76px; }

.pd {
    --navy-950: #061831;
    --navy-900: #0a2a55;
    --blue-800: #0a4da3;
    --blue-600: #1565c8;
    --blue-400: #3a9ef5;
    --blue-200: #a9d2fb;
    --orange-600: #e85d00;
    --orange-btn: #c24e00;
    --orange-btn-hover: #a94300;
    --orange-500: #ff6b00;
    --orange-300: #ffb35c;
    --green-500: #2fb55d;

    --bg: #f5f8fc;
    --bg-alt: #e9f1fb;
    --surface: #ffffff;
    --surface-2: #f5f8fc;
    --ink: #0f1c2e;
    --ink-2: #33445c;
    --ink-3: #5c6d84;
    --line: rgba(15, 28, 46, .12);
    --accent: var(--blue-600);
    --accent-strong: var(--blue-800);
    --accent-soft: #e2eefc;
    --warm: #b84a00;
    --warm-soft: #fff1e4;
    --shadow: 0 10px 30px rgba(10, 42, 85, .08);
    --radius: 18px;
    --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

    color-scheme: light;
    background: var(--bg);
    color: var(--ink);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: clip;
}

@media (prefers-color-scheme: dark) {
    .pd {
        --bg: #0a1424;
        --bg-alt: #0e1b30;
        --surface: #13223a;
        --surface-2: #0f1d33;
        --ink: #e8eef8;
        --ink-2: #b9c7da;
        --ink-3: #8c9db5;
        --line: rgba(200, 220, 255, .13);
        --accent: #5cb0f7;
        --accent-strong: #8cc8fa;
        --accent-soft: rgba(58, 158, 245, .15);
        --warm: #ffa04a;
        --warm-soft: rgba(255, 107, 0, .14);
        --shadow: 0 12px 34px rgba(0, 0, 0, .35);

        color-scheme: dark;
    }

    .al-body { background: #0a1424 !important; }
}

.pd *,
.pd *::before,
.pd *::after { box-sizing: border-box; }

.pd h1, .pd h2, .pd h3, .pd h4 { color: var(--ink); margin: 0; line-height: 1.2; }
.pd p { margin: 0 0 1em 0; }
.pd p:last-child { margin-bottom: 0; }
:where(.pd) a { color: var(--accent); }
.pd svg { flex: none; }

.pd-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.pd-wrap--narrow { max-width: 860px; }
.pd-section { padding: 88px 0; }
.pd-section--tight { padding: 56px 0; }
.pd-alt { background: var(--bg-alt); }

.pd-eyebrow {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--warm);
    margin: 0 0 14px 0;
}

.pd-eyebrow::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    vertical-align: middle;
    margin-inline-end: 10px;
    opacity: .9;
}

.pd-h2 { font-size: 38px; font-weight: 800; letter-spacing: -.015em; margin: 0 0 16px 0; }
.pd-h2--small { font-size: 30px; }
.pd-h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px 0; }
.pd-h3--big { font-size: 27px; margin-bottom: 10px; }
.pd-lead { font-size: 19px; color: var(--ink-2); max-width: 68ch; }

.pd-head { max-width: 76ch; margin-bottom: 48px; }
.pd-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.pd-head--center .pd-lead { margin-left: auto; margin-right: auto; }

.pd-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 16px;
}

.pd-icon svg { width: 23px; height: 23px; }

/* ------------------------------------------------------------------- nav */

.pd-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.pd-nav-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1160px;
    min-height: 58px;
    margin: 0 auto;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pd-nav-inner::-webkit-scrollbar { display: none; }
.pd-nav--ready .pd-nav-inner { overflow: visible; }

.pd-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 17px;
    color: var(--ink);
    text-decoration: none;
    padding: 12px 0;
    white-space: nowrap;
}

.pd-nav-brand:hover { color: var(--ink); text-decoration: none; }
.pd-nav-brand img { width: 28px; height: 28px; border-radius: 7px; }

.pd-nav-links { display: flex; align-items: center; gap: 20px; flex: 1 0 auto; min-width: max-content; }

.pd-nav a.pd-nav-link {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 0 14px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.pd-nav a.pd-nav-link:hover { color: var(--accent); border-bottom-color: var(--orange-500); }
.pd-nav-spacer { flex: 1 1 auto; }
.pd-nav :focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; }

.pd-nav-toggle[hidden], .pd-nav-links[hidden] { display: none; }
.pd-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-inline-start: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.pd-nav-toggle svg { width: 24px; height: 24px; }
.pd-nav-toggle .pd-nav-close { display: none; }
.pd-nav-toggle[aria-expanded="true"] .pd-nav-open { display: none; }
.pd-nav-toggle[aria-expanded="true"] .pd-nav-close { display: block; }

.pd-nav--compact .pd-nav-links {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 0;
    max-height: calc(100dvh - 128px);
    overflow-y: auto;
    padding: 8px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.pd-nav--compact .pd-nav-links[hidden] { display: none; }
.pd-nav--compact a.pd-nav-link { min-height: 48px; padding: 12px 0; white-space: normal; }
.pd-nav--compact .pd-nav-spacer { display: none; }
.pd-nav--compact .pd-nav-links .pd-btn { margin-top: 8px; }

/* --------------------------------------------------------------- buttons */

.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--orange-btn);
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: 16px;
    border: 0;
    border-radius: 12px;
    padding: 13px 24px;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.pd-btn:hover, .pd-btn:focus-visible {
    background: var(--orange-btn-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(232, 93, 0, .28);
}

.pd-btn--small { padding: 8px 16px; font-size: 14px; white-space: nowrap; }
.pd-btn--block { width: 100%; }
.pd-btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------------ hero */

.pd-hero {
    position: relative;
    overflow: hidden;
    color: #dce9f8;
    padding: 76px 0 0 0;
    background:
        repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 9px),
        radial-gradient(900px 480px at 85% 10%, rgba(58, 158, 245, .45), transparent 60%),
        linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--blue-800) 100%);
}

.pd-layers {
    position: absolute;
    inset-inline-end: 0;
    bottom: 0;
    width: min(56%, 720px);
    display: flex;
    flex-direction: column-reverse;
    gap: 7px;
    padding: 0 0 0 0;
    pointer-events: none;
    opacity: .9;
}

.pd-layers span {
    display: block;
    height: 13px;
    border-radius: 999px 0 0 999px;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0), var(--orange-500) 45%, var(--orange-300));
    margin-inline-start: auto;
}

.pd-layers span:nth-child(1) { width: 100%; opacity: .95; }
.pd-layers span:nth-child(2) { width: 94%; opacity: .78; }
.pd-layers span:nth-child(3) { width: 88%; opacity: .6; }
.pd-layers span:nth-child(4) { width: 81%; opacity: .44; }
.pd-layers span:nth-child(5) { width: 74%; opacity: .3; }
.pd-layers span:nth-child(6) { width: 66%; opacity: .17; }

[dir="rtl"] .pd-layers span { border-radius: 0 999px 999px 0; background: linear-gradient(270deg, rgba(255, 107, 0, 0), var(--orange-500) 45%, var(--orange-300)); }

.pd-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 48px;
    align-items: end;
}

.pd-hero-copy { padding-bottom: 72px; }

.pd-hero-app { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.pd-hero-app img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.pd-hero-app .pd-eyebrow { color: var(--orange-300); margin: 0; }

.pd-hero h1 {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
    margin: 0 0 22px 0;
}

.pd-hero h1 span { display: block; color: var(--orange-300); }
.pd-hero-sub { font-size: 19px; color: #c3d6ee; max-width: 58ch; }

.pd-stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px 0; }

.pd-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 184px;
    min-height: 58px;
    padding: 9px 20px;
    border-radius: 13px;
    background: #fff;
    color: var(--navy-900);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

a.pd-store:hover, a.pd-store:focus-visible { color: var(--navy-900); text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.pd-store svg { width: 26px; height: 26px; }
.pd-store span { display: flex; flex-direction: column; font-size: 18px; font-weight: 700; line-height: 1.15; }
.pd-store small { font-size: 12px; font-weight: 500; opacity: .75; }

.pd-store--soon {
    background: rgba(255, 255, 255, .07);
    color: #e4eefb;
    border: 1px dashed rgba(255, 255, 255, .38);
}

.pd-store--soon small { color: var(--orange-300); opacity: 1; font-weight: 600; }

.pd-hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pd-hero-points li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #c3d6ee; }
.pd-hero-points svg { width: 17px; height: 17px; color: var(--orange-300); }

.pd-hero-shots {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.pd-hero-shots .pd-phone { position: absolute; bottom: -120px; }
.pd-hero-shots .pd-phone--front { width: 290px; inset-inline-end: 12%; z-index: 2; }
.pd-hero-shots .pd-phone--back { width: 256px; inset-inline-start: 4%; bottom: -60px; transform: rotate(-5deg); opacity: .97; }
[dir="rtl"] .pd-hero-shots .pd-phone--back { transform: rotate(5deg); }

/* --------------------------------------------------------------- devices */

.pd-phone {
    width: 280px;
    max-width: 74vw;
    padding: 8px;
    border-radius: 42px;
    background: #0d141f;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 28px 60px rgba(4, 16, 36, .42);
}

.pd-phone img { display: block; width: 100%; height: auto; border-radius: 34px; }

.pd-tablet {
    width: 460px;
    max-width: 100%;
    padding: 10px;
    border-radius: 30px;
    background: #0d141f;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 28px 60px rgba(4, 16, 36, .32);
}

.pd-tablet img { display: block; width: 100%; height: auto; border-radius: 21px; }

/* ------------------------------------------------------------ stats strip */

.pd-stats {
    position: relative;
    z-index: 3;
    background: var(--navy-950);
    color: #fff;
    padding: 30px 0;
    border-top: 4px solid var(--orange-500);
}

.pd-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; }
.pd-stat strong { display: block; font-family: var(--mono); font-size: 30px; font-weight: 700; color: #fff; line-height: 1.2; }
.pd-stat span { font-size: 14px; color: #a9c0dd; }

/* ------------------------------------------------------------------ steps */

.pd-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    counter-reset: none;
}

.pd-step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px 26px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pd-step::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 5px;
    background: repeating-linear-gradient(90deg, var(--orange-500) 0 26px, var(--orange-300) 26px 30px);
    opacity: .85;
}

.pd-step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pd-step-top .pd-icon { margin-bottom: 0; }

.pd-step-no {
    font-family: var(--mono);
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
}

.pd-step p { color: var(--ink-2); margin: 0; }

/* ----------------------------------------------------------------- result */

.pd-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 64px;
    align-items: start;
}

.pd-explain { list-style: none; margin: 30px 0 0 0; padding: 0; display: grid; gap: 22px; }
.pd-explain li { position: relative; padding-inline-start: 22px; border-inline-start: 3px solid var(--accent-soft); }
.pd-explain li:nth-child(3) { border-inline-start-color: var(--orange-500); }
.pd-explain h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.pd-explain p { color: var(--ink-2); margin: 0; }

.pd-meters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.pd-meter {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 12px 4px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.pd-meter i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .25; }
.pd-meter i:last-of-type { margin-inline-end: 6px; }
.pd-meter--high { color: #178a41; background: rgba(47, 181, 93, .13); }
.pd-meter--high i { opacity: 1; }
.pd-meter--medium { color: #b95400; background: rgba(255, 107, 0, .12); }
.pd-meter--medium i:nth-of-type(-n+2) { opacity: 1; }
.pd-meter--low { color: var(--ink-3); background: rgba(92, 109, 132, .13); }
.pd-meter--low i:first-of-type { opacity: 1; }

.pd-sample {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 30px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    position: sticky;
    top: 90px;
}

.pd-sample-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 15px;
    color: var(--ink-2);
}

.pd-sample-card p { margin: 0 0 6px 0; }
.pd-sample-label { font-size: 12px; color: var(--ink-3); }
.pd .pd-sample-finding { font-size: 20px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.pd .pd-sample-summary { margin-bottom: 12px; }
.pd .pd-sample-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.pd-sample-title svg { width: 18px; height: 18px; color: var(--accent); }

.pd-sample-card--first {
    background: linear-gradient(150deg, #b84a00, #dc6008);
    border-color: transparent;
    color: #fff;
}

.pd .pd-sample-card--first .pd-sample-title,
.pd .pd-sample-card--first .pd-sample-title svg { color: #fff; }
.pd .pd-sample-action { font-size: 19px; font-weight: 800; color: #fff; }
.pd-sample-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pd-sample-tags span { font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .22); border-radius: 999px; padding: 3px 11px; }

.pd-sample-outcome { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pd-sample-outcome span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fff; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: 4px 12px; }
.pd-sample-outcome svg { width: 14px; height: 14px; }

.pd-sample-next { margin: 6px 0 0 0; padding-inline-start: 22px; }
.pd-sample-next li { margin: 3px 0; }
.pd-sample-next li::marker { color: var(--accent); font-weight: 700; }

.pd-sample-card--safety { background: var(--warm-soft); border-color: transparent; }
.pd-sample-card--safety .pd-sample-title svg { color: var(--warm); }

/* --------------------------------------------------------------- features */

.pd-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
    gap: 64px;
    align-items: center;
    padding: 56px 0;
    border-top: 1px solid var(--line);
}

.pd-head + .pd-feature { border-top: 0; padding-top: 8px; }
.pd-feature--flip .pd-feature-media { order: -1; }
.pd-feature--tablet { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); }
.pd-feature--tablet.pd-feature--flip { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
.pd-feature--flip:not(.pd-feature--tablet) { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); }
.pd-feature-media { display: flex; justify-content: center; min-width: 0; }
.pd-feature-copy .pd-lead { font-size: 18px; }

.pd-list { list-style: none; margin: 18px 0 0 0; padding: 0; }
.pd-list li { position: relative; padding-inline-start: 28px; margin: 0 0 12px 0; color: var(--ink-2); }

.pd-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: .62em;
    width: 12px;
    height: 4px;
    border-radius: 2px;
    background: var(--orange-500);
    box-shadow: 0 -6px 0 var(--orange-300);
}

.pd-check { list-style: none; margin: 18px 0 0 0; padding: 0; }
.pd-check li { position: relative; padding-inline-start: 30px; margin: 0 0 11px 0; color: var(--ink-2); }
.pd-check li svg { position: absolute; inset-inline-start: 0; top: .22em; width: 19px; height: 19px; color: var(--accent); }

/* ---------------------------------------------------------------- privacy */

.pd-dark {
    background:
        radial-gradient(700px 400px at 10% 0%, rgba(58, 158, 245, .18), transparent 60%),
        var(--navy-900);
    color: #dce9f8;
}

.pd-dark h2, .pd-dark h3 { color: #fff; }
.pd-dark .pd-eyebrow { color: var(--orange-300); }
.pd-dark .pd-lead { color: #b6cae4; }

.pd-privacy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 64px; align-items: center; }
.pd-privacy-grid .pd-grid { margin-top: 36px; }

.pd-grid { display: grid; gap: 18px; }
.pd-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pd-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.pd-card p { color: var(--ink-2); margin: 0; }

.pd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pd-tool-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pd-badge { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--warm); background: var(--warm-soft); border-radius: 999px; padding: 3px 10px; }

.pd-dark .pd-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .13); box-shadow: none; }
.pd-dark .pd-card p { color: #b6cae4; }
.pd-dark .pd-icon { background: rgba(58, 158, 245, .18); color: #8cc8fa; }

.pd-more { margin-top: 28px; }
.pd-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--orange-300); text-decoration: none; }
.pd-more a:hover { color: #ffd2a0; text-decoration: underline; }
.pd-more svg { width: 18px; height: 18px; }
[dir="rtl"] .pd-more svg, [dir="rtl"] .pd-sample-title svg[data-flip] { transform: scaleX(-1); }

/* ----------------------------------------------------------------- remote ai */

.pd-ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 64px; align-items: center; }
.pd-plans-head { margin-top: 96px; margin-bottom: 36px; }

.pd-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }

.pd-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.pd-plan h3 { font-family: var(--mono); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 14px; }
.pd-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 2px 0; }
.pd-plan-price strong { font-size: 36px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.pd-plan-price span { font-size: 15px; color: var(--ink-3); }
.pd .pd-plan-alt { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.pd-plan .pd-check { margin-top: 0; padding-top: 18px; border-top: 1px dashed var(--line); }
.pd-plan .pd-check li { font-size: 15px; }

.pd-plan--free { background: var(--accent-soft); border-color: transparent; box-shadow: none; }
.pd-plan--plus { border: 2px solid var(--accent); }
.pd-plan--pro h3 { color: var(--warm); }

.pd-credits {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 40px;
    align-items: center;
    margin-top: 20px;
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
}

.pd-credits-copy p { color: var(--ink-2); font-size: 15px; margin: 0; max-width: 60ch; }
.pd-credit-list { display: flex; flex-wrap: wrap; gap: 10px; }

.pd-credit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 116px;
    padding: 10px 16px;
    border-radius: 14px;
    background: var(--warm-soft);
}

.pd-credit span { font-size: 13px; color: var(--ink-2); }
.pd-credit strong { font-size: 20px; font-weight: 800; color: var(--ink); }

.pd-note {
    font-size: 15px;
    color: var(--ink-3);
    border-inline-start: 3px solid var(--orange-500);
    padding-inline-start: 16px;
    margin-top: 28px;
    max-width: 80ch;
}

.pd .pd-note { margin-top: 28px; }

/* ---------------------------------------------------------------- printers */

.pd-brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.pd-brands li {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 7px 14px;
}

.pd-requirements {
    margin-top: 56px;
    padding: 30px 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.pd-requirements > p { color: var(--ink-3); margin: 0; }
.pd-req-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 32px; margin: 24px 0 0 0; }
.pd-req-item { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 2px solid var(--accent-soft); }
.pd-req-item dt { font-weight: 700; color: var(--ink); }
.pd-req-item dd { margin: 0; color: var(--ink-2); font-size: 15px; }

/* -------------------------------------------------------------------- faq */

.pd-faq { border-top: 1px solid var(--line); }
.pd-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }

.pd-faq summary {
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    padding-block: 20px;
    padding-inline: 0 44px;
    position: relative;
}

.pd-faq summary::-webkit-details-marker { display: none; }

.pd-faq summary::after {
    content: "";
    position: absolute;
    inset-inline-end: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--orange-500);
    border-bottom: 2px solid var(--orange-500);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
}

.pd-faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.pd-faq details p { color: var(--ink-2); padding-inline: 0 44px; padding-bottom: 20px; margin: 0; }

/* ---------------------------------------------------------------- contact */

.pd-contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }

.pd-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.pd-field { margin-bottom: 18px; min-width: 0; }
.pd-field label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 7px; }

.pd-field input[type="text"],
.pd-field input[type="email"],
.pd-field select,
.pd-field textarea {
    width: 100%;
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 14px;
}

.pd-field textarea { min-height: 150px; resize: vertical; }

.pd-field input:focus,
.pd-field select:focus,
.pd-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.pd-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.pd-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.pd-consent input { margin-top: 4px; flex: none; accent-color: var(--orange-500); }

.pd-alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; font-size: 15px; }
.pd-alert--ok { background: rgba(47, 181, 93, .12); border: 1px solid rgba(47, 181, 93, .4); color: var(--ink); }
.pd-alert--err { background: rgba(214, 64, 40, .1); border: 1px solid rgba(214, 64, 40, .4); color: var(--ink); }
.pd-alert ul { margin: 6px 0 0 0; padding-inline-start: 20px; }

.pd-form-note { font-size: 15px; color: var(--ink-3); margin-top: 20px; }
.pd .pd-form-note { margin-top: 20px; margin-bottom: 0; }
.pd-form-note a { display: inline-flex; gap: 8px; align-items: flex-start; font-weight: 600; text-decoration: none; }
.pd-form-note a:hover { text-decoration: underline; }
.pd-form-note svg { width: 18px; height: 18px; margin-top: 3px; }

/* ------------------------------------------------------------------ legal */

.pd-legal { font-size: 14px; line-height: 1.7; color: var(--ink-3); text-align: center; max-width: 80ch; margin: 0 auto; }
.pd .pd-legal { margin: 0 auto 8px; }

.pd-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
}

.pd-legal-links a { text-decoration: none; }
.pd-legal-links a:hover { text-decoration: underline; }
.pd-legal-links a[aria-current="page"] { color: var(--ink); }

.pd--legal { min-height: 60vh; }
.pd-nav-back::before { content: "\2190"; margin-inline-end: 6px; }
[dir="rtl"] .pd-nav-back::before { content: "\2192"; }

.pd-callout {
    background: var(--accent-soft);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--ink-2);
}

.pd .pd-callout { margin-bottom: 28px; }

.pd-prose { color: var(--ink-2); }
.pd-prose h1 { font-size: 34px; font-weight: 800; letter-spacing: -.015em; margin: 8px 0 16px; }
.pd-prose h2 { font-size: 21px; font-weight: 700; margin: 38px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.pd-prose h3 { font-size: 17px; margin: 22px 0 6px; }
.pd-prose p { margin: 0 0 12px; }
.pd-prose ul { margin: 0 0 12px; padding-inline-start: 22px; }
.pd-prose strong { color: var(--ink); }
.pd-prose a { text-decoration: underline; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
    .pd-hero-grid { grid-template-columns: 1fr; gap: 0; }
    .pd-hero-copy { padding-bottom: 36px; }
    .pd-hero-shots { height: 440px; max-width: 560px; }
    .pd-hero-shots .pd-phone--front { width: 250px; }
    .pd-hero-shots .pd-phone--back { width: 220px; }
    .pd-layers { width: 100%; }
    .pd-result-grid { grid-template-columns: 1fr; gap: 40px; }
    .pd-sample { position: static; max-width: 520px; }
    .pd-feature, .pd-feature--flip:not(.pd-feature--tablet), .pd-feature--tablet, .pd-feature--tablet.pd-feature--flip { grid-template-columns: 1fr; gap: 36px; }
    .pd-feature--flip .pd-feature-media { order: 0; }
    .pd-privacy-grid, .pd-ai-grid { grid-template-columns: 1fr; gap: 40px; }
    .pd-privacy-shot, .pd-ai-shot { display: flex; justify-content: center; }
    .pd-plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .pd-credits { grid-template-columns: 1fr; }
    .pd-contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .pd-req-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .pd-steps { grid-template-columns: 1fr; }
    .pd-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .pd { font-size: 16px; }
    .pd-section { padding: 60px 0; }
    .pd-wrap, .pd-nav-inner { padding: 0 16px; }
    .pd-nav--compact .pd-nav-links { padding-inline: 16px; }
    .pd-hero { padding-top: 44px; }
    .pd-hero h1 { font-size: 36px; }
    .pd-hero-sub { font-size: 17px; }
    .pd-hero-app img { width: 52px; height: 52px; border-radius: 12px; }
    .pd-hero-shots { height: 360px; }
    .pd-hero-shots .pd-phone--front { width: 200px; inset-inline-end: 4%; bottom: -150px; }
    .pd-hero-shots .pd-phone--back { width: 178px; inset-inline-start: 2%; bottom: -110px; }
    .pd-store { min-width: 0; flex: 1 1 150px; padding: 9px 14px; }
    .pd-h2 { font-size: 29px; }
    .pd-h2--small { font-size: 25px; }
    .pd-h3--big { font-size: 23px; }
    .pd-lead { font-size: 17px; }
    .pd-grid--2, .pd-grid--3 { grid-template-columns: 1fr; }
    .pd-req-list { grid-template-columns: 1fr; }
    .pd-card, .pd-plan, .pd-form, .pd-requirements { padding: 22px; }
    .pd-field-row { grid-template-columns: 1fr; gap: 0; }
    .pd-stat strong { font-size: 25px; }
    .pd-phone { width: 250px; }
    .pd-plans-head { margin-top: 72px; }
    .pd-prose h1 { font-size: 27px; }
}
