/* PDF Lover 3D - all styles for the website.
   Colours: purple #5b3df5, pink #e0309a, dark text #17133f. Search for these to restyle. */
* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: #d4d2d2;
  color: #17133f;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  line-height: 1.5
}

a {
  color: inherit;
  text-decoration: none
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 5vw;
  background: #fff;
  box-shadow: 0 2px 14px rgba(23, 19, 63, .1);
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, #5b3df5, #e0309a, #ff7a3d, #ffc93c, #00b8a9)1
}

.logo {
  gap: 10px;
  font-weight: 800;
  font-size: 22px
}

.logo .lt {
  background: linear-gradient(90deg, #5b3df5, #e0309a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.nv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0 auto
}

.dd>button,
.nv>a {
  white-space: nowrap;
  padding: 9px;
  border: 0;
  background: 0 0;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #17133f;
  cursor: pointer;
  border-radius: 10px;
  letter-spacing: .01em
}

.dd.o>button,
.dd>button:hover,
.mn a:hover,
.nv>a:hover {
  background: #f1ecff;
  color: #5b3df5
}

.dd {
  position: relative
}

.mn {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(23, 19, 63, .22);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s
}

.dd.o .mn {
  opacity: 1;
  visibility: visible;
  transform: none
}

@media (hover:hover) {
  .dd:hover .mn {
    opacity: 1;
    visibility: visible;
    transform: none
  }
}

.mn a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px
}

.hb,
.nv .al {
  display: none
}

.hb {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f1ecff;
  font-size: 24px;
  cursor: pointer;
  color: #17133f
}

.art,
.hero {
  display: flex
}

#sr,
.hero {
  text-align: center
}

.hero {
  flex-direction: column;
  align-items: center;
  padding: 50px 5vw 56px;
  color: #fff;
  background: radial-gradient(circle at 12% 20%, rgba(255, 122, 61, .55), transparent 38%), radial-gradient(circle at 88% 25%, rgba(0, 209, 193, .5), transparent 40%), linear-gradient(120deg, #2a1b8f, #6a2cf0 50%, #d62f9a)
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -.02em;
  max-width: 760px
}

.hero p {
  margin: 0 0 24px;
  max-width: 560px;
  color: #f1ecff;
  font-size: 18px
}

#sr {
  width: 100%;
  max-width: 520px;
  padding: 16px 22px;
  border: 0;
  border-radius: 99px;
  font-size: 17px;
  font-family: inherit;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25)
}

.art {
  justify-content: center;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap
}

.art .ic:nth-child(even) {
  margin-top: 26px
}

.wrap {
  max-width: 1640px;
  margin: 34px auto 50px;
  padding: 0 5vw;
  scroll-margin-top: 90px
}

.grid,
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center
}

.tabs {
  gap: 8px;
  margin-bottom: 26px
}

.tabs button {
  border: 0;
  padding: 11px 20px;
  border-radius: 99px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  color: #17133f;
  box-shadow: 0 3px 10px rgba(23, 19, 63, .1)
}

.tabs button.on {
  background: linear-gradient(120deg, #5b3df5, #e0309a);
  color: #fff
}

.grid {
  gap: 22px
}

.card {
  flex: 0 0 calc((100% - 88px)/5);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 22px;
  padding: 22px 12px 20px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(23, 19, 63, .08)
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(91, 61, 245, .22)
}

.card h3 {
  margin: 12px 0 4px;
  font-size: 15px
}

.card p {
  margin: 0;
  color: #4f4a7a;
  font-size: 13px;
  line-height: 1.45
}

.ic {
  --s: 60px;
  width: var(--s);
  filter: drop-shadow(0 7px 6px rgba(20, 10, 60, .24));
  transition: transform .3s
}

.ic svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible
}

.card:hover .ic {
  transform: translateY(-4px) rotate(-3deg) scale(1.05)
}

