/*!
 * Hosting You: frosted-glass cards + hover border beam. PREVIEW ONLY (?hy_textfx=1), v20261118i (replaces g).
 * i = g except the beam: it now loops lap after lap while the pointer stays on the card.
 * 20261122r: lap is 3 s (was 6 s).
 * Loaded after hy-textfx-igloo-20261115-v5.css. Beam classes are set by hy-textfx-cardbeam-20261118i.js.
 * LIGHT GLASS (translucent, a touch darker than the page, backdrop blur):
 *   .hcard, .why>div, .hy .fcard, .hy .price, .hy .pcard, .smarter, .hy-blog-card, .card, .quote, .faq details,
 *   g adds: .hy-cta (home bottom box), .hy-from-blog (home bottom aside), .hy .cta, .hy .intro-box, .hy .callout
 * DARK GLASS (navy panels keep cream text; translucent navy + blur):
 *   g adds: .hy-featured (home Featured), .hy .insight, .hy .checkup, .hy .bundle
 * TINT CARDS inside dark panels (no own blur: a blurred parent is their backdrop root):
 *   g adds: .hy-featured li, .hy .cards2.dark .fcard (on the navy .trust-sec band)
 * BANDS (full-width sections, not cards): .hy .svc.alt and g adds .hy .trust-sec -> translucent, no blur, no beam.
 * Light/dark follow the theme: html[data-theme="dark"], or prefers-color-scheme: dark unless html[data-theme="light"].
 * !important only on background / border-color, to beat the theme's high-specificity dark-mode rules.
 */
@property --hyb-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --hyb-o { syntax: '<number>'; inherits: false; initial-value: 0; }

:root {
  --hyf-card: rgba(236, 221, 206, .6);
  --hyf-card-solid: rgba(242, 230, 218, .94);
  --hyf-border: #d9c3ae;
  --hyf-band: rgba(255, 255, 255, .38);
  --hyf-chip: #fffaf5;
  --hyf-navy: rgba(31, 42, 55, .88);           /* dark panels in light mode (was solid #1f2a37) */
  --hyf-navy-solid: rgba(31, 42, 55, .97);
  --hyf-navy-band: rgba(31, 42, 55, .92);      /* .trust-sec band */
  --hyf-navy-border: rgba(255, 248, 242, .16);
  --hyf-blur: 6px;
}
html[data-theme="dark"] {
  --hyf-card: rgba(8, 11, 16, .55);
  --hyf-card-solid: rgba(13, 17, 23, .94);
  --hyf-border: #3a4657;
  --hyf-band: rgba(29, 37, 48, .4);
  --hyf-chip: #222b37;
  --hyf-navy: rgba(13, 17, 23, .8);            /* theme uses #0d1117 here */
  --hyf-navy-solid: rgba(13, 17, 23, .97);
  --hyf-navy-band: rgba(13, 17, 23, .88);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --hyf-card: rgba(8, 11, 16, .55);
    --hyf-card-solid: rgba(13, 17, 23, .94);
    --hyf-border: #3a4657;
    --hyf-band: rgba(29, 37, 48, .4);
    --hyf-chip: #222b37;
    --hyf-navy: rgba(13, 17, 23, .8);
    --hyf-navy-solid: rgba(13, 17, 23, .97);
    --hyf-navy-band: rgba(13, 17, 23, .88);
  }
}
@media (max-width: 640px) { :root { --hyf-blur: 4px; } }   /* cheaper on phones (store page has 31 cards) */
.hy .pgrid .pcard { --hyf-blur: 5px; }
@media (max-width: 640px) { .hy .pgrid .pcard { --hyf-blur: 4px; } }

/* ---------- bands ---------- */
.hy .svc.alt { background: var(--hyf-band) !important; }
.hy .trust-sec { background: var(--hyf-navy-band) !important; }

/* ---------- light glass ---------- */
.hcard, .why > div, .hy .fcard, .hy .price, .hy .pcard, .smarter, .hy-blog-card, .card, .quote, .faq details,
.hy-cta, .hy-from-blog, .hy .cta, .hy .intro-box, .hy .callout {
  background: var(--hyf-card) !important;
  border-color: var(--hyf-border) !important;
  -webkit-backdrop-filter: blur(var(--hyf-blur)) saturate(1.1);
  backdrop-filter: blur(var(--hyf-blur)) saturate(1.1);
  --hy-sand: var(--hyf-chip);
}
.smarter, .card, .quote, .faq details, .hy-cta, .hy-from-blog, .hy .cta, .hy .intro-box, .hy .callout {
  border: 1px solid var(--hyf-border);
}
.hy-blog-card { border-width: 1px; border-style: solid; }
body.home .hy-cta { box-shadow: var(--shadow-1); }

