/* NOVA page, 06 the loop (assets/js/n-loop.js). White cards on the NOVA tint (one card background): the loop's four steps on one
   line, the page NOVA optimized next to your review, how hands-on you are, and the live page's three points. */

.nl-box { max-width: 1180px; margin: 0 auto; }

/* the loop, on one line */
.nl-trk { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 18px 30px; margin-bottom: 20px; padding: 24px 28px 26px; border-radius: 22px; background: #fff; box-shadow: var(--nv-card); }
.nl-lbl { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding-top: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--nv-ink-g); white-space: nowrap; }
.nl-lbl svg { width: 15px; height: 15px; }
.nl-line { position: relative; }
.nl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.nl-steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-content: start; column-gap: 12px; row-gap: 5px; padding-top: 20px; opacity: .46; transition: opacity .55s ease; }
.nl-steps li::before, .nl-steps li::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; }
.nl-steps li::before { right: 0; background: rgba(11,11,12,.08); }
.nl-steps li::after { width: 0; background: var(--nv-grad); transition: width 1s var(--ease-out); }
.nl-steps li.on, .nl-steps li.was { opacity: 1; }
.nl-steps li.on::after, .nl-steps li.was::after { width: 100%; }
.nl-steps .n { grid-row: 1 / 3; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #F1F4F2; font: 500 10px/1 var(--mono); letter-spacing: .04em; color: rgba(11,11,12,.55);
  transition: background-color .5s ease, color .5s ease, box-shadow .5s ease; }
