/* Piper search/acquisition pages — additive to piperStyles.css. */
body.piperSearchLanding,
body.piper404 { min-height: 100vh; overflow-x: hidden; color: var(--text); }
body.piperSearchLanding #backdrop,
body.piper404 #backdrop { position: fixed; inset: 0; background: var(--localBdropBg); background-size: cover; background-position: center; z-index: -2; }
body.piperSearchLanding #overlay,
body.piper404 #overlay { position: fixed; inset: 0; background: rgba(238,243,246,.84); backdrop-filter: blur(3px); z-index: -1; }
.piperSeoLogo { position: fixed; left: max(24px, env(safe-area-inset-left)); top: max(22px, env(safe-area-inset-top)); z-index: 50; display: block; width: 148px; }
.piperSeoLogo img { display: block; width: 100%; height: auto; }
.piperSeoTopNav { position: fixed; top: max(18px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); z-index: 60; display: flex; align-items: center; gap: 6px; padding: 6px; max-width: calc(100vw - 220px); border: 1px solid var(--border); border-radius: 999px; background: color-mix(in srgb, var(--glass-strong) 92%, transparent); box-shadow: var(--shadow-sm); backdrop-filter: blur(16px) saturate(130%); }
.piperSeoTopNav a { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; padding: 0 11px; border-radius: 999px; color: var(--muted); font: 800 11px/1 var(--themeBody); text-decoration: none; letter-spacing: .03em; }
.piperSeoTopNav a:hover,
.piperSeoTopNav a[aria-current="page"] { background: var(--glass-soft); color: var(--text); }
.piperSeoTopNav .piperSeoNavCta { background: var(--accent); color: #fff; }
.piperSeoShell,
.piper404Shell { position: relative; z-index: 5; width: min(1120px, calc(100vw - 44px)); margin: 0 auto; padding: 112px 0 44px; display: grid; gap: 18px; }
.piperSeoHero,
.piperSeoSection,
.piperSeoRelated,
.piperSeoFooter,
.piper404Card { border: 1px solid var(--border); background: color-mix(in srgb, var(--glass-strong) 93%, transparent); box-shadow: var(--shadow-md); backdrop-filter: blur(15px) saturate(125%); }
.piperSeoHero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .65fr); gap: clamp(28px, 5vw, 64px); align-items: center; min-height: 510px; padding: clamp(34px, 5vw, 62px); border-radius: 30px; }
.piperSeoBreadcrumb { display: flex; gap: 8px; align-items: center; margin: 0 0 18px; color: var(--muted); font: 800 10px/1 var(--themeBody); letter-spacing: .1em; text-transform: uppercase; }
.piperSeoBreadcrumb a { color: var(--accent-strong); }
.piperSeoHero h1,
.piper404Card h1 { margin: 0 0 18px; color: var(--text); font: 300 clamp(40px, 6vw, 70px)/.98 var(--themeHeaders); letter-spacing: -.04em; }
.piperSeoLead { margin: 0; max-width: 650px; color: var(--muted); font: 520 clamp(16px, 1.7vw, 20px)/1.65 var(--themeBody); }
.piperSeoPoints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.piperSeoPoints span { display: inline-flex; min-height: 29px; align-items: center; padding: 0 11px; border: 1px solid var(--border-soft); border-radius: 999px; background: var(--glass-soft); color: var(--muted); font: 850 10px/1 var(--themeBody); letter-spacing: .055em; text-transform: uppercase; }
.piperSeoHeroActions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.piperSeoButton { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--glass-strong); color: var(--text); font: 800 12px/1 var(--themeBody); text-decoration: none; }
.piperSeoButton--primary { border-color: transparent; background: var(--accent); color: #fff; }
.piperSeoVisual { position: relative; min-height: 330px; display: grid; place-items: center; }
.piperSeoVisual::before { content: ""; position: absolute; inset: 32px 10px 18px 36px; border: 1px solid var(--border-soft); border-radius: 28px; background: var(--glass-soft); transform: rotate(3deg); }
.piperSeoDemo { position: relative; width: min(100%, 390px); min-height: 280px; padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: color-mix(in srgb, var(--glass-strong) 96%, transparent); box-shadow: var(--shadow-lg); }
.piperSeoDemoTop { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font: 800 10px/1 var(--themeBody); text-transform: uppercase; letter-spacing: .08em; }
.piperSeoDemoScreen { margin-top: 20px; padding: 18px; min-height: 165px; border-radius: 18px; background: color-mix(in srgb, var(--accent-soft) 72%, var(--glass-soft)); display: grid; align-content: center; gap: 12px; }
.piperSeoSlot { min-height: 64px; padding: 12px 14px; display: grid; align-content: center; border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 12px; background: var(--glass-strong); }
.piperSeoSlot strong { display: block; color: var(--text); font: 800 12px/1.3 var(--themeBody); }
.piperSeoSlot span { display: block; margin-top: 4px; color: var(--muted); font: 600 10px/1.4 var(--themeBody); }
.piperSeoCode { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: rgba(32,38,45,.92); color: #e9edf0; font: 600 10px/1.55 var(--font-mono); overflow-wrap: anywhere; }
.piperSeoSection { padding: clamp(28px, 4vw, 48px); border-radius: 26px; }
.piperSeoSectionHead { max-width: 760px; margin-bottom: 26px; }
.piperSeoEyebrow { margin: 0 0 8px; color: var(--accent-strong); font: 900 10px/1 var(--themeBody); letter-spacing: .12em; text-transform: uppercase; }
.piperSeoSection h2,
.piperSeoRelated h2 { margin: 0 0 10px; color: var(--text); font: 300 clamp(27px, 3.5vw, 40px)/1.08 var(--themeHeaders); }
.piperSeoSectionHead > p:last-child,
.piperSeoRelated > p { margin: 0; color: var(--muted); font: 520 15px/1.7 var(--themeBody); }
.piperSeoStepGrid,
.piperSeoValueGrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.piperSeoStep,
.piperSeoValue { padding: 20px; border: 1px solid var(--border-soft); border-radius: 18px; background: var(--glass-soft); }
.piperSeoStepNum,
.piperSeoValueIcon { display: inline-grid; place-items: center; width: 35px; height: 35px; margin-bottom: 14px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-strong); font: 900 12px/1 var(--themeBody); }
.piperSeoStep h3,
.piperSeoValue h3 { margin: 0 0 7px; color: var(--text); font: 800 16px/1.25 var(--themeBody); }
.piperSeoStep p,
.piperSeoValue p { margin: 0; color: var(--muted); font: 520 13px/1.65 var(--themeBody); }
.piperSeoPlanGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.piperSeoPlan { padding: 23px; border: 1px solid var(--border-soft); border-radius: 18px; background: var(--glass-soft); }
.piperSeoPlan.is-premium { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); background: color-mix(in srgb, var(--accent-soft) 52%, var(--glass-soft)); }
.piperSeoPlan h3 { margin: 0 0 4px; color: var(--text); font: 800 18px/1.2 var(--themeBody); }
.piperSeoPlan strong { color: var(--accent-strong); }
.piperSeoPlan ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); font: 520 13px/1.7 var(--themeBody); }
.piperSeoFaq { display: grid; gap: 9px; }
.piperSeoFaq details { border: 1px solid var(--border-soft); border-radius: 15px; background: var(--glass-soft); overflow: clip; }
.piperSeoFaq summary { cursor: pointer; padding: 16px 18px; color: var(--text); font: 800 14px/1.35 var(--themeBody); }
.piperSeoFaq p { margin: 0; padding: 0 18px 18px; color: var(--muted); font: 520 13px/1.7 var(--themeBody); }
.piperSeoRelated { padding: clamp(28px, 4vw, 44px); border-radius: 26px; }
.piperSeoRelatedGrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.piperSeoRelatedCard { display: flex; justify-content: space-between; gap: 16px; padding: 18px; border: 1px solid var(--border-soft); border-radius: 16px; background: var(--glass-soft); color: var(--text); text-decoration: none; }
.piperSeoRelatedCard:hover { border-color: var(--accent); background: var(--accent-soft); }
.piperSeoRelatedCard > span { display: grid; gap: 5px; }
.piperSeoRelatedCard > span span { color: var(--muted); font: 520 12px/1.55 var(--themeBody); }
.piperSeoRelatedCard b { color: var(--accent-strong); }
.piperSeoFooter { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-radius: 18px; color: var(--muted); font: 700 11px/1.5 var(--themeBody); }
.piperSeoFooter a { color: inherit; }
.piperSeoFooter nav { display: flex; flex-wrap: wrap; gap: 12px; }
.piper404Shell { min-height: 100vh; align-items: center; justify-items: center; }
.piper404Card { width: min(720px, 100%); padding: clamp(34px, 7vw, 72px); border-radius: 28px; text-align: center; }
.piper404Mark { margin: 0 0 12px; color: var(--accent-strong); font: 900 10px/1 var(--themeBody); letter-spacing: .12em; text-transform: uppercase; }
.piper404Lead { max-width: 560px; margin: 0 auto; color: var(--muted); font: 520 16px/1.7 var(--themeBody); }
.piper404Actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
@media (max-width: 820px) {
    .piperSeoHero { grid-template-columns: 1fr; min-height: 0; }
    .piperSeoStepGrid, .piperSeoValueGrid { grid-template-columns: 1fr; }
    .piperSeoPlanGrid { grid-template-columns: 1fr; }
    .piperSeoVisual { min-height: 280px; }
}
@media (max-width: 700px) {
    .piperSeoLogo { position: absolute; width: 125px; }
    .piperSeoTopNav { position: absolute; top: 69px; left: 20px; right: 20px; max-width: none; overflow-x: auto; justify-content: flex-start; border-radius: 14px; }
    .piperSeoShell { width: min(100% - 24px, 1120px); padding-top: 126px; }
    .piperSeoHero { padding: 28px 21px; border-radius: 22px; }
    .piperSeoRelatedGrid { grid-template-columns: 1fr; }
    .piperSeoFooter { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
    .piperSeoTopNav a { flex: 0 0 auto; }
    .piperSeoHero h1, .piper404Card h1 { font-size: 40px; }
    .piperSeoSection, .piperSeoRelated { padding: 23px 18px; border-radius: 20px; }
    .piperSeoHeroActions, .piper404Actions { flex-direction: column; }
    .piperSeoButton { width: 100%; }
}
