@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/schibsted-grotesk-latin-800.woff2) format('woff2'); }

/* ---------- Hero: the menu bar, the open popup, one upload at a time ---------- */
.heroB { position: relative; padding: 0; height: 600px; overflow: hidden; color: #1d1d1f;
  background: linear-gradient(90deg, rgba(247, 245, 241, 0.94) 0%, rgba(247, 245, 241, 0.88) 34%, rgba(247, 245, 241, 0.55) 50%, rgba(247, 245, 241, 0) 66%),
              url(/assets/img/hero/wallpaper.webp) 30% 40% / cover no-repeat; }
.heroB__bar { position: absolute; left: 0; right: 0; top: 0; height: 32px; display: flex; align-items: center; gap: 22px; padding: 0 22px;
  background: rgba(255, 255, 255, 0.42); -webkit-backdrop-filter: blur(30px) saturate(1.7); backdrop-filter: blur(30px) saturate(1.7);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); font: 500 13.5px/1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; white-space: nowrap; z-index: 2; }
.heroB__bar .end { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.heroB__sym { width: 17px; height: 14px; background: #1d1d1f; -webkit-mask: var(--s) center / contain no-repeat; mask: var(--s) center / contain no-repeat; }
.heroB__icon { position: relative; width: 34px; height: 23px; border-radius: 5px; background: rgba(0, 0, 0, 0.13); }
.heroB__icon::after { content: ""; position: absolute; inset: 3.5px 9px; background: #1d1d1f;
  -webkit-mask: url(/assets/img/hero/menubar-icon.png) center / contain no-repeat; mask: url(/assets/img/hero/menubar-icon.png) center / contain no-repeat; }

.heroB__file { position: absolute; left: 0; top: 0; width: 96px; height: 96px; pointer-events: none; z-index: 3; will-change: transform, opacity; }
.heroB__file img { width: 100%; height: 100%; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.22)); }

/* the popup, drawn in HTML at 1.5x so it stays sharp */
.dsp { position: absolute; top: 46px; width: 340px; transform: scale(1.08); transform-origin: top center; z-index: 1;
  font: 13px/1.25 -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; color: #1d1d1f; -webkit-font-smoothing: antialiased; }
.dsp__card { position: relative; border-radius: 12px; background: rgba(244, 244, 247, 0.9);
  -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.22), 0 14px 34px rgba(0, 0, 0, 0.22); }
