/* =====================================================================
   PrintPoss AirPods Cases — CSS cho layout Flatsome (printposs-airpods-layout.txt)
   Dán vào: Flatsome > Advanced > Custom CSS (hoặc style.css của flatsome-child).
   Chỉ có bảng màu sáng. Font lấy theo theme, không set font-family.
   Mọi selector đều bắt đầu bằng .ap-* nên không đụng tới trang chủ (.pp-*), About (.pa-*) hay Integrations (.pi-*).
   ===================================================================== */
.ap-sec,
.ap-lead,
.ap-mbar {
    --bg: #f6f8f7;
    --surface: #ffffff;
    --ink: #0f1a15;
    --muted: #56635c;
    --line: #dde5e0;
    --brand: #0f9f62;
    --brand-ink: #ffffff;
    --brand-soft: #e3f4ec;
    --brand-deep: #0b7a4b;
    --glow-bg: #eef8f3;
    --glow-line: #cfe9dc;
    --led: #9dffcf;
    --art-a: #0f9f62;
    --art-b: #ffd166;
    --art-c: #ff7a59;
    --art-d: #1b2a4a;
    --art-e: #f6f1e7;
    --r: 14px;
    --max: 1120px;
    color-scheme: light;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased
}

/* Flatsome section / row / col */
.ap-sec {
    padding: clamp(56px, 9vw, 104px) 0 !important;
    background-color: var(--bg)
}

.ap-sec.ap-pt0 {
    padding-top: 0 !important
}

.ap-sec.ap-proof {
    padding: 0 !important
}

.ap-sec.ap-kit {
    background-color: var(--brand-soft)
}

.ap-sec>.section-content>.row {
    max-width: calc(var(--max) + 32px)
}

.ap-sec .col.ap-col {
    padding: 0 16px !important
}

.ap-sec .col.ap-col>.col-inner {
    min-width: 0
}

/* resets against Flatsome base styles */
.ap-sec h1,
.ap-sec h2,
.ap-sec h3,
.ap-lead h2 {
    color: var(--ink);
    text-transform: none;
    margin: 0;
    width: auto;
    line-height: 1.12;
    letter-spacing: -.02em;
    text-wrap: balance
}

.ap-sec p,
.ap-lead p {
    margin: 0
}

.ap-sec ul,
.ap-sec ol {
    margin: 0;
    padding: 0;
    list-style: none
}

.ap-sec li {
    margin: 0
}

.ap-sec figure {
    margin: 0
}

.ap-sec table {
    margin: 0;
    border-spacing: 0
}

.ap-sec td,
.ap-sec th {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    letter-spacing: normal;
    text-transform: none
}

:where(.ap-sec) a {
    color: var(--brand-deep)
}

.ap-sec label,
.ap-lead label {
    margin: 0
}

.ap-sec p,
.ap-sec li,
.ap-sec td,
.ap-sec summary {
    text-wrap: pretty
}

.ap-nb {
    white-space: nowrap
}

.ap-sec h1 {
    font-size: clamp(2.1rem, 6.4vw, 3.9rem);
    font-weight: 800;
    letter-spacing: -.035em
}

.ap-sec h2,
.ap-lead h2 {
    font-size: clamp(1.65rem, 4.2vw, 2.6rem);
    font-weight: 800
}

.ap-sec h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.01em
}

.ap-sec :focus-visible,
.ap-lead :focus-visible,
.ap-mbar :focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: 6px
}

.ap-eyebrow {
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-deep);
    font-weight: 500
}

.ap-lede {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 58ch
}

.ap-sec-head {
    display: grid;
    gap: 14px;
    margin-bottom: clamp(28px, 5vw, 48px);
    max-width: 760px
}

.ap-sec-title {
    display: grid;
    gap: 14px;
    min-width: 0
}

.ap-small {
    font-size: .85rem;
    color: var(--muted)
}

/* buttons */
.ap-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 22px;
    margin: 0;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    text-shadow: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s, background .15s;
    max-width: 100%
}

.ap-btn:active {
    transform: translateY(1px)
}

.ap-btn-primary {
    background: var(--brand);
    color: var(--brand-ink)
}

.ap-btn-primary:hover {
    background: var(--brand-deep);
    color: var(--brand-ink)
}

.ap-btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line)
}

.ap-btn-ghost:hover {
    border-color: var(--ink);
    color: var(--ink)
}

.ap-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.ap-btn-sample {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: var(--brand-ink);
    box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent);
    animation: ap-ring 2.4s ease-out infinite
}