.how {
  max-width: 760px;
  margin: 50px auto 0;
  text-align: center;
  color: #fff;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(120deg, #00b8a9, #5b3df5)
}

.how h2 {
  margin: 0 0 6px
}

.ad {
  margin: 14px auto;
  max-width: 1180px;
  padding: 0 5vw;
  overflow: hidden
}

.ad.m {
  display: none
}

@media (max-width:768px) {
  .ad.d {
    display: none
  }

  .ad.m {
    display: block
  }
}

.ad,
.adl,
footer {
  text-align: center
}

.adl {
  flex: 0 0 100%;
  overflow: hidden;
  padding: 2px 0
}

.adl.m {
  display: none
}

@media (max-width:768px) {
  .adl.d {
    display: none
  }

  .adl.m {
    display: block
  }
}

.adc {
  display: flex;
  gap: 16px;
  align-items: flex-start
}

#md,
.adc,
.adx {
  justify-content: center
}

.adx {
  flex: 1 1 0;
  min-width: 0;
  display: flex
}

.adt {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a85b3;
  margin-bottom: 2px
}

.bw,
.doc {
  display: none
}

.doc {
  max-width: 820px;
  margin: 36px auto;
  padding: 34px 5vw;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(23, 19, 63, .1)
}

.doc h1 {
  margin-top: 0;
  background: linear-gradient(90deg, #5b3df5, #e0309a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.doc h2 {
  margin: 26px 0 6px;
  color: #5b3df5
}

.doc li,
.doc p {
  color: #3d3868
}

footer {
  padding: 30px 5vw;
  color: #fff;
  background: linear-gradient(120deg, #2a1b8f, #d62f9a)
}

footer a {
  margin: 0 12px;
  font-weight: 700
}

footer a:hover {
  text-decoration: underline
}

.bw {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 5vw
}

.post {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px
}

.pg {
  display: flex;
  justify-content: space-between;
  font-weight: 600
}

#md {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(23, 19, 63, .6);
  z-index: 50;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s
}

#md.on {
  opacity: 1;
  visibility: visible
}

.box {
  background: #fff;
  border-radius: 22px;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  overflow: auto;
  padding: 26px;
  transform: translateY(34px) scale(.94);
  opacity: 0;
  transition: transform .32s cubic-bezier(.2, .9, .3, 1.15), opacity .25s
}

#md.on .box {
  transform: none;
  opacity: 1
}

#md,
.mh,
.mh h2 {
  display: flex;
  align-items: center
}

.mh,
.mh h2 {
  gap: 10px
}

.mh {
  position: sticky;
  top: -26px;
  z-index: 2;
  justify-content: space-between;
  margin: -26px -26px 14px;
  padding: 18px 26px 10px;
  background: #fff
}

.mh h2 {
  margin: 0;
  font-size: 22px
}

.mi .ic {
  --s: 48px
}

.win i,
.x {
  border-radius: 50%
}

.fl li,
.x {
  background: #f1f0fb
}

.drop,
.x {
  cursor: pointer
}

.x {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  color: #17133f;
  font-size: 28px;
  line-height: 1
}

.drop {
  display: block;
  border: 2px dashed #a9a3e6;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  color: #605b8c;
  background: #f7f6ff
}

.fl {
  list-style: none;
  padding: 0;
  margin: 12px 0
}

.fl li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  margin-bottom: 8px
}

.fa a,
.fa button,
.th {
  background: #fff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800
}

.fi b,
.th {
  overflow: hidden
}

.th {
  flex: none;
  width: 50px;
  height: 64px;
  border: 1px solid #d9d6f3;
  font-size: 12px;
  color: #e53935
}

.th canvas,
.th img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.fi {
  flex: 1;
  min-width: 0;
  font-size: 14px
}

.fi b {
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap
}

.fi small {
  color: #605b8c
}

.fa {
  display: flex;
  gap: 4px;
  flex: none
}

.fa a,
.fa button {
  min-width: 32px;
  height: 32px;
  font-size: 13px;
  padding: 0 8px;
  color: #17133f
}

