
/* Additions for the Encryption Plugin 2027 pages. Everything else comes from the HQbird 2027 page styles. */
.hqbird2027-page .nav a.l.cur{ color: var(--ink); background: var(--accent-soft); }
/* page menu in two rows: pages, then sections of the current page. Nothing is clipped on a desktop. */
.hqbird2027-page .nav .wrap{ display: block; height: auto; padding-bottom: 4px; }
.hqbird2027-page .nav .row{ display: flex; align-items: center; gap: 4px 18px; min-width: 0; min-height: 42px; }
.hqbird2027-page .nav .row.sub{ min-height: 34px; border-top: 1px solid var(--line); }
.hqbird2027-page .nav ul{ flex-wrap: wrap; overflow: visible; }
.hqbird2027-page .nav .row.sub a.l{ font-size: 14.5px; padding: 4px 8px; }
.hqbird2027-page .nav .lbl{ flex: none; font: 600 11px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
/* A section has a top padding. Without this, its first text line stops 40px under the menu, not 16px. */
.hqbird2027-page .part, .hqbird2027-page .group{ scroll-margin-top: -28px; }
/* No smooth scroll from CSS: the first jump to an anchor starts before the fonts come, and a smooth jump then stops
   at a wrong place. The page script makes the scroll smooth only for a click on a link of the same page. */
html{ scroll-padding-top: 190px; scroll-behavior: auto; }
@media (max-width: 960px){ html{ scroll-padding-top: 224px; } }
@media (max-width: 760px){
  .hqbird2027-page .nav .brand, .hqbird2027-page .nav .lbl{ display: none; }
  .hqbird2027-page .nav ul{ flex-wrap: nowrap; overflow-x: auto; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); padding-right: 24px; }
}
.hqbird2027-page .idea .tag.blue{ color: var(--accent); }
.hqbird2027-page .idea.hot{ border-color: var(--flame); box-shadow: 0 0 0 4px color-mix(in srgb, var(--flame) 12%, transparent); }
.hqbird2027-page .idea a{ font-weight: 600; text-decoration: none; }
.hqbird2027-page .idea a:hover{ text-decoration: underline; }
.hqbird2027-page .wide{ max-width: none; }
.hqbird2027-page table.t{ width: 100%; border-collapse: collapse; margin: 0; font-size: 15.5px; background: var(--panel); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.hqbird2027-page table.t th, .hqbird2027-page table.t td{ border: 0; border-bottom: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.hqbird2027-page table.t th{ background: var(--code-bg); font: 600 12px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hqbird2027-page table.t tr:last-child td{ border-bottom: 0; }
.hqbird2027-page .scroll > table.t{ min-width: 620px; }
.hqbird2027-page .scroll:has(> table.t){ padding: 1px; }
.hqbird2027-page table.t tr.hot td{ background: var(--flame-soft); }
.hqbird2027-page table.t td b{ font-weight: 600; }
.hqbird2027-page .yes{ color: var(--ok); font-weight: 600; } .hqbird2027-page .no{ color: var(--muted); }
.hqbird2027-page pre.cmd{ margin: 0; background: #12161f; color: #d5deeb; border-radius: 10px; padding: 16px 18px; overflow-x: auto; font: 500 14px/1.6 var(--f-mono); }
.hqbird2027-page pre.cmd .c{ color: #7f8aa1; } .hqbird2027-page pre.cmd .k{ color: #ffd479; }
.hqbird2027-page pre.file{ margin: 0; background: var(--code-bg); color: var(--ink); border-radius: 10px; padding: 14px 18px; overflow-x: auto; font: 500 14px/1.6 var(--f-mono); }
.hqbird2027-page pre.file .c{ color: var(--muted); }
.hqbird2027-page .price{ font: 700 34px/1 var(--f-display); color: var(--ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; }   /* on a phone the new price goes to the next line */
.hqbird2027-page .price small{ font-size: 15px; font-weight: 500; opacity: .7; }
.hqbird2027-page .price s{ font-size: 20px; font-weight: 500; color: var(--muted); margin-right: 10px; }
.hqbird2027-page #license .role{ display: flex; flex-direction: column; }
.hqbird2027-page #license .role .cta-btn{ margin-top: auto; align-self: flex-start; }
.hqbird2027-page .save{ margin: 6px 0 0; font-weight: 600; color: var(--ok); }
.hqbird2027-page .bf{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 20px; padding: 16px 20px; border: 1px solid var(--flame); border-radius: 12px; background: var(--flame-soft); color: var(--ink); }
.hqbird2027-page .bf b.tag{ font: 700 13px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--flame); border-radius: 6px; padding: 7px 10px; }
.hqbird2027-page .bf .big{ font: 700 22px/1.2 var(--f-display); }
.hqbird2027-page .bf code{ font: 600 15px/1 var(--f-mono); background: var(--panel); border: 1px dashed var(--flame); border-radius: 6px; padding: 5px 9px; }

/* download-demo.html: numbered steps and download links */
.hqbird2027-page .steps{ display: grid; gap: 14px; }
.hqbird2027-page .step{ display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); }
.hqbird2027-page .step > *{ grid-column: 2; margin: 0; min-width: 0; }
.hqbird2027-page .step > .n{ grid-column: 1; grid-row: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font: 700 16px/1 var(--f-display); }
.hqbird2027-page .step > h3{ grid-row: 1; font: 700 19px/1.3 var(--f-display); color: var(--ink); min-height: 40px; display: flex; align-items: center; }
.hqbird2027-page .step p{ max-width: 80ch; }
.hqbird2027-page .step .links{ display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; max-width: none; }
.hqbird2027-page a.g{ font-weight: 600; text-decoration: none; }
.hqbird2027-page a.g:hover{ text-decoration: underline; }
.hqbird2027-page a.dl{ font: 500 14px var(--f-mono); word-break: break-all; }
.hqbird2027-page .sz{ color: var(--muted); font-size: 13px; white-space: nowrap; }
@media (max-width: 600px){
  .hqbird2027-page .step{ grid-template-columns: minmax(0, 1fr); }
  .hqbird2027-page .step > *{ grid-column: 1; }
  .hqbird2027-page .step > .n, .hqbird2027-page .step > h3{ grid-row: auto; }
}
.hqbird2027-page .role .cta-btn{ justify-self: start; min-height: 42px; padding: 0 20px; }
.hqbird2027-page .shots.two{ grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (max-width: 860px){ .hqbird2027-page .shots.two{ grid-template-columns: minmax(0, 1fr); } }
.hqbird2027-page .shot .frame{ display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.hqbird2027-page .shot .frame img{ display: block; width: 100%; height: auto; }

/* page grid: pages are encrypted one by one while the database works */
.hqbird2027-page .pgrid{ display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 6px; }
.hqbird2027-page .pgrid i{ aspect-ratio: 1.25; border-radius: 5px; border: 1.5px solid var(--line); background: var(--panel); animation: enc 9s infinite; animation-delay: calc(var(--i) * .11s); }
.hqbird2027-page .pgrid i.sys{ animation: none; border-style: dashed; }
@keyframes enc { 0%, 4% { background: var(--panel); border-color: var(--line); }
  9% { background: var(--flame-soft); border-color: var(--flame); }
  16%, 86% { background: var(--ok-soft); border-color: var(--ok); }
  96%, 100% { background: var(--panel); border-color: var(--line); } }
.hqbird2027-page .pbar{ height: 10px; border-radius: 6px; background: var(--code-bg); overflow: hidden; }
.hqbird2027-page .pbar b{ display: block; height: 100%; width: 100%; background: var(--ok); transform-origin: left; animation: fill 9s infinite linear; }
@keyframes fill { 0%, 4% { transform: scaleX(0); } 70%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* the built-in key dialog */
.hqbird2027-page .dlg{ width: min(100%, 470px); background: #f0f0f0; color: #111; border: 1px solid #8d99a8; border-radius: 8px; box-shadow: 0 18px 40px rgba(20, 33, 48, .28); font: 400 15px/1.3 "Segoe UI", system-ui, sans-serif; overflow: hidden; justify-self: center; }
.hqbird2027-page .dlg .cap{ background: #fff; padding: 9px 14px; font-size: 14px; border-bottom: 1px solid #d5d9df; }
.hqbird2027-page .dlg .body{ padding: 16px 14px 14px; display: grid; gap: 12px; }
.hqbird2027-page .dlg .rowx{ display: flex; gap: 10px; align-items: center; }
.hqbird2027-page .dlg .inp{ flex: 1; height: 30px; background: #fff; border: 1px solid #7a8794; border-bottom: 2px solid #1B62CC; padding: 4px 8px; overflow: hidden; white-space: nowrap; font: 700 16px/20px monospace; letter-spacing: 2px; }
.hqbird2027-page .dlg .inp span{ display: inline-block; overflow: hidden; vertical-align: top; width: 24ch; animation: typing 7s steps(24, end) infinite; }
@keyframes typing { 0%, 8% { width: 0; } 62%, 100% { width: 24ch; } }
.hqbird2027-page .dlg .btn{ border: 1px solid #8d99a8; background: #e6e6e6; border-radius: 4px; padding: 5px 14px; font-size: 14px; }
.hqbird2027-page .dlg .btn.def{ border-color: #1B62CC; box-shadow: inset 0 0 0 1px #1B62CC; animation: press 7s infinite; }
@keyframes press { 0%, 70% { background: #e6e6e6; } 76%, 84% { background: #bcd4f6; } 100% { background: #e6e6e6; } }
.hqbird2027-page .dlg .chk{ font-size: 13.5px; color: #333; display: flex; gap: 7px; align-items: center; }
.hqbird2027-page .dlg .chk i{ width: 13px; height: 13px; border: 1px solid #555; background: #fff; display: inline-block; }
.hqbird2027-page .keybytes rect{ fill: var(--panel); stroke: var(--line); stroke-width: 1.5; animation: kb 6s infinite; animation-delay: calc(var(--i) * .07s + 1.6s); }
@keyframes kb { 0%, 6% { fill: var(--panel); stroke: var(--line); } 12%, 78% { fill: var(--ok-soft); stroke: var(--ok); } 92%, 100% { fill: var(--panel); stroke: var(--line); } }
.hqbird2027-page .pulse{ animation: pulse 2.6s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce){
  .hqbird2027-page .pgrid i, .hqbird2027-page .pbar b, .hqbird2027-page .dlg .inp span, .hqbird2027-page .dlg .btn.def,
  .hqbird2027-page .keybytes rect, .hqbird2027-page .pulse{ animation: none; }
  .hqbird2027-page .pgrid i{ background: var(--ok-soft); border-color: var(--ok); }
}
