/*
 * MyScript Notes ad — plain CSS only (standalone iframe).
 * Assets: hero-decoration.svg, navy-blur.png, yellow-blur.png, icon-notes.svg (under /ads/assets/img/notes/).
 */
@font-face {
  font-family: Nohemi;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/ads/fonts/Nohemi-VF.ttf") format("truetype"),
    url("/fonts/Nohemi-VF.ttf") format("truetype");
}

@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/inter/v13/UcCo3FwrK3iLTcviYwY.woff2) format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: InterVariable, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ad-main {
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 90px;
}

.ad-hero-deco {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 1024px;
  height: 1024px;
  pointer-events: none;
}

.ad-blur {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: min(2800px, 200vw);
  height: min(2800px, 200vw);
  pointer-events: none;
  z-index: 1;
}

.ad-blur-left { left: -33.333%; }
.ad-blur-right { right: -33.333%; }

.ad-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  padding: 16px 0px 32px 32px;
}

.ad-brand {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.ad-logo {
  flex-shrink: 0;
  width: 81px;
  height: 81px;
  filter: drop-shadow(0 23.625px 6.563px rgba(0, 0, 0, 0)) drop-shadow(0 15.313px 6.125px rgba(0, 0, 0, 0.01)) drop-shadow(0 8.313px 5.25px rgba(0, 0, 0, 0.05)) drop-shadow(0 3.938px 3.938px rgba(0, 0, 0, 0.09)) drop-shadow(0 0.875px 2.188px rgba(0, 0, 0, 0.1));
}

.ad-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  min-width: 0;
}

.ad-title {
  font-family: Nohemi, InterVariable, system-ui, sans-serif;
  font-size: 24px;
  line-height: normal;
  letter-spacing: 0.56px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.ad-subtitle {
  font-family: InterVariable, system-ui, sans-serif;
  font-size: 12px;
  line-height: normal;
  letter-spacing: -0.175px;
  font-weight: 500;
  color: #000;
  margin: 0;
}

.ad-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.ad-badge {
  display: inline-flex;
  text-decoration: none;
}

.ad-badge img {
  display: block;
  width: auto;
  height: 36px;
}

@media (min-width: 728px) {

  .ad-title {
    font-size: 28px;
  }

  .ad-subtitle {
    font-size: 14px;
  }

  .ad-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 48px;
    min-height: 90px;
  }

  .ad-badges {
    justify-content: flex-star;
    flex-wrap: nowrap;
  }

  .ad-brand {
    gap: 16px;
  }

  .ad-subtitle {
    max-width: 285px;
  }

  .ad-badge--play img {
    width: 122px;
    height: auto;
    max-height: 36.148px;
  }

  .ad-badge--appstore img {
    width: 108px;
    height: auto;
    max-height: 36px;
  }
}