.fa .rm {
  color: #d32f2f;
  font-size: 18px
}

#opt label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px
}

#opt input,
#opt select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d9d6f3;
  border-radius: 10px;
  font-size: 16px;
  margin-top: 5px;
  font-family: inherit
}

.btn,
.yw h2 {
  font-weight: 800
}

.btn,
.fa a,
.fa button {
  border: 0;
  cursor: pointer
}

.btn {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(120deg, #5b3df5, #e0309a);
  color: #fff;
  font-size: 17px;
  font-family: inherit;
  text-align: center
}

.btn.alt {
  background: #17133f;
  font-size: 15px
}

.btn.gh {
  background: #ece9ff;
  color: #17133f
}

#st {
  margin-top: 10px;
  font-weight: 600;
  min-height: 20px
}

.rw {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f1f0fb;
  border-radius: 12px;
  margin-top: 8px
}

@media (max-width:1500px) {
  .top {
    gap: 10px;
    padding: 10px 3vw
  }

  .dd>button,
  .nv>a {
    padding: 9px 7px;
    font-size: 12px
  }

  .wm {
    font-size: 22px
  }

  .w3 {
    font-size: 16px
  }
}

@media (max-width:1480px) {

  .dd.o .mn,
  .hb,
  .nv .al {
    display: block
  }

  .mn,
  .nv {
    display: none
  }

  .nv {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 8px 5vw 16px;
    box-shadow: 0 18px 30px rgba(23, 19, 63, .18);
    max-height: 75vh;
    overflow: auto
  }

  .nv.s {
    display: flex
  }

  .dd>button,
  .nv>a {
    text-align: left;
    width: 100%
  }

  .mn {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 12px
  }
}

@media (max-width:900px) {
  .art .ic {
    --s: 76px !important
  }

  .art {
    gap: 16px
  }
}

@media (max-width:700px) {
  .art .ic {
    --s: 50px !important
  }

  .art {
    gap: 12px
  }
}

.yw {
  margin: 64px auto 0;
  text-align: center
}

.yw h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 34px
}

.yg {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  text-align: left
}

.yc,
.yt {
  display: flex;
  overflow: hidden
}

.yc {
  flex: 1 1 300px;
  max-width: 370px;
  flex-direction: column;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 22px rgba(23, 19, 63, .1);
  transition: transform .25s, box-shadow .25s
}

.yc:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(91, 61, 245, .2)
}

.yt {
  height: 230px;
  background: var(--b);
  align-items: flex-end;
  justify-content: center;
  padding: 44px 24px 0
}

.yb {
  position: relative;
  flex: 1;
  padding: 26px 28px 24px
}

.yb h3 {
  margin: 0 0 10px;
  font-size: 22px
}

.yb p {
  margin: 0 0 44px;
  color: #4f4a7a;
  font-size: 16px;
  line-height: 1.7
}

.ar {
  position: absolute;
  right: 26px;
  bottom: 16px;
  font-size: 30px;
  transition: transform .2s
}

.yc:hover .ar {
  transform: translate(4px, -4px)
}

.win {
  width: 100%;
  max-width: 300px;
  background: #fff;
  border-radius: 14px 14px 0 0;
  padding: 12px 14px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
  min-height: 150px
}

.win i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  background: #ff5f56
}

.win i:nth-child(2) {
  background: #ffbd2e
}

.win i:nth-child(3) {
  background: #27c93f
}

.win .ln {
  height: 10px;
  border-radius: 5px;
  background: #e6e2f7;
  margin-top: 12px
}

.w80 {
  width: 80%
}

.w55 {
  width: 55%
}

.w70 {
  width: 70%
}

.chip {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff3d6;
  font-size: 13px;
  font-weight: 700;
  color: #7a5200
}

.ph {
  width: 196px;
  background: #fff;
  border-radius: 26px 26px 0 0;
  padding: 14px 12px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  min-height: 170px
}