.ap-btn-sample::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transform: translateX(-120%);
    animation: ap-sweep 3.2s ease-in-out infinite
}

.ap-btn-sample:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--brand) 80%, transparent);
    color: var(--brand-ink)
}

.ap-arr {
    display: inline-block;
    transition: transform .2s
}

.ap-btn-sample:hover .ap-arr {
    transform: translateX(4px)
}

.ap-btn-lg {
    min-height: 58px;
    padding: 0 30px;
    font-size: 1.08rem
}

@keyframes ap-ring {
    0% {
        box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent), 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent)
    }

    70%,
    100% {
        box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent), 0 0 0 14px color-mix(in srgb, var(--brand) 0%, transparent)
    }
}

@keyframes ap-sweep {

    0%,
    55% {
        transform: translateX(-120%)
    }

    85%,
    100% {
        transform: translateX(120%)
    }
}

.ap-cta-center {
    display: flex;
    justify-content: center;
    margin-top: 28px
}

/* hero */
.ap-sec.ap-hero {
    padding: clamp(36px, 7vw, 84px) 0 clamp(40px, 6vw, 72px) !important
}

.ap-hero-grid {
    display: grid;
    gap: 36px;
    align-items: center
}

@media(min-width:900px) {
    .ap-hero-grid {
        grid-template-columns: 1.1fr .9fr
    }
}

.ap-hero-copy {
    display: grid;
    gap: 20px;
    min-width: 0
}

.ap-hero-sub {
    font-size: clamp(1.08rem, 2.2vw, 1.3rem);
    color: var(--muted);
    max-width: 44ch;
    white-space: pre-line
}

.ap-hero-tag {
    font-size: .95rem;
    color: var(--muted)
}

.ap-hero-tag strong {
    color: var(--ink)
}

.ap-hero-visual {
    position: relative;
    justify-self: center;
    width: min(100%, 560px);
    aspect-ratio: 16/10;
    max-width: 100%
}

.ap-stage {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: radial-gradient(120% 90% at 50% 30%, var(--brand-soft), transparent 70%)
}

.ap-hero-visual #ap-hero-case,
.ap-hero-visual svg {
    position: relative;
    width: 100%;
    height: 100%
}

.ap-piece-label {
    font-size: 11px;
    fill: var(--muted);
    letter-spacing: .06em
}

.ap-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .82rem;
    color: var(--muted)
}

.ap-crumbs li+li::before {
    content: "/";
    margin-right: 6px;
    color: var(--line)
}

.ap-crumbs a {
    color: var(--muted);
    text-decoration: none
}

.ap-crumbs a:hover {
    color: var(--ink)
}

/* exploded case motion */
.ap-pc {
    transform: translate(calc(var(--dx) * var(--k, 1) * 1px), calc(var(--dy) * var(--k, 1) * 1px));
    transition: transform .5s cubic-bezier(.2, .8, .2, 1)
}

.ap-case-anim .ap-pc {
    animation: ap-explode 6s ease-in-out infinite
}

@keyframes ap-explode {

    0%,
    12% {
        transform: translate(0, 0)
    }

    38%,
    70% {
        transform: translate(calc(var(--dx) * 1px), calc(var(--dy) * 1px))
    }

    96%,
    100% {
        transform: translate(0, 0)
    }
}

.ap-pc-label {
    opacity: calc(var(--k, 1));
    transition: opacity .4s
}

.ap-case-anim .ap-pc-label {
    animation: ap-lbl 6s ease-in-out infinite
}

@keyframes ap-lbl {

    0%,
    20% {
        opacity: 0
    }

    38%,
    70% {
        opacity: 1
    }

    90%,
    100% {
        opacity: 0
    }
}

.ap-led {
    animation: ap-pulse 2.4s ease-in-out infinite
}

@keyframes ap-pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .45
    }
}

/* proof strip */
.ap-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--line);
    overflow: hidden
}

@media(min-width:760px) {
    .ap-proof-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }
}

.ap-proof-item {
    padding: 20px 18px;
    display: grid;
    gap: 4px;
    align-content: start;
    background: var(--surface);
    min-width: 0
}

.ap-proof-num {
    font-size: clamp(1.4rem, 3.2vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.3
}

.ap-proof-lbl {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.4
}

.ap-pillar {
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.ap-pillar i {
    font-style: normal;
    font-size: .72rem;
    background: var(--brand);
    color: var(--brand-ink);
    border-radius: 999px;
    padding: 2px 10px;
    letter-spacing: .08em
}

/* why 4 pieces */
.ap-why-grid {
    display: grid;
    gap: 16px
}

@media(min-width:900px) {
    .ap-why-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: stretch
    }
}

.ap-fit-visual {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    display: grid;
    place-items: center
}

.ap-fit-visual #ap-fit-case {
    width: 100%
}

