.download-showcase {
  --app-blue: #3746a8;
  --night: #182c2b;
  color: var(--night);
  margin: 21px 0 clamp(45px,6vw,80px);
}
.showcase-hero {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  align-items: stretch;
  border: 1px solid #dcdaca;
  border-radius: 30px;
  overflow: hidden;
  background: #fffcf2;
}
.showcase-copy {
  align-self: center;
  padding: clamp(25px,3.6vw,54px);
}
.showcase-product { display: flex; align-items: center; gap: 13px; }
.showcase-product img { display: block; width: 56px; height: 56px; border-radius: 13px; }
.showcase-product strong, .showcase-product span { display: block; }
.showcase-product strong { color: #243c34; font-size: 1.17rem; letter-spacing: -.035em; line-height: 1.4; }
.showcase-product span { color: #5a665d; font-size: .88rem; }
.showcase-copy h1 {
  margin: clamp(24px,2.6vw,36px) 0 14px;
  color: var(--night);
  font-size: clamp(3.05rem,4.65vw,4.65rem);
  line-height: .99;
  letter-spacing: -.057em;
}
.showcase-copy h1 em { display: block; font-family: Georgia,serif; color: var(--app-blue); font-weight: 400; }
.showcase-copy > p { max-width: 34ch; font-size: 1.045rem; line-height: 1.55; color: #45554d; margin: 0 0 24px; }
.download-showcase .showcase-install {
  background: #283995;
  border: 1px solid #283995;
  color: white;
  padding: 13px 23px;
  min-height: 50px;
  border-radius: 13px;
  font-weight: 650;
  font-size: 1rem;
  gap: 15px;
}
.download-showcase .showcase-install:hover { background: #17256e; filter: none; }
.download-showcase a:focus-visible,.download-showcase button:focus-visible { outline: 3px solid #aa4f18; outline-offset: 4px; }
.showcase-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(385px,35vw,490px);
  background: #193d2d;
}
.showcase-art { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 42%; }
.showcase-stage::after { content:''; pointer-events:none; position:absolute; inset:0; background:linear-gradient(180deg,transparent 35%,#0b241844); }
.showcase-preview { display: block; position: absolute; z-index:1; inset: 0; color: #202751; }
/* Direct links remain usable when the dialog cannot open. */
.showcase-image-links { display:none; }
.showcase-image-links:target { position:absolute; inset:0; z-index:4; display:flex; flex-direction:column; justify-content:safe center; align-items:center; overflow:auto; background:#fffdf7; }
.showcase-image-links a { padding:6px 18px; color:#283995; text-decoration:underline; }
.showcase-preview:focus-visible { outline-offset: -5px !important; }
.showcase-phone {
  position: absolute;
  width: clamp(148px,16.3vw,211px);
  padding: 4px;
  border-radius: 14.5% / 7.1%;
  background: #23312d;
  border: 1px solid #192125;
  box-shadow: 0 17px 29px -11px #252d4a77, 0 0 0 1px #ffffffaa;
}
.showcase-phone img { display: block; width:100%; height:auto; border-radius: 12.6% / 6.3%; }
.showcase-phone--front { z-index: 2; left: 12%; top: 14%; transform: rotate(-5deg); }
.showcase-phone--back { left: 51%; top: 29%; transform: rotate(5deg); }
.showcase-gallery-label {
  position: absolute; z-index: 3; bottom: 16px; right: 18px; display: inline-flex; gap: 8px; align-items: center; background: #fffdf7; border: 1px solid #595d7e55; color: #252b56; padding: 8px 12px; border-radius: 50px; font-size: .88rem; font-weight: 650; box-shadow: 0 4px 14px #38395615;
}
.showcase-gallery-icon { width: 14px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: -3px -3px #fffdf7, -4px -4px currentColor; }
.showcase-preview:hover .showcase-gallery-label { background:#e9ebff; }
.showcase-benefits { scroll-margin-top: 70px; margin: 24px 0 0; padding: 24px clamp(20px,3vw,38px) 28px; color:#fffcef; background: #153f35; border-radius: 23px; }
.showcase-benefits h2 { margin: 0 0 20px; font-size: clamp(1.6rem,2.35vw,2.25rem); line-height:1.14; letter-spacing:-.035em; }
.showcase-benefits h2 { color:#fffcef; }
.showcase-perks { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.showcase-perk { border-left: 1px solid #648476; padding-left: 17px; }
.showcase-perk:first-child { border-left:0; padding-left:0; }
.perk-glyph { display:grid; place-items:center; border-radius: 12px; width:38px; height:38px; margin-bottom:12px; font-size:1.5rem; font-weight:650; line-height:1; color:#233925; background:#dbe99c; }
.compare .perk-glyph { color:#322a62; background:#d7d6fb; }
.plan .perk-glyph { color:#583c29; background:#ffcdac; }
.budget .perk-glyph { color:#193e3e; background:#b3dfe0; }
.showcase-perk h3 { margin:0 0 4px; font: 650 1.06rem/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; color: #fffcef; letter-spacing:-.025em; }
.showcase-perk p { margin:0; font-size:.92rem; line-height:1.45; color:#e1ece2; max-width:26ch; }
.showcase-stats { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 28px; border-bottom:1px solid #d4d9cd; padding:19px 0; color:#516259; }
.showcase-stats span { font-size:.93rem; }
.showcase-stats b { color:#203c32; }
.showcase-stats-label { font-weight: 650; color: #344f42; }
.showcase-end { margin-top:33px; display:flex; flex-wrap:wrap; align-items:center; gap:12px 22px; }
.showcase-web-link { font-size:.93rem; text-decoration:underline; text-underline-offset:4px; color:#375347; }
.showcase-dialog:not([open]) { display:none; }
.showcase-dialog { border:1px solid #bec9be; padding:0; width:min(425px,calc(100% - 24px)); max-height:calc(100dvh - 18px); border-radius:21px; color:#263b32; background:#fbfaf4; }
.showcase-dialog::backdrop { background:#101923cc; }
body:has(.showcase-dialog[open]) { overflow:hidden; }
.viewer-head,.viewer-controls { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:6px 15px; }
.viewer-head h2 { margin:0; font-size:1.2rem; }
.viewer-head button,.viewer-controls button { border:1px solid #cfd6ca; border-radius:50%; min-width:44px; height:44px; display:grid; place-items:center; cursor:pointer; background:#fff; color:#243c34; font:1.7rem/1 Arial,sans-serif; }
.viewer-controls span { font-weight:600; font-size:.94rem; }
.viewer-figure { margin:0; height:min(68dvh,640px); background:#dedfed; text-align:center; }
.viewer-figure img { height:100%; width:100%; object-fit:contain; }
@media(max-width:900px) {
  .showcase-perks { grid-template-columns: repeat(2,minmax(0,1fr)); gap:21px 18px; }
  .showcase-perk { display:flex; align-items:flex-start; gap:10px; padding:0; border:0; }
  .perk-glyph { flex-shrink:0; margin:0; }
}
@media(max-width:690px) {
  .download-showcase { margin-top:12px; }
  .showcase-hero { grid-template-columns:1fr; border-radius:21px; }
  .showcase-copy { padding:23px 22px; }
  .showcase-product img { width:44px;height:44px;border-radius:10px; }
  .showcase-product { gap:10px; }
  .showcase-product strong { font-size:1.04rem; }
  .showcase-copy h1 { margin:19px 0 10px; font-size:clamp(2.55rem,9.6vw,3.8rem); }
  .showcase-copy > p { font-size:1rem; margin-bottom:15px; }
  .showcase-stage { min-height:0; height:clamp(223px,63vw,325px); }
  .showcase-phone { width:32%; max-width:166px; min-width:112px; padding:3px; }
  .showcase-phone--front { left:15%; top:15%; }
  .showcase-phone--back { left:53%; top:27%; }
  .showcase-gallery-label { right:12px; bottom:12px; }
  .showcase-benefits { margin-top:17px; padding:20px 17px; }
  .showcase-perk { flex-direction:column; gap:7px; }
  .showcase-perk h3 { font-size:.99rem; }
  .showcase-perk p { font-size:.89rem; }
  .showcase-stats { gap:5px 12px; padding:15px 0; }
  .showcase-stats span { font-size:.85rem; }
  .showcase-stats-label { flex-basis:100%; text-align:center; }
}
@media(max-width:355px) {
  .showcase-copy { padding:19px 16px; }
  .showcase-perks { gap:16px 10px; }
}

.download-showcase .analytics-consent[data-consent-state="unknown"] {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: none;
  max-height: none;
  margin: 16px 0 0;
  box-shadow: none;
}
