/*! Dent Buttons (dent-buttons 1.0.0) by Frontier Templates. Styles for the vanilla build.
Licensed gem: Licensed with Full Access, for the sites you build; do not resell the gem itself. https://frontiertemplates.com/gems/dent-buttons */
/* Dent Buttons. Every rule is scoped to .dnt so the gem drops into any page. Give it a width; the buttons centre in it. */
.dnt {
  --dnt-c0: #f0eadf;
  --dnt-i0: #1b1c20;
  --dnt-c1: #2a2c33;
  --dnt-i1: #f2f2f4;
  --dnt-lx: -0.6;
  --dnt-ly: -0.8;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 36px);
  overflow: hidden;
  isolation: isolate;
  min-height: 220px;
  padding: clamp(28px, 6vw, 72px) 20px;
  background: radial-gradient(80% 90% at 50% 40%, #24262c, #141519 75%);
  color: #f3f3f5;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
/* the root sizes itself the same whatever the host page's reset says */
.dnt, .dnt *, .dnt *::before, .dnt *::after { box-sizing: border-box; }
.dnt-content { text-align: center; }
.dnt-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.dnt-btn {
  --x: 50%;
  --y: 50%;
  --r: 80px;
  --sx: 0px;
  --sy: 0px;
  --hx: 0px;
  --hy: 0px;
  --d: 0;
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 200px;
  min-height: 62px;
  padding: 0 34px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: var(--dnt-c0);
  color: var(--dnt-i0);
  font: inherit;
  font-size: 17px;
  font-weight: 620;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow:
    calc(var(--dnt-lx) * -7px) calc(var(--dnt-ly) * -7px + 12px) 26px rgba(0, 0, 0, calc(0.45 - var(--d) * 0.2)),
    0 2px 4px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 3px rgba(0, 0, 0, 0.18);
  transform-origin: 50% 60%;
}
.dnt-b1 { background: var(--dnt-c1); color: var(--dnt-i1); box-shadow: calc(var(--dnt-lx) * -7px) calc(var(--dnt-ly) * -7px + 12px) 26px rgba(0, 0, 0, calc(0.5 - var(--d) * 0.2)), 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -2px 3px rgba(0, 0, 0, 0.3); }
/* the surface: the light's sheen, then the dent where the pointer rests, shaded from the light's side */
.dnt-face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(var(--r) circle at var(--x) var(--y), rgba(0, 0, 0, calc(var(--d) * 0.1)) 0, rgba(0, 0, 0, calc(var(--d) * 0.1)) 70%, rgba(0, 0, 0, 0) 74%),
    radial-gradient(var(--r) circle at calc(var(--x) + var(--hx)) calc(var(--y) + var(--hy)), rgba(255, 255, 255, 0) 52%, rgba(255, 255, 255, calc(var(--d) * var(--hl, 0.8))) 68%, rgba(255, 255, 255, 0) 80%),
    radial-gradient(var(--r) circle at calc(var(--x) + var(--sx)) calc(var(--y) + var(--sy)), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, calc(var(--d) * var(--sl, 0.55))) 66%, rgba(0, 0, 0, 0) 76%),
    radial-gradient(70% 140% at calc(50% + var(--dnt-lx) * 45%) calc(50% + var(--dnt-ly) * 70%), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 70%);
}
.dnt-b1 .dnt-face { --hl: 0.3; --sl: 0.85; }
.dnt-label { position: relative; z-index: 1; white-space: nowrap; }
.dnt-btn:focus-visible { outline: 2px solid #9fb4ff; outline-offset: 4px; }
@media (max-width: 480px) {
  .dnt-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .dnt-btn { min-width: 0; width: 100%; }
}
