/* ==== CL-344 (Frank 2026-11-30): two small trigger lines on the Logo Forge, each with a hover / focus / tap pop-up (top layer, never clipped).
   Trigger 1 sits beside "Try it on your logo" (parts/forge.html); trigger 2 ends the "Get your real logo made like this." line (home/pillars/forge.html).
   Gold words = the Logo Forge gold (CL-341), Day uses the deep end on light grounds. The card matches the ownership promise card (CL-342). Script: js/akarec-forge-pops.js ==== */
.akpop__t {
  appearance: none; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; margin: 0; padding: 0 0.15rem; cursor: help; border: 0; border-radius: 6px; background: none;
  font: 700 0.9rem/1.3 'Montserrat', 'Inter', system-ui, sans-serif; letter-spacing: 0.01em; text-align: left; color: #E8B54A;
  transition: filter 0.25s ease;
}
.akpop__t .akpop__w { text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, #E8B54A 70%, transparent); }
.akpop__t::after { content: "?"; display: inline-grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; border: 1px solid currentColor; border-radius: 50%; font: 700 0.72em/1 'Inter', system-ui, sans-serif; opacity: 0.85; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .akpop__t .akpop__w { background-image: linear-gradient(100deg, #F6E3A1 0%, #E8B54A 48%, #C99A35 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.akpop__t:is(:hover, :focus-visible, [aria-expanded="true"]) { filter: brightness(1.12) drop-shadow(0 0 8px rgba(232, 181, 74, 0.45)); }
.akpop__t:is(:hover, :focus-visible, [aria-expanded="true"]) .akpop__w { text-decoration-color: #E8B54A; }
.akpop__t:focus-visible { outline: 2px solid #E8B54A; outline-offset: 3px; }
.akpop__t--inline { display: inline-flex; vertical-align: middle; margin-left: 0.25rem; }
/* on light grounds (Day) the deep end of the gold, so the words stay readable */
html[data-theme="day"] .akpop__t--light { color: #7A5A12; }
html[data-theme="day"] .akpop__t--light .akpop__w { background-image: linear-gradient(100deg, #8A6516 0%, #7A5A12 55%, #6B4C0E 100%); text-decoration-color: color-mix(in srgb, #7A5A12 60%, transparent); }
html[data-theme="day"] .akpop__t--light:is(:hover, :focus-visible, [aria-expanded="true"]) { filter: none; }
html[data-theme="day"] .akpop__t--light:focus-visible { outline-color: #7A5A12; }

/* the tool header: eyebrow, then h2 and trigger 1 on one row */
.lfg-forge .lfg-head__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 1rem; }
.lfg-forge .lfg-head__row h2 { margin: 0.3rem 0 0; }
/* the narrow tool column made the heading wrap to two lines; one line keeps this header the same height or shorter with the trigger added */
html[data-theme] body .lfg-forge .lfg-head__row h2 { font-size: clamp(1.7rem, 2.9vw, 1.95rem) !important; line-height: 1.12 !important; white-space: nowrap; }
.lfg-forge .lfg-head__row .akpop__t { margin-top: -0.2rem; margin-left: -0.15rem; }
@media (max-width: 600px) {
  /* phone: the compact tool hides its heading; the trigger stays as one short line */
  .lfg-forge .lfg-head { display: block; order: 3; margin: 0; }
  .lfg-forge .lfg-head .ak-eyebrow, .lfg-forge .lfg-head h2 { display: none; }
  .lfg-forge .lfg-head .akpop__t { font-size: 0.84rem; }
}

/* the pop-up card: top layer, placed by the script */
.akpop__card[popover] {
  position: fixed; inset: auto; margin: 0; width: min(27rem, calc(100vw - 2.5rem)); max-height: calc(100vh - 20px); overflow: auto; padding: 1.1rem 1.25rem 1.15rem; border-radius: 16px; text-align: left; white-space: normal;
  background: color-mix(in srgb, #060C18 94%, #E8B54A); border: 1.5px solid color-mix(in srgb, #E8B54A 55%, transparent); color: #FAF8F5;
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.75), 0 0 30px -14px #E8B54A;
}
.akpop__card[popover]:popover-open { animation: akPopIn 0.25s ease; }
@keyframes akPopIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html[data-theme] .akpop__card :is(span, p, ul, li, strong, b) { font-family: 'Inter', system-ui, sans-serif; }
html[data-theme] .akpop__card .akpop__title { display: block; margin: 0 0 0.45rem; font: 800 1.1rem/1.25 'Montserrat', 'Inter', system-ui, sans-serif; color: #E8B54A; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  html[data-theme] .akpop__card .akpop__title { background-image: linear-gradient(100deg, #F6E3A1 0%, #E8B54A 48%, #C99A35 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
html[data-theme] .akpop__card p { margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1.5; color: #C9D3E2; }
html[data-theme] .akpop__card ul { margin: 0 0 0.3rem; padding: 0; list-style: none; }
html[data-theme] .akpop__card li { position: relative; margin: 0 0 0.35rem; padding-left: 1.3rem; font-size: 0.95rem; line-height: 1.45; color: #FAF8F5; }
html[data-theme] .akpop__card li b { color: #FFFFFF; }
.akpop__card li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.5rem; height: 0.28rem; border-left: 2px solid #10B981; border-bottom: 2px solid #10B981; transform: rotate(-45deg); }
html[data-theme] .akpop__card p.akpop__fine { margin: 0.5rem 0 0; font-size: 0.85rem; color: #AEBBD0; }
@media (prefers-reduced-motion: reduce) { .akpop__t { transition: none; } .akpop__card[popover]:popover-open { animation: none; } }