/* ---------- dark glass panels (cream text kept) ---------- */
.hy-featured, .hy .insight, .hy .checkup, .hy .bundle {
  background: var(--hyf-navy) !important;
  border: 1px solid var(--hyf-navy-border) !important;
  -webkit-backdrop-filter: blur(var(--hyf-blur)) saturate(1.1);
  backdrop-filter: blur(var(--hyf-blur)) saturate(1.1);
}
/* plain orange links on the now-translucent navy keep AA: use the theme's lighter orange (#f39a6a, 4.8:1) */
.hy-featured a.more, .hy .insight a:not([class*="btn"]), .hy .checkup a:not([class*="btn"]), .hy .bundle a:not([class*="btn"]) { color: #f39a6a; }
/* tint cards inside navy panels / band */
.hy-featured li, .hy .cards2.dark .fcard {
  background: rgba(255, 248, 242, .07) !important;
  border-color: var(--hyf-navy-border) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  --hy-sand: rgba(255, 248, 242, .1);
}
.hy .trust-sec .cards2.dark .fcard {   /* band has no blur, so these cards can frost the canvas themselves */
  -webkit-backdrop-filter: blur(var(--hyf-blur)); backdrop-filter: blur(var(--hyf-blur));
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hcard, .why > div, .hy .fcard, .hy .price, .hy .pcard, .smarter, .hy-blog-card, .card, .quote, .faq details,
  .hy-cta, .hy-from-blog, .hy .cta, .hy .intro-box, .hy .callout { background: var(--hyf-card-solid) !important; }
  .hy-featured, .hy .insight, .hy .checkup, .hy .bundle { background: var(--hyf-navy-solid) !important; }
  .hy-featured li, .hy .cards2.dark .fcard { background: rgba(255, 248, 242, .07) !important; }
}

/* ---------- hover border beam (loops while hovered, orange, fades out while moving on leave) ---------- */
/* JS adds .hyb-run (beam laps) and .hyb-on (beam visible) on fine-pointer hover; on leave drops .hyb-on, then .hyb-run ~0.9 s later. */
.hyb-card { position: relative; }
.hyb-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--hyb-a),
    rgba(232, 116, 59, 0) 0deg, rgba(232, 116, 59, 0) 316deg,
    rgba(232, 116, 59, calc(var(--hyb-o) * .55)) 342deg,
    rgba(255, 176, 120, var(--hyb-o)) 354deg,
    rgba(232, 116, 59, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  --hyb-o: 0;
  transition: --hyb-o .85s ease-out;          /* leave: fade over ~0.85 s while the lap keeps moving */
}
.hyb-card.hyb-on::after { --hyb-o: 1; transition: --hyb-o .18s ease-out; }
.hyb-card.hyb-run::after { animation: hyb-lap 3s linear infinite; }   /* 20261122r: was 6s; seamless: 360deg == 0deg */
@keyframes hyb-lap {
  from { --hyb-a: 0deg; }
  to   { --hyb-a: 360deg; }
}
/* browsers without @property / CSS.registerProperty (JS sets html.hyb-static): static subtle glow instead */
html.hyb-static .hyb-card::after { display: none; }
html.hyb-static .hyb-card.hyb-on { box-shadow: 0 0 0 1px rgba(232, 116, 59, .55), 0 0 14px rgba(232, 116, 59, .22); transition: box-shadow .2s; }
html.hyb-static .hyb-card { transition: box-shadow .8s; }
@media (prefers-reduced-motion: reduce) { .hyb-card::after { display: none; } }
@media not all and (hover: hover) and (pointer: fine) { .hyb-card::after { display: none; } }

@media print {
  .hcard, .why > div, .hy .fcard, .hy .price, .hy .pcard, .smarter, .hy-blog-card, .card, .quote, .faq details,
  .hy-cta, .hy-from-blog, .hy .cta, .hy .intro-box, .hy .callout { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff !important; }
  .hyb-card::after { display: none; }
}