.ap-fit-visual svg {
    width: 100%;
    height: auto;
    max-height: 520px;
    display: block
}

.ap-seam {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    display: grid;
    gap: 14px
}

.ap-seam-svg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px
}

.ap-seam-ctl {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .88rem;
    color: var(--muted)
}

.ap-seam-ctl label {
    font-weight: 400;
    font-size: inherit;
    display: inline;
    color: inherit
}

.ap-seam-ctl input {
    flex: 1;
    accent-color: var(--brand);
    margin: 0;
    height: auto;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: transparent
}

.ap-why-points {
    display: grid;
    gap: 12px;
    margin-top: 16px
}

@media(min-width:760px) {
    .ap-why-points {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

.ap-why-pt {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 18px 20px;
    display: grid;
    gap: 4px
}

.ap-why-pt p {
    color: var(--muted);
    font-size: .95rem
}

/* market */
.ap-stats {
    display: grid;
    gap: 12px
}

@media(min-width:760px) {
    .ap-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

.ap-stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 24px;
    display: grid;
    gap: 8px;
    align-content: start
}

.ap-stat-num {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--brand-deep);
    font-variant-numeric: tabular-nums
}

.ap-stat p {
    color: var(--ink);
    font-size: .98rem
}

.ap-src {
    font-size: .78rem;
    color: var(--muted)
}

.ap-sec a.ap-src {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px
}

/* 3 ways */
.ap-way {
    display: grid;
    gap: 24px;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(20px, 4vw, 40px);
    margin-bottom: 16px
}

@media(min-width:900px) {
    .ap-way {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 48px
    }

    .ap-way.ap-way-flip .ap-way-copy {
        order: 2
    }
}

.ap-way-copy {
    display: grid;
    gap: 12px;
    min-width: 0;
    align-content: center
}

.ap-sec .ap-way-copy h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.025em
}

.ap-way-copy p {
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 44ch
}

.ap-way-n {
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brand-deep)
}

.ap-way-art {
    min-width: 0
}

.ap-way-art svg {
    width: 100%;
    height: auto;
    display: block
}

#ap-bundle-art svg {
    max-width: 420px;
    margin: 0 auto
}

.ap-art-lbl {
    font-size: 11px;
    font-weight: 600;
    fill: var(--muted)
}

.ap-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.ap-chip {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--ink);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: .85rem;
    line-height: 1.5
}

/* LED card - light version */
.ap-way-glow {
    background: var(--glow-bg);
    border-color: var(--glow-line)
}

.ap-way-glow .ap-chip {
    background: var(--surface);
    border: 1px solid var(--glow-line)
}

@media(min-width:900px) {
    .ap-way-glow {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr)
    }
}

.ap-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
}

@media(min-width:760px) {
    .ap-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

.ap-g-tile {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px 10px 12px;
    display: grid;
    gap: 8px;
    min-width: 0;
    margin: 0
}

.ap-g-tile svg {
    width: 100%;
    height: auto;
    display: block
}

.ap-g-tile figcaption {
    display: grid;
    gap: 2px
}

.ap-g-tile b {
    font-size: .95rem
}

.ap-sw-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.ap-sw {
    margin: 0;
    display: grid;
    gap: 6px;
    justify-items: center;
    background: var(--bg);
    border-radius: 16px;
    padding: 14px
}

.ap-sw svg {
    width: 100%;
    height: auto;
    display: block
}

.ap-sw figcaption {
    font-size: .85rem;
    font-weight: 600
}

.ap-sell-foot {
    display: grid;
    gap: 16px
}

@media(min-width:760px) {
    .ap-sell-foot {
        grid-template-columns: 1fr 1fr
    }
}

.ap-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 22px;
    display: grid;
    gap: 14px;
    min-width: 0
}

/* profit */
.ap-profit-grid {
    display: grid;
    gap: 20px
}

@media(min-width:900px) {
    .ap-profit-grid {
        grid-template-columns: 1fr 1fr
    }
}

.ap-ledger {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums
}

.ap-sec .ap-ledger td {
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    vertical-align: top
}

.ap-sec .ap-ledger td:last-child {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
    padding-left: 12px
}

.ap-sec .ap-ledger tr.ap-sum td {
    border-bottom: 0;
    border-top: 2px solid var(--ink);
    font-weight: 800;
    font-size: 1.1rem
}