.ph .nt {
  width: 54px;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  margin: 0 auto 12px
}

.au .av b,
.ph .gr {
  display: grid;
  place-items: center
}

.ph .gr {
  grid-template-columns: 1fr 1fr;
  gap: 6px
}

.ph .ic {
  --s: 52px !important
}

.cal .lb {
  margin-top: 12px;
  font-size: 13px;
  color: #605b8c;
  font-weight: 600
}

.cal .big {
  font-size: 28px;
  font-weight: 800;
  color: #00897b
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 56px;
  margin-top: 8px
}

.bars span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #00b8a9, #5b3df5)
}

@media (max-width:700px) {
  #md {
    padding: 0;
    align-items: flex-end
  }

  .box {
    max-width: none;
    border-radius: 24px 24px 0 0;
    max-height: 90vh;
    max-height: 90dvh;
    transform: translateY(60px)
  }
}

#lg,
.logo {
  display: flex;
  align-items: center
}

.logo {
  flex: none
}

#lg {
  gap: 16px
}

.lm {
  position: relative;
  display: inline-block;
  margin-right: 4px
}

.hrt {
  position: absolute;
  right: -15px;
  bottom: -4px;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3))
}

.wm {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1
}

.au .lg,
.w1 {
  color: #5b3df5
}

.w1 {
  text-shadow: 1px 1px 0#3a22b8, 2px 2px 0#2a1b8f, 3px 4px 6px rgba(42, 27, 143, .35)
}

.w2 {
  color: #e0309a;
  text-shadow: 1px 1px 0#b01f78, 2px 2px 0#8a1c5c, 3px 4px 6px rgba(138, 28, 92, .35)
}

.w3 {
  font-style: normal;
  color: #fff;
  background: linear-gradient(135deg, #ffa63d, #e0309a);
  padding: 3px 9px;
  border-radius: 9px;
  font-size: 18px;
  transform: rotate(-5deg);
  box-shadow: 1px 1px 0#a3185f, 2px 2px 0#a3185f, 3px 3px 0#7a0f45, 4px 5px 8px rgba(0, 0, 0, .25)
}

.au {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none
}

.au button {
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  border-radius: 99px;
  padding: 10px 18px;
  font-size: 14px
}

.au .lg {
  border: 2px solid #5b3df5;
  background: #fff
}

.au .su {
  border: 0;
  background: linear-gradient(120deg, #5b3df5, #e0309a);
  color: #fff
}

.au .av {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: #f1ecff;
  color: #17133f;
  text-transform: none;
  padding: 5px 14px 5px 5px;
  font-size: 14px
}

.au .av b {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a3d, #e0309a);
  color: #fff
}

.au .mn {
  left: auto;
  right: 0;
  min-width: 200px
}

.sw a,
.wl {
  font-weight: 700
}

.wl {
  display: none;
  margin-bottom: 14px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .2)
}

.note {
  font-size: 13px;
  color: #605b8c;
  margin: 12px 0 0
}

.sw {
  margin: 14px 0 0;
  text-align: center;
  font-size: 14px
}

.sw a {
  color: #5b3df5
}

.card .ic {
  --s: 96px !important
}

.card {
  padding-top: 26px
}

@media (min-width:1700px) {
  .card .ic {
    --s: 112px !important
  }
}

@media (max-width:1100px) {
  .card {
    flex-basis: calc((100% - 66px)/4)
  }

  .card .ic {
    --s: 84px !important
  }
}

@media (max-width:860px) {
  .card .ic {
    --s: 76px !important
  }
}

@media (max-width:1480px) {
  .au {
    margin-left: auto
  }

  .hb {
    margin-left: 0
  }

  .au .mn {
    position: absolute;
    right: 0;
    left: auto;
    top: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    box-shadow: 0 18px 40px rgba(23, 19, 63, .22);
    padding: 8px
  }

  .au .dd.o .mn {
    opacity: 1;
    visibility: visible;
    transform: none
  }
}

@media (max-width:860px) {
  .card {
    flex-basis: calc((100% - 44px)/3)
  }
}

@media (max-width:700px) {

  .au .av .nm,
  .au .su {
    display: none
  }

  .au button {
    padding: 9px 14px
  }

  .au .av {
    padding: 4px
  }
}

@media (max-width:560px) {

  #lg,
  .grid {
    gap: 12px
  }

  .card {
    flex-basis: calc((100% - 12px)/2);
    padding: 18px 8px 16px
  }

  .card .ic {
    --s: 54px !important
  }

  .card h3 {
    font-size: 13.5px
  }

  .card p {
    font-size: 11.5px
  }

  .wm {
    font-size: 18px;
    gap: 5px
  }

  .w3 {
    font-size: 12px;
    padding: 2px 6px
  }

  .top {
    gap: 10px
  }
}

@media (prefers-reduced-motion:reduce) {

  #md,
  .box,
  .card,
  .ic,
  .mn {
    transition: none
  }

  html {
    scroll-behavior: auto
  }
}

.pv {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-top: 10px;
  max-height: 320px;
  overflow: auto;
  padding: 4px
}

.mini,
.pt,
.pt .mv button {
  cursor: pointer;
  font-weight: 700
}

.pt {
  background: #f1f0fb;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 5px;
  text-align: center;
  font-size: 12px;
  user-select: none
}

.pt canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 3px
}

