/* One baseline follows the border box. Original transparent photos supply the relief. */
.noel27 :is(
  .nw-hero-actions .nw-btn, .nw-account, .nw-help .nw-btn, .nw-hero-demo,
  .nw-features article, .nw-price, .m8-pagehead, .m8-chat-header, .section-head,
  .m8-auth-card, .m8-auth-card .m8-btn, .m8-guide-help .m8-btn,
  .m8-new-ticket .m8-btn, .m8-wizard-actions .m8-btn:not(.ghost),
  .m8-dialog-side button.m8-btn:not(.ghost), .m8-expired-only .m8-btn:not(.ghost)
)::before, .box::before {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  left: -1px;
  right: -1px;
  top: auto;
  bottom: calc(100% - 2px);
  width: auto;
  height: var(--rim-height, 8px);
  margin: 0;
  background: var(--rim-paint, url(edge-1.webp) center bottom / 100% 100% no-repeat);
  filter: brightness(var(--rim-light, 1)) drop-shadow(0 1px var(--rim-blur, .65px) var(--rim-shadow, rgb(64 46 57 / 37%)));
}
.noel27 .nw-outline, .noel27 .nw-account, .noel27 .nw-help .nw-btn,
.noel27 .m8-guide-help .m8-btn, .noel27 .m8-auth-card .m8-btn, .noel27 .m8-new-ticket .m8-btn,
.noel27 .m8-wizard-actions .m8-btn, .noel27 .m8-dialog-side .m8-btn, .noel27 .m8-expired-only .m8-btn {
  --rim-height: 8px;
  --rim-paint: url(edge-2.webp) center bottom / 100% 100% no-repeat;
}
.noel27 .nw-hero-actions .nw-primary, .noel27 .nw-help .nw-btn { --rim-height: 10px; }
.noel27 .nw-hero-demo, .noel27 .nw-features article, .noel27 .nw-price, .noel27 .m8-auth-card, .box {
  --rim-height: clamp(9px, .87vw, 13px);
  --rim-paint: url(edge-1.webp) center bottom / 100% 100% no-repeat;
}
.noel27 .nw-features article:nth-child(2), .noel27 .nw-price:nth-child(even) {
  --rim-paint: url(edge-2.webp) center bottom / 100% 100% no-repeat;
}
.noel27 .nw-hero-demo, .noel27 .nw-features article:nth-child(3) {
  --rim-paint: url(edge-3.webp) center bottom / 100% 100% no-repeat;
}
/* Overlap tapered ends on wide headers. The powder stays in contact at each join. */
.noel27 :is(.m8-pagehead,.m8-chat-header,.section-head) {
  --rim-height: clamp(10px, 1vw, 15px);
  --rim-paint:
    url(edge-2.webp) left bottom / 37% 93% no-repeat,
    url(edge-3.webp) center bottom / 44% 100% no-repeat,
    url(edge-1.webp) right bottom / 37% 89% no-repeat;
}
.noel27 .nw-utility .nw-brand { gap: 6px; font-size: 16px; min-height: 36px; }
.noel27 .nw-utility .nw-brand img { width: 22px; height: 22px; border-radius: 5px; padding: 2px; }
.noel27 .nw-demo-top .rim-home { color: inherit; text-decoration: none; font: 600 12px/1 var(--nw-sans); letter-spacing: -.035em; }
.box a.logo { text-decoration: none; }
@media (max-width: 700px) {
  .noel27 :is(.m8-pagehead,.m8-chat-header,.section-head) {
    --rim-paint: url(edge-2.webp) center bottom / 100% 100% no-repeat;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .noel27 .nw-sprig i:first-of-type::after {
    content:""; position:absolute; pointer-events:none; left:-3px; top:1px; width:9px; height:1px;
    background:linear-gradient(90deg,transparent,#ffe6b8,transparent);
    transform:rotate(-16deg); opacity:0; animation:rim-bulb-glint 8s ease-in-out infinite;
  }
  @keyframes rim-bulb-glint {0%,68%,80%,100%{opacity:0} 74%{opacity:.8}}
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .noel27 :is(.nw-hero-actions .nw-btn,.nw-help .nw-btn,.nw-account,.nw-price,.nw-features article)::before {
    transition: filter 180ms ease;
  }
  .noel27 :is(.nw-hero-actions .nw-btn,.nw-help .nw-btn,.nw-account,.nw-price,.nw-features article):is(:hover,:focus-within)::before {
    --rim-light: 1.07; --rim-blur: 1px; --rim-shadow: rgb(92 64 46 / 42%);
  }
  .noel27 :is(.nw-primary,.nw-plan-link,.nw-text-link) .nw-icon { transition: transform 180ms ease; }
  .noel27 :is(.nw-primary,.nw-plan-link,.nw-text-link):is(:hover,:focus-visible) .nw-icon { transform: translateX(2px); }
}