.dsp__arrow { position: absolute; top: -10.5px; left: calc(var(--ax, 170px) - 12px); width: 24px; height: 11px; }
.dsp__arrow svg { position: absolute; inset: 0; overflow: visible; }
.dsp__tools { display: flex; align-items: center; gap: 2px; height: 44px; padding: 0 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.dsp__tools i { width: 30px; height: 28px; background: rgba(29, 29, 31, 0.6); -webkit-mask: var(--s) center / 15px no-repeat; mask: var(--s) center / 15px no-repeat; }
.dsp__tools i.gear { margin-left: auto; }
.dsp__sect { font-size: 11px; font-weight: 600; color: #8a8a8e; padding: 8px 16px 2px; }
.dsp__list { padding: 0 6px 6px; }
.dsp__row { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 8px; border-radius: 8px; overflow: hidden; transition: height 0.5s ease, opacity 0.5s ease, background 0.6s; }
.dsp__row.enter { height: 0; opacity: 0; }
.dsp__row.fresh { background: rgba(10, 132, 255, 0.10); }
.dsp__thumb { flex: 0 0 38px; height: 38px; border-radius: 6px; background: center / cover no-repeat; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.dsp__text { min-width: 0; }
.dsp__title { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsp__sub { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 11.5px; color: #8a8a8e; }
.dsp__sub img { width: 12px; height: 12px; object-fit: contain; }
.dsp__sub .ok { display: inline-flex; align-items: center; gap: 3px; color: #1d1d1f; font-weight: 500; }
.dsp__sub .ok b { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 6px; background: #28c840; color: #fff; font-size: 8px; line-height: 1; font-weight: 800; }
.dsp__up { overflow: hidden; height: 0; transition: height 0.45s ease; }
.dsp__up.open { height: 88px; }
.dsp__up .dsp__row { height: 58px; }
.dsp__bar { height: 4px; margin: 6px 0 4px; width: 180px; border-radius: 2px; background: rgba(0, 0, 0, 0.1); overflow: hidden; }
.dsp__bar b { display: block; height: 100%; width: 0; background: #0a84ff; border-radius: 2px; }
.dsp__x { margin-left: auto; width: 14px; height: 14px; border-radius: 7px; background: #a1a1a6; position: relative; }
.dsp__x::before, .dsp__x::after { content: ""; position: absolute; left: 3.5px; top: 6.5px; width: 7px; height: 1.2px; background: #fff; transform: rotate(45deg); }
.dsp__x::after { transform: rotate(-45deg); }
.dsp__foot { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.dsp__foot svg { width: 14px; height: 14px; }

/* the copy sits centred on the popup */
.heroB__copy { position: absolute; left: 0; right: 0; top: 72px; height: 500px; display: flex; align-items: center; }
.heroB h1 { font-family: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: clamp(2.6rem, 4.6vw, 4.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 1.5rem; color: #16181c; }
.heroB h1 span { display: block; }
.heroB h1 .done { color: #009b72; }
.heroB__lead { max-width: 30rem; font-size: 1.18rem; line-height: 1.5; letter-spacing: -0.01em; color: #2b2f36; margin-bottom: 1.7rem; }
.heroB__buy { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.heroB__buy .btn { display: inline-flex; align-items: center; height: 52px; padding: 0 1.7rem; font-size: 1.05rem; }
/* the second button: same shape as the first, outlined on a frosted fill */
.heroB__buy .btn-buy { color: #1d1d1f; background: rgba(255, 255, 255, 0.55); border: 1.5px solid rgba(29, 29, 31, 0.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background 0.2s, border-color 0.2s; }
.heroB__buy .btn-buy:hover, .heroB__buy .btn-buy:focus { color: #1d1d1f; background: rgba(255, 255, 255, 0.85); border-color: rgba(29, 29, 31, 0.4); }
.heroB__meta { margin-top: 0.9rem; font-size: 0.9rem; color: #4a505a; }
.heroB__meta a { color: inherit; text-decoration: underline; }

@media (max-width: 1199px) { .dsp { transform: scale(1); } }
@media (max-width: 991px) {
  .heroB { height: auto; padding-top: 64px;
    background: linear-gradient(rgba(247, 245, 241, 0.25) 0%, rgba(247, 245, 241, 0.9) 58%, rgba(247, 245, 241, 0.96) 100%),
                url(/assets/img/hero/wallpaper.webp) 30% 40% / cover no-repeat; }
  .heroB__bar { height: 29px; font-size: 12.5px; gap: 16px; padding: 0 14px; }
  .heroB__bar .end { gap: 18px; }
  .heroB__icon { width: 32px; height: 22px; }
  .heroB__sym { width: 16px; height: 13px; }
  /* room for the card with its upload row, so the text below never moves */
  .dsp { position: relative; top: 0; left: auto !important; margin: 0 auto !important; transform: none; height: 470px; max-width: 100%; }
  .heroB__copy { position: static; height: auto; display: block; padding: 0.5rem 0 3rem; }
  .heroB__lead { font-size: 1.05rem; }
  .heroB__file { display: none; }
}
@media (max-width: 575px) {
  .heroB__sym.opt { display: none; }
  /* a smaller card on phones, so the headline starts on the first screen; the height still holds the upload row */
  .dsp { transform: scale(0.8); transform-origin: top center; height: 376px; }
}

/* ---------- Other platforms, a slim strip under the hero ---------- */
.dlA { background: #fff; border-bottom: 1px solid rgba(29, 29, 31, 0.08); }
.dlA__row { display: flex; align-items: center; justify-content: center; gap: 2.2rem; flex-wrap: wrap; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.dlA__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7079; }
.dlA__item { display: inline-flex; align-items: center; gap: 0.7rem; color: #1d1d1f !important; text-decoration: none !important; }
.dlA__item img, .dlA__item .g { flex: none; width: 34px; height: 34px; border-radius: 9px; }
.dlA__item .g { display: flex; align-items: center; justify-content: center; background: #16181c; color: #fff; }
.dlA__item .g svg.ap { width: 16px; height: 20px; margin-top: -2px; }
.dlA__item .g svg.pl { width: 15px; height: 16px; margin-left: 2px; }
.dlA__item span { display: flex; flex-direction: column; font-size: 0.82rem; line-height: 1.25; color: #6b717b; }
.dlA__item b { font-size: 1rem; color: #1d1d1f; }
.dlA__item:hover b { color: #009b72; }
.dlA__item .g img { width: auto; height: 20px; border-radius: 0; filter: brightness(0) invert(1); }
@media (max-width: 575px) {
  /* one row on phones: everything in em, scaled with the screen width */
  .dlA__row { flex-wrap: nowrap; justify-content: space-between; gap: 0.7em; padding-top: 1rem; padding-bottom: 1rem; font-size: min(16px, 3.9vw); }
  .dlA__label { display: none; }
  .dlA__item { gap: 0.4em; min-width: 0; }
  .dlA__item img, .dlA__item .g { width: 1.625em; height: 1.625em; border-radius: 0.44em; }
  .dlA__item .g svg.ap { width: 0.75em; height: 0.94em; }
  .dlA__item .g svg.pl { width: 0.69em; height: 0.75em; }
  .dlA__item .g img { height: 0.94em; }
  .dlA__item span { font-size: 0.64em; line-height: 1.2; white-space: nowrap; }
  .dlA__item b { font-size: 1.25em; }
}