.pt.on {
  border-color: #4b57e8;
  background: #e3e6ff
}

.pt .mv {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 4px
}

.mini,
.pt .mv button {
  border: 0;
  background: #fff;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  color: #17133f;
  box-shadow: 0 1px 4px rgba(23, 19, 63, .18)
}

.pvb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px
}

.sgc,
.sgp {
  width: 100%;
  height: auto;
  cursor: crosshair
}

.sgc {
  border: 2px dashed #b9b4e6;
  border-radius: 12px;
  background: #fff;
  touch-action: none;
  margin-top: 8px
}

.sgp {
  border: 1px solid #d9d6f3;
  border-radius: 8px;
  margin-top: 10px;
  display: none
}

#opt input[type=range] {
  padding: 0
}

/* size fix + UI refresh */
body {
  background: #eeedf8
}

.top {
  padding: 8px 4vw;
  gap: 12px;
  border-bottom-width: 3px
}

.lm .ic {
  --s: 44px !important
}

.hrt {
  width: 22px;
  height: 22px;
  right: -11px;
  bottom: -3px
}

.wm {
  font-size: 20px
}

.w3 {
  font-size: 14px;
  padding: 2px 7px
}

.hero {
  padding: 30px 5vw 34px
}

.hero h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 8px;
  max-width: 640px
}

.hero p {
  font-size: 15.5px;
  margin-bottom: 16px;
  max-width: 500px
}

#sr {
  max-width: 440px;
  padding: 12px 20px;
  font-size: 16px
}

.art {
  margin-top: 18px;
  gap: 14px
}

.art .ic {
  --s: 64px !important
}

.art .ic:nth-child(even) {
  margin-top: 14px
}

.wrap {
  max-width: 1240px;
  margin: 22px auto 36px
}

.tabs {
  gap: 6px;
  margin-bottom: 18px
}

.tabs button {
  padding: 8px 16px;
  font-size: 14px
}

.grid {
  gap: 14px
}

.card {
  flex: 0 0 calc((100% - 56px)/5);
  padding: 16px 10px 14px;
  border-radius: 18px;
  border-bottom-width: 3px !important
}

.card .ic {
  --s: 64px !important
}

.card h3 {
  margin: 8px 0 3px;
  font-size: 14px
}

.card p {
  font-size: 12px;
  line-height: 1.4
}

.card:hover {
  transform: translateY(-4px)
}

.yw {
  margin-top: 40px
}

.yw h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 20px
}

.yg {
  gap: 16px
}

