.pdf-case{--pdf-ink:#131e36;--pdf-muted:#485a78;--pdf-paper:#fff;--pdf-bg:#f3f6fc;--pdf-line:#dbe4f2;--pdf-accent:#204ed1;color:var(--pdf-ink);background:var(--pdf-paper)}
[data-avro-theme=dark] .pdf-case{--pdf-ink:#f2f6ff;--pdf-muted:#becae1;--pdf-paper:#111c33;--pdf-bg:#172741;--pdf-line:#344767;--pdf-accent:#a8c1ff}
.pdf-case-hero{background:radial-gradient(ellipse at 8% 88%,#dfe9fb,transparent 61%),var(--pdf-bg)}
[data-avro-theme=dark] .pdf-case-hero{background:radial-gradient(ellipse at 12% 85%,#203860,transparent 68%),var(--pdf-bg)}
.pdf-case-hero-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(28px,5vw,76px);align-items:center;padding-block:clamp(36px,6vw,84px)}
.pdf-case-intro .eyebrow{display:block;color:var(--pdf-accent);font-weight:750;letter-spacing:.08em}
.pdf-case-intro h1{font-size:clamp(1.85rem,3.5vw,3.05rem);line-height:1.04;letter-spacing:-.06em;color:var(--pdf-ink);margin:16px 0 14px}
.pdf-case-intro h1 small{display:inline-block;font-size:.46em;letter-spacing:-.02em;color:var(--pdf-muted);font-weight:650}
.pdf-case-intro h2{font-size:clamp(2.65rem,5.4vw,5rem);max-width:11ch;margin:0 0 20px;color:var(--pdf-ink);line-height:.98;letter-spacing:-.073em;text-wrap:balance}
.pdf-case-intro p{max-width:47ch;color:var(--pdf-muted);line-height:1.6;margin:0}
.pdf-case-actions{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;margin-block:22px 13px}
.pdf-case-actions .button{background:#214ed0;color:#fff;border-color:#214ed0;white-space:normal}
.pdf-case-actions .button:hover{background:#173cac;border-color:#173cac;color:#fff}
.pdf-case-text-link{color:var(--pdf-accent);font-weight:670;text-decoration:underline;text-underline-offset:.22em;padding-block:8px}
.pdf-case-intro .pdf-case-preview-note{font-size:.84rem;max-width:49ch}
.pdf-case-hero-device{position:relative;isolation:isolate;aspect-ratio:1.02;overflow:hidden;border-radius:clamp(23px,4vw,40px);background:radial-gradient(ellipse at 73% 25%,#8092ff,transparent 55%),radial-gradient(ellipse at 15% 100%,#2565ed,transparent 60%),linear-gradient(141deg,#192356,#2035a0 56%,#162361);box-shadow:0 24px 45px #10265d34}
.pdf-case-device-halo{position:absolute;inset:10% -8% -8% 5%;transform:rotate(-21deg);border-radius:48%;border:1px solid #becaff45;box-shadow:0 0 0 33px #b7c6ff25,0 0 0 64px #b7c6ff19,0 0 0 97px #b7c6ff15}
.pdf-case-hero-device img{position:absolute;display:block;height:auto;aspect-ratio:436/903;border-radius:13% / 6%;filter:drop-shadow(0 20px 20px #080f36a6)}
.pdf-case-device-back{width:35%;left:18%;top:21%;transform:rotate(-15deg)}
.pdf-case-device-front{width:37%;left:49%;top:12%;transform:rotate(11deg)}
.pdf-case-section{padding-block:clamp(44px,6.5vw,84px)}
.pdf-case-section h2{font-size:clamp(1.7rem,3.2vw,2.9rem);letter-spacing:-.052em;line-height:1.09;margin:0 0 24px;color:var(--pdf-ink)}
.pdf-case-gallery{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);grid-template-rows:repeat(2,minmax(215px,auto));gap:16px}
.pdf-case-gallery figure{margin:0;background:var(--pdf-bg);border:1px solid var(--pdf-line);border-radius:22px;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);align-items:center}
.pdf-case-gallery .pdf-case-feature{grid-area:1/1/3/2;grid-template-columns:1fr;grid-template-rows:1fr auto;background:linear-gradient(150deg,#c8d9ff,#e7efff)}
[data-avro-theme=dark] .pdf-case-gallery .pdf-case-feature{background:linear-gradient(150deg,#293d71,#172541)}
.pdf-case-gallery .pdf-case-image{height:100%;min-height:0;position:relative;overflow:hidden;display:grid;place-items:center;padding:16px}
.pdf-case-gallery figure:not(.pdf-case-feature) .pdf-case-image{min-height:215px}
.pdf-case-gallery figure:not(.pdf-case-feature) img{position:absolute;top:16%;width:min(69%,170px);box-shadow:0 12px 26px #10316b3b}
.pdf-case-gallery .pdf-case-feature img{width:min(51%,212px);box-shadow:0 16px 38px #203c7657}
.pdf-case-gallery img{display:block;height:auto;aspect-ratio:436/903;border-radius:13% / 6%}
.pdf-case-gallery figcaption{padding:22px 18px 22px 6px}
.pdf-case-gallery .pdf-case-feature figcaption{padding:0 24px 22px}
.pdf-case-gallery h3{color:var(--pdf-ink);margin:0 0 6px;font-size:clamp(1.05rem,2vw,1.5rem);line-height:1.12;letter-spacing:-.035em}
.pdf-case-gallery p,.pdf-case-details p,.pdf-case-details li{color:var(--pdf-muted);margin:0;line-height:1.55}
.pdf-case-details{background:var(--pdf-bg);border-block:1px solid var(--pdf-line)}
.pdf-case-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,3vw,40px)}
.pdf-case-details article{border-top:2px solid var(--pdf-accent);padding-top:17px}
.pdf-case-details article h2{font-size:clamp(1.2rem,2.5vw,1.7rem);margin-bottom:10px}
.pdf-case-details ul{margin:0;padding-inline-start:1.15rem}
.pdf-case-contact{padding:clamp(22px,4vw,52px);border-radius:26px;background:linear-gradient(132deg,#121e43,#203c9a);display:flex;align-items:center;justify-content:space-between;gap:18px 28px;flex-wrap:wrap}
.pdf-case-contact h2{color:#fff;margin:0}
.pdf-case-contact .button{background:#f4f7ff;color:#152b67;border-color:#f4f7ff;white-space:normal}
@media(max-width:760px){
 body:has(.pdf-case) .header-inner{gap:9px}
 body:has(.pdf-case) .header-inner>.logo{width:clamp(100px,34vw,146px)}
 body:has(.pdf-case) .header-inner>.logo img{width:100%;height:auto}
 .pdf-case-hero-grid,.pdf-case-gallery,.pdf-case-details-grid{grid-template-columns:minmax(0,1fr)}
 .pdf-case-hero-grid{gap:24px}
 .pdf-case-intro h2{max-width:14ch}
 .pdf-case-hero-device{aspect-ratio:1.18}
 .pdf-case-gallery{grid-template-rows:auto}
 .pdf-case-gallery .pdf-case-feature{grid-area:auto;order:-1}
 .pdf-case-gallery figure:not(.pdf-case-feature) .pdf-case-image{min-height:182px}
 .pdf-case-details-grid{gap:26px}
}