.ap-sec .ap-ledger td.ap-op {
    color: var(--muted);
    width: 1.6em
}

.ap-calc label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink)
}

.ap-sec .ap-calc input {
    font: inherit;
    font-size: 1.1rem;
    font-weight: 400;
    height: auto;
    padding: 10px 12px;
    margin: 0;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    color: var(--ink);
    width: 100%;
    max-width: 100%;
    box-shadow: none
}

.ap-sec .ap-calc input:focus {
    border-color: var(--brand);
    box-shadow: none;
    outline: none
}

.ap-calc-out {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.25
}

/* specs */
.ap-answer {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--r);
    padding: 18px 20px;
    display: grid;
    gap: 8px
}

.ap-models {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.ap-sec .ap-models li {
    background: var(--brand-soft);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: .9rem;
    white-space: nowrap
}

.ap-tbl-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface)
}

.ap-specs {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px
}

.ap-sec .ap-specs th,
.ap-sec .ap-specs td {
    text-align: left;
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid var(--line);
    vertical-align: top
}

.ap-sec .ap-specs th {
    width: 34%;
    font-weight: 600;
    color: var(--muted);
    font-size: .92rem
}

.ap-sec .ap-specs tr:last-child th,
.ap-sec .ap-specs tr:last-child td {
    border-bottom: 0
}

/* sample kit */
.ap-kit-grid {
    display: grid;
    gap: 28px
}

@media(min-width:900px) {
    .ap-kit-grid {
        grid-template-columns: .9fr 1.1fr;
        align-items: start
    }
}

.ap-kit-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0 !important
}

.ap-sec .ap-kit-list li {
    display: flex;
    gap: 10px;
    align-items: baseline
}

.ap-kit-list li::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--brand);
    transform: translateY(-1px)
}

.ap-kit-cta {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: clamp(24px, 5vw, 40px);
    display: grid;
    gap: 16px;
    justify-items: start
}

.ap-kit-cta-h {
    font-size: clamp(1.4rem, 3.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    text-wrap: balance
}

/* faq */
.ap-faq-grid {
    display: grid;
    gap: 8px
}

@media(min-width:900px) {
    .ap-faq-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 64px;
        align-items: start
    }

    .ap-faq-grid .ap-sec-head {
        position: sticky;
        top: 120px
    }
}

.ap-faq {
    display: grid;
    gap: 10px;
    min-width: 0
}

.ap-faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 18px;
    margin: 0
}

.ap-faq summary {
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
    padding: 16px 28px 16px 0;
    font-weight: 700;
    position: relative
}

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

.ap-faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 12px;
    font-size: 1.4rem;
    color: var(--brand-deep);
    font-weight: 400
}

.ap-faq details[open] summary::after {
    content: "–"
}

.ap-sec .ap-faq summary h3 {
    display: inline;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35
}

.ap-faq details p {
    padding: 0 0 16px;
    color: var(--muted)
}

.ap-legal {
    margin-top: 40px !important;
    font-size: .8rem;
    color: var(--muted)
}

/* lead dialog */
.ap-lead {
    border: 0;
    padding: 0;
    margin: auto;
    background: transparent;
    max-width: min(560px, 100vw);
    width: 100%;
    max-height: 100dvh;
    color: var(--ink)
}

.ap-lead::backdrop {
    background: rgba(6, 14, 10, .45);
    backdrop-filter: blur(3px)
}

.ap-lead[open] {
    animation: ap-pop .22s ease-out
}

@keyframes ap-pop {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.ap-lead-form {
    background: var(--surface);
    border-radius: 22px;
    padding: clamp(20px, 4vw, 30px);
    display: grid;
    gap: 14px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .3);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    margin: 0
}

.ap-lead-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 12px
}

.ap-lead .ap-lead-top h2 {
    font-size: 1.5rem;
    margin-top: 6px
}

.ap-lead .ap-lead-x {
    flex: none;
    width: 40px;
    height: 40px;
    min-height: 0;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0
}

.ap-lead-fields {
    display: grid;
    gap: 14px
}

.ap-fld {
    display: grid;
    gap: 6px;
    min-width: 0
}

.ap-lead .ap-fld label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
    display: block
}

.ap-fld label em {
    font-style: normal;
    color: var(--muted);
    font-weight: 400
}

.ap-lead .ap-fld input,
.ap-lead .ap-fld select {
    font: inherit;
    font-size: 1rem;
    height: auto;
    padding: 12px 14px;
    margin: 0;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background-color: var(--bg);
    color: var(--ink);
    width: 100%;
    max-width: 100%;
    box-shadow: none
}

