/* hvck labs landing v14, feedback of 2026-11-19 (round 2, Kacper's list): loaded after fix-1119.css.
   1. Sign up | Sign in, top right, replacing "Log in" (nav, the grid menu's bar). Both open app.<site>/login: the app has
      one email-link door that signs in, or creates the account ("No account yet? The same link creates one").
   2. "See pricing": a quiet second button beside the hero's main action, on both sites (pricing/).
   3. Enterprise grid hero (?ehero=4): the "Book a demo" tile sits right under CQURE's numbers ("Since 2008"),
      the dc01 switch moves down one row. */

/* 1 */
.nav-acct { flex: none; display: inline-flex; align-items: stretch; height: 36px; }
.acct { display: inline-flex; align-items: center; padding: 0 14px; font-size: var(--t-label); font-weight: 500; line-height: 1;
  color: inherit; text-decoration: none; white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.acct-up { background: var(--ink); color: var(--paper); font-weight: 600; }
.acct-up:hover { background: var(--o); color: var(--c-ink); }
.acct-in { box-shadow: inset 0 0 0 1px var(--line-2); }
.acct-in:hover { box-shadow: inset 0 0 0 1px currentColor; }
.acct:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; position: relative; z-index: 1; }
/* the nav row lets clicks through at the top of the page (css/hero.css); the account buttons must still take them */
.nav:not(.scrolled) .nav-acct { pointer-events: auto; }
/* the grid menu's bar carries them too, beside Close */
.nav-acct.ov-app { margin-left: auto; margin-right: 18px; }
/* phones: same as Log in was. At the top of the page they show; once the switch and the grid button fade in, they step
   back into the grid menu's bar */
@media (max-width: 600px) {
  .nav.ctl .nav-acct:not(.ov-app) { display: none; }
  .nav-acct { height: 34px; }
  .acct { padding: 0 11px; }
  .nav-acct.ov-app { margin-right: 10px; }
}
@media (max-width: 360px) { .acct { padding: 0 9px; } }
@media (prefers-reduced-motion: reduce) { .acct { transition: none; } }

/* 2: the second button: an outline in the type colour, filled on hover */
.btn-l { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.btn-l:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-l:focus-visible { outline: 2px solid var(--o); outline-offset: 3px; }
.hero-bot .acts { gap: 12px; }

/* 3 */
@media (min-width: 901px) {
  [data-for="teams"][data-ehero="4"] #domain > .p-o { grid-area: 3 / 5 / 4 / 7; }
  [data-for="teams"][data-ehero="4"] #domain > .p-dc { grid-area: 4 / 5 / 5 / 7; }
}
@media (min-width: 601px) and (max-width: 900px) {
  [data-for="teams"][data-ehero="4"] #domain > .p-o { grid-area: 2 / 1 / 3 / 3; }
  [data-for="teams"][data-ehero="4"] #domain > .p-dc { grid-area: 2 / 3 / 3 / 5; }
  [data-for="teams"][data-ehero="4"] #domain > .p-fw { grid-area: 3 / 1 / 4 / 2; }
  [data-for="teams"][data-ehero="4"] #domain > .p-cm { grid-area: 3 / 2 / 4 / 3; }
  [data-for="teams"][data-ehero="4"] #domain > .p-ca { grid-area: 3 / 3 / 4 / 4; }
  [data-for="teams"][data-ehero="4"] #domain > .p-ws { grid-area: 3 / 4 / 4 / 5; }
}
@media (max-width: 600px) {
  [data-for="teams"][data-ehero="4"] .hero .domain .p-o { order: 1; }
}

/* 2b. B2C: the second button costs the number row its room, so the number cells take their own width (no longer
   equal) and the last one loses its right padding. Where the row would still run into kali01's label, the second
   number (108) steps out, then the row (measured; see the widths below). */
@media (min-width: 901px) {
  [data-for="you"][data-hero="b"] .hnum ul { grid-auto-columns: auto; }
  [data-for="you"][data-hero="b"] .hnum li:last-child { padding-right: 0; }
}
/* measured 2026-11-19 (row end vs the label's left edge). Since "Sign up for launch" (42px wider than "Try a demo
   lab") the second number (108) never clears it on desktop: the cell keeps 200+ from 1200 up (38px clear), none under
   that. 108 stays as the big numeral in #scenarios; tablets and phones keep both numbers, under the buttons. */
@media (min-width: 901px) {
  [data-for="you"][data-hero="b"] .hnum li:nth-child(n+2) { display: none; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  [data-for="you"][data-hero="b"] .hero-bot .hnum { display: none; }
}

/* 1b. phones: the grid menu's bar holds the logo, Sign up | Sign in and Close; under 420px Close shows only its ×
   (the word stays its accessible name, at font-size 0) */
@media (max-width: 420px) {
  .ov-x { font-size: 0; gap: 0; width: 40px; padding: 0; justify-content: flex-end; }
  .nav-acct.ov-app { margin-right: 4px; }
}

/* 4. #certificates: the "16 skill certificates" count left (more certificates are coming), and with it the hairline
   over the list; the heading stands alone */
.hung-l { border-top: 0; }

/* 2c. the old enterprise composition B (?hero=b, ehero 0; an option, not the default): its CTA column sits beside the
   sub-line, and the two buttons side by side squeezed the sub-line to a sliver (the headline then had no room). They stack. */
@media (min-width: 901px) {
  [data-for="teams"][data-ehero="0"][data-hero="b"] .hero-bot .acts { flex-direction: column; align-items: stretch; }
}

/* 5. #scenarios (B2C): the 108 is a start, not a ceiling (Kacper, 2026-11-19): a line under the numeral says more are coming */
.scen-more { margin: 20px 0 0; max-width: 30ch; font-size: var(--t-body); line-height: 1.45; color: var(--dim); }

/* 6. "For teams" became "For organizations" (Kacper, 2026-11-19). On phones, once the controls come in, the row is the
   logo, "Individuals | Organizations" and the grid button: a smaller logo, a tighter switch and gaps keep it on one row
   (measured: the grid button clears the edge from 320px) */
@media (max-width: 600px) {
  .nav-in { gap: 8px; }
  .nav-ctl { gap: 8px; }
  .nav-logo .logo { height: 17px; }
  .sw-o { padding: 0 8px; font-size: 13px; }
}
@media (max-width: 400px) {
  .nav-logo .logo { height: 15px; }
  .sw-o { padding: 0 7px; font-size: 12.5px; }
}

/* 7. Pre-launch (Kacper, 2026-11-19): B2C's main action is "Sign up for launch" (the app's sign-up), not "Try a demo
   lab". (The pulsing orange "launch light" squares were removed on 2026-11-20, Kacper: they read as AI.) */
.start-soon { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: var(--t-body); color: var(--dim); }

/* 8. The legal pages are held back (Kacper, 2026-11-19): the footer's Legal column is out, so the footer is back to
   four columns (the spacer, then Product, Company, Follow). Drop this rule when the column returns. */
@media (min-width: 901px) { .foot-links { grid-template-columns: 2fr 1fr 1fr 1fr; } }
/* the port buttons' LED square (lit when the page wire arrives) went with them; any left in markup stays hidden */
.led { display: none; }