.yc {
  max-width: 330px;
  border-radius: 22px
}

.yt {
  height: 170px;
  padding: 30px 20px 0
}

.yb {
  padding: 18px 22px 18px
}

.yb h3 {
  font-size: 18px;
  margin-bottom: 6px
}

.yb p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 34px
}

.ar {
  font-size: 24px;
  right: 20px;
  bottom: 12px
}

.win {
  max-width: 240px;
  min-height: 120px
}

.ph {
  width: 160px;
  min-height: 140px
}

.ph .ic {
  --s: 40px !important
}

.cal .big {
  font-size: 22px
}

.bars {
  height: 44px
}

.mi .ic {
  --s: 40px
}

.box {
  max-width: 520px;
  padding: 22px
}

.mh h2 {
  font-size: 19px
}

.doc {
  margin: 24px auto;
  padding: 26px 5vw
}

footer {
  padding: 20px 5vw
}

#opt textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d9d6f3;
  border-radius: 10px;
  font-size: 16px;
  margin-top: 5px;
  font-family: inherit;
  resize: vertical
}

@media (min-width:1700px) {
  .card .ic {
    --s: 64px !important
  }
}

@media (max-width:1100px) {
  .card {
    flex-basis: calc((100% - 42px)/4)
  }

  .card .ic {
    --s: 60px !important
  }
}

@media (max-width:860px) {
  .card {
    flex-basis: calc((100% - 28px)/3)
  }

  .card .ic {
    --s: 56px !important
  }

  .art .ic {
    --s: 56px !important
  }
}

@media (max-width:560px) {
  .grid {
    gap: 10px
  }

  .card {
    flex-basis: calc((100% - 10px)/2);
    padding: 14px 8px 12px
  }

  .card .ic {
    --s: 48px !important
  }

  .art .ic {
    --s: 44px !important
  }

  .card h3 {
    font-size: 13px
  }

  .card p {
    font-size: 11.5px
  }

  .wm {
    font-size: 17px
  }

  .lm .ic {
    --s: 38px !important
  }

  .hero h1 {
    font-size: 24px
  }

  .hero p {
    font-size: 14px
  }
}

@media (max-width:1700px) {
  .top {
    gap: 8px
  }

  .dd>button,
  .nv>a {
    padding: 8px 5px;
    font-size: 11.5px
  }

  .au button {
    padding: 8px 14px
  }
}

/* ---- Static pages: about, contact, privacy-policy, terms, 404 ---- */
.pn {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto
}

.pn a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700
}

.pn a:hover {
  background: #f1ecff;
  color: #5b3df5
}

.page {
  min-height: 62vh;
  padding: 0 4vw
}

.page .doc {
  display: block
}

.doc .btn {
  display: inline-block;
  width: auto;
  padding: 12px 26px;
  margin-top: 10px
}

.fm label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px
}

.fm input,
.fm textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d9d6f3;
  border-radius: 10px;
  font-size: 16px;
  margin-top: 5px;
  font-family: inherit
}

.fm textarea {
  resize: vertical
}

.nf404 {
  text-align: center
}