.ap-lead .ap-fld select {
    padding-right: 36px
}

.ap-lead .ap-fld input:focus,
.ap-lead .ap-fld select:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: none
}

.ap-fld-row {
    display: grid;
    gap: 14px
}

@media(min-width:560px) {
    .ap-fld-row {
        grid-template-columns: 1fr 1fr
    }
}

.ap-lead-submit {
    width: 100%
}

.ap-form-ok {
    background: var(--brand-soft);
    border-radius: 12px;
    padding: 16px;
    font-weight: 600;
    display: grid;
    gap: 10px;
    justify-items: start
}

.ap-form-ok p {
    font-weight: 400
}

.ap-err {
    color: #c0392b;
    font-size: .82rem
}

.ap-lead [hidden],
.ap-sec [hidden] {
    display: none !important
}

html.ap-lead-open body {
    overflow: hidden
}

/* sticky mobile CTA */
.ap-mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    transform: translateY(110%);
    transition: transform .3s ease
}

.ap-mbar.ap-show {
    transform: none
}

.ap-mbar .ap-btn {
    width: 100%
}

.ap-lead-open .ap-mbar {
    display: none
}

@media(min-width:860px) {
    .ap-mbar {
        display: none
    }
}

@media(max-width:859px) {
    body.ap-page {
        padding-bottom: 76px
    }
}

/* mobile */
@media(max-width:699px) {
    .ap-sec {
        padding: 56px 0 !important
    }

    .ap-sec.ap-hero {
        padding: 20px 0 36px !important
    }

    .ap-hero-grid {
        gap: 20px
    }

    .ap-hero-copy {
        gap: 14px
    }

    .ap-hero-copy .ap-btn-lg,
    .ap-kit-cta .ap-btn-lg,
    .ap-cta-center .ap-btn-lg {
        width: 100%
    }

    .ap-hero-visual {
        aspect-ratio: auto;
        width: 100%
    }

    .ap-hero-visual #ap-hero-case,
    .ap-hero-visual svg {
        height: auto;
        display: block
    }

    .ap-fit-visual {
        padding: 8px
    }

    .ap-sec-head {
        margin-bottom: 24px
    }

    .ap-lede {
        font-size: 1rem
    }

    .ap-specs {
        min-width: 0
    }

    .ap-sec .ap-specs tr {
        display: grid;
        padding: 12px 16px;
        border-bottom: 1px solid var(--line)
    }

    .ap-sec .ap-specs tr:last-child {
        border-bottom: 0
    }

    .ap-sec .ap-specs th,
    .ap-sec .ap-specs td {
        display: block;
        width: auto;
        padding: 0;
        border: 0
    }

    .ap-sec .ap-specs th {
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .06em;
        margin-bottom: 2px
    }

    .ap-tbl-wrap {
        overflow: visible
    }

    .ap-lead {
        margin: auto 0 0;
        max-width: 100vw
    }

    .ap-lead-form {
        border-radius: 22px 22px 0 0;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        max-height: 92dvh
    }

    .ap-lead[open] {
        animation: ap-sheet .26s ease-out
    }

    @keyframes ap-sheet {
        from {
            transform: translateY(40px);
            opacity: 0
        }

        to {
            transform: none;
            opacity: 1
        }
    }

    .ap-lead .ap-fld input,
    .ap-lead .ap-fld select {
        font-size: 16px
    }
}

/* desktop */
@media(min-width:1000px) {
    .ap-sec {
        padding: 80px 0 !important
    }

    .ap-sec.ap-pt0 {
        padding-top: 0 !important
    }

    .ap-sec.ap-proof {
        padding: 0 !important
    }

    .ap-sec.ap-hero {
        padding: 48px 0 56px !important
    }

    .ap-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 56px
    }

    .ap-hero-visual {
        width: 100%;
        max-width: 640px
    }

    .ap-sec-head {
        max-width: none;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 64px;
        align-items: end;
        margin-bottom: 40px
    }

    .ap-faq-grid .ap-sec-head {
        grid-template-columns: 1fr
    }

    .ap-kit-grid {
        gap: 48px;
        align-items: center
    }
}

@media (prefers-reduced-motion:reduce) {

    .ap-case-anim .ap-pc,
    .ap-case-anim .ap-pc-label,
    .ap-led,
    .ap-btn-sample,
    .ap-btn-sample::after,
    .ap-lead[open] {
        animation: none
    }

    .ap-pc,
    .ap-mbar {
        transition: none
    }
}