/* Shared Pulse visual system for the public website and administration. */
.pulse-site {
  --pulse-accent: #5eead4;
  --pulse-muted: #aebfc5;
  --pulse-border: rgba(172, 226, 219, .15);
  --bg: #080f15;
  --band: #0b171d;
  --surface: #14242b;
  --navy: #142a30;
  --border: var(--pulse-border);
  --subtle-border: rgba(172, 226, 219, .1);
  --text: #f4fbf9;
  --muted: var(--pulse-muted);
  --quiet: #8da7ae;
  --accent: var(--pulse-accent);
  --action: #5eead4;
  --action-hover: #99f6e4;
  --card-radius: 12px;
  --card-shadow: inset 0 1px rgba(218, 255, 246, .04), 0 18px 42px rgba(0, 0, 0, .18);
  background:
    radial-gradient(ellipse at 5% 8%, rgba(20, 184, 166, .12), transparent 45rem),
    radial-gradient(ellipse at 95% 35rem, rgba(24, 62, 79, .22), transparent 50rem),
    var(--bg);
}

.pulse-site::before {
  height: 1400px;
  background: repeating-radial-gradient(ellipse at -45% 38%, transparent 0 28px, rgba(94, 234, 212, .075) 29px, transparent 31px 49px);
  mask-image: linear-gradient(#000, transparent);
  opacity: .7;
}
.pulse-site::after { opacity: .025; }
.pulse-site :is(h1, h2, h3) { color: var(--text); }
.pulse-site :is(.intro, .ad-section, .faq-section, .pricing-page-section, .plan-benefits) { border-image: none; border-color: var(--pulse-border); }
.pulse-site :is(.pricing-teaser, .recruit-section, .pricing-secondary) { border-color: var(--pulse-border); background: rgba(10, 24, 30, .65); }
.pulse-site :is(.section-kicker, .eyebrow, .service-index, .directory-number, .directory-arrow) { color: #81d8cb; }
.pulse-site .headline-accent { color: #94eedf; }
.pulse-site .hero-highlights { color: #c3d9da; }
.pulse-site .hero-highlights li::before { background: var(--pulse-accent); }

.pulse-site .site-header {
  width: min(1200px, calc(100% - 64px));
  min-height: 72px;
  margin-top: 16px;
  padding-inline: 22px;
  border: 1px solid var(--pulse-border);
  border-radius: 16px;
  background: rgba(16, 31, 37, .92);
  box-shadow: inset 0 1px rgba(218, 255, 246, .04);
}
.pulse-site .nav .nav-cta,
.pulse-site :is(.language-picker, .menu-toggle) {
  border: 1px solid rgba(94, 234, 212, .23);
  border-radius: 8px;
  background: #101f26;
  color: #e2f4f0;
}
.pulse-site .nav > a:hover,
.pulse-site .nav > [aria-current="page"] { color: var(--pulse-accent); }
.pulse-site .nav .nav-cta:hover { background: #23423f; }
.pulse-site :is(.hero-stage, .service-directory, .quote-panel, .pricing-cta, .ad-preview, .quote-confirmation) {
  border: 1px solid var(--pulse-border);
  border-radius: 12px;
  background: #11232a;
  box-shadow: var(--card-shadow);
}
.pulse-site .hero-copy { background: #11232a; }
.pulse-site .hero-media figcaption { border-radius: 6px; background: rgba(8, 20, 25, .88); color: #e3f6f0; }
.pulse-site .service-directory { background: rgba(19, 39, 45, .9); }
.pulse-site .service-directory li + li { border-color: var(--pulse-border); }
.pulse-site .service-directory a:hover { background: #1c393c; }

.pulse-site :is(.service-card, .ad-item, .recruit-card) {
  border: 1px solid var(--pulse-border);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(27, 44, 48, .97), rgba(16, 28, 35, .98));
  box-shadow: var(--card-shadow);
}
.pulse-site :is(.service-card, .recruit-card) { padding: 24px; }
.pulse-site :is(.icon-tile, .recruit-icon, .ad-slot) {
  border: 1px solid rgba(94, 234, 212, .2);
  border-radius: 50%;
  background: rgba(94, 234, 212, .065);
  box-shadow: none;
  color: var(--pulse-accent);
}
.pulse-site .ad-slot { border-radius: 8px; }
.pulse-site .recruit-card-strong { border-color: rgba(94, 234, 212, .35); }
.pulse-site :is(.availability, .stock-note) { color: #93e4d7; }
.pulse-site .availability i { background: var(--pulse-accent); }
.pulse-site .placement-map > div { border: 1px solid rgba(94, 234, 212, .24); border-radius: 8px; background: #172e35; color: #b0ddd7; }
.pulse-site .placement-map .placement-first { border-color: #54bbaa; background: #224a46; color: #d7fff4; }
.pulse-site .icon-button { border-color: rgba(94, 234, 212, .23); border-radius: 8px; background: #142d33; color: var(--pulse-accent); }
.pulse-site .icon-button:hover { background: #254a47; }

.pulse-site .button {
  min-height: 46px;
  border-radius: 8px;
  box-shadow: none;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.pulse-site .button-primary { border: 1px solid #5eead4; background: #5eead4; color: #082822; }
.pulse-site .button-primary:hover { border-color: #99f6e4; background: #99f6e4; color: #082822; }
.pulse-site :is(.button-secondary, .button-quiet) { border: 1px solid rgba(94, 234, 212, .28); background: rgba(7, 24, 29, .25); color: #d9f4ee; }
.pulse-site :is(.button-secondary, .button-quiet):hover { border-color: #5eead4; background: #234b49; color: #fff; }
.pulse-site .quote-points i { color: var(--pulse-accent); }
.pulse-site .quote-form :is(input, select, textarea) {
  border: 1px solid rgba(172, 226, 219, .28);
  border-radius: 8px;
  background: #0b171e;
  color: #f4fbf9;
}
.pulse-site .quote-form :is(input, textarea)::placeholder { color: #9bb5bd; }
.pulse-site .quote-form :is(input, select, textarea):focus { border-color: #5eead4; }
.pulse-site .quote-confirmation { background: #173239; }
.pulse-site .quote-reference { border-color: rgba(94, 234, 212, .28); border-radius: 8px; background: #0d2128; }
.pulse-site .quote-reference code { color: #b1f3e7; }
.pulse-site .price-assurance { border: 1px solid var(--pulse-border); border-radius: 8px; background: #10242b; }
.pulse-site .faq-list details { padding: 18px 20px; border: 1px solid var(--pulse-border); border-radius: 12px; background: rgba(21, 38, 44, .85); }
.pulse-site .faq-list details + details { margin-top: 10px; }
.pulse-site .faq-list details:first-child { border-top-color: var(--pulse-border); }
.pulse-site .faq-list summary::marker { color: var(--pulse-accent); }
.pulse-site .faq-list details[open] { border-color: rgba(94, 234, 212, .4); }
.pulse-site .site-footer { border-top-color: var(--pulse-border); background: #0b171d; }
.pulse-site .footer-bottom { border-color: var(--pulse-border); }

.pulse-site .pricing-page-section,
.pulse-site .pricing-secondary,
.pulse-site .pricing-teaser,
.pulse-site .recruit-section {
  position: relative;
  isolation: isolate;
}

.pulse-site .pricing-page-section::before,
.pulse-site .pricing-secondary::before,
.pulse-site .pricing-teaser::before,
.pulse-site .recruit-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(ellipse at 5% 16%, rgba(20, 184, 166, .13), transparent 54%),
    repeating-radial-gradient(ellipse at -55% 45%, transparent 0 24px, rgba(94, 234, 212, .06) 25px, transparent 27px 42px);
  mask-image: linear-gradient(transparent, #000 12%, #000 84%, transparent);
  pointer-events: none;
  content: "";
}

.pulse-site :is(.price-card, .secondary-price-card, .benefit-card) {
  min-width: 0;
  border: 1px solid var(--pulse-border);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(27, 44, 48, .97), rgba(16, 28, 35, .98));
  box-shadow: inset 0 1px rgba(218, 255, 246, .04), 0 18px 42px rgba(0, 0, 0, .18);
}

.pulse-site .pricing-grid { gap: 18px; }
.pulse-site .price-card { padding: 26px 24px 24px; }
.pulse-site .price-card h3 { font-weight: 600; letter-spacing: -.035em; }
.pulse-site .price-card .plan-desc { margin-bottom: 24px; color: var(--pulse-muted); line-height: 1.7; }
.pulse-site .price-card .price-head { gap: 8px; }
.pulse-site .price-card :is(.plan-symbol, .plan-term) { color: #9bb4bb; font-size: 10px; }

.pulse-site :is(.plan-icon, .secondary-top .icon-tile, .secondary-top .recruit-icon) {
  border: 1px solid rgba(94, 234, 212, .2);
  border-radius: 50%;
  background: rgba(94, 234, 212, .065);
  box-shadow: none;
  color: var(--pulse-accent);
}

.pulse-site .price-card.price-featured {
  border-color: rgba(94, 234, 212, .5);
  background: linear-gradient(145deg, #1b383b, #132830 80%);
  box-shadow: inset 0 1px rgba(199, 255, 243, .13), 0 18px 50px rgba(20, 184, 166, .1);
}

.pulse-site .recommend-pill {
  top: -12px;
  right: 20px;
  padding: 4px 12px;
  border: 1px solid #376e68;
  border-radius: 999px;
  background: #163c39;
  box-shadow: none;
  color: #a6f4e6;
  font-weight: 600;
}

.pulse-site .price-line { gap: 5px; }
.pulse-site .price-line strong { font-size: clamp(32px, 4.2vw, 52px); font-weight: 600; letter-spacing: -.06em; color: #f7fffd; text-shadow: none; }
.pulse-site :is(.currency, .secondary-price) { color: #f7fffd; }
.pulse-site :is(.price-caption, .period, .standard-price, .check-list) { color: var(--pulse-muted); }
.pulse-site .offer-price-label { color: var(--pulse-accent); font-size: 11px; letter-spacing: .04em; }
.pulse-site .check-list { margin-block: 24px; padding-top: 18px; border-color: var(--pulse-border); line-height: 1.75; }
.pulse-site .check-list li { gap: 9px; margin-block: 9px; }
.pulse-site .check-list li::before { flex: none; color: var(--pulse-accent); }
.pulse-site .price-card .plan-details-link { margin-bottom: 16px; color: #8ee6d7; font-size: 12px; }
.pulse-site .price-card .button,
.pulse-site .secondary-price-card .button {
  min-height: 46px;
  border: 1px solid rgba(94, 234, 212, .28);
  border-radius: 8px;
  background: rgba(7, 24, 29, .25);
  box-shadow: none;
  color: #d9f4ee;
}
.pulse-site .price-featured .button-primary { border-color: #5eead4; background: #5eead4; color: #082822; font-weight: 700; }
.pulse-site .price-card .button:hover,
.pulse-site .secondary-price-card .button:hover { border-color: #5eead4; background: #234b49; color: #fff; }
.pulse-site .price-featured .button-primary:hover { background: #99f6e4; color: #082822; }

.pulse-site .launch-offer {
  padding: 18px 22px;
  border: 1px solid var(--pulse-border);
  border-radius: 12px;
  background: rgba(20, 43, 47, .7);
  box-shadow: none;
}
.pulse-site .launch-offer h3 { color: #c1f4e9; font-size: 15px; }
.pulse-site .launch-offer p { color: var(--pulse-muted); }
.pulse-site .terms-panel { border-color: var(--pulse-border); border-radius: 12px; background: rgba(17, 31, 37, .8); box-shadow: none; }
.pulse-site .terms-icon { border-color: var(--pulse-border); color: var(--pulse-accent); }
.pulse-site .benefits-grid { gap: 18px; }
.pulse-site .benefit-card { padding: 20px 22px; }
.pulse-site .benefit-card:target,
.pulse-site .benefit-card[open] { border-color: rgba(94, 234, 212, .45); }
.pulse-site .benefit-card summary::after { border-color: var(--pulse-accent); }
.pulse-site .benefit-card ul { color: var(--pulse-muted); line-height: 1.8; }
.pulse-site .benefit-body > p { color: #8ee6d7; }
.pulse-site .secondary-price-card { gap: 14px; padding: 24px; }
.pulse-site .secondary-price-card > p { color: var(--pulse-muted); }
.pulse-site .secondary-price { font-size: 32px; font-weight: 600; letter-spacing: -.04em; }
.pulse-site .stock-note { color: #8ee6d7; }
.pulse-site .stock-note i { background: var(--pulse-accent); }

@media (min-width: 741px) {
  @supports (grid-template-rows: subgrid) {
    .pulse-site .full-pricing-grid .price-card { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
    .pulse-site .full-pricing-grid .price-card .plan-details-link { align-self: end; }
    .pulse-site .full-pricing-grid .price-card .button { align-self: end; }
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pulse-site :is(.price-card, .secondary-price-card, .service-card, .recruit-card) { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
  .pulse-site :is(.price-card, .secondary-price-card, .service-card, .recruit-card):hover { transform: translateY(-4px); border-color: rgba(94, 234, 212, .6); box-shadow: 0 20px 44px rgba(0, 0, 0, .25), 0 0 26px rgba(20, 184, 166, .07); }
  .pulse-site :is(.price-card, .secondary-price-card, .service-card, .recruit-card)::before { background: radial-gradient(240px circle at var(--shine-x, 50%) var(--shine-y, 20%), rgba(94, 234, 212, .07), transparent 75%); }
  .pulse-site .price-featured::after,
  .pulse-site .price-featured .button-primary::after { content: none; }
}

@media (max-width: 960px) {
  .pulse-site .site-header { width: calc(100% - 42px); padding-inline: 16px; gap: 12px; }
  .pulse-site .nav { gap: 12px; }
  .pulse-site .price-card { padding-inline: 20px; }
}
@media (max-width: 740px) {
  .pulse-site .site-header { width: calc(100% - 32px); min-height: 64px; margin-top: 12px; padding-inline: 14px; border-radius: 12px; }
  .pulse-site .nav { top: 70px; border: 1px solid var(--pulse-border); border-radius: 12px; background: #12272e; }
  .pulse-site .service-directory li:nth-child(n+3) { border-color: var(--pulse-border); }
  .pulse-site .pricing-grid { gap: 22px; }
  .pulse-site .price-card { padding: 26px 24px 24px; }
  .pulse-site .price-line strong { font-size: 44px; }
}

.pulse-admin {
  --blue: var(--pulse-accent);
  color: var(--text);
}
.pulse-admin header { margin-top: 16px; padding: 18px 20px; border: 1px solid var(--pulse-border); border-radius: 12px; background: #11232a; }
.pulse-admin :is(.panel, .notice) { border: 1px solid var(--pulse-border); border-radius: 12px; background: #14282e; box-shadow: var(--card-shadow); }
.pulse-admin .notice { border-color: #3b8679; }
.pulse-admin .notice.error { border-color: #b35e64; color: #ffbfc6; }
.pulse-admin nav { padding: 8px; border: 1px solid var(--pulse-border); border-radius: 10px; background: #102229; }
.pulse-admin nav > a { border-radius: 7px; }
.pulse-admin nav [aria-current] { border: 1px solid rgba(94, 234, 212, .3); background: #20433f; color: #c7fff1; }
.pulse-admin :is(input, select, textarea) { border-color: rgba(172, 226, 219, .28); border-radius: 8px; background: #0b171e; color: #f4fbf9; }
.pulse-admin :is(input, select, textarea):focus { border-color: #5eead4; }
.pulse-admin button { min-height: 42px; border: 1px solid #5eead4; border-radius: 8px; background: #5eead4; color: #082822; }
.pulse-admin button:hover { background: #99f6e4; }
.pulse-admin button.secondary { border-color: rgba(94, 234, 212, .28); background: #142d33; color: #d9f4ee; }
.pulse-admin button.secondary:hover { background: #234b49; }
.pulse-admin .table-scroll { border: 1px solid var(--pulse-border); border-radius: 10px; }
.pulse-admin th { background: #11252c; }
.pulse-admin :is(td, th, .field) { border-color: var(--pulse-border); }
.pulse-admin tbody tr:hover { background: rgba(94, 234, 212, .04); }
@media (max-width: 360px) {
  .pulse-site .price-card { padding-inline: 20px; }
  .pulse-site .price-line strong { font-size: 38px; }
}