.nf404 .big {
  font-size: clamp(64px, 14vw, 120px);
  font-weight: 800;
  line-height: 1;
  margin: 0;
  background: linear-gradient(90deg, #5b3df5, #e0309a, #ff7a3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.adp {
  max-width: 100%;
  margin: 0 auto
}

.ad .adt {
  margin-bottom: 4px
}

noscript .ns {
  margin: 20px auto;
  max-width: 640px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff3d6;
  color: #7a5200;
  font-weight: 700;
  text-align: center
}

@media (max-width:700px) {
  .top {
    flex-wrap: wrap
  }

  .pn {
    margin-left: 0;
    width: 100%
  }
}
/* Social icons */
footer .soc{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:16px 0 8px}
footer .soc a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--c);box-shadow:0 2px 8px rgba(23,19,63,.15);transition:transform .15s,background .15s,color .15s;margin:0}
footer .soc a svg{width:20px;height:20px}
footer .soc a:hover,footer .soc a:focus-visible{background:var(--c);color:#fff;transform:translateY(-3px)}
footer .soc a{color:var(--c);border:2px solid transparent}footer .soc a:hover,footer .soc a:focus-visible{background:var(--c);color:#fff;border-color:var(--c);box-shadow:0 8px 20px -4px var(--c)}

/* Dark footer */
footer.sf{background:#2b2c35;color:#fff;text-align:left;padding:48px 5vw 28px}
.sfi{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);gap:28px}
.sfc h4{margin:0 0 16px;font-size:17px;font-weight:800;letter-spacing:.2px;color:#fff}
footer.sf .sfc a{display:block;margin:0 0 14px;font-weight:400;font-size:15.5px;color:#fff;opacity:.92}
footer.sf .sfc a:hover{text-decoration:underline;opacity:1}
.sfb{max-width:1200px;margin:26px auto 0;padding-top:22px;border-top:1px solid #5d5e69;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.sfb p{margin:0;font-size:14px;color:#c9cad2}
footer.sf .soc{margin:0;gap:12px;justify-content:flex-end}
footer.sf .soc a{width:36px;height:36px;background:transparent;color:#b9bac3;box-shadow:none;border:0;margin:0;opacity:1}
footer.sf .soc a svg{width:22px;height:22px}
footer.sf .soc a:hover,footer.sf .soc a:focus-visible{background:var(--c);color:var(--i,#fff);box-shadow:0 6px 18px -2px var(--c);transform:translateY(-3px);text-decoration:none}
@media(max-width:860px){.sfi{grid-template-columns:repeat(2,1fr)}.sfb{justify-content:center;text-align:center}footer.sf .soc{justify-content:center}}
.seo h2{font-size:24px}.seo h3{margin:18px 0 6px}.seo ul{padding-left:18px;line-height:1.8}.seo a{color:#5b3df5;font-weight:600}.doc ol{line-height:1.9}.doc .btn{display:inline-block;margin:8px 0}

/* Select file button (like sample) */
#dz.drop{border:0;background:none;padding:14px 0 10px;border-radius:0;cursor:default}
#dz .sel{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
#dz .selb{display:inline-block;min-width:260px;max-width:100%;padding:16px 26px;border-radius:10px;background:#e5322d;color:#fff;font-size:21px;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(229,50,45,.28);transition:background .15s,transform .15s}
#dz .selb:hover{background:#c32621;transform:translateY(-1px)}
#dz .rb{width:40px;height:40px;border-radius:50%;background:#e5322d;color:#fff;display:grid;place-items:center;cursor:pointer;transition:background .15s}
#dz .rb:hover{background:#c32621}
#dz .rb svg{width:19px;height:19px}
#dz .dzt{margin:12px 0 0;font-size:14px;color:#605b8c}

/* Tool page mode */
body.tp{overflow:auto!important}
body.tp #home,body.tp .seo{display:none}
body.tp #md{position:static;background:none;padding:26px 14px 6px;opacity:1;visibility:visible;z-index:auto;align-items:flex-start;justify-content:center}
body.tp #md .box{max-width:760px;max-height:none;overflow:visible;transform:none;opacity:1;box-shadow:0 10px 36px rgba(23,19,63,.14)}
body.tp #cl,body.tp #cn{display:none}
body.tp #dz .selb{min-width:300px;font-size:23px;padding:20px 28px}
.tseo{max-width:760px;margin:10px auto 30px;padding:0 16px;line-height:1.75}
.tseo h1{font-size:28px;margin:0 0 6px}.tseo h2{font-size:21px;margin:22px 0 6px}.tseo h3{font-size:17px;margin:14px 0 4px}
.tseo a{color:#5b3df5;font-weight:600}.tseo ol{padding-left:20px}
body.tp .mh{position:static;margin:0 0 14px;padding:0;background:none}