.nl-steps li.on .n { background: var(--green); color: #000; box-shadow: 0 0 0 5px rgba(185,239,163,.35); }
.nl-steps li.was .n { color: var(--nv-ink-g); }
.nl-steps b { font: 600 15.5px/1.25 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.nl-steps i { font: 400 13.5px/1.45 var(--sans); font-style: normal; color: var(--nv-mute); text-wrap: pretty; }
.nl-rail { position: absolute; left: 0; right: 0; top: 0; height: 2px; overflow: hidden; pointer-events: none; }
.nl-rail i { position: absolute; top: 0; left: 100%; width: 24%; height: 2px; background: linear-gradient(90deg, rgba(84,184,106,0), #4F98A7 40%, #54B86A 70%, rgba(84,184,106,0)); opacity: 0; }
.nl-learn .nl-rail i { animation: nlback 2.6s cubic-bezier(.55,.1,.3,1) .35s both; }
@keyframes nlback { 0% { left: 100%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: -24%; opacity: 0; } }
.nl-learn .nl-steps li[data-i="0"] .n { animation: nlglow 1.2s ease 2.3s both; }
@keyframes nlglow { 0%, 100% { box-shadow: 0 0 0 0 rgba(185,239,163,0); } 45% { box-shadow: 0 0 0 7px rgba(185,239,163,.55); } }

/* the two cards */
.nl-cards { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 20px; }
.nl-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px 24px 24px; border-radius: 22px; background: #fff; box-shadow: var(--nv-card); }
.nl-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.nl-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; background: #F1F4F2; font: 500 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(11,11,12,.62); white-space: nowrap; }
.nl-draft .nl-tag { background: rgba(84,184,106,.13); color: var(--nv-ink-g); }
.nl-st { display: grid; justify-items: end; }
.nl-st > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--sans); white-space: nowrap; opacity: 0; translate: 0 4px; transition: opacity .45s ease, translate .5s var(--ease-out); }
.nl-st .r { color: var(--nv-ink-t); }
.nl-st .p { color: var(--nv-ink-g); }
.nl-st .p svg { width: 14px; height: 14px; }
.nl-ready .nl-st .r { opacity: 1; translate: 0 0; }
.nl-done .nl-st .r { opacity: 0; }
.nl-done .nl-st .p { opacity: 1; translate: 0 0; }
.nl-box.nl-sent .nl-st .p { opacity: 0; }
.nl-box.nl-sent .nl-st .r { opacity: 1; translate: 0 0; }

/* the page NOVA optimized: green lines are NOVA's changes to a page that already exists */
.nl-page { flex: 1; padding: 16px 18px 18px; border-radius: 14px; background: #FCFDFC; box-shadow: inset 0 0 0 1px var(--nv-line); }
.nl-url { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 500 12px/1.2 var(--sans); color: rgba(11,11,12,.5); }
.nl-ttl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 14px; }
.nl-ttl b { font: 700 22px/1.1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.nl-ttl i { font: 500 9.5px/1 var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--nv-mute); }
.nl-sk { display: grid; gap: 9px; }
.nl-sk i { display: block; height: 8px; width: var(--nl-w); border-radius: 4px; background: #E8ECE9; }
.nl-sk.a i:nth-child(-n+2), .nl-sk.b i:nth-child(2), .nl-sk.c i:nth-child(2) { background: linear-gradient(90deg, rgba(84,184,106,.42), rgba(79,152,167,.42)); width: 0; transition: width .7s var(--ease-out); }
.nl-drafting .nl-sk.a i:nth-child(-n+2), .nl-drafting .nl-sk.b i:nth-child(2), .nl-drafting .nl-sk.c i:nth-child(2) { width: var(--nl-w); }
.nl-drafting .nl-sk.a i:nth-child(2) { transition-delay: .25s; }
.nl-drafting .nl-sk.b i:nth-child(2) { transition-delay: .6s; }
.nl-drafting .nl-sk.c i:nth-child(2) { transition-delay: .95s; }
.nl-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.nl-prods span { aspect-ratio: 4 / 3; border-radius: 10px; background: #EFF2F0; }
.nl-sk.c { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(11,11,12,.05); }

/* your review */
.nl-pre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 12px; }
.nl-pre b { font: 600 17px/1.3 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.nl-pre span { font: 500 13px/1.3 var(--sans); color: var(--nv-mute); }
.nl-checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nl-checks li { display: flex; align-items: center; gap: 12px; padding: 10px 13px; border-radius: 13px; background: #F6F8F7; }
.nl-checks .bx { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgba(11,11,12,.18); color: #fff;
  transition: background-color .35s ease, box-shadow .35s ease; }
.nl-checks .bx svg { width: 13px; height: 13px; opacity: 0; scale: .5; transition: opacity .25s ease, scale .45s cubic-bezier(.3,1.6,.5,1); }
.nl-checks li.ok .bx { background: #54B86A; box-shadow: none; }
.nl-checks li.ok .bx svg { opacity: 1; scale: 1; }
.nl-checks .tx { display: grid; gap: 2px; min-width: 0; }
.nl-checks b { font: 600 14.5px/1.2 var(--sans); color: var(--ink); }
.nl-checks em { font: 400 13px/1.3 var(--sans); font-style: normal; color: var(--nv-mute); }
.nl-decide { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--nv-line); transition: opacity .5s ease; }
.nl-decide p { margin: 0 0 11px; font: 500 10px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--nv-mute); }
.nl-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.nl-act { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px 0 13px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11,11,12,.18);
  font: 600 14px/1 var(--sans); color: var(--ink); cursor: pointer; transition: box-shadow .3s ease, transform .2s ease, background-color .3s ease; }
.nl-act svg { width: 15px; height: 15px; flex: none; }
.nl-act.pri { background: var(--green); box-shadow: none; color: #000; }
@media (hover: hover) { .nl-act:hover { box-shadow: inset 0 0 0 1px var(--ink); } .nl-act.pri:hover { box-shadow: 0 10px 22px -12px rgba(46,158,80,.7); } }
.nl-act.press { transform: scale(.95); }
.nl-act.sel:not(.pri) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.nl-act.pri.sel { box-shadow: 0 0 0 4px rgba(185,239,163,.5); }
.nl-act:focus-visible { outline: 2px solid var(--nv-teal); outline-offset: 3px; }
.nl-foot { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding: 11px 13px; border-radius: 14px; background: #F3F9F5; opacity: 0; translate: 0 6px;
  transition: opacity .5s ease, translate .6s var(--ease-out); }
.nl-done .nl-foot { opacity: 1; translate: 0 0; }
.nl-seal { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #54B86A; color: #fff; transition: background-color .3s, color .3s; }
.nl-seal svg { width: 15px; height: 15px; }
.nl-box.nl-sent .nl-seal { background: rgba(11,11,12,.1); color: var(--ink); }
.nl-who { display: grid; gap: 2px; min-width: 0; margin-right: auto; }
.nl-who b { font: 600 14.5px/1.2 var(--sans); color: var(--ink); }
.nl-who span { font: 400 12.5px/1.3 var(--sans); color: var(--nv-mute); }
.nl-pub { flex: none; height: 28px; padding: 0 11px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(46,158,80,.32);
  font: 500 9.5px/28px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--nv-ink-g); }
.nl-pub.edit { color: var(--nv-ink-t); box-shadow: inset 0 0 0 1px rgba(79,152,167,.4); }
.nl-pub.changes { color: var(--violet); box-shadow: inset 0 0 0 1px rgba(133,17,217,.3); }

/* your cursor, on its way to the button */
.nl-cur { position: absolute; z-index: 5; left: 0; top: 0; width: 20px; height: 20px; translate: var(--nl-cx, 0) var(--nl-cy, 0); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.nl-cur.go { transition: opacity .3s ease, translate 1s cubic-bezier(.45,.05,.3,1); }
.nl-cur.on { opacity: 1; }
.nl-cur svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(0,0,0,.22)); }

/* how hands-on you are: the other two modes leave the call to NOVA, and the film skips it */
.nl-box[data-mode="spot"] .nl-steps li[data-i="2"].on { opacity: .7; }
.nl-box[data-mode="auto"] .nl-steps li[data-i="2"] { opacity: .3; }
.nl-box[data-mode="spot"]:not(.nl-held) .nl-decide { opacity: .55; }
.nl-box[data-mode="auto"]:not(.nl-held) .nl-decide { opacity: .32; }
.nl-box[data-mode="spot"]:not(.nl-held) .nl-who, .nl-box[data-mode="auto"]:not(.nl-held) .nl-who { visibility: hidden; }

.nl-inv { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 20px; padding: 18px 20px 18px 26px; border-radius: 22px; background: #fff; box-shadow: var(--nv-card); }
.nl-inv-t { display: grid; gap: 4px; margin: 0; min-width: 0; }
.nl-inv-t b { font: 600 17px/1.3 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.nl-inv-d { font: 400 14.5px/1.45 var(--sans); color: var(--nv-mute); transition: opacity .2s ease; }
.nl-inv-d.out { opacity: 0; }
.nl-seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: #F0F3F1; }
.nl-seg button { position: relative; z-index: 1; height: 42px; padding: 0 17px; border: 0; border-radius: 999px; background: none; font: 600 14px/1 var(--sans); color: rgba(11,11,12,.58); cursor: pointer; white-space: nowrap; transition: color .3s ease; }
.nl-seg button[aria-checked="true"] { color: var(--ink); }
.nl-seg button:focus-visible { outline: 2px solid var(--nv-teal); outline-offset: 2px; }
.nl-thumb { position: absolute; z-index: 0; left: 0; top: 0; width: var(--nl-w, 0); height: var(--nl-h, 42px); translate: var(--nl-x, 0) var(--nl-y, 0); border-radius: 999px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 18px -10px rgba(16,44,40,.4); transition: translate .45s var(--ease-out), width .45s var(--ease-out), height .45s var(--ease-out); }

/* the live page's three points */
.nl-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; margin: 36px 0 0; padding: 0; list-style: none; }
.nl-feats li { position: relative; display: grid; align-content: start; gap: 6px; padding-top: 18px; }
.nl-feats li::before { content: ""; position: absolute; left: 0; top: 0; width: 30px; height: 2px; border-radius: 2px; background: var(--nv-grad); }
.nl-feats b { font: 600 16.5px/1.3 var(--sans); letter-spacing: -.01em; color: var(--ink); }
.nl-feats span { font: 400 14.5px/1.5 var(--sans); color: var(--nv-mute); text-wrap: pretty; }

@media (max-width: 999px) {
  .nl-trk { grid-template-columns: minmax(0, 1fr); padding: 20px 20px 22px; }
  .nl-lbl { padding-top: 0; }
  .nl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .nl-rail { display: none; }
  .nl-cards { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; }
  .nl-inv { max-width: 640px; margin-left: auto; margin-right: auto; }
  .nl-feats { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; gap: 22px; }
}
@media (max-width: 640px) {
  .nl-steps { gap: 18px 14px; }
  .nl-steps li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding-top: 16px; }
  .nl-steps .n { grid-row: auto; width: 28px; height: 28px; }
  .nl-steps b { font-size: 14.5px; }
  .nl-steps i { font-size: 13px; }
  .nl-card { padding: 18px 16px 18px; border-radius: 20px; }
  .nl-page { padding: 14px 14px 16px; }
  .nl-ttl b { font-size: 19px; }
  .nl-prods { gap: 6px; margin: 13px 0; }
  .nl-acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .nl-act { justify-content: center; height: 44px; padding: 0 12px; }
  .nl-act.pri { grid-column: 1 / -1; }
  .nl-inv { padding: 18px 16px; border-radius: 20px; }
  .nl-seg { display: grid; width: 100%; border-radius: 18px; }
  .nl-seg button { height: 44px; border-radius: 14px; text-align: left; padding: 0 16px; }
  .nl-thumb { border-radius: 14px; }
}
